Defined in: packages/ai/src/types.ts:635
One child invocation as the client sees it. AG-UI SubagentInfo names the child; the other AG-UI fields come from its SUBAGENT_STARTED, SUBAGENT_FINISHED and SUBAGENT_ERROR events. id is the AG-UI subagentRunId. status, parentRunId and messages are client state the spec does not model.
optional error?: Pick<SubagentErrorEvent, "message" | "code">;Defined in: packages/ai/src/types.ts:649
id: string;Defined in: packages/ai/src/types.ts:642
optional interruptIds?: string[];Defined in: packages/ai/src/types.ts:647
Interrupts this child raised, while status is 'suspended'.
messages: UIMessage<unknown>[];Defined in: packages/ai/src/types.ts:648
optional parentRunId?: string;Defined in: packages/ai/src/types.ts:645
The parent chat run that started this child.
status: SubagentStatus;Defined in: packages/ai/src/types.ts:643