/** * Worktree context injection for subagents. * * Generates a deterministic markdown context block that informs agents * they are running in an isolated git worktree. */ export interface WorktreeContextParams { /** Auto-generated git branch name */ branchName: string; /** Absolute path to the worktree */ worktreePath: string; /** Whether the worktree is ephemeral (auto-merged) or persistent */ ephemeral: boolean; /** Optional user-facing label (display only) */ userLabel?: string; } /** * Build a deterministic worktree context block for injection into agent prompts. * * This function generates a markdown block that informs the agent about * their worktree environment. The output is deterministic based on the * input parameters. */ export declare function buildWorktreeContext(params: WorktreeContextParams): string; //# sourceMappingURL=worktree-context.d.ts.map