跳转到内容

ShellCallResultItem

此内容尚不支持你的语言。

type ShellCallResultItem = object;
callId: string;
optional id: string;
optional maxOutputLength: number;
output: objectOutputType<{
outcome: ZodDiscriminatedUnion<"type", [ZodObject<{
type: ZodLiteral<"timeout">;
}, "strip", ZodTypeAny, {
type: "timeout";
}, {
type: "timeout";
}>, ZodObject<{
exitCode: ZodNullable<ZodNumber>;
type: ZodLiteral<"exit">;
}, "strip", ZodTypeAny, {
exitCode: number | null;
type: "exit";
}, {
exitCode: number | null;
type: "exit";
}>]>;
stderr: ZodString;
stdout: ZodString;
}, ZodTypeAny, "passthrough">[];
optional providerData: Record<string, any>;
type: "shell_call_output";