@the-ai-company/cbio-node-runtime 1.72.0 → 1.74.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 +20 -35
- package/dist/clients/agent/client.d.ts +7 -6
- package/dist/clients/agent/client.js +32 -16
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +9 -4
- package/dist/clients/agent/index.d.ts +1 -1
- package/dist/clients/owner/client.js +19 -19
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +2 -2
- package/dist/public-types.d.ts +3 -3
- package/dist/public-types.js +1 -1
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/bootstrap.js +30 -14
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/index.d.ts +3 -3
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/storage/prefix.d.ts +1 -1
- package/dist/storage/prefix.js +2 -2
- package/dist/storage/prefix.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +30 -142
- package/dist/vault-core/contracts.js +0 -20
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +17 -9
- package/dist/vault-core/core.js +85 -225
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +2 -4
- package/dist/vault-core/defaults.js +50 -47
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +2 -2
- package/dist/vault-core/index.js +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +2 -4
- package/dist/vault-core/persistence.js +82 -85
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +2 -4
- package/dist/vault-ingress/defaults.d.ts +3 -2
- package/dist/vault-ingress/defaults.js +6 -3
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +14 -5
- package/dist/vault-ingress/index.js +23 -29
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +3 -2
- package/dist/vault-ingress/remote-transport.js +19 -7
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/dist/vault-ingress/server-utils.d.ts +1 -2
- package/dist/vault-ingress/server-utils.js +1 -1
- package/dist/vault-ingress/server-utils.js.map +1 -1
- package/docs/ARCHITECTURE.md +16 -14
- package/docs/REFERENCE.md +20 -37
- package/docs/api/README.md +6 -9
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +3 -3
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +6 -6
- package/docs/api/classes/PersistentVaultAuditLog.md +2 -2
- package/docs/api/classes/PersistentVaultSecretCustody.md +4 -4
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +7 -7
- package/docs/api/classes/PersistentVaultSecretRepository.md +4 -6
- package/docs/api/classes/VaultCore.md +55 -21
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/DispatchStatus.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 -3
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerClient.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- 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 +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.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/handleVaultAuditSse.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/handleVaultPendingDispatchSse.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/openOwnerSession.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/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentAuditTestPingInput.md +17 -0
- package/docs/api/interfaces/AgentClient.md +23 -5
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +21 -5
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentIdentityRecord.md +2 -2
- package/docs/api/interfaces/AgentRequestRecord.md +93 -11
- package/docs/api/interfaces/AgentRuntimeManifest.md +1 -1
- package/docs/api/interfaces/AgentSecretGrant.md +3 -3
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +9 -59
- package/docs/api/interfaces/CbioRuntime.md +1 -3
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerClientOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.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/DispatchAuthorization.md +3 -3
- package/docs/api/interfaces/DispatchInstruction.md +3 -3
- package/docs/api/interfaces/DispatchRequest.md +4 -4
- package/docs/api/interfaces/DispatchResult.md +2 -2
- 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/OpenOwnerSessionOptions.md +1 -1
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerAuditSubscription.md +3 -3
- package/docs/api/interfaces/OwnerClient.md +5 -5
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerPendingDispatchSubscription.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +73 -11
- 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/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/PendingDispatchEvent.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RequestRecord.md +8 -7
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +3 -3
- package/docs/api/interfaces/SecretRecord.md +7 -7
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +1 -1
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.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/VaultListGrantsInput.md +1 -1
- package/docs/api/interfaces/VaultListRequestsInput.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/VaultPrincipal.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/VaultRevokeAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +28 -12
- package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
- package/docs/api/type-aliases/AgentId.md +1 -1
- package/docs/api/type-aliases/AgentRequestResult.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
- package/docs/api/type-aliases/GrantStatus.md +1 -1
- package/docs/api/type-aliases/SecretAlias.md +7 -0
- package/docs/api/type-aliases/SecretId.md +7 -0
- package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultId.md +7 -0
- package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/zh/README.md +33 -66
- package/package.json +1 -1
- package/docs/api/enumerations/AuditOperation.md +0 -107
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +0 -59
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +0 -65
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +0 -79
- package/docs/api/interfaces/SecretAlias.md +0 -11
- package/docs/api/interfaces/SecretId.md +0 -11
- package/docs/api/interfaces/VaultId.md +0 -11
package/docs/zh/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# cbio Vault Runtime
|
|
1
|
+
# cbio Vault Runtime(中文文档 v1.72.0)
|
|
2
2
|
|
|
3
3
|
cbio Vault Runtime 采用 **Vault(保险箱)** 架构:管理权限扎根于主密码,Agent 身份与机密材料由保险箱加密托管。
|
|
4
4
|
|
|
@@ -8,10 +8,10 @@ cbio Vault Runtime 采用 **Vault(保险箱)** 架构:管理权限扎根
|
|
|
8
8
|
|
|
9
9
|
- **库优先**:纯 JavaScript/TypeScript 库,无 CLI 或 TUI。
|
|
10
10
|
- **权限中心化**:管理权限绑定于保险箱主密码,而非外部身份密钥。
|
|
11
|
+
- **统一 ID 架构**:所有标识符(VaultId, SecretId, AgentId)均采用原生字符串管理。
|
|
11
12
|
- **Agent 身份托管**:支持在保险箱内直接生成并加密存储 Agent 私钥。
|
|
12
|
-
- **Agent Session Token**:为 Agent 发放可撤销的 session token
|
|
13
|
-
-
|
|
14
|
-
- **零泄露发现**:保险箱元数据全加密,未解锁前对外部完全透明。
|
|
13
|
+
- **Agent Session Token**:为 Agent 发放可撤销的 session token。
|
|
14
|
+
- **环境韧性**:原生支持在无法使用 SQLite 的环境下自动回退至内存模式。
|
|
15
15
|
|
|
16
16
|
## 安装
|
|
17
17
|
|
|
@@ -42,57 +42,29 @@ const myVault = await createVault(storage, {
|
|
|
42
42
|
import { recoverVault } from '@the-ai-company/cbio-node-runtime';
|
|
43
43
|
|
|
44
44
|
const vault = await recoverVault(storage, {
|
|
45
|
-
|
|
45
|
+
vault_id: myVault.vault_id,
|
|
46
46
|
password: 'your-secure-password'
|
|
47
47
|
});
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
### 3.
|
|
51
|
-
|
|
52
|
-
对于 GUI 这类长生命周期进程,应该持有 `OwnerSession`,而不是长期缓存裸 `OwnerClient`。
|
|
53
|
-
|
|
54
|
-
`createOwnerClient(...)` 只负责基于当前 runtime 创建 owner client;它不应该跨 HMR、模块重载或 runtime 替换被长期复用。`OwnerSession` 会提供稳定的 SDK 句柄,并暴露清晰的读取方法。
|
|
55
|
-
|
|
56
|
-
```ts
|
|
57
|
-
import { openOwnerSession } from '@the-ai-company/cbio-node-runtime';
|
|
58
|
-
|
|
59
|
-
const session = openOwnerSession(storage, {
|
|
60
|
-
vaultId: myVault.core.vaultId.value,
|
|
61
|
-
password: 'your-secure-password',
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
const createdAgent = await session.withOwnerClient((client) =>
|
|
65
|
-
client.ownerCreateAgent({ nickname: '后台处理插件' })
|
|
66
|
-
);
|
|
67
|
-
|
|
68
|
-
const ownerClient = await session.getOwnerClient();
|
|
69
|
-
const agents = await ownerClient.ownerListAgents();
|
|
70
|
-
// ownerListAgents() 会直接返回每个 agent 当前的 session_token
|
|
71
|
-
|
|
72
|
-
session.invalidate();
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
如果你写的是一次性脚本,`recoverVault(...)` 配合 `createOwnerClient(...)` 仍然是合适的。
|
|
76
|
-
|
|
77
|
-
### 4. 托管 Agent 身份
|
|
50
|
+
### 3. 托管 Agent 身份
|
|
78
51
|
|
|
79
52
|
```ts
|
|
80
53
|
import { createOwnerClient } from '@the-ai-company/cbio-node-runtime';
|
|
81
54
|
|
|
82
|
-
const client = createOwnerClient({
|
|
55
|
+
const client = await createOwnerClient({
|
|
83
56
|
vault: vault.vault,
|
|
84
|
-
|
|
57
|
+
password_verifier: (pwd) => pwd === 'your-secure-password',
|
|
85
58
|
});
|
|
86
59
|
|
|
87
|
-
const
|
|
60
|
+
const { agent, session_token } = await client.ownerCreateAgent({
|
|
88
61
|
nickname: '后台处理插件',
|
|
89
62
|
});
|
|
90
63
|
|
|
91
|
-
const
|
|
92
|
-
const sessionToken = createdAgent.sessionToken;
|
|
64
|
+
const root_agent_id = agent.root_agent_id;
|
|
93
65
|
```
|
|
94
66
|
|
|
95
|
-
###
|
|
67
|
+
### 4. 机密与授权管理(Grant Model)
|
|
96
68
|
|
|
97
69
|
v1.65+ 采用了简化的 **Grant(授权)** 模型,通过白名单控制访问:
|
|
98
70
|
|
|
@@ -103,52 +75,45 @@ const record = await client.ownerCreateSecret({
|
|
|
103
75
|
plaintext: 'secret-value'
|
|
104
76
|
});
|
|
105
77
|
|
|
106
|
-
// 1b. 批量创建(原子性:全部成功或全部失败)
|
|
107
|
-
await client.ownerCreateSecret([
|
|
108
|
-
{ alias: 'stripe-key', plaintext: 'sk_test_...' },
|
|
109
|
-
{ alias: 'openai-key', plaintext: 'sk-proj-...' }
|
|
110
|
-
]);
|
|
111
|
-
|
|
112
78
|
// 2. 授权 Agent 使用该机密
|
|
113
79
|
await client.ownerGrantAgentSecret({
|
|
114
|
-
|
|
115
|
-
|
|
80
|
+
root_agent_id,
|
|
81
|
+
secret_alias: 'api-token',
|
|
116
82
|
});
|
|
117
83
|
|
|
118
84
|
// 3. 授权该机密可发送至的目标域名
|
|
119
85
|
await client.ownerGrantSecretDestination({
|
|
120
|
-
|
|
121
|
-
|
|
86
|
+
secret_alias: 'api-token',
|
|
87
|
+
site_id: 'api.example.com',
|
|
122
88
|
});
|
|
123
89
|
```
|
|
124
90
|
|
|
125
|
-
###
|
|
91
|
+
### 5. Agent 消费机密与自省
|
|
126
92
|
|
|
127
93
|
Agent 使用 `AgentClient` 进行操作,支持 **零配置(Zero-Configuration)** 自省:
|
|
128
94
|
|
|
129
95
|
```ts
|
|
130
96
|
import { createAgentClient } from '@the-ai-company/cbio-node-runtime';
|
|
131
97
|
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
token:
|
|
98
|
+
const agentClient = createAgentClient({
|
|
99
|
+
agentRecord: agent,
|
|
100
|
+
token: session_token.token,
|
|
135
101
|
vault: vault.vault
|
|
136
102
|
});
|
|
137
103
|
|
|
138
104
|
// 执行机密驱动的请求
|
|
139
|
-
const result = await
|
|
140
|
-
|
|
105
|
+
const result = await agentClient.agentDispatch({
|
|
106
|
+
target_url: 'https://api.example.com/data',
|
|
141
107
|
method: 'POST',
|
|
142
108
|
reason: '同步业务数据'
|
|
143
109
|
});
|
|
144
110
|
|
|
145
111
|
// 自省:查看自己的身份、权限和可用工具
|
|
146
|
-
const manifest = await
|
|
147
|
-
console.log(manifest.
|
|
148
|
-
console.log(manifest.grants.agentSecrets); // 已获得的机密授权
|
|
112
|
+
const manifest = await agentClient.agentIntrospect();
|
|
113
|
+
console.log(manifest.nickname);
|
|
149
114
|
```
|
|
150
115
|
|
|
151
|
-
###
|
|
116
|
+
### 6. 人机协同(HITL)与事实审计
|
|
152
117
|
|
|
153
118
|
如果 Agent 尝试的请求未获授权,`agentDispatch` 会返回 `AWAITING_APPROVAL` 状态,进入人工审批流。
|
|
154
119
|
|
|
@@ -160,19 +125,21 @@ const unsubscribe = client.ownerOnPendingDispatch({
|
|
|
160
125
|
});
|
|
161
126
|
|
|
162
127
|
// 审批待处理的请求
|
|
163
|
-
const pending = await client.ownerListRequests(
|
|
164
|
-
|
|
128
|
+
const pending = await client.ownerListRequests();
|
|
129
|
+
const awaitingApproval = pending.filter(r => r.execution.status === "AWAITING_APPROVAL");
|
|
130
|
+
|
|
131
|
+
if (awaitingApproval.length > 0) {
|
|
165
132
|
await client.ownerApproveDispatch({
|
|
166
|
-
request_id:
|
|
133
|
+
request_id: awaitingApproval[0].request_id,
|
|
167
134
|
decision: "allow_and_grant", // 允许执行并自动补齐缺少的授权
|
|
168
135
|
});
|
|
169
136
|
}
|
|
170
137
|
|
|
171
138
|
unsubscribe();
|
|
172
139
|
|
|
173
|
-
//
|
|
140
|
+
// 查看基于事实的审计日志
|
|
174
141
|
const logs = await client.ownerReadAudit({
|
|
175
|
-
|
|
142
|
+
query: { root_agent_id }
|
|
176
143
|
});
|
|
177
144
|
```
|
|
178
145
|
|
|
@@ -188,5 +155,5 @@ const logs = await client.ownerReadAudit({
|
|
|
188
155
|
|
|
189
156
|
1. **机密隔离**:机密明文绝不离开安全进程。
|
|
190
157
|
2. **密码即权限**:主密码是唯一的管理授权来源。
|
|
191
|
-
3.
|
|
192
|
-
4.
|
|
158
|
+
3. **基于事实的审计**:记录具体的函数调用与参数(如 `ownerApproveDispatch`),而非模糊的分类。
|
|
159
|
+
4. **统一 ID 架构**:全系统采用 raw string ID,消除冗余包装。
|
package/package.json
CHANGED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.72.0**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Enumeration: AuditOperation
|
|
6
|
-
|
|
7
|
-
## Enumeration Members
|
|
8
|
-
|
|
9
|
-
### DISPATCH\_APPROVE
|
|
10
|
-
|
|
11
|
-
> **DISPATCH\_APPROVE**: `"dispatch.approve"`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### DISPATCH\_HOLD
|
|
16
|
-
|
|
17
|
-
> **DISPATCH\_HOLD**: `"dispatch.pending_approval"`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### DISPATCH\_REJECT
|
|
22
|
-
|
|
23
|
-
> **DISPATCH\_REJECT**: `"dispatch.reject"`
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### GRANT\_DESTINATION
|
|
28
|
-
|
|
29
|
-
> **GRANT\_DESTINATION**: `"grant.grant_destination"`
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### GRANT\_SECRET
|
|
34
|
-
|
|
35
|
-
> **GRANT\_SECRET**: `"grant.grant_secret"`
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
|
-
### IDENTITY\_ISSUE\_TOKEN
|
|
40
|
-
|
|
41
|
-
> **IDENTITY\_ISSUE\_TOKEN**: `"identity.issue_token"`
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### IDENTITY\_REGISTER
|
|
46
|
-
|
|
47
|
-
> **IDENTITY\_REGISTER**: `"identity.register"`
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### IDENTITY\_REVOKE\_TOKEN
|
|
52
|
-
|
|
53
|
-
> **IDENTITY\_REVOKE\_TOKEN**: `"identity.revoke_token"`
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### IDENTITY\_UPDATE
|
|
58
|
-
|
|
59
|
-
> **IDENTITY\_UPDATE**: `"identity.update"`
|
|
60
|
-
|
|
61
|
-
***
|
|
62
|
-
|
|
63
|
-
### POLICY\_EVALUATE
|
|
64
|
-
|
|
65
|
-
> **POLICY\_EVALUATE**: `"policy.evaluate_dispatch"`
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### REVOKE\_DESTINATION
|
|
70
|
-
|
|
71
|
-
> **REVOKE\_DESTINATION**: `"grant.revoke_destination"`
|
|
72
|
-
|
|
73
|
-
***
|
|
74
|
-
|
|
75
|
-
### REVOKE\_SECRET
|
|
76
|
-
|
|
77
|
-
> **REVOKE\_SECRET**: `"grant.revoke_secret"`
|
|
78
|
-
|
|
79
|
-
***
|
|
80
|
-
|
|
81
|
-
### SECRET\_BATCH\_EXPORT
|
|
82
|
-
|
|
83
|
-
> **SECRET\_BATCH\_EXPORT**: `"secret.batch_export"`
|
|
84
|
-
|
|
85
|
-
***
|
|
86
|
-
|
|
87
|
-
### SECRET\_DELETE
|
|
88
|
-
|
|
89
|
-
> **SECRET\_DELETE**: `"secret.delete"`
|
|
90
|
-
|
|
91
|
-
***
|
|
92
|
-
|
|
93
|
-
### SECRET\_DISPATCH
|
|
94
|
-
|
|
95
|
-
> **SECRET\_DISPATCH**: `"secret.dispatch"`
|
|
96
|
-
|
|
97
|
-
***
|
|
98
|
-
|
|
99
|
-
### SECRET\_EXPORT
|
|
100
|
-
|
|
101
|
-
> **SECRET\_EXPORT**: `"secret.export"`
|
|
102
|
-
|
|
103
|
-
***
|
|
104
|
-
|
|
105
|
-
### SECRET\_WRITE
|
|
106
|
-
|
|
107
|
-
> **SECRET\_WRITE**: `"secret.write"`
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.72.0**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AgentVisibleRequestRecord
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### created\_at
|
|
10
|
-
|
|
11
|
-
> **created\_at**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### error?
|
|
16
|
-
|
|
17
|
-
> `optional` **error?**: `string`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### execution\_status
|
|
22
|
-
|
|
23
|
-
> **execution\_status**: [`DispatchStatus`](../enumerations/DispatchStatus.md)
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### has\_response\_body
|
|
28
|
-
|
|
29
|
-
> **has\_response\_body**: `boolean`
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### reason
|
|
34
|
-
|
|
35
|
-
> **reason**: `string`
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
|
-
### request\_id
|
|
40
|
-
|
|
41
|
-
> **request\_id**: `string`
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### response\_status?
|
|
46
|
-
|
|
47
|
-
> `optional` **response\_status?**: `number`
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### secret\_id?
|
|
52
|
-
|
|
53
|
-
> `optional` **secret\_id?**: [`SecretId`](SecretId.md)
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### target\_url
|
|
58
|
-
|
|
59
|
-
> **target\_url**: `string`
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.72.0**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: AgentVisibleSecretRecord
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### alias
|
|
10
|
-
|
|
11
|
-
> **alias**: [`SecretAlias`](SecretAlias.md)
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### created\_at
|
|
16
|
-
|
|
17
|
-
> **created\_at**: `string`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### granted
|
|
22
|
-
|
|
23
|
-
> **granted**: `boolean`
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### issuer\_id
|
|
28
|
-
|
|
29
|
-
> **issuer\_id**: `string` \| `null`
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### lifecycle\_status
|
|
34
|
-
|
|
35
|
-
> **lifecycle\_status**: [`SecretLifecycleStatus`](../type-aliases/SecretLifecycleStatus.md)
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
|
-
### secret\_id
|
|
40
|
-
|
|
41
|
-
> **secret\_id**: [`SecretId`](SecretId.md)
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### source
|
|
46
|
-
|
|
47
|
-
> **source**: `SecretSource`
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### updated\_at
|
|
52
|
-
|
|
53
|
-
> **updated\_at**: `string`
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### vault\_id
|
|
58
|
-
|
|
59
|
-
> **vault\_id**: [`VaultId`](VaultId.md)
|
|
60
|
-
|
|
61
|
-
***
|
|
62
|
-
|
|
63
|
-
### version
|
|
64
|
-
|
|
65
|
-
> **version**: `SecretVersion`
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.72.0**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Interface: OwnerVisibleRequestRecord
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### created\_at
|
|
10
|
-
|
|
11
|
-
> **created\_at**: `string`
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### error?
|
|
16
|
-
|
|
17
|
-
> `optional` **error?**: `string`
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### execution\_status
|
|
22
|
-
|
|
23
|
-
> **execution\_status**: [`DispatchStatus`](../enumerations/DispatchStatus.md)
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### has\_response\_body
|
|
28
|
-
|
|
29
|
-
> **has\_response\_body**: `boolean`
|
|
30
|
-
|
|
31
|
-
***
|
|
32
|
-
|
|
33
|
-
### missing\_grants?
|
|
34
|
-
|
|
35
|
-
> `optional` **missing\_grants?**: `object`
|
|
36
|
-
|
|
37
|
-
#### agent\_secret?
|
|
38
|
-
|
|
39
|
-
> `optional` **agent\_secret?**: `boolean`
|
|
40
|
-
|
|
41
|
-
#### secret\_destination?
|
|
42
|
-
|
|
43
|
-
> `optional` **secret\_destination?**: `boolean`
|
|
44
|
-
|
|
45
|
-
***
|
|
46
|
-
|
|
47
|
-
### reason
|
|
48
|
-
|
|
49
|
-
> **reason**: `string`
|
|
50
|
-
|
|
51
|
-
***
|
|
52
|
-
|
|
53
|
-
### request\_id
|
|
54
|
-
|
|
55
|
-
> **request\_id**: `string`
|
|
56
|
-
|
|
57
|
-
***
|
|
58
|
-
|
|
59
|
-
### response\_status?
|
|
60
|
-
|
|
61
|
-
> `optional` **response\_status?**: `number`
|
|
62
|
-
|
|
63
|
-
***
|
|
64
|
-
|
|
65
|
-
### root\_agent\_id
|
|
66
|
-
|
|
67
|
-
> **root\_agent\_id**: `string`
|
|
68
|
-
|
|
69
|
-
***
|
|
70
|
-
|
|
71
|
-
### secret\_id?
|
|
72
|
-
|
|
73
|
-
> `optional` **secret\_id?**: [`SecretId`](SecretId.md)
|
|
74
|
-
|
|
75
|
-
***
|
|
76
|
-
|
|
77
|
-
### target\_url
|
|
78
|
-
|
|
79
|
-
> **target\_url**: `string`
|