@the-ai-company/cbio-node-runtime 1.63.3 → 1.63.6
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/README.md +48 -209
- package/dist/clients/agent/client.d.ts +18 -40
- package/dist/clients/agent/client.js +22 -109
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +1 -8
- package/dist/clients/agent/index.d.ts +1 -1
- package/dist/clients/owner/client.d.ts +2 -102
- package/dist/clients/owner/client.js +111 -266
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +37 -75
- package/dist/clients/owner/index.d.ts +2 -4
- package/dist/clients/owner/index.js +1 -2
- package/dist/clients/owner/index.js.map +1 -1
- package/dist/internal/id-factory.d.ts +0 -2
- package/dist/internal/id-factory.js +0 -6
- package/dist/internal/id-factory.js.map +1 -1
- package/dist/protocol/identity.d.ts +1 -1
- package/dist/protocol/identity.js +3 -3
- package/dist/protocol/identity.js.map +1 -1
- package/dist/public-types.d.ts +5 -14
- package/dist/public-types.js +1 -8
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +1 -3
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +2 -2
- package/dist/runtime/identity.js +3 -5
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +10 -12
- package/dist/runtime/index.js +7 -8
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +7 -6
- package/dist/runtime/owner-session.js +5 -6
- package/dist/runtime/owner-session.js.map +1 -1
- package/dist/storage/fs.d.ts +3 -2
- package/dist/storage/fs.js +8 -5
- package/dist/storage/fs.js.map +1 -1
- package/dist/storage/prefix.d.ts +1 -0
- package/dist/storage/prefix.js +7 -0
- package/dist/storage/prefix.js.map +1 -1
- package/dist/storage/provider.d.ts +2 -0
- package/dist/vault-core/contracts.d.ts +95 -210
- package/dist/vault-core/contracts.js +8 -11
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +119 -62
- package/dist/vault-core/core.js +518 -1180
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +22 -44
- package/dist/vault-core/defaults.js +65 -234
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/errors.d.ts +3 -2
- package/dist/vault-core/errors.js.map +1 -1
- package/dist/vault-core/index.d.ts +5 -5
- package/dist/vault-core/index.js +2 -2
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +72 -119
- package/dist/vault-core/persistence.js +310 -427
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +19 -30
- package/dist/vault-core/read-policy.d.ts +3 -2
- package/dist/vault-core/read-policy.js.map +1 -1
- package/dist/vault-core/tool-metadata.js +2 -2
- package/dist/vault-core/tool-metadata.js.map +1 -1
- package/dist/vault-ingress/defaults.d.ts +4 -2
- package/dist/vault-ingress/defaults.js +14 -8
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +39 -119
- package/dist/vault-ingress/index.js +98 -456
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +5 -3
- package/dist/vault-ingress/remote-transport.js +8 -28
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/ARCHITECTURE.md +39 -22
- package/docs/CUSTODY_MODEL.md +1 -1
- package/docs/IDENTITY_MODEL.md +5 -5
- package/docs/MIGRATION-1.51.md +19 -19
- package/docs/MIGRATION-1.65.md +87 -0
- package/docs/PROCESS_ISOLATION.md +2 -2
- package/docs/REFERENCE.md +42 -224
- package/docs/api/README.md +48 -30
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +89 -0
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +125 -0
- package/docs/api/classes/PersistentVaultAuditLog.md +65 -0
- package/docs/api/classes/PersistentVaultSecretCustody.md +93 -0
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +125 -0
- package/docs/api/classes/PersistentVaultSecretRepository.md +127 -0
- package/docs/api/classes/VaultCore.md +264 -237
- package/docs/api/classes/VaultCoreError.md +3 -3
- package/docs/api/enumerations/AuditAction.md +143 -0
- package/docs/api/enumerations/AuditOutcome.md +35 -0
- package/docs/api/enumerations/DispatchStatus.md +35 -0
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -15
- package/docs/api/functions/createIdentity.md +2 -2
- package/docs/api/functions/createOwnerClient.md +17 -0
- package/docs/api/functions/createOwnerSession.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +4 -4
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultCore.md +1 -1
- package/docs/api/functions/createVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVaultService.md +5 -13
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.md +17 -0
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +2 -2
- package/docs/api/functions/handleVaultHttpDispatch.md +2 -2
- package/docs/api/functions/initializeVaultCustody.md +7 -3
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/readVaultProfile.md +1 -1
- package/docs/api/functions/recoverVault.md +1 -1
- package/docs/api/functions/recoverVaultWorkingKey.md +4 -8
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentClient.md +20 -59
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +12 -44
- package/docs/api/interfaces/AgentIdentity.md +3 -3
- package/docs/api/interfaces/AgentIdentityRecord.md +47 -0
- package/docs/api/interfaces/AgentRequestResult.md +35 -0
- package/docs/api/interfaces/AgentRuntimeManifest.md +55 -0
- package/docs/api/interfaces/AgentSecretGrant.md +41 -0
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +53 -0
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +65 -0
- package/docs/api/interfaces/AuditEntry.md +83 -0
- package/docs/api/interfaces/CbioRuntime.md +13 -154
- package/docs/api/interfaces/CreateAgentClientOptions.md +4 -10
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/{CreateVaultClientOptions.md → CreateOwnerClientOptions.md} +9 -11
- package/docs/api/interfaces/CreateOwnerSessionOptions.md +3 -121
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -131
- package/docs/api/interfaces/CreateVaultOptions.md +1 -125
- package/docs/api/interfaces/CreatedVault.md +2 -2
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -13
- package/docs/api/interfaces/DispatchAuthorization.md +43 -0
- package/docs/api/interfaces/DispatchInstruction.md +47 -0
- package/docs/api/interfaces/DispatchRequest.md +83 -0
- package/docs/api/interfaces/DispatchResult.md +53 -0
- package/docs/api/interfaces/IStorageProvider.md +13 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +31 -11
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -7
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +2 -2
- package/docs/api/interfaces/OwnerClient.md +401 -0
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +97 -0
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +3 -3
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +73 -0
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -125
- package/docs/api/interfaces/RecoveredVault.md +2 -2
- package/docs/api/interfaces/RequestRecord.md +107 -0
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +11 -0
- package/docs/api/interfaces/SecretDestinationGrant.md +41 -0
- package/docs/api/interfaces/SecretId.md +11 -0
- package/docs/api/interfaces/SecretRecord.md +89 -0
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +3 -9
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -5
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +17 -0
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +23 -0
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +23 -0
- package/docs/api/interfaces/VaultId.md +11 -0
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +5 -5
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListGrantsInput.md +23 -0
- package/docs/api/interfaces/VaultListRequestsInput.md +17 -0
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +2 -2
- package/docs/api/interfaces/VaultPrincipal.md +17 -0
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +7 -7
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +23 -0
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +23 -0
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +511 -0
- package/docs/api/interfaces/VaultUpdateAgentInput.md +7 -7
- package/docs/api/type-aliases/AgentId.md +7 -0
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +7 -0
- package/docs/api/type-aliases/GrantStatus.md +7 -0
- package/docs/api/type-aliases/SecretLifecycleStatus.md +7 -0
- package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +2 -2
- package/docs/es/README.md +3 -3
- package/docs/fr/README.md +3 -3
- package/docs/ja/README.md +5 -5
- package/docs/ko/README.md +5 -5
- package/docs/pt/README.md +3 -3
- package/docs/zh/PROCESS_ISOLATION.md +2 -2
- package/docs/zh/README.md +47 -63
- package/examples/process-isolation.ts +26 -35
- package/package.json +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +0 -17
- package/docs/api/functions/createStandardAcquireBoundary.md +0 -31
- package/docs/api/functions/createStandardDispatchBoundary.md +0 -23
- package/docs/api/functions/createVaultClient.md +0 -32
- package/docs/api/functions/deriveIdentityId.md +0 -17
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +0 -31
- package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +0 -41
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +0 -23
- package/docs/api/interfaces/VaultClient.md +0 -473
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +0 -79
- package/docs/api/interfaces/VaultGrantCapabilityRequest.md +0 -23
- package/docs/api/interfaces/VaultIdentity.md +0 -11
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +0 -17
- package/docs/api/interfaces/VaultRegisterFlowInput.md +0 -77
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +0 -23
- package/docs/api/interfaces/VaultSigner.md +0 -21
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +0 -73
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +0 -7
- package/docs/api/type-aliases/AgentVisibleSecretRecord.md +0 -7
- package/docs/api/type-aliases/CreateOwnerClientOptions.md +0 -7
- package/docs/api/type-aliases/OwnerAgentView.md +0 -7
- package/docs/api/type-aliases/OwnerClient.md +0 -13
- package/docs/api/type-aliases/OwnerGrantCapabilityInput.md +0 -7
- package/docs/api/type-aliases/OwnerPendingApprovalView.md +0 -7
- package/docs/api/type-aliases/OwnerRequestDetailView.md +0 -7
- package/docs/api/type-aliases/OwnerRequestSummaryView.md +0 -7
- package/docs/api/type-aliases/OwnerSecretView.md +0 -7
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultPrincipal
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### id
|
|
10
|
+
|
|
11
|
+
> **id**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### kind
|
|
16
|
+
|
|
17
|
+
> **kind**: [`VaultPrincipalKind`](../type-aliases/VaultPrincipalKind.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
### agentId
|
|
10
|
-
|
|
11
|
-
> **agentId**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
9
|
### password
|
|
16
10
|
|
|
17
11
|
> **password**: `string`
|
|
@@ -24,6 +18,12 @@
|
|
|
24
18
|
|
|
25
19
|
***
|
|
26
20
|
|
|
21
|
+
### rootAgentId
|
|
22
|
+
|
|
23
|
+
> **rootAgentId**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
27
|
### verificationCode?
|
|
28
28
|
|
|
29
29
|
> `optional` **verificationCode?**: `string`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultRevokeAgentSecretInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### requestedAt?
|
|
10
|
+
|
|
11
|
+
> `optional` **requestedAt?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### rootAgentId
|
|
16
|
+
|
|
17
|
+
> **rootAgentId**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### secretAlias
|
|
22
|
+
|
|
23
|
+
> **secretAlias**: `string`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultRevokeSecretDestinationInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### requestedAt?
|
|
10
|
+
|
|
11
|
+
> `optional` **requestedAt?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### secretAlias
|
|
16
|
+
|
|
17
|
+
> **secretAlias**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### siteId
|
|
22
|
+
|
|
23
|
+
> **siteId**: `string`
|
|
@@ -0,0 +1,511 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultService
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### vaultId
|
|
10
|
+
|
|
11
|
+
> `readonly` **vaultId**: [`VaultId`](VaultId.md)
|
|
12
|
+
|
|
13
|
+
## Methods
|
|
14
|
+
|
|
15
|
+
### agentDispatch()
|
|
16
|
+
|
|
17
|
+
> **agentDispatch**(`request`): `Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
##### request
|
|
22
|
+
|
|
23
|
+
[`DispatchRequest`](DispatchRequest.md)
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
`Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### agentGetRequest()
|
|
32
|
+
|
|
33
|
+
> **agentGetRequest**(`request`): `Promise`\<[`AgentRequestResult`](AgentRequestResult.md)\>
|
|
34
|
+
|
|
35
|
+
#### Parameters
|
|
36
|
+
|
|
37
|
+
##### request
|
|
38
|
+
|
|
39
|
+
`AgentGetRequestRequest`
|
|
40
|
+
|
|
41
|
+
#### Returns
|
|
42
|
+
|
|
43
|
+
`Promise`\<[`AgentRequestResult`](AgentRequestResult.md)\>
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### agentGetRuntimeManifest()
|
|
48
|
+
|
|
49
|
+
> **agentGetRuntimeManifest**(`request`): `Promise`\<[`AgentRuntimeManifest`](AgentRuntimeManifest.md)\>
|
|
50
|
+
|
|
51
|
+
#### Parameters
|
|
52
|
+
|
|
53
|
+
##### request
|
|
54
|
+
|
|
55
|
+
`AgentGetRuntimeManifestRequest`
|
|
56
|
+
|
|
57
|
+
#### Returns
|
|
58
|
+
|
|
59
|
+
`Promise`\<[`AgentRuntimeManifest`](AgentRuntimeManifest.md)\>
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### agentHandleControl()
|
|
64
|
+
|
|
65
|
+
> **agentHandleControl**(`request`): `Promise`\<`VaultAgentControlResponse` \| `VaultAgentControlErrorResponse`\>
|
|
66
|
+
|
|
67
|
+
#### Parameters
|
|
68
|
+
|
|
69
|
+
##### request
|
|
70
|
+
|
|
71
|
+
`VaultAgentControlRequest`
|
|
72
|
+
|
|
73
|
+
#### Returns
|
|
74
|
+
|
|
75
|
+
`Promise`\<`VaultAgentControlResponse` \| `VaultAgentControlErrorResponse`\>
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### agentHandleDispatch()
|
|
80
|
+
|
|
81
|
+
> **agentHandleDispatch**(`request`): `Promise`\<`VaultAgentDispatchResponse` \| `VaultAgentDispatchErrorResponse`\>
|
|
82
|
+
|
|
83
|
+
#### Parameters
|
|
84
|
+
|
|
85
|
+
##### request
|
|
86
|
+
|
|
87
|
+
`VaultAgentDispatchRequest`
|
|
88
|
+
|
|
89
|
+
#### Returns
|
|
90
|
+
|
|
91
|
+
`Promise`\<`VaultAgentDispatchResponse` \| `VaultAgentDispatchErrorResponse`\>
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### agentListRequests()
|
|
96
|
+
|
|
97
|
+
> **agentListRequests**(`request`): `Promise`\<readonly [`AgentVisibleRequestRecord`](AgentVisibleRequestRecord.md)[]\>
|
|
98
|
+
|
|
99
|
+
#### Parameters
|
|
100
|
+
|
|
101
|
+
##### request
|
|
102
|
+
|
|
103
|
+
`AgentListRequestsRequest`
|
|
104
|
+
|
|
105
|
+
#### Returns
|
|
106
|
+
|
|
107
|
+
`Promise`\<readonly [`AgentVisibleRequestRecord`](AgentVisibleRequestRecord.md)[]\>
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### agentListSecrets()
|
|
112
|
+
|
|
113
|
+
> **agentListSecrets**(`request`): `Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
114
|
+
|
|
115
|
+
#### Parameters
|
|
116
|
+
|
|
117
|
+
##### request
|
|
118
|
+
|
|
119
|
+
`AgentListSecretsRequest`
|
|
120
|
+
|
|
121
|
+
#### Returns
|
|
122
|
+
|
|
123
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
124
|
+
|
|
125
|
+
***
|
|
126
|
+
|
|
127
|
+
### ownerApproveDispatch()
|
|
128
|
+
|
|
129
|
+
> **ownerApproveDispatch**(`request`): `Promise`\<[`DispatchResult`](DispatchResult.md) \| `null`\>
|
|
130
|
+
|
|
131
|
+
#### Parameters
|
|
132
|
+
|
|
133
|
+
##### request
|
|
134
|
+
|
|
135
|
+
`OwnerApproveDispatchCommand`
|
|
136
|
+
|
|
137
|
+
#### Returns
|
|
138
|
+
|
|
139
|
+
`Promise`\<[`DispatchResult`](DispatchResult.md) \| `null`\>
|
|
140
|
+
|
|
141
|
+
***
|
|
142
|
+
|
|
143
|
+
### ownerCreateSecret()
|
|
144
|
+
|
|
145
|
+
> **ownerCreateSecret**(`request`): `Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
146
|
+
|
|
147
|
+
#### Parameters
|
|
148
|
+
|
|
149
|
+
##### request
|
|
150
|
+
|
|
151
|
+
`OwnerCreateSecretCommand`
|
|
152
|
+
|
|
153
|
+
#### Returns
|
|
154
|
+
|
|
155
|
+
`Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
156
|
+
|
|
157
|
+
***
|
|
158
|
+
|
|
159
|
+
### ownerExportSecret()
|
|
160
|
+
|
|
161
|
+
> **ownerExportSecret**(`request`): `Promise`\<`OwnerSecretExport`\>
|
|
162
|
+
|
|
163
|
+
#### Parameters
|
|
164
|
+
|
|
165
|
+
##### request
|
|
166
|
+
|
|
167
|
+
`OwnerExportSecretRequest`
|
|
168
|
+
|
|
169
|
+
#### Returns
|
|
170
|
+
|
|
171
|
+
`Promise`\<`OwnerSecretExport`\>
|
|
172
|
+
|
|
173
|
+
***
|
|
174
|
+
|
|
175
|
+
### ownerGetRequest()
|
|
176
|
+
|
|
177
|
+
> **ownerGetRequest**(`request`): `Promise`\<[`OwnerRequestRecord`](OwnerRequestRecord.md)\>
|
|
178
|
+
|
|
179
|
+
#### Parameters
|
|
180
|
+
|
|
181
|
+
##### request
|
|
182
|
+
|
|
183
|
+
`OwnerGetRequestRequest`
|
|
184
|
+
|
|
185
|
+
#### Returns
|
|
186
|
+
|
|
187
|
+
`Promise`\<[`OwnerRequestRecord`](OwnerRequestRecord.md)\>
|
|
188
|
+
|
|
189
|
+
***
|
|
190
|
+
|
|
191
|
+
### ownerGrantAgentSecret()
|
|
192
|
+
|
|
193
|
+
> **ownerGrantAgentSecret**(`request`): `Promise`\<[`AgentSecretGrant`](AgentSecretGrant.md)\>
|
|
194
|
+
|
|
195
|
+
#### Parameters
|
|
196
|
+
|
|
197
|
+
##### request
|
|
198
|
+
|
|
199
|
+
`OwnerGrantAgentSecretCommand`
|
|
200
|
+
|
|
201
|
+
#### Returns
|
|
202
|
+
|
|
203
|
+
`Promise`\<[`AgentSecretGrant`](AgentSecretGrant.md)\>
|
|
204
|
+
|
|
205
|
+
***
|
|
206
|
+
|
|
207
|
+
### ownerGrantSecretDestination()
|
|
208
|
+
|
|
209
|
+
> **ownerGrantSecretDestination**(`request`): `Promise`\<[`SecretDestinationGrant`](SecretDestinationGrant.md)\>
|
|
210
|
+
|
|
211
|
+
#### Parameters
|
|
212
|
+
|
|
213
|
+
##### request
|
|
214
|
+
|
|
215
|
+
`OwnerGrantSecretDestinationCommand`
|
|
216
|
+
|
|
217
|
+
#### Returns
|
|
218
|
+
|
|
219
|
+
`Promise`\<[`SecretDestinationGrant`](SecretDestinationGrant.md)\>
|
|
220
|
+
|
|
221
|
+
***
|
|
222
|
+
|
|
223
|
+
### ownerHandleControl()
|
|
224
|
+
|
|
225
|
+
> **ownerHandleControl**(`request`): `Promise`\<`VaultOwnerControlResponse` \| `VaultOwnerControlErrorResponse`\>
|
|
226
|
+
|
|
227
|
+
#### Parameters
|
|
228
|
+
|
|
229
|
+
##### request
|
|
230
|
+
|
|
231
|
+
`VaultOwnerControlRequest`
|
|
232
|
+
|
|
233
|
+
#### Returns
|
|
234
|
+
|
|
235
|
+
`Promise`\<`VaultOwnerControlResponse` \| `VaultOwnerControlErrorResponse`\>
|
|
236
|
+
|
|
237
|
+
***
|
|
238
|
+
|
|
239
|
+
### ownerIssueAllAgentSessionTokens()
|
|
240
|
+
|
|
241
|
+
> **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`OwnerSessionToken`[]\>
|
|
242
|
+
|
|
243
|
+
#### Parameters
|
|
244
|
+
|
|
245
|
+
##### actor
|
|
246
|
+
|
|
247
|
+
[`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
248
|
+
|
|
249
|
+
#### Returns
|
|
250
|
+
|
|
251
|
+
`Promise`\<`OwnerSessionToken`[]\>
|
|
252
|
+
|
|
253
|
+
***
|
|
254
|
+
|
|
255
|
+
### ownerIssueSessionToken()
|
|
256
|
+
|
|
257
|
+
> **ownerIssueSessionToken**(`request`): `Promise`\<`OwnerSessionToken`\>
|
|
258
|
+
|
|
259
|
+
#### Parameters
|
|
260
|
+
|
|
261
|
+
##### request
|
|
262
|
+
|
|
263
|
+
`OwnerIssueSessionTokenRequest`
|
|
264
|
+
|
|
265
|
+
#### Returns
|
|
266
|
+
|
|
267
|
+
`Promise`\<`OwnerSessionToken`\>
|
|
268
|
+
|
|
269
|
+
***
|
|
270
|
+
|
|
271
|
+
### ownerListAgents()
|
|
272
|
+
|
|
273
|
+
> **ownerListAgents**(`request`): `Promise`\<readonly [`AgentIdentityRecord`](AgentIdentityRecord.md)[]\>
|
|
274
|
+
|
|
275
|
+
#### Parameters
|
|
276
|
+
|
|
277
|
+
##### request
|
|
278
|
+
|
|
279
|
+
`OwnerListAgentsRequest`
|
|
280
|
+
|
|
281
|
+
#### Returns
|
|
282
|
+
|
|
283
|
+
`Promise`\<readonly [`AgentIdentityRecord`](AgentIdentityRecord.md)[]\>
|
|
284
|
+
|
|
285
|
+
***
|
|
286
|
+
|
|
287
|
+
### ownerListGrants()
|
|
288
|
+
|
|
289
|
+
> **ownerListGrants**(`request`): `Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](SecretDestinationGrant.md)[]; \}\>
|
|
290
|
+
|
|
291
|
+
#### Parameters
|
|
292
|
+
|
|
293
|
+
##### request
|
|
294
|
+
|
|
295
|
+
`OwnerListGrantsRequest`
|
|
296
|
+
|
|
297
|
+
#### Returns
|
|
298
|
+
|
|
299
|
+
`Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](SecretDestinationGrant.md)[]; \}\>
|
|
300
|
+
|
|
301
|
+
***
|
|
302
|
+
|
|
303
|
+
### ownerListRequests()
|
|
304
|
+
|
|
305
|
+
> **ownerListRequests**(`request`): `Promise`\<readonly [`OwnerVisibleRequestRecord`](OwnerVisibleRequestRecord.md)[]\>
|
|
306
|
+
|
|
307
|
+
#### Parameters
|
|
308
|
+
|
|
309
|
+
##### request
|
|
310
|
+
|
|
311
|
+
`OwnerListRequestsRequest`
|
|
312
|
+
|
|
313
|
+
#### Returns
|
|
314
|
+
|
|
315
|
+
`Promise`\<readonly [`OwnerVisibleRequestRecord`](OwnerVisibleRequestRecord.md)[]\>
|
|
316
|
+
|
|
317
|
+
***
|
|
318
|
+
|
|
319
|
+
### ownerListSecrets()
|
|
320
|
+
|
|
321
|
+
> **ownerListSecrets**(`request`): `Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
322
|
+
|
|
323
|
+
#### Parameters
|
|
324
|
+
|
|
325
|
+
##### request
|
|
326
|
+
|
|
327
|
+
###### owner
|
|
328
|
+
|
|
329
|
+
[`VaultPrincipal`](VaultPrincipal.md)
|
|
330
|
+
|
|
331
|
+
###### requestId?
|
|
332
|
+
|
|
333
|
+
`string`
|
|
334
|
+
|
|
335
|
+
###### vaultId
|
|
336
|
+
|
|
337
|
+
[`VaultId`](VaultId.md)
|
|
338
|
+
|
|
339
|
+
#### Returns
|
|
340
|
+
|
|
341
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
342
|
+
|
|
343
|
+
***
|
|
344
|
+
|
|
345
|
+
### ownerOnPendingDispatch()
|
|
346
|
+
|
|
347
|
+
> **ownerOnPendingDispatch**(`callback`): () => `void`
|
|
348
|
+
|
|
349
|
+
#### Parameters
|
|
350
|
+
|
|
351
|
+
##### callback
|
|
352
|
+
|
|
353
|
+
(`record`) => `void`
|
|
354
|
+
|
|
355
|
+
#### Returns
|
|
356
|
+
|
|
357
|
+
() => `void`
|
|
358
|
+
|
|
359
|
+
***
|
|
360
|
+
|
|
361
|
+
### ownerReadAudit()
|
|
362
|
+
|
|
363
|
+
> **ownerReadAudit**(`request`): `Promise`\<readonly [`AuditEntry`](AuditEntry.md)[]\>
|
|
364
|
+
|
|
365
|
+
#### Parameters
|
|
366
|
+
|
|
367
|
+
##### request
|
|
368
|
+
|
|
369
|
+
`OwnerAuditRequest`
|
|
370
|
+
|
|
371
|
+
#### Returns
|
|
372
|
+
|
|
373
|
+
`Promise`\<readonly [`AuditEntry`](AuditEntry.md)[]\>
|
|
374
|
+
|
|
375
|
+
***
|
|
376
|
+
|
|
377
|
+
### ownerRegisterAgentIdentity()
|
|
378
|
+
|
|
379
|
+
> **ownerRegisterAgentIdentity**(`request`): `Promise`\<`void`\>
|
|
380
|
+
|
|
381
|
+
#### Parameters
|
|
382
|
+
|
|
383
|
+
##### request
|
|
384
|
+
|
|
385
|
+
`OwnerRegisterAgentIdentityCommand`
|
|
386
|
+
|
|
387
|
+
#### Returns
|
|
388
|
+
|
|
389
|
+
`Promise`\<`void`\>
|
|
390
|
+
|
|
391
|
+
***
|
|
392
|
+
|
|
393
|
+
### ownerRemoveSecret()
|
|
394
|
+
|
|
395
|
+
> **ownerRemoveSecret**(`request`): `Promise`\<`void`\>
|
|
396
|
+
|
|
397
|
+
#### Parameters
|
|
398
|
+
|
|
399
|
+
##### request
|
|
400
|
+
|
|
401
|
+
`OwnerDeleteSecretCommand`
|
|
402
|
+
|
|
403
|
+
#### Returns
|
|
404
|
+
|
|
405
|
+
`Promise`\<`void`\>
|
|
406
|
+
|
|
407
|
+
***
|
|
408
|
+
|
|
409
|
+
### ownerRevokeAgentSecret()
|
|
410
|
+
|
|
411
|
+
> **ownerRevokeAgentSecret**(`request`): `Promise`\<`void`\>
|
|
412
|
+
|
|
413
|
+
#### Parameters
|
|
414
|
+
|
|
415
|
+
##### request
|
|
416
|
+
|
|
417
|
+
`OwnerRevokeAgentSecretCommand`
|
|
418
|
+
|
|
419
|
+
#### Returns
|
|
420
|
+
|
|
421
|
+
`Promise`\<`void`\>
|
|
422
|
+
|
|
423
|
+
***
|
|
424
|
+
|
|
425
|
+
### ownerRevokeSecretDestination()
|
|
426
|
+
|
|
427
|
+
> **ownerRevokeSecretDestination**(`request`): `Promise`\<`void`\>
|
|
428
|
+
|
|
429
|
+
#### Parameters
|
|
430
|
+
|
|
431
|
+
##### request
|
|
432
|
+
|
|
433
|
+
`OwnerRevokeSecretDestinationCommand`
|
|
434
|
+
|
|
435
|
+
#### Returns
|
|
436
|
+
|
|
437
|
+
`Promise`\<`void`\>
|
|
438
|
+
|
|
439
|
+
***
|
|
440
|
+
|
|
441
|
+
### ownerRevokeSessionToken()
|
|
442
|
+
|
|
443
|
+
> **ownerRevokeSessionToken**(`request`): `Promise`\<`void`\>
|
|
444
|
+
|
|
445
|
+
#### Parameters
|
|
446
|
+
|
|
447
|
+
##### request
|
|
448
|
+
|
|
449
|
+
###### actor
|
|
450
|
+
|
|
451
|
+
[`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
452
|
+
|
|
453
|
+
###### token
|
|
454
|
+
|
|
455
|
+
`string`
|
|
456
|
+
|
|
457
|
+
###### vaultId
|
|
458
|
+
|
|
459
|
+
[`VaultId`](VaultId.md)
|
|
460
|
+
|
|
461
|
+
#### Returns
|
|
462
|
+
|
|
463
|
+
`Promise`\<`void`\>
|
|
464
|
+
|
|
465
|
+
***
|
|
466
|
+
|
|
467
|
+
### ownerUpdateAgentIdentity()
|
|
468
|
+
|
|
469
|
+
> **ownerUpdateAgentIdentity**(`request`): `Promise`\<[`AgentIdentityRecord`](AgentIdentityRecord.md)\>
|
|
470
|
+
|
|
471
|
+
#### Parameters
|
|
472
|
+
|
|
473
|
+
##### request
|
|
474
|
+
|
|
475
|
+
`OwnerUpdateAgentIdentityCommand`
|
|
476
|
+
|
|
477
|
+
#### Returns
|
|
478
|
+
|
|
479
|
+
`Promise`\<[`AgentIdentityRecord`](AgentIdentityRecord.md)\>
|
|
480
|
+
|
|
481
|
+
***
|
|
482
|
+
|
|
483
|
+
### ownerUpdateSecret()
|
|
484
|
+
|
|
485
|
+
> **ownerUpdateSecret**(`request`): `Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
486
|
+
|
|
487
|
+
#### Parameters
|
|
488
|
+
|
|
489
|
+
##### request
|
|
490
|
+
|
|
491
|
+
`OwnerUpdateSecretCommand`
|
|
492
|
+
|
|
493
|
+
#### Returns
|
|
494
|
+
|
|
495
|
+
`Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
496
|
+
|
|
497
|
+
***
|
|
498
|
+
|
|
499
|
+
### ownerWriteSecret()
|
|
500
|
+
|
|
501
|
+
> **ownerWriteSecret**(`request`): `Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
502
|
+
|
|
503
|
+
#### Parameters
|
|
504
|
+
|
|
505
|
+
##### request
|
|
506
|
+
|
|
507
|
+
`VaultWriteSecretCommand`
|
|
508
|
+
|
|
509
|
+
#### Returns
|
|
510
|
+
|
|
511
|
+
`Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
### agentId
|
|
10
|
-
|
|
11
|
-
> **agentId**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
9
|
### metadata?
|
|
16
10
|
|
|
17
11
|
> `optional` **metadata?**: `Record`\<`string`, `any`\>
|
|
@@ -27,3 +21,9 @@
|
|
|
27
21
|
### requestedAt?
|
|
28
22
|
|
|
29
23
|
> `optional` **requestedAt?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### rootAgentId
|
|
28
|
+
|
|
29
|
+
> **rootAgentId**: `string`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Variable: DEFAULT\_VAULT\_KEY\_CUSTODY\_BLOB\_KEY
|
|
6
6
|
|
|
7
|
-
> `const` **DEFAULT\_VAULT\_KEY\_CUSTODY\_BLOB\_KEY**: `"
|
|
7
|
+
> `const` **DEFAULT\_VAULT\_KEY\_CUSTODY\_BLOB\_KEY**: `"master_key.sealed"` = `"master_key.sealed"`
|