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
{{ message }}
Repository navigation
[FEATURE]: Please add --resume <session name> like CC & Codex CLI #18569
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Hey there,
I love to keep my previous sessions organized but OpenCode makes this the hardest because the name of the session can't be used with opencode -s '' to resume later.
Should be very easy to add but would make OC CLI have parity with the others in terms of session organization feature.
Being able to launch the TUI with a pre-set title:
opencode --title "Databricks Delta Migration"
or resume by name instead of ID:
opencode --session "Databricks Delta Migration"
Would be a meaningful quality-of-life improvement. Session IDs like ses_16bb212345kDWoWoWDqJfNice+Idea! are completely opaque when switching between multiple active workstreams.
The --title flag already exists on opencode run — extending it to TUI mode feels like a natural, low-effort addition that brings full CLI parity for session management.
Activity
github-actions commentedon Mar 21, 2026
This issue might be a duplicate of existing issues. Please check:
--sessionflag to accept session title/name (very similar — resume by name instead of ID)--session my-project)opencode run -s--resumeFor the
/renamebug you also mentioned, see:/renameor/session+ ctrl-r) not workingk88-de commentedon Jun 4, 2026
+1 on this.
Being able to launch the TUI with a pre-set title:
opencode --title "Databricks Delta Migration"or resume by name instead of ID:
opencode --session "Databricks Delta Migration"Would be a meaningful quality-of-life improvement. Session IDs like
ses_16bb212345kDWoWoWDqJfNice+Idea!are completely opaque when switching between multiple active workstreams.The
--titleflag already exists onopencode run— extending it to TUI mode feels like a natural, low-effort addition that brings full CLI parity for session management.rekram1-node commentedon Jun 4, 2026
the title flag tells the cli what title to use rn
github-actions commentedon Aug 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.