import type { AcpMiddleware, McpSpawnConfig, SpawnMode } from "../../packages/agent-spawn/dist/index.js"; import type { RuntimeOverrideOptions } from "../../packages/agent-harness-tools/dist/index.js"; import type { HookBridgeOptions, WorktreeExecutionOptions } from "../sdk/types.js"; export interface SpawnCommandOptions { prompt: string; args?: string[]; model?: string; mode?: SpawnMode; env?: Record; mcpServers?: McpSpawnConfig; skills?: string[]; hooks?: HookBridgeOptions; resumeThreadId?: string; logDir?: string; logFileName?: string; logContent?: boolean; activityTimeoutMs?: number; captureOtel?: boolean; captureOtelContent?: boolean; middlewares?: AcpMiddleware[]; cwd?: string; useStdin?: boolean; interactive?: boolean; signal?: AbortSignal; runtime?: RuntimeOverrideOptions["runtime"]; runtimeImage?: string; runtimeConfigCwd?: string; detach?: boolean; mountPoeCode?: boolean; runnerSync?: RuntimeOverrideOptions["runnerSync"]; worktree?: WorktreeExecutionOptions; } export type ProviderSpawnOptions = Record> = SpawnCommandOptions & Extra; export interface ModelConfigureOptions { model: string; } export type EmptyProviderOptions = Record;