@the-ai-company/cbio-node-runtime 1.72.0 → 1.73.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 (179) hide show
  1. package/README.md +20 -35
  2. package/dist/clients/agent/client.d.ts +3 -6
  3. package/dist/clients/agent/client.js +15 -11
  4. package/dist/clients/agent/client.js.map +1 -1
  5. package/dist/clients/agent/contracts.d.ts +4 -4
  6. package/dist/clients/agent/index.d.ts +1 -1
  7. package/dist/clients/owner/client.js +8 -8
  8. package/dist/clients/owner/client.js.map +1 -1
  9. package/dist/clients/owner/contracts.d.ts +2 -2
  10. package/dist/public-types.d.ts +2 -2
  11. package/dist/public-types.js +1 -1
  12. package/dist/public-types.js.map +1 -1
  13. package/dist/runtime/bootstrap.js +22 -12
  14. package/dist/runtime/bootstrap.js.map +1 -1
  15. package/dist/runtime/index.d.ts +2 -2
  16. package/dist/runtime/index.js +1 -1
  17. package/dist/runtime/index.js.map +1 -1
  18. package/dist/storage/prefix.d.ts +1 -1
  19. package/dist/storage/prefix.js +2 -2
  20. package/dist/storage/prefix.js.map +1 -1
  21. package/dist/vault-core/contracts.d.ts +20 -142
  22. package/dist/vault-core/contracts.js +0 -20
  23. package/dist/vault-core/contracts.js.map +1 -1
  24. package/dist/vault-core/core.d.ts +8 -9
  25. package/dist/vault-core/core.js +69 -225
  26. package/dist/vault-core/core.js.map +1 -1
  27. package/dist/vault-core/defaults.d.ts +2 -4
  28. package/dist/vault-core/defaults.js +50 -47
  29. package/dist/vault-core/defaults.js.map +1 -1
  30. package/dist/vault-core/index.d.ts +2 -2
  31. package/dist/vault-core/index.js +1 -1
  32. package/dist/vault-core/index.js.map +1 -1
  33. package/dist/vault-core/persistence.d.ts +2 -4
  34. package/dist/vault-core/persistence.js +82 -55
  35. package/dist/vault-core/persistence.js.map +1 -1
  36. package/dist/vault-core/ports.d.ts +2 -4
  37. package/dist/vault-ingress/defaults.d.ts +2 -2
  38. package/dist/vault-ingress/defaults.js +3 -3
  39. package/dist/vault-ingress/defaults.js.map +1 -1
  40. package/dist/vault-ingress/index.d.ts +5 -5
  41. package/dist/vault-ingress/index.js +17 -29
  42. package/dist/vault-ingress/index.js.map +1 -1
  43. package/dist/vault-ingress/remote-transport.d.ts +2 -2
  44. package/dist/vault-ingress/remote-transport.js +7 -7
  45. package/dist/vault-ingress/remote-transport.js.map +1 -1
  46. package/dist/vault-ingress/server-utils.d.ts +1 -2
  47. package/dist/vault-ingress/server-utils.js +1 -1
  48. package/dist/vault-ingress/server-utils.js.map +1 -1
  49. package/docs/ARCHITECTURE.md +16 -14
  50. package/docs/REFERENCE.md +20 -37
  51. package/docs/api/README.md +5 -9
  52. package/docs/api/classes/IdentityError.md +1 -1
  53. package/docs/api/classes/OwnerClientError.md +1 -1
  54. package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +3 -3
  55. package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +6 -6
  56. package/docs/api/classes/PersistentVaultAuditLog.md +2 -2
  57. package/docs/api/classes/PersistentVaultSecretCustody.md +4 -4
  58. package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +7 -7
  59. package/docs/api/classes/PersistentVaultSecretRepository.md +4 -6
  60. package/docs/api/classes/VaultCore.md +21 -21
  61. package/docs/api/classes/VaultCoreError.md +1 -1
  62. package/docs/api/enumerations/DispatchStatus.md +1 -1
  63. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  64. package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
  65. package/docs/api/functions/createAgentClient.md +1 -3
  66. package/docs/api/functions/createIdentity.md +1 -1
  67. package/docs/api/functions/createOwnerClient.md +1 -1
  68. package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
  69. package/docs/api/functions/createVault.md +1 -1
  70. package/docs/api/functions/createVaultCore.md +1 -1
  71. package/docs/api/functions/createVaultCoreDependencies.md +1 -1
  72. package/docs/api/functions/createVaultService.md +1 -1
  73. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  74. package/docs/api/functions/deriveRootAgentId.md +1 -1
  75. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
  76. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  77. package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
  78. package/docs/api/functions/handleVaultAuditSse.md +1 -1
  79. package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
  80. package/docs/api/functions/handleVaultPendingDispatchSse.md +1 -1
  81. package/docs/api/functions/initializeVaultCustody.md +1 -1
  82. package/docs/api/functions/listVaults.md +1 -1
  83. package/docs/api/functions/openOwnerSession.md +1 -1
  84. package/docs/api/functions/readVaultProfile.md +1 -1
  85. package/docs/api/functions/recoverVault.md +1 -1
  86. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  87. package/docs/api/functions/restoreIdentity.md +1 -1
  88. package/docs/api/functions/updateVaultMetadata.md +1 -1
  89. package/docs/api/functions/writeVaultProfile.md +1 -1
  90. package/docs/api/interfaces/AgentClient.md +5 -5
  91. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  92. package/docs/api/interfaces/AgentDispatchTransport.md +5 -5
  93. package/docs/api/interfaces/AgentIdentity.md +1 -1
  94. package/docs/api/interfaces/AgentIdentityRecord.md +2 -2
  95. package/docs/api/interfaces/AgentRequestRecord.md +93 -11
  96. package/docs/api/interfaces/AgentRuntimeManifest.md +1 -1
  97. package/docs/api/interfaces/AgentSecretGrant.md +3 -3
  98. package/docs/api/interfaces/AgentSigner.md +1 -1
  99. package/docs/api/interfaces/AuditEntry.md +9 -59
  100. package/docs/api/interfaces/CbioRuntime.md +1 -3
  101. package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
  102. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  103. package/docs/api/interfaces/CreateOwnerClientOptions.md +1 -1
  104. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
  105. package/docs/api/interfaces/CreateVaultOptions.md +1 -1
  106. package/docs/api/interfaces/CreatedVault.md +1 -1
  107. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
  108. package/docs/api/interfaces/DispatchAuthorization.md +3 -3
  109. package/docs/api/interfaces/DispatchInstruction.md +3 -3
  110. package/docs/api/interfaces/DispatchRequest.md +4 -4
  111. package/docs/api/interfaces/DispatchResult.md +2 -2
  112. package/docs/api/interfaces/IStorageProvider.md +1 -1
  113. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  114. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  115. package/docs/api/interfaces/OpenOwnerSessionOptions.md +1 -1
  116. package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
  117. package/docs/api/interfaces/OwnerAuditSubscription.md +3 -3
  118. package/docs/api/interfaces/OwnerClient.md +5 -5
  119. package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
  120. package/docs/api/interfaces/OwnerPendingDispatchSubscription.md +1 -1
  121. package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
  122. package/docs/api/interfaces/OwnerRequestRecord.md +73 -11
  123. package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
  124. package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
  125. package/docs/api/interfaces/OwnerSession.md +1 -1
  126. package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
  127. package/docs/api/interfaces/PendingDispatchEvent.md +1 -1
  128. package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
  129. package/docs/api/interfaces/RecoveredVault.md +1 -1
  130. package/docs/api/interfaces/RequestRecord.md +8 -7
  131. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  132. package/docs/api/interfaces/SecretDestinationGrant.md +3 -3
  133. package/docs/api/interfaces/SecretRecord.md +7 -7
  134. package/docs/api/interfaces/Signer.md +1 -1
  135. package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
  136. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  137. package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
  138. package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
  139. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  140. package/docs/api/interfaces/VaultGetRequestInput.md +1 -1
  141. package/docs/api/interfaces/VaultGrantAgentSecretInput.md +1 -1
  142. package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +1 -1
  143. package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
  144. package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
  145. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  146. package/docs/api/interfaces/VaultListGrantsInput.md +1 -1
  147. package/docs/api/interfaces/VaultListRequestsInput.md +1 -1
  148. package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
  149. package/docs/api/interfaces/VaultMetadata.md +1 -1
  150. package/docs/api/interfaces/VaultObject.md +1 -1
  151. package/docs/api/interfaces/VaultPrincipal.md +1 -1
  152. package/docs/api/interfaces/VaultProfile.md +1 -1
  153. package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +1 -1
  154. package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
  155. package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +1 -1
  156. package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +1 -1
  157. package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
  158. package/docs/api/interfaces/VaultService.md +12 -12
  159. package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
  160. package/docs/api/type-aliases/AgentId.md +1 -1
  161. package/docs/api/type-aliases/AgentRequestResult.md +1 -1
  162. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  163. package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
  164. package/docs/api/type-aliases/GrantStatus.md +1 -1
  165. package/docs/api/type-aliases/SecretAlias.md +7 -0
  166. package/docs/api/type-aliases/SecretId.md +7 -0
  167. package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
  168. package/docs/api/type-aliases/VaultId.md +7 -0
  169. package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
  170. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  171. package/docs/zh/README.md +33 -66
  172. package/package.json +1 -1
  173. package/docs/api/enumerations/AuditOperation.md +0 -107
  174. package/docs/api/interfaces/AgentVisibleRequestRecord.md +0 -59
  175. package/docs/api/interfaces/AgentVisibleSecretRecord.md +0 -65
  176. package/docs/api/interfaces/OwnerVisibleRequestRecord.md +0 -79
  177. package/docs/api/interfaces/SecretAlias.md +0 -11
  178. package/docs/api/interfaces/SecretId.md +0 -11
  179. package/docs/api/interfaces/VaultId.md +0 -11
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.72.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.73.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.72.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.73.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
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,避免在消费进程中持有原始私钥。默认内存实现中,每个 Agent 任意时刻只保留一个当前 token
13
- - **进程隔离**:安全进程(Security Process)与 Agent 进程(Consumer Process)物理分离。
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
- vaultId: myVault.core.vaultId.value,
45
+ vault_id: myVault.vault_id,
46
46
  password: 'your-secure-password'
47
47
  });
48
48
  ```
49
49
 
50
- ### 3. GUI Owner Session
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
- passwordVerifier: vault.verifyPassword,
57
+ password_verifier: (pwd) => pwd === 'your-secure-password',
85
58
  });
86
59
 
87
- const createdAgent = await client.ownerCreateAgent({
60
+ const { agent, session_token } = await client.ownerCreateAgent({
88
61
  nickname: '后台处理插件',
89
62
  });
90
63
 
91
- const rootAgentId = createdAgent.agent.rootAgentId;
92
- const sessionToken = createdAgent.sessionToken;
64
+ const root_agent_id = agent.root_agent_id;
93
65
  ```
94
66
 
95
- ### 5. 机密与授权管理(Grant Model)
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
- rootAgentId,
115
- secretAlias: 'api-token',
80
+ root_agent_id,
81
+ secret_alias: 'api-token',
116
82
  });
117
83
 
118
84
  // 3. 授权该机密可发送至的目标域名
119
85
  await client.ownerGrantSecretDestination({
120
- secretAlias: 'api-token',
121
- siteId: 'api.example.com',
86
+ secret_alias: 'api-token',
87
+ site_id: 'api.example.com',
122
88
  });
123
89
  ```
124
90
 
125
- ### 6. Agent 消费机密与自省
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 agent = createAgentClient({
133
- rootAgentIdentity: { rootAgentId },
134
- token: sessionToken.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 agent.agentDispatch({
140
- targetUrl: 'https://api.example.com/data',
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 agent.agentGetRuntimeManifest();
147
- console.log(manifest.agent.nickname);
148
- console.log(manifest.grants.agentSecrets); // 已获得的机密授权
112
+ const manifest = await agentClient.agentIntrospect();
113
+ console.log(manifest.nickname);
149
114
  ```
150
115
 
151
- ### 7. 人机协同(HITL)与语义化审计
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({ root_agent_id: rootAgentId });
164
- if (pending.length > 0) {
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: pending[0].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
- action: 'APPROVE_DISPATCH' // 使用业务感知的语义化动作进行查询
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. **语义化审计**:所有操作均记录为具有业务含义的动作(如 `APPROVE_DISPATCH`),而非底层技术术语。
192
- 4. **二元状态**:保险箱要么被解锁并可见,要么只是磁盘上一组加密碎片。
158
+ 3. **基于事实的审计**:记录具体的函数调用与参数(如 `ownerApproveDispatch`),而非模糊的分类。
159
+ 4. **统一 ID 架构**:全系统采用 raw string ID,消除冗余包装。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-ai-company/cbio-node-runtime",
3
- "version": "1.72.0",
3
+ "version": "1.73.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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`
@@ -1,11 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.72.0**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretAlias
6
-
7
- ## Properties
8
-
9
- ### value
10
-
11
- > `readonly` **value**: `string`
@@ -1,11 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.72.0**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretId
6
-
7
- ## Properties
8
-
9
- ### value
10
-
11
- > `readonly` **value**: `string`
@@ -1,11 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.72.0**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: VaultId
6
-
7
- ## Properties
8
-
9
- ### value
10
-
11
- > `readonly` **value**: `string`