/** * Git checkpointer + git LLM tools. * * Mirrors `_harness/_git.py` and `_harness/_git_tools.py`. Both delegate * to the system `git` binary via `child_process.execFileSync`. */ import { type HarnessTool } from "./types.js"; /** * Lightweight git "checkpointer". Stash-creates a labeled commit on a * scratch ref so the agent can roll back without polluting the working * branch history. */ export declare class GitCheckpointer { readonly workspace: string; constructor(workspace: string); /** Create a labeled checkpoint. Returns the commit SHA. */ create(label: string): string; /** Restore the working tree to a previously-created checkpoint. */ restore(sha: string): void; /** Show one-line log entries for recent checkpoints. */ list(limit?: number): string[]; } export declare function gitTools(workspace: string, opts?: { allowShell?: boolean; }): HarnessTool[]; //# sourceMappingURL=git.d.ts.map