From 3cc28167e0184466b312c461e0a686e9e8238402 Mon Sep 17 00:00:00 2001 From: xggz Date: Sat, 7 Mar 2026 20:41:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Agent=20SDK=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/acp/registry.rs | 132 +++++++++++++++++----------------- 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/src-tauri/src/acp/registry.rs b/src-tauri/src/acp/registry.rs index 0dbd967..c42b358 100644 --- a/src-tauri/src/acp/registry.rs +++ b/src-tauri/src/acp/registry.rs @@ -112,9 +112,9 @@ pub fn registry_id_for(agent_type: AgentType) -> &'static str { AgentType::CorustAgent => "corust-agent", AgentType::FactoryDroid => "factory-droid", AgentType::Gemini => "gemini", - AgentType::GithubCopilot => "github-copilot", + AgentType::GithubCopilot => "github-copilot-cli", AgentType::Goose => "goose", - AgentType::Junie => "junie-acp", + AgentType::Junie => "junie", AgentType::Kimi => "kimi", AgentType::MinionCode => "minion-code", AgentType::MistralVibe => "mistral-vibe", @@ -137,9 +137,9 @@ pub fn from_registry_id(id: &str) -> Option { "corust-agent" => Some(AgentType::CorustAgent), "factory-droid" => Some(AgentType::FactoryDroid), "gemini" => Some(AgentType::Gemini), - "github-copilot" => Some(AgentType::GithubCopilot), + "github-copilot-cli" | "github-copilot" => Some(AgentType::GithubCopilot), "goose" => Some(AgentType::Goose), - "junie-acp" => Some(AgentType::Junie), + "junie" | "junie-acp" => Some(AgentType::Junie), "kimi" => Some(AgentType::Kimi), "minion-code" => Some(AgentType::MinionCode), "mistral-vibe" => Some(AgentType::MistralVibe), @@ -163,8 +163,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Auggie CLI", description: "Augment Code's powerful software agent, backed by industry-leading context engine", distribution: AgentDistribution::Npx { - version: "0.17.0", - package: "@augmentcode/auggie@0.17.0", + version: "0.18.1", + package: "@augmentcode/auggie@0.18.1", args: &["--acp"], env: &[("AUGMENT_DISABLE_AUTO_UPDATE", "1")], node_required: None, @@ -187,8 +187,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Claude Code", description: "ACP wrapper for Anthropic's Claude", distribution: AgentDistribution::Npx { - version: "0.18.0", - package: "@zed-industries/claude-agent-acp@0.18.0", + version: "0.20.2", + package: "@zed-industries/claude-agent-acp@0.20.2", args: &[], env: &[], node_required: None, @@ -199,8 +199,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Cline", description: "Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more", distribution: AgentDistribution::Npx { - version: "2.5.0", - package: "cline@2.5.0", + version: "2.6.1", + package: "cline@2.6.1", args: &["--acp"], env: &[], node_required: None, @@ -211,8 +211,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Codebuddy Code", description: "Tencent Cloud's official intelligent coding tool", distribution: AgentDistribution::Npx { - version: "2.51.2", - package: "@tencent-ai/codebuddy-code@2.51.2", + version: "2.55.1", + package: "@tencent-ai/codebuddy-code@2.55.1", args: &["--acp"], env: &[], node_required: None, @@ -223,34 +223,34 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Codex CLI", description: "ACP adapter for OpenAI's coding assistant", distribution: AgentDistribution::Binary { - version: "0.9.4", + version: "0.9.5", cmd: "codex-acp", args: &[], env: &[], platforms: &[ PlatformBinary { platform: "darwin-aarch64", - url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.4/codex-acp-0.9.4-aarch64-apple-darwin.tar.gz", + url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.5/codex-acp-0.9.5-aarch64-apple-darwin.tar.gz", }, PlatformBinary { platform: "darwin-x86_64", - url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.4/codex-acp-0.9.4-x86_64-apple-darwin.tar.gz", + url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.5/codex-acp-0.9.5-x86_64-apple-darwin.tar.gz", }, PlatformBinary { platform: "linux-aarch64", - url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.4/codex-acp-0.9.4-aarch64-unknown-linux-gnu.tar.gz", + url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.5/codex-acp-0.9.5-aarch64-unknown-linux-gnu.tar.gz", }, PlatformBinary { platform: "linux-x86_64", - url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.4/codex-acp-0.9.4-x86_64-unknown-linux-gnu.tar.gz", + url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.5/codex-acp-0.9.5-x86_64-unknown-linux-gnu.tar.gz", }, PlatformBinary { platform: "windows-aarch64", - url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.4/codex-acp-0.9.4-aarch64-pc-windows-msvc.zip", + url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.5/codex-acp-0.9.5-aarch64-pc-windows-msvc.zip", }, PlatformBinary { platform: "windows-x86_64", - url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.4/codex-acp-0.9.4-x86_64-pc-windows-msvc.zip", + url: "https://github.com/zed-industries/codex-acp/releases/download/v0.9.5/codex-acp-0.9.5-x86_64-pc-windows-msvc.zip", }, ], }, @@ -260,22 +260,22 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Corust Agent", description: "Co-building with a seasoned Rust partner.", distribution: AgentDistribution::Binary { - version: "0.3.4", + version: "0.3.7", cmd: "corust-agent-acp", args: &[], env: &[], platforms: &[ PlatformBinary { platform: "darwin-aarch64", - url: "https://github.com/Corust-ai/corust-agent-release/releases/download/v0.3.4/agent-darwin-arm64.tar.gz", + url: "https://github.com/Corust-ai/corust-agent-release/releases/download/v0.3.7/agent-darwin-arm64.tar.gz", }, PlatformBinary { platform: "linux-x86_64", - url: "https://github.com/Corust-ai/corust-agent-release/releases/download/v0.3.4/agent-linux-x64.tar.gz", + url: "https://github.com/Corust-ai/corust-agent-release/releases/download/v0.3.7/agent-linux-x64.tar.gz", }, PlatformBinary { platform: "windows-x86_64", - url: "https://github.com/Corust-ai/corust-agent-release/releases/download/v0.3.4/agent-windows-x64.zip", + url: "https://github.com/Corust-ai/corust-agent-release/releases/download/v0.3.7/agent-windows-x64.zip", }, ], }, @@ -285,8 +285,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Factory Droid", description: "Factory Droid - AI coding agent powered by Factory AI", distribution: AgentDistribution::Npx { - version: "0.63.0", - package: "droid@0.63.0", + version: "0.70.0", + package: "droid@0.70.0", args: &["exec", "--output-format", "acp"], env: &[("DROID_DISABLE_AUTO_UPDATE", "true"), ("FACTORY_DROID_AUTO_UPDATE_ENABLED", "false")], node_required: None, @@ -297,8 +297,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Gemini CLI", description: "Google's official CLI for Gemini", distribution: AgentDistribution::Npx { - version: "0.30.0", - package: "@google/gemini-cli@0.30.0", + version: "0.32.1", + package: "@google/gemini-cli@0.32.1", args: &["--experimental-acp"], env: &[], node_required: None, @@ -309,8 +309,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "GitHub Copilot", description: "GitHub's AI pair programmer", distribution: AgentDistribution::Npx { - version: "1.432.0", - package: "@github/copilot-language-server@1.432.0", + version: "1.0.2", + package: "@github/copilot@1.0.2", args: &["--acp"], env: &[], node_required: None, @@ -321,30 +321,30 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "goose", description: "A local, extensible, open source AI agent that automates engineering tasks", distribution: AgentDistribution::Binary { - version: "1.25.1", + version: "1.27.2", cmd: "goose", - args: &[], + args: &["acp"], env: &[], platforms: &[ PlatformBinary { platform: "darwin-aarch64", - url: "https://github.com/block/goose/releases/download/v1.25.1/goose-aarch64-apple-darwin.tar.bz2", + url: "https://github.com/block/goose/releases/download/v1.27.2/goose-aarch64-apple-darwin.tar.bz2", }, PlatformBinary { platform: "darwin-x86_64", - url: "https://github.com/block/goose/releases/download/v1.25.1/goose-x86_64-apple-darwin.tar.bz2", + url: "https://github.com/block/goose/releases/download/v1.27.2/goose-x86_64-apple-darwin.tar.bz2", }, PlatformBinary { platform: "linux-aarch64", - url: "https://github.com/block/goose/releases/download/v1.25.1/goose-aarch64-unknown-linux-gnu.tar.bz2", + url: "https://github.com/block/goose/releases/download/v1.27.2/goose-aarch64-unknown-linux-gnu.tar.bz2", }, PlatformBinary { platform: "linux-x86_64", - url: "https://github.com/block/goose/releases/download/v1.25.1/goose-x86_64-unknown-linux-gnu.tar.bz2", + url: "https://github.com/block/goose/releases/download/v1.27.2/goose-x86_64-unknown-linux-gnu.tar.bz2", }, PlatformBinary { platform: "windows-x86_64", - url: "https://github.com/block/goose/releases/download/v1.25.1/goose-x86_64-pc-windows-msvc.zip", + url: "https://github.com/block/goose/releases/download/v1.27.2/goose-x86_64-pc-windows-msvc.zip", }, ], }, @@ -354,8 +354,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Junie", description: "AI Coding Agent by JetBrains", distribution: AgentDistribution::Npx { - version: "849.19.0", - package: "@jetbrains/junie-cli@849.19.0", + version: "888.173.0", + package: "@jetbrains/junie@888.173.0", args: &["--acp=true"], env: &[], node_required: None, @@ -366,26 +366,26 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Kimi CLI", description: "Moonshot AI's coding assistant", distribution: AgentDistribution::Binary { - version: "1.14.0", + version: "1.17.0", cmd: "kimi", - args: &[], + args: &["acp"], env: &[], platforms: &[ PlatformBinary { platform: "darwin-aarch64", - url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.14.0/kimi-1.14.0-aarch64-apple-darwin.tar.gz", + url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.17.0/kimi-1.17.0-aarch64-apple-darwin.tar.gz", }, PlatformBinary { platform: "linux-aarch64", - url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.14.0/kimi-1.14.0-aarch64-unknown-linux-gnu.tar.gz", + url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.17.0/kimi-1.17.0-aarch64-unknown-linux-gnu.tar.gz", }, PlatformBinary { platform: "linux-x86_64", - url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.14.0/kimi-1.14.0-x86_64-unknown-linux-gnu.tar.gz", + url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.17.0/kimi-1.17.0-x86_64-unknown-linux-gnu.tar.gz", }, PlatformBinary { platform: "windows-x86_64", - url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.14.0/kimi-1.14.0-x86_64-pc-windows-msvc.zip", + url: "https://github.com/MoonshotAI/kimi-cli/releases/download/1.17.0/kimi-1.17.0-x86_64-pc-windows-msvc.zip", }, ], }, @@ -406,34 +406,34 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Mistral Vibe", description: "Mistral's open-source coding assistant", distribution: AgentDistribution::Binary { - version: "2.2.1", + version: "2.3.0", cmd: "vibe-acp", args: &[], env: &[], platforms: &[ PlatformBinary { platform: "darwin-aarch64", - url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.2.1/vibe-acp-darwin-aarch64-2.2.1.zip", + url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.3.0/vibe-acp-darwin-aarch64-2.3.0.zip", }, PlatformBinary { platform: "darwin-x86_64", - url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.2.1/vibe-acp-darwin-x86_64-2.2.1.zip", + url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.3.0/vibe-acp-darwin-x86_64-2.3.0.zip", }, PlatformBinary { platform: "linux-aarch64", - url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.2.1/vibe-acp-linux-aarch64-2.2.1.zip", + url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.3.0/vibe-acp-linux-aarch64-2.3.0.zip", }, PlatformBinary { platform: "linux-x86_64", - url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.2.1/vibe-acp-linux-x86_64-2.2.1.zip", + url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.3.0/vibe-acp-linux-x86_64-2.3.0.zip", }, PlatformBinary { platform: "windows-aarch64", - url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.2.1/vibe-acp-windows-aarch64-2.2.1.zip", + url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.3.0/vibe-acp-windows-aarch64-2.3.0.zip", }, PlatformBinary { platform: "windows-x86_64", - url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.2.1/vibe-acp-windows-x86_64-2.2.1.zip", + url: "https://github.com/mistralai/mistral-vibe/releases/download/v2.3.0/vibe-acp-windows-x86_64-2.3.0.zip", }, ], }, @@ -455,30 +455,30 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "OpenCode", description: "The open source coding agent", distribution: AgentDistribution::Binary { - version: "1.2.15", + version: "1.2.20", cmd: "opencode", args: &["acp"], env: &[], platforms: &[ PlatformBinary { platform: "darwin-aarch64", - url: "https://github.com/anomalyco/opencode/releases/download/v1.2.15/opencode-darwin-arm64.zip", + url: "https://github.com/anomalyco/opencode/releases/download/v1.2.20/opencode-darwin-arm64.zip", }, PlatformBinary { platform: "darwin-x86_64", - url: "https://github.com/anomalyco/opencode/releases/download/v1.2.15/opencode-darwin-x64.zip", + url: "https://github.com/anomalyco/opencode/releases/download/v1.2.20/opencode-darwin-x64.zip", }, PlatformBinary { platform: "linux-aarch64", - url: "https://github.com/anomalyco/opencode/releases/download/v1.2.15/opencode-linux-arm64.tar.gz", + url: "https://github.com/anomalyco/opencode/releases/download/v1.2.20/opencode-linux-arm64.tar.gz", }, PlatformBinary { platform: "linux-x86_64", - url: "https://github.com/anomalyco/opencode/releases/download/v1.2.15/opencode-linux-x64.tar.gz", + url: "https://github.com/anomalyco/opencode/releases/download/v1.2.20/opencode-linux-x64.tar.gz", }, PlatformBinary { platform: "windows-x86_64", - url: "https://github.com/anomalyco/opencode/releases/download/v1.2.15/opencode-windows-x64.zip", + url: "https://github.com/anomalyco/opencode/releases/download/v1.2.20/opencode-windows-x64.zip", }, ], }, @@ -500,8 +500,8 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Qwen Code", description: "Alibaba's Qwen coding assistant", distribution: AgentDistribution::Npx { - version: "0.10.6", - package: "@qwen-code/qwen-code@0.10.6", + version: "0.11.1", + package: "@qwen-code/qwen-code@0.11.1", args: &["--acp", "--experimental-skills"], env: &[], node_required: None, @@ -512,30 +512,30 @@ pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta { name: "Stakpak", description: "Open-source DevOps agent in Rust with enterprise-grade security", distribution: AgentDistribution::Binary { - version: "0.3.62", + version: "0.3.66", cmd: "stakpak", - args: &[], + args: &["acp"], env: &[], platforms: &[ PlatformBinary { platform: "darwin-aarch64", - url: "https://github.com/stakpak/agent/releases/download/v0.3.62/stakpak-darwin-aarch64.tar.gz", + url: "https://github.com/stakpak/agent/releases/download/v0.3.66/stakpak-darwin-aarch64.tar.gz", }, PlatformBinary { platform: "darwin-x86_64", - url: "https://github.com/stakpak/agent/releases/download/v0.3.62/stakpak-darwin-x86_64.tar.gz", + url: "https://github.com/stakpak/agent/releases/download/v0.3.66/stakpak-darwin-x86_64.tar.gz", }, PlatformBinary { platform: "linux-aarch64", - url: "https://github.com/stakpak/agent/releases/download/v0.3.62/stakpak-linux-aarch64.tar.gz", + url: "https://github.com/stakpak/agent/releases/download/v0.3.66/stakpak-linux-aarch64.tar.gz", }, PlatformBinary { platform: "linux-x86_64", - url: "https://github.com/stakpak/agent/releases/download/v0.3.62/stakpak-linux-x86_64.tar.gz", + url: "https://github.com/stakpak/agent/releases/download/v0.3.66/stakpak-linux-x86_64.tar.gz", }, PlatformBinary { platform: "windows-x86_64", - url: "https://github.com/stakpak/agent/releases/download/v0.3.62/stakpak-windows-x86_64.zip", + url: "https://github.com/stakpak/agent/releases/download/v0.3.66/stakpak-windows-x86_64.zip", }, ], },