Structs§
- Search
Result - Session
Archive - Session
Archive Metadata - Session
Archive Summary - Small archive metadata retained by desktop session-list queries.
- Session
Continuation Metadata - Session
Listing - Session
Message - Session
Progress - Session
Progress Args - Session
Snapshot - Verified
Session Archive Identifier - An archive identifier derived from a loaded session listing.
Enums§
- Session
Continuation Exhaustion Reason - Session
Continuation Recommended Action - Session
Fork Mode - Session
Progress Persistence Status - Outcome of an asynchronous session-progress checkpoint.
Constants§
- COLLAPSED_
TOOL_ OUTPUT_ NOTICE - Instruction supplied to the model when tool output is collapsed in the UI.
- SESSION_
DIR_ ENV - SESSION_
MAX_ AGE_ DAYS_ ENV - SESSION_
MAX_ FILES_ ENV - SESSION_
MAX_ SIZE_ MB_ ENV
Functions§
- apply_
session_ history_ config_ from_ vtcode - delete_
session_ archive - Delete one session archive by identifier. Returns false when no archive file exists. Invalid identifiers are rejected before any filesystem access.
- find_
session_ by_ id_ or_ name - Find a saved session by ID or name for TUI
/resumecommand. - find_
session_ by_ identifier - Find a session archive by its identifier (file stem) without needing to list all sessions.
- generate_
session_ archive_ identifier - history_
persistence_ enabled - is_
internal_ session_ context - Identify persisted model-only context that should not appear in a resumed transcript.
- list_
recent_ session_ summaries_ in_ workspace - List recent archives for a workspace while retaining only their navigation metadata.
- list_
recent_ sessions - list_
recent_ sessions_ in_ workspace - List the most recent archives for a workspace, applying the limit after workspace filtering.
- reserve_
session_ archive_ identifier - Reserve a unique session archive identifier for the current process.
- search_
sessions - Search for a query string across recent sessions.
Returns a list of
SearchResultsorted by relevance (or recency). - session_
listing_ matches_ workspace - session_
workspace_ path - sessions_
dir - Resolve the session archive directory for storage accounting.