Lightweight discovery record for a subagent running inside the thread.
Populated eagerly from the root subscription (tools + lifecycle
channels). Content projections (messages, toolCalls, custom
extensions) are opened lazily via selector hooks, keyed on
namespace.
interface SubagentDiscoverySnapshotWall-clock timestamp when the task tool terminated (null if running).
Nesting depth from the root (root = 0).
Error message if the subagent failed.
Tool-call id that created the subagent.
Subagent type, e.g. "researcher".
Namespace prefix for every event emitted by this subagent.
Raw output payload once the subagent completes.
Parent subagent id, or null if spawned from the root.
Wall-clock timestamp when the task tool started.
Lifecycle status derived from task tool events.
Task description passed to the subagent.