promptOutputItemSchema
const promptOutputItemSchema: ZodObject<{ data: ZodUnknown; id: ZodString; itemType: ZodString; key: ZodOptional<ZodString>; origin: ZodOptional<ZodString>; timestamp: ZodISODateTime; type: ZodLiteral<"item">;}, $strip>;Defined in: core/src/prompt/prompt.ts:92
A typed item in the conversation: state produced during a run that is not
chat text — a document a tool keeps evolving, a widget for a UI to render.
Items are append-only versions: the current value of an identity
(itemType + key) is the latest item in the conversation carrying it.