@the-ai-company/cbio-node-runtime 1.49.0 → 1.51.0
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 +15 -7
- package/dist/clients/owner/client.d.ts +6 -3
- package/dist/clients/owner/client.js +111 -11
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +28 -7
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/protocol/identity.d.ts +3 -0
- package/dist/protocol/identity.js +2 -1
- package/dist/protocol/identity.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +3 -0
- package/dist/runtime/bootstrap.js +11 -0
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.js +4 -6
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +1 -0
- package/docs/REFERENCE.md +7 -5
- package/docs/api/README.md +6 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/VaultCore.md +1 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
- package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultClient.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/deriveIdentityId.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/wrapVaultCoreAsVaultService.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/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +1 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultClientOptions.md +37 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +19 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.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/OwnerDefineSecretTargetsInput.md +1 -1
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +17 -0
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +17 -0
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
- package/docs/api/interfaces/RecoveredVault.md +21 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +1 -7
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +21 -5
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -7
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +13 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +1 -7
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -7
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListCapabilitiesInput.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 +17 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +29 -0
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +29 -0
- package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -7
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
- package/docs/api/type-aliases/AgentVisibleSecretRecord.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.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.51.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
### capabilityId?
|
|
10
|
-
|
|
11
|
-
> `optional` **capabilityId?**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
9
|
### requestedAt?
|
|
16
10
|
|
|
17
11
|
> `optional` **requestedAt?**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.51.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -100,7 +100,7 @@ Exports a secret's plaintext.
|
|
|
100
100
|
|
|
101
101
|
### ownerGrantCapability()
|
|
102
102
|
|
|
103
|
-
> **ownerGrantCapability**(`input`): `Promise`\<`
|
|
103
|
+
> **ownerGrantCapability**(`input`): `Promise`\<`AgentCapability`\>
|
|
104
104
|
|
|
105
105
|
Grants a specific capability to an agent.
|
|
106
106
|
|
|
@@ -112,7 +112,7 @@ Grants a specific capability to an agent.
|
|
|
112
112
|
|
|
113
113
|
#### Returns
|
|
114
114
|
|
|
115
|
-
`Promise`\<`
|
|
115
|
+
`Promise`\<`AgentCapability`\>
|
|
116
116
|
|
|
117
117
|
***
|
|
118
118
|
|
|
@@ -228,9 +228,25 @@ Reads the tamper-evident audit log for the vault.
|
|
|
228
228
|
|
|
229
229
|
***
|
|
230
230
|
|
|
231
|
+
### ownerReadSecretPlaintext()
|
|
232
|
+
|
|
233
|
+
> **ownerReadSecretPlaintext**(`input`): `Promise`\<`string`\>
|
|
234
|
+
|
|
235
|
+
#### Parameters
|
|
236
|
+
|
|
237
|
+
##### input
|
|
238
|
+
|
|
239
|
+
[`VaultReadSecretPlaintextInput`](VaultReadSecretPlaintextInput.md)
|
|
240
|
+
|
|
241
|
+
#### Returns
|
|
242
|
+
|
|
243
|
+
`Promise`\<`string`\>
|
|
244
|
+
|
|
245
|
+
***
|
|
246
|
+
|
|
231
247
|
### ownerRegisterFlow()
|
|
232
248
|
|
|
233
|
-
> **ownerRegisterFlow**(`input`): `Promise`\<`
|
|
249
|
+
> **ownerRegisterFlow**(`input`): `Promise`\<`CustomHttpFlowDefinition`\>
|
|
234
250
|
|
|
235
251
|
Registers a custom HTTP flow for complex secret usage.
|
|
236
252
|
|
|
@@ -242,7 +258,7 @@ Registers a custom HTTP flow for complex secret usage.
|
|
|
242
258
|
|
|
243
259
|
#### Returns
|
|
244
260
|
|
|
245
|
-
`Promise`\<`
|
|
261
|
+
`Promise`\<`CustomHttpFlowDefinition`\>
|
|
246
262
|
|
|
247
263
|
***
|
|
248
264
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.51.0**](../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`\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.51.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,6 +12,18 @@
|
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
+
### password
|
|
16
|
+
|
|
17
|
+
> **password**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
15
21
|
### requestedAt?
|
|
16
22
|
|
|
17
23
|
> `optional` **requestedAt?**: `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.51.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,12 +12,6 @@
|
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
### capabilityId?
|
|
16
|
-
|
|
17
|
-
> `optional` **capabilityId?**: `string`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
15
|
### expiresIn?
|
|
22
16
|
|
|
23
17
|
> `optional` **expiresIn?**: `number`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.51.0**](../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`\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.51.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -31,3 +31,19 @@
|
|
|
31
31
|
### vault
|
|
32
32
|
|
|
33
33
|
> **vault**: `VaultService`
|
|
34
|
+
|
|
35
|
+
## Methods
|
|
36
|
+
|
|
37
|
+
### verifyPassword()
|
|
38
|
+
|
|
39
|
+
> **verifyPassword**(`password`): `Promise`\<`boolean`\>
|
|
40
|
+
|
|
41
|
+
#### Parameters
|
|
42
|
+
|
|
43
|
+
##### password
|
|
44
|
+
|
|
45
|
+
`string`
|
|
46
|
+
|
|
47
|
+
#### Returns
|
|
48
|
+
|
|
49
|
+
`Promise`\<`boolean`\>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.51.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultReadAgentPrivateKeyInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agentId
|
|
10
|
+
|
|
11
|
+
> **agentId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### password
|
|
16
|
+
|
|
17
|
+
> **password**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestedAt?
|
|
22
|
+
|
|
23
|
+
> `optional` **requestedAt?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### verificationCode?
|
|
28
|
+
|
|
29
|
+
> `optional` **verificationCode?**: `string`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.51.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultReadSecretPlaintextInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### alias
|
|
10
|
+
|
|
11
|
+
> **alias**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### password
|
|
16
|
+
|
|
17
|
+
> **password**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestedAt?
|
|
22
|
+
|
|
23
|
+
> `optional` **requestedAt?**: `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.51.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -10,12 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
### flowId
|
|
14
|
-
|
|
15
|
-
> **flowId**: `string`
|
|
16
|
-
|
|
17
|
-
***
|
|
18
|
-
|
|
19
13
|
### method
|
|
20
14
|
|
|
21
15
|
> **method**: `string`
|