isSubagentNamespace(namespace: string | string[] | undefined): boolean| Name | Type | Description |
|---|---|---|
namespace* | string | string[] | undefined | The namespace array from stream events (or checkpoint_ns string) |
Checks if a namespace indicates a subagent/subgraph message.
Subagent namespaces contain a "tools:" segment indicating they originate from a tool call that spawned a subgraph.