Module checkpoints

Module checkpoints 

Source
Expand description

Checkpoints (snapshots) for agent sessions and related state.

A checkpoint captures enough state to “rewind” a session in a safe, deterministic way.

This module is core-first: adapters (CLI/GUI) should call into CheckpointManager rather than reimplementing storage or retention policies.

Re-exports§

pub use manager::CheckpointManager;
pub use store::FileCheckpointStore;
pub use store::default_checkpoints_dir;
pub use types::Checkpoint;
pub use types::CheckpointError;
pub use types::CheckpointId;
pub use types::CheckpointMetadata;
pub use types::CheckpointRetentionPolicy;
pub use types::CheckpointSnapshot;
pub use session::SESSION_CHECKPOINT_SCHEMA_V1;
pub use session::SessionCheckpointConfig;
pub use session::SessionCheckpointPayload;

Modules§

manager
High-level checkpoint APIs.
session
Session-specific checkpoint (rewind) helpers.
store
File-backed checkpoint store.
types
Checkpoint domain types.