mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
Merged the desktop MCP management work into local main and retained existing plugin settings affordances while resolving router and settings-tab conflicts. The resulting flow keeps MCP settings global-only for speed and uses slash-command cards to route users into concrete MCP or skill targets. Constraint: local main already had plugin settings and API routes that had to remain available Rejected: Favor the worktree version wholesale during merge | would have dropped local plugin tab and router support on main Confidence: medium Scope-risk: moderate Reversibility: clean Directive: Keep slash-command entry flows and settings tabs additive during future merges; do not collapse MCP and plugin navigation into one another Tested: Conflict resolution review during merge; source commit 66edded validated with bun test src/server/__tests__/mcp.test.ts; cd desktop && bun run test -- pages.test.tsx mcpSettings.test.tsx; cd desktop && bun x tsc --noEmit --ignoreDeprecations 5.0 Not-tested: Re-running full desktop/manual verification from the merged main worktree after merge completion Related: 66edded
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