fix: update CLI commands for Claude and Gemini to use latest versions in all places (#144)

This commit is contained in:
Alex Netsch
2025-07-11 21:14:28 +01:00
committed by GitHub
parent d26164408d
commit 3e861da0b2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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