Skip to main content
The checkpoint command manages file-level checkpoints using shadow git.
All checkpoint subcommands respect checkpoints.storage_dir from your project config (agents.yaml). This means praisonai checkpoint list, restore, and diff operate on the same store as praisonai code --checkpoints sessions and praisonai run auto-checkpoints.

Quick Start

Usage

Save Checkpoint

Expected Output:

List Checkpoints

Expected Output:

Show Diff

Both the from and to arguments accept a full id, short id, unique prefix, or the alias last / latest.

Restore Checkpoint

Delete Checkpoints

Omitting --yes prompts: Delete all checkpoints? [y/N].

Reference Aliases

Every subcommand that accepts a checkpoint reference (restore, diff, run --restore) supports these forms: Ambiguous prefix example:
Ambiguous prefixes are rejected so a workspace-mutating restore never targets the wrong checkpoint.

Python API


See Also