Diff two runs' outputs
diff_outputCompare stored outputs of two command runs with a unified diff. Automatically diff against the most recent earlier run of the same command line, or specify any two commands.
Instructions
Unified diff (diff -u style plain text) between the stored outputs of two runs. With only 'id', diffs that command against the most recent EARLIER run of the exact same command line — 'what changed since it last ran?'; errors if no earlier identical command line exists. With 'other', diffs the two given commands (other = older side). Identical outputs return a note saying so. Secrets are masked by default. Read-only: diffs recordings, never re-runs anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | newer command id (or -N for Nth most recent; -1 = last command) | |
| other | No | older command id to compare against (optional; default: previous run of the same command) | |
| context | No | lines of context around changes (default 3) |