diff --git a/backend/src/executors/claude.rs b/backend/src/executors/claude.rs index eb00239f..c4aa2a4c 100644 --- a/backend/src/executors/claude.rs +++ b/backend/src/executors/claude.rs @@ -56,7 +56,7 @@ Task title: {}"#, // Use shell command for cross-platform compatibility let (shell_cmd, shell_arg) = get_shell_command(); // Pass prompt via stdin instead of command line to avoid shell escaping issues - let claude_command = "npx -y @anthropic-ai/claude-code -p --dangerously-skip-permissions --verbose --output-format=stream-json"; + let claude_command = "npx -y @anthropic-ai/claude-code@latest -p --dangerously-skip-permissions --verbose --output-format=stream-json"; let mut command = Command::new(shell_cmd); command diff --git a/backend/src/executors/gemini.rs b/backend/src/executors/gemini.rs index 19ccd55f..70ee0115 100644 --- a/backend/src/executors/gemini.rs +++ b/backend/src/executors/gemini.rs @@ -57,7 +57,7 @@ Task title: {}"#, // Use shell command for cross-platform compatibility let (shell_cmd, shell_arg) = get_shell_command(); - let gemini_command = "npx @google/gemini-cli --yolo"; + let gemini_command = "npx @google/gemini-cli@latest --yolo"; let mut command = Command::new(shell_cmd); command