Compare States
vigil_diffCompare codebase checkpoints against the current working directory or other checkpoints, retrieve file contents from any checkpoint, and search for strings across all checkpoints to locate previous code versions.
Instructions
Search and investigate previous versions of your codebase. Compare checkpoint vs current working directory (with full unified diffs), compare two checkpoints against each other, retrieve any file's content from any checkpoint, or search for a string across all checkpoints to find when code existed. Use this to find previous versions of files or functions, understand what changed, and pull out whatever snippets or diffs are needed — then apply selectively with Edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Checkpoint name to diff against (use "*" with file+search to scan all checkpoints) | |
| file | No | Specific file to retrieve from checkpoint (returns content + diff vs current) | |
| summary | No | Return file list only without content diffs (faster for large changesets) | |
| against | No | Compare against another checkpoint instead of current working directory | |
| search | No | Search for this string across all checkpoints (requires name="*" and file) |