Sessions
Resume, fork, branch, compact, and export transcripts.
Every turn is appended to a JSONL transcript under $ZOT_HOME. Resume the last session with -c, pick one with -r, or browse them all from /sessions. Jump between past turns with /jump without editing history.
Free up context without losing the thread with /compact, which summarizes the transcript into a single message and keeps the last few exchanges verbatim. zot auto-compacts when you cross 85% of the model's context window.
Heavier operations
/session exportwrites the transcript to a portable.zotsessionfile./session importpulls one back in as a first-class resumable session./session forkbranches from any past user message into a new session./session treeshows every branch in this directory and lets you switch into any of them.