Skip to content

Variable: WorkerKernelSchemas

Makaio Framework


Makaio Framework / services-core/worker/schemas / WorkerKernelSchemas

const WorkerKernelSchemas: object

Defined in: ../../../packages/services/core/src/worker/schemas.ts:180

Schema-only worker runtime subjects.

The runtime namespace registration lives in ./namespace.ts; this export is safe to import from settings or tests that only need the contracts.

completed: ZodObject<{ error: ZodOptional<ZodString>; instanceId: ZodString; result: ZodOptional<ZodString>; success: ZodBoolean; }, $strip> = WorkerCompletedEventSchema

get: object

request: ZodObject<{ instanceId: ZodString; }, $strip>

response: ZodObject<{ definitionName: ZodString; error: ZodOptional<ZodString>; instanceId: ZodString; progress: ZodOptional<ZodArray<ZodString>>; result: ZodOptional<ZodString>; status: ZodEnum<{ cancelled: "cancelled"; completed: "completed"; failed: "failed"; running: "running"; waiting_input: "waiting_input"; }>; subagentId: ZodString; }, $strip> = WorkerInstanceStatusSchema

kill: object

request: ZodObject<{ instanceId: ZodString; }, $strip>

response: ZodObject<{ killed: ZodBoolean; }, $strip>

send: object

request: ZodObject<{ content: ZodString; instanceId: ZodString; }, $strip>

response: ZodObject<{ sent: ZodBoolean; }, $strip>

spawn: object

request: ZodObject<{ overrides: ZodOptional<ZodObject<{ allowedTools: ZodOptional<ZodArray<ZodString>>; model: ZodOptional<ZodString>; systemPrompt: ZodOptional<ZodString>; }, $strip>>; prompt: ZodString; sessionId: ZodString; workerName: ZodString; }, $strip> = WorkerSpawnRequestSchema

response: ZodObject<{ instanceId: ZodString; }, $strip>

spawned: ZodObject<{ instanceId: ZodString; workerName: ZodString; }, $strip> = WorkerSpawnedEventSchema