Skip to content

v1.3.0

Latest

Choose a tag to compare

@michaljach michaljach released this 15 Oct 19:14
· 2 commits to main since this release

Added

  • OpenCode 2 support: the package now default-exports a V2 plugin definition (id + setup) alongside the existing V1 server() function, so one package works on OpenCode 1.18.29+ and OpenCode 2 (#5, thanks @daropotter)
  • V2 port of every browser guidance hook: session system guidance, tool performance hints, connection recovery hints, compaction context, and session cleanup via ctx.event.subscribe()
  • Connection recovery also follows browser tools invoked through Code Mode by reading the nested toolCalls metadata on execute results
  • Recognize "No connection to browser extension" as a connection failure so the recovery hint can surface for the current Browser MCP error wording
  • Test suite (npm test) covering the V2 and V1 entrypoints

Changed

  • Plugin API imports are type-only, so the plugin loads without installing @opencode/plugin or @opencode-ai/plugin at runtime

Full Changelog: v1.2.3...v1.3.0