Files
codex/codex-rs
Owen Lin e87e2b495b Support includeTurns reads for paginated threads (#36993)
## Why

Clients using `thread/read` with `includeTurns: true` need the legacy full-history
view even when a thread stores its history in paginated form.

## What changed

- Reconstruct full projected turns from paginated history for both stored and
  loaded threads.
- Keep `thread/turns/list` and `thread/items/list` as the preferred incremental
  history APIs.

## Testing

- Cover `thread/read(includeTurns=true)` before and after a paginated thread is
  loaded.

GitOrigin-RevId: 6efdc04e5ed3cad2ff2078d8103933082c7921db
2026-08-04 23:19:41 +00:00
..
2026-07-29 13:53:15 +00:00
2026-07-29 13:53:15 +00:00