Skip to content

0.11.1 — OpenCode 2 Code Mode tool hint, lease liveness check, setup teardown

Choose a tag to compare

@william-ricchiuti william-ricchiuti released this 30 Oct 20:54
· 31 commits to main since this release
89b0d2a

v0.11.1 — OpenCode 2 Code Mode tool hint, lease liveness check, setup teardown

Released on 2026-10-18. Release notes backfilled on 2026-10-30 from CHANGELOG.md.

  • On OpenCode 2, tell the model where the goal tools live. OpenCode 2's Code Mode offers plugin tools only inside the execute tool (as tools.goal_status() and so on), while the plugin's prompts name the tools bare, so some models called goal_status directly and reported the goal tools unavailable (#85). When a request offers execute and no direct goal tool, the system prompt now gets a one-line note pointing the model at execute and the Code Mode catalog. Verified on live OpenCode 2.0.16 and 2.0.31 hosts, with the package loaded from global config as in the report: the tools were always registered in the catalog.
  • Never send a liveness signal to the host's own process when checking a persistence lease owner. On Windows, runtimes that emulate POSIX signals may treat kill(pid, 0) as a real termination, which matches reports of the OpenCode service dying silently with the plugin installed (#81).
  • On OpenCode 2, tear down everything a partially failed setup already started (event subscription, timers, hook registrations, and the goal core with its persistence lease) instead of leaking it on every location boot.
  • On Windows, treat / and \ as the same separator when matching a location, so a reload with a differently spelled path retires the previous instance instead of running beside it.
  • Fix completion audits always failing on OpenCode 2.0.26. That host appends a browser deny rule to every agent, and the verifier ownership check compared permissions by exact JSON, so it rejected the plugin's own goal-verify agent and every completion was rejected. The check now accepts extra host-added deny rules, which only narrow access, and still rejects any changed, missing, reordered, allow or ask rule. Verified against live 2.0.16 and 2.0.26 hosts, including the foreign-verifier rejection mode.
  • When the auditor's prompt fails and no verdict reached the transcript, report auditor prompt failed: <reason> instead of the misleading "no single clear final-line verdict".