Skip to main content

Module session_manager

Module session_manager 

Source
Expand description

Session management for persistent, resumable agent sessions.

Maintains a session index in the sessions directory with metadata (name, last task, timestamp, token usage, completion status). Supports auto-save, listing, resume, rename, and delete operations.

Structsยง

SessionEntry
Metadata for a session entry in the session index.
SessionIndex
The session index stored as a JSON file.
SessionManager
Manages session persistence, indexing, and resume.