Session Management
Fork
Want to try a different direction without losing current progress:
- Find the assistant message to fork from
- Hover and click “Fork from here”
- Choose how to continue: New chat (same directory), or—for Git projects—Continue in a new worktree (changes fully isolated; see Git Worktrees)
- Original session is unaffected; switch between both to compare
The fork carries the full context up to that point, including:
- Sub-agents: any still running are marked canceled and don’t continue into the fork
- Historical artifacts, referenced text, attachments, and notes
- Approval mode and unlocked tool grants
Choosing a new worktree carries uncommitted changes (including new files), so work in progress is never lost.
Rewind
Unsatisfied with the direction after a message:
- Hover the user message and click “Rewind”
- Content after that message is no longer read by the agent
- Message text auto-fills the composer for editing and resending
Rewind doesn’t delete history; it just stops the agent from reading beyond that point.
Retry
Hover an assistant reply and click “Retry”: a retry sub-session is created from before the user message, resent verbatim. The original stays intact; multiple retries converge in the same sub-session.
Session Titles
After your first message in a new session, the title is generated by AI (up to 80 characters); if generation fails, it falls back to a temporary title from the first 80 characters of your message, so the session is never blank. Names you set manually are never overwritten.
When renaming (sidebar button, context menu, or /rename), the dialog pre-fills an AI-suggested title based on the recent conversation. Adopt it or edit freely—the suggestion isn’t written until you confirm.
Export
More menu “Export” or /export: exports as Markdown, sectioned by role, with thinking collapsed and tool calls listed.
Compact Context
When approaching the token limit, use /compact or the more menu:
- Agent distills history into a summary
- A “Context Compacted” marker appears (showing message count and tokens)
- History remains visible; the marker shows where the model stops reading
- Markers persist across restarts
Append custom instructions: /compact focus on technical decisions.
Session Search
Cmd/Ctrl+F opens the search dialog: title + full-text search with keyword highlighting; click to jump to the session. With cloud enabled, search can be scoped to “Local / Cloud”.
Side Chat
Right panel “+” menu → Side Chat:
- Independent parallel conversation without interrupting the main task
- Full message stream (thinking/tools/artifacts)
- No sub-agents, plan mode, or forking
- Closes = destroyed (content unrecoverable)
Perfect for quick side questions while a long task runs.