Expand description
Task Checkpointing & Persistence
Enables resumable long-running tasks by saving state to disk. Captures:
- Task description and status
- Conversation messages
- Tool call history with timing
- Git state for reproducibility
- Error logs for debugging
Checkpoints are stored as JSON files and can be resumed with Agent::resume().
Structs§
- Checkpoint
Delta - Represents the delta/diff between two checkpoints
- Checkpoint
Manager - Manager for saving and loading task checkpoints
- Error
Log - Log of an error during execution
- GitCheckpoint
Info - Git state at checkpoint time
- Memory
Entry - A memory entry for serialization
- Task
Checkpoint - A complete checkpoint of task state
- Task
Summary - Summary of a task for listing
- Tool
Call Log - Log of a tool execution
Enums§
- Task
Status - Status of a task checkpoint
Constants§
- CURRENT_
CHECKPOINT_ VERSION - Current version of the checkpoint format
Functions§
- capture_
git_ state - Capture current git state for checkpoint