Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: drop undo from the docs (#8431)

jif-oai45727b9ed38e
diff --git a/codex-rs/tui/tooltips.txt b/codex-rs/tui/tooltips.txt
index b15bcdbd12..33e891611b 100644
--- a/codex-rs/tui/tooltips.txt
+++ b/codex-rs/tui/tooltips.txt
@@ -1,6 +1,5 @@
Use /compact when the conversation gets long to summarize history and free up context.
Start a fresh idea with /new; the previous session stays in history.
-If a turn went sideways, /undo asks Codex to revert the last changes.
Use /feedback to send logs to the maintainers when something looks off.
Switch models or reasoning effort quickly with /model.
You can run any shell command from Codex using `!` (e.g. `!ls`)
diff --git a/codex-rs/tui2/tooltips.txt b/codex-rs/tui2/tooltips.txt
index b15bcdbd12..33e891611b 100644
--- a/codex-rs/tui2/tooltips.txt
+++ b/codex-rs/tui2/tooltips.txt
@@ -1,6 +1,5 @@
Use /compact when the conversation gets long to summarize history and free up context.
Start a fresh idea with /new; the previous session stays in history.
-If a turn went sideways, /undo asks Codex to revert the last changes.
Use /feedback to send logs to the maintainers when something looks off.
Switch models or reasoning effort quickly with /model.
You can run any shell command from Codex using `!` (e.g. `!ls`)
diff --git a/docs/config.md b/docs/config.md
index 77d4a9adc2..f05b3edbe9 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -45,7 +45,6 @@ Supported features:
| `apply_patch_freeform` | false | Beta | Include the freeform `apply_patch` tool |
| `view_image_tool` | true | Stable | Include the `view_image` tool |
| `web_search_request` | false | Stable | Allow the model to issue web searches |
-| `undo` | true | Experimental | Capture a ghost snapshot each turn to enable undo |
| `enable_experimental_windows_sandbox` | false | Experimental | Use the Windows restricted-token sandbox |
| `tui2` | false | Experimental | Use the experimental TUI v2 (viewport) implementation |
| `skills` | false | Experimental | Enable discovery and injection of skills |
diff --git a/docs/example-config.md b/docs/example-config.md
index b894867fac..bfc467baf8 100644
--- a/docs/example-config.md
+++ b/docs/example-config.md
@@ -217,7 +217,6 @@ unified_exec = false
apply_patch_freeform = false
view_image_tool = true
web_search_request = false
-undo = true
enable_experimental_windows_sandbox = false
skills = false
diff --git a/docs/slash_commands.md b/docs/slash_commands.md
index c1f9daf9d4..03c4049b52 100644
--- a/docs/slash_commands.md
+++ b/docs/slash_commands.md
@@ -19,7 +19,6 @@ Control Codex’s behavior during an interactive session with slash commands.
| `/resume` | resume an old chat |
| `/init` | create an AGENTS.md file with instructions for Codex |
| `/compact` | summarize conversation to prevent hitting the context limit |
-| `/undo` | ask Codex to undo a turn |
| `/diff` | show git diff (including untracked files) |
| `/mention` | mention a file |
| `/status` | show current session configuration and token usage |