@the-ai-company/cbio-node-runtime 1.48.6 → 1.49.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 (126) hide show
  1. package/README.md +40 -25
  2. package/dist/clients/agent/client.d.ts +8 -6
  3. package/dist/clients/agent/client.js +67 -49
  4. package/dist/clients/agent/client.js.map +1 -1
  5. package/dist/clients/agent/contracts.d.ts +13 -1
  6. package/dist/clients/agent/index.d.ts +1 -1
  7. package/dist/clients/owner/client.d.ts +20 -14
  8. package/dist/clients/owner/client.js +136 -51
  9. package/dist/clients/owner/client.js.map +1 -1
  10. package/dist/clients/owner/contracts.d.ts +58 -26
  11. package/dist/clients/owner/index.d.ts +1 -1
  12. package/dist/runtime/index.d.ts +4 -3
  13. package/dist/runtime/index.js +5 -1
  14. package/dist/runtime/index.js.map +1 -1
  15. package/dist/vault-core/contracts.d.ts +90 -3
  16. package/dist/vault-core/contracts.js +3 -0
  17. package/dist/vault-core/contracts.js.map +1 -1
  18. package/dist/vault-core/core.d.ts +44 -25
  19. package/dist/vault-core/core.js +290 -73
  20. package/dist/vault-core/core.js.map +1 -1
  21. package/dist/vault-core/defaults.d.ts +9 -1
  22. package/dist/vault-core/defaults.js +39 -6
  23. package/dist/vault-core/defaults.js.map +1 -1
  24. package/dist/vault-core/index.d.ts +3 -3
  25. package/dist/vault-core/index.js +1 -1
  26. package/dist/vault-core/index.js.map +1 -1
  27. package/dist/vault-core/persistence.d.ts +1 -0
  28. package/dist/vault-core/persistence.js +7 -1
  29. package/dist/vault-core/persistence.js.map +1 -1
  30. package/dist/vault-core/ports.d.ts +8 -0
  31. package/dist/vault-ingress/defaults.d.ts +4 -1
  32. package/dist/vault-ingress/defaults.js +12 -3
  33. package/dist/vault-ingress/defaults.js.map +1 -1
  34. package/dist/vault-ingress/index.d.ts +137 -21
  35. package/dist/vault-ingress/index.js +156 -46
  36. package/dist/vault-ingress/index.js.map +1 -1
  37. package/dist/vault-ingress/remote-transport.d.ts +7 -2
  38. package/dist/vault-ingress/remote-transport.js +61 -3
  39. package/dist/vault-ingress/remote-transport.js.map +1 -1
  40. package/dist/vault-ingress/server-utils.d.ts +2 -1
  41. package/dist/vault-ingress/server-utils.js +42 -1
  42. package/dist/vault-ingress/server-utils.js.map +1 -1
  43. package/docs/REFERENCE.md +46 -17
  44. package/docs/api/README.md +10 -3
  45. package/docs/api/classes/IdentityError.md +1 -1
  46. package/docs/api/classes/VaultCore.md +258 -102
  47. package/docs/api/classes/VaultCoreError.md +1 -1
  48. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  49. package/docs/api/functions/createAgentClient.md +1 -1
  50. package/docs/api/functions/createIdentity.md +1 -1
  51. package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
  52. package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
  53. package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
  54. package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
  55. package/docs/api/functions/createVault.md +1 -1
  56. package/docs/api/functions/createVaultClient.md +1 -1
  57. package/docs/api/functions/createVaultCore.md +1 -1
  58. package/docs/api/functions/createVaultCoreDependencies.md +1 -1
  59. package/docs/api/functions/createVaultService.md +1 -1
  60. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  61. package/docs/api/functions/deriveIdentityId.md +1 -1
  62. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
  63. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  64. package/docs/api/functions/handleVaultAgentControlHttp.md +21 -0
  65. package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
  66. package/docs/api/functions/initializeVaultCustody.md +1 -1
  67. package/docs/api/functions/listVaults.md +1 -1
  68. package/docs/api/functions/readVaultProfile.md +1 -1
  69. package/docs/api/functions/recoverVault.md +1 -1
  70. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  71. package/docs/api/functions/restoreIdentity.md +1 -1
  72. package/docs/api/functions/updateVaultMetadata.md +1 -1
  73. package/docs/api/functions/wrapVaultCoreAsVaultService.md +1 -1
  74. package/docs/api/functions/writeVaultProfile.md +1 -1
  75. package/docs/api/interfaces/AgentClient.md +41 -5
  76. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  77. package/docs/api/interfaces/AgentDispatchTransport.md +51 -3
  78. package/docs/api/interfaces/AgentIdentity.md +1 -1
  79. package/docs/api/interfaces/AgentSigner.md +1 -1
  80. package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +41 -0
  81. package/docs/api/interfaces/CbioRuntime.md +21 -1
  82. package/docs/api/interfaces/CreateAgentClientOptions.md +3 -9
  83. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  84. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
  85. package/docs/api/interfaces/CreateVaultClientOptions.md +1 -1
  86. package/docs/api/interfaces/CreateVaultOptions.md +1 -1
  87. package/docs/api/interfaces/CreatedVault.md +1 -1
  88. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
  89. package/docs/api/interfaces/IStorageProvider.md +1 -1
  90. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  91. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  92. package/docs/api/interfaces/OwnerAgentProvisionResult.md +17 -0
  93. package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
  94. package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
  95. package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
  96. package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
  97. package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
  98. package/docs/api/interfaces/RecoveredVault.md +1 -1
  99. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  100. package/docs/api/interfaces/Signer.md +1 -1
  101. package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +23 -0
  102. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  103. package/docs/api/interfaces/VaultClient.md +123 -33
  104. package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
  105. package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
  106. package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
  107. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  108. package/docs/api/interfaces/VaultGrantCapabilityInput.md +13 -19
  109. package/docs/api/interfaces/VaultIdentity.md +1 -1
  110. package/docs/api/interfaces/{VaultRegisterAgentInput.md → VaultImportAgentInput.md} +4 -10
  111. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  112. package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
  113. package/docs/api/interfaces/VaultListSecretsInput.md +11 -0
  114. package/docs/api/interfaces/VaultMetadata.md +1 -1
  115. package/docs/api/interfaces/VaultObject.md +1 -1
  116. package/docs/api/interfaces/VaultProfile.md +1 -1
  117. package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
  118. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
  119. package/docs/api/interfaces/VaultSigner.md +1 -1
  120. package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +79 -0
  121. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
  122. package/docs/api/type-aliases/AgentVisibleSecretRecord.md +7 -0
  123. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  124. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  125. package/examples/process-isolation.ts +24 -15
  126. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -37,25 +37,57 @@ This is the primary implementation of the Vault logic.
37
37
 
38
38
  ## Methods
39
39
 
40
- ### approveDispatch()
40
+ ### \_getCapability()
41
41
 
42
- > **approveDispatch**(`command`): `Promise`\<`DispatchResult`\>
42
+ > **\_getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`AgentCapability` \| `null`\>
43
43
 
44
44
  #### Parameters
45
45
 
46
- ##### command
46
+ ##### vaultId
47
47
 
48
- `OwnerApproveDispatchCommand`
48
+ `VaultId`
49
+
50
+ ##### agentId
51
+
52
+ `string`
53
+
54
+ ##### capabilityId
55
+
56
+ `string`
49
57
 
50
58
  #### Returns
51
59
 
52
- `Promise`\<`DispatchResult`\>
60
+ `Promise`\<`AgentCapability` \| `null`\>
61
+
62
+ ***
63
+
64
+ ### \_storeCustomFlowSecret()
65
+
66
+ > **\_storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`SecretRecord`\>
67
+
68
+ #### Parameters
69
+
70
+ ##### flow
71
+
72
+ `CustomHttpFlowDefinition`
73
+
74
+ ##### alias
75
+
76
+ `string`
77
+
78
+ ##### plaintext
79
+
80
+ `string`
81
+
82
+ #### Returns
83
+
84
+ `Promise`\<`SecretRecord`\>
53
85
 
54
86
  ***
55
87
 
56
- ### authorizeDispatch()
88
+ ### agentAuthorizeDispatch()
57
89
 
58
- > **authorizeDispatch**(`request`): `Promise`\<`DispatchAuthorization`\>
90
+ > **agentAuthorizeDispatch**(`request`): `Promise`\<`DispatchAuthorization`\>
59
91
 
60
92
  #### Parameters
61
93
 
@@ -69,161 +101,193 @@ This is the primary implementation of the Vault logic.
69
101
 
70
102
  ***
71
103
 
72
- ### defineSecretTargets()
104
+ ### agentDispatchSecret()
73
105
 
74
- > **defineSecretTargets**(`command`): `Promise`\<`SecretRecord`\>
106
+ > **agentDispatchSecret**(`request`): `Promise`\<`DispatchResult`\>
75
107
 
76
108
  #### Parameters
77
109
 
78
- ##### command
110
+ ##### request
79
111
 
80
- `OwnerDefineSecretTargetsCommand`
112
+ `DispatchRequest`
81
113
 
82
114
  #### Returns
83
115
 
84
- `Promise`\<`SecretRecord`\>
116
+ `Promise`\<`DispatchResult`\>
85
117
 
86
118
  ***
87
119
 
88
- ### deleteSecret()
120
+ ### agentListCapabilities()
89
121
 
90
- > **deleteSecret**(`command`): `Promise`\<`void`\>
122
+ > **agentListCapabilities**(`request`): `Promise`\<readonly `AgentCapability`[]\>
91
123
 
92
124
  #### Parameters
93
125
 
94
- ##### command
126
+ ##### request
95
127
 
96
- `OwnerDeleteSecretCommand`
128
+ `AgentListCapabilitiesRequest`
97
129
 
98
130
  #### Returns
99
131
 
100
- `Promise`\<`void`\>
132
+ `Promise`\<readonly `AgentCapability`[]\>
101
133
 
102
134
  ***
103
135
 
104
- ### dispatchSecret()
136
+ ### agentListSecrets()
105
137
 
106
- > **dispatchSecret**(`request`): `Promise`\<`DispatchResult`\>
138
+ > **agentListSecrets**(`request`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
107
139
 
108
140
  #### Parameters
109
141
 
110
142
  ##### request
111
143
 
112
- `DispatchRequest`
144
+ `AgentListSecretsRequest`
113
145
 
114
146
  #### Returns
115
147
 
116
- `Promise`\<`DispatchResult`\>
148
+ `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
117
149
 
118
150
  ***
119
151
 
120
- ### exportSecret()
152
+ ### agentSubmitCapabilityRequest()
121
153
 
122
- > **exportSecret**(`actor`, `alias`, `request?`): `Promise`\<`OwnerSecretExport`\>
154
+ > **agentSubmitCapabilityRequest**(`command`): `Promise`\<`PendingCapabilityRequestRecord`\>
123
155
 
124
156
  #### Parameters
125
157
 
126
- ##### actor
158
+ ##### command
127
159
 
128
- `VaultPrincipal` & `object`
160
+ `AgentSubmitCapabilityRequestCommand`
129
161
 
130
- ##### alias
162
+ #### Returns
131
163
 
132
- `string`
164
+ `Promise`\<`PendingCapabilityRequestRecord`\>
133
165
 
134
- ##### request?
166
+ ***
135
167
 
136
- `Omit`\<`OwnerExportSecretRequest`, `"vaultId"` \| `"actor"` \| `"alias"`\>
168
+ ### ownerApproveCapabilityRequest()
169
+
170
+ > **ownerApproveCapabilityRequest**(`command`): `Promise`\<`AgentCapability`\>
171
+
172
+ #### Parameters
173
+
174
+ ##### command
175
+
176
+ `OwnerApproveCapabilityRequestCommand`
137
177
 
138
178
  #### Returns
139
179
 
140
- `Promise`\<`OwnerSecretExport`\>
180
+ `Promise`\<`AgentCapability`\>
141
181
 
142
182
  ***
143
183
 
144
- ### getAudit()
184
+ ### ownerApproveDispatch()
145
185
 
146
- > **getAudit**(`actor`, `query`, `request?`): `Promise`\<readonly `AuditEntry`[]\>
186
+ > **ownerApproveDispatch**(`command`): `Promise`\<`DispatchResult`\>
147
187
 
148
188
  #### Parameters
149
189
 
150
- ##### actor
190
+ ##### command
151
191
 
152
- `VaultPrincipal` & `object`
192
+ `OwnerApproveDispatchCommand`
153
193
 
154
- ##### query
194
+ #### Returns
155
195
 
156
- `AuditQuery`
196
+ `Promise`\<`DispatchResult`\>
157
197
 
158
- ##### request?
198
+ ***
159
199
 
160
- `Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
200
+ ### ownerDefineSecretTargets()
201
+
202
+ > **ownerDefineSecretTargets**(`command`): `Promise`\<`SecretRecord`\>
203
+
204
+ #### Parameters
205
+
206
+ ##### command
207
+
208
+ `OwnerDefineSecretTargetsCommand`
161
209
 
162
210
  #### Returns
163
211
 
164
- `Promise`\<readonly `AuditEntry`[]\>
212
+ `Promise`\<`SecretRecord`\>
165
213
 
166
214
  ***
167
215
 
168
- ### getCapability()
216
+ ### ownerDeleteSecret()
169
217
 
170
- > **getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`AgentCapability` \| `null`\>
218
+ > **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
171
219
 
172
220
  #### Parameters
173
221
 
174
- ##### vaultId
222
+ ##### command
175
223
 
176
- `VaultId`
224
+ `OwnerDeleteSecretCommand`
177
225
 
178
- ##### agentId
226
+ #### Returns
179
227
 
180
- `string`
228
+ `Promise`\<`void`\>
181
229
 
182
- ##### capabilityId
230
+ ***
231
+
232
+ ### ownerExportSecret()
233
+
234
+ > **ownerExportSecret**(`actor`, `alias`, `request?`): `Promise`\<`OwnerSecretExport`\>
235
+
236
+ #### Parameters
237
+
238
+ ##### actor
239
+
240
+ `VaultPrincipal` & `object`
241
+
242
+ ##### alias
183
243
 
184
244
  `string`
185
245
 
246
+ ##### request?
247
+
248
+ `Omit`\<`OwnerExportSecretRequest`, `"vaultId"` \| `"actor"` \| `"alias"`\>
249
+
186
250
  #### Returns
187
251
 
188
- `Promise`\<`AgentCapability` \| `null`\>
252
+ `Promise`\<`OwnerSecretExport`\>
189
253
 
190
254
  ***
191
255
 
192
- ### issueAgentSessionToken()
256
+ ### ownerIssueAllAgentSessionTokens()
193
257
 
194
- > **issueAgentSessionToken**(`request`): `Promise`\<`OwnerSessionToken`\>
258
+ > **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`OwnerSessionToken`[]\>
195
259
 
196
260
  #### Parameters
197
261
 
198
- ##### request
262
+ ##### actor
199
263
 
200
- `OwnerIssueSessionTokenRequest`
264
+ `VaultPrincipal` & `object`
201
265
 
202
266
  #### Returns
203
267
 
204
- `Promise`\<`OwnerSessionToken`\>
268
+ `Promise`\<`OwnerSessionToken`[]\>
205
269
 
206
270
  ***
207
271
 
208
- ### issueAllAgentSessionTokens()
272
+ ### ownerIssueSessionToken()
209
273
 
210
- > **issueAllAgentSessionTokens**(`actor`): `Promise`\<`OwnerSessionToken`[]\>
274
+ > **ownerIssueSessionToken**(`request`): `Promise`\<`OwnerSessionToken`\>
211
275
 
212
276
  #### Parameters
213
277
 
214
- ##### actor
278
+ ##### request
215
279
 
216
- `VaultPrincipal` & `object`
280
+ `OwnerIssueSessionTokenRequest`
217
281
 
218
282
  #### Returns
219
283
 
220
- `Promise`\<`OwnerSessionToken`[]\>
284
+ `Promise`\<`OwnerSessionToken`\>
221
285
 
222
286
  ***
223
287
 
224
- ### listAgents()
288
+ ### ownerListAgents()
225
289
 
226
- > **listAgents**(`actor`, `request?`): `Promise`\<readonly `AgentIdentityRecord`[]\>
290
+ > **ownerListAgents**(`actor`, `request?`): `Promise`\<readonly `AgentIdentityRecord`[]\>
227
291
 
228
292
  #### Parameters
229
293
 
@@ -241,9 +305,9 @@ This is the primary implementation of the Vault logic.
241
305
 
242
306
  ***
243
307
 
244
- ### listCapabilities()
308
+ ### ownerListCapabilities()
245
309
 
246
- > **listCapabilities**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `AgentCapability`[]\>
310
+ > **ownerListCapabilities**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `AgentCapability`[]\>
247
311
 
248
312
  #### Parameters
249
313
 
@@ -257,7 +321,7 @@ This is the primary implementation of the Vault logic.
257
321
 
258
322
  ##### request?
259
323
 
260
- `Omit`\<`OwnerListCapabilitiesRequest`, `"vaultId"` \| `"actor"` \| `"agentId"`\>
324
+ `Omit`\<`OwnerListCapabilitiesRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
261
325
 
262
326
  #### Returns
263
327
 
@@ -265,9 +329,31 @@ This is the primary implementation of the Vault logic.
265
329
 
266
330
  ***
267
331
 
268
- ### listPendingDispatches()
332
+ ### ownerListPendingCapabilityRequests()
333
+
334
+ > **ownerListPendingCapabilityRequests**(`command`): `Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
335
+
336
+ #### Parameters
337
+
338
+ ##### command
339
+
340
+ ###### owner
341
+
342
+ `VaultPrincipal`
343
+
344
+ ###### vaultId
345
+
346
+ `VaultId`
347
+
348
+ #### Returns
349
+
350
+ `Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
351
+
352
+ ***
353
+
354
+ ### ownerListPendingDispatches()
269
355
 
270
- > **listPendingDispatches**(`command`): `Promise`\<readonly `PendingDispatchRecord`[]\>
356
+ > **ownerListPendingDispatches**(`command`): `Promise`\<readonly `PendingDispatchRecord`[]\>
271
357
 
272
358
  #### Parameters
273
359
 
@@ -287,9 +373,31 @@ This is the primary implementation of the Vault logic.
287
373
 
288
374
  ***
289
375
 
290
- ### onPendingRequest()
376
+ ### ownerListSecrets()
291
377
 
292
- > **onPendingRequest**(`callback`): () => `void`
378
+ > **ownerListSecrets**(`actor`, `request?`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
379
+
380
+ #### Parameters
381
+
382
+ ##### actor
383
+
384
+ `VaultPrincipal` & `object`
385
+
386
+ ##### request?
387
+
388
+ ###### requestId?
389
+
390
+ `string`
391
+
392
+ #### Returns
393
+
394
+ `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
395
+
396
+ ***
397
+
398
+ ### ownerOnPendingCapabilityRequest()
399
+
400
+ > **ownerOnPendingCapabilityRequest**(`callback`): () => `void`
293
401
 
294
402
  #### Parameters
295
403
 
@@ -303,31 +411,55 @@ This is the primary implementation of the Vault logic.
303
411
 
304
412
  ***
305
413
 
306
- ### registerAgentIdentity()
414
+ ### ownerOnPendingDispatch()
307
415
 
308
- > **registerAgentIdentity**(`command`): `Promise`\<`void`\>
416
+ > **ownerOnPendingDispatch**(`callback`): () => `void`
309
417
 
310
418
  #### Parameters
311
419
 
312
- ##### command
420
+ ##### callback
313
421
 
314
- `OwnerRegisterAgentIdentityCommand`
422
+ (`record`) => `void`
315
423
 
316
424
  #### Returns
317
425
 
318
- `Promise`\<`void`\>
426
+ () => `void`
427
+
428
+ ***
429
+
430
+ ### ownerReadAudit()
431
+
432
+ > **ownerReadAudit**(`actor`, `query`, `request?`): `Promise`\<readonly `AuditEntry`[]\>
433
+
434
+ #### Parameters
435
+
436
+ ##### actor
437
+
438
+ `VaultPrincipal` & `object`
439
+
440
+ ##### query
441
+
442
+ `AuditQuery`
443
+
444
+ ##### request?
445
+
446
+ `Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
447
+
448
+ #### Returns
449
+
450
+ `Promise`\<readonly `AuditEntry`[]\>
319
451
 
320
452
  ***
321
453
 
322
- ### registerCapability()
454
+ ### ownerRegisterAgentIdentity()
323
455
 
324
- > **registerCapability**(`command`): `Promise`\<`void`\>
456
+ > **ownerRegisterAgentIdentity**(`command`): `Promise`\<`void`\>
325
457
 
326
458
  #### Parameters
327
459
 
328
460
  ##### command
329
461
 
330
- `OwnerRegisterCapabilityCommand`
462
+ `OwnerRegisterAgentIdentityCommand`
331
463
 
332
464
  #### Returns
333
465
 
@@ -335,15 +467,15 @@ This is the primary implementation of the Vault logic.
335
467
 
336
468
  ***
337
469
 
338
- ### registerCustomFlow()
470
+ ### ownerRegisterCapability()
339
471
 
340
- > **registerCustomFlow**(`command`): `Promise`\<`void`\>
472
+ > **ownerRegisterCapability**(`command`): `Promise`\<`void`\>
341
473
 
342
474
  #### Parameters
343
475
 
344
476
  ##### command
345
477
 
346
- `OwnerRegisterCustomHttpFlowCommand`
478
+ `OwnerRegisterCapabilityCommand`
347
479
 
348
480
  #### Returns
349
481
 
@@ -351,15 +483,15 @@ This is the primary implementation of the Vault logic.
351
483
 
352
484
  ***
353
485
 
354
- ### rejectDispatch()
486
+ ### ownerRegisterCustomFlow()
355
487
 
356
- > **rejectDispatch**(`command`): `Promise`\<`void`\>
488
+ > **ownerRegisterCustomFlow**(`command`): `Promise`\<`void`\>
357
489
 
358
490
  #### Parameters
359
491
 
360
492
  ##### command
361
493
 
362
- `OwnerRejectDispatchCommand`
494
+ `OwnerRegisterCustomHttpFlowCommand`
363
495
 
364
496
  #### Returns
365
497
 
@@ -367,25 +499,31 @@ This is the primary implementation of the Vault logic.
367
499
 
368
500
  ***
369
501
 
370
- ### revokeAgentSessionToken()
502
+ ### ownerRejectCapabilityRequest()
371
503
 
372
- > **revokeAgentSessionToken**(`request`): `Promise`\<`void`\>
504
+ > **ownerRejectCapabilityRequest**(`command`): `Promise`\<`void`\>
373
505
 
374
506
  #### Parameters
375
507
 
376
- ##### request
508
+ ##### command
377
509
 
378
- ###### actor
510
+ `OwnerRejectCapabilityRequestCommand`
379
511
 
380
- `VaultPrincipal` & `object`
512
+ #### Returns
381
513
 
382
- ###### token
514
+ `Promise`\<`void`\>
383
515
 
384
- `string`
516
+ ***
385
517
 
386
- ###### vaultId
518
+ ### ownerRejectDispatch()
387
519
 
388
- `VaultId`
520
+ > **ownerRejectDispatch**(`command`): `Promise`\<`void`\>
521
+
522
+ #### Parameters
523
+
524
+ ##### command
525
+
526
+ `OwnerRejectDispatchCommand`
389
527
 
390
528
  #### Returns
391
529
 
@@ -393,9 +531,9 @@ This is the primary implementation of the Vault logic.
393
531
 
394
532
  ***
395
533
 
396
- ### revokeCapability()
534
+ ### ownerRevokeCapability()
397
535
 
398
- > **revokeCapability**(`command`): `Promise`\<`void`\>
536
+ > **ownerRevokeCapability**(`command`): `Promise`\<`void`\>
399
537
 
400
538
  #### Parameters
401
539
 
@@ -409,33 +547,51 @@ This is the primary implementation of the Vault logic.
409
547
 
410
548
  ***
411
549
 
412
- ### storeCustomFlowSecret()
550
+ ### ownerRevokeSessionToken()
413
551
 
414
- > **storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`SecretRecord`\>
552
+ > **ownerRevokeSessionToken**(`request`): `Promise`\<`void`\>
415
553
 
416
554
  #### Parameters
417
555
 
418
- ##### flow
556
+ ##### request
419
557
 
420
- `CustomHttpFlowDefinition`
558
+ ###### actor
421
559
 
422
- ##### alias
560
+ `VaultPrincipal` & `object`
561
+
562
+ ###### token
423
563
 
424
564
  `string`
425
565
 
426
- ##### plaintext
566
+ ###### vaultId
427
567
 
428
- `string`
568
+ `VaultId`
429
569
 
430
570
  #### Returns
431
571
 
432
- `Promise`\<`SecretRecord`\>
572
+ `Promise`\<`void`\>
573
+
574
+ ***
575
+
576
+ ### ownerSubmitCapabilityRequest()
577
+
578
+ > **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`PendingCapabilityRequestRecord`\>
579
+
580
+ #### Parameters
581
+
582
+ ##### command
583
+
584
+ `SubmitCapabilityRequestCommand`
585
+
586
+ #### Returns
587
+
588
+ `Promise`\<`PendingCapabilityRequestRecord`\>
433
589
 
434
590
  ***
435
591
 
436
- ### writeSecret()
592
+ ### ownerWriteSecret()
437
593
 
438
- > **writeSecret**(`command`): `Promise`\<`SecretRecord`\>
594
+ > **ownerWriteSecret**(`command`): `Promise`\<`SecretRecord`\>
439
595
 
440
596
  #### Parameters
441
597
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.48.6**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.49.0**](../README.md)
2
2
 
3
3
  ***
4
4