# 🚀 CodeBuddy Code v2.8.1 Release

## 🔧 Improvements and Optimizations

- **Plan Mode Refactoring**: Refactored Plan mode with an entirely new Sub-Agent architecture, providing smarter and more stable task planning and execution capabilities
- **Smart Model Image Detection**: Automatically detects model image support capabilities and intelligently handles image input when the model doesn't support it, improving cross-model usage fluency
- **Runtime Environment Health Check**: Automatically detects Node.js version at startup to proactively avoid environment compatibility issues and ensure stable tool operation
- **ACP Protocol Experience Enhancement**: Automatically pushes command list when creating sessions to support intelligent auto-completion; optimized authentication methods to automatically recommend the best login options based on network environment
- **Permission Command Risk Adjustment**: Optimized risk classification strategy for privilege escalation commands like sudo/su, reducing unnecessary confirmations while maintaining security and improving efficiency

## 🐛 Bug Fixes

- **Git Operation Security Enhancement**: Improved dangerous command detection rules to more accurately identify and block high-risk Git operations such as force push and branch deletion
- **Windows Path Compatibility**: Fixed case sensitivity issues with paths on Windows systems, improving stability of cross-platform file operations
- **Non-Interactive Mode Tool Control**: Fixed behavior logic of user question-answer tool in non-interactive mode to ensure smooth automated workflow execution
- **Exclusive Edition Environment Adaptation**: Fixed environment recognition issues in exclusive editions to ensure correct configuration loading
- **Clipboard Detection Compatibility**: Temporarily adjusted clipboard detection strategy to resolve false trigger issues in certain environments and improve user experience
