Structs§
- Action
Snapshot - A snapshot of the agent state taken before executing a single action (tool call).
- Checkpoint
Restore - File
Snapshot - Prompt
Checkpoint Lease - Holds this session’s checkpoint lock until the complete agent turn has settled.
- Rollback
Result - Result of a rollback operation — describes what was undone.
- Snapshot
Config - Snapshot
Manager - Snapshot
Metadata - Snapshot
Skipped Path - One workspace path a checkpoint could not snapshot.
- Snapshot
Skipped Paths - Paths a checkpoint left out. The turn proceeds anyway; rewind surfaces this so a restore never silently claims completeness it does not have.
- Snapshot
Turn Context - Snapshot
Turn Diagnostics - Stored
Snapshot
Enums§
- Begin
Prompt Failure - Why a turn-start checkpoint could not be taken.
- File
Encoding - Revert
Scope
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§
- checkpoint_
failure_ is_ recoverable - Whether a turn may proceed without its start-of-turn checkpoint.
- classify_
begin_ prompt_ error - Classify a
begin_promptfailure from its full error chain. - declare_
prompt_ edit - Capture final local write arguments after host hook rewriting and before tool execution.