import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ShellCallOutputContent } from "./shellcalloutputcontent.js"; import { ShellCallStatus } from "./shellcallstatus.js"; export declare const OutputShellCallOutputItemTypeContainerFileCitation: { readonly ContainerFileCitation: "container_file_citation"; }; export type OutputShellCallOutputItemTypeContainerFileCitation = ClosedEnum; export type OutputShellCallOutputItemFile = { containerId: string; endIndex: number; fileId: string; filename: string; startIndex: number; type: OutputShellCallOutputItemTypeContainerFileCitation; }; /** * A native `shell_call_output` item matching OpenAI's Responses API shape. Carries per-command stdout, stderr, and the exit/timeout outcome. A sandbox failure terminates the item as `incomplete` with `error` set. */ export type OutputShellCallOutputItem = { callId: string; /** * The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed. */ containerId?: string | undefined; /** * The error message when the sandbox call failed before producing a result (for example, the per-user container limit was reached). Set together with `status: 'incomplete'` and an empty `output`; absent on a successful call. */ error?: string | undefined; /** * Citations for the files the sandbox command created or modified, most-recently-touched first (at most 10). Retrieve them via the Container Files API. */ files?: Array | undefined; id: string; maxOutputLength?: number | null | undefined; output: Array; /** * Status of a shell call or its output. */ status: ShellCallStatus; type: "shell_call_output"; }; /** @internal */ export declare const OutputShellCallOutputItemTypeContainerFileCitation$inboundSchema: z.ZodEnum; /** @internal */ export declare const OutputShellCallOutputItemFile$inboundSchema: z.ZodType; export declare function outputShellCallOutputItemFileFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputShellCallOutputItem$inboundSchema: z.ZodType; export declare function outputShellCallOutputItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputshellcalloutputitem.d.ts.map