@the-ai-company/cbio-node-runtime 1.75.4 → 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 +71 -2
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +20 -0
- 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 +2 -1
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +43 -0
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +19 -1
- package/dist/vault-core/core.js +70 -9
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +11 -2
- package/dist/vault-core/defaults.js +32 -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 +11 -2
- package/dist/vault-core/persistence.js +54 -0
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +9 -1
- package/dist/vault-ingress/index.d.ts +4 -0
- package/dist/vault-ingress/index.js +12 -0
- package/dist/vault-ingress/index.js.map +1 -1
- package/docs/api/README.md +4 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +1 -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 +99 -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 +1 -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 +65 -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 +1 -1
- 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 +1 -1
- 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 +65 -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
|
|
|
@@ -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
|
|
|
@@ -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()
|
|
@@ -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`
|
|
@@ -463,3 +511,19 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
463
511
|
##### Returns
|
|
464
512
|
|
|
465
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
|
|
|
@@ -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()
|