A nested named-agent execution surfaced on run.subagents.
A subagent is a nested createAgent run whose lc_agent_name differs from
its parent's — e.g. a createAgent({ name }) invoked inside a tool body. The
handle exposes scoped projections (messages, toolCalls, nested
subagents) plus the resolved name, the cause that triggered
it, and the subagent's final output state.
This is a self-contained handle (no subclass of SubgraphRunStream): its
projections are produced by per-subagent transformer instances that
createSubagentTransformer drives directly.
interface SubagentRunStreamThe tool call that dispatched this subagent, as
{ type: "toolCall", tool_call_id }, or undefined when the originating
tool call could not be recovered (e.g. it was not triggered from a tool).
The name of the tool being called
The output of the server tool call
Nested subagents this subagent dispatches from its own tools.