chimera.checkpoints
chimera.checkpoints lets a session save snapshots of conversation
state and the working tree, then roll back to a named or id-based
checkpoint.
Top-level exports
Section titled “Top-level exports”from chimera.checkpoints import CheckpointManager| Method | Purpose |
|---|---|
create(name=None) | Save a checkpoint. Returns a (name, id) tuple. |
list_checkpoints() | Enumerate all checkpoints. |
restore_by_name(name) | Restore a named checkpoint. |
restore_by_id(id) | Restore by uuid. |
undo() | Restore the most recent checkpoint. |
CheckpointManager is wired into the REPL via the /checkpoint slash
command and into the agent loop via LoopConfig.checkpoint_manager=.
See also
Section titled “See also”chimera.corefor theLoopConfigfield.chimera.sessionsfor the persistent session storage layer that checkpoints serialise into.