Skip to content

🚀 CodeBuddy Code v2.125.4 Release

This is a re-published release: v2.125.1, v2.125.2, and v2.125.3 all failed to publish due to release process anomalies, and the production environment remained at v2.125.0. v2.125.4 has been rebuilt and published, fully including all changes from the three aforementioned versions, plus a new interaction experience fix.

📦 Version Information

ComponentVersion
CodeBuddy Code CLIv2.125.4
Agent SDK JSv0.3.226
Agent SDK Pythonv0.3.225

✨ New Features

No-Persistence Session

Added the --no-session-persistence option. Session context is kept in memory only, without creating or appending to local transcripts, while retaining read-only access to existing history. Suitable for temporary sessions and sensitive scenarios.

🔧 Improvements

  • WorkBuddy managed session startup: The system now assigns available ports and establishes connections only after the service is truly ready, avoiding session startup failures caused by port conflicts.

🐛 Bug Fixes

  • Main page tab switching lag: Fixed an issue where switching tabs on the main page caused lag, improving page interaction smoothness.
  • MCP OAuth token exchange: Fixed an issue where, in HTTP/SSE type MCP server scenarios through a gateway proxy, the token exchange returned a 404 after successful OAuth authorization. The callback phase now reuses the discovery results cached during the initial authorization flow, ensuring the token request is sent to the correct authorization server.
  • MCP config path isolation: Fixed an issue where the CODEBUDDY_CONFIG_DIR environment variable could not isolate user/local-level MCP configuration file paths. MCP configuration now follows this environment variable override consistently with other configurations, preventing accidental writes to the host machine's real configuration in multi-instance and automated testing isolation scenarios.
  • Custom model conversation reporting: Fixed an issue where conversations using custom models in WorkBuddy Desktop were not counted in activity statistics (activity map, consecutive login days, etc.). Custom model conversations now report normally.
  • Sub-agent registration: Fixed an issue where a plugin-designated main session agent via settings.agent was duplicated as an invocable sub-agent, while preserving the invocation of member agents within the same plugin.
  • Agent team tools: When agent teams are disabled, lazily loaded TeamCreate, TeamDelete, and Agent tools' team collaboration prompts are now hidden synchronously.
  • Chinese/encoding garbled text: Restored encoding detection for file reads and Shell output, resolving the issue where Chinese content displayed as garbled text in some non-UTF-8 (GBK/CP936, etc.) scenarios.
  • Local hook blocking visibility: When a workspace hook script is missing or blocks with a non-zero exit code, the blocking reason is now written to history as a message and the session terminates cleanly. The client can precisely identify it as a local hook interception, instead of only seeing a generic service error.
  • WebUI CORS: Fixed an issue where the automatic CORS relaxation logic did not take effect when starting WebUI with --host 0.0.0.0. The --serve / daemon startup modes can now be accessed normally in cloud VM environments without manually setting environment variables.