-
Notifications
You must be signed in to change notification settings - Fork 27
Add Amp as a known ACP provider #1312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,7 @@ pub(crate) struct KnownAcpRuntime { | |
| const GOOSE_AVATAR_URL: &str = "https://goose-docs.ai/img/logo_dark.png"; | ||
| const CLAUDE_CODE_AVATAR_URL: &str = "https://anthropic.gallerycdn.vsassets.io/extensions/anthropic/claude-code/2.1.77/1773707456892/Microsoft.VisualStudio.Services.Icons.Default"; | ||
| const CODEX_AVATAR_URL: &str = "https://openai.gallerycdn.vsassets.io/extensions/openai/chatgpt/26.5313.41514/1773706730621/Microsoft.VisualStudio.Services.Icons.Default"; | ||
| const AMP_AVATAR_URL: &str = "https://ampcode.com/img/amp-logo.png"; | ||
| const BUZZ_AGENT_AVATAR_URL: &str = | ||
| "https://raw.githubusercontent.com/block/buzz/refs/heads/main/crates/buzz-agent/buzz-agent.png"; | ||
|
|
||
|
|
@@ -136,6 +137,27 @@ const KNOWN_ACP_RUNTIMES: &[KnownAcpRuntime] = &[ | |
| provider_locked: true, | ||
| default_env: &[], | ||
| }, | ||
| KnownAcpRuntime { | ||
| id: "amp", | ||
| label: "Amp", | ||
| commands: &["amp-acp"], | ||
| aliases: &[], | ||
| avatar_url: AMP_AVATAR_URL, | ||
| mcp_command: None, | ||
| mcp_hooks: false, | ||
| underlying_cli: Some("amp"), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The added runtime is treated as Useful? React with 👍 / 👎. |
||
| cli_install_commands: &[], | ||
| adapter_install_commands: &["npm install -g amp-acp"], | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Before we expose this as a one-click known runtime install, can we clarify that |
||
| install_instructions_url: "https://github.com/tao12345666333/amp-acp", | ||
| cli_install_hint: "Install Amp via https://ampcode.com.", | ||
| adapter_install_hint: "Install the Amp ACP adapter via npm.", | ||
| skill_dir: None, | ||
| supports_acp_model_switching: false, | ||
| model_env_var: None, | ||
| provider_env_var: None, | ||
| provider_locked: true, | ||
| default_env: &[], | ||
| }, | ||
| KnownAcpRuntime { | ||
| id: "buzz-agent", | ||
| label: "Buzz Agent", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add
amp-acpto the desktop-sidedefault_agent_args()match lower in this file?crates/buzz-acp/src/config.rswas updated so the standalone harness treats Amp as zero-arg, but managed desktop agents have a separate normalization path. Keeping both lists in sync avoids preserving a strayacparg if one is ever passed through for this runtime.