Skip to content

v0.14.2

Choose a tag to compare

@hueyexe hueyexe released this 21 May 05:37
· 55 commits to main since this release
b6bc7f7

Desktop Runtime Compatibility

The plugin now loads and functions correctly on OpenCode Desktop (Node/Electron runtime).

  • Build target switched from Bun to Node so the published bundle has no Bun-only APIs
  • Runtime SQLite adapter: uses bun:sqlite on Bun, node:sqlite on Node/Electron
  • Subprocess helper (runCommand) replaces Bun.spawn for git operations
  • Dashboard HTTP server ported from Bun.serve to node:http
  • CI pins Node 24 (required for stable node:sqlite)

Multi-Instance State Partition Fix

When multiple Plugin instances share the same SQLite database (e.g. Desktop sidecar + opencode serve), teammates spawned by one instance were invisible to the other — every team_* tool call returned "This session is not in a team."

  • MemberRegistry is now rehydrated from SQLite on every plugin init (not just on crash recovery)
  • findTeamBySession, resolveRecipientSession, and checkToolIsolation fall back to SQLite when the in-memory registry misses
  • New session.error event handler surfaces teammate failures as system messages to the lead

Also in this release

  • DashboardServer.stop(true) now calls closeAllConnections() for prompt shutdown under Node
  • engines.node >= 24 declared in package.json; runtime requirements documented in README
  • 37 new tests (605 total)

Full Changelog: v0.14.1...v0.14.2