AgentPrincipal
AgentPrincipal =
AgentContext
Defined in: types.ts:67
The decoded shape of an agent token’s payload, and of HookContext.agent once
authorizeAgent() accepts it. id is the agent’s own id (the token’s sub/store key) —
distinct from delegatingUserId, the user who minted the token.