@the-ai-company/cbio-node-runtime 1.55.1 → 1.57.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 +53 -29
- package/dist/clients/agent/client.d.ts +2 -2
- package/dist/clients/agent/contracts.d.ts +3 -2
- package/dist/clients/owner/client.d.ts +8 -11
- package/dist/clients/owner/client.js +61 -43
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +23 -10
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +26 -0
- package/dist/runtime/owner-session.js +89 -0
- package/dist/runtime/owner-session.js.map +1 -0
- package/dist/vault-core/contracts.d.ts +48 -35
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +16 -21
- package/dist/vault-core/core.js +278 -159
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +8 -20
- package/dist/vault-core/defaults.js +14 -37
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +3 -3
- package/dist/vault-core/index.js +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +8 -6
- package/dist/vault-core/persistence.js +17 -9
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +8 -20
- package/dist/vault-ingress/defaults.d.ts +2 -2
- package/dist/vault-ingress/index.d.ts +14 -33
- package/dist/vault-ingress/index.js +18 -31
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +2 -2
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/MIGRATION-1.51.md +4 -1
- package/docs/REFERENCE.md +44 -30
- package/docs/api/README.md +7 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/VaultCore.md +34 -94
- 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/createOwnerSession.md +37 -0
- 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 +5 -5
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +5 -5
- 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 +39 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerSessionOptions.md +245 -0
- 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/OwnerSession.md +95 -0
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +5 -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 +41 -77
- 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 +25 -1
- package/docs/api/interfaces/VaultGrantCapabilityRequest.md +23 -0
- 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/type-aliases/OwnerGrantCapabilityInput.md +7 -0
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/es/README.md +6 -9
- package/docs/fr/README.md +6 -10
- package/docs/ja/README.md +6 -9
- package/docs/ko/README.md +6 -9
- package/docs/pt/README.md +6 -9
- package/docs/zh/README.md +101 -42
- package/package.json +1 -1
package/docs/api/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
**CBIO Node Runtime Agent API v1.
|
|
1
|
+
**CBIO Node Runtime Agent API v1.57.0**
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
-
# CBIO Node Runtime Agent API v1.
|
|
5
|
+
# CBIO Node Runtime Agent API v1.57.0
|
|
6
6
|
|
|
7
7
|
## Enumerations
|
|
8
8
|
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
- [CreateAgentClientOptions](interfaces/CreateAgentClientOptions.md)
|
|
29
29
|
- [CreatedVault](interfaces/CreatedVault.md)
|
|
30
30
|
- [CreateIdentityOptions](interfaces/CreateIdentityOptions.md)
|
|
31
|
+
- [CreateOwnerSessionOptions](interfaces/CreateOwnerSessionOptions.md)
|
|
31
32
|
- [CreatePersistentVaultCoreDependenciesOptions](interfaces/CreatePersistentVaultCoreDependenciesOptions.md)
|
|
32
33
|
- [CreateVaultClientOptions](interfaces/CreateVaultClientOptions.md)
|
|
33
34
|
- [CreateVaultOptions](interfaces/CreateVaultOptions.md)
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
- [OwnerSecretTargetBinding](interfaces/OwnerSecretTargetBinding.md)
|
|
41
42
|
- [OwnerSensitiveActionConfirmation](interfaces/OwnerSensitiveActionConfirmation.md)
|
|
42
43
|
- [OwnerSensitiveActionContext](interfaces/OwnerSensitiveActionContext.md)
|
|
44
|
+
- [OwnerSession](interfaces/OwnerSession.md)
|
|
43
45
|
- [OwnerStoreSecretInput](interfaces/OwnerStoreSecretInput.md)
|
|
44
46
|
- [OwnerWriteSecretInput](interfaces/OwnerWriteSecretInput.md)
|
|
45
47
|
- [RecoveredVault](interfaces/RecoveredVault.md)
|
|
@@ -55,6 +57,7 @@
|
|
|
55
57
|
- [VaultDeleteSecretInput](interfaces/VaultDeleteSecretInput.md)
|
|
56
58
|
- [VaultExportSecretInput](interfaces/VaultExportSecretInput.md)
|
|
57
59
|
- [VaultGrantCapabilityInput](interfaces/VaultGrantCapabilityInput.md)
|
|
60
|
+
- [VaultGrantCapabilityRequest](interfaces/VaultGrantCapabilityRequest.md)
|
|
58
61
|
- [VaultIdentity](interfaces/VaultIdentity.md)
|
|
59
62
|
- [VaultImportAgentInput](interfaces/VaultImportAgentInput.md)
|
|
60
63
|
- [VaultIssueSessionTokenInput](interfaces/VaultIssueSessionTokenInput.md)
|
|
@@ -78,6 +81,7 @@
|
|
|
78
81
|
- [AgentCapabilityEnvelope](type-aliases/AgentCapabilityEnvelope.md)
|
|
79
82
|
- [AgentVisibleSecretRecord](type-aliases/AgentVisibleSecretRecord.md)
|
|
80
83
|
- [CbioRuntimeModule](type-aliases/CbioRuntimeModule.md)
|
|
84
|
+
- [OwnerGrantCapabilityInput](type-aliases/OwnerGrantCapabilityInput.md)
|
|
81
85
|
|
|
82
86
|
## Variables
|
|
83
87
|
|
|
@@ -88,6 +92,7 @@
|
|
|
88
92
|
- [createAgentClient](functions/createAgentClient.md)
|
|
89
93
|
- [createIdentity](functions/createIdentity.md)
|
|
90
94
|
- [createOwnerHttpFlowBoundary](functions/createOwnerHttpFlowBoundary.md)
|
|
95
|
+
- [createOwnerSession](functions/createOwnerSession.md)
|
|
91
96
|
- [createPersistentVaultCoreDependencies](functions/createPersistentVaultCoreDependencies.md)
|
|
92
97
|
- [createStandardAcquireBoundary](functions/createStandardAcquireBoundary.md)
|
|
93
98
|
- [createStandardDispatchBoundary](functions/createStandardDispatchBoundary.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.57.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -125,7 +125,7 @@ This is the primary implementation of the Vault logic.
|
|
|
125
125
|
|
|
126
126
|
##### command
|
|
127
127
|
|
|
128
|
-
`
|
|
128
|
+
`AgentGetRuntimeManifestRequest`
|
|
129
129
|
|
|
130
130
|
#### Returns
|
|
131
131
|
|
|
@@ -135,7 +135,7 @@ This is the primary implementation of the Vault logic.
|
|
|
135
135
|
|
|
136
136
|
### agentListCapabilities()
|
|
137
137
|
|
|
138
|
-
> **agentListCapabilities**(`request`): `Promise`\<readonly `
|
|
138
|
+
> **agentListCapabilities**(`request`): `Promise`\<readonly `AgentCapabilityState`[]\>
|
|
139
139
|
|
|
140
140
|
#### Parameters
|
|
141
141
|
|
|
@@ -145,7 +145,7 @@ This is the primary implementation of the Vault logic.
|
|
|
145
145
|
|
|
146
146
|
#### Returns
|
|
147
147
|
|
|
148
|
-
`Promise`\<readonly `
|
|
148
|
+
`Promise`\<readonly `AgentCapabilityState`[]\>
|
|
149
149
|
|
|
150
150
|
***
|
|
151
151
|
|
|
@@ -167,7 +167,7 @@ This is the primary implementation of the Vault logic.
|
|
|
167
167
|
|
|
168
168
|
### agentSubmitCapabilityRequest()
|
|
169
169
|
|
|
170
|
-
> **agentSubmitCapabilityRequest**(`command`): `Promise`\<`
|
|
170
|
+
> **agentSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
|
|
171
171
|
|
|
172
172
|
#### Parameters
|
|
173
173
|
|
|
@@ -177,71 +177,71 @@ This is the primary implementation of the Vault logic.
|
|
|
177
177
|
|
|
178
178
|
#### Returns
|
|
179
179
|
|
|
180
|
-
`Promise`\<`
|
|
180
|
+
`Promise`\<`CapabilityStateRecord`\>
|
|
181
181
|
|
|
182
182
|
***
|
|
183
183
|
|
|
184
|
-
###
|
|
184
|
+
### ownerDefineSecretTargets()
|
|
185
185
|
|
|
186
|
-
> **
|
|
186
|
+
> **ownerDefineSecretTargets**(`command`): `Promise`\<`SecretRecord`\>
|
|
187
187
|
|
|
188
188
|
#### Parameters
|
|
189
189
|
|
|
190
190
|
##### command
|
|
191
191
|
|
|
192
|
-
`
|
|
192
|
+
`OwnerDefineSecretTargetsCommand`
|
|
193
193
|
|
|
194
194
|
#### Returns
|
|
195
195
|
|
|
196
|
-
`Promise`\<`
|
|
196
|
+
`Promise`\<`SecretRecord`\>
|
|
197
197
|
|
|
198
198
|
***
|
|
199
199
|
|
|
200
|
-
###
|
|
200
|
+
### ownerDeleteSecret()
|
|
201
201
|
|
|
202
|
-
> **
|
|
202
|
+
> **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
|
|
203
203
|
|
|
204
204
|
#### Parameters
|
|
205
205
|
|
|
206
206
|
##### command
|
|
207
207
|
|
|
208
|
-
`
|
|
208
|
+
`OwnerDeleteSecretCommand`
|
|
209
209
|
|
|
210
210
|
#### Returns
|
|
211
211
|
|
|
212
|
-
`Promise`\<`
|
|
212
|
+
`Promise`\<`void`\>
|
|
213
213
|
|
|
214
214
|
***
|
|
215
215
|
|
|
216
|
-
###
|
|
216
|
+
### ownerExecuteCapabilityStateAndGrant()
|
|
217
217
|
|
|
218
|
-
> **
|
|
218
|
+
> **ownerExecuteCapabilityStateAndGrant**(`command`): `Promise`\<`DispatchResult`\>
|
|
219
219
|
|
|
220
220
|
#### Parameters
|
|
221
221
|
|
|
222
222
|
##### command
|
|
223
223
|
|
|
224
|
-
`
|
|
224
|
+
`OwnerExecuteCapabilityStateCommand`
|
|
225
225
|
|
|
226
226
|
#### Returns
|
|
227
227
|
|
|
228
|
-
`Promise`\<`
|
|
228
|
+
`Promise`\<`DispatchResult`\>
|
|
229
229
|
|
|
230
230
|
***
|
|
231
231
|
|
|
232
|
-
###
|
|
232
|
+
### ownerExecuteCapabilityStateOnce()
|
|
233
233
|
|
|
234
|
-
> **
|
|
234
|
+
> **ownerExecuteCapabilityStateOnce**(`command`): `Promise`\<`DispatchResult`\>
|
|
235
235
|
|
|
236
236
|
#### Parameters
|
|
237
237
|
|
|
238
238
|
##### command
|
|
239
239
|
|
|
240
|
-
`
|
|
240
|
+
`OwnerExecuteCapabilityStateCommand`
|
|
241
241
|
|
|
242
242
|
#### Returns
|
|
243
243
|
|
|
244
|
-
`Promise`\<`
|
|
244
|
+
`Promise`\<`DispatchResult`\>
|
|
245
245
|
|
|
246
246
|
***
|
|
247
247
|
|
|
@@ -345,47 +345,19 @@ This is the primary implementation of the Vault logic.
|
|
|
345
345
|
|
|
346
346
|
***
|
|
347
347
|
|
|
348
|
-
###
|
|
349
|
-
|
|
350
|
-
> **ownerListPendingCapabilityRequests**(`command`): `Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
|
|
351
|
-
|
|
352
|
-
#### Parameters
|
|
353
|
-
|
|
354
|
-
##### command
|
|
355
|
-
|
|
356
|
-
###### owner
|
|
357
|
-
|
|
358
|
-
`VaultPrincipal`
|
|
359
|
-
|
|
360
|
-
###### vaultId
|
|
361
|
-
|
|
362
|
-
`VaultId`
|
|
363
|
-
|
|
364
|
-
#### Returns
|
|
365
|
-
|
|
366
|
-
`Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
|
|
367
|
-
|
|
368
|
-
***
|
|
369
|
-
|
|
370
|
-
### ownerListPendingDispatches()
|
|
348
|
+
### ownerListCapabilityStates()
|
|
371
349
|
|
|
372
|
-
> **
|
|
350
|
+
> **ownerListCapabilityStates**(`command`): `Promise`\<readonly `CapabilityStateRecord`[]\>
|
|
373
351
|
|
|
374
352
|
#### Parameters
|
|
375
353
|
|
|
376
354
|
##### command
|
|
377
355
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
`VaultPrincipal`
|
|
381
|
-
|
|
382
|
-
###### vaultId
|
|
383
|
-
|
|
384
|
-
`VaultId`
|
|
356
|
+
`OwnerListCapabilityStatesRequest`
|
|
385
357
|
|
|
386
358
|
#### Returns
|
|
387
359
|
|
|
388
|
-
`Promise`\<readonly `
|
|
360
|
+
`Promise`\<readonly `CapabilityStateRecord`[]\>
|
|
389
361
|
|
|
390
362
|
***
|
|
391
363
|
|
|
@@ -411,25 +383,9 @@ This is the primary implementation of the Vault logic.
|
|
|
411
383
|
|
|
412
384
|
***
|
|
413
385
|
|
|
414
|
-
###
|
|
386
|
+
### ownerOnCapabilityState()
|
|
415
387
|
|
|
416
|
-
> **
|
|
417
|
-
|
|
418
|
-
#### Parameters
|
|
419
|
-
|
|
420
|
-
##### callback
|
|
421
|
-
|
|
422
|
-
(`record`) => `void`
|
|
423
|
-
|
|
424
|
-
#### Returns
|
|
425
|
-
|
|
426
|
-
() => `void`
|
|
427
|
-
|
|
428
|
-
***
|
|
429
|
-
|
|
430
|
-
### ownerOnPendingDispatch()
|
|
431
|
-
|
|
432
|
-
> **ownerOnPendingDispatch**(`callback`): () => `void`
|
|
388
|
+
> **ownerOnCapabilityState**(`callback`): () => `void`
|
|
433
389
|
|
|
434
390
|
#### Parameters
|
|
435
391
|
|
|
@@ -515,35 +471,19 @@ This is the primary implementation of the Vault logic.
|
|
|
515
471
|
|
|
516
472
|
***
|
|
517
473
|
|
|
518
|
-
###
|
|
474
|
+
### ownerRejectCapabilityState()
|
|
519
475
|
|
|
520
|
-
> **
|
|
476
|
+
> **ownerRejectCapabilityState**(`command`): `Promise`\<`CapabilityStateRecord`\>
|
|
521
477
|
|
|
522
478
|
#### Parameters
|
|
523
479
|
|
|
524
480
|
##### command
|
|
525
481
|
|
|
526
|
-
`
|
|
482
|
+
`OwnerRejectCapabilityStateCommand`
|
|
527
483
|
|
|
528
484
|
#### Returns
|
|
529
485
|
|
|
530
|
-
`Promise`\<`
|
|
531
|
-
|
|
532
|
-
***
|
|
533
|
-
|
|
534
|
-
### ownerRejectDispatch()
|
|
535
|
-
|
|
536
|
-
> **ownerRejectDispatch**(`command`): `Promise`\<`void`\>
|
|
537
|
-
|
|
538
|
-
#### Parameters
|
|
539
|
-
|
|
540
|
-
##### command
|
|
541
|
-
|
|
542
|
-
`OwnerRejectDispatchCommand`
|
|
543
|
-
|
|
544
|
-
#### Returns
|
|
545
|
-
|
|
546
|
-
`Promise`\<`void`\>
|
|
486
|
+
`Promise`\<`CapabilityStateRecord`\>
|
|
547
487
|
|
|
548
488
|
***
|
|
549
489
|
|
|
@@ -591,7 +531,7 @@ This is the primary implementation of the Vault logic.
|
|
|
591
531
|
|
|
592
532
|
### ownerSubmitCapabilityRequest()
|
|
593
533
|
|
|
594
|
-
> **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`
|
|
534
|
+
> **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
|
|
595
535
|
|
|
596
536
|
#### Parameters
|
|
597
537
|
|
|
@@ -601,7 +541,7 @@ This is the primary implementation of the Vault logic.
|
|
|
601
541
|
|
|
602
542
|
#### Returns
|
|
603
543
|
|
|
604
|
-
`Promise`\<`
|
|
544
|
+
`Promise`\<`CapabilityStateRecord`\>
|
|
605
545
|
|
|
606
546
|
***
|
|
607
547
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.57.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Function: createOwnerSession()
|
|
6
|
+
|
|
7
|
+
## Call Signature
|
|
8
|
+
|
|
9
|
+
> **createOwnerSession**(`storage`, `options`): [`OwnerSession`](../interfaces/OwnerSession.md)
|
|
10
|
+
|
|
11
|
+
### Parameters
|
|
12
|
+
|
|
13
|
+
#### storage
|
|
14
|
+
|
|
15
|
+
`string` \| [`IStorageProvider`](../interfaces/IStorageProvider.md)
|
|
16
|
+
|
|
17
|
+
#### options
|
|
18
|
+
|
|
19
|
+
[`CreateOwnerSessionOptions`](../interfaces/CreateOwnerSessionOptions.md)
|
|
20
|
+
|
|
21
|
+
### Returns
|
|
22
|
+
|
|
23
|
+
[`OwnerSession`](../interfaces/OwnerSession.md)
|
|
24
|
+
|
|
25
|
+
## Call Signature
|
|
26
|
+
|
|
27
|
+
> **createOwnerSession**(`options`): [`OwnerSession`](../interfaces/OwnerSession.md)
|
|
28
|
+
|
|
29
|
+
### Parameters
|
|
30
|
+
|
|
31
|
+
#### options
|
|
32
|
+
|
|
33
|
+
[`CreateOwnerSessionOptions`](../interfaces/CreateOwnerSessionOptions.md)
|
|
34
|
+
|
|
35
|
+
### Returns
|
|
36
|
+
|
|
37
|
+
[`OwnerSession`](../interfaces/OwnerSession.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.57.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -57,11 +57,11 @@ Equivalent to '--help' or 'llms.txt' for the agent.
|
|
|
57
57
|
|
|
58
58
|
### agentListCapabilities()
|
|
59
59
|
|
|
60
|
-
> **agentListCapabilities**(): `Promise`\<readonly `
|
|
60
|
+
> **agentListCapabilities**(): `Promise`\<readonly `AgentCapabilityState`[]\>
|
|
61
61
|
|
|
62
62
|
#### Returns
|
|
63
63
|
|
|
64
|
-
`Promise`\<readonly `
|
|
64
|
+
`Promise`\<readonly `AgentCapabilityState`[]\>
|
|
65
65
|
|
|
66
66
|
***
|
|
67
67
|
|
|
@@ -77,7 +77,7 @@ Equivalent to '--help' or 'llms.txt' for the agent.
|
|
|
77
77
|
|
|
78
78
|
### agentSubmitCapabilityRequest()
|
|
79
79
|
|
|
80
|
-
> **agentSubmitCapabilityRequest**(`input`): `Promise`\<`
|
|
80
|
+
> **agentSubmitCapabilityRequest**(`input`): `Promise`\<`CapabilityStateRecord`\>
|
|
81
81
|
|
|
82
82
|
#### Parameters
|
|
83
83
|
|
|
@@ -87,4 +87,4 @@ Equivalent to '--help' or 'llms.txt' for the agent.
|
|
|
87
87
|
|
|
88
88
|
#### Returns
|
|
89
89
|
|
|
90
|
-
`Promise`\<`
|
|
90
|
+
`Promise`\<`CapabilityStateRecord`\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.57.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
### agentListCapabilities()
|
|
42
42
|
|
|
43
|
-
> **agentListCapabilities**(`request`): `Promise`\<readonly `
|
|
43
|
+
> **agentListCapabilities**(`request`): `Promise`\<readonly `AgentCapabilityState`[]\>
|
|
44
44
|
|
|
45
45
|
#### Parameters
|
|
46
46
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
#### Returns
|
|
52
52
|
|
|
53
|
-
`Promise`\<readonly `
|
|
53
|
+
`Promise`\<readonly `AgentCapabilityState`[]\>
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
### agentSubmitCapabilityRequest()
|
|
74
74
|
|
|
75
|
-
> **agentSubmitCapabilityRequest**(`request`): `Promise`\<`
|
|
75
|
+
> **agentSubmitCapabilityRequest**(`request`): `Promise`\<`CapabilityStateRecord`\>
|
|
76
76
|
|
|
77
77
|
#### Parameters
|
|
78
78
|
|
|
@@ -82,4 +82,4 @@
|
|
|
82
82
|
|
|
83
83
|
#### Returns
|
|
84
84
|
|
|
85
|
-
`Promise`\<`
|
|
85
|
+
`Promise`\<`CapabilityStateRecord`\>
|