🚀 CodeBuddy Code v2.67.0 Release
✨ New Features
WeCom Channel Bridge
WeCom AI Bot messages can now be injected directly into Agent sessions through the channel system, with support for replying with markdown-formatted messages using the WeComReply tool, covering both group chat and private chat scenarios.
Multi-Instance Access and Management
- Both WeChat and WeCom support connecting multiple bot instances simultaneously
- Interactively add and manage connections through the
/remote-controlpanel - WeChat binds directly via QR code scanning, WeCom auto-connects after entering Bot ID + Secret, with credentials persisted to disk
Web UI Remote Control Management
Added a remote control page with visual management of channel connections (connect/disconnect/unbind/delete), including WeChat QR scanning and WeCom form-based addition.
WeCom Media Message Support
- WeComReply tool now supports uploading and sending media messages including images, files, and videos
- Supports receiving image and file messages sent by users with automatic download and decryption
- Improved image and file message handling for WeChat Customer Service
🔧 Improvements
- Environment variable control for max turns: Support controlling the maximum execution turns for the main Agent and sub-Agents separately via
CODEBUDDY_CODE_MAX_TURNSandCODEBUDDY_CODE_SUBAGENT_MAX_TURNSenvironment variables - WeCom media decryption: Aligned with the official SDK using AES-256-CBC algorithm, added automatic format detection
🐛 Bug Fixes
- Rewind phantom diff: Fixed the issue where rewind after compact showed non-existent file changes; compact messages now correctly inherit file snapshot state
- PTY file descriptor leak: Enhanced fd cleanup logic for PTY service and background tasks, ensuring proper resource release even on error paths