Skip to main content

Module snapshots

Module snapshots 

Source

Structs§

ActionSnapshot
A snapshot of the agent state taken before executing a single action (tool call).
CheckpointRestore
FileSnapshot
PromptCheckpointLease
Holds exclusive workspace access until the complete agent turn has settled.
RollbackResult
Result of a rollback operation — describes what was undone.
SnapshotConfig
SnapshotManager
SnapshotMetadata
SnapshotTurnContext
SnapshotTurnDiagnostics
StoredSnapshot

Enums§

FileEncoding
RevertScope

Constants§

DEFAULT_CHECKPOINTS_ENABLED
DEFAULT_MAX_AGE_DAYS
DEFAULT_MAX_SNAPSHOTS
REWIND_ACTIVE_KEEP
How many newest active turns a finished session keeps pinned for rewind. Older entries are dropped on thread completion so their snapshots become prune-eligible instead of sitting protected for the full age window.

Functions§

declare_prompt_edit
Capture final local write arguments after host hook rewriting and before tool execution.