mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-30 16:23:35 +08:00
HIGH fixes: - SSRF protection: block private/link-local IPs and file:// URLs in edit_image image_url parameter - Mask sensitive values in GET /api/plugins/options response MEDIUM fixes: - Clamp n parameter to 1-10 to prevent API bill exhaustion - Validate prompt is non-empty string before API call - Return empty array when no providers configured (clear error) - Add 1MB buffer limit for JSON-RPC line accumulation - Fix PluginConfigModal useEffect re-fetch loop on parent re-render LOW fixes: - Remove unused requestId variable Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Code Council Desktop
基于 Tauri 2 + React 的 Code Council 桌面客户端。
开发
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