# 🚀 CodeBuddy Code v2.55.0 Release

## ✨ New Features

### Git Worktree Support

The new Worktree feature allows you to develop in parallel across isolated working directories without interference:

- Use the `--worktree` flag to launch an isolated development environment for safe experimental changes
- Combine with the `--tmux` flag to run in a dedicated tmux session, ideal for long-running tasks
- Agents can dynamically create and enter worktrees during a session via the EnterWorktree tool
- Sub-agent tasks automatically inherit the worktree working directory, ensuring correct file operation paths
- Supports `WorktreeCreate` and `WorktreeRemove` event hooks for custom VCS integration
- Automatically detects changes on exit and provides clear action options; worktrees with no changes are cleaned up automatically

## 🔧 Improvements

- **Tool search optimization**: ToolSearch now supports both search and activate modes — search mode displays activated tools and candidates in a layered view, while activate mode enables precise activation by name
- **Status bar line wrapping**: Long text in the status bar now wraps automatically instead of being truncated
- **Diff wide character handling**: Fixed inaccurate line wrapping in the Diff view when content contains wide characters such as Chinese text or Emoji
- **Message identification optimization**: Improved user message identification logic to exclude teammate messages automatically sent by the framework
