feat: add turn_events to ToolCtx and implement live state updates in spawn tool

This commit is contained in:
asepharyana
2026-07-12 17:50:38 +07:00
parent 53b0cb271f
commit a59feb23c4
4 changed files with 42 additions and 2 deletions
+3
View File
@@ -536,6 +536,9 @@ pub fn apply_action(state: &mut AppStateRest, action: Action) {
status,
});
}
if state.misc.overlay != Overlay::Workflow {
state.misc.overlay = Overlay::Workflow;
}
state.dirty = true;
}
}
+1
View File
@@ -268,6 +268,7 @@ impl AppStateRest {
origin,
graduated_checks: Vec::new(),
lsp_manager: self.lsp_manager.clone(),
turn_events: Some(self.turn_events.clone()),
}
}
}