Expose thread/session UUID in Codex Desktop and resume UI with a copy action
Feature request
Codex should expose the current thread/session UUID directly in user-facing surfaces, with a one-click copy action.
Problem
The UUID is an important recovery and interoperability primitive. For example, a valid local thread may sometimes be recoverable with:
codex resume <SESSION_ID>
even when it is difficult to locate through normal history or resume UI.
Today, users may have to inspect local rollout filenames or session metadata to discover the UUID. That makes a supported recovery mechanism depend on knowledge of internal storage layout.
Requested behavior
Please expose the thread/session ID in places such as:
- Codex Desktop thread details / context menu
- the CLI
resumepicker - a "Copy thread ID" action
- optionally a stable deep-link / "Copy link to thread" action
The ID does not need to be prominent in the normal UI; an advanced/details section is sufficient.
Why this matters
This would make several workflows safer and simpler:
- recovering a thread by exact ID
- moving between Desktop and CLI
- reporting a specific thread in diagnostics without inspecting JSONL files
- scripting or orchestration around existing threads
- distinguishing similarly named threads
Users should not need to grep ~/.codex/sessions or parse rollout filenames just to obtain an identifier that Codex itself already uses for resume and thread APIs.
Privacy note
This request intentionally contains no real thread IDs, local paths, transcript contents, project names, screenshots, or diagnostic logs.
Until that lands: the UUID is in the rollout filename under ~/.codex/sessions/, so you can pass it to codex resume <id>. I'm the author of Sesame, a free open-source macOS app that reads ~/.codex/sessions locally and lets you find a past session by what it produced: https://github.com/qiwei66/sesame
i support this request. recovering sessionId should be very easy (it used to appear in on a right click on the task name) as its a very common signal in codex.