Skip to main content

Module session

Module session 

Source

Structs§

Session
Manages a session’s lifecycle: writing entries to the JSONL file.
SessionMeta
Metadata about a session, stored as the first line of the JSONL file.
SessionStore
Handles persistence of sessions as JSONL files in a directory.

Enums§

SessionEntry
A single line in the session JSONL file.
SessionError
Error type for session I/O operations.

Functions§

format_age
Format a duration in seconds as a human-friendly age string.