# 🚀 CodeBuddy Code v2.25.1 Release

## ✨ New Features

- SDK System Prompt Configuration: SDK supports customizing system prompts through configuration options, flexibly controlling AI assistant behavior and response style

## 🔧 Improvements

- File Search Performance Optimization: Added search result deduplication and throttling mechanisms, significantly improving search response speed for large codebases
- Enhanced Large Repository Support: Added file and directory count limit protection mechanism to prevent memory issues in extremely large repositories
- Directory Browsing Optimization: Search results now prioritize displaying directories for quick location of project structure
- Error Message Display Improvements: Optimized diagnostic information for authentication errors to help locate and resolve issues faster
- Tool Control Optimization: Improved session-level tool disabling mechanism, providing more granular feature control

## 🐛 Bug Fixes

- Streaming Response Handling Fix: Fixed exception handling when response is empty, improving error message accuracy
- MCP Permission Batch Settings: Support for wildcard syntax to approve all tools of a server at once, simplifying permission management process
- Multi-line Input Navigation Fix: Corrected cursor positioning behavior of Home/End keys during multi-line text input
- Editor Error Prompt Optimization: Improved error prompt logic when external editor fails to open
- Search Timeout Optimization: File search timeout adjusted to 30 seconds to prevent zombie processes from consuming system resources
