From f64484a9e384ef82d2856fa66c149e4776e302ea Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Tue, 17 Feb 2026 13:29:57 +0100 Subject: [PATCH] acp: Update npm package for claude agent (#49353) Release Notes: - N/A --- crates/agent_servers/src/e2e_tests.rs | 2 +- crates/project/src/agent_server_store.rs | 8 ++++---- docs/src/ai/external-agents.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/agent_servers/src/e2e_tests.rs b/crates/agent_servers/src/e2e_tests.rs index b5e4a40dfb4360bd3d43df177d1e760b07f47f9f..4fe068ee5a9b68ce87bba27fb82db967e7a8aa4a 100644 --- a/crates/agent_servers/src/e2e_tests.rs +++ b/crates/agent_servers/src/e2e_tests.rs @@ -416,7 +416,7 @@ pub async fn init_test(cx: &mut TestAppContext) -> Arc { project::agent_server_store::AllAgentServersSettings::override_global( project::agent_server_store::AllAgentServersSettings { claude: Some(BuiltinAgentServerSettings { - path: Some("claude-code-acp".into()), + path: Some("claude-agent-acp".into()), ..Default::default() }), gemini: Some(crate::gemini::tests::local_command().into()), diff --git a/crates/project/src/agent_server_store.rs b/crates/project/src/agent_server_store.rs index 35d650611f389164007bc2b6192b8742a5ebd1cb..3dcbab8bafb470602c99c88049eb5266886ed1cd 100644 --- a/crates/project/src/agent_server_store.rs +++ b/crates/project/src/agent_server_store.rs @@ -1455,10 +1455,10 @@ impl ExternalAgentServer for LocalClaudeCode { (custom_command, None) } else { let mut command = get_or_npm_install_builtin_agent( - "claude-code-acp".into(), - "@zed-industries/claude-code-acp".into(), - "node_modules/@zed-industries/claude-code-acp/dist/index.js".into(), - Some("0.5.2".parse().unwrap()), + "claude-agent-acp".into(), + "@zed-industries/claude-agent-acp".into(), + "node_modules/@zed-industries/claude-agent-acp/dist/index.js".into(), + Some("0.17.0".parse().unwrap()), status_tx, new_version_available_tx, fs, diff --git a/docs/src/ai/external-agents.md b/docs/src/ai/external-agents.md index bf86781b8ce636f2053aac9095052587c6d7d0bc..5adeb9306658b11ed948d49f7376a09d7622bd92 100644 --- a/docs/src/ai/external-agents.md +++ b/docs/src/ai/external-agents.md @@ -76,7 +76,7 @@ Gemini CLI supports the same workflows as Zed's first-party agent: code generati ## Claude Agent Similar to Gemini CLI, you can also run [Claude Agent](https://platform.claude.com/docs/en/agent-sdk/overview) directly via Zed's [agent panel](./agent-panel.md). -Under the hood, Zed runs the Claude Agent SDK, which runs Claude Code under the hood, and communicates to it over ACP, through [a dedicated adapter](https://github.com/zed-industries/claude-code-acp). +Under the hood, Zed runs the Claude Agent SDK, which runs Claude Code under the hood, and communicates to it over ACP, through [a dedicated adapter](https://github.com/zed-industries/claude-agent-acp). ### Getting Started @@ -104,7 +104,7 @@ Then, run `/login`, and authenticate either via API key, or via `Log in with Cla #### Installation -The first time you create a Claude Agent thread, Zed will install [@zed-industries/claude-code-acp](https://github.com/zed-industries/claude-code-acp). +The first time you create a Claude Agent thread, Zed will install [@zed-industries/claude-agent-acp](https://github.com/zed-industries/claude-agent-acp). This installation is only available to Zed and is kept up to date as you use the agent. Zed will always use this managed version of the Claude Agent adapter, which includes a vendored version of the Claude Code CLI, even if you have it installed globally.