mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Memory tool activity inherited the global warm brand treatment, which made the new desktop memory surface feel detached from white and dark themes. The component now uses memory-specific tokens with a quieter teal family, and the sidebar settings dock is made opaque so scrolling sessions cannot show through it. Constraint: Desktop memory activity must remain readable across light, white, and dark themes without reusing the classic warm brand surface Rejected: Keep using color-mix with --color-brand | preserves the original warm tint mismatch in white theme Confidence: high Scope-risk: narrow Directive: Keep memory activity colors on memory-specific tokens instead of generic brand tokens Tested: cd desktop && bun run test src/components/chat/MessageList.test.tsx --run Tested: cd desktop && bun run test src/components/layout/Sidebar.test.tsx --run Tested: cd desktop && bun run lint Tested: cd desktop && bun run build Tested: Browser smoke screenshots for light, white, and dark memory activity previews
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