mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
The repository launch controls should extend the existing empty-session composer, not replace the session layout. This restores the previous mascot, title, composer sizing, textarea, and run button while keeping the project, branch, and worktree controls attached directly beneath the input. Constraint: User requested the original session layout stay intact except for adding repository controls under the chat input Rejected: Keep the Codex-style centered launcher rewrite | it changed too much of the existing session surface Confidence: high Scope-risk: narrow Directive: Future changes to repository launch controls should treat EmptySession layout as fixed unless explicitly requested otherwise Tested: cd desktop && bun run test -- --run src/components/shared/DirectoryPicker.test.tsx src/pages/EmptySession.test.tsx src/__tests__/pages.test.tsx Tested: cd desktop && bun run lint Tested: bun run check:desktop Tested: agent-browser screenshot /tmp/cc-haha-layout-restored-selected.png on localhost:4790 Not-tested: root bun run verify not rerun for this narrow layout correction
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