CC-Connect v1.2.2-beta.2 Pre-release
New Features
- Feishu/Lark CLI Onboarding: New
cc-connect feishu setupcommand with QR code terminal display for quick bot configuration - Pi Agent: Added support for Pi coding agent with full session management and tool handling
- Session TUI Browser: New
cc-connect sessionssubcommand with terminal UI for browsing session history - Multi-Workspace Mode: Channel-based workspace resolution with auto-binding by convention and interactive init flow
- Design Documentation: Added comprehensive design plans for multi-workspace and session resilience features
- Slack Enhancements: Typing indicator via emoji reactions, mrkdwn formatting guidance in system prompt
- Session Resilience: Automatic
--continueon first connection, resume-failure fallback, and context usage indicators - Management API: HTTP REST API endpoints for external management tools with WebSocket bridge support
- Cron Setup Command:
/cron setupfor easy cron job configuration with memory file integration
Bug Fixes
- RateLimiter Goroutine Leak: Fixed cleanup goroutine not stopped on replacement and engine shutdown
- DrainEvents Infinite Loop: Fixed infinite loop when channel is closed in
drainEvents - InteractiveKey Consistency: Fixed
executeCardActionusing wrong key forinteractiveStateslookup in multi-workspace mode - Workspace Command Prefix: Fixed missing leading slash in workspace command prefix check
- Agent Session Close: Always close events channel on session timeout to prevent goroutine leaks
- Pi Agent Mutex: Move thinking field read inside mutex in
StartSessionto prevent race condition - Session AgentID Protection: Protect
Session.AgentSessionIDwrites with mutex to prevent data races - Session Routing Race: Prevent session routing race when
/newruns during active turn - Discord Duplicate Messages: Deduplicate gateway
MessageCreateevents causing duplicate responses - Codex JSON Lines: Handle large stdout JSON lines without scanner buffer overflow
- UTF-8 Safety: Use rune-based splitting in
splitMessageto prevent invalid UTF-8 sequences
Improvements
- Gemini Display: Enhanced tool display with diff syntax highlighting and improved Telegram markdown rendering
- Thread Safety: Added comprehensive thread-safe accessors for Session fields
- Test Engine: Thread safety improvements to test engine and fixed test assertions
- Input Validation: Consolidated interactive state cleanup and added input validation
- i18n: Updated rate limit messages to mention
/btwcommand for adding context
Contributors
Special thanks to:
- kevinWangSheng - Multiple critical bug fixes
- q107580018 - Feishu CLI onboarding with QR code
- sean2077 - Session TUI browser
- quabug - Pi agent and Discord fixes
- AtticusZeller - Gemini and Telegram enhancements
- leighstillard - Multi-workspace and Slack improvements
- Shawn - Thread safety fixes
- zhuguanqi - Session management fixes
- Steve-Rye - JSON lines handling
- Xihui He - iFlow enhancements
- Mr.QiuW - Platform improvements
Installation
npm install -g cc-connect@betaOr download the binary for your platform from the assets below.