# CodeBuddy Code v2.41.7 Release

## Improvements

- **Checkpoint Performance Optimization**: Changed checkpoint file reading to asynchronous parallel processing to avoid blocking the event loop and improve response performance
- **Session Restore Optimization**: Improved session/load flow to ensure history messages and artifact restoration execute after response is sent, fixing duplicate sending issues in multi-connection scenarios
- **SDK Tool Parameter Passing**: Fixed allowedTools/disallowedTools parameter format to ensure correct passing of multiple tool names
- **Python SDK Stream Buffer**: Added 100MB buffer limit to prevent errors when MCP services return large JSON responses
- **SDK Version Tracking**: SDK automatically injects User-Agent header when communicating with CLI, including SDK version and runtime information for backend service tracking and diagnostics
- **SDK Version Updates**: Updated SDK-JS to 0.3.29 and SDK-Python to 0.3.27

## Documentation Updates

- **SDK Custom Tools Documentation**: Fixed incorrect usage of tool decorator in Python SDK examples, changed to import directly from the package and use correct decorator syntax
