import { type RuntimeOverrideOptions } from "../../../agent-harness-tools/dist/index.js"; import { type WorktreeDeps } from "../../../worktree/dist/index.js"; import { select, type Dashboard } from "../../../toolcraft-design/dist/index.js"; import { type Integrations } from "../../../braintrust/dist/index.js"; import { type AgentRunInput, type AgentRunResult, type RunLoopOptions, type SuperintendentFileSystem, type SuperintendentRunResult } from "../runtime/loop.js"; import { type LoopState } from "../state/machine.js"; type WorktreeExecutionOptions = boolean; export type SuperintendentRunCommandResult = SuperintendentRunResult & { docPath: string; builderAgent: string; }; export type RunCommandOptions = { cwd: string; homeDir: string; docPath?: string; builderAgent?: string; runtime?: "host" | "docker"; runtimeImage?: string; detach?: boolean; mountPoeCode?: boolean; runnerSync?: RuntimeOverrideOptions["runnerSync"]; configuredDefaultAgent?: string | null; planDirectory?: string; assumeYes?: boolean; interactive?: boolean; useDashboard?: boolean; dryRun?: boolean; env?: Record; fs?: SuperintendentFileSystem; now?: () => number; createDashboard?: (options?: { title?: string; statsTitle?: string; hints?: Array<{ key: string; label: string; }>; rightPaneWidth?: number; }) => Dashboard; selectPrompt?: typeof select; runLoop?: (options: RunLoopOptions) => Promise; executeAgent?: (agent: string, input: AgentRunInput) => Promise; setInterval?: typeof global.setInterval; clearInterval?: typeof global.clearInterval; openInEditor?: (absolutePath: string, env: Record) => void; stderr?: NodeJS.WritableStream; exit?: (code: number) => never; integrations?: Integrations | null; worktree?: WorktreeExecutionOptions; worktreeDeps?: WorktreeDeps; }; export declare const runCommand: import("../../../toolcraft/dist/index.js").Command<{ [x: string]: never; }, import("../../../toolcraft/dist/index.js").ObjectSchema<{ readonly doc: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly docs: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly agent: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runtime: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly runtimeImage: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly detach: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runnerSync: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly tui: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly dryRun: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly worktree: import("../../../toolcraft/dist/index.js").OptionalSchema; }>, undefined, LoopState & { stopReason: import("../runtime/loop.js").SuperintendentStopReason; } & { docPath: string; builderAgent: string; }> & { readonly __agentKitCommandTypeInfo: import("../../../toolcraft/dist/index.js").CommandTypeInfo<"run", import("../../../toolcraft/dist/index.js").ObjectSchema<{ readonly doc: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly docs: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly agent: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runtime: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly runtimeImage: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly detach: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runnerSync: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly tui: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly dryRun: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly worktree: import("../../../toolcraft/dist/index.js").OptionalSchema; }>, LoopState & { stopReason: import("../runtime/loop.js").SuperintendentStopReason; } & { docPath: string; builderAgent: string; }, ("cli" | "sdk")[], undefined>; }; export type RunMcpCommandRunners = { runLoop?: (options: RunLoopOptions) => Promise; }; export declare function createRunMcpCommand(runners?: RunMcpCommandRunners): import("../../../toolcraft/dist/index.js").Command<{ [x: string]: never; }, import("../../../toolcraft/dist/index.js").ObjectSchema<{ readonly doc: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly docs: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly agent: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runtime: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly runtimeImage: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly detach: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runnerSync: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly tui: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly dryRun: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly worktree: import("../../../toolcraft/dist/index.js").OptionalSchema; }>, undefined, SuperintendentRunCommandResult> & { readonly __agentKitCommandTypeInfo: import("../../../toolcraft/dist/index.js").CommandTypeInfo<"run", import("../../../toolcraft/dist/index.js").ObjectSchema<{ readonly doc: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly docs: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly agent: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runtime: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly runtimeImage: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly detach: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runnerSync: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly tui: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly dryRun: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly worktree: import("../../../toolcraft/dist/index.js").OptionalSchema; }>, SuperintendentRunCommandResult, "mcp"[], undefined>; }; export declare const runMcpCommand: import("../../../toolcraft/dist/index.js").Command<{ [x: string]: never; }, import("../../../toolcraft/dist/index.js").ObjectSchema<{ readonly doc: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly docs: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly agent: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runtime: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly runtimeImage: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly detach: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runnerSync: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly tui: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly dryRun: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly worktree: import("../../../toolcraft/dist/index.js").OptionalSchema; }>, undefined, SuperintendentRunCommandResult> & { readonly __agentKitCommandTypeInfo: import("../../../toolcraft/dist/index.js").CommandTypeInfo<"run", import("../../../toolcraft/dist/index.js").ObjectSchema<{ readonly doc: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly docs: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly agent: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runtime: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly runtimeImage: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly detach: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly runnerSync: import("../../../toolcraft/dist/index.js").OptionalSchema>; readonly tui: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly dryRun: import("../../../toolcraft/dist/index.js").OptionalSchema; readonly worktree: import("../../../toolcraft/dist/index.js").OptionalSchema; }>, SuperintendentRunCommandResult, "mcp"[], undefined>; }; export declare function runSuperintendentCommand(options: RunCommandOptions): Promise; export {};