@the-ai-company/cbio-node-runtime 1.56.0 → 1.58.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 (133) hide show
  1. package/README.md +27 -28
  2. package/dist/clients/agent/client.d.ts +2 -2
  3. package/dist/clients/agent/contracts.d.ts +3 -2
  4. package/dist/clients/owner/client.d.ts +8 -15
  5. package/dist/clients/owner/client.js +18 -51
  6. package/dist/clients/owner/client.js.map +1 -1
  7. package/dist/clients/owner/contracts.d.ts +11 -23
  8. package/dist/clients/owner/index.d.ts +1 -1
  9. package/dist/runtime/index.d.ts +1 -1
  10. package/dist/runtime/index.js.map +1 -1
  11. package/dist/vault-core/contracts.d.ts +61 -57
  12. package/dist/vault-core/contracts.js +0 -1
  13. package/dist/vault-core/contracts.js.map +1 -1
  14. package/dist/vault-core/core.d.ts +15 -22
  15. package/dist/vault-core/core.js +222 -211
  16. package/dist/vault-core/core.js.map +1 -1
  17. package/dist/vault-core/defaults.d.ts +8 -22
  18. package/dist/vault-core/defaults.js +18 -97
  19. package/dist/vault-core/defaults.js.map +1 -1
  20. package/dist/vault-core/index.d.ts +3 -3
  21. package/dist/vault-core/index.js +1 -1
  22. package/dist/vault-core/index.js.map +1 -1
  23. package/dist/vault-core/persistence.d.ts +8 -6
  24. package/dist/vault-core/persistence.js +16 -8
  25. package/dist/vault-core/persistence.js.map +1 -1
  26. package/dist/vault-core/ports.d.ts +8 -21
  27. package/dist/vault-ingress/defaults.d.ts +2 -2
  28. package/dist/vault-ingress/index.d.ts +14 -34
  29. package/dist/vault-ingress/index.js +20 -42
  30. package/dist/vault-ingress/index.js.map +1 -1
  31. package/dist/vault-ingress/remote-transport.d.ts +2 -2
  32. package/dist/vault-ingress/remote-transport.js.map +1 -1
  33. package/docs/MIGRATION-1.51.md +1 -1
  34. package/docs/REFERENCE.md +26 -28
  35. package/docs/api/README.md +2 -4
  36. package/docs/api/classes/IdentityError.md +1 -1
  37. package/docs/api/classes/OwnerClientError.md +1 -1
  38. package/docs/api/classes/VaultCore.md +29 -105
  39. package/docs/api/classes/VaultCoreError.md +1 -1
  40. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  41. package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
  42. package/docs/api/functions/createAgentClient.md +1 -1
  43. package/docs/api/functions/createIdentity.md +1 -1
  44. package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
  45. package/docs/api/functions/createOwnerSession.md +1 -1
  46. package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
  47. package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
  48. package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
  49. package/docs/api/functions/createVault.md +1 -1
  50. package/docs/api/functions/createVaultClient.md +1 -1
  51. package/docs/api/functions/createVaultCore.md +1 -1
  52. package/docs/api/functions/createVaultCoreDependencies.md +1 -1
  53. package/docs/api/functions/createVaultService.md +1 -1
  54. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  55. package/docs/api/functions/deriveIdentityId.md +1 -1
  56. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
  57. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  58. package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
  59. package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
  60. package/docs/api/functions/initializeVaultCustody.md +1 -1
  61. package/docs/api/functions/listVaults.md +1 -1
  62. package/docs/api/functions/readVaultProfile.md +1 -1
  63. package/docs/api/functions/recoverVault.md +1 -1
  64. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  65. package/docs/api/functions/restoreIdentity.md +1 -1
  66. package/docs/api/functions/updateVaultMetadata.md +1 -1
  67. package/docs/api/functions/wrapVaultCoreAsVaultService.md +1 -1
  68. package/docs/api/functions/writeVaultProfile.md +1 -1
  69. package/docs/api/interfaces/AgentClient.md +5 -5
  70. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  71. package/docs/api/interfaces/AgentDispatchTransport.md +5 -5
  72. package/docs/api/interfaces/AgentIdentity.md +1 -1
  73. package/docs/api/interfaces/AgentSigner.md +1 -1
  74. package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +1 -1
  75. package/docs/api/interfaces/CbioRuntime.md +1 -1
  76. package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
  77. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  78. package/docs/api/interfaces/CreateOwnerSessionOptions.md +1 -1
  79. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
  80. package/docs/api/interfaces/CreateVaultClientOptions.md +1 -1
  81. package/docs/api/interfaces/CreateVaultOptions.md +1 -1
  82. package/docs/api/interfaces/CreatedVault.md +1 -1
  83. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
  84. package/docs/api/interfaces/IStorageProvider.md +1 -1
  85. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  86. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  87. package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
  88. package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
  89. package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
  90. package/docs/api/interfaces/OwnerSession.md +1 -1
  91. package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
  92. package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -7
  93. package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
  94. package/docs/api/interfaces/RecoveredVault.md +1 -1
  95. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  96. package/docs/api/interfaces/Signer.md +1 -1
  97. package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +1 -1
  98. package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
  99. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  100. package/docs/api/interfaces/VaultClient.md +34 -88
  101. package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
  102. package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
  103. package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
  104. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  105. package/docs/api/interfaces/VaultGrantCapabilityInput.md +1 -1
  106. package/docs/api/interfaces/VaultGrantCapabilityRequest.md +1 -1
  107. package/docs/api/interfaces/VaultIdentity.md +1 -1
  108. package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
  109. package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
  110. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  111. package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
  112. package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
  113. package/docs/api/interfaces/VaultMetadata.md +1 -1
  114. package/docs/api/interfaces/VaultObject.md +1 -1
  115. package/docs/api/interfaces/VaultProfile.md +1 -1
  116. package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +1 -1
  117. package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
  118. package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
  119. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
  120. package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
  121. package/docs/api/interfaces/VaultSigner.md +1 -1
  122. package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +1 -1
  123. package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
  124. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
  125. package/docs/api/type-aliases/AgentVisibleSecretRecord.md +1 -1
  126. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  127. package/docs/api/type-aliases/OwnerGrantCapabilityInput.md +1 -1
  128. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  129. package/docs/zh/README.md +20 -14
  130. package/examples/process-isolation.ts +1 -1
  131. package/package.json +1 -1
  132. package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +0 -23
  133. package/docs/api/interfaces/OwnerSecretTargetBinding.md +0 -35
package/docs/REFERENCE.md CHANGED
@@ -79,14 +79,11 @@ The following owner-side methods are part of the supported public surface and ar
79
79
  - `ownerListSecrets(...)`
80
80
  - `ownerRegisterFlow(...)`
81
81
  - `ownerSubmitCapabilityRequest(...)`
82
- - `ownerListPendingCapabilityRequests()`
83
- - `ownerApproveCapabilityRequest(...)`
84
- - `ownerRejectCapabilityRequest(...)`
85
- - `ownerOnPendingCapabilityRequest(...)`
86
- - `ownerListPendingDispatches()`
87
- - `ownerApproveDispatch(...)`
88
- - `ownerRejectDispatch(...)`
89
- - `ownerOnPendingDispatch(...)`
82
+ - `ownerListCapabilityStates(...)`
83
+ - `ownerExecuteCapabilityStateOnce(...)`
84
+ - `ownerExecuteCapabilityStateAndGrant(...)`
85
+ - `ownerRejectCapabilityState(...)`
86
+ - `ownerOnCapabilityState(...)`
90
87
  - `ownerIssueSessionToken(...)`
91
88
  - `ownerIssueAllSessionTokens()`
92
89
  - `ownerRevokeSessionToken(...)`
@@ -99,15 +96,12 @@ The following owner-side methods are part of the supported public surface and ar
99
96
  - `ownerUpdateAgent(...)`: Update an agent's stored nickname and metadata.
100
97
  - `ownerListAgents()`: Enumerate authorized agents. Private keys are redacted from the default list response.
101
98
  - `ownerGrantCapability(...)`: Assign specific secret-use permissions to an agent. Capability IDs are generated internally.
102
- - `ownerSubmitCapabilityRequest(...)`: Submit a broader pending capability request for later owner review.
103
- - `ownerListPendingCapabilityRequests()`: List proactive capability requests that are waiting for approval.
104
- - `ownerApproveCapabilityRequest({ requestId })`: Turn a pending capability request into a real stored capability. Capability IDs are generated internally.
105
- - `ownerRejectCapabilityRequest(requestId)`: Deny a pending capability request.
106
- - `ownerOnPendingCapabilityRequest(callback)`: Register a real-time observer to receive proactive capability requests.
107
- - `ownerListPendingDispatches()`: List agent requests awaiting manual approval (HITL).
108
- - `ownerApproveDispatch({ requestId, permanent, skipAudit })`: Grant a stalled request manual authorization.
109
- - `ownerOnPendingDispatch(callback)`: Register a real-time observer to receive push notifications for discovery requests.
110
- - `ownerRejectDispatch(requestId)`: Deny a stalled request.
99
+ - `ownerSubmitCapabilityRequest(...)`: Create a `PENDING` capability state for later owner review.
100
+ - `ownerListCapabilityStates(...)`: Read the unified capability-state table, optionally filtered by `agentId` or status.
101
+ - `ownerExecuteCapabilityStateOnce({ requestId })`: Execute a concrete `PENDING` request once, then delete the state.
102
+ - `ownerExecuteCapabilityStateAndGrant({ requestId })`: Execute a `PENDING` request and convert it to `GRANTED`. Capability IDs are generated internally.
103
+ - `ownerRejectCapabilityState(requestId)`: Turn a `PENDING` state into `REJECTED`.
104
+ - `ownerOnCapabilityState(callback)`: Register a real-time observer for capability-state changes.
111
105
  - `ownerIssueSessionToken(input)`: Issue a session token for a specific agent.
112
106
  - `ownerIssueAllSessionTokens()`: Batch-issue session tokens for ALL registered agents (Automatic during `createVaultClient` warmup).
113
107
  - `ownerRevokeSessionToken({ token })`: Invalidate a specific session token.
@@ -161,31 +155,35 @@ The `AgentClient` is used by delegated processes (e.g., LLMs or background worke
161
155
  - `agentDispatch(...)`: Use a granted capability to send a secret to an authorized target.
162
156
  - **Status**: Returns `SUCCEEDED`, `FAILED`, or `PENDING`.
163
157
  - **Discovery Flow**: If an agent attempts an action not explicitly in its white-list, the request is automatically stalled as `PENDING` for owner review.
164
- - `agentListCapabilities()`: Read the current capability table granted to that agent.
158
+ - `agentListCapabilities()`: Read the agent's unified capability-state table.
159
+ - Includes both `GRANTED` and `PENDING` entries.
160
+ - Pending rows cover both proactive requests and dispatch-discovery requests.
165
161
  - `agentListSecrets()`: Read all secret metadata in the vault, with per-secret authorization markers showing which entries the agent can currently use.
162
+ - `agentIntrospect()`: Read the vault-known self context (`agentId`, `identityId`, `nickname`, `metadata`) plus the unified capability-state table and tool manifest.
166
163
  - `agentSubmitCapabilityRequest(...)`: Ask the owner for a broader `scope + methods` grant before dispatching.
167
164
  - **Security**: The agent never handles the vault's master password. Agent execution uses **Session Tokens** rather than raw private-key dispatch.
168
165
  - **Auditing**: Dispatches are audited by default. Set `skipAudit: true` in the capability (or during approval) to disable logging for specific actions.
169
166
 
170
- ## Proactive Capability Approval
167
+ ## Capability State Approval
171
168
 
172
- The runtime now supports a second approval path alongside dispatch discovery:
169
+ The runtime uses one unified capability-state model:
173
170
 
174
- - **Dispatch discovery**: A concrete dispatch misses existing capability coverage and becomes `PENDING`.
175
- - **Capability request**: An external planner or controller submits a broader capability proposal before any dispatch is attempted.
171
+ - **Dispatch discovery**: A concrete dispatch misses existing capability coverage and creates a `PENDING` state.
172
+ - **Capability request**: An external planner or controller creates a broader `PENDING` state before any dispatch is attempted.
176
173
 
177
174
  This is useful for LLM-driven planners that can infer the needed scope ahead of time, for example:
178
175
  - scope `https://api.example.com/users/*`
179
176
  - methods `["GET"]`
180
177
 
181
- The request stays pending until the owner approves or rejects it:
178
+ The state stays pending until the owner approves or rejects it:
182
179
  - `ownerSubmitCapabilityRequest(...)` creates the request record.
183
- - `ownerListPendingCapabilityRequests()` reads the current queue.
184
- - `ownerApproveCapabilityRequest(...)` persists a real capability.
185
- - `ownerRejectCapabilityRequest(...)` removes the request without granting access.
186
- - `ownerOnPendingCapabilityRequest(...)` supports push-style owner interfaces.
180
+ - `ownerListCapabilityStates({ status: "PENDING" })` reads the current queue.
181
+ - `ownerExecuteCapabilityStateOnce(...)` executes once and removes the pending state.
182
+ - `ownerExecuteCapabilityStateAndGrant(...)` executes and persists a real capability.
183
+ - `ownerRejectCapabilityState(...)` marks the state rejected.
184
+ - `ownerOnCapabilityState(...)` supports push-style owner interfaces.
187
185
 
188
- The proactive request flow does not replace dispatch discovery. It is an additional, explicit path for requesting broader access without generating one pending dispatch per resource ID.
186
+ The proactive request flow does not replace dispatch discovery. Both flows now produce the same `PENDING` capability-state object.
189
187
 
190
188
  ## Storage Layout
191
189
 
@@ -1,8 +1,8 @@
1
- **CBIO Node Runtime Agent API v1.56.0**
1
+ **CBIO Node Runtime Agent API v1.58.0**
2
2
 
3
3
  ***
4
4
 
5
- # CBIO Node Runtime Agent API v1.56.0
5
+ # CBIO Node Runtime Agent API v1.58.0
6
6
 
7
7
  ## Enumerations
8
8
 
@@ -37,8 +37,6 @@
37
37
  - [InitializeVaultCustodyOptions](interfaces/InitializeVaultCustodyOptions.md)
38
38
  - [IStorageProvider](interfaces/IStorageProvider.md)
39
39
  - [OwnerAgentProvisionResult](interfaces/OwnerAgentProvisionResult.md)
40
- - [OwnerDefineSecretTargetsInput](interfaces/OwnerDefineSecretTargetsInput.md)
41
- - [OwnerSecretTargetBinding](interfaces/OwnerSecretTargetBinding.md)
42
40
  - [OwnerSensitiveActionConfirmation](interfaces/OwnerSensitiveActionConfirmation.md)
43
41
  - [OwnerSensitiveActionContext](interfaces/OwnerSensitiveActionContext.md)
44
42
  - [OwnerSession](interfaces/OwnerSession.md)
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.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
- `AgentGetRuntimeManifestCommand`
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 `AgentCapability`[]\>
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 `AgentCapability`[]\>
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`\<`PendingCapabilityRequestRecord`\>
170
+ > **agentSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
171
171
 
172
172
  #### Parameters
173
173
 
@@ -177,35 +177,35 @@ This is the primary implementation of the Vault logic.
177
177
 
178
178
  #### Returns
179
179
 
180
- `Promise`\<`PendingCapabilityRequestRecord`\>
180
+ `Promise`\<`CapabilityStateRecord`\>
181
181
 
182
182
  ***
183
183
 
184
- ### ownerApproveCapabilityRequest()
184
+ ### ownerDeleteSecret()
185
185
 
186
- > **ownerApproveCapabilityRequest**(`command`): `Promise`\<`AgentCapability`\>
186
+ > **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
187
187
 
188
188
  #### Parameters
189
189
 
190
190
  ##### command
191
191
 
192
- `OwnerApproveCapabilityRequestCommand`
192
+ `OwnerDeleteSecretCommand`
193
193
 
194
194
  #### Returns
195
195
 
196
- `Promise`\<`AgentCapability`\>
196
+ `Promise`\<`void`\>
197
197
 
198
198
  ***
199
199
 
200
- ### ownerApproveDispatch()
200
+ ### ownerExecuteCapabilityStateAndGrant()
201
201
 
202
- > **ownerApproveDispatch**(`command`): `Promise`\<`DispatchResult`\>
202
+ > **ownerExecuteCapabilityStateAndGrant**(`command`): `Promise`\<`DispatchResult`\>
203
203
 
204
204
  #### Parameters
205
205
 
206
206
  ##### command
207
207
 
208
- `OwnerApproveDispatchCommand`
208
+ `OwnerExecuteCapabilityStateCommand`
209
209
 
210
210
  #### Returns
211
211
 
@@ -213,35 +213,19 @@ This is the primary implementation of the Vault logic.
213
213
 
214
214
  ***
215
215
 
216
- ### ownerDefineSecretTargets()
216
+ ### ownerExecuteCapabilityStateOnce()
217
217
 
218
- > **ownerDefineSecretTargets**(`command`): `Promise`\<`SecretRecord`\>
218
+ > **ownerExecuteCapabilityStateOnce**(`command`): `Promise`\<`DispatchResult`\>
219
219
 
220
220
  #### Parameters
221
221
 
222
222
  ##### command
223
223
 
224
- `OwnerDefineSecretTargetsCommand`
224
+ `OwnerExecuteCapabilityStateCommand`
225
225
 
226
226
  #### Returns
227
227
 
228
- `Promise`\<`SecretRecord`\>
229
-
230
- ***
231
-
232
- ### ownerDeleteSecret()
233
-
234
- > **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
235
-
236
- #### Parameters
237
-
238
- ##### command
239
-
240
- `OwnerDeleteSecretCommand`
241
-
242
- #### Returns
243
-
244
- `Promise`\<`void`\>
228
+ `Promise`\<`DispatchResult`\>
245
229
 
246
230
  ***
247
231
 
@@ -345,47 +329,19 @@ This is the primary implementation of the Vault logic.
345
329
 
346
330
  ***
347
331
 
348
- ### ownerListPendingCapabilityRequests()
332
+ ### ownerListCapabilityStates()
349
333
 
350
- > **ownerListPendingCapabilityRequests**(`command`): `Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
334
+ > **ownerListCapabilityStates**(`command`): `Promise`\<readonly `CapabilityStateRecord`[]\>
351
335
 
352
336
  #### Parameters
353
337
 
354
338
  ##### command
355
339
 
356
- ###### owner
357
-
358
- `VaultPrincipal`
359
-
360
- ###### vaultId
361
-
362
- `VaultId`
340
+ `OwnerListCapabilityStatesRequest`
363
341
 
364
342
  #### Returns
365
343
 
366
- `Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
367
-
368
- ***
369
-
370
- ### ownerListPendingDispatches()
371
-
372
- > **ownerListPendingDispatches**(`command`): `Promise`\<readonly `PendingDispatchRecord`[]\>
373
-
374
- #### Parameters
375
-
376
- ##### command
377
-
378
- ###### owner
379
-
380
- `VaultPrincipal`
381
-
382
- ###### vaultId
383
-
384
- `VaultId`
385
-
386
- #### Returns
387
-
388
- `Promise`\<readonly `PendingDispatchRecord`[]\>
344
+ `Promise`\<readonly `CapabilityStateRecord`[]\>
389
345
 
390
346
  ***
391
347
 
@@ -411,25 +367,9 @@ This is the primary implementation of the Vault logic.
411
367
 
412
368
  ***
413
369
 
414
- ### ownerOnPendingCapabilityRequest()
415
-
416
- > **ownerOnPendingCapabilityRequest**(`callback`): () => `void`
417
-
418
- #### Parameters
419
-
420
- ##### callback
421
-
422
- (`record`) => `void`
423
-
424
- #### Returns
425
-
426
- () => `void`
427
-
428
- ***
429
-
430
- ### ownerOnPendingDispatch()
370
+ ### ownerOnCapabilityState()
431
371
 
432
- > **ownerOnPendingDispatch**(`callback`): () => `void`
372
+ > **ownerOnCapabilityState**(`callback`): () => `void`
433
373
 
434
374
  #### Parameters
435
375
 
@@ -515,35 +455,19 @@ This is the primary implementation of the Vault logic.
515
455
 
516
456
  ***
517
457
 
518
- ### ownerRejectCapabilityRequest()
519
-
520
- > **ownerRejectCapabilityRequest**(`command`): `Promise`\<`void`\>
521
-
522
- #### Parameters
523
-
524
- ##### command
525
-
526
- `OwnerRejectCapabilityRequestCommand`
527
-
528
- #### Returns
529
-
530
- `Promise`\<`void`\>
531
-
532
- ***
533
-
534
- ### ownerRejectDispatch()
458
+ ### ownerRejectCapabilityState()
535
459
 
536
- > **ownerRejectDispatch**(`command`): `Promise`\<`void`\>
460
+ > **ownerRejectCapabilityState**(`command`): `Promise`\<`CapabilityStateRecord`\>
537
461
 
538
462
  #### Parameters
539
463
 
540
464
  ##### command
541
465
 
542
- `OwnerRejectDispatchCommand`
466
+ `OwnerRejectCapabilityStateCommand`
543
467
 
544
468
  #### Returns
545
469
 
546
- `Promise`\<`void`\>
470
+ `Promise`\<`CapabilityStateRecord`\>
547
471
 
548
472
  ***
549
473
 
@@ -591,7 +515,7 @@ This is the primary implementation of the Vault logic.
591
515
 
592
516
  ### ownerSubmitCapabilityRequest()
593
517
 
594
- > **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`PendingCapabilityRequestRecord`\>
518
+ > **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
595
519
 
596
520
  #### Parameters
597
521
 
@@ -601,7 +525,7 @@ This is the primary implementation of the Vault logic.
601
525
 
602
526
  #### Returns
603
527
 
604
- `Promise`\<`PendingCapabilityRequestRecord`\>
528
+ `Promise`\<`CapabilityStateRecord`\>
605
529
 
606
530
  ***
607
531
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.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 `AgentCapability`[]\>
60
+ > **agentListCapabilities**(): `Promise`\<readonly `AgentCapabilityState`[]\>
61
61
 
62
62
  #### Returns
63
63
 
64
- `Promise`\<readonly `AgentCapability`[]\>
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`\<`PendingCapabilityRequestRecord`\>
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`\<`PendingCapabilityRequestRecord`\>
90
+ `Promise`\<`CapabilityStateRecord`\>
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.56.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.58.0**](../README.md)
2
2
 
3
3
  ***
4
4