Save chat/history in the VS Code Codex extension #2956
Replies: 3 comments 2 replies
-
|
I support this request but I even do not care if it is not per workspace basis. So it is just matter of integrating it into the MCP bridge part of the plugin and render it in webview. (I was able to modify the plugin for myself and the histories of previous sessions showed up, |
Beta Was this translation helpful? Give feedback.
-
|
This desperately needs to be per workspace, its so much worse than cursor or windsurf |
Beta Was this translation helpful? Give feedback.
-
|
FWIW, Codex actually already has a pretty solid story for logging chats — it’s just not exposed as a nice per-workspace history UI in the VS Code extension yet. Local tasks (whether started from the CLI or from the VS Code extension) get written as JSONL “rollout” files under something like: ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl Those files contain the full conversation: user/assistant messages, tools, errors, etc. That’s how codex resume works and how various small tools/scripts can reconstruct past sessions. The problem you’re running into is mainly on the UI side: the VS Code extension doesn’t yet surface that history in a stable, per-workspace way, so it feels like chats just disappear when you close the window or restart. As a workaround, I’ve been building a small companion app called Agent Sessions that sits directly on top of ~/.codex/sessions and treats those rollout logs as the source of truth. That obviously doesn’t replace a first-class history panel inside the Codex extension (which I agree would be ideal), but it does solve the core “I want persistent, per-project history I can browse and search” problem today, without needing any extra config in Codex itself. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Right now, Codex preserves conversations on GitHub (PR reviews), but the VS Code extension doesn’t offer a built-in “save chat/history” view. This makes it hard to revisit past sessions or share context. Feature request: add persistent, searchable chat history in the extension (per workspace), with export/share options and optional sync to PRs.
Beta Was this translation helpful? Give feedback.
All reactions