@the-ai-company/cbio-node-runtime 1.51.0 → 1.53.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/dist/clients/owner/client.d.ts +10 -1
- package/dist/clients/owner/client.js +27 -6
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +7 -0
- package/dist/clients/owner/index.d.ts +2 -1
- package/dist/clients/owner/index.js +1 -0
- package/dist/clients/owner/index.js.map +1 -1
- package/dist/errors.d.ts +13 -0
- package/dist/errors.js +21 -0
- package/dist/errors.js.map +1 -1
- package/dist/runtime/index.d.ts +4 -2
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +12 -0
- package/dist/vault-core/contracts.js +1 -0
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +2 -1
- package/dist/vault-core/core.js +30 -0
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/index.d.ts +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +1 -0
- package/dist/vault-ingress/index.js +3 -0
- package/dist/vault-ingress/index.js.map +1 -1
- package/docs/MIGRATION-1.51.md +80 -0
- package/docs/REFERENCE.md +66 -0
- package/docs/api/README.md +8 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +62 -0
- package/docs/api/classes/VaultCore.md +17 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +44 -0
- 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 +13 -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 +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +1 -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 +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- 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 +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +29 -0
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +133 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +17 -0
- 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 +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/VaultRegisterFlowInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +11 -0
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/VaultUpdateAgentInput.md +29 -0
- 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.53.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -25,6 +25,22 @@ In Sovereign Vault model, administrative actions are implicitly authorized by th
|
|
|
25
25
|
|
|
26
26
|
***
|
|
27
27
|
|
|
28
|
+
### ownerApproveDispatch()
|
|
29
|
+
|
|
30
|
+
> **ownerApproveDispatch**(`input`): `Promise`\<`DispatchResult`\>
|
|
31
|
+
|
|
32
|
+
#### Parameters
|
|
33
|
+
|
|
34
|
+
##### input
|
|
35
|
+
|
|
36
|
+
[`VaultApproveDispatchInput`](VaultApproveDispatchInput.md)
|
|
37
|
+
|
|
38
|
+
#### Returns
|
|
39
|
+
|
|
40
|
+
`Promise`\<`DispatchResult`\>
|
|
41
|
+
|
|
42
|
+
***
|
|
43
|
+
|
|
28
44
|
### ownerCreateAgent()
|
|
29
45
|
|
|
30
46
|
> **ownerCreateAgent**(`input`): `Promise`\<[`OwnerAgentProvisionResult`](OwnerAgentProvisionResult.md)\>
|
|
@@ -132,6 +148,32 @@ Grants a specific capability to an agent.
|
|
|
132
148
|
|
|
133
149
|
***
|
|
134
150
|
|
|
151
|
+
### ownerIssueAllSessionTokens()
|
|
152
|
+
|
|
153
|
+
> **ownerIssueAllSessionTokens**(): `Promise`\<readonly `OwnerSessionToken`[]\>
|
|
154
|
+
|
|
155
|
+
#### Returns
|
|
156
|
+
|
|
157
|
+
`Promise`\<readonly `OwnerSessionToken`[]\>
|
|
158
|
+
|
|
159
|
+
***
|
|
160
|
+
|
|
161
|
+
### ownerIssueSessionToken()
|
|
162
|
+
|
|
163
|
+
> **ownerIssueSessionToken**(`input`): `Promise`\<`OwnerSessionToken`\>
|
|
164
|
+
|
|
165
|
+
#### Parameters
|
|
166
|
+
|
|
167
|
+
##### input
|
|
168
|
+
|
|
169
|
+
[`VaultIssueSessionTokenInput`](VaultIssueSessionTokenInput.md)
|
|
170
|
+
|
|
171
|
+
#### Returns
|
|
172
|
+
|
|
173
|
+
`Promise`\<`OwnerSessionToken`\>
|
|
174
|
+
|
|
175
|
+
***
|
|
176
|
+
|
|
135
177
|
### ownerListAgents()
|
|
136
178
|
|
|
137
179
|
> **ownerListAgents**(`input?`): `Promise`\<readonly `AgentIdentityRecord`[]\>
|
|
@@ -178,6 +220,16 @@ Lists all active capabilities granted to agents.
|
|
|
178
220
|
|
|
179
221
|
***
|
|
180
222
|
|
|
223
|
+
### ownerListPendingDispatches()
|
|
224
|
+
|
|
225
|
+
> **ownerListPendingDispatches**(): `Promise`\<readonly `PendingDispatchRecord`[]\>
|
|
226
|
+
|
|
227
|
+
#### Returns
|
|
228
|
+
|
|
229
|
+
`Promise`\<readonly `PendingDispatchRecord`[]\>
|
|
230
|
+
|
|
231
|
+
***
|
|
232
|
+
|
|
181
233
|
### ownerListSecrets()
|
|
182
234
|
|
|
183
235
|
> **ownerListSecrets**(`input?`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
@@ -210,6 +262,38 @@ Lists all active capabilities granted to agents.
|
|
|
210
262
|
|
|
211
263
|
***
|
|
212
264
|
|
|
265
|
+
### ownerOnPendingDispatch()
|
|
266
|
+
|
|
267
|
+
> **ownerOnPendingDispatch**(`callback`): () => `void`
|
|
268
|
+
|
|
269
|
+
#### Parameters
|
|
270
|
+
|
|
271
|
+
##### callback
|
|
272
|
+
|
|
273
|
+
(`record`) => `void`
|
|
274
|
+
|
|
275
|
+
#### Returns
|
|
276
|
+
|
|
277
|
+
() => `void`
|
|
278
|
+
|
|
279
|
+
***
|
|
280
|
+
|
|
281
|
+
### ownerReadAgentPrivateKey()
|
|
282
|
+
|
|
283
|
+
> **ownerReadAgentPrivateKey**(`input`): `Promise`\<`string`\>
|
|
284
|
+
|
|
285
|
+
#### Parameters
|
|
286
|
+
|
|
287
|
+
##### input
|
|
288
|
+
|
|
289
|
+
[`VaultReadAgentPrivateKeyInput`](VaultReadAgentPrivateKeyInput.md)
|
|
290
|
+
|
|
291
|
+
#### Returns
|
|
292
|
+
|
|
293
|
+
`Promise`\<`string`\>
|
|
294
|
+
|
|
295
|
+
***
|
|
296
|
+
|
|
213
297
|
### ownerReadAudit()
|
|
214
298
|
|
|
215
299
|
> **ownerReadAudit**(`query?`): `Promise`\<readonly `AuditEntry`[]\>
|
|
@@ -278,6 +362,22 @@ Registers a custom HTTP flow for complex secret usage.
|
|
|
278
362
|
|
|
279
363
|
***
|
|
280
364
|
|
|
365
|
+
### ownerRejectDispatch()
|
|
366
|
+
|
|
367
|
+
> **ownerRejectDispatch**(`requestId`): `Promise`\<`void`\>
|
|
368
|
+
|
|
369
|
+
#### Parameters
|
|
370
|
+
|
|
371
|
+
##### requestId
|
|
372
|
+
|
|
373
|
+
`string`
|
|
374
|
+
|
|
375
|
+
#### Returns
|
|
376
|
+
|
|
377
|
+
`Promise`\<`void`\>
|
|
378
|
+
|
|
379
|
+
***
|
|
380
|
+
|
|
281
381
|
### ownerRevokeCapability()
|
|
282
382
|
|
|
283
383
|
> **ownerRevokeCapability**(`input`): `Promise`\<`void`\>
|
|
@@ -296,6 +396,22 @@ Revokes a previously granted capability.
|
|
|
296
396
|
|
|
297
397
|
***
|
|
298
398
|
|
|
399
|
+
### ownerRevokeSessionToken()
|
|
400
|
+
|
|
401
|
+
> **ownerRevokeSessionToken**(`input`): `Promise`\<`void`\>
|
|
402
|
+
|
|
403
|
+
#### Parameters
|
|
404
|
+
|
|
405
|
+
##### input
|
|
406
|
+
|
|
407
|
+
[`VaultRevokeSessionTokenInput`](VaultRevokeSessionTokenInput.md)
|
|
408
|
+
|
|
409
|
+
#### Returns
|
|
410
|
+
|
|
411
|
+
`Promise`\<`void`\>
|
|
412
|
+
|
|
413
|
+
***
|
|
414
|
+
|
|
299
415
|
### ownerStoreSecret()
|
|
300
416
|
|
|
301
417
|
> **ownerStoreSecret**(`input`): `Promise`\<`SecretRecord`\>
|
|
@@ -330,6 +446,22 @@ Securely stores a new secret in the vault.
|
|
|
330
446
|
|
|
331
447
|
***
|
|
332
448
|
|
|
449
|
+
### ownerUpdateAgent()
|
|
450
|
+
|
|
451
|
+
> **ownerUpdateAgent**(`input`): `Promise`\<`AgentIdentityRecord`\>
|
|
452
|
+
|
|
453
|
+
#### Parameters
|
|
454
|
+
|
|
455
|
+
##### input
|
|
456
|
+
|
|
457
|
+
[`VaultUpdateAgentInput`](VaultUpdateAgentInput.md)
|
|
458
|
+
|
|
459
|
+
#### Returns
|
|
460
|
+
|
|
461
|
+
`Promise`\<`AgentIdentityRecord`\>
|
|
462
|
+
|
|
463
|
+
***
|
|
464
|
+
|
|
333
465
|
### ownerWriteSecret()
|
|
334
466
|
|
|
335
467
|
> **ownerWriteSecret**(`input`): `Promise`\<`SecretRecord`\>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.53.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultIssueSessionTokenInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agentId
|
|
10
|
+
|
|
11
|
+
> **agentId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### requestedAt?
|
|
16
|
+
|
|
17
|
+
> `optional` **requestedAt?**: `string`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.53.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultUpdateAgentInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agentId
|
|
10
|
+
|
|
11
|
+
> **agentId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### metadata?
|
|
16
|
+
|
|
17
|
+
> `optional` **metadata?**: `Record`\<`string`, `any`\>
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### nickname?
|
|
22
|
+
|
|
23
|
+
> `optional` **nickname?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### requestedAt?
|
|
28
|
+
|
|
29
|
+
> `optional` **requestedAt?**: `string`
|