Skip to content

v0.6.0

Choose a tag to compare

@hueyexe hueyexe released this 23 Mar 09:04
· 85 commits to main since this release
f9a8fcc

v2 SDK Migration & Agent Mode Enforcement

Migrates to OpenCode SDK v2 (@opencode-ai/plugin@^1.3.0, @opencode-ai/sdk@^1.3.0) and adds server-enforced agent mode restrictions for teammates.

  • Upgrade to v2 SDK with flat parameter style and new wrapThrowingClient adapter
  • Plan/explore agents now get server-enforced permission deny rules for edit/bash on session.create
  • Explicit allow rules for all 6 team tools so read-only agents can still communicate
  • Remove deprecated tools field from promptAsync (merged into permissions in v2)
  • New client-shape.test.ts smoke test to catch SDK method renames

Known limitation

Teammate messages may switch the lead's agent mode (e.g. plan → build). This is a server-level behavior that the plugin cannot override. The lead's mode restores when the user sends their next message. Documented in README.

Full Changelog: v0.5.1...v0.6.0