Skip to content

v0.2.0 — opencode v2 plugin format

Choose a tag to compare

@TheStreamCode TheStreamCode released this 11 Oct 14:00
· 12 commits to main since this release

opencode v2 loads plugins from the module's default export, which must carry an id and the server plugin function; v1 named exports are no longer accepted and fail with PluginModule.LoadError on every startup.

  • default export { id: "muse-code-auth", server, setup() }
  • accepted by opencode 1.18.29+ and 2.x alike
  • devDependency @opencode-ai/plugin ^1.19.0 (v2-aligned types)