mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 11:53:10 +08:00
b8871ca0e8
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.
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