Skip to content

🚀 CodeBuddy Code v2.106.0 Release

📦 Version Information

ComponentVersion
CodeBuddy Code CLIv2.106.0
Agent SDK JSv0.3.174
Agent SDK Pythonv0.3.173

✨ New Features

MCP Apps Interactive Interface

CodeBuddy Code now supports MCP servers declaring interactive HTML tool interfaces, rendered in the Web UI as secure sandboxed iframes. Tool results are no longer limited to displaying text — this is ideal for forms, charts, visual configuration, and other rich interactive scenarios.

MCP Apps Bidirectional Interaction

MCP Apps can now collaborate bidirectionally with CodeBuddy Code:

  • UI can write content back to the conversation, supporting both direct sending and filling into the input box for further editing
  • UI can inject model context for the next conversation turn
  • UI can request display mode switching, trigger file downloads, and notify resource destruction
  • Reverse tool invocations from within the iframe require user authorization first, ensuring security and control

Tool Defer Loading Override

The --tools parameter and custom agent frontmatter tools field now support Defer(...) / NoDefer(...) modifiers. Users can temporarily adjust whether tools are lazily loaded at the session or agent level without modifying global configuration.

🔧 Improvements

  • MCP Apps display experience: Interactive interfaces are now persistently displayed below tool cards, no longer requiring expansion of tool call details to see the main content
  • Authorization experience optimization: After selecting "Always Allow" for the same server / tool, no repeated prompts appear within the session; auto-approve mode automatically grants permission
  • Loading experience optimization: During history replay, loading states are only shown when resource retrieval exceeds 200ms, reducing flickering
  • Reverse invocation stability: Reverse tool calls from the same session / server are queued for sequential execution, preventing concurrent overload from blocking the approval flow
  • MCP Apps logging: iframe logs can be synced to the console by level; warning and above levels display deduplicated bottom-right notifications
  • Prompt suggestion cost optimization: Next-turn prompt suggestions now use a lightweight model and condensed context for generation, reducing token costs

🐛 Bug Fixes

  • MCP tool description drift: Fixed an issue where prompts retained filtered tools when MCP server connection state changed, reducing model mis-invocations of non-existent tools
  • Team credit double counting: Fixed an issue where multiple usage updates for the same message caused credits to be accumulated repeatedly
  • Cross-version upgrade configuration anomaly: Fixed an issue where old version product configuration cache polluted new version configuration, reducing post-upgrade configuration behavior anomalies
  • Trace ID drift: Fixed an issue where subagent / team agent inherited incorrect rootRequestId in multi-turn conversations, ensuring consistent end-to-end tracing IDs within a single conversation
  • Team credit statistics accuracy: Fixed inaccurate statistics caused by requestId tampering in Team scenarios and usage not being correctly forwarded in detached mode
  • Request cancellation error display: Cancelling a request now shows a more user-friendly "cancelled" message instead of exposing underlying JSON-RPC structure
  • MCP Apps history restoration: Fixed an issue where interactive interfaces no longer displayed after refreshing the Web UI
  • MCP Apps authorization race condition: Fixed an authorization matching error where No active interruption to resolve could occur during reverse tool invocations