@the-ai-company/cbio-node-runtime 1.74.0 → 1.76.1
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.js +92 -2
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +28 -1
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/runtime/bootstrap.d.ts +8 -1
- package/dist/runtime/bootstrap.js +40 -4
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/index.d.ts +3 -2
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +55 -0
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +26 -1
- package/dist/vault-core/core.js +139 -13
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +12 -2
- package/dist/vault-core/defaults.js +35 -0
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/errors.d.ts +1 -1
- package/dist/vault-core/errors.js.map +1 -1
- package/dist/vault-core/index.d.ts +3 -3
- package/dist/vault-core/index.js +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +13 -2
- package/dist/vault-core/persistence.js +74 -3
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +10 -1
- package/dist/vault-core/tool-metadata.js +1 -1
- package/dist/vault-core/tool-metadata.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +11 -0
- package/dist/vault-ingress/index.js +19 -0
- package/dist/vault-ingress/index.js.map +1 -1
- package/docs/api/README.md +5 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +25 -1
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultAuditLog.md +1 -1
- package/docs/api/classes/PersistentVaultSecretCustody.md +1 -1
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultSecretRepository.md +1 -1
- package/docs/api/classes/VaultCore.md +133 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/DispatchStatus.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerClient.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- 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 +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.md +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
- package/docs/api/functions/handleVaultAuditSse.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/handleVaultPendingDispatchSse.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaultEntries.md +17 -0
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/openOwnerSession.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 +1 -1
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -5
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentAuditTestPingInput.md +1 -1
- package/docs/api/interfaces/AgentClient.md +1 -1
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentIdentityRecord.md +1 -1
- package/docs/api/interfaces/AgentRequestRecord.md +1 -1
- package/docs/api/interfaces/AgentRuntimeManifest.md +19 -1
- package/docs/api/interfaces/AgentSecretGrant.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +17 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerClientOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +9 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
- package/docs/api/interfaces/DispatchAuthorization.md +1 -1
- package/docs/api/interfaces/DispatchInstruction.md +1 -1
- package/docs/api/interfaces/DispatchRequest.md +1 -1
- package/docs/api/interfaces/DispatchResult.md +1 -1
- 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/OpenOwnerSessionOptions.md +1 -1
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerAuditSubscription.md +1 -1
- package/docs/api/interfaces/OwnerClient.md +81 -1
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerPendingDispatchSubscription.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +2 -2
- package/docs/api/interfaces/OwnerSession.md +1 -1
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/PendingDispatchEvent.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
- package/docs/api/interfaces/RecoveredVault.md +11 -1
- package/docs/api/interfaces/RequestRecord.md +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +1 -1
- package/docs/api/interfaces/SecretRecord.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +1 -1
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListEntry.md +17 -0
- package/docs/api/interfaces/VaultListGrantsInput.md +1 -1
- package/docs/api/interfaces/VaultListRequestsInput.md +1 -1
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +7 -1
- package/docs/api/interfaces/VaultPrincipal.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +1 -1
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRemoveAgentInput.md +29 -0
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +81 -1
- package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
- package/docs/api/type-aliases/AgentId.md +1 -1
- package/docs/api/type-aliases/AgentRequestResult.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
- package/docs/api/type-aliases/GrantStatus.md +1 -1
- package/docs/api/type-aliases/SecretAlias.md +1 -1
- package/docs/api/type-aliases/SecretId.md +1 -1
- package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultId.md +1 -1
- package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.76.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -72,6 +72,38 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
72
72
|
|
|
73
73
|
***
|
|
74
74
|
|
|
75
|
+
### ownerCreateSite()
|
|
76
|
+
|
|
77
|
+
> **ownerCreateSite**(`input`): `Promise`\<`SiteRecord`\>
|
|
78
|
+
|
|
79
|
+
#### Parameters
|
|
80
|
+
|
|
81
|
+
##### input
|
|
82
|
+
|
|
83
|
+
`VaultCreateSiteInput`
|
|
84
|
+
|
|
85
|
+
#### Returns
|
|
86
|
+
|
|
87
|
+
`Promise`\<`SiteRecord`\>
|
|
88
|
+
|
|
89
|
+
***
|
|
90
|
+
|
|
91
|
+
### ownerDeleteSite()
|
|
92
|
+
|
|
93
|
+
> **ownerDeleteSite**(`input`): `Promise`\<`void`\>
|
|
94
|
+
|
|
95
|
+
#### Parameters
|
|
96
|
+
|
|
97
|
+
##### input
|
|
98
|
+
|
|
99
|
+
`VaultDeleteSiteInput`
|
|
100
|
+
|
|
101
|
+
#### Returns
|
|
102
|
+
|
|
103
|
+
`Promise`\<`void`\>
|
|
104
|
+
|
|
105
|
+
***
|
|
106
|
+
|
|
75
107
|
### ownerDenyDispatch()
|
|
76
108
|
|
|
77
109
|
> **ownerDenyDispatch**(`request_id`): `Promise`\<`void`\>
|
|
@@ -258,6 +290,22 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
258
290
|
|
|
259
291
|
***
|
|
260
292
|
|
|
293
|
+
### ownerListSites()
|
|
294
|
+
|
|
295
|
+
> **ownerListSites**(`input?`): `Promise`\<readonly `SiteRecord`[]\>
|
|
296
|
+
|
|
297
|
+
#### Parameters
|
|
298
|
+
|
|
299
|
+
##### input?
|
|
300
|
+
|
|
301
|
+
`VaultListSitesInput`
|
|
302
|
+
|
|
303
|
+
#### Returns
|
|
304
|
+
|
|
305
|
+
`Promise`\<readonly `SiteRecord`[]\>
|
|
306
|
+
|
|
307
|
+
***
|
|
308
|
+
|
|
261
309
|
### ownerOnAudit()
|
|
262
310
|
|
|
263
311
|
> **ownerOnAudit**(`subscription`): () => `void`
|
|
@@ -338,6 +386,22 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
338
386
|
|
|
339
387
|
***
|
|
340
388
|
|
|
389
|
+
### ownerRemoveAgent()
|
|
390
|
+
|
|
391
|
+
> **ownerRemoveAgent**(`input`): `Promise`\<`void`\>
|
|
392
|
+
|
|
393
|
+
#### Parameters
|
|
394
|
+
|
|
395
|
+
##### input
|
|
396
|
+
|
|
397
|
+
[`VaultRemoveAgentInput`](VaultRemoveAgentInput.md)
|
|
398
|
+
|
|
399
|
+
#### Returns
|
|
400
|
+
|
|
401
|
+
`Promise`\<`void`\>
|
|
402
|
+
|
|
403
|
+
***
|
|
404
|
+
|
|
341
405
|
### ownerRemoveSecret()
|
|
342
406
|
|
|
343
407
|
> **ownerRemoveSecret**(`input`): `Promise`\<`void`\>
|
|
@@ -447,3 +511,19 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
447
511
|
##### Returns
|
|
448
512
|
|
|
449
513
|
`Promise`\<[`SecretRecord`](SecretRecord.md)[]\>
|
|
514
|
+
|
|
515
|
+
***
|
|
516
|
+
|
|
517
|
+
### ownerUpdateSite()
|
|
518
|
+
|
|
519
|
+
> **ownerUpdateSite**(`input`): `Promise`\<`SiteRecord`\>
|
|
520
|
+
|
|
521
|
+
#### Parameters
|
|
522
|
+
|
|
523
|
+
##### input
|
|
524
|
+
|
|
525
|
+
`VaultUpdateSiteInput`
|
|
526
|
+
|
|
527
|
+
#### Returns
|
|
528
|
+
|
|
529
|
+
`Promise`\<`SiteRecord`\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.76.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
### action
|
|
10
10
|
|
|
11
|
-
> **action**: `"read_secret_plaintext"` \| `"export_secret"` \| `"read_agent_private_key"` \| `"delete_secret"`
|
|
11
|
+
> **action**: `"read_secret_plaintext"` \| `"export_secret"` \| `"read_agent_private_key"` \| `"delete_secret"` \| `"delete_agent"`
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.76.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -48,6 +48,16 @@
|
|
|
48
48
|
|
|
49
49
|
[`VaultObject`](VaultObject.md).[`vault`](VaultObject.md#vault)
|
|
50
50
|
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### vaultWorkingKey
|
|
54
|
+
|
|
55
|
+
> **vaultWorkingKey**: `string`
|
|
56
|
+
|
|
57
|
+
#### Inherited from
|
|
58
|
+
|
|
59
|
+
[`VaultObject`](VaultObject.md).[`vaultWorkingKey`](VaultObject.md#vaultworkingkey)
|
|
60
|
+
|
|
51
61
|
## Methods
|
|
52
62
|
|
|
53
63
|
### verifyPassword()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.76.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -32,6 +32,12 @@
|
|
|
32
32
|
|
|
33
33
|
> **vault**: [`VaultService`](VaultService.md)
|
|
34
34
|
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### vaultWorkingKey
|
|
38
|
+
|
|
39
|
+
> **vaultWorkingKey**: `string`
|
|
40
|
+
|
|
35
41
|
## Methods
|
|
36
42
|
|
|
37
43
|
### verifyPassword()
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.76.1**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultRemoveAgentInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### password
|
|
10
|
+
|
|
11
|
+
> **password**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### requested\_at?
|
|
16
|
+
|
|
17
|
+
> `optional` **requested\_at?**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### root\_agent\_id
|
|
22
|
+
|
|
23
|
+
> **root\_agent\_id**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### verificationCode?
|
|
28
|
+
|
|
29
|
+
> `optional` **verificationCode?**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.76.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -172,6 +172,38 @@
|
|
|
172
172
|
|
|
173
173
|
***
|
|
174
174
|
|
|
175
|
+
### ownerCreateSite()
|
|
176
|
+
|
|
177
|
+
> **ownerCreateSite**(`request`): `Promise`\<`SiteRecord`\>
|
|
178
|
+
|
|
179
|
+
#### Parameters
|
|
180
|
+
|
|
181
|
+
##### request
|
|
182
|
+
|
|
183
|
+
`OwnerCreateSiteRequest`
|
|
184
|
+
|
|
185
|
+
#### Returns
|
|
186
|
+
|
|
187
|
+
`Promise`\<`SiteRecord`\>
|
|
188
|
+
|
|
189
|
+
***
|
|
190
|
+
|
|
191
|
+
### ownerDeleteSite()
|
|
192
|
+
|
|
193
|
+
> **ownerDeleteSite**(`request`): `Promise`\<`void`\>
|
|
194
|
+
|
|
195
|
+
#### Parameters
|
|
196
|
+
|
|
197
|
+
##### request
|
|
198
|
+
|
|
199
|
+
`OwnerDeleteSiteRequest`
|
|
200
|
+
|
|
201
|
+
#### Returns
|
|
202
|
+
|
|
203
|
+
`Promise`\<`void`\>
|
|
204
|
+
|
|
205
|
+
***
|
|
206
|
+
|
|
175
207
|
### ownerExportSecret()
|
|
176
208
|
|
|
177
209
|
> **ownerExportSecret**(`request`): `Promise`\<readonly `OwnerSecretExport`[]\>
|
|
@@ -358,6 +390,22 @@
|
|
|
358
390
|
|
|
359
391
|
***
|
|
360
392
|
|
|
393
|
+
### ownerListSites()
|
|
394
|
+
|
|
395
|
+
> **ownerListSites**(`request`): `Promise`\<readonly `SiteRecord`[]\>
|
|
396
|
+
|
|
397
|
+
#### Parameters
|
|
398
|
+
|
|
399
|
+
##### request
|
|
400
|
+
|
|
401
|
+
`OwnerListSitesRequest`
|
|
402
|
+
|
|
403
|
+
#### Returns
|
|
404
|
+
|
|
405
|
+
`Promise`\<readonly `SiteRecord`[]\>
|
|
406
|
+
|
|
407
|
+
***
|
|
408
|
+
|
|
361
409
|
### ownerOnAudit()
|
|
362
410
|
|
|
363
411
|
> **ownerOnAudit**(`subscription`): () => `void`
|
|
@@ -422,6 +470,22 @@
|
|
|
422
470
|
|
|
423
471
|
***
|
|
424
472
|
|
|
473
|
+
### ownerRemoveAgentIdentity()
|
|
474
|
+
|
|
475
|
+
> **ownerRemoveAgentIdentity**(`request`): `Promise`\<`void`\>
|
|
476
|
+
|
|
477
|
+
#### Parameters
|
|
478
|
+
|
|
479
|
+
##### request
|
|
480
|
+
|
|
481
|
+
`OwnerRemoveAgentIdentityCommand`
|
|
482
|
+
|
|
483
|
+
#### Returns
|
|
484
|
+
|
|
485
|
+
`Promise`\<`void`\>
|
|
486
|
+
|
|
487
|
+
***
|
|
488
|
+
|
|
425
489
|
### ownerRemoveSecret()
|
|
426
490
|
|
|
427
491
|
> **ownerRemoveSecret**(`request`): `Promise`\<`void`\>
|
|
@@ -525,3 +589,19 @@
|
|
|
525
589
|
#### Returns
|
|
526
590
|
|
|
527
591
|
`Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
592
|
+
|
|
593
|
+
***
|
|
594
|
+
|
|
595
|
+
### ownerUpdateSite()
|
|
596
|
+
|
|
597
|
+
> **ownerUpdateSite**(`request`): `Promise`\<`SiteRecord`\>
|
|
598
|
+
|
|
599
|
+
#### Parameters
|
|
600
|
+
|
|
601
|
+
##### request
|
|
602
|
+
|
|
603
|
+
`OwnerUpdateSiteRequest`
|
|
604
|
+
|
|
605
|
+
#### Returns
|
|
606
|
+
|
|
607
|
+
`Promise`\<`SiteRecord`\>
|