feat: add turn_events to ToolCtx and implement live state updates in spawn tool
This commit is contained in:
@@ -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