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
Wire FileHistoryRestore through core, create per-thread file-history checkpoints for user turns, and keep the pre-response Esc rewind path from leaving interrupted history behind.
Also bumps Open Codex to 0.133.3 and documents the rewind behavior for the release prompt.
Copy file name to clipboardExpand all lines: FEATURES.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,8 @@ Fast-moving prompt packs, hooks, setup flows, and project policies are better ha
53
53
|`/export`| Export the current session transcript to a user-chosen `.md` or `.txt` path. |`/export <path>`| Useful for debugging, archival, and sharing. |
54
54
| Renamed session identity | Renamed sessions show `Session: <name>` in the chat composer and use the name in quit guidance while keeping resume commands direct. |`/rename`, chat composer, quit summary | Resume hints use `open-codex resume <thread-id>` / `open-codex-dev resume <thread-id>` instead of picker wording. |
55
55
| Agent view session browser (beta) | Users can browse saved sessions, peek transcript content, resume a selected thread, or start a new session from the browser. |`codex agents`, composer Left arrow | Beta surface; useful for local session navigation but still expected to evolve. |
56
-
| Claude Code-style rewind UX | Double-Esc rewind supports code + conversation restore and a cleaner picker. | Double-Esc backtrack flow | Recent fixes tightened session scoping and ordering. |
56
+
| Claude Code-style rewind UX | Double-Esc rewind supports code + conversation restore and a cleaner picker. | Double-Esc backtrack flow | Recent fixes tightened session scoping, ordering, and pre-response Esc rewind. |
57
+
| Persistent code rewind checkpoints | Code restore uses per-thread file-history checkpoints that survive TUI exit/resume. | User turn start, apply_patch tracking, `FileHistoryRestore`| Restores tracked patch edits for the current thread only, not unrelated sessions or untracked global git state. |
57
58
| Revoke restore scope fix | Conversation-only restore no longer rolls back files. | Revoke/rewind restore logic | Fixed by `b6f62e4867`. |
58
59
| Esc interrupt routing | Single Esc interrupt and double-Esc rewind detection both work without blocking each other. | Composer key handling | Fixed by `0d20c120d8`. |
59
60
@@ -94,6 +95,13 @@ Fast-moving prompt packs, hooks, setup flows, and project policies are better ha
94
95
95
96
## Release Notes
96
97
98
+
### 0.133.3 - 2026-05-27
99
+
100
+
- Wire code rewind all the way through core: `FileHistoryRestore` now restores tracked file checkpoints instead of being a no-op.
101
+
- Persist file-history checkpoints under the current thread id, so code restore still works after quitting and resuming the same session.
102
+
- Start file-history checkpoints when a real user turn begins, matching Claude Code's snapshot-before-edits model while keeping restore scoped to the current Open Codex thread.
103
+
- Extend the pre-response Esc rewind path so the submitted prompt returns to the composer, the interrupted turn is rolled back from conversation history, and the transient interrupt notice is not left behind.
104
+
97
105
### 0.133.2 - 2026-05-25
98
106
99
107
- Extend Claude-style Esc rollback through the `TurnStarted`-before-first-output window: if the model has not emitted assistant text, reasoning, plan output, or tool/command activity yet, Esc restores the submitted prompt to the composer and interrupts the turn.
Copy file name to clipboardExpand all lines: README.md
+30-6Lines changed: 30 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,19 @@ From recent fork-specific changes:
127
127
128
128
This brings a Claude Code-style export flow into the TUI without requiring external scripts or manual transcript scraping.
129
129
130
-
### 6. Reasoning effort controls and per-turn status visibility
130
+
### 6. Claude Code-style rewind and persistent code restore
131
+
132
+
From recent fork-specific changes:
133
+
134
+
- double-Esc rewind supports conversation restore, code restore, or both from the same picker
135
+
- pre-response Esc rewind treats a just-submitted query as editable again: the prompt returns to the composer, the interrupted turn is removed from conversation history, and no stale interrupt notice is left behind
136
+
- code restore records per-thread file-history checkpoints before a real user turn can edit files
137
+
- checkpoints are stored under the thread id, so restore still works after quitting and resuming the same session
138
+
- code restore is scoped to tracked edits in the current session thread; it does not reset unrelated sessions or global git state
139
+
140
+
This keeps rewind close to Claude Code's workflow while preserving Open Codex's session/thread boundaries.
141
+
142
+
### 7. Reasoning effort controls and per-turn status visibility
131
143
132
144
From recent fork-specific changes:
133
145
@@ -141,7 +153,7 @@ From recent fork-specific changes:
141
153
142
154
This keeps two intent levels separate: `Shift+Tab` is a persistent speed/default switch, while `ulw`/`ultra`/`xhigh` markers stay current-turn-only. The status line describes the active foreground turn without making a temporary marker look like a persistent configuration change.
143
155
144
-
### 7. Lightweight `/btw` side questions
156
+
### 8. Lightweight `/btw` side questions
145
157
146
158
From recent fork-specific changes:
147
159
@@ -151,7 +163,7 @@ From recent fork-specific changes:
151
163
152
164
This is intended for "by the way" questions that are useful during work but should not become the primary task thread.
153
165
154
-
### 8. Parallel-first subagent planning policy
166
+
### 9. Parallel-first subagent planning policy
155
167
156
168
Implemented through the user-scope `~/.codex/AGENTS.md` instruction layer, with an extracted repo example in [`docs/open-codex/parallel-first-agent-execution.md`](docs/open-codex/parallel-first-agent-execution.md):
0 commit comments