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

Open
opened 2026-02-16 18:09:55 -05:00 by yindo · 0 comments
Owner

Originally created by @huynguyen03dev on GitHub (Feb 3, 2026).

Originally assigned to: @rekram1-node on GitHub.

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
Originally created by @huynguyen03dev on GitHub (Feb 3, 2026). Originally assigned to: @rekram1-node on GitHub. ## 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
yindo added the opentui label 2026-02-16 18:09:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8415