github chenhg5/cc-connect v1.2.2-beta.2

latest releases: v1.3.4, v1.3.3, v1.3.3-beta.5...
pre-release3 months ago

CC-Connect v1.2.2-beta.2 Pre-release

New Features

  • Feishu/Lark CLI Onboarding: New cc-connect feishu setup command 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 sessions subcommand 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 --continue on 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 setup for 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 executeCardAction using wrong key for interactiveStates lookup 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 StartSession to prevent race condition
  • Session AgentID Protection: Protect Session.AgentSessionID writes with mutex to prevent data races
  • Session Routing Race: Prevent session routing race when /new runs during active turn
  • Discord Duplicate Messages: Deduplicate gateway MessageCreate events causing duplicate responses
  • Codex JSON Lines: Handle large stdout JSON lines without scanner buffer overflow
  • UTF-8 Safety: Use rune-based splitting in splitMessage to 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 /btw command 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@beta

Or download the binary for your platform from the assets below.

Don't miss a new cc-connect release

NewReleases is sending notifications on new releases.