Skip to content

callLogEntrySchema

const callLogEntrySchema: ZodUnion<readonly [ZodObject<{
input: ZodUnknown;
name: ZodString;
response: ZodUnknown;
type: ZodLiteral<"action">;
}, $strip>, ZodObject<{
response: ZodNumber;
type: ZodLiteral<"random">;
}, $strip>, ZodObject<{
response: ZodNumber;
type: ZodLiteral<"now">;
}, $strip>]>;

Defined in: call-log/call-log.schemas.ts:25

One recorded operation from a script run: an action call (with its input and response) or a deterministic now/random value. Replaying a run reads these back instead of re-executing, keeping the run deterministic.