@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.
Files changed (104) hide show
  1. package/README.md +15 -7
  2. package/dist/clients/owner/client.d.ts +6 -3
  3. package/dist/clients/owner/client.js +111 -11
  4. package/dist/clients/owner/client.js.map +1 -1
  5. package/dist/clients/owner/contracts.d.ts +28 -7
  6. package/dist/clients/owner/index.d.ts +1 -1
  7. package/dist/protocol/identity.d.ts +3 -0
  8. package/dist/protocol/identity.js +2 -1
  9. package/dist/protocol/identity.js.map +1 -1
  10. package/dist/runtime/bootstrap.d.ts +3 -0
  11. package/dist/runtime/bootstrap.js +11 -0
  12. package/dist/runtime/bootstrap.js.map +1 -1
  13. package/dist/runtime/identity.js +4 -6
  14. package/dist/runtime/identity.js.map +1 -1
  15. package/dist/runtime/index.d.ts +1 -1
  16. package/dist/runtime/index.js.map +1 -1
  17. package/dist/vault-core/contracts.d.ts +1 -0
  18. package/docs/REFERENCE.md +7 -5
  19. package/docs/api/README.md +6 -2
  20. package/docs/api/classes/IdentityError.md +1 -1
  21. package/docs/api/classes/VaultCore.md +1 -1
  22. package/docs/api/classes/VaultCoreError.md +1 -1
  23. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  24. package/docs/api/functions/createAgentClient.md +1 -1
  25. package/docs/api/functions/createIdentity.md +1 -1
  26. package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
  27. package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
  28. package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
  29. package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
  30. package/docs/api/functions/createVault.md +1 -1
  31. package/docs/api/functions/createVaultClient.md +1 -1
  32. package/docs/api/functions/createVaultCore.md +1 -1
  33. package/docs/api/functions/createVaultCoreDependencies.md +1 -1
  34. package/docs/api/functions/createVaultService.md +1 -1
  35. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  36. package/docs/api/functions/deriveIdentityId.md +1 -1
  37. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
  38. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  39. package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
  40. package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
  41. package/docs/api/functions/initializeVaultCustody.md +1 -1
  42. package/docs/api/functions/listVaults.md +1 -1
  43. package/docs/api/functions/readVaultProfile.md +1 -1
  44. package/docs/api/functions/recoverVault.md +1 -1
  45. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  46. package/docs/api/functions/restoreIdentity.md +1 -1
  47. package/docs/api/functions/updateVaultMetadata.md +1 -1
  48. package/docs/api/functions/wrapVaultCoreAsVaultService.md +1 -1
  49. package/docs/api/functions/writeVaultProfile.md +1 -1
  50. package/docs/api/interfaces/AgentClient.md +1 -1
  51. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  52. package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
  53. package/docs/api/interfaces/AgentIdentity.md +1 -1
  54. package/docs/api/interfaces/AgentSigner.md +1 -1
  55. package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +1 -1
  56. package/docs/api/interfaces/CbioRuntime.md +1 -1
  57. package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
  58. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  59. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
  60. package/docs/api/interfaces/CreateVaultClientOptions.md +37 -1
  61. package/docs/api/interfaces/CreateVaultOptions.md +1 -1
  62. package/docs/api/interfaces/CreatedVault.md +19 -1
  63. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
  64. package/docs/api/interfaces/IStorageProvider.md +1 -1
  65. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  66. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  67. package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
  68. package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
  69. package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
  70. package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +17 -0
  71. package/docs/api/interfaces/OwnerSensitiveActionContext.md +17 -0
  72. package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
  73. package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
  74. package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
  75. package/docs/api/interfaces/RecoveredVault.md +21 -1
  76. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  77. package/docs/api/interfaces/Signer.md +1 -1
  78. package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +1 -7
  79. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  80. package/docs/api/interfaces/VaultClient.md +21 -5
  81. package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
  82. package/docs/api/interfaces/VaultCreateAgentInput.md +1 -7
  83. package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
  84. package/docs/api/interfaces/VaultExportSecretInput.md +13 -1
  85. package/docs/api/interfaces/VaultGrantCapabilityInput.md +1 -7
  86. package/docs/api/interfaces/VaultIdentity.md +1 -1
  87. package/docs/api/interfaces/VaultImportAgentInput.md +1 -7
  88. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  89. package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
  90. package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
  91. package/docs/api/interfaces/VaultMetadata.md +1 -1
  92. package/docs/api/interfaces/VaultObject.md +17 -1
  93. package/docs/api/interfaces/VaultProfile.md +1 -1
  94. package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +29 -0
  95. package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +29 -0
  96. package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -7
  97. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
  98. package/docs/api/interfaces/VaultSigner.md +1 -1
  99. package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +1 -1
  100. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
  101. package/docs/api/type-aliases/AgentVisibleSecretRecord.md +1 -1
  102. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  103. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  104. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
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.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
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`\<`void`\>
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`\<`void`\>
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`\<`void`\>
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`\<`void`\>
261
+ `Promise`\<`CustomHttpFlowDefinition`\>
246
262
 
247
263
  ***
248
264
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
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.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
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.49.0**](../README.md)
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.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
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.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
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`\>
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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.49.0**](../README.md)
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`
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.51.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-ai-company/cbio-node-runtime",
3
- "version": "1.49.0",
3
+ "version": "1.51.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },