@the-ai-company/cbio-node-runtime 1.63.5 → 1.63.7
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 +3 -37
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +2 -7
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/runtime/bootstrap.d.ts +1 -3
- package/dist/runtime/index.d.ts +3 -3
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +8 -42
- package/dist/vault-core/contracts.js +3 -3
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +4 -12
- package/dist/vault-core/core.js +60 -40
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +4 -10
- package/dist/vault-core/defaults.js +8 -21
- 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 +4 -4
- package/dist/vault-core/index.js +2 -2
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +4 -11
- package/dist/vault-core/persistence.js +7 -31
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +3 -9
- package/dist/vault-ingress/index.d.ts +1 -7
- package/dist/vault-ingress/index.js +2 -5
- package/dist/vault-ingress/index.js.map +1 -1
- package/docs/MIGRATION-1.65.md +28 -2
- package/docs/api/README.md +2 -5
- 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 +5 -5
- package/docs/api/classes/PersistentVaultSecretRepository.md +1 -1
- package/docs/api/classes/VaultCore.md +7 -65
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/AuditAction.md +19 -19
- package/docs/api/enumerations/AuditOutcome.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/createOwnerSession.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 -5
- 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/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- 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 +1 -1
- 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 +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/AgentRequestResult.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/AgentVisibleRequestRecord.md +1 -1
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +7 -7
- package/docs/api/interfaces/CbioRuntime.md +1 -5
- 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/CreateOwnerSessionOptions.md +1 -5
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -5
- package/docs/api/interfaces/CreatedVault.md +1 -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/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerClient.md +1 -17
- package/docs/api/interfaces/OwnerCreateSecretInput.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/OwnerVisibleRequestRecord.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -5
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RequestRecord.md +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +7 -7
- package/docs/api/interfaces/SecretId.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 +7 -7
- package/docs/api/interfaces/VaultId.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/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 +1 -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/VaultRevokeAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +7 -7
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +1 -37
- package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
- package/docs/api/type-aliases/AgentId.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/SecretLifecycleStatus.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/docs/zh/README.md +31 -46
- package/package.json +1 -1
- package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +0 -69
- package/docs/api/interfaces/CustomHttpFlowDefinition.md +0 -71
- package/docs/api/interfaces/VaultRegisterFlowInput.md +0 -77
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.7**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -306,22 +306,6 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
306
306
|
|
|
307
307
|
***
|
|
308
308
|
|
|
309
|
-
### ownerRegisterFlow()
|
|
310
|
-
|
|
311
|
-
> **ownerRegisterFlow**(`input`): `Promise`\<[`CustomHttpFlowDefinition`](CustomHttpFlowDefinition.md)\>
|
|
312
|
-
|
|
313
|
-
#### Parameters
|
|
314
|
-
|
|
315
|
-
##### input
|
|
316
|
-
|
|
317
|
-
[`VaultRegisterFlowInput`](VaultRegisterFlowInput.md)
|
|
318
|
-
|
|
319
|
-
#### Returns
|
|
320
|
-
|
|
321
|
-
`Promise`\<[`CustomHttpFlowDefinition`](CustomHttpFlowDefinition.md)\>
|
|
322
|
-
|
|
323
|
-
***
|
|
324
|
-
|
|
325
309
|
### ownerRemoveSecret()
|
|
326
310
|
|
|
327
311
|
> **ownerRemoveSecret**(`input`): `Promise`\<`void`\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.7**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -24,10 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
> `optional` **vault?**: `object`
|
|
26
26
|
|
|
27
|
-
#### customFlows?
|
|
28
|
-
|
|
29
|
-
> `optional` **customFlows?**: `VaultCustomFlowResolver`
|
|
30
|
-
|
|
31
27
|
#### fetchImpl?
|
|
32
28
|
|
|
33
29
|
> `optional` **fetchImpl?**: \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.7**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
### domain
|
|
10
|
-
|
|
11
|
-
> **domain**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
9
|
### grantedAt?
|
|
16
10
|
|
|
17
11
|
> `optional` **grantedAt?**: `string`
|
|
@@ -30,6 +24,12 @@
|
|
|
30
24
|
|
|
31
25
|
***
|
|
32
26
|
|
|
27
|
+
### siteId
|
|
28
|
+
|
|
29
|
+
> **siteId**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
33
|
### status
|
|
34
34
|
|
|
35
35
|
> **status**: [`GrantStatus`](../type-aliases/GrantStatus.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.7**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
### domain
|
|
10
|
-
|
|
11
|
-
> **domain**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
9
|
### requestedAt?
|
|
16
10
|
|
|
17
11
|
> `optional` **requestedAt?**: `string`
|
|
@@ -21,3 +15,9 @@
|
|
|
21
15
|
### secretAlias
|
|
22
16
|
|
|
23
17
|
> **secretAlias**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### siteId
|
|
22
|
+
|
|
23
|
+
> **siteId**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.7**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
### domain
|
|
10
|
-
|
|
11
|
-
> **domain**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
9
|
### requestedAt?
|
|
16
10
|
|
|
17
11
|
> `optional` **requestedAt?**: `string`
|
|
@@ -21,3 +15,9 @@
|
|
|
21
15
|
### secretAlias
|
|
22
16
|
|
|
23
17
|
> **secretAlias**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### siteId
|
|
22
|
+
|
|
23
|
+
> **siteId**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.7**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -236,26 +236,6 @@
|
|
|
236
236
|
|
|
237
237
|
***
|
|
238
238
|
|
|
239
|
-
### ownerHandleCustomFlow()?
|
|
240
|
-
|
|
241
|
-
> `optional` **ownerHandleCustomFlow**(`flowId`, `input`): `Promise`\<`any`\>
|
|
242
|
-
|
|
243
|
-
#### Parameters
|
|
244
|
-
|
|
245
|
-
##### flowId
|
|
246
|
-
|
|
247
|
-
`string`
|
|
248
|
-
|
|
249
|
-
##### input
|
|
250
|
-
|
|
251
|
-
`any`
|
|
252
|
-
|
|
253
|
-
#### Returns
|
|
254
|
-
|
|
255
|
-
`Promise`\<`any`\>
|
|
256
|
-
|
|
257
|
-
***
|
|
258
|
-
|
|
259
239
|
### ownerIssueAllAgentSessionTokens()
|
|
260
240
|
|
|
261
241
|
> **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`OwnerSessionToken`[]\>
|
|
@@ -410,22 +390,6 @@
|
|
|
410
390
|
|
|
411
391
|
***
|
|
412
392
|
|
|
413
|
-
### ownerRegisterCustomFlow()
|
|
414
|
-
|
|
415
|
-
> **ownerRegisterCustomFlow**(`request`): `Promise`\<`void`\>
|
|
416
|
-
|
|
417
|
-
#### Parameters
|
|
418
|
-
|
|
419
|
-
##### request
|
|
420
|
-
|
|
421
|
-
`OwnerRegisterCustomHttpFlowCommand`
|
|
422
|
-
|
|
423
|
-
#### Returns
|
|
424
|
-
|
|
425
|
-
`Promise`\<`void`\>
|
|
426
|
-
|
|
427
|
-
***
|
|
428
|
-
|
|
429
393
|
### ownerRemoveSecret()
|
|
430
394
|
|
|
431
395
|
> **ownerRemoveSecret**(`request`): `Promise`\<`void`\>
|