Skip to content

docs(codex): add Resume a session section#291

Open
OndrejDrapalik wants to merge 1 commit into
mainfrom
int-85-codex-resume
Open

docs(codex): add Resume a session section#291
OndrejDrapalik wants to merge 1 commit into
mainfrom
int-85-codex-resume

Conversation

@OndrejDrapalik

Copy link
Copy Markdown
Contributor

What

Adds a ## Resume a session section to the Codex agent page (docs/agents/codex.mdx), between "Streaming events" and "Image input" — mirroring the Claude Code page's resume section.

Upstream Codex CLI has supported headless session resumption since rust-v0.36.0 (openai/codex#3537): run the first task with codex exec --json, capture thread_id from the thread.started event, then codex exec resume <thread_id> "follow-up". Our page documented none of it.

Verification

Both tabs are verbatim-runnable — extracted byte-identical from the mdx and executed against real E2B sandboxes (template codex-cli 0.142.5), exit 0, with cross-turn state recall confirmed (turn 2 implements the plan created in turn 1).

Notable: the flag ordering matters on current codex — -C is rejected after the resume subcommand, so the prose documents passing it before (codex exec -C /home/user/repo resume <id> "..."). Also verified: codex exec resume --last, and resume composing with sandbox pause()/connect().

mintlify broken-links passes; <CodeGroup> tags balanced.

Linear

Fixes INT-85

@linear-code

linear-code Bot commented Jul 10, 2026

Copy link
Copy Markdown

INT-85

@cla-bot cla-bot Bot added the cla-signed label Jul 10, 2026
@mintlify

mintlify Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
e2b 🟢 Ready View Preview Jul 10, 2026, 9:42 PM

@OndrejDrapalik OndrejDrapalik marked this pull request as ready for review July 10, 2026 22:16
@OndrejDrapalik OndrejDrapalik requested a review from beran-t July 13, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant