Codex VsCode - Local Project History Save - Change Request

I’m not sure where feedback or requests for OpenAi go.

When VScode is closed and reopened project history for local projects is gone. Can you have it save locally so the chat context is still available?

Similar to a chat in ChatGPT itself?

1 Like

Bump, please fix this. On windows I have zero chat history showing up locally.

2 Likes

Thank you for the idea - I have left the feedback here and encourage others to do so:

https://github.com/Gargantubrain/JsonlToMD

I started keeping my chat history files since it’s easier and faster to search through them vs opening old chats directly from Cursor/VSC. After trying the Codex extension, then looking for how to export Codex’s tasks/chat history, I found that the Codex extension has no export.

The Codex extension creates rollout.jsonl files and that’s it. Today, I found the same issue as this thread – Cursor opened and the Codex extension suddenly refused to show me any of the tasks history any more, even though the .jsonl files were still where they always were.

I made JsonlToMD to process the rollout.jsonl into markdown so I can keep my own chat history in markdown format. I added useful command line switches for flexiblity. It’s written in C# and it uses NO dependencies so it is super lightweight and completely cross-platform Mac/Windows/Linux.

There is information in the readme on where Codex put the chat/task history files – that’s where I found mine and then I was able to convert them so I can rename them how I want, and keep them with my project such as in the docs/chat/ folder

I hope you find this helpful and enjoy! @cushion-taffies-04 @ryanp

2 Likes
Yes, same problem we absolutely need a fix for this

Seems to fixed now via an update.

Seems this bug just came back after Codex upgrade this morning

1 Like

Also got the issue back after the last update. rollout-*.jsonl are still there but the history is not being picked up by the extension.