Creates a new Checkpoints manager bound to a session.
The session whose checkpoints are being managed.
Backend and retention settings.
Deletes all persisted checkpoints for this session from the backend.
Resolves once the storage backend has cleared the data.
Returns all checkpoints for this session, ordered oldest-first.
An ordered array of Checkpoint objects.
Returns the most recently saved checkpoint, or null if none exist.
The latest Checkpoint, or null.
Creates and persists a new checkpoint for the current moment.
Human-readable label, e.g. "Completed exercise 3".
Optionalmetadata: Record<string, unknown>Arbitrary key-value data to record with the checkpoint.
The newly created and persisted Checkpoint.
Creates and persists session checkpoints.