@the-ai-company/cbio-node-runtime 1.43.0 → 1.45.2

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 (206) hide show
  1. package/dist/clients/agent/client.d.ts +35 -0
  2. package/dist/clients/agent/client.js +15 -0
  3. package/dist/clients/agent/client.js.map +1 -1
  4. package/dist/clients/owner/client.d.ts +60 -0
  5. package/dist/clients/owner/client.js +14 -0
  6. package/dist/clients/owner/client.js.map +1 -1
  7. package/dist/clients/owner/index.d.ts +1 -1
  8. package/dist/runtime/bootstrap.d.ts +43 -7
  9. package/dist/runtime/bootstrap.js +12 -1
  10. package/dist/runtime/bootstrap.js.map +1 -1
  11. package/dist/runtime/identity.d.ts +47 -0
  12. package/dist/runtime/identity.js +25 -0
  13. package/dist/runtime/identity.js.map +1 -1
  14. package/dist/runtime/index.d.ts +5 -11
  15. package/dist/runtime/index.js.map +1 -1
  16. package/dist/runtime/private-vault.d.ts +1 -2
  17. package/docs/api/README.md +211 -0
  18. package/docs/api/classes/AgentDispatchHttpTransport.md +52 -0
  19. package/docs/api/classes/DefaultPolicyEngine.md +117 -0
  20. package/docs/api/classes/DefaultVaultCore.md +405 -0
  21. package/docs/api/classes/FsStorageProvider.md +192 -0
  22. package/docs/api/classes/HttpDispatchExecutor.md +63 -0
  23. package/docs/api/classes/IdentityError.md +62 -0
  24. package/docs/api/classes/InMemoryAgentIdentityRegistry.md +83 -0
  25. package/docs/api/classes/InMemoryAuditLog.md +59 -0
  26. package/docs/api/classes/InMemoryCapabilityRegistry.md +91 -0
  27. package/docs/api/classes/InMemoryCapabilityRevocationRegistry.md +75 -0
  28. package/docs/api/classes/InMemoryCustomHttpFlowRegistry.md +63 -0
  29. package/docs/api/classes/InMemoryOwnerIdentityRegistry.md +83 -0
  30. package/docs/api/classes/InMemoryRateLimitStore.md +51 -0
  31. package/docs/api/classes/InMemoryReplayGuard.md +45 -0
  32. package/docs/api/classes/InMemorySecretCustody.md +83 -0
  33. package/docs/api/classes/InMemorySecretRepository.md +99 -0
  34. package/docs/api/classes/LocalSigner.md +59 -0
  35. package/docs/api/classes/LocalVaultTransport.md +45 -0
  36. package/docs/api/classes/MemoryStorageProvider.md +160 -0
  37. package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +101 -0
  38. package/docs/api/classes/PersistentVaultAuditLog.md +73 -0
  39. package/docs/api/classes/PersistentVaultCapabilityRegistry.md +109 -0
  40. package/docs/api/classes/PersistentVaultCapabilityRevocationRegistry.md +93 -0
  41. package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +81 -0
  42. package/docs/api/classes/PersistentVaultOwnerIdentityRegistry.md +101 -0
  43. package/docs/api/classes/PersistentVaultRateLimitStore.md +69 -0
  44. package/docs/api/classes/PersistentVaultReplayGuard.md +61 -0
  45. package/docs/api/classes/PersistentVaultSecretCustody.md +97 -0
  46. package/docs/api/classes/PersistentVaultSecretRepository.md +117 -0
  47. package/docs/api/classes/RandomIdGenerator.md +65 -0
  48. package/docs/api/classes/SignatureAgentProofVerifier.md +49 -0
  49. package/docs/api/classes/SignatureOwnerProofVerifier.md +249 -0
  50. package/docs/api/classes/SystemClock.md +33 -0
  51. package/docs/api/classes/VaultCoreError.md +39 -0
  52. package/docs/api/enumerations/AuditAction.md +95 -0
  53. package/docs/api/enumerations/AuditOutcome.md +29 -0
  54. package/docs/api/enumerations/DispatchStatus.md +23 -0
  55. package/docs/api/enumerations/IdentityErrorCode.md +121 -0
  56. package/docs/api/functions/createAgentClient.md +33 -0
  57. package/docs/api/functions/createChildIdentity.md +25 -0
  58. package/docs/api/functions/createDefaultVaultCoreDependencies.md +77 -0
  59. package/docs/api/functions/createIdentity.md +30 -0
  60. package/docs/api/functions/createOwnerHttpFlowBoundary.md +17 -0
  61. package/docs/api/functions/createPersistentVaultCoreDependencies.md +85 -0
  62. package/docs/api/functions/createStandardAcquireBoundary.md +31 -0
  63. package/docs/api/functions/createStandardDispatchBoundary.md +23 -0
  64. package/docs/api/functions/createVault.md +58 -0
  65. package/docs/api/functions/createVaultClient.md +32 -0
  66. package/docs/api/functions/createVaultCore.md +17 -0
  67. package/docs/api/functions/createVaultService.md +31 -0
  68. package/docs/api/functions/createWorkspaceStorage.md +17 -0
  69. package/docs/api/functions/deriveChildIdentity.md +41 -0
  70. package/docs/api/functions/deriveIdentityId.md +17 -0
  71. package/docs/api/functions/ensureIdentityPrivateVault.md +21 -0
  72. package/docs/api/functions/getDefaultWorkspaceDir.md +11 -0
  73. package/docs/api/functions/handleVaultHttpDispatch.md +30 -0
  74. package/docs/api/functions/identityPrivateVaultChildrenKey.md +17 -0
  75. package/docs/api/functions/identityPrivateVaultPrefix.md +17 -0
  76. package/docs/api/functions/identityPrivateVaultProfileKey.md +17 -0
  77. package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +17 -0
  78. package/docs/api/functions/initializeVaultCustody.md +21 -0
  79. package/docs/api/functions/listIdentities.md +19 -0
  80. package/docs/api/functions/listVaults.md +23 -0
  81. package/docs/api/functions/readIdentityMetadata.md +29 -0
  82. package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +21 -0
  83. package/docs/api/functions/readIdentityPrivateVaultProfile.md +21 -0
  84. package/docs/api/functions/readVaultProfile.md +25 -0
  85. package/docs/api/functions/readVaultPublicMetadata.md +23 -0
  86. package/docs/api/functions/recoverVault.md +58 -0
  87. package/docs/api/functions/recoverVaultWorkingKey.md +25 -0
  88. package/docs/api/functions/restoreIdentity.md +35 -0
  89. package/docs/api/functions/toOwnerHttpFlowBoundary.md +17 -0
  90. package/docs/api/functions/updateVaultMetadata.md +33 -0
  91. package/docs/api/functions/wrapVaultCoreAsVaultService.md +31 -0
  92. package/docs/api/functions/writeVaultProfile.md +29 -0
  93. package/docs/api/interfaces/AgentCapability.md +103 -0
  94. package/docs/api/interfaces/AgentClient.md +41 -0
  95. package/docs/api/interfaces/AgentDispatchIntent.md +41 -0
  96. package/docs/api/interfaces/AgentDispatchTransport.md +21 -0
  97. package/docs/api/interfaces/AgentIdentity.md +11 -0
  98. package/docs/api/interfaces/AgentIdentityRecord.md +23 -0
  99. package/docs/api/interfaces/AgentIdentityRegistry.md +57 -0
  100. package/docs/api/interfaces/AgentProof.md +29 -0
  101. package/docs/api/interfaces/AgentProofVerifier.md +21 -0
  102. package/docs/api/interfaces/AgentSigner.md +21 -0
  103. package/docs/api/interfaces/AuditEntry.md +89 -0
  104. package/docs/api/interfaces/AuditLog.md +37 -0
  105. package/docs/api/interfaces/AuditQuery.md +29 -0
  106. package/docs/api/interfaces/CapabilityRegistry.md +65 -0
  107. package/docs/api/interfaces/CapabilityRevocationRegistry.md +53 -0
  108. package/docs/api/interfaces/CbioRuntime.md +886 -0
  109. package/docs/api/interfaces/ChildIdentity.md +77 -0
  110. package/docs/api/interfaces/Clock.md +15 -0
  111. package/docs/api/interfaces/CreateAgentClientOptions.md +41 -0
  112. package/docs/api/interfaces/CreateChildIdentityOptions.md +19 -0
  113. package/docs/api/interfaces/CreateDefaultVaultCoreDependenciesOptions.md +85 -0
  114. package/docs/api/interfaces/CreateIdentityOptions.md +15 -0
  115. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +115 -0
  116. package/docs/api/interfaces/CreateVaultClientOptions.md +29 -0
  117. package/docs/api/interfaces/CreateVaultOptions.md +177 -0
  118. package/docs/api/interfaces/CreatedVault.md +39 -0
  119. package/docs/api/interfaces/CustomHttpFlowDefinition.md +71 -0
  120. package/docs/api/interfaces/CustomHttpFlowRegistry.md +41 -0
  121. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +49 -0
  122. package/docs/api/interfaces/DeriveIdentityOptions.md +11 -0
  123. package/docs/api/interfaces/DispatchAuthorization.md +35 -0
  124. package/docs/api/interfaces/DispatchInstruction.md +47 -0
  125. package/docs/api/interfaces/DispatchRequest.md +77 -0
  126. package/docs/api/interfaces/DispatchResult.md +53 -0
  127. package/docs/api/interfaces/IStorageProvider.md +144 -0
  128. package/docs/api/interfaces/IdGenerator.md +39 -0
  129. package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +35 -0
  130. package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +17 -0
  131. package/docs/api/interfaces/IdentityPrivateVaultProfile.md +35 -0
  132. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +29 -0
  133. package/docs/api/interfaces/InitializedVaultCustody.md +23 -0
  134. package/docs/api/interfaces/IssuerWriteSecretCommand.md +59 -0
  135. package/docs/api/interfaces/OwnerAuditRequest.md +47 -0
  136. package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +53 -0
  137. package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +23 -0
  138. package/docs/api/interfaces/OwnerDeleteSecretCommand.md +47 -0
  139. package/docs/api/interfaces/OwnerExportSecretRequest.md +47 -0
  140. package/docs/api/interfaces/OwnerHttpFlowBoundary.md +51 -0
  141. package/docs/api/interfaces/OwnerIdentityRecord.md +23 -0
  142. package/docs/api/interfaces/OwnerIdentityRegistry.md +57 -0
  143. package/docs/api/interfaces/OwnerListAgentsRequest.md +41 -0
  144. package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +47 -0
  145. package/docs/api/interfaces/OwnerProof.md +29 -0
  146. package/docs/api/interfaces/OwnerProofVerifier.md +181 -0
  147. package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +47 -0
  148. package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +47 -0
  149. package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +83 -0
  150. package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +53 -0
  151. package/docs/api/interfaces/OwnerSecretExport.md +35 -0
  152. package/docs/api/interfaces/OwnerSecretTargetBinding.md +35 -0
  153. package/docs/api/interfaces/OwnerStoreSecretInput.md +23 -0
  154. package/docs/api/interfaces/OwnerWriteSecretCommand.md +65 -0
  155. package/docs/api/interfaces/OwnerWriteSecretInput.md +29 -0
  156. package/docs/api/interfaces/PolicyEngine.md +81 -0
  157. package/docs/api/interfaces/RateLimitStore.md +33 -0
  158. package/docs/api/interfaces/RecoverVaultOptions.md +165 -0
  159. package/docs/api/interfaces/RecoveredVault.md +49 -0
  160. package/docs/api/interfaces/ReplayGuard.md +21 -0
  161. package/docs/api/interfaces/RestoreIdentityOptions.md +11 -0
  162. package/docs/api/interfaces/SecretAlias.md +11 -0
  163. package/docs/api/interfaces/SecretCustody.md +57 -0
  164. package/docs/api/interfaces/SecretId.md +11 -0
  165. package/docs/api/interfaces/SecretRecord.md +53 -0
  166. package/docs/api/interfaces/SecretRepository.md +69 -0
  167. package/docs/api/interfaces/SecretVersion.md +11 -0
  168. package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +21 -0
  169. package/docs/api/interfaces/Signer.md +31 -0
  170. package/docs/api/interfaces/TrustedExecutor.md +31 -0
  171. package/docs/api/interfaces/VaultAcquireSecretInput.md +53 -0
  172. package/docs/api/interfaces/VaultAcquireSecretResult.md +41 -0
  173. package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +25 -0
  174. package/docs/api/interfaces/VaultAgentDispatchRequest.md +75 -0
  175. package/docs/api/interfaces/VaultAgentDispatchResponse.md +17 -0
  176. package/docs/api/interfaces/VaultAuditQueryInput.md +29 -0
  177. package/docs/api/interfaces/VaultClient.md +234 -0
  178. package/docs/api/interfaces/VaultCore.md +311 -0
  179. package/docs/api/interfaces/VaultCoreDependencies.md +95 -0
  180. package/docs/api/interfaces/VaultCustomFlowResolver.md +25 -0
  181. package/docs/api/interfaces/VaultDeleteSecretInput.md +17 -0
  182. package/docs/api/interfaces/VaultExportSecretInput.md +17 -0
  183. package/docs/api/interfaces/VaultGrantCapabilityInput.md +17 -0
  184. package/docs/api/interfaces/VaultId.md +11 -0
  185. package/docs/api/interfaces/VaultIdentity.md +11 -0
  186. package/docs/api/interfaces/VaultListAgentsInput.md +11 -0
  187. package/docs/api/interfaces/VaultListCapabilitiesInput.md +17 -0
  188. package/docs/api/interfaces/VaultObject.md +33 -0
  189. package/docs/api/interfaces/VaultPrincipal.md +17 -0
  190. package/docs/api/interfaces/VaultProfile.md +23 -0
  191. package/docs/api/interfaces/VaultPublicMetadata.md +25 -0
  192. package/docs/api/interfaces/VaultRegisterAgentInput.md +23 -0
  193. package/docs/api/interfaces/VaultRegisterFlowInput.md +83 -0
  194. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +23 -0
  195. package/docs/api/interfaces/VaultService.md +251 -0
  196. package/docs/api/interfaces/VaultSigner.md +21 -0
  197. package/docs/api/interfaces/VaultTargetBinding.md +35 -0
  198. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +7 -0
  199. package/docs/api/type-aliases/CbioRuntimeModule.md +9 -0
  200. package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +7 -0
  201. package/docs/api/type-aliases/RedactedResponseShape.md +7 -0
  202. package/docs/api/type-aliases/VaultAcquireSecretFlow.md +7 -0
  203. package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
  204. package/docs/api/type-aliases/VaultWriteSecretCommand.md +7 -0
  205. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +7 -0
  206. package/package.json +10 -2
@@ -0,0 +1,49 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Class: SignatureAgentProofVerifier
6
+
7
+ ## Implements
8
+
9
+ - [`AgentProofVerifier`](../interfaces/AgentProofVerifier.md)
10
+
11
+ ## Constructors
12
+
13
+ ### Constructor
14
+
15
+ > **new SignatureAgentProofVerifier**(`agentIdentities`, `options?`): `SignatureAgentProofVerifier`
16
+
17
+ #### Parameters
18
+
19
+ ##### agentIdentities
20
+
21
+ [`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md)
22
+
23
+ ##### options?
24
+
25
+ [`SignatureAgentProofVerifierOptions`](../interfaces/SignatureAgentProofVerifierOptions.md) = `{}`
26
+
27
+ #### Returns
28
+
29
+ `SignatureAgentProofVerifier`
30
+
31
+ ## Methods
32
+
33
+ ### verify()
34
+
35
+ > **verify**(`request`): `Promise`\<`void`\>
36
+
37
+ #### Parameters
38
+
39
+ ##### request
40
+
41
+ [`DispatchRequest`](../interfaces/DispatchRequest.md)
42
+
43
+ #### Returns
44
+
45
+ `Promise`\<`void`\>
46
+
47
+ #### Implementation of
48
+
49
+ [`AgentProofVerifier`](../interfaces/AgentProofVerifier.md).[`verify`](../interfaces/AgentProofVerifier.md#verify)
@@ -0,0 +1,249 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Class: SignatureOwnerProofVerifier
6
+
7
+ ## Implements
8
+
9
+ - [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md)
10
+
11
+ ## Constructors
12
+
13
+ ### Constructor
14
+
15
+ > **new SignatureOwnerProofVerifier**(`ownerIdentities`, `options?`): `SignatureOwnerProofVerifier`
16
+
17
+ #### Parameters
18
+
19
+ ##### ownerIdentities
20
+
21
+ [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md)
22
+
23
+ ##### options?
24
+
25
+ [`SignatureAgentProofVerifierOptions`](../interfaces/SignatureAgentProofVerifierOptions.md) = `{}`
26
+
27
+ #### Returns
28
+
29
+ `SignatureOwnerProofVerifier`
30
+
31
+ ## Methods
32
+
33
+ ### verifyAudit()
34
+
35
+ > **verifyAudit**(`request`): `Promise`\<`void`\>
36
+
37
+ #### Parameters
38
+
39
+ ##### request
40
+
41
+ [`OwnerAuditRequest`](../interfaces/OwnerAuditRequest.md)
42
+
43
+ #### Returns
44
+
45
+ `Promise`\<`void`\>
46
+
47
+ #### Implementation of
48
+
49
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyAudit`](../interfaces/OwnerProofVerifier.md#verifyaudit)
50
+
51
+ ***
52
+
53
+ ### verifyDefineSecretTargets()
54
+
55
+ > **verifyDefineSecretTargets**(`command`): `Promise`\<`void`\>
56
+
57
+ #### Parameters
58
+
59
+ ##### command
60
+
61
+ [`OwnerDefineSecretTargetsCommand`](../interfaces/OwnerDefineSecretTargetsCommand.md)
62
+
63
+ #### Returns
64
+
65
+ `Promise`\<`void`\>
66
+
67
+ #### Implementation of
68
+
69
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyDefineSecretTargets`](../interfaces/OwnerProofVerifier.md#verifydefinesecrettargets)
70
+
71
+ ***
72
+
73
+ ### verifyDeleteSecret()
74
+
75
+ > **verifyDeleteSecret**(`command`): `Promise`\<`void`\>
76
+
77
+ #### Parameters
78
+
79
+ ##### command
80
+
81
+ [`OwnerDeleteSecretCommand`](../interfaces/OwnerDeleteSecretCommand.md)
82
+
83
+ #### Returns
84
+
85
+ `Promise`\<`void`\>
86
+
87
+ #### Implementation of
88
+
89
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyDeleteSecret`](../interfaces/OwnerProofVerifier.md#verifydeletesecret)
90
+
91
+ ***
92
+
93
+ ### verifyExport()
94
+
95
+ > **verifyExport**(`request`): `Promise`\<`void`\>
96
+
97
+ #### Parameters
98
+
99
+ ##### request
100
+
101
+ [`OwnerExportSecretRequest`](../interfaces/OwnerExportSecretRequest.md)
102
+
103
+ #### Returns
104
+
105
+ `Promise`\<`void`\>
106
+
107
+ #### Implementation of
108
+
109
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyExport`](../interfaces/OwnerProofVerifier.md#verifyexport)
110
+
111
+ ***
112
+
113
+ ### verifyListAgents()
114
+
115
+ > **verifyListAgents**(`request`): `Promise`\<`void`\>
116
+
117
+ #### Parameters
118
+
119
+ ##### request
120
+
121
+ [`OwnerListAgentsRequest`](../interfaces/OwnerListAgentsRequest.md)
122
+
123
+ #### Returns
124
+
125
+ `Promise`\<`void`\>
126
+
127
+ #### Implementation of
128
+
129
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyListAgents`](../interfaces/OwnerProofVerifier.md#verifylistagents)
130
+
131
+ ***
132
+
133
+ ### verifyListCapabilities()
134
+
135
+ > **verifyListCapabilities**(`request`): `Promise`\<`void`\>
136
+
137
+ #### Parameters
138
+
139
+ ##### request
140
+
141
+ [`OwnerListCapabilitiesRequest`](../interfaces/OwnerListCapabilitiesRequest.md)
142
+
143
+ #### Returns
144
+
145
+ `Promise`\<`void`\>
146
+
147
+ #### Implementation of
148
+
149
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyListCapabilities`](../interfaces/OwnerProofVerifier.md#verifylistcapabilities)
150
+
151
+ ***
152
+
153
+ ### verifyRegisterAgentIdentity()
154
+
155
+ > **verifyRegisterAgentIdentity**(`command`): `Promise`\<`void`\>
156
+
157
+ #### Parameters
158
+
159
+ ##### command
160
+
161
+ [`OwnerRegisterAgentIdentityCommand`](../interfaces/OwnerRegisterAgentIdentityCommand.md)
162
+
163
+ #### Returns
164
+
165
+ `Promise`\<`void`\>
166
+
167
+ #### Implementation of
168
+
169
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyRegisterAgentIdentity`](../interfaces/OwnerProofVerifier.md#verifyregisteragentidentity)
170
+
171
+ ***
172
+
173
+ ### verifyRegisterCapability()
174
+
175
+ > **verifyRegisterCapability**(`command`): `Promise`\<`void`\>
176
+
177
+ #### Parameters
178
+
179
+ ##### command
180
+
181
+ [`OwnerRegisterCapabilityCommand`](../interfaces/OwnerRegisterCapabilityCommand.md)
182
+
183
+ #### Returns
184
+
185
+ `Promise`\<`void`\>
186
+
187
+ #### Implementation of
188
+
189
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyRegisterCapability`](../interfaces/OwnerProofVerifier.md#verifyregistercapability)
190
+
191
+ ***
192
+
193
+ ### verifyRegisterCustomFlow()
194
+
195
+ > **verifyRegisterCustomFlow**(`command`): `Promise`\<`void`\>
196
+
197
+ #### Parameters
198
+
199
+ ##### command
200
+
201
+ [`OwnerRegisterCustomHttpFlowCommand`](../interfaces/OwnerRegisterCustomHttpFlowCommand.md)
202
+
203
+ #### Returns
204
+
205
+ `Promise`\<`void`\>
206
+
207
+ #### Implementation of
208
+
209
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyRegisterCustomFlow`](../interfaces/OwnerProofVerifier.md#verifyregistercustomflow)
210
+
211
+ ***
212
+
213
+ ### verifyRevokeCapability()
214
+
215
+ > **verifyRevokeCapability**(`command`): `Promise`\<`void`\>
216
+
217
+ #### Parameters
218
+
219
+ ##### command
220
+
221
+ [`OwnerRevokeCapabilityCommand`](../interfaces/OwnerRevokeCapabilityCommand.md)
222
+
223
+ #### Returns
224
+
225
+ `Promise`\<`void`\>
226
+
227
+ #### Implementation of
228
+
229
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyRevokeCapability`](../interfaces/OwnerProofVerifier.md#verifyrevokecapability)
230
+
231
+ ***
232
+
233
+ ### verifyWrite()
234
+
235
+ > **verifyWrite**(`command`): `Promise`\<`void`\>
236
+
237
+ #### Parameters
238
+
239
+ ##### command
240
+
241
+ [`OwnerWriteSecretCommand`](../interfaces/OwnerWriteSecretCommand.md)
242
+
243
+ #### Returns
244
+
245
+ `Promise`\<`void`\>
246
+
247
+ #### Implementation of
248
+
249
+ [`OwnerProofVerifier`](../interfaces/OwnerProofVerifier.md).[`verifyWrite`](../interfaces/OwnerProofVerifier.md#verifywrite)
@@ -0,0 +1,33 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Class: SystemClock
6
+
7
+ ## Implements
8
+
9
+ - [`Clock`](../interfaces/Clock.md)
10
+
11
+ ## Constructors
12
+
13
+ ### Constructor
14
+
15
+ > **new SystemClock**(): `SystemClock`
16
+
17
+ #### Returns
18
+
19
+ `SystemClock`
20
+
21
+ ## Methods
22
+
23
+ ### nowIso()
24
+
25
+ > **nowIso**(): `string`
26
+
27
+ #### Returns
28
+
29
+ `string`
30
+
31
+ #### Implementation of
32
+
33
+ [`Clock`](../interfaces/Clock.md).[`nowIso`](../interfaces/Clock.md#nowiso)
@@ -0,0 +1,39 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Class: VaultCoreError
6
+
7
+ ## Extends
8
+
9
+ - `Error`
10
+
11
+ ## Constructors
12
+
13
+ ### Constructor
14
+
15
+ > **new VaultCoreError**(`message`, `code`): `VaultCoreError`
16
+
17
+ #### Parameters
18
+
19
+ ##### message
20
+
21
+ `string`
22
+
23
+ ##### code
24
+
25
+ `"VAULT_SECRET_NOT_FOUND"` \| `"VAULT_WRITE_DENIED"` \| `"VAULT_IDENTITY_DENIED"` \| `"VAULT_DISPATCH_DENIED"` \| `"VAULT_AUDIT_DENIED"` \| `"VAULT_AUDIT_FAILED"`
26
+
27
+ #### Returns
28
+
29
+ `VaultCoreError`
30
+
31
+ #### Overrides
32
+
33
+ `Error.constructor`
34
+
35
+ ## Properties
36
+
37
+ ### code
38
+
39
+ > `readonly` **code**: `"VAULT_SECRET_NOT_FOUND"` \| `"VAULT_WRITE_DENIED"` \| `"VAULT_IDENTITY_DENIED"` \| `"VAULT_DISPATCH_DENIED"` \| `"VAULT_AUDIT_DENIED"` \| `"VAULT_AUDIT_FAILED"`
@@ -0,0 +1,95 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Enumeration: AuditAction
6
+
7
+ ## Enumeration Members
8
+
9
+ ### AUTHORIZE\_DISPATCH
10
+
11
+ > **AUTHORIZE\_DISPATCH**: `"AUTHORIZE_DISPATCH"`
12
+
13
+ ***
14
+
15
+ ### BOOTSTRAP\_OWNER\_IDENTITY
16
+
17
+ > **BOOTSTRAP\_OWNER\_IDENTITY**: `"BOOTSTRAP_OWNER_IDENTITY"`
18
+
19
+ ***
20
+
21
+ ### DEFINE\_SECRET\_TARGETS
22
+
23
+ > **DEFINE\_SECRET\_TARGETS**: `"DEFINE_SECRET_TARGETS"`
24
+
25
+ ***
26
+
27
+ ### DELETE\_SECRET
28
+
29
+ > **DELETE\_SECRET**: `"DELETE_SECRET"`
30
+
31
+ ***
32
+
33
+ ### DISPATCH\_SECRET
34
+
35
+ > **DISPATCH\_SECRET**: `"DISPATCH_SECRET"`
36
+
37
+ ***
38
+
39
+ ### EXPORT\_SECRET
40
+
41
+ > **EXPORT\_SECRET**: `"EXPORT_SECRET"`
42
+
43
+ ***
44
+
45
+ ### LIST\_AGENTS
46
+
47
+ > **LIST\_AGENTS**: `"LIST_AGENTS"`
48
+
49
+ ***
50
+
51
+ ### LIST\_CAPABILITIES
52
+
53
+ > **LIST\_CAPABILITIES**: `"LIST_CAPABILITIES"`
54
+
55
+ ***
56
+
57
+ ### READ\_AUDIT
58
+
59
+ > **READ\_AUDIT**: `"READ_AUDIT"`
60
+
61
+ ***
62
+
63
+ ### REASSIGN\_ALIAS
64
+
65
+ > **REASSIGN\_ALIAS**: `"REASSIGN_ALIAS"`
66
+
67
+ ***
68
+
69
+ ### REGISTER\_AGENT\_IDENTITY
70
+
71
+ > **REGISTER\_AGENT\_IDENTITY**: `"REGISTER_AGENT_IDENTITY"`
72
+
73
+ ***
74
+
75
+ ### REGISTER\_CAPABILITY
76
+
77
+ > **REGISTER\_CAPABILITY**: `"REGISTER_CAPABILITY"`
78
+
79
+ ***
80
+
81
+ ### REGISTER\_CUSTOM\_FLOW
82
+
83
+ > **REGISTER\_CUSTOM\_FLOW**: `"REGISTER_CUSTOM_FLOW"`
84
+
85
+ ***
86
+
87
+ ### REVOKE\_CAPABILITY
88
+
89
+ > **REVOKE\_CAPABILITY**: `"REVOKE_CAPABILITY"`
90
+
91
+ ***
92
+
93
+ ### WRITE\_SECRET
94
+
95
+ > **WRITE\_SECRET**: `"WRITE_SECRET"`
@@ -0,0 +1,29 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Enumeration: AuditOutcome
6
+
7
+ ## Enumeration Members
8
+
9
+ ### ALLOWED
10
+
11
+ > **ALLOWED**: `"ALLOWED"`
12
+
13
+ ***
14
+
15
+ ### DENIED
16
+
17
+ > **DENIED**: `"DENIED"`
18
+
19
+ ***
20
+
21
+ ### FAILED
22
+
23
+ > **FAILED**: `"FAILED"`
24
+
25
+ ***
26
+
27
+ ### SUCCEEDED
28
+
29
+ > **SUCCEEDED**: `"SUCCEEDED"`
@@ -0,0 +1,23 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Enumeration: DispatchStatus
6
+
7
+ ## Enumeration Members
8
+
9
+ ### DENIED
10
+
11
+ > **DENIED**: `"DENIED"`
12
+
13
+ ***
14
+
15
+ ### FAILED
16
+
17
+ > **FAILED**: `"FAILED"`
18
+
19
+ ***
20
+
21
+ ### SUCCEEDED
22
+
23
+ > **SUCCEEDED**: `"SUCCEEDED"`
@@ -0,0 +1,121 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Enumeration: IdentityErrorCode
6
+
7
+ Structured error hierarchy for local vault and identity operations.
8
+
9
+ ## Enumeration Members
10
+
11
+ ### CHILD\_IDENTITY\_REQUIRES\_PRIVATE\_KEY
12
+
13
+ > **CHILD\_IDENTITY\_REQUIRES\_PRIVATE\_KEY**: `"CHILD_IDENTITY_REQUIRES_PRIVATE_KEY"`
14
+
15
+ ***
16
+
17
+ ### EXPORT\_REQUIRES\_LOCAL\_SIGNER
18
+
19
+ > **EXPORT\_REQUIRES\_LOCAL\_SIGNER**: `"EXPORT_REQUIRES_LOCAL_SIGNER"`
20
+
21
+ ***
22
+
23
+ ### INVALID\_KDK
24
+
25
+ > **INVALID\_KDK**: `"INVALID_KDK"`
26
+
27
+ ***
28
+
29
+ ### ISSUED\_IDENTITY\_INVALID
30
+
31
+ > **ISSUED\_IDENTITY\_INVALID**: `"ISSUED_IDENTITY_INVALID"`
32
+
33
+ ***
34
+
35
+ ### MERGE\_IDENTITY\_MISMATCH
36
+
37
+ > **MERGE\_IDENTITY\_MISMATCH**: `"MERGE_IDENTITY_MISMATCH"`
38
+
39
+ ***
40
+
41
+ ### PERMISSION\_DENIED
42
+
43
+ > **PERMISSION\_DENIED**: `"PERMISSION_DENIED"`
44
+
45
+ ***
46
+
47
+ ### SECRET\_ALREADY\_EXISTS
48
+
49
+ > **SECRET\_ALREADY\_EXISTS**: `"SECRET_ALREADY_EXISTS"`
50
+
51
+ ***
52
+
53
+ ### SECRET\_NOT\_FOUND
54
+
55
+ > **SECRET\_NOT\_FOUND**: `"SECRET_NOT_FOUND"`
56
+
57
+ ***
58
+
59
+ ### SECRET\_OPERATION\_RATE\_LIMITED
60
+
61
+ > **SECRET\_OPERATION\_RATE\_LIMITED**: `"SECRET_OPERATION_RATE_LIMITED"`
62
+
63
+ ***
64
+
65
+ ### SECRET\_POLICY\_REQUIRED
66
+
67
+ > **SECRET\_POLICY\_REQUIRED**: `"SECRET_POLICY_REQUIRED"`
68
+
69
+ ***
70
+
71
+ ### SECRET\_SOURCE\_ORIGIN\_MISMATCH
72
+
73
+ > **SECRET\_SOURCE\_ORIGIN\_MISMATCH**: `"SECRET_SOURCE_ORIGIN_MISMATCH"`
74
+
75
+ ***
76
+
77
+ ### SIGNER\_REQUIRES\_PRIVATE\_KEY
78
+
79
+ > **SIGNER\_REQUIRES\_PRIVATE\_KEY**: `"SIGNER_REQUIRES_PRIVATE_KEY"`
80
+
81
+ ***
82
+
83
+ ### SIGNER\_REQUIRES\_PUBLIC\_KEY
84
+
85
+ > **SIGNER\_REQUIRES\_PUBLIC\_KEY**: `"SIGNER_REQUIRES_PUBLIC_KEY"`
86
+
87
+ ***
88
+
89
+ ### UNSUPPORTED\_SIGNED\_BODY
90
+
91
+ > **UNSUPPORTED\_SIGNED\_BODY**: `"UNSUPPORTED_SIGNED_BODY"`
92
+
93
+ ***
94
+
95
+ ### VAULT\_CORRUPTED
96
+
97
+ > **VAULT\_CORRUPTED**: `"VAULT_CORRUPTED"`
98
+
99
+ ***
100
+
101
+ ### VAULT\_DECRYPT\_FAILED
102
+
103
+ > **VAULT\_DECRYPT\_FAILED**: `"VAULT_DECRYPT_FAILED"`
104
+
105
+ ***
106
+
107
+ ### VAULT\_FILE\_NOT\_FOUND
108
+
109
+ > **VAULT\_FILE\_NOT\_FOUND**: `"VAULT_FILE_NOT_FOUND"`
110
+
111
+ ***
112
+
113
+ ### VAULT\_PERSISTENCE\_FAILED
114
+
115
+ > **VAULT\_PERSISTENCE\_FAILED**: `"VAULT_PERSISTENCE_FAILED"`
116
+
117
+ ***
118
+
119
+ ### VAULT\_WRITE\_INTEGRITY\_FAILED
120
+
121
+ > **VAULT\_WRITE\_INTEGRITY\_FAILED**: `"VAULT_WRITE_INTEGRITY_FAILED"`
@@ -0,0 +1,33 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Function: createAgentClient()
6
+
7
+ > **createAgentClient**(`options`): [`AgentClient`](../interfaces/AgentClient.md)
8
+
9
+ Creates an [AgentClient](../interfaces/AgentClient.md) for a delegated identity.
10
+
11
+ ## Parameters
12
+
13
+ ### options
14
+
15
+ [`CreateAgentClientOptions`](../interfaces/CreateAgentClientOptions.md)
16
+
17
+ Configuration including agent identity, capability, and transport.
18
+
19
+ ## Returns
20
+
21
+ [`AgentClient`](../interfaces/AgentClient.md)
22
+
23
+ An initialized [AgentClient](../interfaces/AgentClient.md).
24
+
25
+ ## Example
26
+
27
+ ```ts
28
+ const agent = createAgentClient({
29
+ agentIdentity,
30
+ capability,
31
+ vault
32
+ });
33
+ ```
@@ -0,0 +1,25 @@
1
+ [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
+
3
+ ***
4
+
5
+ # Function: createChildIdentity()
6
+
7
+ > **createChildIdentity**(`storage`, `parentIdentity`, `options?`): `Promise`\<[`ChildIdentity`](../interfaces/ChildIdentity.md)\>
8
+
9
+ ## Parameters
10
+
11
+ ### storage
12
+
13
+ [`IStorageProvider`](../interfaces/IStorageProvider.md)
14
+
15
+ ### parentIdentity
16
+
17
+ `string` \| `CreatedIdentity`
18
+
19
+ ### options?
20
+
21
+ [`CreateChildIdentityOptions`](../interfaces/CreateChildIdentityOptions.md) = `{}`
22
+
23
+ ## Returns
24
+
25
+ `Promise`\<[`ChildIdentity`](../interfaces/ChildIdentity.md)\>