mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-08-01 16:43:37 +08:00
pluginStore applies a plugin change, reloads the runtime, and resolves either way -- a failed reload is recorded in `refreshWarning` and the action still returns its success message. Nothing reads that field, so "disabled the plugin but the runtime never reloaded" reached the user as a plain success toast, indistinguishable from a clean run. The mutation failing still throws and still surfaces, so this was not fully silent; the half where the change lands but the reload does not was. PluginDetail now reads `refreshWarning` after the call -- the store clears it when a mutation starts, so anything present belongs to that action -- and reports a warning naming the reload failure. Kept in the component rather than the store: no store in this codebase reaches into useUIStore, and adding the first such call to fix a toast is not the place to introduce that.
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