# CodeBuddy Code v2.50.5 Release

## New Features

### Bash Dedicated Sub-agent

Added a Bash built-in sub-agent focused on command-line task execution. When the AI needs to perform git operations, run build tools, execute tests, or other terminal tasks, it automatically invokes a lightweight Bash sub-agent for quick completion, improving command execution efficiency.

### Command Safety Detection

Added Bash command injection detection mechanism that automatically identifies and blocks commands containing potentially dangerous constructs such as backtick substitution, `$()` command substitution, and newline injection, enhancing terminal operation security.

## Improvements

- **Sub-agent Tool Configuration Optimization**: Adjusted the Plan sub-agent toolset with new team collaboration tool support; streamlined the Explore sub-agent tools, reducing unnecessary tool loading
- **Sub-agent Label Display Optimization**: Unified sub-agent names to use foreground color text display for a cleaner and more consistent visual appearance
