Variable: WorkerKernelSchemas
Makaio Framework / services-core/worker/schemas / WorkerKernelSchemas
Variable: WorkerKernelSchemas
Section titled “Variable: WorkerKernelSchemas”
constWorkerKernelSchemas: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.
Type Declaration
Section titled “Type Declaration”completed
Section titled “completed”completed:
ZodObject<{error:ZodOptional<ZodString>;instanceId:ZodString;result:ZodOptional<ZodString>;success:ZodBoolean; },$strip> =WorkerCompletedEventSchema
get:
object
get.request
Section titled “get.request”request:
ZodObject<{instanceId:ZodString; },$strip>
get.response
Section titled “get.response”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
kill.request
Section titled “kill.request”request:
ZodObject<{instanceId:ZodString; },$strip>
kill.response
Section titled “kill.response”response:
ZodObject<{killed:ZodBoolean; },$strip>
send:
object
send.request
Section titled “send.request”request:
ZodObject<{content:ZodString;instanceId:ZodString; },$strip>
send.response
Section titled “send.response”response:
ZodObject<{sent:ZodBoolean; },$strip>
spawn:
object
spawn.request
Section titled “spawn.request”request:
ZodObject<{overrides:ZodOptional<ZodObject<{allowedTools:ZodOptional<ZodArray<ZodString>>;model:ZodOptional<ZodString>;systemPrompt:ZodOptional<ZodString>; },$strip>>;prompt:ZodString;sessionId:ZodString;workerName:ZodString; },$strip> =WorkerSpawnRequestSchema
spawn.response
Section titled “spawn.response”response:
ZodObject<{instanceId:ZodString; },$strip>
spawned
Section titled “spawned”spawned:
ZodObject<{instanceId:ZodString;workerName:ZodString; },$strip> =WorkerSpawnedEventSchema