Skip to content

๐Ÿš€ CodeBuddy Code v2.148.0 Release โ€‹

๐Ÿ“ฆ Version Information โ€‹

ComponentVersion
CodeBuddy Code CLIv2.148.0
Agent SDK JSv0.3.256
Agent SDK Pythonv0.3.255

โœจ New Features โ€‹

Conversation Network Failover โ€‹

If a direct conversation encounters a parsing failure, connection failure, recoverable TLS error, or gateway 502/503/504 before any output is produced, it now automatically switches to another address on the same domain before falling back to the backup site, reducing conversation failures caused by transient network instability. It does not switch automatically for self-signed certificates, local network outages, or stream interruptions after output has begun, preventing unnecessary failover.

AI Session Titles โ€‹

In-process Server mode now supports generating and sending AI session titles in real time. Cloud sessions can update their titles automatically, making sessions easier to identify in the list.

Project Data Purge Command โ€‹

Added the codebuddy project purge command, which lets you preview and remove local sessions, tasks, file history, input history, project-level MCP state, and directory trust records by project. Interactive mode groups cleanup targets into up to four logical categories for individual confirmation, while conservatively skipping and reporting any state whose ownership cannot be verified. Headless environments support previews with --dry-run, confirmation-free execution with --yes, and TTY confirmation.

Tool Injection for Quick Q&A โ€‹

Added support for the tool injection flow in Quick Q&A mode and improved the exit animation for recommendation capsules.

๐Ÿ”ง Improvements โ€‹

  • Inter-stream silence timeout restored to 20 minutes by default: The default value of CODEBUDDY_STREAM_TIMEOUT_MS has been restored from 5 minutes to 20 minutes, aligning it with the first-token timeout. Brief silence after large tool output during long-running tasks, or momentary connection instability, is no longer misclassified as a dead connection. You can still lower the value separately to detect stale connections sooner.

๐Ÿ› Bug Fixes โ€‹

  • More precise internal gateway rate-limit retries: Gateway 429 responses now follow an allowlist: only transient or short-window rate limits are retried with backoff. Deterministic failures such as an expired or inactive License, exceeded session limits, or a full queue now switch models immediately instead of consuming the entire retry budget (about a minute and a half) on configuration or permission issues.
  • Context compaction fixes: Fixed request markers persisting indefinitely after automatic compaction, which silently dropped analytics and server logs for later conversations; fixed session-start notifications occasionally being omitted after manual /compact; and fixed manual and automatic compaction not triggering the PreCompact and PostCompact hooks.
  • MCP tool resource results: Fixed an issue where the next conversation turn could be interrupted because tool-result text was lost when an MCP tool returned resource content.
  • Subagent tool fault tolerance: Fixed an issue where a parent task failed immediately and all completed tool calls were discarded if a subagent requested a tool outside its allowlist. The system now waits for the subagent's internal intelligent retry to finish before determining success or failure, avoiding expensive restarts from scratch.
  • Web UI session experience: Fixed a series of issues, including duplicate thumbnails in a user bubble after refreshing a conversation containing an image, repeated text concatenation during streamed replay, completed background agents getting stuck in a "Restoring" loop, and single-client sessions still being reported as occupied and unable to reconnect. A new "Take Over Here" action has also been added.
  • Garbled tool output: Fixed garbled output in running previews and final results when using Bash / PowerShell / REPL tools in the TUI and Web.
  • Windows platform fixes: Fixed command-quote escaping in the status line, failures when running in directories containing spaces, blocking during bare-command resolution, and entire tool groups disappearing when some MCP services could not connect. Child-process management and memory usage have also been improved.
  • Skill/Agent file parsing: Fixed descriptions being lost and Boolean fields being parsed incorrectly in skill and Agent files with Windows line endings, and added support for UTF-8 BOM headers.
  • Aligned file permission decisions: File read, write, and delete permissions now follow Security Center decisions, preventing stale local rules from overriding Security Center configuration. Also fixed files being rejected immediately without an approval prompt when macOS file-interception information was incomplete.
  • Background Agents in pure print mode: Fixed background Agents exiting after waiting ten minutes in pure print mode without producing their final summary.
  • False interception of WeChat Pay links removed: Tool output containing links shaped like WeChat Pay nativeurl values no longer triggers a confirmation card and is passed through unchanged.