Skip to content

SubagentEntry

SubagentEntry = object

Defined in: src/hooks-ingest.ts:80

One sub-agent in a session’s fan-out roster (Phase 3, #710). endedAt absent ⇒ the sub-agent is still live (a SubagentStart was seen with no matching SubagentStop yet).

agentId: string

Defined in: src/hooks-ingest.ts:82

The sub-agent’s stable agent_id (the roster key).


agentType: string

Defined in: src/hooks-ingest.ts:84

The sub-agent’s agent_type (e.g. “general-purpose”, “Explore”).


optional endedAt?: number

Defined in: src/hooks-ingest.ts:88

Server receive time (ms) of the SubagentStop; absent while the sub-agent is live.


startedAt: number

Defined in: src/hooks-ingest.ts:86

Server receive time (ms) of the SubagentStart (or the Stop, for a fail-open entry).