Files
claude-code-haha/desktop
程序员阿江(Relakkes) b8871ca0e8 fix(desktop): settle background tasks from sessions the desktop never ran
A session finished by another CLI run (official CLI, or one that has
exited) kept a background shell "running" forever: the sidebar spun, the
header said the session was active, and Stop failed with "CLI session is
not running".

The CLI records a task's end in several shapes depending on when the
notification was delivered, and history restore only read the user-turn
one:

- notifications drained mid-turn are queued_command attachments;
- notifications queued but never delivered survive only as a
  queue-operation;
- TaskStop/KillShell leave no notification, only their own tool result.

Read all of them, and when no CLI process exists, converge a Stop of a
history-only task to stopped instead of failing.
2026-10-08 18:02:15 +08:00
..
2026-10-02 02:45:29 +08:00

Claude Code Haha Desktop

基于 Tauri 2 + React 的桌面客户端。

开发

bun install
bun run tauri dev

构建

# macOS (Apple Silicon)
./scripts/build-macos-arm64.sh

# Windows (x64, MSI only)
.\scripts\build-windows-x64.ps1

构建产物位于 build-artifacts/ 目录,文件名会显式包含平台、架构和包类型。

常见问题

macOS 提示"已损坏,无法打开"

xattr -cr /Applications/Claude\ Code\ Haha.app