2 Commits

Author SHA1 Message Date
Marcello Pichini
5901993bcb fix(tools): resume read_file after the last line shown (#2850)
When the numbered page exceeded the 128k-character budget, read_file cut
the text mid-page but still reported the requested range: the hint
pointed past lines that were never shown, or claimed the end of the
file. Stop at the last whole line that fits and base the continuation
offset on it.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:41:54 +08:00
Bingxi Zhao (Frank)
46093e5e2b update msg 2026-06-11 20:03:34 +08:00