import type { HumanInLoopProvider } from "../../../agent-human-in-loop/dist/index.js"; import type { TaskList } from "../../../task-list/dist/index.js"; import type { HumanInLoopRuntime } from "./types.js"; /** The concrete runtime built by `createHumanInLoop` — carries its options for the approvals built-ins. */ export interface HumanInLoopRuntimeInstance extends HumanInLoopRuntime { readonly runtimeOptions: HumanInLoopRuntimeOptions; } export interface HumanInLoopRuntimeOptions { provider: HumanInLoopProvider; taskList?: TaskList | { dir: string; format: "markdown-dir" | "yaml-file"; }; listName?: string; binPath?: { execPath: string; entryArgs: readonly string[]; }; }