feat: add ability to stop Claude execution mid-way using loading icon as cancel button
This commit is contained in:
@@ -17,7 +17,7 @@ use commands::claude::{
|
||||
get_session_timeline, update_checkpoint_settings, get_checkpoint_diff,
|
||||
track_checkpoint_message, track_session_messages, check_auto_checkpoint, cleanup_old_checkpoints,
|
||||
get_checkpoint_settings, clear_checkpoint_manager, get_checkpoint_state_stats,
|
||||
get_recently_modified_files,
|
||||
get_recently_modified_files, cancel_claude_execution, ClaudeProcessState,
|
||||
};
|
||||
use commands::agents::{
|
||||
init_database, list_agents, create_agent, update_agent, delete_agent,
|
||||
@@ -93,6 +93,9 @@ fn main() {
|
||||
// Initialize process registry
|
||||
app.manage(ProcessRegistryState::default());
|
||||
|
||||
// Initialize Claude process state
|
||||
app.manage(ClaudeProcessState::default());
|
||||
|
||||
Ok(())
|
||||
})
|
||||
.invoke_handler(tauri::generate_handler![
|
||||
@@ -111,6 +114,7 @@ fn main() {
|
||||
execute_claude_code,
|
||||
continue_claude_code,
|
||||
resume_claude_code,
|
||||
cancel_claude_execution,
|
||||
list_directory_contents,
|
||||
search_files,
|
||||
create_checkpoint,
|
||||
|
Reference in New Issue
Block a user