Skip to content

[FEATURE]: Please add --resume <session name> like CC & Codex CLI #18569

Closed as not planned

Description

@maddada

Feature hasn't been suggested before.

  • 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.

Also add /rename is currently not working

Image

Thank you 🙏🏻

Operating System: macOS 26.3
OC version: 1.2.27

Activity

  1. added
    discussion
    on Mar 21, 2026
  2. added
    core
    on Mar 21, 2026
  3. github-actions commented on Mar 21, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    For the /rename bug you also mentioned, see:

  4. assigned and unassigned on Apr 26, 2026
  5. removed
    discussion
    core
    on May 3, 2026
  6. k88-de commented on Jun 4, 2026

    @k88-de

    +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 --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.

  7. rekram1-node commented on Jun 4, 2026

    @rekram1-node
    Member

    the title flag tells the cli what title to use rn

  8. github-actions commented on Aug 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions