Skip to main content

Module run_checkpoint

Module run_checkpoint 

Source
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.