Interface: PermissionInput
Defined in: packages/contracts/src/permissions/estate.ts:31
Everything the generator reads. Defaults to the real estate; tests pass others.
Properties
auditActions
readonlyauditActions:AuditActionRegistry
Defined in: packages/contracts/src/permissions/estate.ts:64
The per-action audit payload schemas.
commands?
readonlyoptionalcommands?:Readonly<Record<string,AgentCommand>>
Defined in: packages/contracts/src/permissions/estate.ts:43
Registered commands to an agent, by registry key. Defaults to none, for the same
reason as standing.
commandSigners?
readonlyoptionalcommandSigners?:Readonly<Record<string,string>>
Defined in: packages/contracts/src/permissions/estate.ts:49
The principals that hold a command-signing key, each with its kid prefix. A
command's sender must be hosted by one of them, or the agent could never accept
what the broker lets through. Defaults to COMMAND_ENVELOPE_SIGNERS.
contracts
readonlycontracts:Readonly<Record<string,Contract>>
Defined in: packages/contracts/src/permissions/estate.ts:33
Registered contracts, by registry key.
hosts
readonlyhosts:Readonly<Record<string,string>>
Defined in: packages/contracts/src/permissions/estate.ts:62
The deployable hosting each participant (a module, gateway or bootstrap).
permissions
readonlypermissions:Readonly<Record<string,PermissionRule>>
Defined in: packages/contracts/src/permissions/estate.ts:51
The permission table, by registry key.
principals
readonlyprincipals: readonlystring[]
Defined in: packages/contracts/src/permissions/estate.ts:60
Known broker principals.
routes?
readonlyoptionalroutes?:Readonly<Record<string,RouteDefinition>>
Defined in: packages/contracts/src/permissions/estate.ts:66
The gateway's routes, checked against the registry. Defaults to none.
standing?
readonlyoptionalstanding?:Readonly<Record<string,StandingGrant>>
Defined in: packages/contracts/src/permissions/estate.ts:38
Registered standing grants, by registry key. Defaults to none, so an input written before they existed means what it meant.
streamDeclarer?
readonlyoptionalstreamDeclarer?:string
Defined in: packages/contracts/src/permissions/estate.ts:58
The participant whose host declares the streams at setup time. Defaults to STREAM_DECLARER.
streams
readonlystreams:Readonly<Record<string,StreamRule>>
Defined in: packages/contracts/src/permissions/estate.ts:53
JetStream streams.