# CodeBuddy Code v2.49.6 Release

## Improvements

- **SDK MCP Initialization Timing Optimization**: Fixed a race condition between MCP server registration and prompt processing in SDK mode, ensuring MCP tools are ready before prompt processing to avoid tool call failures
- **Headless Mode Detection Improvement**: Optimized headless mode identification logic to support automatic detection for ACP mode and non-TTY environments
- **MCP Configuration File Path Support**: The SDK's mcpServers parameter now supports file path string format, simplifying configuration
- **ACP SDK Upgrade**: Upgraded ACP SDK to version 0.14.1, fixing terminal output byte limit parameter type compatibility issues
- **CI Configuration Optimization**: Added npcName parameter support for bot configuration
