You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(read-file): keep Use offset= through the reactor 10k cap
Footer-bearing read_file pages already skip the leisure 10k cut so
the 50KB page and its continuation footer reach the reactor. The
always-on size-cap then sliced the first 10k of the body and dropped
Use offset=. Skip that cap for the same pages leisure skips.
Dead offsets on files larger than the 8MB scan ceiling now report
beyond-EOF with the path and valid range. Skip bytes still do not
count against the scan ceiling.
Copy file name to clipboardExpand all lines: vendor/intx-inference/PATCHES.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -575,6 +575,7 @@ revisit point is the next vendored sync (see `docs/VENDORING.md`).
575
575
| state-ts-deep-freeze-turns-revision | Make `ReactorState.snapshot().turns` a lazy, revision-tracked getter | Alexander Guy <alexander.guy@pm.me> | This ledger (#state-ts-deep-freeze-turns-revision) | Next vendored sync |
576
576
| inference-ts-cl-7783-truncated-tool-call | Surface `stop_reason`/`finish_reason` on usage events; fail the turn instead of dispatching unparseable tool calls at end-of-stream finalization | Alexander Guy <alexander.guy@pm.me> | This ledger (#inference-ts-cl-7783-truncated-tool-call) | Next vendored sync |
577
577
| google-genai-files-ts-body-init-cast | Widen `BodyInit` to accept Node's `Uint8Array` typing so the cast can be removed | Alexander Guy <alexander.guy@pm.me> | This ledger (#google-genai-files-ts-body-init-cast) | Next vendored sync |
578
+
| size-cap-ts-paged-read-file | Skip `createSizeCapTransform` for footer-bearing `read_file` pages so `Use offset=` survives the default 10k cap | Alexander Guy <alexander.guy@pm.me> | This ledger (#size-cap-ts-paged-read-file) | Next vendored sync |
578
579
579
580
Contact basis: identified from the read-only upstream clone
580
581
(`faremeter/interchange`); Alexander Guy <alexander.guy@pm.me> is the
@@ -605,6 +606,21 @@ the two on next sync, and consider restoring the dropped guard suite.
605
606
**Removal path:**
606
607
Upstream adding `claude-fable-5-1` to its own `ADAPTIVE_THINKING_MODELS`.
607
608
609
+
## size-cap-ts-paged-read-file
610
+
611
+
`transforms/size-cap.ts` — Footer-bearing `read_file` pages already carry a
612
+
plain `Use offset=N to continue.` contract and are sized to the 50KB page
613
+
budget. The default 10k size-cap would slice the body and drop the footer,
614
+
stranding pagination. Pass those pages through unchanged (no spill). Other
615
+
`read_file` results, and any other tool, still cap as before.
616
+
617
+
**Disposition:** Promotion candidate. Requires upstream to skip size-cap when
618
+
a `read_file` result already names the next offset. Downstream users that
619
+
never emit that footer are unaffected.
620
+
**Removal path:** Upstream PR to `@intx/inference` exempting footer-bearing
621
+
`read_file` pages from `createSizeCapTransform`.
622
+
**Re-carry:** isolated predicate at the start of `apply`; low merge risk.
623
+
608
624
---
609
625
610
626
The `void track(p)` → `track(p)` change at three call sites in `reactor.ts`
0 commit comments