chore: prepare Desktop 0.13.0 and Agent 0.11.24 releases
GoodBuddy Agents / Validate Agent source (push) Canceled after 0s
GoodBuddy Agents / Build darwin arm64 Agent (push) Canceled after 0s
GoodBuddy Agents / Build linux arm64 Agent (push) Canceled after 0s
GoodBuddy Agents / Build linux x64 Agent (push) Canceled after 0s
Cross-platform packages / Validate source (push) Canceled after 0s
GoodBuddy Agent Release / Authorize Agent release (push) Canceled after 0s
GoodBuddy Agent Release / Publish Agent to GitHub and OSS (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s
GoodBuddy Agent Release / Build darwin arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux x64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Sign cumulative Agent catalog (push) Canceled after 0s
GoodBuddy Agents / Validate Agent source (push) Canceled after 0s
GoodBuddy Agents / Build darwin arm64 Agent (push) Canceled after 0s
GoodBuddy Agents / Build linux arm64 Agent (push) Canceled after 0s
GoodBuddy Agents / Build linux x64 Agent (push) Canceled after 0s
Cross-platform packages / Validate source (push) Canceled after 0s
GoodBuddy Agent Release / Authorize Agent release (push) Canceled after 0s
GoodBuddy Agent Release / Publish Agent to GitHub and OSS (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s
GoodBuddy Agent Release / Build darwin arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux x64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Sign cumulative Agent catalog (push) Canceled after 0s
Record the approved bilingual release notes against Desktop v0.12.12 and Agent agent-v0.11.23, rather than listing intermediate development fixes. Desktop adds external knowledge connections and cross-project activity; remote native questions remain classified as fixes in both release notes. Align both feature lists, compatibility guidance and validation evidence. Upgrade Desktop to 0.13.0 before Agent 0.11.24. Keep OpenCode at 1.18.29, retain existing published notes, and exclude the LoongArch preview. Allow fixes-only Agent notes while checking bilingual section consistency. Validation: 4089 tests passed with 66 skipped; release-note verification, typecheck, lint and documentation link checks passed. Full remote-provider acceptance and candidate CI/native release validation remain outstanding. No release tags or publication are part of this commit.
This commit is contained in:
@@ -1,5 +1,53 @@
|
||||
# 工作栏实现与验证进度
|
||||
|
||||
## 2026-09-13 OpenCode 事件流关闭顺序修复
|
||||
|
||||
候选检查中的 lifecycle 失败已稳定复现,4 路并行后 `openEventBodies` 为 3 而不是 0。
|
||||
原因与统一修正规则见[复发缺陷记录](../../quality/recurring-defects.md#事件迭代结束前释放底层订阅);
|
||||
聊天与 Compact 共用最小迭代器包装,不修改 OpenCode SDK、重试时限或现有断言时限。
|
||||
|
||||
- 加强既有正常结束与消费方提前返回回归,修复前两项均失败,确认最终 `signal.aborted`
|
||||
不能证明关闭顺序正确;修复后通过。
|
||||
- `npm test -- src/main/agent/opencode-runtime-lifecycle.test.ts
|
||||
src/main/agent/opencode-runtime.test.ts src/main/agent/opencode-runtime-permissions.test.ts
|
||||
src/main/agent/opencode-subagent.test.ts`:4 个文件、99 项通过。
|
||||
- Windows 当前源码配合真实 OpenCode `1.18.29`、真实 SDK/HTTP MCP 和 loopback 模型通过
|
||||
1、4、8 路并行、取消一条而另一条正常结束,以及实际原生 Compact;各阶段打开的 SSE
|
||||
响应流均归零。验证是生产 Runtime 入口,不是完整 Electron UI;真实服务商调用 0 次。
|
||||
- 已核对远端 `AcpRemoteRuntime` 的 Agent-owned transcript 轮询与
|
||||
`AgentOwnedAcpPrompt` 的 ACP stdio 连接,不使用本机 `client.event.subscribe`。本次未改
|
||||
Agent、远程桥或协议,不需要远端对应修复,也未将本机测试算作远程 Host 复验。
|
||||
- 最终 `npm test`:349 个文件通过、9 个跳过;4,089 项通过、66 项跳过、0 失败,
|
||||
耗时 571.43 秒。`npm run release:notes:verify`、`npm run typecheck`、`npm run lint`
|
||||
全部通过;下节失败结果保留为修复前记录,不再是当前本地回归结论。
|
||||
- 发布说明按 Desktop `v0.12.12`、Agent `agent-v0.11.23` 到最终候选的差异核对,
|
||||
不按中间开发提交分别列出修正。用户明确不增加事件流条目,已批准中英文说明保持不变。
|
||||
- 本轮未提交、推送或打标签,未运行本地生产构建或打包;远程问答完整生产链路的真实
|
||||
服务商验证及候选 CI/原生发布验证仍沿用各自待验收状态,不由本机 SSE 修复代替。
|
||||
|
||||
## 2026-09-13 Desktop 0.13.0 / Agent 0.11.24 候选检查
|
||||
|
||||
本轮仅准备本地候选:更新 Desktop 与 Agent 版本、用户批准的中英文发布说明及功能清单,
|
||||
远程原生问答按问题修复分类。Agent 发布说明测试允许仅有修复章节,同时检查中英文分类
|
||||
一致;未修改 Runtime、Agent 问答或事件流实现。Agent `0.11.24` 需要先升级 Desktop 至
|
||||
`0.13.0`,OpenCode 保持 `1.18.29`。
|
||||
|
||||
- `npm run release:notes:verify`、`npm run typecheck`、`npm run lint`:通过。
|
||||
- `npm test`:348 个文件通过、1 个失败、9 个跳过;4,088 项通过、1 项失败、66 项跳过,
|
||||
耗时 571.96 秒。唯一失败为 `opencode-runtime-lifecycle.test.ts:120`,并行请求结束后
|
||||
`openEventBodies` 期望为 0、实际为 3,轮询未在时限内满足;该现象早已有记录,
|
||||
本轮没有完成根因判断,也没有放宽断言或跳过测试。
|
||||
- 单独复跑上述 lifecycle 文件及 `agent-release-workflow.test.ts`、
|
||||
`release-notes-source.test.ts`、`release-notes-service.test.ts`:发布相关 15 项通过,
|
||||
lifecycle 同一断言再次失败。该结果不能替代一次全量通过。
|
||||
- 更早的一次全量运行在调整 Agent 发布说明章节断言前主动停止,未取得汇总,不计为通过。
|
||||
- 候选版本一致性、历史 Desktop 发布说明未改动、48 个 Markdown 相对链接目标和
|
||||
`git diff --check` 已通过。
|
||||
- 本轮真实模型验证调用 0 次,未重跑真实 Host;既有 SSH/确定性模型证据见下文,
|
||||
不将其扩写为完整生产 Main/Preload 配合真实服务商的验收。
|
||||
- 未提交、推送或创建标签,未运行本地生产构建、打包或 LoongArch 预览。
|
||||
全量测试失败、完整远程生产链路及候选 CI/原生包验证仍未解决,候选不标记为可发布。
|
||||
|
||||
## 2026-09-13 SSH 问答 UI 复验与取消后续发
|
||||
|
||||
在真实 Electron 窗口中使用当前 `App`、入口样式和主题函数,经测试 IPC 接入生产
|
||||
|
||||
@@ -10,8 +10,9 @@
|
||||
| DeepSeek Harness | 固定 Host 的 Execute 文件与命令工具不询问目录权限;若收到 ACP 权限请求,活跃 Execute 直接选一次性允许,缺少该选项时使用 Runtime 提供的允许选项,Ask 拒绝,不等待额外 authorizer | 固定 Host 当前未提供通用原生业务问答服务,不把普通模型正文误识别成待答协议。模型以普通回复提问时,用户通过下一条消息回答 |
|
||||
|
||||
托管 SSH OpenCode 的权限、原生问题事件与回复链路由
|
||||
[远程主机技术设计](../remote-host/technical-design.md)定义。远端业务问答需要包含此适配的
|
||||
Agent 和新启动的托管 Runtime;任意第三方 ACP 服务及旧 Agent 不因此获得通用问答接口。
|
||||
[远程主机技术设计](../remote-host/technical-design.md)定义。本次候选的远端业务问答需要
|
||||
Desktop `0.13.0`、Agent `0.11.24` 和新启动的托管 Runtime;请先升级 Desktop,再更新
|
||||
Host 环境。任意第三方 ACP 服务及旧 Agent 不因此获得通用问答接口,候选不表示已经发布。
|
||||
|
||||
## 运行与失败
|
||||
|
||||
|
||||
@@ -12,9 +12,11 @@ Linux x64/arm64、取消和离线 GoodBuddy 传输的真实 Host 验收。
|
||||
Windows 到 Linux x64 的安装、Agent-owned Prompt、Agent 本地模型 gateway、断线恢复、
|
||||
同一 OpenCode Session 续接、取消和终态清理已经使用真实模型与工具验证。Agent
|
||||
`0.11.14` 已通过独立 workflow 发布 Linux x64/arm64 复合包和签名累计目录;当前源码
|
||||
候选为 Agent `0.11.23`、Desktop `0.12.11`,新增远程文件/Git 管理接口和可选模型限额,
|
||||
并修复无限请求时长下的连接超时。Agent `0.11.23` 要求先升级至 Desktop `0.12.11`;
|
||||
新包内的 Runtime 不再设置固定十分钟 Prompt 时限,显式请求期限与取消仍有效。
|
||||
候选为 Agent `0.11.24`、Desktop `0.13.0`,修复远端原生问答转交和取消待答后的同会话
|
||||
续发。Agent `0.11.24` 要求先升级至 Desktop `0.13.0`;候选尚未发布。远程文件/Git 管理、
|
||||
可选模型限额、无限请求时长下的独立连接超时和移除固定十分钟 Prompt 时限由
|
||||
Agent `0.11.23` 提供,显式请求期限与取消仍有效。当前问答源码的真实 SSH/确定性模型证据
|
||||
及完整生产链路验证边界见[工作栏进度](../assistant-workbar/progress.md)。
|
||||
正式发布状态以 Agent 与 Desktop 独立发布渠道为准。
|
||||
现有源码显示本地与远端 OpenCode 原生 Task,并取消 GoodBuddy 对生产 Prompt 的
|
||||
固定墙钟总时限。失败的 `agent-v0.11.3` 保持不可变且未发布。
|
||||
@@ -291,7 +293,9 @@ Execute 直接启动已签名 Runtime:
|
||||
不会被补造。
|
||||
- 本机 OpenCode SDK 路径允许不同会话并行,同一会话仍按请求顺序执行。每个请求独立拥有
|
||||
SSE 事件订阅,并在正常完成、错误、取消或消费方结束迭代时主动关闭自己的响应流,
|
||||
不关闭其他会话的订阅或共享 Server。取消导致事件迭代结束时保留原取消原因,不改报
|
||||
不关闭其他会话的订阅或共享 Server。聊天与原生 Compact 共用 `consumeEventSubscription`,
|
||||
在结束 SDK 迭代器之前先取消对应订阅,避免 SDK 移除取消监听后留下仍有缓冲的响应流;
|
||||
不改写 SDK 或提前取消其他请求。取消导致事件迭代结束时保留原取消原因,不改报
|
||||
“事件流意外结束”。这一清理规则属于本机 SDK 路径,不改变远端 Agent 持有 ACP Prompt
|
||||
的断线继续执行语义。
|
||||
- 同一 detached Agent 存活时,短暂 SSH 断线依次执行 `controller/resume`、`runtime/resumeAcpChannel` 和 `runtime/replayAcpChannel`,从 Main 已确认的 cursor 后只重放 Agent 到 Main 的已记录输出。重复 frame 会被确认但不会再次交给上层。若上一代连接只留下没有活动请求的 detached binding,完成精确 controller takeover 后会先有界停止并核对遗留 Runtime process,再用新 channel epoch 重新打开同一 binding 并恢复已有 ACP session;其他 controller、未证明 takeover 或仍有活动请求的 binding 仍被拒绝。
|
||||
|
||||
Reference in New Issue
Block a user