mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
The empty-session composer now loads user and project slash commands before the first turn instead of falling back to the built-in list, which keeps the packaged desktop app aligned with the web UI. This commit also bumps the desktop release version metadata to 0.1.3 so the release workflow publishes the correct artifacts. Constraint: Desktop release automation is triggered by semantic version tags and reads the version from desktop release metadata Rejected: Tagging v0.1.3 without a release commit | would publish stale 0.1.2 metadata and miss the slash-command fix Confidence: high Scope-risk: narrow Directive: Keep EmptySession slash-command loading aligned with ChatInput so packaged and web entry flows do not diverge again Tested: cd desktop && bun run test -- --run src/__tests__/pages.test.tsx Tested: cd desktop && bun run lint Tested: cd desktop && bun run build Not-tested: Full GitHub Actions release-desktop workflow after tag push
Claude Code Haha Desktop
基于 Tauri 2 + React 的桌面客户端。
开发
bun install
bun run tauri dev
构建
# macOS (Apple Silicon)
./scripts/build-macos-arm64.sh
# Windows (x64)
.\scripts\build-windows-x64.ps1
构建产物位于 build-artifacts/ 目录。
常见问题
macOS 提示"已损坏,无法打开"
xattr -cr /Applications/Claude\ Code\ Haha.app