mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 11:53:10 +08:00
096e87619d
The "Session running" dialog treats a running background task as the session being busy, but Stop & Close only called stopGeneration, which interrupts the foreground turn and Agent tasks. A background shell command (and its CLI) kept running, so the reopened session spun again and asked the same question on the next close. Stop & Close now also stops every running background task, before the socket is closed. "Is the session running" and "which tasks to stop" share one predicate in backgroundTasks, so the dialog cannot offer a Stop that leaves the task that raised it alive. Keep running sends nothing. Refs #1398
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