@the-ai-company/cbio-node-runtime 1.63.3 → 1.63.6
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 +48 -209
- package/dist/clients/agent/client.d.ts +18 -40
- package/dist/clients/agent/client.js +22 -109
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +1 -8
- package/dist/clients/agent/index.d.ts +1 -1
- package/dist/clients/owner/client.d.ts +2 -102
- package/dist/clients/owner/client.js +111 -266
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +37 -75
- package/dist/clients/owner/index.d.ts +2 -4
- package/dist/clients/owner/index.js +1 -2
- package/dist/clients/owner/index.js.map +1 -1
- package/dist/internal/id-factory.d.ts +0 -2
- package/dist/internal/id-factory.js +0 -6
- package/dist/internal/id-factory.js.map +1 -1
- package/dist/protocol/identity.d.ts +1 -1
- package/dist/protocol/identity.js +3 -3
- package/dist/protocol/identity.js.map +1 -1
- package/dist/public-types.d.ts +5 -14
- package/dist/public-types.js +1 -8
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +1 -3
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +2 -2
- package/dist/runtime/identity.js +3 -5
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +10 -12
- package/dist/runtime/index.js +7 -8
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +7 -6
- package/dist/runtime/owner-session.js +5 -6
- package/dist/runtime/owner-session.js.map +1 -1
- package/dist/storage/fs.d.ts +3 -2
- package/dist/storage/fs.js +8 -5
- package/dist/storage/fs.js.map +1 -1
- package/dist/storage/prefix.d.ts +1 -0
- package/dist/storage/prefix.js +7 -0
- package/dist/storage/prefix.js.map +1 -1
- package/dist/storage/provider.d.ts +2 -0
- package/dist/vault-core/contracts.d.ts +95 -210
- package/dist/vault-core/contracts.js +8 -11
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +119 -62
- package/dist/vault-core/core.js +518 -1180
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +22 -44
- package/dist/vault-core/defaults.js +65 -234
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/errors.d.ts +3 -2
- package/dist/vault-core/errors.js.map +1 -1
- package/dist/vault-core/index.d.ts +5 -5
- package/dist/vault-core/index.js +2 -2
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +72 -119
- package/dist/vault-core/persistence.js +310 -427
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +19 -30
- package/dist/vault-core/read-policy.d.ts +3 -2
- package/dist/vault-core/read-policy.js.map +1 -1
- package/dist/vault-core/tool-metadata.js +2 -2
- package/dist/vault-core/tool-metadata.js.map +1 -1
- package/dist/vault-ingress/defaults.d.ts +4 -2
- package/dist/vault-ingress/defaults.js +14 -8
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +39 -119
- package/dist/vault-ingress/index.js +98 -456
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +5 -3
- package/dist/vault-ingress/remote-transport.js +8 -28
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/ARCHITECTURE.md +39 -22
- package/docs/CUSTODY_MODEL.md +1 -1
- package/docs/IDENTITY_MODEL.md +5 -5
- package/docs/MIGRATION-1.51.md +19 -19
- package/docs/MIGRATION-1.65.md +87 -0
- package/docs/PROCESS_ISOLATION.md +2 -2
- package/docs/REFERENCE.md +42 -224
- package/docs/api/README.md +48 -30
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +89 -0
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +125 -0
- package/docs/api/classes/PersistentVaultAuditLog.md +65 -0
- package/docs/api/classes/PersistentVaultSecretCustody.md +93 -0
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +125 -0
- package/docs/api/classes/PersistentVaultSecretRepository.md +127 -0
- package/docs/api/classes/VaultCore.md +264 -237
- package/docs/api/classes/VaultCoreError.md +3 -3
- package/docs/api/enumerations/AuditAction.md +143 -0
- package/docs/api/enumerations/AuditOutcome.md +35 -0
- package/docs/api/enumerations/DispatchStatus.md +35 -0
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -15
- package/docs/api/functions/createIdentity.md +2 -2
- package/docs/api/functions/createOwnerClient.md +17 -0
- package/docs/api/functions/createOwnerSession.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +4 -4
- package/docs/api/functions/createVault.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 +5 -13
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.md +17 -0
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +2 -2
- package/docs/api/functions/handleVaultHttpDispatch.md +2 -2
- package/docs/api/functions/initializeVaultCustody.md +7 -3
- 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 +4 -8
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentClient.md +20 -59
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +12 -44
- package/docs/api/interfaces/AgentIdentity.md +3 -3
- package/docs/api/interfaces/AgentIdentityRecord.md +47 -0
- package/docs/api/interfaces/AgentRequestResult.md +35 -0
- package/docs/api/interfaces/AgentRuntimeManifest.md +55 -0
- package/docs/api/interfaces/AgentSecretGrant.md +41 -0
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +53 -0
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +65 -0
- package/docs/api/interfaces/AuditEntry.md +83 -0
- package/docs/api/interfaces/CbioRuntime.md +13 -154
- package/docs/api/interfaces/CreateAgentClientOptions.md +4 -10
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/{CreateVaultClientOptions.md → CreateOwnerClientOptions.md} +9 -11
- package/docs/api/interfaces/CreateOwnerSessionOptions.md +3 -121
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -131
- package/docs/api/interfaces/CreateVaultOptions.md +1 -125
- package/docs/api/interfaces/CreatedVault.md +2 -2
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -13
- package/docs/api/interfaces/DispatchAuthorization.md +43 -0
- package/docs/api/interfaces/DispatchInstruction.md +47 -0
- package/docs/api/interfaces/DispatchRequest.md +83 -0
- package/docs/api/interfaces/DispatchResult.md +53 -0
- package/docs/api/interfaces/IStorageProvider.md +13 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +31 -11
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -7
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +2 -2
- package/docs/api/interfaces/OwnerClient.md +401 -0
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +97 -0
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +3 -3
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +73 -0
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -125
- package/docs/api/interfaces/RecoveredVault.md +2 -2
- package/docs/api/interfaces/RequestRecord.md +107 -0
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +11 -0
- package/docs/api/interfaces/SecretDestinationGrant.md +41 -0
- package/docs/api/interfaces/SecretId.md +11 -0
- package/docs/api/interfaces/SecretRecord.md +89 -0
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +3 -9
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -5
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +17 -0
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +23 -0
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +23 -0
- package/docs/api/interfaces/VaultId.md +11 -0
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +5 -5
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListGrantsInput.md +23 -0
- package/docs/api/interfaces/VaultListRequestsInput.md +17 -0
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +2 -2
- package/docs/api/interfaces/VaultPrincipal.md +17 -0
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +7 -7
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +23 -0
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +23 -0
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +511 -0
- package/docs/api/interfaces/VaultUpdateAgentInput.md +7 -7
- package/docs/api/type-aliases/AgentId.md +7 -0
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +7 -0
- package/docs/api/type-aliases/GrantStatus.md +7 -0
- package/docs/api/type-aliases/SecretLifecycleStatus.md +7 -0
- package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +2 -2
- package/docs/es/README.md +3 -3
- package/docs/fr/README.md +3 -3
- package/docs/ja/README.md +5 -5
- package/docs/ko/README.md +5 -5
- package/docs/pt/README.md +3 -3
- package/docs/zh/PROCESS_ISOLATION.md +2 -2
- package/docs/zh/README.md +47 -63
- package/examples/process-isolation.ts +26 -35
- package/package.json +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +0 -17
- package/docs/api/functions/createStandardAcquireBoundary.md +0 -31
- package/docs/api/functions/createStandardDispatchBoundary.md +0 -23
- package/docs/api/functions/createVaultClient.md +0 -32
- package/docs/api/functions/deriveIdentityId.md +0 -17
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +0 -31
- package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +0 -41
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +0 -23
- package/docs/api/interfaces/VaultClient.md +0 -473
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +0 -79
- package/docs/api/interfaces/VaultGrantCapabilityRequest.md +0 -23
- package/docs/api/interfaces/VaultIdentity.md +0 -11
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +0 -17
- package/docs/api/interfaces/VaultRegisterFlowInput.md +0 -77
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +0 -23
- package/docs/api/interfaces/VaultSigner.md +0 -21
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +0 -73
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +0 -7
- package/docs/api/type-aliases/AgentVisibleSecretRecord.md +0 -7
- package/docs/api/type-aliases/CreateOwnerClientOptions.md +0 -7
- package/docs/api/type-aliases/OwnerAgentView.md +0 -7
- package/docs/api/type-aliases/OwnerClient.md +0 -13
- package/docs/api/type-aliases/OwnerGrantCapabilityInput.md +0 -7
- package/docs/api/type-aliases/OwnerPendingApprovalView.md +0 -7
- package/docs/api/type-aliases/OwnerRequestDetailView.md +0 -7
- package/docs/api/type-aliases/OwnerRequestSummaryView.md +0 -7
- package/docs/api/type-aliases/OwnerSecretView.md +0 -7
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Interface: AgentClient
|
|
6
6
|
|
|
7
7
|
A client for agents to perform authorized operations (e.g., dispatch HTTP requests with secrets).
|
|
8
|
-
This client uses a
|
|
8
|
+
This client uses a session token managed by the owner.
|
|
9
9
|
Agents can use secrets and request broader access, but they do not directly manage
|
|
10
|
-
the secret lifecycle inside the vault.
|
|
11
|
-
through owner actions or owner-configured vault flows that explicitly capture them.
|
|
10
|
+
the secret lifecycle inside the vault.
|
|
12
11
|
|
|
13
12
|
## Methods
|
|
14
13
|
|
|
15
14
|
### agentDispatch()
|
|
16
15
|
|
|
17
|
-
> **agentDispatch**(`intent`): `Promise
|
|
16
|
+
> **agentDispatch**(`intent`): `Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
18
17
|
|
|
19
18
|
Dispatches a session-token-authenticated request to a target using a vault secret.
|
|
19
|
+
If the grant is missing, it will return a PENDING status.
|
|
20
20
|
|
|
21
21
|
#### Parameters
|
|
22
22
|
|
|
@@ -24,30 +24,17 @@ Dispatches a session-token-authenticated request to a target using a vault secre
|
|
|
24
24
|
|
|
25
25
|
[`AgentDispatchIntent`](AgentDispatchIntent.md)
|
|
26
26
|
|
|
27
|
-
The destination, method, and secret alias to use.
|
|
28
|
-
|
|
29
27
|
#### Returns
|
|
30
28
|
|
|
31
|
-
`Promise
|
|
32
|
-
|
|
33
|
-
The result of the remote operation.
|
|
34
|
-
|
|
35
|
-
#### Example
|
|
36
|
-
|
|
37
|
-
```ts
|
|
38
|
-
const result = await agent.agentDispatch({
|
|
39
|
-
targetUrl: 'https://api.example.com/data',
|
|
40
|
-
method: 'POST',
|
|
41
|
-
secretAlias: 'api-token',
|
|
42
|
-
body: JSON.stringify({ key: 'value' })
|
|
43
|
-
});
|
|
44
|
-
```
|
|
29
|
+
`Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
45
30
|
|
|
46
31
|
***
|
|
47
32
|
|
|
48
33
|
### agentGetRequest()
|
|
49
34
|
|
|
50
|
-
> **agentGetRequest**(`requestId`): `Promise
|
|
35
|
+
> **agentGetRequest**(`requestId`): `Promise`\<[`AgentRequestResult`](AgentRequestResult.md)\>
|
|
36
|
+
|
|
37
|
+
Get details of a specific request.
|
|
51
38
|
|
|
52
39
|
#### Parameters
|
|
53
40
|
|
|
@@ -57,66 +44,40 @@ const result = await agent.agentDispatch({
|
|
|
57
44
|
|
|
58
45
|
#### Returns
|
|
59
46
|
|
|
60
|
-
`Promise
|
|
47
|
+
`Promise`\<[`AgentRequestResult`](AgentRequestResult.md)\>
|
|
61
48
|
|
|
62
49
|
***
|
|
63
50
|
|
|
64
51
|
### agentIntrospect()
|
|
65
52
|
|
|
66
|
-
> **agentIntrospect**(): `Promise
|
|
67
|
-
|
|
68
|
-
Introspects the current runtime environment, providing identity, capabilities, and a toolbox manifest.
|
|
69
|
-
Equivalent to '--help' or 'llms.txt' for the agent.
|
|
70
|
-
This is the primary place where an agent should learn its operational boundary:
|
|
71
|
-
it can use existing secrets and request more permission, but it cannot directly
|
|
72
|
-
create, update, or remove secrets in the vault.
|
|
73
|
-
|
|
74
|
-
#### Returns
|
|
75
|
-
|
|
76
|
-
`Promise`\<`AgentRuntimeManifest`\>
|
|
77
|
-
|
|
78
|
-
***
|
|
79
|
-
|
|
80
|
-
### agentListCapabilities()
|
|
53
|
+
> **agentIntrospect**(): `Promise`\<[`AgentRuntimeManifest`](AgentRuntimeManifest.md)\>
|
|
81
54
|
|
|
82
|
-
|
|
55
|
+
Introspects the current runtime environment, providing identity, grants, and a toolbox manifest.
|
|
83
56
|
|
|
84
57
|
#### Returns
|
|
85
58
|
|
|
86
|
-
`Promise`\<
|
|
59
|
+
`Promise`\<[`AgentRuntimeManifest`](AgentRuntimeManifest.md)\>
|
|
87
60
|
|
|
88
61
|
***
|
|
89
62
|
|
|
90
63
|
### agentListRequests()
|
|
91
64
|
|
|
92
|
-
> **agentListRequests**(): `Promise`\<readonly `AgentVisibleRequestRecord`[]\>
|
|
65
|
+
> **agentListRequests**(): `Promise`\<readonly [`AgentVisibleRequestRecord`](AgentVisibleRequestRecord.md)[]\>
|
|
93
66
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
`Promise`\<readonly `AgentVisibleRequestRecord`[]\>
|
|
97
|
-
|
|
98
|
-
***
|
|
99
|
-
|
|
100
|
-
### agentListSecrets()
|
|
101
|
-
|
|
102
|
-
> **agentListSecrets**(): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
67
|
+
List previous requests sent by this agent.
|
|
103
68
|
|
|
104
69
|
#### Returns
|
|
105
70
|
|
|
106
|
-
`Promise`\<readonly `
|
|
71
|
+
`Promise`\<readonly [`AgentVisibleRequestRecord`](AgentVisibleRequestRecord.md)[]\>
|
|
107
72
|
|
|
108
73
|
***
|
|
109
74
|
|
|
110
|
-
###
|
|
111
|
-
|
|
112
|
-
> **agentSubmitCapabilityRequest**(`input`): `Promise`\<`CapabilityStateRecord`\>
|
|
113
|
-
|
|
114
|
-
#### Parameters
|
|
75
|
+
### agentListSecrets()
|
|
115
76
|
|
|
116
|
-
|
|
77
|
+
> **agentListSecrets**(): `Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
117
78
|
|
|
118
|
-
|
|
79
|
+
List secrets the agent can see, including whether they are granted or not.
|
|
119
80
|
|
|
120
81
|
#### Returns
|
|
121
82
|
|
|
122
|
-
`Promise
|
|
83
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
|
|
9
9
|
### agentDispatch()
|
|
10
10
|
|
|
11
|
-
> **agentDispatch**(`request`): `Promise
|
|
11
|
+
> **agentDispatch**(`request`): `Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
12
12
|
|
|
13
13
|
#### Parameters
|
|
14
14
|
|
|
15
15
|
##### request
|
|
16
16
|
|
|
17
|
-
`DispatchRequest`
|
|
17
|
+
[`DispatchRequest`](DispatchRequest.md)
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
21
|
-
`Promise
|
|
21
|
+
`Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
25
25
|
### agentGetRequest()
|
|
26
26
|
|
|
27
|
-
> **agentGetRequest**(`request`): `Promise
|
|
27
|
+
> **agentGetRequest**(`request`): `Promise`\<[`AgentRequestResult`](AgentRequestResult.md)\>
|
|
28
28
|
|
|
29
29
|
#### Parameters
|
|
30
30
|
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
|
|
35
35
|
#### Returns
|
|
36
36
|
|
|
37
|
-
`Promise
|
|
37
|
+
`Promise`\<[`AgentRequestResult`](AgentRequestResult.md)\>
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
41
41
|
### agentGetRuntimeManifest()
|
|
42
42
|
|
|
43
|
-
> **agentGetRuntimeManifest**(`request`): `Promise
|
|
43
|
+
> **agentGetRuntimeManifest**(`request`): `Promise`\<[`AgentRuntimeManifest`](AgentRuntimeManifest.md)\>
|
|
44
44
|
|
|
45
45
|
#### Parameters
|
|
46
46
|
|
|
@@ -50,29 +50,13 @@
|
|
|
50
50
|
|
|
51
51
|
#### Returns
|
|
52
52
|
|
|
53
|
-
`Promise
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### agentListCapabilities()
|
|
58
|
-
|
|
59
|
-
> **agentListCapabilities**(`request`): `Promise`\<readonly `AgentCapabilityState`[]\>
|
|
60
|
-
|
|
61
|
-
#### Parameters
|
|
62
|
-
|
|
63
|
-
##### request
|
|
64
|
-
|
|
65
|
-
`AgentListCapabilitiesRequest`
|
|
66
|
-
|
|
67
|
-
#### Returns
|
|
68
|
-
|
|
69
|
-
`Promise`\<readonly `AgentCapabilityState`[]\>
|
|
53
|
+
`Promise`\<[`AgentRuntimeManifest`](AgentRuntimeManifest.md)\>
|
|
70
54
|
|
|
71
55
|
***
|
|
72
56
|
|
|
73
57
|
### agentListRequests()
|
|
74
58
|
|
|
75
|
-
> **agentListRequests**(`request`): `Promise`\<readonly `AgentVisibleRequestRecord`[]\>
|
|
59
|
+
> **agentListRequests**(`request`): `Promise`\<readonly [`AgentVisibleRequestRecord`](AgentVisibleRequestRecord.md)[]\>
|
|
76
60
|
|
|
77
61
|
#### Parameters
|
|
78
62
|
|
|
@@ -82,13 +66,13 @@
|
|
|
82
66
|
|
|
83
67
|
#### Returns
|
|
84
68
|
|
|
85
|
-
`Promise`\<readonly `AgentVisibleRequestRecord`[]\>
|
|
69
|
+
`Promise`\<readonly [`AgentVisibleRequestRecord`](AgentVisibleRequestRecord.md)[]\>
|
|
86
70
|
|
|
87
71
|
***
|
|
88
72
|
|
|
89
73
|
### agentListSecrets()
|
|
90
74
|
|
|
91
|
-
> **agentListSecrets**(`request`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
75
|
+
> **agentListSecrets**(`request`): `Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
92
76
|
|
|
93
77
|
#### Parameters
|
|
94
78
|
|
|
@@ -98,20 +82,4 @@
|
|
|
98
82
|
|
|
99
83
|
#### Returns
|
|
100
84
|
|
|
101
|
-
`Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
102
|
-
|
|
103
|
-
***
|
|
104
|
-
|
|
105
|
-
### agentSubmitCapabilityRequest()
|
|
106
|
-
|
|
107
|
-
> **agentSubmitCapabilityRequest**(`request`): `Promise`\<`CapabilityStateRecord`\>
|
|
108
|
-
|
|
109
|
-
#### Parameters
|
|
110
|
-
|
|
111
|
-
##### request
|
|
112
|
-
|
|
113
|
-
`AgentSubmitCapabilityRequestCommand`
|
|
114
|
-
|
|
115
|
-
#### Returns
|
|
116
|
-
|
|
117
|
-
`Promise`\<`CapabilityStateRecord`\>
|
|
85
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](AgentVisibleSecretRecord.md)[]\>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: AgentIdentityRecord
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### metadata?
|
|
10
|
+
|
|
11
|
+
> `optional` **metadata?**: `Record`\<`string`, `any`\>
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### nickname?
|
|
16
|
+
|
|
17
|
+
> `optional` **nickname?**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### privateKey?
|
|
22
|
+
|
|
23
|
+
> `optional` **privateKey?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### publicKey
|
|
28
|
+
|
|
29
|
+
> **publicKey**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### rootAgentId
|
|
34
|
+
|
|
35
|
+
> **rootAgentId**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### sessionTokens?
|
|
40
|
+
|
|
41
|
+
> `optional` **sessionTokens?**: readonly `StoredSessionToken`[]
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### vaultId
|
|
46
|
+
|
|
47
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: AgentRequestResult
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### error?
|
|
10
|
+
|
|
11
|
+
> `optional` **error?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### executionStatus
|
|
16
|
+
|
|
17
|
+
> **executionStatus**: [`DispatchStatus`](../enumerations/DispatchStatus.md)
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestId
|
|
22
|
+
|
|
23
|
+
> **requestId**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### responseBody?
|
|
28
|
+
|
|
29
|
+
> `optional` **responseBody?**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### responseStatus?
|
|
34
|
+
|
|
35
|
+
> `optional` **responseStatus?**: `number`
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: AgentRuntimeManifest
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agent
|
|
10
|
+
|
|
11
|
+
> **agent**: `AgentSelfContext`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### grants
|
|
16
|
+
|
|
17
|
+
> **grants**: `object`
|
|
18
|
+
|
|
19
|
+
#### agentSecrets
|
|
20
|
+
|
|
21
|
+
> **agentSecrets**: readonly [`AgentSecretGrant`](AgentSecretGrant.md)[]
|
|
22
|
+
|
|
23
|
+
#### secretDestinations
|
|
24
|
+
|
|
25
|
+
> **secretDestinations**: readonly [`SecretDestinationGrant`](SecretDestinationGrant.md)[]
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### issuedAt
|
|
30
|
+
|
|
31
|
+
> **issuedAt**: `string`
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### rootAgentId
|
|
36
|
+
|
|
37
|
+
> **rootAgentId**: `string`
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### tools
|
|
42
|
+
|
|
43
|
+
> **tools**: readonly `VaultToolDefinition`[]
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### vaultId
|
|
48
|
+
|
|
49
|
+
> **vaultId**: `string`
|
|
50
|
+
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### vaultNickname?
|
|
54
|
+
|
|
55
|
+
> `optional` **vaultNickname?**: `string`
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: AgentSecretGrant
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### grantedAt?
|
|
10
|
+
|
|
11
|
+
> `optional` **grantedAt?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### requestedAt
|
|
16
|
+
|
|
17
|
+
> **requestedAt**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### rootAgentId
|
|
22
|
+
|
|
23
|
+
> **rootAgentId**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### secretAlias
|
|
28
|
+
|
|
29
|
+
> **secretAlias**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### status
|
|
34
|
+
|
|
35
|
+
> **status**: [`GrantStatus`](../type-aliases/GrantStatus.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### vaultId
|
|
40
|
+
|
|
41
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: AgentVisibleRequestRecord
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### createdAt
|
|
10
|
+
|
|
11
|
+
> **createdAt**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### error?
|
|
16
|
+
|
|
17
|
+
> `optional` **error?**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### executionStatus
|
|
22
|
+
|
|
23
|
+
> **executionStatus**: [`DispatchStatus`](../enumerations/DispatchStatus.md)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### hasResponseBody
|
|
28
|
+
|
|
29
|
+
> **hasResponseBody**: `boolean`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### reason
|
|
34
|
+
|
|
35
|
+
> **reason**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### requestId
|
|
40
|
+
|
|
41
|
+
> **requestId**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### responseStatus?
|
|
46
|
+
|
|
47
|
+
> `optional` **responseStatus?**: `number`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### targetUrl
|
|
52
|
+
|
|
53
|
+
> **targetUrl**: `string`
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: AgentVisibleSecretRecord
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### alias
|
|
10
|
+
|
|
11
|
+
> **alias**: [`SecretAlias`](SecretAlias.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### createdAt
|
|
16
|
+
|
|
17
|
+
> **createdAt**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### granted
|
|
22
|
+
|
|
23
|
+
> **granted**: `boolean`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### issuerId
|
|
28
|
+
|
|
29
|
+
> **issuerId**: `string` \| `null`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### lifecycleStatus
|
|
34
|
+
|
|
35
|
+
> **lifecycleStatus**: [`SecretLifecycleStatus`](../type-aliases/SecretLifecycleStatus.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### secretId
|
|
40
|
+
|
|
41
|
+
> **secretId**: [`SecretId`](SecretId.md)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### source
|
|
46
|
+
|
|
47
|
+
> **source**: `SecretSource`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### updatedAt
|
|
52
|
+
|
|
53
|
+
> **updatedAt**: `string`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### vaultId
|
|
58
|
+
|
|
59
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### version
|
|
64
|
+
|
|
65
|
+
> **version**: `SecretVersion`
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.6**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: AuditEntry
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### action
|
|
10
|
+
|
|
11
|
+
> **action**: [`AuditAction`](../enumerations/AuditAction.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### actor
|
|
16
|
+
|
|
17
|
+
> **actor**: [`VaultPrincipal`](VaultPrincipal.md)
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### detail
|
|
22
|
+
|
|
23
|
+
> **detail**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### entryId
|
|
28
|
+
|
|
29
|
+
> **entryId**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### occurredAt
|
|
34
|
+
|
|
35
|
+
> **occurredAt**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### outcome
|
|
40
|
+
|
|
41
|
+
> **outcome**: [`AuditOutcome`](../enumerations/AuditOutcome.md)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### requestId?
|
|
46
|
+
|
|
47
|
+
> `optional` **requestId?**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### rootAgentId?
|
|
52
|
+
|
|
53
|
+
> `optional` **rootAgentId?**: `string`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### secretAlias?
|
|
58
|
+
|
|
59
|
+
> `optional` **secretAlias?**: `string`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### secretId?
|
|
64
|
+
|
|
65
|
+
> `optional` **secretId?**: `string`
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### siteId?
|
|
70
|
+
|
|
71
|
+
> `optional` **siteId?**: `string`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### targetUrl?
|
|
76
|
+
|
|
77
|
+
> `optional` **targetUrl?**: `string`
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### vaultId
|
|
82
|
+
|
|
83
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|