Skip to content

Variable: AgentInstanceStatusSchema

Makaio Framework


Makaio Framework / services-core/agent-runtime/schemas / AgentInstanceStatusSchema

const AgentInstanceStatusSchema: ZodObject<{ displayName: ZodString; error: ZodOptional<ZodString>; instanceId: ZodString; kind: 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>

Defined in: ../../../packages/services/core/src/agent-runtime/schemas.ts:44

Status of a running agent instance spawned via AgentRuntimeSubjects.spawn.

Kind-agnostic replacement for PersonaInstanceStatus / ProfileInstanceStatus. The kind and sourceId fields tell the caller what was resolved.