feat: add turn_events to ToolCtx and implement live state updates in spawn tool
This commit is contained in:
1 parent
53b0cb271f
commit
a59feb23c4
4 files changed
+42
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -268,6 +268,7 @@ impl AppStateRest {
|
||||
origin,
|
||||
graduated_checks: Vec::new(),
|
||||
lsp_manager: self.lsp_manager.clone(),
|
||||
turn_events: Some(self.turn_events.clone()),
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user