← All mods

Mod · Code

Checkpoints

Snapshots your files before and after each turn, so /undo puts back what the agent changed in the last turn and /redo brings it back.

Install

Experimental: no install profile includes it, and it may change or go away. Install it, then turn it on:

$ omd install omd_checkpoint
$ omd mods enable omd_checkpoint

What it does

  • /undo show previews each file first; /undo list shows the recorded turns. Run /undo again to step further back.
  • Never overwrites edits you made since without /undo force, and never touches staged changes, commits or branches.
  • Keeps the last 10 turns that changed files. Ignored files and submodules aren’t undone.

Capabilities

You approve these when you trust the mod, and again whenever its source changes.

  • commands
  • lifecycle
  • inventory
  • store
  • exec
  • os
  • fs.read
  • fs.write