This PR addresses Issue #10239 by:
1. Adding line_range parameter support to simpleReadFileTool
- Models using the simple read_file tool can now use <line_range>start-end</line_range>
- Enables incremental file reading for models that previously could not continue reading truncated files
2. Improving truncation notices across both tools to include:
- The exact next line number to continue from
- A concrete example of the syntax to use (e.g., <line_range>501-1000</line_range>)
3. Updated tool description in simple-read-file.ts to document the new parameter
Files modified:
- src/core/prompts/tools/simple-read-file.ts
- src/core/tools/simpleReadFileTool.ts
- src/core/tools/ReadFileTool.ts
- src/shared/tools.ts (added line_range to toolParamNames)