@the-ai-company/cbio-node-runtime 1.45.5 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clients/owner/client.d.ts +10 -14
- package/dist/clients/owner/client.js +56 -182
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +9 -0
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/protocol/crypto.d.ts +5 -0
- package/dist/protocol/crypto.js +11 -0
- package/dist/protocol/crypto.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +14 -27
- package/dist/runtime/bootstrap.js +17 -63
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +1 -23
- package/dist/runtime/identity.js +2 -74
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +10 -24
- package/dist/runtime/index.js +7 -11
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/vault-metadata.d.ts +4 -16
- package/dist/runtime/vault-metadata.js +6 -41
- package/dist/runtime/vault-metadata.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +3 -23
- package/dist/vault-core/contracts.js +0 -1
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +4 -4
- package/dist/vault-core/core.js +10 -76
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +4 -52
- package/dist/vault-core/defaults.js +2 -300
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +5 -5
- package/dist/vault-core/index.js +3 -3
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +5 -34
- package/dist/vault-core/persistence.js +8 -38
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +2 -51
- package/dist/vault-ingress/index.d.ts +1 -2
- package/dist/vault-ingress/index.js +0 -5
- package/dist/vault-ingress/index.js.map +1 -1
- package/docs/api/README.md +8 -92
- package/docs/api/classes/IdentityError.md +2 -2
- package/docs/api/classes/VaultCore.md +320 -0
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +2 -2
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +4 -4
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +3 -67
- package/docs/api/functions/createStandardAcquireBoundary.md +3 -3
- package/docs/api/functions/createStandardDispatchBoundary.md +3 -3
- package/docs/api/functions/createVault.md +3 -3
- package/docs/api/functions/createVaultClient.md +2 -2
- package/docs/api/functions/createVaultCore.md +4 -4
- package/docs/api/functions/createVaultCoreDependencies.md +17 -0
- package/docs/api/functions/createVaultService.md +6 -6
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveIdentityId.md +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +24 -0
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +4 -4
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +5 -5
- package/docs/api/functions/readVaultProfile.md +3 -3
- package/docs/api/functions/recoverVault.md +4 -4
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +7 -7
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +6 -6
- package/docs/api/functions/writeVaultProfile.md +3 -3
- package/docs/api/interfaces/AgentClient.md +3 -3
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +4 -4
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +55 -396
- package/docs/api/interfaces/CreateAgentClientOptions.md +4 -4
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -5
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +9 -9
- package/docs/api/interfaces/CreateVaultClientOptions.md +5 -5
- package/docs/api/interfaces/CreateVaultOptions.md +16 -16
- package/docs/api/interfaces/CreatedVault.md +3 -3
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +3 -3
- package/docs/api/interfaces/IStorageProvider.md +1 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +10 -10
- package/docs/api/interfaces/RecoveredVault.md +3 -3
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +36 -29
- package/docs/api/interfaces/{CreateDefaultVaultCoreDependenciesOptions.md → VaultCoreDependenciesOptions.md} +3 -3
- package/docs/api/interfaces/VaultCreateAgentInput.md +29 -0
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +2 -2
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
- package/docs/api/interfaces/{VaultPublicMetadata.md → VaultMetadata.md} +2 -2
- package/docs/api/interfaces/VaultObject.md +3 -3
- package/docs/api/interfaces/VaultProfile.md +7 -11
- package/docs/api/interfaces/VaultRegisterAgentInput.md +19 -1
- package/docs/api/interfaces/VaultRegisterFlowInput.md +7 -7
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +2 -2
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/package.json +1 -1
- package/docs/api/classes/InMemoryReplayGuard.md +0 -45
- package/docs/api/enumerations/AuditAction.md +0 -95
- package/docs/api/enumerations/AuditOutcome.md +0 -29
- package/docs/api/enumerations/DispatchStatus.md +0 -23
- package/docs/api/functions/createChildIdentity.md +0 -25
- package/docs/api/functions/createDefaultVaultCoreDependencies.md +0 -77
- package/docs/api/functions/deriveChildIdentity.md +0 -41
- package/docs/api/functions/ensureIdentityPrivateVault.md +0 -21
- package/docs/api/functions/identityPrivateVaultChildrenKey.md +0 -17
- package/docs/api/functions/identityPrivateVaultPrefix.md +0 -17
- package/docs/api/functions/identityPrivateVaultProfileKey.md +0 -17
- package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +0 -17
- package/docs/api/functions/listIdentities.md +0 -19
- package/docs/api/functions/readIdentityMetadata.md +0 -29
- package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +0 -21
- package/docs/api/functions/readIdentityPrivateVaultProfile.md +0 -21
- package/docs/api/functions/readVaultPublicMetadata.md +0 -23
- package/docs/api/functions/toOwnerHttpFlowBoundary.md +0 -17
- package/docs/api/interfaces/AgentCapability.md +0 -103
- package/docs/api/interfaces/AgentIdentityRecord.md +0 -23
- package/docs/api/interfaces/AgentIdentityRegistry.md +0 -57
- package/docs/api/interfaces/AgentProof.md +0 -29
- package/docs/api/interfaces/AgentProofVerifier.md +0 -21
- package/docs/api/interfaces/AuditEntry.md +0 -89
- package/docs/api/interfaces/AuditLog.md +0 -37
- package/docs/api/interfaces/AuditQuery.md +0 -29
- package/docs/api/interfaces/CapabilityRegistry.md +0 -65
- package/docs/api/interfaces/CapabilityRevocationRegistry.md +0 -53
- package/docs/api/interfaces/ChildIdentity.md +0 -77
- package/docs/api/interfaces/Clock.md +0 -15
- package/docs/api/interfaces/CreateChildIdentityOptions.md +0 -19
- package/docs/api/interfaces/CustomHttpFlowDefinition.md +0 -71
- package/docs/api/interfaces/CustomHttpFlowRegistry.md +0 -41
- package/docs/api/interfaces/DeriveIdentityOptions.md +0 -11
- package/docs/api/interfaces/DispatchAuthorization.md +0 -35
- package/docs/api/interfaces/DispatchInstruction.md +0 -47
- package/docs/api/interfaces/DispatchRequest.md +0 -77
- package/docs/api/interfaces/DispatchResult.md +0 -53
- package/docs/api/interfaces/IdGenerator.md +0 -39
- package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +0 -35
- package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +0 -17
- package/docs/api/interfaces/IdentityPrivateVaultProfile.md +0 -35
- package/docs/api/interfaces/IssuerWriteSecretCommand.md +0 -59
- package/docs/api/interfaces/OwnerAuditRequest.md +0 -47
- package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +0 -53
- package/docs/api/interfaces/OwnerDeleteSecretCommand.md +0 -47
- package/docs/api/interfaces/OwnerExportSecretRequest.md +0 -47
- package/docs/api/interfaces/OwnerHttpFlowBoundary.md +0 -51
- package/docs/api/interfaces/OwnerIdentityRecord.md +0 -23
- package/docs/api/interfaces/OwnerIdentityRegistry.md +0 -57
- package/docs/api/interfaces/OwnerListAgentsRequest.md +0 -41
- package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +0 -47
- package/docs/api/interfaces/OwnerProof.md +0 -29
- package/docs/api/interfaces/OwnerProofVerifier.md +0 -181
- package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +0 -47
- package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +0 -47
- package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +0 -83
- package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +0 -53
- package/docs/api/interfaces/OwnerSecretExport.md +0 -35
- package/docs/api/interfaces/OwnerWriteSecretCommand.md +0 -65
- package/docs/api/interfaces/PolicyEngine.md +0 -81
- package/docs/api/interfaces/RateLimitStore.md +0 -33
- package/docs/api/interfaces/ReplayGuard.md +0 -21
- package/docs/api/interfaces/SecretAlias.md +0 -11
- package/docs/api/interfaces/SecretCustody.md +0 -57
- package/docs/api/interfaces/SecretId.md +0 -11
- package/docs/api/interfaces/SecretRecord.md +0 -53
- package/docs/api/interfaces/SecretRepository.md +0 -69
- package/docs/api/interfaces/SecretVersion.md +0 -11
- package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +0 -21
- package/docs/api/interfaces/TrustedExecutor.md +0 -31
- package/docs/api/interfaces/VaultAcquireSecretInput.md +0 -53
- package/docs/api/interfaces/VaultAcquireSecretResult.md +0 -41
- package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +0 -25
- package/docs/api/interfaces/VaultAgentDispatchRequest.md +0 -75
- package/docs/api/interfaces/VaultAgentDispatchResponse.md +0 -17
- package/docs/api/interfaces/VaultCore.md +0 -311
- package/docs/api/interfaces/VaultCoreDependencies.md +0 -95
- package/docs/api/interfaces/VaultCustomFlowResolver.md +0 -25
- package/docs/api/interfaces/VaultId.md +0 -11
- package/docs/api/interfaces/VaultPrincipal.md +0 -17
- package/docs/api/interfaces/VaultService.md +0 -251
- package/docs/api/interfaces/VaultTargetBinding.md +0 -35
- package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +0 -7
- package/docs/api/type-aliases/RedactedResponseShape.md +0 -7
- package/docs/api/type-aliases/VaultAcquireSecretFlow.md +0 -7
- package/docs/api/type-aliases/VaultPrincipalKind.md +0 -7
- package/docs/api/type-aliases/VaultWriteSecretCommand.md +0 -7
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Function: readIdentityPrivateVaultChildrenState()
|
|
6
|
-
|
|
7
|
-
> **readIdentityPrivateVaultChildrenState**(`storage`, `identityOrPrivateKey`): `Promise`\<[`IdentityPrivateVaultChildrenState`](../interfaces/IdentityPrivateVaultChildrenState.md)\>
|
|
8
|
-
|
|
9
|
-
## Parameters
|
|
10
|
-
|
|
11
|
-
### storage
|
|
12
|
-
|
|
13
|
-
[`IStorageProvider`](../interfaces/IStorageProvider.md)
|
|
14
|
-
|
|
15
|
-
### identityOrPrivateKey
|
|
16
|
-
|
|
17
|
-
[`IdentityPrivateVaultAccess`](../type-aliases/IdentityPrivateVaultAccess.md)
|
|
18
|
-
|
|
19
|
-
## Returns
|
|
20
|
-
|
|
21
|
-
`Promise`\<[`IdentityPrivateVaultChildrenState`](../interfaces/IdentityPrivateVaultChildrenState.md)\>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Function: readIdentityPrivateVaultProfile()
|
|
6
|
-
|
|
7
|
-
> **readIdentityPrivateVaultProfile**(`storage`, `identityOrPrivateKey`): `Promise`\<[`IdentityPrivateVaultProfile`](../interfaces/IdentityPrivateVaultProfile.md) \| `null`\>
|
|
8
|
-
|
|
9
|
-
## Parameters
|
|
10
|
-
|
|
11
|
-
### storage
|
|
12
|
-
|
|
13
|
-
[`IStorageProvider`](../interfaces/IStorageProvider.md)
|
|
14
|
-
|
|
15
|
-
### identityOrPrivateKey
|
|
16
|
-
|
|
17
|
-
[`IdentityPrivateVaultAccess`](../type-aliases/IdentityPrivateVaultAccess.md)
|
|
18
|
-
|
|
19
|
-
## Returns
|
|
20
|
-
|
|
21
|
-
`Promise`\<[`IdentityPrivateVaultProfile`](../interfaces/IdentityPrivateVaultProfile.md) \| `null`\>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Function: readVaultPublicMetadata()
|
|
6
|
-
|
|
7
|
-
> **readVaultPublicMetadata**(`storage`, `vaultId`): `Promise`\<`Record`\<`string`, `any`\>\>
|
|
8
|
-
|
|
9
|
-
Reads the 'public' metadata of a vault. Requires vaultId but no private key.
|
|
10
|
-
|
|
11
|
-
## Parameters
|
|
12
|
-
|
|
13
|
-
### storage
|
|
14
|
-
|
|
15
|
-
[`IStorageProvider`](../interfaces/IStorageProvider.md)
|
|
16
|
-
|
|
17
|
-
### vaultId
|
|
18
|
-
|
|
19
|
-
`string`
|
|
20
|
-
|
|
21
|
-
## Returns
|
|
22
|
-
|
|
23
|
-
`Promise`\<`Record`\<`string`, `any`\>\>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Function: toOwnerHttpFlowBoundary()
|
|
6
|
-
|
|
7
|
-
> **toOwnerHttpFlowBoundary**(`flow`): [`OwnerHttpFlowBoundary`](../interfaces/OwnerHttpFlowBoundary.md)
|
|
8
|
-
|
|
9
|
-
## Parameters
|
|
10
|
-
|
|
11
|
-
### flow
|
|
12
|
-
|
|
13
|
-
`Pick`\<[`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md), `"mode"` \| `"targetUrl"` \| `"method"` \| `"responseVisibility"` \| `"responseSecret"`\>
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
[`OwnerHttpFlowBoundary`](../interfaces/OwnerHttpFlowBoundary.md)
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AgentCapability
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### agentId
|
|
10
|
-
|
|
11
|
-
> **agentId**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### allowedMethods
|
|
16
|
-
|
|
17
|
-
> **allowedMethods**: readonly `string`[]
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### allowedPaths?
|
|
22
|
-
|
|
23
|
-
> `optional` **allowedPaths?**: readonly `string`[]
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### allowedTargets
|
|
28
|
-
|
|
29
|
-
> **allowedTargets**: readonly `string`[]
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### auditRequired?
|
|
34
|
-
|
|
35
|
-
> `optional` **auditRequired?**: `boolean`
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
|
-
### capabilityId
|
|
40
|
-
|
|
41
|
-
> **capabilityId**: `string`
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### customFlowId?
|
|
46
|
-
|
|
47
|
-
> `optional` **customFlowId?**: `string`
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### expiresAt?
|
|
52
|
-
|
|
53
|
-
> `optional` **expiresAt?**: `string`
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### issuedAt
|
|
58
|
-
|
|
59
|
-
> **issuedAt**: `string`
|
|
60
|
-
|
|
61
|
-
***
|
|
62
|
-
|
|
63
|
-
### operation
|
|
64
|
-
|
|
65
|
-
> **operation**: `"dispatch_http"` \| `"custom_http"`
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### rateLimit?
|
|
70
|
-
|
|
71
|
-
> `optional` **rateLimit?**: `object`
|
|
72
|
-
|
|
73
|
-
#### maxRequests
|
|
74
|
-
|
|
75
|
-
> **maxRequests**: `number`
|
|
76
|
-
|
|
77
|
-
#### windowMs
|
|
78
|
-
|
|
79
|
-
> **windowMs**: `number`
|
|
80
|
-
|
|
81
|
-
***
|
|
82
|
-
|
|
83
|
-
### revocationVersion?
|
|
84
|
-
|
|
85
|
-
> `optional` **revocationVersion?**: `number`
|
|
86
|
-
|
|
87
|
-
***
|
|
88
|
-
|
|
89
|
-
### secretAliases?
|
|
90
|
-
|
|
91
|
-
> `optional` **secretAliases?**: readonly `string`[]
|
|
92
|
-
|
|
93
|
-
***
|
|
94
|
-
|
|
95
|
-
### secretIds?
|
|
96
|
-
|
|
97
|
-
> `optional` **secretIds?**: readonly `string`[]
|
|
98
|
-
|
|
99
|
-
***
|
|
100
|
-
|
|
101
|
-
### vaultId
|
|
102
|
-
|
|
103
|
-
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AgentIdentityRecord
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### agentId
|
|
10
|
-
|
|
11
|
-
> **agentId**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### publicKey
|
|
16
|
-
|
|
17
|
-
> **publicKey**: `string`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### vaultId
|
|
22
|
-
|
|
23
|
-
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AgentIdentityRegistry
|
|
6
|
-
|
|
7
|
-
## Methods
|
|
8
|
-
|
|
9
|
-
### get()
|
|
10
|
-
|
|
11
|
-
> **get**(`vaultId`, `agentId`): `Promise`\<[`AgentIdentityRecord`](AgentIdentityRecord.md) \| `null`\>
|
|
12
|
-
|
|
13
|
-
#### Parameters
|
|
14
|
-
|
|
15
|
-
##### vaultId
|
|
16
|
-
|
|
17
|
-
[`VaultId`](VaultId.md)
|
|
18
|
-
|
|
19
|
-
##### agentId
|
|
20
|
-
|
|
21
|
-
`string`
|
|
22
|
-
|
|
23
|
-
#### Returns
|
|
24
|
-
|
|
25
|
-
`Promise`\<[`AgentIdentityRecord`](AgentIdentityRecord.md) \| `null`\>
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### list()
|
|
30
|
-
|
|
31
|
-
> **list**(`vaultId`): `Promise`\<readonly [`AgentIdentityRecord`](AgentIdentityRecord.md)[]\>
|
|
32
|
-
|
|
33
|
-
#### Parameters
|
|
34
|
-
|
|
35
|
-
##### vaultId
|
|
36
|
-
|
|
37
|
-
[`VaultId`](VaultId.md)
|
|
38
|
-
|
|
39
|
-
#### Returns
|
|
40
|
-
|
|
41
|
-
`Promise`\<readonly [`AgentIdentityRecord`](AgentIdentityRecord.md)[]\>
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### register()
|
|
46
|
-
|
|
47
|
-
> **register**(`identity`): `Promise`\<`void`\>
|
|
48
|
-
|
|
49
|
-
#### Parameters
|
|
50
|
-
|
|
51
|
-
##### identity
|
|
52
|
-
|
|
53
|
-
[`AgentIdentityRecord`](AgentIdentityRecord.md)
|
|
54
|
-
|
|
55
|
-
#### Returns
|
|
56
|
-
|
|
57
|
-
`Promise`\<`void`\>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AgentProof
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### agentId
|
|
10
|
-
|
|
11
|
-
> **agentId**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### requestedAt
|
|
16
|
-
|
|
17
|
-
> **requestedAt**: `string`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### requestId
|
|
22
|
-
|
|
23
|
-
> **requestId**: `string`
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### signature
|
|
28
|
-
|
|
29
|
-
> **signature**: `string`
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AgentProofVerifier
|
|
6
|
-
|
|
7
|
-
## Methods
|
|
8
|
-
|
|
9
|
-
### verify()
|
|
10
|
-
|
|
11
|
-
> **verify**(`request`): `Promise`\<`void`\>
|
|
12
|
-
|
|
13
|
-
#### Parameters
|
|
14
|
-
|
|
15
|
-
##### request
|
|
16
|
-
|
|
17
|
-
[`DispatchRequest`](DispatchRequest.md)
|
|
18
|
-
|
|
19
|
-
#### Returns
|
|
20
|
-
|
|
21
|
-
`Promise`\<`void`\>
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AuditEntry
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### action
|
|
10
|
-
|
|
11
|
-
> **action**: [`AuditAction`](../enumerations/AuditAction.md)
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### actor
|
|
16
|
-
|
|
17
|
-
> **actor**: [`VaultPrincipal`](VaultPrincipal.md)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### agentId?
|
|
22
|
-
|
|
23
|
-
> `optional` **agentId?**: `string`
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### capabilityId?
|
|
28
|
-
|
|
29
|
-
> `optional` **capabilityId?**: `string`
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### detail
|
|
34
|
-
|
|
35
|
-
> **detail**: `string`
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
|
-
### entryId
|
|
40
|
-
|
|
41
|
-
> **entryId**: `string`
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### occurredAt
|
|
46
|
-
|
|
47
|
-
> **occurredAt**: `string`
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### operation?
|
|
52
|
-
|
|
53
|
-
> `optional` **operation?**: `"dispatch_http"` \| `"custom_http"` \| [`AuditAction`](../enumerations/AuditAction.md)
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### outcome
|
|
58
|
-
|
|
59
|
-
> **outcome**: [`AuditOutcome`](../enumerations/AuditOutcome.md)
|
|
60
|
-
|
|
61
|
-
***
|
|
62
|
-
|
|
63
|
-
### requestId?
|
|
64
|
-
|
|
65
|
-
> `optional` **requestId?**: `string`
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### secretAlias?
|
|
70
|
-
|
|
71
|
-
> `optional` **secretAlias?**: `string`
|
|
72
|
-
|
|
73
|
-
***
|
|
74
|
-
|
|
75
|
-
### secretId?
|
|
76
|
-
|
|
77
|
-
> `optional` **secretId?**: `string`
|
|
78
|
-
|
|
79
|
-
***
|
|
80
|
-
|
|
81
|
-
### targetUrl?
|
|
82
|
-
|
|
83
|
-
> `optional` **targetUrl?**: `string`
|
|
84
|
-
|
|
85
|
-
***
|
|
86
|
-
|
|
87
|
-
### vaultId
|
|
88
|
-
|
|
89
|
-
> **vaultId**: `string`
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AuditLog
|
|
6
|
-
|
|
7
|
-
## Methods
|
|
8
|
-
|
|
9
|
-
### append()
|
|
10
|
-
|
|
11
|
-
> **append**(`entry`): `Promise`\<`void`\>
|
|
12
|
-
|
|
13
|
-
#### Parameters
|
|
14
|
-
|
|
15
|
-
##### entry
|
|
16
|
-
|
|
17
|
-
[`AuditEntry`](AuditEntry.md)
|
|
18
|
-
|
|
19
|
-
#### Returns
|
|
20
|
-
|
|
21
|
-
`Promise`\<`void`\>
|
|
22
|
-
|
|
23
|
-
***
|
|
24
|
-
|
|
25
|
-
### query()
|
|
26
|
-
|
|
27
|
-
> **query**(`query`): `Promise`\<readonly [`AuditEntry`](AuditEntry.md)[]\>
|
|
28
|
-
|
|
29
|
-
#### Parameters
|
|
30
|
-
|
|
31
|
-
##### query
|
|
32
|
-
|
|
33
|
-
[`AuditQuery`](AuditQuery.md)
|
|
34
|
-
|
|
35
|
-
#### Returns
|
|
36
|
-
|
|
37
|
-
`Promise`\<readonly [`AuditEntry`](AuditEntry.md)[]\>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AuditQuery
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### actorId?
|
|
10
|
-
|
|
11
|
-
> `optional` **actorId?**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### requestId?
|
|
16
|
-
|
|
17
|
-
> `optional` **requestId?**: `string`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### secretAlias?
|
|
22
|
-
|
|
23
|
-
> `optional` **secretAlias?**: `string`
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### since?
|
|
28
|
-
|
|
29
|
-
> `optional` **since?**: `string`
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: CapabilityRegistry
|
|
6
|
-
|
|
7
|
-
## Methods
|
|
8
|
-
|
|
9
|
-
### get()
|
|
10
|
-
|
|
11
|
-
> **get**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<[`AgentCapability`](AgentCapability.md) \| `null`\>
|
|
12
|
-
|
|
13
|
-
#### Parameters
|
|
14
|
-
|
|
15
|
-
##### vaultId
|
|
16
|
-
|
|
17
|
-
[`VaultId`](VaultId.md)
|
|
18
|
-
|
|
19
|
-
##### agentId
|
|
20
|
-
|
|
21
|
-
`string`
|
|
22
|
-
|
|
23
|
-
##### capabilityId
|
|
24
|
-
|
|
25
|
-
`string`
|
|
26
|
-
|
|
27
|
-
#### Returns
|
|
28
|
-
|
|
29
|
-
`Promise`\<[`AgentCapability`](AgentCapability.md) \| `null`\>
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### list()
|
|
34
|
-
|
|
35
|
-
> **list**(`vaultId`, `agentId?`): `Promise`\<readonly [`AgentCapability`](AgentCapability.md)[]\>
|
|
36
|
-
|
|
37
|
-
#### Parameters
|
|
38
|
-
|
|
39
|
-
##### vaultId
|
|
40
|
-
|
|
41
|
-
[`VaultId`](VaultId.md)
|
|
42
|
-
|
|
43
|
-
##### agentId?
|
|
44
|
-
|
|
45
|
-
`string`
|
|
46
|
-
|
|
47
|
-
#### Returns
|
|
48
|
-
|
|
49
|
-
`Promise`\<readonly [`AgentCapability`](AgentCapability.md)[]\>
|
|
50
|
-
|
|
51
|
-
***
|
|
52
|
-
|
|
53
|
-
### register()
|
|
54
|
-
|
|
55
|
-
> **register**(`capability`): `Promise`\<`void`\>
|
|
56
|
-
|
|
57
|
-
#### Parameters
|
|
58
|
-
|
|
59
|
-
##### capability
|
|
60
|
-
|
|
61
|
-
[`AgentCapability`](AgentCapability.md)
|
|
62
|
-
|
|
63
|
-
#### Returns
|
|
64
|
-
|
|
65
|
-
`Promise`\<`void`\>
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: CapabilityRevocationRegistry
|
|
6
|
-
|
|
7
|
-
## Methods
|
|
8
|
-
|
|
9
|
-
### get()
|
|
10
|
-
|
|
11
|
-
> **get**(`vaultId`, `agentId`, `capabilityId`): `number` \| `Promise`\<`number`\>
|
|
12
|
-
|
|
13
|
-
#### Parameters
|
|
14
|
-
|
|
15
|
-
##### vaultId
|
|
16
|
-
|
|
17
|
-
[`VaultId`](VaultId.md)
|
|
18
|
-
|
|
19
|
-
##### agentId
|
|
20
|
-
|
|
21
|
-
`string`
|
|
22
|
-
|
|
23
|
-
##### capabilityId
|
|
24
|
-
|
|
25
|
-
`string`
|
|
26
|
-
|
|
27
|
-
#### Returns
|
|
28
|
-
|
|
29
|
-
`number` \| `Promise`\<`number`\>
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### revoke()
|
|
34
|
-
|
|
35
|
-
> **revoke**(`vaultId`, `agentId`, `capabilityId`): `number` \| `Promise`\<`number`\>
|
|
36
|
-
|
|
37
|
-
#### Parameters
|
|
38
|
-
|
|
39
|
-
##### vaultId
|
|
40
|
-
|
|
41
|
-
[`VaultId`](VaultId.md)
|
|
42
|
-
|
|
43
|
-
##### agentId
|
|
44
|
-
|
|
45
|
-
`string`
|
|
46
|
-
|
|
47
|
-
##### capabilityId
|
|
48
|
-
|
|
49
|
-
`string`
|
|
50
|
-
|
|
51
|
-
#### Returns
|
|
52
|
-
|
|
53
|
-
`number` \| `Promise`\<`number`\>
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: ChildIdentity
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### childIndex
|
|
10
|
-
|
|
11
|
-
> **childIndex**: `number`
|
|
12
|
-
|
|
13
|
-
The derivation index, if this is a child identity.
|
|
14
|
-
|
|
15
|
-
#### Overrides
|
|
16
|
-
|
|
17
|
-
`CreatedIdentity.childIndex`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### identityId
|
|
22
|
-
|
|
23
|
-
> **identityId**: `string`
|
|
24
|
-
|
|
25
|
-
The unique identifier for this identity (derived from public key).
|
|
26
|
-
|
|
27
|
-
#### Inherited from
|
|
28
|
-
|
|
29
|
-
`CreatedIdentity.identityId`
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### nickname?
|
|
34
|
-
|
|
35
|
-
> `optional` **nickname?**: `string`
|
|
36
|
-
|
|
37
|
-
A human-readable label (local only, not part of the crypto identity).
|
|
38
|
-
|
|
39
|
-
#### Inherited from
|
|
40
|
-
|
|
41
|
-
`CreatedIdentity.nickname`
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### parentIdentityId
|
|
46
|
-
|
|
47
|
-
> **parentIdentityId**: `string`
|
|
48
|
-
|
|
49
|
-
The identity ID of the parent, if this is a child identity.
|
|
50
|
-
|
|
51
|
-
#### Overrides
|
|
52
|
-
|
|
53
|
-
`CreatedIdentity.parentIdentityId`
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### privateKey
|
|
58
|
-
|
|
59
|
-
> **privateKey**: `string`
|
|
60
|
-
|
|
61
|
-
The base64url-encoded Ed25519 PKCS#8 private key.
|
|
62
|
-
|
|
63
|
-
#### Inherited from
|
|
64
|
-
|
|
65
|
-
`CreatedIdentity.privateKey`
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### publicKey
|
|
70
|
-
|
|
71
|
-
> **publicKey**: `string`
|
|
72
|
-
|
|
73
|
-
The base64url-encoded public key.
|
|
74
|
-
|
|
75
|
-
#### Inherited from
|
|
76
|
-
|
|
77
|
-
`CreatedIdentity.publicKey`
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: CreateChildIdentityOptions
|
|
6
|
-
|
|
7
|
-
## Extends
|
|
8
|
-
|
|
9
|
-
- [`CreateIdentityOptions`](CreateIdentityOptions.md)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### nickname?
|
|
14
|
-
|
|
15
|
-
> `optional` **nickname?**: `string`
|
|
16
|
-
|
|
17
|
-
#### Inherited from
|
|
18
|
-
|
|
19
|
-
[`CreateIdentityOptions`](CreateIdentityOptions.md).[`nickname`](CreateIdentityOptions.md#nickname)
|