From 6e6c87aa169ad45f8a1a745ad8dcdf51b8559ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Fri, 3 Jul 2026 03:09:42 +0800 Subject: [PATCH] release: v0.4.5 Tested: bun run scripts/release.ts 0.4.5 --dry Tested: bun run verify (quality report artifacts/quality-runs/2026-07-02T18-46-23-146Z/report.md, passed=9 failed=0 skipped=1) Tested: bun run quality:gate --mode release --allow-live --provider-model codingplan:main:codingplan-main (report artifacts/quality-runs/2026-07-02T18-54-51-367Z/report.md, passed=18 failed=1 skipped=0; live provider lanes passed) Not-tested: local macOS Gatekeeper package-smoke did not pass because the local canonical macOS artifact directory contained stale v0.4.4 artifacts and the current shell has no Apple notarization credentials to produce a stapled local build; the tag-triggered GitHub release workflow remains the source of truth for signed/notarized assets. Confidence: medium Scope-risk: moderate --- desktop/package.json | 2 +- release-notes/v0.4.5.md | 119 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 release-notes/v0.4.5.md diff --git a/desktop/package.json b/desktop/package.json index 936a7307..fb4fa8e5 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,7 +1,7 @@ { "name": "claude-code-desktop", "private": true, - "version": "0.4.4", + "version": "0.4.5", "description": "Desktop coding agent workbench for Claude Code Haha.", "homepage": "https://github.com/NanmiCoder/cc-haha", "author": { diff --git a/release-notes/v0.4.5.md b/release-notes/v0.4.5.md new file mode 100644 index 00000000..7e9ebcaf --- /dev/null +++ b/release-notes/v0.4.5.md @@ -0,0 +1,119 @@ +# Claude Code Haha v0.4.5 + +这是 `v0.4.4` 之后的稳定性、provider/proxy 兼容性、桌面工作流和 Windows ARM64 补丁版本,重点修复模型连接、权限模式、首轮 provider 生效、历史会话时间、sidecar 内存、浏览器预览缩放、Markdown 安全和 release smoke 中暴露出来的问题。 + +相比 `v0.4.4`,本版本让 OpenAI-compatible provider 默认走更明确的直连 proxy 模式,避免系统代理或 sidecar 代理环境影响模型连接;同时补齐 reasoning effort 透传、experimental beta 开关、默认会话权限设置、`/model` 快捷切换、Skill 命令历史恢复、Windows ARM64 启动和 package-smoke 识别。 + +## Highlights + +- **Provider/proxy 连接更稳**:provider 请求默认使用 direct proxy mode,只有显式选择 System proxy 时才继承系统代理;第三方 API 返回的 `model` 与请求模型 ID 不一致时,不再把上下文窗口误显示为 `200000`;reasoning effort 会正确透传到 proxy transform。 +- **权限和首轮会话行为更准确**:新增默认会话权限模式设置,`bypassPermissions` 会跳过可跳过的审批而保留显式 deny 和必须交互的工具;干净安装后添加 provider 的第一轮提问会先应用 active provider runtime,再发起 prewarm 和 user message。 +- **历史会话和列表性能继续收敛**:历史会话排序不再被 metadata-only 写入刷新成“刚刚更新”;会话时间展示统一为更稳定的月日时分格式;非 Git 项目不会因为新会话 git-info 探测拖慢;最近项目和会话列表加载路径继续减少重复扫描。 +- **桌面聊天细节更干净**:完成后的 turn duration 系统行不再持久化到 transcript;`/model` 能打开模型选择器;用户输入的 Skill command 会在恢复、WebSocket replay 和搜索中保留;自动 Dream task 卡片不再进入聊天内容噪音。 +- **预览、布局和安全补齐**:内置浏览器新增 zoom/scale 控制,并把缩放同步到 Electron WebContentsView;工作区面板恢复可向右缩小;Markdown 渲染会阻止 `