程序员阿江(Relakkes) a68a244285 Prepare 0.1.8 for remote desktop release
The release note is now the GitHub Release source of truth, and the desktop version files have been moved together so the tag-triggered workflow can package the same version consistently.

Constraint: release-desktop.yml reads release-notes/v0.1.8.md from the tagged commit

Rejected: Push tag without a release commit | workflow requires version files and notes in the tag

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Keep the release notes filename aligned with the tag before pushing future releases

Tested: bun run scripts/release.ts 0.1.8 --dry

Tested: bun run scripts/release.ts 0.1.8

Not-tested: Remote GitHub Actions build before pushing the tag
2026-04-28 23:27:20 +08:00

44 lines
3.6 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.1.8
这是一个以桌面端 Slash Command、Provider 配置体验和会话稳定性为主的版本。
相比 `v0.1.7`,这次重点补齐了桌面端里 `/status``/cost``/context` 等命令的可视化检查能力,让终端工作流可以作为独立标签页留在桌面端内使用,同时修复了 provider runtime 漂移、rewind 回退目标错位、CLI 异常退出后会话卡住等问题。
## 主要更新
- 增强桌面端 Slash Command 面板:`/status``/cost``/context` 会在桌面端内展示会话状态、用量和上下文信息,不再只依赖终端文本输出。
- 桌面端 Slash Command 行为进一步贴近 CLI补齐 `/help``/clear``/compact``/plugin` 等命令的本地处理与边界提示,并支持按 `Esc` 关闭命令面板。
- 终端能力升级为桌面端标签页工作流:可以在标签栏中打开和保留多个终端页签,设置页里的终端也可以直接新建独立终端标签。
- Provider 配置体验优化:设置页补齐 API Key 入口、说明文案、密钥显示/隐藏逻辑和本地 provider 引导并新增接口AI、胜算云、LM Studio、Ollama 等预设配置入口。
- Kimi 预设切换到 coding endpoint并补充 Kimi / 自定义 provider 常见认证问题的 FAQ 排查说明。
- 桌面端本地服务启动失败时会显示最近的 server stdout/stderr 诊断日志,并支持一键复制诊断信息,方便定位 sidecar 或环境启动问题。
## 问题修复
- 修复桌面端会话在使用第三方 provider 时可能退回旧 settings 或错误模型能力的问题,让会话运行时更稳定地沿用当前激活的 provider、model 和能力配置。
- 修复第三方 Anthropic 兼容端点的 thinking / adaptive thinking 能力误判问题,减少模型能力不兼容导致的请求失败。
- 修复桌面端 rewind 可能因为隐藏消息或可见索引错位而回退到错误 turn 的问题,现在会优先按用户消息 ID 精确定位并校验原始内容。
- 修复 CLI 在会话过程中异常退出后,桌面端 turn 可能长时间停留在进行中的问题;异常退出也会正确结束当前消息状态。
- 修复子代理工具活动在桌面端聊天记录中被错误拉平的问题,让 subagent 的工具调用和结果继续保持嵌套展示。
- 修复 ripgrep 路径检测不稳定的问题,避免 Bun 虚拟路径或不可执行路径被误当作可用 `rg`,并在不可用时给出更明确的错误。
- 修复飞书适配器 HTTP 请求缺少超时保护的问题,避免外部接口慢响应时长期阻塞机器人处理流程。
- 修复 `/clear` 等 Slash Command 的参数边界处理,避免误解析或误清理会话状态。
- 修复桌面端 inspector 中上下文百分比显示缺失,以及 `/context` 查询在部分运行时下可能长时间等待的问题,并优化暗色模式下模型选择器的对比度。
## 其他说明
- README 和文档补充了赞助合作方、参考项目说明,以及自定义 Provider / Kimi 认证错误排查内容。
- 补齐并润色了早期版本的 release notes方便从 GitHub Release 回看历史版本变化。
- 本地 macOS Apple Silicon 测试打包脚本改进了签名与 sidecar 校验流程,提升本地构建产物的启动成功率;正式 GitHub Actions release 流程保持不变。
- GitHub Release 正文继续以 `release-notes/v0.1.8.md` 作为来源,发布时无需再手动复制 Markdown。
## 安装说明
### macOS
首次打开如果提示“已损坏”或“无法验证开发者”,请执行:
```bash
xattr -cr /Applications/Claude\ Code\ Haha.app
```