Function: agentPrincipal()
agentPrincipal(
instanceId):string
Defined in: packages/contracts/src/commands.ts:154
The broker principal of one agent instance: agent-<instanceId>. One nkey and one
permission set per instance, which is what stops one agent subscribing to another's
commands. verifyEstate holds a command row's handledBy to this.
Parameters
instanceId
string
The instance id, as in a command key.
Returns
string
For example agent-shared.