Repository navigation
v0.5.10
opencode v2 plugin API port. Requires opencode >= 2.0.20.
- Server:
Plugin.define({ id, setup(ctx) })entrypoint, tools via
ctx.tool.transform, session settle viactx.event.subscribe,
idea_startusesctx.session.create+ctx.session.prompt - Native
/ideaand/ideasslash 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 viactx.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
pluginskey (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.9...v0.5.10