@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.
- package/README.md +27 -28
- 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 -15
- package/dist/clients/owner/client.js +18 -51
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +11 -23
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +61 -57
- package/dist/vault-core/contracts.js +0 -1
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +15 -22
- package/dist/vault-core/core.js +222 -211
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +8 -22
- package/dist/vault-core/defaults.js +18 -97
- 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 +16 -8
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +8 -21
- package/dist/vault-ingress/defaults.d.ts +2 -2
- package/dist/vault-ingress/index.d.ts +14 -34
- package/dist/vault-ingress/index.js +20 -42
- 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 +1 -1
- package/docs/REFERENCE.md +26 -28
- package/docs/api/README.md +2 -4
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/VaultCore.md +29 -105
- 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 +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 +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 +1 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerSessionOptions.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/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +1 -1
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -7
- 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 +34 -88
- 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/VaultGrantCapabilityRequest.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/type-aliases/OwnerGrantCapabilityInput.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/zh/README.md +20 -14
- package/examples/process-isolation.ts +1 -1
- package/package.json +1 -1
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +0 -23
- 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
|
-
- `
|
|
83
|
-
- `
|
|
84
|
-
- `
|
|
85
|
-
- `
|
|
86
|
-
- `
|
|
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(...)`:
|
|
103
|
-
- `
|
|
104
|
-
- `
|
|
105
|
-
- `
|
|
106
|
-
- `
|
|
107
|
-
- `
|
|
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
|
|
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
|
-
##
|
|
167
|
+
## Capability State Approval
|
|
171
168
|
|
|
172
|
-
The runtime
|
|
169
|
+
The runtime uses one unified capability-state model:
|
|
173
170
|
|
|
174
|
-
- **Dispatch discovery**: A concrete dispatch misses existing capability coverage and
|
|
175
|
-
- **Capability request**: An external planner or controller
|
|
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
|
|
178
|
+
The state stays pending until the owner approves or rejects it:
|
|
182
179
|
- `ownerSubmitCapabilityRequest(...)` creates the request record.
|
|
183
|
-
- `
|
|
184
|
-
- `
|
|
185
|
-
- `
|
|
186
|
-
- `
|
|
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.
|
|
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
|
|
package/docs/api/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
**CBIO Node Runtime Agent API v1.
|
|
1
|
+
**CBIO Node Runtime Agent API v1.58.0**
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
-
# CBIO Node Runtime Agent API v1.
|
|
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.
|
|
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
|
-
`
|
|
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,35 +177,35 @@ 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
|
+
### ownerDeleteSecret()
|
|
185
185
|
|
|
186
|
-
> **
|
|
186
|
+
> **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
|
|
187
187
|
|
|
188
188
|
#### Parameters
|
|
189
189
|
|
|
190
190
|
##### command
|
|
191
191
|
|
|
192
|
-
`
|
|
192
|
+
`OwnerDeleteSecretCommand`
|
|
193
193
|
|
|
194
194
|
#### Returns
|
|
195
195
|
|
|
196
|
-
`Promise`\<`
|
|
196
|
+
`Promise`\<`void`\>
|
|
197
197
|
|
|
198
198
|
***
|
|
199
199
|
|
|
200
|
-
###
|
|
200
|
+
### ownerExecuteCapabilityStateAndGrant()
|
|
201
201
|
|
|
202
|
-
> **
|
|
202
|
+
> **ownerExecuteCapabilityStateAndGrant**(`command`): `Promise`\<`DispatchResult`\>
|
|
203
203
|
|
|
204
204
|
#### Parameters
|
|
205
205
|
|
|
206
206
|
##### command
|
|
207
207
|
|
|
208
|
-
`
|
|
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
|
-
###
|
|
216
|
+
### ownerExecuteCapabilityStateOnce()
|
|
217
217
|
|
|
218
|
-
> **
|
|
218
|
+
> **ownerExecuteCapabilityStateOnce**(`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`\<`
|
|
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
|
-
###
|
|
332
|
+
### ownerListCapabilityStates()
|
|
349
333
|
|
|
350
|
-
> **
|
|
334
|
+
> **ownerListCapabilityStates**(`command`): `Promise`\<readonly `CapabilityStateRecord`[]\>
|
|
351
335
|
|
|
352
336
|
#### Parameters
|
|
353
337
|
|
|
354
338
|
##### command
|
|
355
339
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
`VaultPrincipal`
|
|
359
|
-
|
|
360
|
-
###### vaultId
|
|
361
|
-
|
|
362
|
-
`VaultId`
|
|
340
|
+
`OwnerListCapabilityStatesRequest`
|
|
363
341
|
|
|
364
342
|
#### Returns
|
|
365
343
|
|
|
366
|
-
`Promise`\<readonly `
|
|
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
|
-
###
|
|
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
|
-
> **
|
|
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
|
-
###
|
|
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
|
-
> **
|
|
460
|
+
> **ownerRejectCapabilityState**(`command`): `Promise`\<`CapabilityStateRecord`\>
|
|
537
461
|
|
|
538
462
|
#### Parameters
|
|
539
463
|
|
|
540
464
|
##### command
|
|
541
465
|
|
|
542
|
-
`
|
|
466
|
+
`OwnerRejectCapabilityStateCommand`
|
|
543
467
|
|
|
544
468
|
#### Returns
|
|
545
469
|
|
|
546
|
-
`Promise`\<`
|
|
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`\<`
|
|
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`\<`
|
|
528
|
+
`Promise`\<`CapabilityStateRecord`\>
|
|
605
529
|
|
|
606
530
|
***
|
|
607
531
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
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 `
|
|
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`\>
|