🚀 CodeBuddy Code v2.115.0 Release
📦 Version Information
| Component | Version |
|---|---|
| CodeBuddy Code CLI | v2.115.0 |
| Agent SDK JS | v0.3.199 |
| Agent SDK Python | v0.3.198 |
✨ New Features
Custom Model Usage Statistics
Added custom model invocation data reporting capability to help users understand the usage and proportion of their custom models. Reporting only occurs when using custom models, covering dimensions such as model information, token usage, duration, IDE and product form, and enterprise identifier, providing data support for model selection and cost analysis.
🔧 Improvements
- ACP File Reference Optimization: Supports the client declaring the
fileReferencesPathOnlycapability, allowing the Agent to skip auto-expanding @path file contents. The model reads them on demand via the Read tool, significantly reducing token overhead @fileOversized Content Handling: When a referenced file or directory is too large, the CLI limits the inline content size and provides a prompt to continue reading, reducing failures caused by overly long contexts- Unified Tool Output Truncation: Unified the truncation logic to use visual line count, removing redundant character count truncation, improving terminal rendering consistency
- Tool Result Truncation: Added a character count truncation mechanism to tool result previews, ensuring correct truncation even when a single line is too long, preventing excessively long output from affecting readability
🐛 Bug Fixes
- Streaming Output Cancellation Handling: Fixed an issue where the result event was misidentified as a retry and suppressed after the user cancelled during compression, preventing non-interactive output and rendering flows from waiting indefinitely for an end signal
- ACP Task Cancellation Stuck: Fixed an issue where a WorkBuddy assistant task could remain stuck waiting for a response after cancellation, preventing subsequent messages from streaming back
- WorkBuddy Message Grouping: Fixed an issue where multiple model generations within the same response round caused streaming body text, deep thinking, and tool calls to be split into multiple messages, ensuring replies are stably grouped by user turn
- Terminal Title Sync: Fixed an issue where the terminal tab title was not updated promptly after renaming or switching sessions
- In-Flight Image Message Consumption: Fixed an issue where image messages sent during agent execution were not consumed between tool calls (previously, messages containing images were silently dropped); also fixed an issue where Tab-queued image messages lost their images when pulled back to the input box for editing and re-sent
codebuddy updateInstallation Method Detection: Fixed an issue where it falsely claimed "already up to date" when the installation method could not be identified. It now queries the release channel for the actual latest version and provides a manual upgrade command; also improved installation method detection by falling back to inferring from the installation path when command-line probing fails- Login Direct Connection Timeout in Proxy Environment: Fixed an issue where login/token refresh requests still connected directly to the target domain on machines with proxy environment variables set (e.g., Tencent IDE remote terminal), causing
ETIMEDOUTtimeouts - Removed ACP Debug Logs: Removed residual debugging logs from the ACP
initializehandling logic, which wrote directly to stdout and disrupted the interactive terminal rendering UI - Points Statistics Aggregation: Points consumption is now aggregated and displayed by rootRequestId
- Sub-agent Model Inheritance: Fixed an issue where sub-agents, skills, and commands did not correctly inherit the main conversation's current model when configured with an unavailable model, preventing requests from falling onto incorrect or backend-unrecognized models
- Terminal Line Break: Fixed an issue where the Shift+Enter key combination occasionally produced an extra carriage return in the Web UI terminal
- Panel Routing: Tool approval and user Q&A panels are now registered to the self-managed router, fixing navigation anomalies