mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* fix: restore file truncation backward compatibility and fix regressions Fixes #1934 - Setting maxReadFileLine=-1 provides equivalent functionality for reading entire files - Revert to system-controlled maxReadFileLine for file truncation, fixing regressions with: - Overridden system prompts lacking auto_truncate parameter information - Insufficient user control over truncation behavior - Add 'Always read entire file' checkbox for easier access to full file reading - Update translations across all locales with improved descriptions - Update truncation notice to be more concise Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org> * test: add comprehensive tests for read_file maxReadFileLine settings - Tests behavior when maxReadFileLine is -1 (reads entire file) - Tests behavior when maxReadFileLine >= file length (reads entire file) - Tests behavior when maxReadFileLine is 0 (shows only definitions) - Tests behavior when maxReadFileLine < file length (truncates content) - Verifies exact line counts in responses - Adds helper functions for response validation - Includes DEBUG flag for controlled logging --------- Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org> Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org> |
||
|---|---|---|
| .. | ||
| .storybook | ||
| public | ||
| src | ||
| .eslintrc.json | ||
| .gitignore | ||
| .npmrc | ||
| components.json | ||
| index.html | ||
| jest.config.cjs | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||