mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
The MCP settings page now waits for the full initial aggregation pass before rendering list statistics or the empty state. This covers the extra project path lookup for user-private MCP entries, so the page does not briefly show zero servers while the desktop app is still discovering scoped configs. The focused MCP settings test now asserts the initial loading state and keeps existing list, edit, toggle, and reconnect flows waiting for that load boundary. Constraint: MCP settings now loads from multiple project contexts before the first trustworthy list render Rejected: Keep rendering zero-value stats during discovery | this caused a misleading empty flash on startup Confidence: high Scope-risk: narrow Directive: Do not show MCP empty state until initial project path discovery and server fetch have both completed Tested: cd desktop && bun run test -- mcpSettings.test.tsx Tested: bun run check:desktop Tested: git diff --check
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