List and switch between sessions

sessions & tui

// what it does

/sessions opens a picker of past conversations in the current project; select one to jump back into its full history and context. From the shell, opencode session list prints them non-interactively (limit with -n), and opencode -c reopens the most recent one directly.

// shortcut

Ctrl+X L

// shell

$ /sessions
$ opencode session list
$ opencode -c

// gotcha

Sessions are scoped per project directory — a conversation started in one repo will not appear in another. If a session is missing, confirm you launched opencode from the same root.

// resources