@orangecheck/agent-core / DelegationEnvelope
Interface: DelegationEnvelope
Defined in: agent-core/src/types.ts:77
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-agent"></a> agent | ActorRef | - | agent-core/src/types.ts:82 |
<a id="property-bond"></a> bond | DelegationBond | null | - | agent-core/src/types.ts:100 |
<a id="property-expires_at"></a> expires_at | string | - | agent-core/src/types.ts:102 |
<a id="property-id"></a> id | string | - | agent-core/src/types.ts:80 |
<a id="property-issued_at"></a> issued_at | string | - | agent-core/src/types.ts:101 |
<a id="property-kind"></a> kind | "agent-delegation" | - | agent-core/src/types.ts:79 |
<a id="property-nonce"></a> nonce | string | - | agent-core/src/types.ts:103 |
<a id="property-principal"></a> principal | ActorRef | - | agent-core/src/types.ts:81 |
<a id="property-revocation"></a> revocation | DelegationRevocationRef | - | agent-core/src/types.ts:104 |
<a id="property-scopes"></a> scopes? | string[] | v1.0 / v1.1 public mode: sorted lexicographically in the canonical message; stored in sorted order on the envelope too. v1.2 private mode: this field is OMITTED from the envelope JSON; scopes_encrypted is set instead. After decryption, the recovered scope list takes this field's place in the in-memory envelope object for the remainder of verification. | agent-core/src/types.ts:92 |
<a id="property-scopes_encrypted"></a> scopes_encrypted? | ScopesEncryptedEnvelope | v1.2 private mode (PRIVATE-SCOPE.md §1.1): an OC Lock v2 envelope wrapping the canonical scope-list bytes as its payload, sealed to one or more recipients (typically the agent ± named verifiers). MUTUALLY EXCLUSIVE with scopes. | agent-core/src/types.ts:99 |
<a id="property-sig"></a> sig | Signature | - | agent-core/src/types.ts:105 |
<a id="property-v"></a> v | 1 | - | agent-core/src/types.ts:78 |