Expand description
Session persistence for AGCodex with Zstd compression
This crate provides efficient session storage and retrieval for AGCodex conversations, with support for auto-saving, checkpointing, and fast loading through memory-mapped files.
Re-exports§
pub use compression::CompressionLevel;pub use compression::Compressor;pub use error::PersistenceError;pub use error::Result;pub use migration::MigrationManager;pub use session_manager::SessionManager;pub use session_manager::SessionManagerConfig;pub use session_store::SessionStore;pub use session_store::SessionStoreConfig;pub use session_store::StorageStatistics;pub use storage::SessionStorage;pub use storage::StorageBackend;pub use types::Checkpoint;pub use types::ConversationSnapshot;pub use types::MessageSnapshot;pub use types::SessionIndex;pub use types::SessionMetadata;pub use types::SessionState;
Modules§
- compression
- Compression utilities using Zstd
- error
- Error types for persistence operations
- migration
- Migration utilities for handling format changes
- session_
manager - High-level session management with auto-save and checkpointing
- session_
store - Enhanced session storage backend with MessagePack and Zstd compression Implements efficient storage with auto-save and metadata indexing
- storage
- Storage backend for session persistence
- types
- Core types for session persistence
Constants§
- AGCX_
MAGIC - Version header for AGCodex session files
- FORMAT_
VERSION - Current session format version