Skip to content

v0.5.12

Choose a tag to compare

@github-actions github-actions released this 17 Oct 17:53
· 9 commits to master since this release

opencode v2 plugin API port. Requires opencode >= 2.0.20.

  • Server: Plugin.define({ id, setup(ctx) }) entrypoint, tools via
    ctx.tool.transform, session settle via ctx.event.subscribe,
    idea_start uses ctx.session.create + ctx.session.prompt
  • Native /idea and /ideas slash commands registered via
    ctx.command.transform — no manual copying of command files
  • CLI/TUI: reactive ctx.keymap.layer (palette takeover hack and
    delete-mode removed), dialogs/toasts via ctx.ui, sidebar via
    ctx.ui.slot({ append: "sidebar.content" }), theme tokens from
    ctx.theme
  • Local-path installs: root server.ts / index.ts / tui.ts
    re-exports (v2.0.20 ignores package.json exports for local dirs)
  • Install with the v2 plugins key (single entry loads both server
    and TUI parts); see README for details
  • Test suite fully ported to the v2 API (bun test, 77 tests)
  • Store format unchanged — existing ideas.db data keeps working

Full Changelog: v0.5.11...v0.5.12