feat: add built-in ACPX agent plugin#647
feat: add built-in ACPX agent plugin#647sisutuulenisa wants to merge 6 commits intoComposioHQ:mainfrom
Conversation
|
Addressed the ACPX CLI parser issue from Bugbot:
Validation:
New commit: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
|
|
||
| export const DEFAULT_ACPX_AGENT = "pi"; | ||
| export const DEFAULT_PROMPT_FLUSH_DELAY_MS = 150; | ||
| export const SUPPORTED_ACPX_AGENTS = [DEFAULT_ACPX_AGENT, "codex", "claude", "gemini"] as const; |
There was a problem hiding this comment.
ACPX agent names defined in three disconnected locations
Medium Severity
The supported ACPX agent names ("pi", "codex", "claude", "gemini") are independently declared in three places: SUPPORTED_ACPX_AGENTS in bridge.ts, AcpxAgentName in types.ts, and z.enum(…) in config.ts. A future change to one list that misses the others will silently allow config values the bridge rejects, or vice versa. The rule flags type re-declarations that could import from core.
Additional Locations (2)
Triggered by project rule: BugBot Configuration


Summary
Adds a built-in agent plugin for ACPX (ACP-based agents), enabling AO to orchestrate ACPX sessions natively alongside Claude Code, Codex, and other agent types.
Changes
packages/plugins/agent-acpx/package with bridge and plugin implementationacpxAgentconfig field intypes.ts+config.tsschemaplugins.ts,detect-agent.ts,config-instruction.ts)services.ts,next.config.js)examples/acpx-pi.yaml)Key features
acpxAgentonly exposed on ACPX config entries)Consolidation note
This is a clean rebased replacement for #618, as part of PR consolidation. Supersedes #618.