merge S-101 into M1
This commit is contained in:
@@ -11,6 +11,33 @@ export interface ExecResult {
|
|||||||
stdout: string;
|
stdout: string;
|
||||||
stderr: string;
|
stderr: string;
|
||||||
exitCode: number;
|
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<Record<ClientName, string>>;
|
||||||
|
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 {
|
export interface ToolConfig {
|
||||||
|
|||||||
Reference in New Issue
Block a user