Roo-Code/packages
Roo Code 4d8071551c fix: wire up maxReadFileLine setting to ReadFileTool
The maxReadFileLine setting existed as a type definition and in the
webview default state but was never actually wired into the ReadFileTool
or the tool description. The tool always used the hardcoded
DEFAULT_LINE_LIMIT of 2000 lines regardless of the setting.

This commit:
- Adds maxReadFileLine to ClineProvider.getState() so it flows through
  the state pipeline
- Passes maxReadFileLine through getNativeTools -> createReadFileTool
  so the tool description reflects the actual configured limit
- Uses maxReadFileLine in ReadFileTool.processTextFile() to override
  DEFAULT_LINE_LIMIT at runtime
- Adds resolveLineLimit() helper: -1 = default (2000), 0 = no limit
  (read entire file), positive = custom limit
- Adds tests for resolveLineLimit and createReadFileTool options

Fixes #11754
2026-02-26 11:24:38 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud feat: update cloud settings refresh interval to one hour (#11749) 2026-02-25 21:05:56 -08:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes (#11736) 2026-02-24 23:29:50 -08:00
evals Fix spelling/grammar and casing inconsistencies (#11485) 2026-02-24 14:22:22 -07:00
ipc feat: add DeleteQueuedMessage IPC command (#11464) 2026-02-18 10:42:48 -07:00
telemetry fix(condense): remove custom condensing model option (#10901) 2026-01-22 20:06:04 -05:00
types fix: wire up maxReadFileLine setting to ReadFileTool 2026-02-26 11:24:38 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00