Skip to content

v5.0.7 — 修复全新机器上「运行不了」(双启动门)

Latest

Choose a tag to compare

@LKbaba LKbaba released this 16 Jun 00:51
· 1 commit to main since this release

修复 / Fixed

  • 全新安装的电脑上插件「运行不了」 — 全新机器会连续弹出两个启动门(工作区信任 + bypass 权限警告),且第二个门可能在输入框判定「就绪」之后才绘制。旧驱动只应答第一个门、判定就绪后即停止扫描,导致用户首条消息的回车落在第二个门的默认项「No, exit」上 → claude 退出码 1,首条消息丢失,会话陷入不断重启循环。现在两类门(_trustGateHandled / _bypassGateHandled)各自独立跟踪,并在 spawn 后约 25 秒内持续扫描(即使已就绪),确保两个门都被应答。已信任过的机器(只有一个门)不受影响。

The extension failed to run on a freshly-installed machine: a new machine shows two startup gates in sequence (workspace-trust + bypass-permissions), the second of which can paint after readiness. The driver only answered one gate, so the first prompt's Enter hit the second dialog's "No, exit" and claude exited code 1 in a re-spawn loop. Both gate types are now tracked independently and scanned ~25s post-spawn.

安装 / Install

  • VS Code Marketplace 搜索 Claude Code GUI / ChatUI(publisher: lkbaba)
  • 或下载下方的 claude-code-chatui-5.0.7.vsix,在 VS Code 中 Ctrl+Shift+P → "Install from VSIX"

完整变更见 CHANGELOG.md