Skip to content

Variable: SessionDiscoveredSchema

Makaio Framework


Makaio Framework / contracts / SessionDiscoveredSchema

const SessionDiscoveredSchema: ZodIntersection<ZodObject<{ adapterId: ZodString; adapterName: ZodString; adapterSessionId: ZodString; cwd: ZodNullable<ZodString>; logFilePath: ZodOptional<ZodNullable<ZodString>>; model: ZodNullable<ZodString>; startedAt: ZodOptional<ZodNumber>; title: ZodOptional<ZodString>; }, $strip>, ZodDiscriminatedUnion<[ZodObject<{ forkPointMessageId: ZodNull; kind: ZodLiteral<"root">; parentAdapterSessionId: ZodNull; }, $strip>, ZodObject<{ forkPointMessageId: ZodString; kind: ZodLiteral<"fork">; parentAdapterSessionId: ZodString; }, $strip>, ZodObject<{ forkPointMessageId: ZodNull; kind: ZodLiteral<"subagent">; parentAdapterSessionId: ZodString; }, $strip>, ZodObject<{ forkPointMessageId: ZodNull; kind: ZodLiteral<"compress">; parentAdapterSessionId: ZodString; }, $strip>], "kind">>

Defined in: ../../../packages/contracts/src/adapter/schemas/session-discovered.ts:37