# 🚀 CodeBuddy Code v2.55.1 Release

## 🔧 Improvements

- **MCP environment variable defaults**: MCP configuration now supports the `${VAR:-default}` syntax, automatically using the specified default value when an environment variable is not set, simplifying MCP server configuration
- **Worktree initialization improvements**: Enhanced symlink creation logic with automatic file/directory type detection and conflict handling; improved `.worktreeinclude` file processing for better performance in large repositories
- **Hooks Windows path compatibility**: Fixed path parsing issues when executing hooks via Git Bash on Windows where backslashes caused failures, now uniformly converting to Unix-style paths

## 🐛 Bug Fixes

- **SDK authentication fix**: Fixed an issue where the authentication URL was incorrectly overwritten during login
- **Environment configuration protection**: Fixed an issue where network environment settings explicitly configured by users via `.env` or `settings.json` were automatically overridden
- **SessionStart hook race condition fix**: Fixed an issue where the first message could be processed before the SessionStart hook completed, causing injected context to be lost
