mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 11:53:10 +08:00
0e46f7707d
The @ and / menus each carried their own icon fallback — skills rendered as a sparkle in one and a box in the other — so the same entry changed shape depending on which menu opened it. Both now share one vocabulary, and the @ menu shows the source labels the slash menu already had. Brand icons were resolved against the document root, which only worked while `base` was `/`; the packaged renderer loads from file://, where `/connectors/x.svg` points outside the bundle. Connector rows also opened the detail view and started installing in the same click — installation now happens only from the detail action. The fallback command list no longer offers commands the headless CLI cannot run (`clear`, `vim`, `commit`, `pr`, …): selecting one only produced "Unknown skill". Of the 59 compiled commands, 16 support the headless path a desktop session drives. An unprioritised menu also opened on the CLI's bundled skills (`update-config`, `debug`, `batch`), so desktop-owned commands now lead instead.
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