Codex CLI Keeps Drafts and Queued Follow-ups With Their Original Threads
Codex CLI 0.171.0 preserves drafts, queued follow-ups and interrupted input with their original threads when switching or resuming sessions. It also keeps earlier edits in aggregate diffs when steering an active turn and fixes scrolling and caret glitches.
Key Takeaways
- Drafts stay with their original thread.
- Queued follow-ups are preserved.
- Interrupted input survives session switches.
- Aggregate diffs keep earlier edits when steering.
- Approvals are no longer cancelled by late events.
- Fixed in Codex CLI 0.171.0.
Input stays with its thread
In Codex CLI 0.171.0, drafts, queued follow-up messages and interrupted input remain attached to the thread they were written in when users switch between or resume sessions. Previously input could be lost or land in the wrong place.
Other fixes in the release
- Earlier edits stay visible in aggregate diffs when a user steers an active turn.
- Permission profiles stay intact when the working directory changes.
- Late completion events no longer cancel approvals that belong to a newer turn.
- Fixed scrolling that inserted stray characters, composer caret jumps, and redraws using stale terminal dimensions.
- Fixed enterprise MCP sign-in for identity providers that issue ID tokens without refresh tokens.
Why it matters
Multi-session workflows are common with the terminal workspace and side chats, so keeping input scoped to the right thread removes a frequent source of lost work.