Skip to content

feat: add /session-id command to copy session ID to clipboard #11937

Description

@huynguyen03dev

Problem

There's no easy way to copy the current session ID in the TUI. Users need session IDs for:

  • Referencing specific sessions in conversation ("continue from session X")
  • Handoff workflows between sessions
  • Manual session lookups with session_read/session_search tools
    Currently requires mouse-selecting from status bar or running session_list and scanning output.

Proposed Solution

Add a /session-id slash command that copies the current session ID to clipboard with a toast confirmation.
~10 lines, similar pattern to existing commands. I have a working implementation ready.

Alternatives Considered

  • /copy-session-id — too verbose compared to other slash commands (/editor, /skills)
  • Keybind only — less discoverable than slash command

Activity

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

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions