@the-ai-company/cbio-node-runtime 1.52.1 → 1.54.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/agent/client.js +5 -4
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/owner/client.d.ts +9 -1
- package/dist/clients/owner/client.js +23 -26
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/internal/id-factory.d.ts +8 -0
- package/dist/internal/id-factory.js +37 -0
- package/dist/internal/id-factory.js.map +1 -0
- package/dist/runtime/bootstrap.js +28 -4
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/vault-metadata.js +1 -1
- package/dist/runtime/vault-metadata.js.map +1 -1
- package/dist/vault-core/core.js +4 -4
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +4 -0
- package/dist/vault-core/defaults.js +16 -3
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +1 -1
- package/dist/vault-core/persistence.js +12 -12
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +4 -0
- package/docs/ARCHITECTURE.md +11 -7
- package/docs/MIGRATION-1.51.md +16 -0
- package/docs/REFERENCE.md +8 -4
- package/docs/api/README.md +2 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.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/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/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 +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 +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +117 -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 +1 -1
- 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 +1 -1
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/VaultUpdateAgentInput.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 +2 -2
- package/package.json +1 -1
package/docs/api/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.54.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`\>
|