Expand description
A13: Run mode checkpoint — save/restore state for long-running tasks.
Enables skilllite run --resume to continue from where a previous run left off.
Structs§
- RunCheckpoint
- Checkpoint state for run mode. Persisted to ~/.skilllite/chat/run_checkpoints/latest.json
Functions§
- build_
resume_ message - Build continuation message for resume. Injects context so the agent continues from checkpoint.
- load_
checkpoint - Load checkpoint from chat_root/run_checkpoints/latest.json. Returns None if no checkpoint exists or file is invalid.
- save_
checkpoint - Save checkpoint to chat_root/run_checkpoints/latest.json.