0cb4a7402b
- Refactored runRg function signature to accept an options object with signal and timeoutMs properties instead of a direct signal parameter. - Enhanced timeout error handling in grep.ts to catch ptree.TimeoutError exceptions and throw descriptive ToolError messages. - Added proper resource disposal calls in extension-ui-controller.ts to dispose of hook selector and hook input before clearing editor containers. - Simplified timeout handling by moving from AbortSignal-based approach to direct timeoutMs parameter in options object across system-prompt.ts, find.ts, and read.ts.