/** * Git diff view: `/diff` (or ctrl+x d) opens a full-size panel with the changed files on the left * and the selected file's diff on the right. * * /diff everything not yet committed: staged, unstaged and untracked files, one list * /diff branch what this branch changed since it left its base branch (main...HEAD) * * It reads git on open and on `r`, never on a timer. Other extensions can open it with their own * diff and add actions to it: see host.ts and client.ts (openDiff, addDiffAction). * It is registered as a widget with no slot so `/widgets disable diff` switches it off. */ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; export default function (pi: ExtensionAPI): void;