Files
codewhale/crates
Zhiping 5875253d12 feat(read_file): add range-based reading with bounded output
Add start_line/max_lines optional parameters to read_file for
line-range reading. Large files now return at most 200 lines (~16KB)
by default, with continuation hints to read the rest.

- start_line/max_lines: optional, 1-based, default 1/200, max 500
- Small files (≤200 lines, ≤16KB) returned unchanged when no range
- UTF-8-safe byte truncation at 16KB for dense content
- Returns total_lines, shown_lines, truncated, next_start_line
- Continuation hint using read_file itself (no new tools)

Schema backward compatible; large-file default behavior intentionally
bounded to prevent context bloat.
2026-05-11 21:05:31 +08:00
..
2026-05-10 18:21:58 -05:00
2026-05-10 18:21:58 -05:00
2026-05-10 18:21:58 -05:00
2026-05-10 18:21:58 -05:00
2026-05-10 18:21:58 -05:00
2026-05-10 18:21:58 -05:00
2026-05-10 18:21:58 -05:00
2026-05-10 18:21:58 -05:00