Skip to content

Type Alias: AwaitSubagentResponse

Makaio Framework


Makaio Framework / contracts / AwaitSubagentResponse

AwaitSubagentResponse = z.infer<typeof AwaitSubagentResponseSchema>

Defined in: ../../../packages/contracts/src/subagent/schemas.ts:211

type AwaitSubagentResponse = {
status: 'completed' | 'cancelled' | 'timeout' | 'failed' | 'waiting_input';
result?: string | undefined;
error?: string | undefined;
pendingRequest?: { messageId: string; question: string; context?: string | undefined; } | undefined;
};