Show setup instructions for ACP providers in settings modal (#8065)
Signed-off-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
@@ -25,12 +25,18 @@ impl ProviderDef for ClaudeAcpProvider {
|
||||
ProviderMetadata::new(
|
||||
CLAUDE_ACP_PROVIDER_NAME,
|
||||
"Claude Code",
|
||||
"ACP wrapper for Anthropic's Claude. Install: npm install -g @zed-industries/claude-agent-acp",
|
||||
"Use goose with your Claude Code subscription via the claude-agent-acp adapter.",
|
||||
ACP_CURRENT_MODEL,
|
||||
vec![],
|
||||
CLAUDE_ACP_DOC_URL,
|
||||
vec![],
|
||||
)
|
||||
.with_setup_steps(vec![
|
||||
"Install the ACP adapter: `npm install -g @zed-industries/claude-agent-acp`",
|
||||
"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",
|
||||
"Restart goose for changes to take effect",
|
||||
])
|
||||
}
|
||||
|
||||
fn from_env(
|
||||
|
||||
@@ -24,12 +24,18 @@ impl ProviderDef for CodexAcpProvider {
|
||||
ProviderMetadata::new(
|
||||
CODEX_ACP_PROVIDER_NAME,
|
||||
"Codex CLI",
|
||||
"ACP adapter for OpenAI's coding assistant. Install: npm install -g @zed-industries/codex-acp",
|
||||
"Use goose with your ChatGPT Plus/Pro subscription via the codex-acp adapter.",
|
||||
ACP_CURRENT_MODEL,
|
||||
vec![],
|
||||
CODEX_ACP_DOC_URL,
|
||||
vec![],
|
||||
)
|
||||
.with_setup_steps(vec![
|
||||
"Install the ACP adapter: `npm install -g @zed-industries/codex-acp`",
|
||||
"Run `codex` once to authenticate with your OpenAI account",
|
||||
"Set in your goose config file (`~/.config/goose/config.yaml` on macOS/Linux):\n GOOSE_PROVIDER: codex-acp\n GOOSE_MODEL: current",
|
||||
"Restart goose for changes to take effect",
|
||||
])
|
||||
}
|
||||
|
||||
fn from_env(
|
||||
|
||||
@@ -24,12 +24,18 @@ impl ProviderDef for GeminiAcpProvider {
|
||||
ProviderMetadata::new(
|
||||
GEMINI_ACP_PROVIDER_NAME,
|
||||
"Gemini CLI (ACP)",
|
||||
"ACP provider for Google's Gemini CLI. Install: npm install -g @google/gemini-cli",
|
||||
"Use goose with your Google Gemini subscription via the Gemini CLI.",
|
||||
ACP_CURRENT_MODEL,
|
||||
vec![],
|
||||
GEMINI_ACP_DOC_URL,
|
||||
vec![],
|
||||
)
|
||||
.with_setup_steps(vec![
|
||||
"Install the Gemini CLI: `npm install -g @google/gemini-cli`",
|
||||
"Run `gemini` once to authenticate with your Google account",
|
||||
"Set in your goose config file (`~/.config/goose/config.yaml` on macOS/Linux):\n GOOSE_PROVIDER: gemini-acp\n GOOSE_MODEL: current",
|
||||
"Restart goose for changes to take effect",
|
||||
])
|
||||
}
|
||||
|
||||
fn from_env(
|
||||
|
||||
Reference in New Issue
Block a user