Variable: WorkerSubjects
Makaio Framework / services-core/worker/namespace / WorkerSubjects
Variable: WorkerSubjects
Section titled “Variable: WorkerSubjects”
constWorkerSubjects:BusSubjects<FlatSubjectDefinitions<"worker", {completed:ZodObject<{error:ZodOptional<ZodString>;instanceId:ZodString;result:ZodOptional<ZodString>;success:ZodBoolean; },$strip>;get: {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>; };kill: {request:ZodObject<{instanceId:ZodString; },$strip>;response:ZodObject<{killed:ZodBoolean; },$strip>; };send: {request:ZodObject<{content:ZodString;instanceId:ZodString; },$strip>;response:ZodObject<{sent:ZodBoolean; },$strip>; };spawn: {request:ZodObject<{overrides:ZodOptional<ZodObject<{allowedTools:ZodOptional<ZodArray<…>>;model:ZodOptional<ZodString>;systemPrompt:ZodOptional<ZodString>; },$strip>>;prompt:ZodString;sessionId:ZodString;workerName:ZodString; },$strip>;response:ZodObject<{instanceId:ZodString; },$strip>; };spawned:ZodObject<{instanceId:ZodString;workerName:ZodString; },$strip>; }>,"worker"> =WorkerKernelNamespace.subjects
Defined in: ../../../packages/services/core/src/worker/namespace.ts:14