4 Commits
Author SHA1 Message Date
adnaan 10d5a3aacd feat: Enhance read_file tool schema to merge path and paths, improving usability
- 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.
2026-08-25 23:54:57 +08:00
adnaan 58b9f4dfb4 refactor: enhance tool routing and semantic navigation logic
- 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.
2026-08-24 18:36:25 +08:00
kerwin2046 e0633b9fa5 feat: implement external file access request 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.
2026-08-21 16:08:22 +08:00
adnaan c7699b4c54 feat:optimize call parameter validation to improve execution accuracy 2026-03-19 17:21:52 +08:00