Commit db8d3c6
committed
feat(read): surface lines-read/total in Read transcript label
Cursor ReadArgs = { path } only — no offset/limit (cursor-sdk-shared
ReadArgsSchema is a strip object). Two same-path reads are re-reads of
identical content, never different sections.
Derive per-call detail from result instead: count content lines and
compare to totalLines. Title becomes e.g. "handlers.go (2000/5000 lines)"
so a reader can spot redundant re-reads and see truncation at a glance.
Also stores linesReturned + fileSize in block metadata, and documents
the no-range constraint in a comment above the adapter so the question
does not recur.1 parent fbba872 commit db8d3c6
2 files changed
Lines changed: 41 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
316 | 325 | | |
317 | 326 | | |
318 | 327 | | |
| |||
321 | 330 | | |
322 | 331 | | |
323 | 332 | | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
324 | 339 | | |
325 | | - | |
| 340 | + | |
326 | 341 | | |
327 | 342 | | |
328 | 343 | | |
| 344 | + | |
329 | 345 | | |
| 346 | + | |
330 | 347 | | |
331 | 348 | | |
332 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
897 | | - | |
| 897 | + | |
898 | 898 | | |
899 | | - | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
900 | 921 | | |
901 | 922 | | |
902 | 923 | | |
| |||
0 commit comments