# CodeBuddy Code v2.38.0 Release

## New Features

### Sub-Agent Model Variants

The Task tool now supports a `model` parameter for specifying model variants like `lite` and `reasoning`. You can choose the appropriate model based on task complexity:

- `lite`: Suitable for lightweight tasks such as simple searches and quick file operations
- `reasoning`: Suitable for complex analysis, architectural decisions, and multi-step problem solving

## Improvements

- **Checkpoint Hook Statistics Optimization**: Optimized file change statistics calculation by comparing backup files with current files to provide accurate line addition and deletion counts
- **Shell Encoding Handling**: Optimized character encoding/decoding logic for terminal output, improving display of Chinese and other non-ASCII characters on Windows
- **SDK Version Update**: Updated SDK-JS to 0.3.16 and SDK-Python to 0.3.14

## Documentation Updates

- **Environment Requirements**: Clarified that the minimum Node.js version is 18.20+
- **Development Documentation**: Enhanced CODEBUDDY.md with development commands, directory structure descriptions, and build process details
- **Documentation Sync**: Synchronized CLI documentation to the IDE docs directory, added cost documentation, etc.
