CLI

Managing sessions from the CLI

A bare tbsp launch can reopen your last conversation. /new starts another one. /rename <name> changes the current session's name after the server confirms it; /session shows…

Start, name, or resume a session

A bare tbsp launch can reopen your last conversation. /new starts another one. /rename <name> changes the current session's name after the server confirms it; /session shows its ID.

/history lists saved sessions. /resume opens the recent-session picker; /resume <id> names a session directly. From the shell, tbsp --resume opens the picker, and tbsp --resume <id-or-name> resolves the supplied identifier. A name that matches several sessions requires a choice.

The picker is a recent list, not your whole archive. Use the TBSP application's Overview search to find an older session.

Import context without switching

Use /import-session to pick another conversation and import its summary into the current one. This adds context here; it does not switch to or branch that other session.

Rewind or branch

/rewind lists the checkpoints the server still holds. Selecting one restores the state before its prompt and removes that prompt and subsequent conversation from the current session. Availability is bounded by retained checkpoints; not every visible prompt is necessarily a target.

/branch uses the same checkpoint picker, but creates a new session and preserves the source conversation. Both actions are unavailable while the session is running or compacting. See Rewinding or branching for the distinction.

Manage context and recover the UI

CommandEffect
/clearReset the context the agent uses; older messages remain recoverable. Refused during a run or compaction.
/compact [focus]Request server-side summarization, optionally focused on a subject.
/resetReset local agent/UI state without clearing the transcript.

Follow background work

/watch lists background watches. /watch --status [id] shows detail; /watch --cancel [id] stops one. Without an ID, actions offer a picker. Watch outcomes can arrive while another turn is working; registering one does not itself end a turn. See Watches.

/code-review [request] starts the code-review playbook in the background. /code-review --status, /code-review --log [id], and /code-review --stop [id] inspect or stop its runs; an ID or unique prefix selects a specific run. /review is an alias. Use /playbooks for the broader playbook picker.

On this page