mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 20:03:13 +08:00
a26deab8d7
Grok 4.7 shipped with a faster variant (grok-4.7-build-fast), and the gateway's /v1/models feed no longer advertises grok-composer-2.5-fast. Resolving reasoning effort against the bundled catalog alone gave a model newer than this build no effort at all, and the request transform reads that as a model which rejects the parameter and strips the whole reasoning block. Selecting xhigh on 4.7 therefore ran at the upstream default, while the picker and the server-side validation both accepted the choice. Effort now resolves against the live catalog first, and a model neither catalog describes keeps the requested effort instead of losing it. The runtime catalog pointer moves into the dependency-free catalog module so the request transform can read it without an import cycle back through fetch.ts. Both bundled catalogs gain 4.7 and its fast variant and default to grok-4.7, and the retired composer model migrates pinned sessions to that default rather than sending an ID the gateway no longer serves.
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