Skip to content

OpenCode++ v0.2.12 — Mode isolation / 模式隔离

Latest

Choose a tag to compare

@whut09 whut09 released this 01 Sep 07:03
· 133 commits to main since this release

OpenCode++ v0.2.12

This Windows Desktop patch fixes mode isolation and repeated evaluation stalls.

What Changed

  • OpenCode++ hooks now activate only for a turn whose selected OpenCode agent is opencode-plusplus.
  • Selecting Build and sending a new message disables OpenCode++ command guards, evidence capture, compacting context, idle verification, and Harness tool execution for that turn.
  • Switching the picker no longer gets confused with cancelling the current response: an already-running OpenCode++ turn must still be stopped explicitly.
  • evaluate now has a 60-second Desktop target instead of 5 seconds and coalesces duplicate calls for the same task.
  • A plugin evaluation timeout returns PLUGIN_EVALUATION_TIMEOUT, attribution: opencode-plusplus, and retryable: false, then stops at human-review instead of asking the model to sleep or retry.
  • Session compacting reads only the matching session state, preventing an older task from leaking into another session.

Diagnosing A Stall

  • PLUGIN_* with attribution: opencode-plusplus: plugin failure.
  • OpenCode session.error, provider timeout, rate limit, or connection error: OpenCode host or model provider path.
  • Repeated sleep, polling, or tool calls after retryable: false: current model behavior.
  • Build selected while an old response still prints OpenCode++: stop the old turn, then send a new Build message. Start a new session if the transcript itself must contain no older OpenCode++ text.

Install

Close OpenCode Desktop, run opencode-plusplus-setup-win-x64.exe, restart OpenCode Desktop, and select the desired mode. Existing installations must run this new EXE to receive the fix.


OpenCode++ v0.2.12

这是一个修复模式隔离和重复评估卡顿的 Windows Desktop 补丁版本。

变更内容

  • OpenCode++ hook 只在当前轮选择的 OpenCode agent 为 opencode-plusplus 时激活。
  • 选择 Build 并发送新消息后,该轮会关闭 OpenCode++ 命令 Guard、证据捕获、compacting context、idle verification 和 Harness 工具执行。
  • 模式选择器切换与取消当前回复不再混淆:已经运行的 OpenCode++ 轮次仍需用户显式停止。
  • evaluate 的 Desktop 时间目标从 5 秒调整到 60 秒,并合并同一任务的重复调用。
  • 插件评估超时会返回 PLUGIN_EVALUATION_TIMEOUTattribution: opencode-plusplusretryable: false,然后停在 human-review,不再要求模型 sleep 或重试。
  • session compacting 只读取匹配会话的状态,避免旧任务状态泄漏到其他会话。

卡顿归因

  • PLUGIN_*attribution: opencode-plusplus:插件自身失败。
  • OpenCode session.error、provider timeout、限流或连接错误:OpenCode host 或模型 provider 链路。
  • 收到 retryable: false 后仍反复 sleep、轮询或调用工具:当前模型行为。
  • 已选择 Build,但旧回复仍打印 OpenCode++:先停止旧轮次,再发送新的 Build 消息。如果连历史文本也不能出现,应新建会话。

安装

关闭 OpenCode Desktop,运行 opencode-plusplus-setup-win-x64.exe,重启 OpenCode Desktop,然后选择需要的模式。已有安装必须运行这个新 EXE 才能获得修复。