# 🚀 CodeBuddy Code v2.56.0 Release

## ✨ New Features

### Worktree PR Support

Support for creating worktrees from CNB (Code Nebula Buddy) platform PR links, including domains such as cnb.woa.com and cnb.cool. Within a worktree, you can directly perform code review and modifications based on a PR.

## 🔧 Improvements

- **New GPT-5.4 model**: Supports 272K input, 128K output, with reasoning and image capabilities
- **MCP panel optimization**: Removed borders, grouped server list by configuration source, added diagnostic information display for a cleaner and more intuitive interface
- **Model compatibility layer**: Added a model compatibility handler that automatically adapts API request format differences for third-party models such as Gemini and Moonshot, reducing manual configuration
- **Error diagnostics enhancement**: Improved error logging for model requests and SDK Transport, supporting streaming error response body reading and process close reason capture for easier troubleshooting
- **Tool search optimization**: Split search and activate operations into separate parameters for clearer invocation; unmatched tool names now automatically fall back to fuzzy search
- **User query identification**: Added tag wrapping for user messages to help models more accurately distinguish actual user queries from system context content

## 📝 Documentation Updates

- **MCP environment variable expansion documentation**: Added documentation for environment variable expansion usage, including syntax descriptions, supported configuration fields, examples, and common use cases
