- Updated the read_file schema to allow both path and paths to coexist without conflict, treating them as a union.
- Implemented logic to normalize input, ensuring that empty paths do not persist and that valid single or multi-file requests are processed correctly.
- Added comprehensive tests to cover various scenarios, including regression tests for previously failing cases.
- Introduced memory leak detection improvements in PerformanceMonitor, with new thresholds and conditions to avoid false positives during startup.
- Added synchronous log flushing in Logger to ensure critical logs are not lost during process exit.
- Enhanced AiAttributionService to improve commit analysis and caching of existing notes.
- Updated prompt templates to clarify tool usage guidelines and improve batch operations.
- Refactored tool executors to include compact agent symbols and adjust symbol depth handling.
- Removed redundant semantic navigation checks from LoopDetector and introduced ToolRoutingAdvisor for better routing advice.
- Added comprehensive tests for ToolRoutingAdvisor to ensure correct routing suggestions and behavior.
- Improved read file utilities to handle multiple file paths more effectively and normalize input arguments.
- Updated localization files to include new routing feedback messages and suggestions.
- Removed outdated tests related to semantic navigation in LoopDetector and added new tests for routing advisor functionality.
and fix#158
- Added `requestExternalFileAccess` method to the Electron API for requesting access to files outside the workspace.
- Enhanced security handling in `secureFile.ts` to manage external file access requests with user confirmation.
- Updated `resolvePath` function in executors to support external file access under strict workspace mode.
- Modified user file access logic to include 'agent-read' as a valid grant source.
- Improved tests to cover new external file access functionality and ensure proper authorization handling.