程序员阿江(Relakkes) 4d6b1855bf release: prepare v0.3.2
Prepare the desktop release metadata and concise release notes while keeping
tagging and release publishing for a later step. The staged local build-script
updates keep desktop commands on checked-in local toolchain paths and avoid
rewriting preview-agent output when the built content is unchanged.

The persistence-upgrade gate now runs the focused desktop Vitest migration
suite in non-watch mode, matching the broader desktop quality lane and avoiding
pre-push termination during release preparation.

Constraint: Release publishing is intentionally deferred per request
Constraint: Desktop release metadata must keep package, Tauri config, Cargo metadata, and Cargo.lock aligned
Confidence: medium
Scope-risk: moderate
Directive: Do not tag v0.3.2 until release dry-run and final release verification are rerun on the release candidate
Tested: bun run scripts/release.ts 0.3.2 --dry
Tested: cd desktop && bun run lint
Tested: bun run check:persistence-upgrade
Tested: git diff --check
Not-tested: Full bun run verify
2026-06-01 02:30:01 +08:00

40 lines
3.3 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.

# Claude Code Haha v0.3.2
这是一个围绕**桌面 Workbench、内置浏览器预览、网页圈选编辑、富媒体上下文和长会话可读性**的版本。
相比 `v0.3.1`,本次把右侧区域升级为 Workbench并打通链接、本地文件、变更文件、图片视频和网页元素选择的预览/打开链路同时继续修复桌面会话权限、发送快捷键、provider 图片兼容、Mermaid、消息操作条和长会话性能问题。
## Highlights
- **右侧 Workbench + 内置浏览器**:右侧面板支持 Files / Browser 切换带地址栏、加载状态、child webview 生命周期和窗口边界同步。
- **预览与 Open With 更完整**助手输出、变更文件、workspace 文件、localhost、本地绝对路径和 `/preview-fs` / `/local-file` 都能走统一预览或 Open With 动作。
- **网页圈选编辑链路**Browser 页面支持元素选择、截图、编辑气泡、标注区域和干净的 composer 回填,适合把网页局部修改请求直接交给 Agent。
- **图片、视频和本地文件上下文更稳**:图片附件避免被当成普通路径 Read助手输出的视频可内联播放OpenAI / DeepSeek 对图片 schema 的兼容恢复更完整。
- **Activity 与会话级设置**:新增 Activity profile 和用量热力图reasoning effort、permission mode、定时任务 bypass 权限都按会话或任务语义收敛。
- **长会话和 Markdown 可读性继续打磨**Mermaid 大图可读性、消息 hover 区域、任务进度隐藏、session list 内存压力和 WebKit 离屏绘制都有针对性修复。
## Fixes
- 修复桌面 provider 流可能永久卡在 running、确认弹窗被权限阻塞、Enter 误发送、图片附件触发 Read 失败等问题。
- 修复 MCP 设置和历史会话导航中 spinner、旧请求覆盖、空白历史、长会话列表扫描和缓存失效导致的响应性问题。
- 修复 Markdown / diff / Mermaid 在深色主题、流式输出和大图场景下的可读性问题。
- 修复消息操作条 hover 命中区过大、点击后不收起、inline 图片 gallery hover 互相干扰等细节。
- 修复 Open With 菜单在变更文件、workspace 文件和完成消息中的入口过重、菜单不翻转或未真正打开编辑器的问题。
- 修复 OpenAI 文本模型拒绝图片、DeepSeek 不接受 `image_url`、synthetic business error 未本地化等 provider 兼容问题。
- 修复 preview selection 截图标记跑出视口、小目标被 badge 遮挡、Activity profile 编辑按钮进入截图等问题。
- 修复桌面更新检查阻塞 UI、空 `agentTaskNotifications` 导致滚动重渲染、已隐藏任务进度重新出现等稳定性问题。
## Notes
- GitHub Release 正文继续以 `release-notes/v0.3.2.md` 作为来源。
- 本版本包含 Tauri multi-webview、preview bridge、local file serving、Open With 和 provider 图片转换相关变化;发布前建议重点 smoke 一次 Workbench Browser、网页圈选、图片/视频预览、Open With、Activity 和长会话滚动。
- 发布前可先运行 `bun run scripts/release.ts 0.3.2 --dry` 检查版本和 release note 对齐,再跑 `bun run verify`
## macOS
首次打开如果提示"已损坏"或"无法验证开发者",请执行:
```bash
xattr -cr /Applications/Claude\ Code\ Haha.app
```