Persists a snapshot to storage.
Loads a snapshot from storage.
Lists all available snapshot IDs for a session scope.
TODO: Add pagination support for long-running agents with many snapshots. Future signature could be:
listSnapshots(params: {
location: SnapshotLocation
limit?: number // Max results to return (e.g., 100)
startAfter?: string // Snapshot ID to start after (for cursor-based pagination)
}): Promise<{ snapshotIds: string[]; nextToken?: string }>
Loads the snapshot manifest.
Saves the snapshot manifest.
Interface for snapshot persistence. Implementations provide storage backends (S3, filesystem, etc.).
File layout convention: