Repository navigation
Description
Summary
Add OpenCode as a first-class provider in paca-acp-bridge (apps/acp-bridge). OpenCode provides an ACP server via opencode acp, so it can likely already be run through the generic custom provider route today — but exposing it as a documented first-class provider would make the integration discoverable and reproducible.
Problem
Teams want to keep Paca as the project/task/control plane while using OpenCode as the local coding harness. The current provider registry (apps/acp-bridge/internal/provider) has built-ins (claude-code, codex, gemini-cli, goose) plus custom. With custom, every user must know and hand-configure the exact launch command, and the provider gets no setup documentation, compatibility expectations, or UI/onboarding support. Compared with a generic custom-command configuration, a first-class provider would improve:
- discoverability
- setup simplicity
- compatibility expectations
- UI/onboarding
- supportability
- reproducibility across developer machines
Proposed Direction
- Register
opencodeas a first-class provider id / config value inpaca-acp-bridge. - Default launch command based on
opencode acp(the same pattern as the existinggooseentry, whose default command isgoose acp). - Normal environment/config passthrough consistent with the other ACP providers (the bridge injects no tool/MCP config — the local ACP CLI owns its own setup).
- Setup documentation for the provider, including the documented Paca MCP integration (Paca MCP connection + skills install) and how it interacts with OpenCode's own MCP/configuration facilities.
- Linux and Windows launch examples if practical.
Scope
- Product behavior
- Repository structure
- Architecture
- Developer experience
- Documentation
- Other
Additional Context
To be clear: OpenCode is not lacking ACP support — opencode acp already speaks the Agent Client Protocol. The request is specifically for first-class Paca ACP-bridge integration around OpenCode's existing ACP server. If current repository terminology or config naming differs from the wording above, adapt to the actual paca-acp-bridge terminology.
AI disclosure: This issue was prepared with assistance from AI tools. The reporter reviewed the content; the technical observations and reproduction results are based on tests actually performed against the reported Paca environment.
Activity
pullfrog commentedon Oct 16, 2026
pikann commentedon Oct 20, 2026
Thank you so much for the suggestion! I'll look into implementing this soon.
sorin-sds commentedon Oct 21, 2026
Follow-up from a real Windows/OpenCode ACP pilot: the integration now works end-to-end through Paca's
customACP provider.Environment:
paca-acp-bridge0.19.0opencode acpValidated end-to-end:
Paca
→ paca-acp-bridge
→ custom ACP command
→ OpenCode ACP
→ isolated OpenCode profile/workspace
→ model
→ Paca MCP
The pilot passed:
Two interoperability findings may be useful for first-class OpenCode support:
1.
/pacaprompt prefixPaca prefixes remote-agent prompts with
/paca.OpenCode treats that as a slash command, so the first remote turn did not reach the model until I added a passthrough command to the isolated OpenCode config:
A first-class OpenCode provider should probably handle or document this automatically.
2. Windows MCP launch from OpenCode Desktop
This is not an ACP-bridge failure, but it is relevant to the documented Paca MCP integration.
In OpenCode Desktop on Windows, configuring Paca MCP as:
did not start the MCP server. The Desktop sidecar is Electron/Node and direct spawning of the Windows
npx.cmdshim failed silently.Using:
fixed it. After a real Desktop restart, Paca MCP spawned correctly, its tools appeared in the session, and the model selected
paca_list_projectsautomatically with no extra hint.The OpenCode CLI/ACP runtime did not have this problem; direct
npxworked there.Additional operational note
For our deployment we intentionally keep Remote Agents manual/on-demand rather than auto-started. Paca knows whether an ACP agent is connected, but the current Paca MCP tool surface does not appear to expose a read-only agent connection-status tool.
A tool such as
paca_get_agent_status/paca_list_agentsexposing at least:would let orchestrating agents safely detect an offline executor and ask the human operator to start it, instead of silently falling back to another machine.
Overall, the custom-provider route is now proven usable for OpenCode on Windows. The remaining items above are mainly discoverability/interop/polish issues rather than blockers.
AI disclosure: this comment was prepared with AI assistance; the reproduction results and observations above come from the actual pilot environment.