Files
ycode/docs/升级发布说明-0.0.13-2026-10-21.md
T
xiaohan.yuanandClaude Code 40d738fc0c chore(release): bump version to 0.0.13 and record the release
Record the published 0.0.13 release version in package.json and
package-lock.json, and add the release notes plus the handoff entry.

Published installer: release/publish/0.0.13/YCode-0.0.13-Setup-x64.exe
SHA-256 a2396b87a2721ca1d42d54e4be420c4e70a66ce57a180c4b56e0a0438a557c5f

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-21 20:49:17 +08:00

36 lines
4.5 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.13 发布记录
日期:2026-10-21(Asia/Shanghai)。状态:已发布到 local001,线上 latest 为 0.0.13,生产应用隔离启动与完整下载校验通过。
## 源码与变更范围
- 基线:Gitea master `e3eeb1c`。构建时工作区除发布流程写入的版本号(`package.json`、`package-lock.json` 0.0.12 → 0.0.13)外无其他改动;未跟踪的 `.archify/` 是并行会话的产出目录,不参与构建。
- 相对 0.0.12(基线 `194853a`)的新增:
- `2cfd53b` 修复 GPT Responses 桥接:只接受不修改历史的上下文配置(缺省、null、空配置、空 edits、保留全部思考的指令),仍拒绝真实清理/压缩/未知配置;接受消息数组中的文本系统消息;`stream.ts` 把 `response.metadata` 视为无正文元数据事件并继续读取终态,解决 `400 Unsupported Messages field: context_management` 与 `400 Responses reasoning history is not available in this lease`。详见 `docs/GPT桥接context_management修复-2026-10-21.md`。
- `e3eeb1c` 应用图标换为正式品牌图标包:新增 `resources/branding/`(含 `manifest.json`、`checksums.sha256`、png/web/windows 图标与来源原图),替换 `build/icon.ico`、`resources/icon.png`、`resources/tray.png`、渲染层 `favicon.ico` 与 `assets/ycode.png`,关于对话框由字母标记改为图标,`scripts/gen-icon.mjs` 改为按已批准图标包生成。
- 内置 Node 24.22.0 / Python 3.14.8 / Git 2.56.0.windows.2 运行时沿用既有 `resources/runtimes`,本次未重新执行 `runtimes:prepare`;仓库与包内副本均通过文件树哈希校验。
## 产物
- 安装包:`release/publish/0.0.13/YCode-0.0.13-Setup-x64.exe`。
- 大小:`402312853` 字节。
- SHA-256:`a2396b87a2721ca1d42d54e4be420c4e70a66ce57a180c4b56e0a0438a557c5f`。
- 下载:`http://192.168.10.6/ycode/releases/versions/0.0.13/YCode-0.0.13-Setup-x64.exe`。
- 签名清单:`release/publish/0.0.13/latest.json`,使用既有 Ed25519 密钥。安装包 Authenticode 为 `NotSigned`,清单签名不等于 Windows 代码签名。
- 安装包 `ProductVersion` 与 `FileVersion` 均为 `0.0.13`。
## 已验证
- `npm run release -- --version 0.0.13` 全流程通过:预检、版本更新、`test:updates`、生产构建、electron-builder NSIS 打包、清单签名、部署 dry-run、SSH 上传、HTTP 精确清单与签名校验,线上从 0.0.12 切换为 0.0.13。日志:`.tmp/release-0.0.13.log`。
- `npm test`(typecheck、chat、sessions、persistence、conversation)通过。日志:`.tmp/release-0.0.13-test.log`。
- `npm run test:model-bridge` 通过:协议离线回归 148 项、16 组离线宿主回归;未启动真实 SDK、未调用外部 API。日志:`.tmp/release-0.0.13-bridge.log`。
- `npm run test:release` 17 项、`npm run test:runtime-bundle` 4 项通过。日志:`.tmp/release-0.0.13-testrelease.log`、`.tmp/release-0.0.13-testruntime.log`。
- `npm run runtimes:verify` 通过:Node 1992、Python 1377、Git 9614 个文件的锁定树哈希一致;包内 `resources/runtimes/win32-x64` 副本复核同样通过。
- 包内版本为 0.0.13;639 个 out 文件与本次构建逐一相同,更新公钥一致,Claude 运行时存在,内置运行时存在。报告:`.tmp/release-0.0.13-package-verification.json`。
- HTTP 复核:`latest.json` 返回 0.0.13 且与本地签名清单逐字节一致;安装包 URL 返回 200,`Content-Length` 为 `402312853`。
- `node scripts/verify-updates-live.cjs --expected-version 0.0.13` 使用本次生产 EXE 和隔离 userData 返回 `up-to-date`;模拟旧版本 0.0.1 通过正式更新后端完整下载,状态 `ready`,大小与 SHA-256 相符。安装器调用为 0,真实安装版文件/注册表指纹前后一致。报告:`.tmp/updates-live/2026-10-21T12-45-03-344Z/report.json`;已查看该目录的 `production-boot.png`,主窗口与 composer 正常。
## 验收边界
未执行真实 NSIS 安装、覆盖升级或重启用户安装版;未验证内置工具联网安装软件包、Git HTTPS 或全部运行时设置交互。安装包仍未做 Authenticode 签名。GPT Responses 桥接修复的验证在开发环境完成(含真实 SDK 经本地桥接连接本地 SSE 模拟服务),远程 GPT 服务端的完整对话与工具调用仍需在安装更新后由用户侧确认;本次发布机验证不含真实远程模型调用。品牌图标包仅做文件与产物一致性核对,未做逐像素视觉验收。构建、离线原生工具和更新下载通过不代表完整 WorkBuddy 1:1 验收。本次没有新增原版取证。