mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
Drag-drop support made the composer panel clip overflow so the stateful slash and file popovers still opened but were hidden above the panel. Restore visible overflow on the drop target while keeping the drop overlay and attachment flow intact, then lock both active and empty composer surfaces with regression coverage. Constraint: Drag-drop attachments must continue using the existing path-only composer pipeline Rejected: Move slash and file menus outside the composer tree | broader portal refactor not needed for this regression Confidence: high Scope-risk: narrow Directive: Do not reintroduce overflow clipping on composer panels without proving bottom-full popovers still render Tested: cd desktop && bun run test -- --run src/components/chat/ChatInput.test.tsx src/pages/EmptySession.test.tsx Tested: cd desktop && bun run lint Tested: Browser smoke at http://127.0.0.1:1421/?serverUrl=http%3A%2F%2F127.0.0.1%3A3456 for / and @src popovers Tested: bun run check:desktop
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