Expand description
Session persistence — Claude Code compatible JSONL format.
Modules:
traits— MessageRole, AgentMessage, EntryTypeformat— PersistedMessage, parse_entry, make_persistedtime— ISO timestamps, UUID v7 extraction, truncationstore— Session struct (CRUD, trimming)meta— SessionMeta, list/search/import
Re-exports§
pub use traits::AgentMessage;pub use traits::EntryType;pub use traits::MessageRole;
Modules§
- traits
- Core traits and types for the session system.
Structs§
- Session
- Session manager: JSONL persistence, history access, context trimming.
- Session
Meta - Metadata about a saved session (lightweight, no full message load).
Functions§
- import_
claude_ session - Import a Claude Code session JSONL into our session directory.
- list_
sessions - List all sessions in a directory, sorted by creation time (newest first).