Repository navigation
feat: add OpenCode as a new ACP provider - #616
Conversation
- Updated the agent detail and create agent dialog components to include OpenCode as a selectable ACP provider. - Added translations for OpenCode in English, Spanish, French, Japanese, Korean, Portuguese, Russian, Vietnamese, and Chinese. - Modified the agent API and provider logos to support OpenCode. - Updated API documentation to reflect the addition of OpenCode as a valid ACP provider. - Enhanced the database schema and migration scripts to include OpenCode in the ACP provider constraints. - Added unit tests to verify the successful creation of agents with OpenCode as the ACP provider.
There was a problem hiding this comment.
ℹ️ No critical issues — two minor points inline.
Reviewed changes
This PR adds opencode as a first-class ACP provider across the bridge, API, web UI, skills installer, and docs, and reworks the ACP bridge setup panel's MCP step to emit provider-specific registration snippets.
- Bridge provider registry — adds
"opencode"→["opencode", "acp"]with no permission mode (auto-approve, same as Goose), plus command-resolution and permission-mode tests. Correct and consistent with the existing Goose path. - API allowlist + migration —
ACPProviderOpenCodeinValidACPProviders, updated error text, and migration000071dropping/recreatingck_agents_acp_providerwithopencode; creation test added. Migration number is collision-free and the drop-then-add is re-runnable. - Web UI —
ACPProviderunion, create-agent and agent-detail select items, logo asset + mapping, andacpProviderOpenCodeplusstepSkillMcpConnectLabelConfigin all 9 locales. All provider lists and locales are covered. - MCP setup step — per-provider output for Codex (
codex mcp add … --env … --), Gemini CLI (gemini mcp add -s user -e …), OpenCode (JSON block), and Goose (YAML block). I verified all four formats against the tools' current official docs/source — they are correct. - Skills installer — new
opencode(~/.config/opencode/skills/) andgoose(~/.agents/skills/) platforms, aliases, menu entries, and CI smoke coverage. Verified the OpenCode plural skill path is real (v2 source scans bothskill/skills).
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
…ctions and configuration details
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This run re-reviewed the delta since the prior pullfrog review at 720e6a58 — a README-only follow-up commit (a449af38).
- OpenCode setup docs corrected — the bridge README now points users at the
opencodeinstaller platform and its~/.config/opencode/skills/path, replacing the earlier misattribution of that directory to theagentsplatform. - MCP config-version note added — the README now documents that the shown
mcp.<name>shape targets current OpenCode 1.x releases, and that newer schemas move servers undermcp.serversand usedisabledinstead ofenabledwhile still accepting the old form as deprecated. Verified against the liveopencode.ai/config.jsonschema: the legacy top-levelmcp.<name>branch is indeed markeddeprecated: truebut remains accepted, so the note is accurate.
Both prior inline threads are addressed and have been resolved. No new issues.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
ℹ️ No critical issues — one minor note inline on the new migration.
Reviewed changes
This run re-reviewed the delta since the prior pullfrog review at a449af38 (commit 7f2f92e).
- MCP dispatch extracted —
AcpBridgeSetup's nested provider ternary is replaced by abuildMcpConnectCommandswitch. Behavior is unchanged: claude-code/codex/gemini-cli/opencode/goose resolve to their builders, everything else to the generic command. - Migration locking change —
000071now addsck_agents_acp_providerwithNOT VALIDand validates it on a separate statement, with a comment describing the intended non-blocking behavior. - Comment/copy tweaks —
localAuthExportCommandandgooseMcpConfigdoc comments reflowed (the latter now marked UNVERIFIED), and the installer menu notes that selecting OpenCode and Goose together duplicates skills.
The prior two inline threads remain addressed and resolved; no regressions found in the refactor.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This run re-reviewed the delta since the prior pullfrog review at 7f2f92e (commit 90643fc).
- Migration constraint simplified —
000071drops theNOT VALID+ separateVALIDATE CONSTRAINTsplit and its comment, reverting to a single inlineADD CONSTRAINT ... CHECK (acp_provider IN (..., 'opencode', ...)). This directly addresses the prior inline note: the removed comment no longer asserts a non-blocking validation the single-transaction runner could not deliver, and the constraint still admitsopencode.
The prior inline thread is addressed and resolved. No new issues.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

Closes #590
Adds OpenCode as a first-class ACP provider. Selecting it launches
opencode acpthroughpaca-acp-bridge, the same pattern as Goose. Before this, OpenCode could only be run through thecustomprovider with a hand-written command.Changes
Bridge (
apps/acp-bridge)opencodewith default commandopencode acp. It has no permission-bypass session mode, so the bridge auto-approves permission requests, as it does for Goose.API (
services/api)opencodeas anacp_providervalue (entity, validation error message).000071_add_opencode_acp_provider.sqlrecreatesck_agents_acp_providerwithopencode. Without it, creating an OpenCode agent fails at the database.Web (
apps/web)ACPProvidertype updated.provider-logos.ts.PACA_…=… npx -y @paca-ai/paca-mcpcommand. That only starts a stdio server in the terminal and never registers it with the CLI, so agents ran with no Paca tools (found while testing OpenCode: "Paca MCP tools are not connected in this session"). It now shows a real registration step per provider:codex mcp add paca --env … -- npx -y @paca-ai/paca-mcpgemini mcp add -s user -e … paca npx -- -y @paca-ai/paca-mcp~/.config/opencode/opencode.json~/.config/goose/config.yamlSkills installer (
scripts/install-paca-skills.sh)opencode(~/.config/opencode/skills/) andgoose(~/.agents/skills/) platforms, as menu options 5 and 6,--platforms/PACA_SKILL_PLATFORMSvalues, and number aliases. Both paths are taken from each tool's own docs. Skills are copied verbatim.scripts-pr-ci.yml) covers both new platforms.Docs
install-skills.md(platform table, selection, uninstall), and a new OpenCode section in the bridge README.Testing
go testforapps/acp-bridge/internal/provider,services/api/internal/service/agentandinternal/domain/agent;tsc -b, biome, and the i18n/agents vitest suites pass.opencode debug skill, interactive menu verified); OpenCode connected to the Paca MCP server (opencode mcp listshows connected);codex mcp addandgemini mcp addsyntax verified in a throwaway home.Not verified / notes
--acpmode readssettings.jsonMCP entries the same as a normal session is untested.~/.agents/skillsand~/.claude/skills, so installing to several platforms makes it log harmlessduplicate skill namewarnings (first copy wins).🤖 Generated with Claude Code