Expand description
Session Storage abstraction
Provides a unified interface for session and checkpoint management with implementations for both Stakpak API and local SQLite storage.
Re-exports§
pub use crate::local::storage::LocalStorage;pub use crate::stakpak::storage::StakpakStorage;
Structs§
- Checkpoint
- Full checkpoint with state
- Checkpoint
State - Checkpoint state containing messages
- Checkpoint
Summary - Checkpoint summary for list responses
- Create
Checkpoint Request - Request to create a checkpoint
- Create
Session Request - Request to create a session with initial checkpoint
- Create
Session Result - Result of creating a session
- List
Checkpoints Query - Query parameters for listing checkpoints
- List
Checkpoints Result - Result of listing checkpoints
- List
Sessions Query - Query parameters for listing sessions
- List
Sessions Result - Result of listing sessions
- Session
- Full session with optional active checkpoint
- Session
Stats - Session statistics
- Session
Summary - Session summary for list responses
- Tool
Usage Counts - Tool usage counts
- Tool
Usage Stats - Tool usage statistics
- Update
Session Request - Request to update a session
Enums§
- Session
Status - Session status
- Session
Visibility - Session visibility
- Storage
Error - Storage operation errors
Traits§
- Session
Storage - Unified session storage trait
Type Aliases§
- Boxed
Session Storage - Box wrapper for dynamic dispatch