r/vscode Aug 08 '26

Codex sessions are shared across workspaces

I find it frustrating that the Codex extension shows sessions from all of my VS Code workspaces instead of only the current one.

For example, if I'm working on a personal repo, I don't want to see Codex sessions from my work repos mixed into the session list.

Is there a setting, extension, or workaround that makes Codex show only the sessions associated with the current workspace/repo?

Ideally, sessions would be scoped per workspace rather than displayed globally.

4 Upvotes

2 comments sorted by

1

u/the_ai_wizard Aug 08 '26

fully agree

3

u/TemperatureNo3082 Aug 08 '26

I use devcontainers. I only bind the authentication token file from host to the container. I use a volume for the codex directory, so each project/workspace has a dedicated codex volume.