diff --git a/tools/ai-cli-dispatch/src/types.ts b/tools/ai-cli-dispatch/src/types.ts index 3338814..166e651 100644 --- a/tools/ai-cli-dispatch/src/types.ts +++ b/tools/ai-cli-dispatch/src/types.ts @@ -11,6 +11,33 @@ export interface ExecResult { stdout: string; stderr: string; exitCode: number; + client: ClientName; + durationMs: number; +} + +export interface DebugInfo { + command: string; + args: string[]; + pid?: number; + exitCode: number | null; + exitSignal: NodeJS.Signals | null; + durationMs: number; + stderrLength: number; + stdoutLength: number; +} + +export interface DispatchConfigFile { + paths?: Partial>; + defaultClient?: ClientName; + timeout?: number; +} + +export interface DispatchEnv { + AI_CLI_DEFAULT_CLIENT?: string; + AI_CLI_TIMEOUT?: string; + AI_CLI_CODEX_PATH?: string; + AI_CLI_CLAUDE_PATH?: string; + AI_CLI_OPENCODE_PATH?: string; } export interface ToolConfig {