OpenCode
Native OpenCode files plus Soubi's generated TypeScript plugin module.
OpenCode combines file-based prompts with a TypeScript plugin API. Soubi uses both: Markdown for portable content and generated code for hooks and tools.
Native output
AGENTS.md
skills/<name>/SKILL.md
commands/<name>.md
agents/<name>.md
opencode.json
plugin/<plugin-id>.tsTranslation details
- MCP servers are merged under the
mcpkey inopencode.json. - Lifecycle hooks become callbacks in the generated plugin module.
- Portable tools are registered from the same TypeScript module.
- Function hook handlers remain code; command handlers are wrapped by the adapter.
Build this target
pnpm soubi build ./my-plugin --harness opencodeOpenCode has native or lossless generated support for every top-level Soubi feature.