/** * EnterWorktree / ExitWorktree — Vigil-parity isolation tools. * * Creates a temporary git worktree the agent can work in without * disturbing the user's checkout, then cleans it up. Used by the * sub-agent flow when `isolation: "worktree"` is requested, and * directly by the agent for risky multi-file changes that should * land as a single PR. * * Worktrees are created under /.vigil/worktrees//. * The branch follows `vigil/worktree/` so a stale tree is * easy to spot in `git branch`. */ import type { ToolDefinition } from '../core/toolRuntime.js'; export declare function getWorktreeRegistry(): ReadonlyMap; export declare function clearWorktreeRegistry(): void; export declare function createWorktreeTools(workingDir: string): ToolDefinition[]; //# sourceMappingURL=worktreeTools.d.ts.map