# 🚀 CodeBuddy Code v2.62.0 Release

## ✨ New Features

### Delegate Tool Support (Experimental)

Added the DelegateTool, which allows Agents to invoke delegate tools registered by external clients (such as Web UI or IDE plugins) to enable UI querying and UI control capabilities. This provides more flexible extensibility for integrating CodeBuddy Code with external toolchains.

## 🔧 Improvements

- **Remote Control Refactoring**: Unified the `/wecom-bot` command into a general-purpose `/remote-control` command, supporting unified management of multiple long-lived connection clients, with a new interactive UI panel for quick client connection selection
- **Fast Local Command Execution for Remote Control**: Added a mechanism to quickly detect local commands, avoiding unnecessary waiting prompts for local commands like `/clear` and `/skills`
- **Enhanced Model Compatibility**: Added an OpenAI model adapter to automatically handle incompatible parameters; the Gemini adapter now includes JSON Schema field cleanup, fixing 400 errors caused by tool parameters
- **Stream Timeout Optimization**: Adjusted the default stream timeout from 30 seconds to 60 seconds, with new smart detection to prevent completed responses from being incorrectly identified as timed out
- **Bash Tool Description Optimization**: Provided clearer description examples for complex commands and refined the dangerous command list
- **Memory Path Structure**: Aligned project memory directories to the standard path structure, fixing incomplete path display in menus

## 🐛 Bug Fixes

- **ACP Session Management**: Fixed an issue where newSession requests reused old sessions by default, switching to an explicit `continue` field to control session reuse behavior
- **AbortController Leak**: Unified usage of `createAbortController()` to prevent listener accumulation warnings during long sessions
