Type guard to distinguish async SubAgents from sync SubAgents/CompiledSubAgents.
Uses the presence of the graphId field as the runtime discriminant —
AsyncSubAgent requires it, while SubAgent and CompiledSubAgent do not have it.
isAsyncSubAgent(subAgent: AnySubAgent): subAgent is AsyncSubAgent| Name | Type | Description |
|---|---|---|
subAgent* | AnySubAgent |