Replace deprecated Claude ACP package links (#8625)
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
This commit is contained in:
committed by
GitHub
parent
1d0f3785c3
commit
501dde5570
@@ -14,7 +14,7 @@ use crate::providers::base::{ProviderDef, ProviderMetadata};
|
|||||||
use crate::providers::inventory::InventoryIdentityInput;
|
use crate::providers::inventory::InventoryIdentityInput;
|
||||||
|
|
||||||
const CLAUDE_ACP_PROVIDER_NAME: &str = "claude-acp";
|
const CLAUDE_ACP_PROVIDER_NAME: &str = "claude-acp";
|
||||||
const CLAUDE_ACP_DOC_URL: &str = "https://github.com/zed-industries/claude-agent-acp";
|
const CLAUDE_ACP_DOC_URL: &str = "https://github.com/agentclientprotocol/claude-agent-acp";
|
||||||
const CLAUDE_ACP_BINARY: &str = "claude-agent-acp";
|
const CLAUDE_ACP_BINARY: &str = "claude-agent-acp";
|
||||||
|
|
||||||
pub struct ClaudeAcpProvider;
|
pub struct ClaudeAcpProvider;
|
||||||
@@ -33,7 +33,7 @@ impl ProviderDef for ClaudeAcpProvider {
|
|||||||
vec![],
|
vec![],
|
||||||
)
|
)
|
||||||
.with_setup_steps(vec![
|
.with_setup_steps(vec![
|
||||||
"Install the ACP adapter: `npm install -g @zed-industries/claude-agent-acp`",
|
"Install the ACP adapter: `npm install -g @agentclientprotocol/claude-agent-acp`",
|
||||||
"Ensure your Claude CLI is authenticated (run `claude` to verify)",
|
"Ensure your Claude CLI is authenticated (run `claude` to verify)",
|
||||||
"Set in your goose config file (`~/.config/goose/config.yaml` on macOS/Linux):\n GOOSE_PROVIDER: claude-acp\n GOOSE_MODEL: current",
|
"Set in your goose config file (`~/.config/goose/config.yaml` on macOS/Linux):\n GOOSE_PROVIDER: claude-acp\n GOOSE_MODEL: current",
|
||||||
"Restart goose for changes to take effect",
|
"Restart goose for changes to take effect",
|
||||||
|
|||||||
@@ -888,7 +888,7 @@ async fn test_codex_provider() -> Result<()> {
|
|||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
// Requires: npm install -g @zed-industries/claude-agent-acp
|
// Requires: npm install -g @agentclientprotocol/claude-agent-acp
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn test_claude_acp_provider() -> Result<()> {
|
async fn test_claude_acp_provider() -> Result<()> {
|
||||||
ProviderTestConfig::with_agentic_provider("claude-acp", ACP_CURRENT_MODEL, "claude-agent-acp")
|
ProviderTestConfig::with_agentic_provider("claude-acp", ACP_CURRENT_MODEL, "claude-agent-acp")
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ goose supports [Agent Client Protocol (ACP)](https://agentclientprotocol.com/) a
|
|||||||
|
|
||||||
| Provider | Description | Requirements |
|
| Provider | Description | Requirements |
|
||||||
|-----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|-----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [Claude ACP](https://github.com/zed-industries/claude-agent-acp) (`claude-acp`) | Uses Claude Code via ACP. Passes goose extensions to the agent as MCP servers. | `npm install -g @zed-industries/claude-agent-acp`, active Claude Code subscription |
|
| [Claude ACP](https://github.com/agentclientprotocol/claude-agent-acp) (`claude-acp`) | Uses Claude Code via ACP. Passes goose extensions to the agent as MCP servers. | `npm install -g @agentclientprotocol/claude-agent-acp`, active Claude Code subscription |
|
||||||
| [Codex ACP](https://github.com/zed-industries/codex-acp) (`codex-acp`) | Uses OpenAI Codex via ACP. Passes goose extensions to the agent as MCP servers. | `npm install -g @zed-industries/codex-acp`, active ChatGPT Plus/Pro subscription |
|
| [Codex ACP](https://github.com/zed-industries/codex-acp) (`codex-acp`) | Uses OpenAI Codex via ACP. Passes goose extensions to the agent as MCP servers. | `npm install -g @zed-industries/codex-acp`, active ChatGPT Plus/Pro subscription |
|
||||||
|
|
||||||
:::tip ACP Providers
|
:::tip ACP Providers
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Wraps [amp-acp](https://www.npmjs.com/package/amp-acp), an ACP adapter for [Amp]
|
|||||||
|
|
||||||
### Claude ACP
|
### Claude ACP
|
||||||
|
|
||||||
Wraps [claude-agent-acp](https://github.com/zed-industries/claude-agent-acp), an ACP adapter for Anthropic's Claude Code. Uses the same Claude subscription as the deprecated `claude-code` CLI provider.
|
Wraps [claude-agent-acp](https://github.com/agentclientprotocol/claude-agent-acp), an ACP adapter for Anthropic's Claude Code. Uses the same Claude subscription as the deprecated `claude-code` CLI provider.
|
||||||
|
|
||||||
**Requirements:**
|
**Requirements:**
|
||||||
- Node.js and npm
|
- Node.js and npm
|
||||||
@@ -93,7 +93,7 @@ Wraps `pi-acp`, an ACP adapter for Pi. Uses your existing Pi installation.
|
|||||||
1. **Install the ACP adapter**
|
1. **Install the ACP adapter**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g @zed-industries/claude-agent-acp
|
npm install -g @agentclientprotocol/claude-agent-acp
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Authenticate with Claude**
|
2. **Authenticate with Claude**
|
||||||
@@ -235,7 +235,7 @@ GOOSE_PROVIDER=codex-acp goose run \
|
|||||||
| `approve` | `default` | Prompts for all permission-required operations |
|
| `approve` | `default` | Prompts for all permission-required operations |
|
||||||
| `chat` | `plan` | Planning only, no tool execution |
|
| `chat` | `plan` | Planning only, no tool execution |
|
||||||
|
|
||||||
See [claude-agent-acp](https://github.com/zed-industries/claude-agent-acp) for session mode details.
|
See [claude-agent-acp](https://github.com/agentclientprotocol/claude-agent-acp) for session mode details.
|
||||||
|
|
||||||
### Codex ACP Configuration
|
### Codex ACP Configuration
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const AGENT_COMMAND_DEFS: &[AgentCommandDef] = &[
|
|||||||
id: "claude-acp",
|
id: "claude-acp",
|
||||||
binary_name: "claude-agent-acp",
|
binary_name: "claude-agent-acp",
|
||||||
install_command: Some(
|
install_command: Some(
|
||||||
"npm install -g @anthropic-ai/claude-code @zed-industries/claude-agent-acp",
|
"npm install -g @anthropic-ai/claude-code @agentclientprotocol/claude-agent-acp",
|
||||||
),
|
),
|
||||||
auth_command: Some("claude auth login"),
|
auth_command: Some("claude auth login"),
|
||||||
auth_status_command: Some("claude auth status"),
|
auth_status_command: Some("claude auth status"),
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export const PROVIDER_CATALOG: ProviderCatalogEntry[] = [
|
|||||||
setupMethod: "cli_auth",
|
setupMethod: "cli_auth",
|
||||||
binaryName: "claude-agent-acp",
|
binaryName: "claude-agent-acp",
|
||||||
installCommand:
|
installCommand:
|
||||||
"npm install -g @anthropic-ai/claude-code @zed-industries/claude-agent-acp",
|
"npm install -g @anthropic-ai/claude-code @agentclientprotocol/claude-agent-acp",
|
||||||
authCommand: "claude auth login",
|
authCommand: "claude auth login",
|
||||||
authStatusCommand: "claude auth status",
|
authStatusCommand: "claude auth status",
|
||||||
docsUrl: "https://docs.anthropic.com/en/docs/claude-code",
|
docsUrl: "https://docs.anthropic.com/en/docs/claude-code",
|
||||||
|
|||||||
Reference in New Issue
Block a user