feat(acp): add CodeBuddy to the built-in external agent catalogue - #144
Draft
Luna Qiu (lunaqiu) wants to merge 1 commit into
Draft
feat(acp): add CodeBuddy to the built-in external agent catalogue#144Luna Qiu (lunaqiu) wants to merge 1 commit into
Luna Qiu (lunaqiu) wants to merge 1 commit into
Conversation
Tencent Cloud's CodeBuddy Code CLI speaks ACP natively via 'codebuddy --acp', so it slots into the existing known-agents data catalogue like Gemini/Qwen Code rather than needing an adapter. Its permission model mirrors Claude Code (the architecture it is built on), so autoApprove is null pending an official argument-based full-auto recipe for --acp mode. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds Tencent Cloud's CodeBuddy Code CLI to the trusted built-in catalogue of ACP-capable external agents, so it appears as a first-class option in Settings → External Agents → Add agent instead of requiring a Custom command.
Why
CodeBuddy speaks ACP natively via
codebuddy --acp— the same shape as Gemini and Qwen Code — so it fits the existing catalogue with no new machinery.known-agents.tsis deliberately a pure data module, separate from the host probing logic inagent-cli-detect.ts, which means adding an agent is a data-only change.How
binarycodebuddyacpArgs['--acp']autoApprovenullskipVersionProbecodebuddy --versionprints2.137.1and exits in ~170 ms, well inside the 2.5 s probe timeoutautoApproveisnullon purpose. CodeBuddy Code is architecturally derived from Claude Code (identical slash-command surface:/agents,/bashes,/compact, …) and likewise delegates tool-permission decisions to ACP requests. There is no documented blanket auto-approve argument scoped to--acpmode, and the catalogue's contract is that only official argument-based recipes are encoded here.--dangerously-skip-permissionsexists for-pbatch mode but is not documented for the ACP path, so encoding it would be a guess.Changes
apps/server/src/modules/agent/acp/known-agents.ts— newcodebuddyentryapps/server/src/modules/agent/acp/known-agents.test.ts— expectations updateddocs/architecture/agent-architecture.md— catalogue list updatedapps/docs/src/sections/ai/ExternalAgents.tsx— user-facing list updated, count nine → tenTesting
pnpm --filter @huabu/server test -- acp— 15 files / 113 tests passingpnpm --filter @huabu/server typecheck,pnpm --filter @huabu/docs typecheck— clean2.137.1): the agent is detected, a Profile can be created, and a conversation runs against a SpaceNotes for reviewers
No changes to detection, launch, or connection logic — this is a data-only addition to the catalogue plus the documentation that mirrors it.