mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-17 13:13:35 +08:00
Telegram polling stopped consuming updates when all IM adapters were loaded into the same desktop sidecar process. Launch each IM platform as its own sidecar process so Telegram keeps an isolated long-polling consumer while Feishu, WeChat, and DingTalk manage their own SDK loops independently. Constraint: Telegram Bot API long polling needs one healthy consumer per token and should not share lifecycle with other IM SDKs Rejected: Keep one combined adapter process | reproduced pending Telegram updates until Telegram was launched alone Confidence: high Scope-risk: moderate Directive: Keep IM adapter process ownership isolated unless cross-platform lifecycle tests prove a merged process is safe Tested: cargo fmt --check Tested: cargo check Tested: bun run check:native Tested: ./desktop/scripts/build-macos-arm64.sh Tested: Computer Use launched built app and sent Telegram smoke message with pending_update_count=0 Not-tested: Automated Feishu, WeChat, or DingTalk live message delivery after process split
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