live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/agent-core


@orangecheck/agent-core / DelegationEnvelope

Interface: DelegationEnvelope

Defined in: agent-core/src/types.ts:77

Properties

PropertyTypeDescriptionDefined in
<a id="property-agent"></a> agentActorRef-agent-core/src/types.ts:82
<a id="property-bond"></a> bondDelegationBond | null-agent-core/src/types.ts:100
<a id="property-expires_at"></a> expires_atstring-agent-core/src/types.ts:102
<a id="property-id"></a> idstring-agent-core/src/types.ts:80
<a id="property-issued_at"></a> issued_atstring-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> noncestring-agent-core/src/types.ts:103
<a id="property-principal"></a> principalActorRef-agent-core/src/types.ts:81
<a id="property-revocation"></a> revocationDelegationRevocationRef-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?ScopesEncryptedEnvelopev1.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> sigSignature-agent-core/src/types.ts:105
<a id="property-v"></a> v1-agent-core/src/types.ts:78