Completed OpenCode requests left their event streams open across repeated and parallel conversations. Each request now closes its own subscription on exit without cancelling peer sessions, and cancellation preserves its original cause. Direct-model Execute commands no longer restrict cwd to the workspace. Absolute paths, parent-relative paths, and symlinks to external directories are accepted. The workspace remains the default and relative-path base; Ask stays read-only, and local execution binding, directory validation, and process cleanup remain. Add real OpenCode lifecycle and real Shell tool-loop regressions, plus matching feature documentation. Focused checks: 182 passed, 1 skipped; typecheck and lint passed. Full shared-worktree suite: 3542 passed, 57 skipped, 1 unrelated sidebar heading failure, reproduced separately and documented. Release note: 修复 OpenCode 连续及并行对话结束后事件连接未释放的问题;直连模型 Execute 命令现在可直接指定工作区外的绝对路径、相对路径或符号链接目录,Ask 只读边界保持不变。
远程主机与远程执行
本功能负责 SSH Host 管理、Host Key、远程环境安装、GoodBuddy Agent、签名 Runtime、 远程 Workspace 和 Ask/Execute 生产路径。
文档导航
| 文档 | 权威职责 |
|---|---|
| 远程主机与 Agent 技术设计 | 当前产品语义、Agent、Runtime、Workspace、协议、生命周期和验证事实 |
| 远程环境准备技术设计 | Host 下载、GoodBuddy 传输、安装事务、更新和恢复边界 |
现有文档包含产品、功能逻辑和进度事实,后续修改远程功能时再按标准职责拆分。