Repository navigation
0.11.1 — OpenCode 2 Code Mode tool hint, lease liveness check, setup teardown
·
31 commits
to main
since this release
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
executetool (astools.goal_status()and so on), while the plugin's prompts name the tools bare, so some models calledgoal_statusdirectly and reported the goal tools unavailable (#85). When a request offersexecuteand no direct goal tool, the system prompt now gets a one-line note pointing the model atexecuteand 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
setupalready 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
browserdeny rule to every agent, and the verifier ownership check compared permissions by exact JSON, so it rejected the plugin's owngoal-verifyagent 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".