What OpenCode Consumes
Pluxx builds the OpenCode target intodist/opencode/. OpenCode consumes a code plugin, not a manifest-only bundle. Pluxx emits:
package.jsonindex.tsskills/commands/scripts/assets/
index.ts wrapper registers:
- plugin commands
- MCP servers
- hook handlers
- instruction injection
- permission mappings
Build And Install
~/.config/opencode/plugins/<plugin>
--trust or confirm the trust prompt during install.
Agent-Driven Refinement
Build and install are deterministic. OpenCode only does model work when you explicitly run an agent pass:OpenCode-Specific Caveats
- OpenCode plugins are programmatic wrappers. Hooks, MCP config, and instruction injection live in generated code inside
index.ts, not in separate JSON manifests. - OpenCode runner model selection inherits the local OpenCode default unless you explicitly pass
--model. - OpenCode permissions are compiled to native tool-level
config.permissionentries. Fine-grained selector rules, such as exact file globs or specific MCP tool names, are downgraded to coarse tool permissions.