acp: Bump minimum Claude Code version (#39217)

There was an issue with login after the migration to the new anthropic
package. This makes sure folks are migrated to a known working version
(though the latest version also now works on old versions)

Release Notes:

- N/A

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
This commit is contained in:
Ben Brandt
2025-09-30 15:37:22 +00:00
committed by GitHub
co-authored by Richard Feldman
parent 0266a995aa
commit e23e976e58
+2 -2
View File
@@ -909,7 +909,7 @@ impl ExternalAgentServer for LocalClaudeCode {
"claude-code-acp".into(),
"@zed-industries/claude-code-acp".into(),
"node_modules/@zed-industries/claude-code-acp/dist/index.js".into(),
Some("0.2.5".parse().unwrap()),
Some("0.5.2".parse().unwrap()),
status_tx,
new_version_available_tx,
fs,
@@ -928,7 +928,7 @@ impl ExternalAgentServer for LocalClaudeCode {
command: Some(command.path.to_string_lossy().into_owned()),
args: vec![
Path::new(path_prefix)
.join("@anthropic-ai/claude-code/cli.js")
.join("@anthropic-ai/claude-agent-sdk/cli.js")
.to_string_lossy()
.to_string(),
"/login".into(),