diff --git a/desktop/package.json b/desktop/package.json index 477d11bb..c4f3be79 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,7 +1,7 @@ { "name": "claude-code-desktop", "private": true, - "version": "0.6.2", + "version": "0.6.3", "description": "Desktop coding agent workbench for Claude Code Haha.", "homepage": "https://github.com/NanmiCoder/cc-haha", "author": { diff --git a/release-notes/v0.6.3.md b/release-notes/v0.6.3.md new file mode 100644 index 00000000..6a4d6a23 --- /dev/null +++ b/release-notes/v0.6.3.md @@ -0,0 +1,120 @@ +# Claude Code Haha v0.6.3 + +本次更新以 **右侧工作区重构** 和 **连接器** 两项为主,同时新增 ngrok 公网访问与手机扫码配对。 + +## 右侧工作区重构 + +工作区从「文件 / 浏览器」两种模式改为统一的标签页:文件、浏览器、代码审查、终端都可以同时打开,隐藏面板或切换任务不再中断其中运行的页面和终端。 + +- **标签页**:支持拖拽排序、批量关闭、重新打开已关闭的标签;终端可在侧边与底部之间移动而不中断。 +- **文件与输出**:文件树单击打开预览、双击固定常驻,同一个文件不会重复开标签;输出卡片整行可点,中文文件名不再点击无反应。 +- **内置浏览器**:菜单改为系统原生弹窗,打开时网页保持可见;地址栏支持历史建议,新窗口链接在当前任务内开成后台标签。 +- **终端**:配色跟随当前主题,浅色主题下不再是黑底。 +- **代码审查**:改为显式的两侧比较,支持暂存文件与区块,还原改动前先保存副本。 +- **重启恢复**:重启应用后标签恢复,终端以「已退出」状态回来并可手动重启。 + +## 连接器 + +把飞书、钉钉、企业微信、Notion、GitHub、高德等 54 个第三方服务收进统一的安装与授权入口。 + +- 新增「技能 · 连接器」页面,安装、停用、移除都在同一处;未连接账号前不会把能力挂到会话上。 +- `@` 与 `/` 都能引用插件和技能。会话已经打开时安装并连接,当前会话会即时刷新出它的技能与工具。 +- 技能标签页恢复为纯粹的市场列表,移除了上层的「精选技能」一栏。 + +## 远程访问 + +- 新增 **ngrok 公网访问**,在「设置 → H5 访问」填入 Authtoken 即可开启。 +- 新增 **设备配对**:桌面生成一次性二维码,手机扫码后需在桌面允许;已配对设备可随时撤销,配对结果重启后保留。 +- 手机端只开放「模型供应商」与「通用配置」,API Key 不会回显;桌面管理、工作区、终端仍只能在桌面操作。 + +## 新增与改进 + +- **多问题提问导航**:一次提出多个问题时顶部出现题号页签,单选后自动跳到下一题,全部答完才能提交。 +- **上下文用量面板**:新增「此次会话」区块,显示总 token、缓存命中率与生成速度。 +- **AI 请求超时**:默认由 10 分钟改为 30 分钟,上限不再被截断。 +- **设置**:「供应商」更名为「模型配置 / 模型管理」;「通用」恢复 Agent Teams 开关。 + +## 其他修复 + +- **图片被模型拒绝不再污染会话**:给不支持视觉的模型发图后,后续纯文本轮次不再重复同一个 400。 +- **恢复会话后旧文件误报**:修复最近一轮把旧文件误判为新变更并显示在输出卡片中的问题。 +- **命令行菜单清理**:`/` 菜单不再列出桌面端跑不通的命令。 +- **空改动卡片**:没有任何文件改动的回合不再显示「0 个文件已更改」。 +- **界面细节**:修复打开工作区后窗口右上角出现灰色凹槽、顶栏多种标签被挤压的问题。 +- **打包版图标**:修正连接器与技能的品牌图标在打包后无法加载。 + +## 安装 + +请在下方 Assets 中下载对应平台和架构的安装包: + +SignPath 官方审批尚未完成,本次 Windows 应用和安装包**暂未签名**;macOS 安装包已签名并完成公证。 + +- macOS:`Claude-Code-Haha-0.6.3-mac-arm64.dmg` / `Claude-Code-Haha-0.6.3-mac-x64.dmg` +- Windows:`Claude-Code-Haha-0.6.3-win-x64.exe` / `Claude-Code-Haha-0.6.3-win-arm64.exe` +- Linux x64:`Claude-Code-Haha-0.6.3-linux-x86_64.AppImage`、`Claude-Code-Haha-0.6.3-linux-amd64.deb` 或 `Claude-Code-Haha-0.6.3-linux-x86_64.rpm` +- Linux ARM64:`Claude-Code-Haha-0.6.3-linux-arm64.AppImage`、`Claude-Code-Haha-0.6.3-linux-arm64.deb` 或 `Claude-Code-Haha-0.6.3-linux-aarch64.rpm` + +**完整变更:**[v0.6.2...v0.6.3](https://github.com/NanmiCoder/cc-haha/compare/v0.6.2...v0.6.3) + +
+English Version + +# Claude Code Haha v0.6.3 + +This release is centered on two things: a **rebuilt workspace panel** and **connectors**, plus ngrok public access with QR device pairing. + +## Rebuilt workspace panel + +The workspace is no longer a two-mode files/browser panel but a unified set of tabs: files, browser pages, code review and terminals can all be open at once, and hiding the panel or switching tasks no longer interrupts the pages and terminals running inside. + +- **Tabs**: drag to reorder, close in bulk, or reopen a closed tab. Terminals move between the side and bottom panels without interruption. +- **Files and output**: single-click opens a preview tab and double-click pins it, with no duplicate tabs for the same file. The whole output card is clickable, and CJK filenames no longer fail silently. +- **Built-in browser**: the menu is now a native popup, so the page stays visible while it is open. The address bar offers history suggestions, and new-window links become background tabs inside the current task. +- **Terminal**: colors follow the active theme, so light themes no longer get a black terminal. +- **Code review**: explicit two-sided comparisons, with file and hunk staging and a recoverable copy saved before any discard. +- **Restore on restart**: tabs come back after a restart, with terminals exited and restartable. + +## Connectors + +Brings 54 third-party services — Feishu, DingTalk, WeCom, Notion, GitHub, Amap and more — into one install-and-authorize surface. + +- A new "Skills · Connectors" page keeps install, deactivate and remove in one place, and never attaches a capability to a session before its account is connected. +- Both `@` and `/` reference plugins and skills. Installing and connecting one while a chat is already open refreshes that chat's skills and tools immediately. +- The skills tab is a plain market list again, with the curated "Featured skills" row removed. + +## Remote access + +- Adds **ngrok public access**: enter an authtoken under Settings → H5 Access to enable it. +- Adds **device pairing**: the desktop shows a one-time QR code and the phone must be approved on the desktop. Paired devices can be revoked at any time, and pairings survive a restart. +- The phone exposes only "Model providers" and "General" settings, and API keys are never echoed back. Desktop administration, the workspace and terminals remain desktop-only. + +## New & Improved + +- **Next-question navigation**: a prompt with several questions shows question tabs; picking a single-select option advances, and Submit is only enabled once every question is answered. +- **Context usage panel**: a new "This session" block shows total tokens, cache hit rate and generation speed. +- **AI request timeout**: the default moves from 10 minutes to 30 minutes, and the maximum is no longer clamped. +- **Settings**: "Providers" is renamed to "Model Settings / Model Management", and an Agent Teams switch returns to Settings → General. + +## Other fixes + +- **Image rejections no longer poison a session**: after sending an image to a model without vision, later text-only turns no longer repeat the same 400. +- **Stale files after resuming a session**: fixes the latest turn reporting old files as newly changed and surfacing them as output cards. +- **Slash menu cleanup**: the `/` menu no longer lists commands the desktop cannot run. +- **Empty change cards**: a turn with no file changes no longer shows a "0 files changed" card. +- **Interface details**: fixes a grey notch in the window's top-right corner once the workspace is open, and session tabs being squeezed in the header. +- **Packaged build icons**: brand icons for connectors and skills now load in packaged builds. + +## Installation + +Download the installer for your platform and architecture from the Assets section below: + +Windows applications and installers in this release are **unsigned** while SignPath approval is pending. macOS builds are signed and notarized. + +- macOS: `Claude-Code-Haha-0.6.3-mac-arm64.dmg` / `Claude-Code-Haha-0.6.3-mac-x64.dmg` +- Windows: `Claude-Code-Haha-0.6.3-win-x64.exe` / `Claude-Code-Haha-0.6.3-win-arm64.exe` +- Linux x64: `Claude-Code-Haha-0.6.3-linux-x86_64.AppImage`, `Claude-Code-Haha-0.6.3-linux-amd64.deb` or `Claude-Code-Haha-0.6.3-linux-x86_64.rpm` +- Linux ARM64: `Claude-Code-Haha-0.6.3-linux-arm64.AppImage`, `Claude-Code-Haha-0.6.3-linux-arm64.deb` or `Claude-Code-Haha-0.6.3-linux-aarch64.rpm` + +**Full changelog:** [v0.6.2...v0.6.3](https://github.com/NanmiCoder/cc-haha/compare/v0.6.2...v0.6.3) + +