Files
ycode/docs/升级发布说明-0.0.10-2026-10-21.md
T
xiaohan.yuanandClaude Code b55750a12b docs: record the 0.0.9 and 0.0.10 releases
Add the release notes for both published versions and the matching
handoff entries, so the release history is tracked in the repository.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-21 18:27:58 +08:00

35 lines
3.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# YCode 0.0.10 发布记录
日期:2026-10-21(Asia/Shanghai)。状态:已发布到 local001,线上 latest 为 0.0.10,生产应用隔离启动与完整下载校验通过。
## 源码与变更范围
- 基线:Gitea master `3e62385`(含 `d773961` 多模型协议桥接、`23537aa` Windows 历史父节点校验与问答独占输入区、`a4e77ca`/`3e62385` 交付文档)。
- 相比 0.0.9(基线 `8fcfb69`)新增:`src/main/model-bridge/history.ts` 拒绝非法历史父节点;`ChatPane.tsx`、`ComposerControls.tsx`、`active-interaction.ts`、`input-composition.ts` 让问答独占输入区;Chat Completions 与 Responses 通过 Claude 运行时桥接。
- 构建时工作区仍有未提交修改:`scripts/prepare-runtime-bundle.mjs`(解包重命名对 Windows `EPERM`/`EACCES`/`EBUSY` 最多重试 10 次、累计退避 4.5 秒)、`scripts/smoke-runtime-bundle.mjs`(cmd.exe 参数转义与禁止生成字节码缓存)、`docs/接手状态-2026-10-15.md`,以及发布流程写入的版本号。因此本次产物不是纯提交构建。
- 版本从 0.0.9 升为 0.0.10,`package.json`、`package-lock.json` 顶层与根包版本一致,均为 0.0.10。
- 内置 Node 24.22.0 / Python 3.14.8 / Git 2.56.0.windows.2 运行时沿用 0.0.9 已准备并校验过的 `resources/runtimes`,本次未重新执行 `runtimes:prepare`;打包前后仓库与包内副本均通过文件树哈希校验。
## 产物
- 安装包:`release/publish/0.0.10/YCode-0.0.10-Setup-x64.exe`。
- 大小:`401798813` 字节。
- SHA-256:`d31dbf1c682d52aeffdc1c81387fac3952f96813d867bd25f963603615381ba8`。
- 下载:`http://192.168.10.6/ycode/releases/versions/0.0.10/YCode-0.0.10-Setup-x64.exe`。
- 签名清单:`release/publish/0.0.10/latest.json`,使用既有 Ed25519 密钥。安装包 Authenticode 为 `NotSigned`,清单签名不等于 Windows 代码签名。
- 安装包 `ProductVersion` 与 `FileVersion` 均为 `0.0.10`。
## 已验证
- `npm run release -- --version 0.0.10` 全流程通过:预检、版本更新、`test:updates`、生产构建、electron-builder NSIS 打包、清单签名、部署 dry-run、SSH 上传、HTTP 精确清单与签名校验,线上从 0.0.9 切换为 0.0.10。日志:`.tmp/release-0.0.10.log`。
- `npm test`(typecheck、chat、sessions、persistence、conversation)通过。日志:`.tmp/release-0.0.10-test.log`。
- `npm run test:release` 17 项、`npm run test:runtime-bundle` 4 项通过。日志:`.tmp/release-0.0.10-testrelease.log`、`.tmp/release-0.0.10-testruntime.log`。
- `npm run runtimes:verify` 通过:Node 1992、Python 1377、Git 9614 个文件的锁定树哈希一致;包内 `resources/runtimes/win32-x64` 副本复核同样通过。
- 包内版本为 0.0.10;637 个 out 文件与本次构建逐一相同,更新公钥一致,Claude 运行时存在,内置运行时存在。报告:`.tmp/release-0.0.10-package-verification.json`。
- HTTP 复核:`latest.json` 返回 0.0.10 且与本地签名清单逐字节一致;安装包 URL 返回 200,`Content-Length` 为 `401798813`。
- `node scripts/verify-updates-live.cjs --expected-version 0.0.10` 使用本次生产 EXE 和隔离 userData 返回 `up-to-date`;模拟旧版本 0.0.1 通过正式更新后端完整下载,状态 `ready`,大小与 SHA-256 相符。安装器调用为 0,真实安装版文件/注册表指纹前后一致。报告:`.tmp/updates-live/2026-10-21T09-56-29-901Z/report.json`;已查看该目录的 `production-boot.png`,主窗口与 composer 正常。
## 验收边界
未执行真实 NSIS 安装、覆盖升级或重启用户安装版;未验证内置工具联网安装软件包、Git HTTPS 或全部运行时设置交互。安装包仍未做 Authenticode 签名。构建、离线原生工具和更新下载通过不代表完整 WorkBuddy 1:1 验收。本次没有新增原版取证。