mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## Why Cloud turn and item pages can reflect different points in time. A reply restored from history may still be unfinished even when its turn is marked complete. When the final text arrives, the TUI can leave a stale prefix in the transcript or put the final reply after intervening tool output. ## What changed Track Cloud replies by turn and item across history replay, pagination, and live streaming. Reserve a transcript position even for an unfinished reply with no visible text. When it completes, replace its fragments in place or remove them if the final text contains only hidden directives. Keep late completions from interrupting another reply's stream. Preserve transcript order when choosing the latest copyable reply. When a turn completion notification has no response text, fall back to the latest completed response from that turn. ## Testing Cover replies restored from older history pages, late completions during another stream, and directive-only completions that remove a visible prefix. Check the resulting transcript order, copy text, and notification fallback. GitOrigin-RevId: a0abb75bf1378524461a519fe9a0656e15bca4bf