You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Codex has a nice feature where:
Sessions are all grouped under their own project like a tree so you can open/close projects or re-order them.
When you right click on a project, it gives you option to "archive" all sessions.
(most useful) under each project you see at most 5 sessions and the rest is hidden by default. with a link to
"show more" which when clicked shows all sessions.
Ability to "pin" a specific session so it appears on top.
These features are pretty useful for cases when user has multiple projects and sessions and tries to organise them.
Thanks for the suggestion! You're asking for a Codex-style session sidebar: sessions grouped in collapsible projects that you can reorder, a right-click action that archives all of a project's sessions, at most 5 sessions per project with a "show more" link, and pinned sessions at the top. Maintainers will consider it.
Several parts of this are already tracked, if you'd like to follow or upvote them:
+1, this is the part that hurts once you have more than two or three projects. Until a grouped sidebar lands, a workaround that gets you most of the way from the CLI: opencode session list --format json includes each session's directory, so you can group by project and keep the newest 5 per project:
Then opencode -s <id> (or --fork) reopens the one you want, and opencode session delete <id> clears the old ones by hand. Not as nice as archive or pin in the UI, but it makes "which session was that, in which repo" a one-liner.
Disclosure: I build VibeiDE, which keeps a task list per project for Claude Code, Codex and OpenCode, so I'm biased toward the grouping you describe.
Activity
opencodejr commentedon Nov 4, 2026
Thanks for the suggestion! You're asking for a Codex-style session sidebar: sessions grouped in collapsible projects that you can reorder, a right-click action that archives all of a project's sessions, at most 5 sessions per project with a "show more" link, and pinned sessions at the top. Maintainers will consider it.
Several parts of this are already tracked, if you'd like to follow or upvote them:
ngPati commentedon Nov 5, 2026
+1, this is the part that hurts once you have more than two or three projects. Until a grouped sidebar lands, a workaround that gets you most of the way from the CLI:
opencode session list --format jsonincludes each session'sdirectory, so you can group by project and keep the newest 5 per project:Then
opencode -s <id>(or--fork) reopens the one you want, andopencode session delete <id>clears the old ones by hand. Not as nice as archive or pin in the UI, but it makes "which session was that, in which repo" a one-liner.Disclosure: I build VibeiDE, which keeps a task list per project for Claude Code, Codex and OpenCode, so I'm biased toward the grouping you describe.