@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
19 lines (18 loc) • 596 B
TypeScript
export type SandboxProcessResult = {
status: number | null;
signal: NodeJS.Signals | null;
stdout: string;
stderr: string;
error?: Error;
timedOut: boolean;
};
export type RunSandboxProcessOptions = {
cwd?: string;
env?: NodeJS.ProcessEnv;
uid?: number;
gid?: number;
timeoutMs?: number;
maxOutputBytes?: number;
};
export declare function runSandboxProcess(command: string, args: string[], options?: RunSandboxProcessOptions): Promise<SandboxProcessResult>;
export declare function formatSandboxProcessError(result: SandboxProcessResult): string;