@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
|
|
|
@@ -264,6 +264,58 @@
|
|
|
264
264
|
|
|
265
265
|
***
|
|
266
266
|
|
|
267
|
+
### ownerCreateSite()
|
|
268
|
+
|
|
269
|
+
> **ownerCreateSite**(`actor`, `domain`, `request?`): `Promise`\<`SiteRecord`\>
|
|
270
|
+
|
|
271
|
+
#### Parameters
|
|
272
|
+
|
|
273
|
+
##### actor
|
|
274
|
+
|
|
275
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
276
|
+
|
|
277
|
+
##### domain
|
|
278
|
+
|
|
279
|
+
`string`
|
|
280
|
+
|
|
281
|
+
##### request?
|
|
282
|
+
|
|
283
|
+
###### request_id?
|
|
284
|
+
|
|
285
|
+
`string`
|
|
286
|
+
|
|
287
|
+
#### Returns
|
|
288
|
+
|
|
289
|
+
`Promise`\<`SiteRecord`\>
|
|
290
|
+
|
|
291
|
+
***
|
|
292
|
+
|
|
293
|
+
### ownerDeleteSite()
|
|
294
|
+
|
|
295
|
+
> **ownerDeleteSite**(`actor`, `site_id`, `request?`): `Promise`\<`void`\>
|
|
296
|
+
|
|
297
|
+
#### Parameters
|
|
298
|
+
|
|
299
|
+
##### actor
|
|
300
|
+
|
|
301
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
302
|
+
|
|
303
|
+
##### site\_id
|
|
304
|
+
|
|
305
|
+
`string`
|
|
306
|
+
|
|
307
|
+
##### request?
|
|
308
|
+
|
|
309
|
+
###### request_id?
|
|
310
|
+
|
|
311
|
+
`string`
|
|
312
|
+
|
|
313
|
+
#### Returns
|
|
314
|
+
|
|
315
|
+
`Promise`\<`void`\>
|
|
316
|
+
|
|
317
|
+
***
|
|
318
|
+
|
|
267
319
|
### ownerExportSecret()
|
|
268
320
|
|
|
269
321
|
> **ownerExportSecret**(`actor`, `alias?`): `Promise`\<readonly `OwnerSecretExport`[]\>
|
|
@@ -482,6 +534,22 @@
|
|
|
482
534
|
|
|
483
535
|
***
|
|
484
536
|
|
|
537
|
+
### ownerListSites()
|
|
538
|
+
|
|
539
|
+
> **ownerListSites**(`actor`): `Promise`\<readonly `SiteRecord`[]\>
|
|
540
|
+
|
|
541
|
+
#### Parameters
|
|
542
|
+
|
|
543
|
+
##### actor
|
|
544
|
+
|
|
545
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
546
|
+
|
|
547
|
+
#### Returns
|
|
548
|
+
|
|
549
|
+
`Promise`\<readonly `SiteRecord`[]\>
|
|
550
|
+
|
|
551
|
+
***
|
|
552
|
+
|
|
485
553
|
### ownerOnAudit()
|
|
486
554
|
|
|
487
555
|
> **ownerOnAudit**(`subscription`): () => `void`
|
|
@@ -568,6 +636,40 @@
|
|
|
568
636
|
|
|
569
637
|
***
|
|
570
638
|
|
|
639
|
+
### ownerRemoveAgentIdentity()
|
|
640
|
+
|
|
641
|
+
> **ownerRemoveAgentIdentity**(`command`): `Promise`\<`void`\>
|
|
642
|
+
|
|
643
|
+
#### Parameters
|
|
644
|
+
|
|
645
|
+
##### command
|
|
646
|
+
|
|
647
|
+
###### owner
|
|
648
|
+
|
|
649
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
650
|
+
|
|
651
|
+
###### request_id
|
|
652
|
+
|
|
653
|
+
`string`
|
|
654
|
+
|
|
655
|
+
###### requested_at
|
|
656
|
+
|
|
657
|
+
`string`
|
|
658
|
+
|
|
659
|
+
###### root_agent_id
|
|
660
|
+
|
|
661
|
+
`string`
|
|
662
|
+
|
|
663
|
+
###### vault_id
|
|
664
|
+
|
|
665
|
+
`string`
|
|
666
|
+
|
|
667
|
+
#### Returns
|
|
668
|
+
|
|
669
|
+
`Promise`\<`void`\>
|
|
670
|
+
|
|
671
|
+
***
|
|
672
|
+
|
|
571
673
|
### ownerRemoveSecret()
|
|
572
674
|
|
|
573
675
|
> **ownerRemoveSecret**(`command`): `Promise`\<`void`\>
|
|
@@ -747,3 +849,33 @@
|
|
|
747
849
|
#### Returns
|
|
748
850
|
|
|
749
851
|
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
852
|
+
|
|
853
|
+
***
|
|
854
|
+
|
|
855
|
+
### ownerUpdateSite()
|
|
856
|
+
|
|
857
|
+
> **ownerUpdateSite**(`actor`, `site_id`, `domain`, `request?`): `Promise`\<`SiteRecord`\>
|
|
858
|
+
|
|
859
|
+
#### Parameters
|
|
860
|
+
|
|
861
|
+
##### actor
|
|
862
|
+
|
|
863
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
864
|
+
|
|
865
|
+
##### site\_id
|
|
866
|
+
|
|
867
|
+
`string`
|
|
868
|
+
|
|
869
|
+
##### domain
|
|
870
|
+
|
|
871
|
+
`string`
|
|
872
|
+
|
|
873
|
+
##### request?
|
|
874
|
+
|
|
875
|
+
###### request_id?
|
|
876
|
+
|
|
877
|
+
`string`
|
|
878
|
+
|
|
879
|
+
#### Returns
|
|
880
|
+
|
|
881
|
+
`Promise`\<`SiteRecord`\>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.76.1**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Function: listVaultEntries()
|
|
6
|
+
|
|
7
|
+
> **listVaultEntries**(`storage`): `Promise`\<[`VaultListEntry`](../interfaces/VaultListEntry.md)[]\>
|
|
8
|
+
|
|
9
|
+
## Parameters
|
|
10
|
+
|
|
11
|
+
### storage
|
|
12
|
+
|
|
13
|
+
[`IStorageProvider`](../interfaces/IStorageProvider.md)
|
|
14
|
+
|
|
15
|
+
## Returns
|
|
16
|
+
|
|
17
|
+
`Promise`\<[`VaultListEntry`](../interfaces/VaultListEntry.md)[]\>
|
|
@@ -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
|
|
|
@@ -24,10 +24,6 @@ Updates the metadata (like nickname) of an existing vault.
|
|
|
24
24
|
|
|
25
25
|
`string`
|
|
26
26
|
|
|
27
|
-
#### password
|
|
28
|
-
|
|
29
|
-
`string`
|
|
30
|
-
|
|
31
27
|
## Returns
|
|
32
28
|
|
|
33
29
|
`Promise`\<`void`\>
|
|
@@ -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,18 @@
|
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
35
|
+
### operating\_rules?
|
|
36
|
+
|
|
37
|
+
> `optional` **operating\_rules?**: readonly `string`[]
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### product\_intro?
|
|
42
|
+
|
|
43
|
+
> `optional` **product\_intro?**: `string`
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
35
47
|
### root\_agent\_id
|
|
36
48
|
|
|
37
49
|
> **root\_agent\_id**: `string`
|
|
@@ -53,3 +65,9 @@
|
|
|
53
65
|
### vault\_nickname?
|
|
54
66
|
|
|
55
67
|
> `optional` **vault\_nickname?**: `string`
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### what\_you\_can\_do?
|
|
72
|
+
|
|
73
|
+
> `optional` **what\_you\_can\_do?**: readonly `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
|
|
|
@@ -336,6 +336,22 @@ A streaming SSE Response that emits `pending_dispatch` events.
|
|
|
336
336
|
|
|
337
337
|
***
|
|
338
338
|
|
|
339
|
+
### listVaultEntries
|
|
340
|
+
|
|
341
|
+
> **listVaultEntries**: (`storage`) => `Promise`\<[`VaultListEntry`](VaultListEntry.md)[]\>
|
|
342
|
+
|
|
343
|
+
#### Parameters
|
|
344
|
+
|
|
345
|
+
##### storage
|
|
346
|
+
|
|
347
|
+
[`IStorageProvider`](IStorageProvider.md)
|
|
348
|
+
|
|
349
|
+
#### Returns
|
|
350
|
+
|
|
351
|
+
`Promise`\<[`VaultListEntry`](VaultListEntry.md)[]\>
|
|
352
|
+
|
|
353
|
+
***
|
|
354
|
+
|
|
339
355
|
### listVaults
|
|
340
356
|
|
|
341
357
|
> **listVaults**: (`storage`) => `Promise`\<`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
|
|
|
@@ -38,6 +38,14 @@ The anchored storage provider for this vault.
|
|
|
38
38
|
|
|
39
39
|
The high-level service interface for dispatch and acquisition.
|
|
40
40
|
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### vaultWorkingKey
|
|
44
|
+
|
|
45
|
+
> **vaultWorkingKey**: `string`
|
|
46
|
+
|
|
47
|
+
Internal working key for metadata/profile operations.
|
|
48
|
+
|
|
41
49
|
## Methods
|
|
42
50
|
|
|
43
51
|
### verifyPassword()
|