mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## Why Accepted handoffs and saved transcript chunks need to appear in realtime history. Their text can come from the same user message that model history uses, avoiding a second persisted copy for the receipt. ## What changed - Reconstruct `turnInputAccepted` and transcript chunk receipts from user messages annotated with realtime provenance. Use the stored observation time when restoring the realtime clock. - Replace `sessionEndInputSaved` in the app-server protocol with `sessionInputSaved` and a `reason` of `chunk` or `sessionEnd`. Update the generated schemas and bindings. ## Testing Add coverage for reconstructing both receipt types, preserving rollout order in paginated realtime history, and restoring observation time across a restart after wall-clock rollback. GitOrigin-RevId: fcb4e0e539f4e4066726e83fa1e945fb659a2ca8