@the-ai-company/cbio-node-runtime 1.45.2 → 1.46.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 (242) hide show
  1. package/dist/clients/owner/client.d.ts +4 -10
  2. package/dist/clients/owner/client.js +39 -182
  3. package/dist/clients/owner/client.js.map +1 -1
  4. package/dist/protocol/crypto.d.ts +8 -0
  5. package/dist/protocol/crypto.js +14 -0
  6. package/dist/protocol/crypto.js.map +1 -1
  7. package/dist/runtime/bootstrap.d.ts +7 -20
  8. package/dist/runtime/bootstrap.js +15 -61
  9. package/dist/runtime/bootstrap.js.map +1 -1
  10. package/dist/runtime/identity.d.ts +1 -23
  11. package/dist/runtime/identity.js +2 -74
  12. package/dist/runtime/identity.js.map +1 -1
  13. package/dist/runtime/index.d.ts +8 -22
  14. package/dist/runtime/index.js +6 -10
  15. package/dist/runtime/index.js.map +1 -1
  16. package/dist/runtime/vault-metadata.d.ts +4 -16
  17. package/dist/runtime/vault-metadata.js +8 -43
  18. package/dist/runtime/vault-metadata.js.map +1 -1
  19. package/dist/storage/fs.d.ts +3 -0
  20. package/dist/storage/fs.js +3 -0
  21. package/dist/storage/fs.js.map +1 -1
  22. package/dist/storage/memory.d.ts +3 -0
  23. package/dist/storage/memory.js +3 -0
  24. package/dist/storage/memory.js.map +1 -1
  25. package/dist/vault-core/contracts.d.ts +0 -23
  26. package/dist/vault-core/contracts.js +0 -1
  27. package/dist/vault-core/contracts.js.map +1 -1
  28. package/dist/vault-core/core.d.ts +6 -3
  29. package/dist/vault-core/core.js +12 -75
  30. package/dist/vault-core/core.js.map +1 -1
  31. package/dist/vault-core/defaults.d.ts +43 -46
  32. package/dist/vault-core/defaults.js +41 -294
  33. package/dist/vault-core/defaults.js.map +1 -1
  34. package/dist/vault-core/index.d.ts +5 -5
  35. package/dist/vault-core/index.js +3 -3
  36. package/dist/vault-core/index.js.map +1 -1
  37. package/dist/vault-core/persistence.d.ts +32 -31
  38. package/dist/vault-core/persistence.js +35 -35
  39. package/dist/vault-core/persistence.js.map +1 -1
  40. package/dist/vault-core/ports.d.ts +2 -51
  41. package/dist/vault-ingress/defaults.d.ts +3 -0
  42. package/dist/vault-ingress/defaults.js +3 -0
  43. package/dist/vault-ingress/defaults.js.map +1 -1
  44. package/dist/vault-ingress/index.d.ts +1 -2
  45. package/dist/vault-ingress/index.js +0 -5
  46. package/dist/vault-ingress/index.js.map +1 -1
  47. package/dist/vault-ingress/remote-transport.d.ts +3 -0
  48. package/dist/vault-ingress/remote-transport.js +3 -0
  49. package/dist/vault-ingress/remote-transport.js.map +1 -1
  50. package/docs/api/README.md +6 -122
  51. package/docs/api/classes/IdentityError.md +1 -1
  52. package/docs/api/classes/VaultCore.md +320 -0
  53. package/docs/api/classes/VaultCoreError.md +1 -1
  54. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  55. package/docs/api/functions/createAgentClient.md +1 -1
  56. package/docs/api/functions/createIdentity.md +2 -2
  57. package/docs/api/functions/createOwnerHttpFlowBoundary.md +4 -4
  58. package/docs/api/functions/createPersistentVaultCoreDependencies.md +3 -67
  59. package/docs/api/functions/createStandardAcquireBoundary.md +3 -3
  60. package/docs/api/functions/createStandardDispatchBoundary.md +3 -3
  61. package/docs/api/functions/createVault.md +1 -1
  62. package/docs/api/functions/createVaultClient.md +2 -2
  63. package/docs/api/functions/createVaultCore.md +4 -4
  64. package/docs/api/functions/createVaultCoreDependencies.md +17 -0
  65. package/docs/api/functions/createVaultService.md +6 -6
  66. package/docs/api/functions/createWorkspaceStorage.md +3 -3
  67. package/docs/api/functions/deriveIdentityId.md +1 -1
  68. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +24 -0
  69. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  70. package/docs/api/functions/handleVaultHttpDispatch.md +4 -4
  71. package/docs/api/functions/initializeVaultCustody.md +1 -1
  72. package/docs/api/functions/listVaults.md +3 -3
  73. package/docs/api/functions/readVaultProfile.md +3 -3
  74. package/docs/api/functions/recoverVault.md +1 -1
  75. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  76. package/docs/api/functions/restoreIdentity.md +1 -1
  77. package/docs/api/functions/updateVaultMetadata.md +7 -7
  78. package/docs/api/functions/wrapVaultCoreAsVaultService.md +6 -6
  79. package/docs/api/functions/writeVaultProfile.md +3 -3
  80. package/docs/api/interfaces/AgentClient.md +3 -3
  81. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  82. package/docs/api/interfaces/AgentDispatchTransport.md +4 -4
  83. package/docs/api/interfaces/AgentIdentity.md +1 -1
  84. package/docs/api/interfaces/AgentSigner.md +1 -1
  85. package/docs/api/interfaces/CbioRuntime.md +55 -396
  86. package/docs/api/interfaces/CreateAgentClientOptions.md +4 -4
  87. package/docs/api/interfaces/CreateIdentityOptions.md +1 -5
  88. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +9 -9
  89. package/docs/api/interfaces/CreateVaultClientOptions.md +5 -5
  90. package/docs/api/interfaces/CreateVaultOptions.md +16 -16
  91. package/docs/api/interfaces/CreatedVault.md +3 -3
  92. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +3 -3
  93. package/docs/api/interfaces/IStorageProvider.md +1 -1
  94. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  95. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  96. package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
  97. package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
  98. package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
  99. package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
  100. package/docs/api/interfaces/RecoverVaultOptions.md +10 -10
  101. package/docs/api/interfaces/RecoveredVault.md +3 -3
  102. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  103. package/docs/api/interfaces/Signer.md +1 -1
  104. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  105. package/docs/api/interfaces/VaultClient.md +17 -27
  106. package/docs/api/interfaces/{CreateDefaultVaultCoreDependenciesOptions.md → VaultCoreDependenciesOptions.md} +3 -3
  107. package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
  108. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  109. package/docs/api/interfaces/VaultGrantCapabilityInput.md +2 -2
  110. package/docs/api/interfaces/VaultIdentity.md +1 -1
  111. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  112. package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
  113. package/docs/api/interfaces/VaultObject.md +3 -3
  114. package/docs/api/interfaces/VaultProfile.md +7 -11
  115. package/docs/api/interfaces/VaultPublicMetadata.md +1 -1
  116. package/docs/api/interfaces/VaultRegisterAgentInput.md +1 -1
  117. package/docs/api/interfaces/VaultRegisterFlowInput.md +7 -7
  118. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
  119. package/docs/api/interfaces/VaultSigner.md +1 -1
  120. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +2 -2
  121. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  122. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  123. package/package.json +1 -1
  124. package/docs/api/classes/AgentDispatchHttpTransport.md +0 -52
  125. package/docs/api/classes/DefaultPolicyEngine.md +0 -117
  126. package/docs/api/classes/DefaultVaultCore.md +0 -405
  127. package/docs/api/classes/FsStorageProvider.md +0 -192
  128. package/docs/api/classes/HttpDispatchExecutor.md +0 -63
  129. package/docs/api/classes/InMemoryAgentIdentityRegistry.md +0 -83
  130. package/docs/api/classes/InMemoryAuditLog.md +0 -59
  131. package/docs/api/classes/InMemoryCapabilityRegistry.md +0 -91
  132. package/docs/api/classes/InMemoryCapabilityRevocationRegistry.md +0 -75
  133. package/docs/api/classes/InMemoryCustomHttpFlowRegistry.md +0 -63
  134. package/docs/api/classes/InMemoryOwnerIdentityRegistry.md +0 -83
  135. package/docs/api/classes/InMemoryRateLimitStore.md +0 -51
  136. package/docs/api/classes/InMemoryReplayGuard.md +0 -45
  137. package/docs/api/classes/InMemorySecretCustody.md +0 -83
  138. package/docs/api/classes/InMemorySecretRepository.md +0 -99
  139. package/docs/api/classes/LocalSigner.md +0 -59
  140. package/docs/api/classes/LocalVaultTransport.md +0 -45
  141. package/docs/api/classes/MemoryStorageProvider.md +0 -160
  142. package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +0 -101
  143. package/docs/api/classes/PersistentVaultAuditLog.md +0 -73
  144. package/docs/api/classes/PersistentVaultCapabilityRegistry.md +0 -109
  145. package/docs/api/classes/PersistentVaultCapabilityRevocationRegistry.md +0 -93
  146. package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +0 -81
  147. package/docs/api/classes/PersistentVaultOwnerIdentityRegistry.md +0 -101
  148. package/docs/api/classes/PersistentVaultRateLimitStore.md +0 -69
  149. package/docs/api/classes/PersistentVaultReplayGuard.md +0 -61
  150. package/docs/api/classes/PersistentVaultSecretCustody.md +0 -97
  151. package/docs/api/classes/PersistentVaultSecretRepository.md +0 -117
  152. package/docs/api/classes/RandomIdGenerator.md +0 -65
  153. package/docs/api/classes/SignatureAgentProofVerifier.md +0 -49
  154. package/docs/api/classes/SignatureOwnerProofVerifier.md +0 -249
  155. package/docs/api/classes/SystemClock.md +0 -33
  156. package/docs/api/enumerations/AuditAction.md +0 -95
  157. package/docs/api/enumerations/AuditOutcome.md +0 -29
  158. package/docs/api/enumerations/DispatchStatus.md +0 -23
  159. package/docs/api/functions/createChildIdentity.md +0 -25
  160. package/docs/api/functions/createDefaultVaultCoreDependencies.md +0 -77
  161. package/docs/api/functions/deriveChildIdentity.md +0 -41
  162. package/docs/api/functions/ensureIdentityPrivateVault.md +0 -21
  163. package/docs/api/functions/identityPrivateVaultChildrenKey.md +0 -17
  164. package/docs/api/functions/identityPrivateVaultPrefix.md +0 -17
  165. package/docs/api/functions/identityPrivateVaultProfileKey.md +0 -17
  166. package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +0 -17
  167. package/docs/api/functions/listIdentities.md +0 -19
  168. package/docs/api/functions/readIdentityMetadata.md +0 -29
  169. package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +0 -21
  170. package/docs/api/functions/readIdentityPrivateVaultProfile.md +0 -21
  171. package/docs/api/functions/readVaultPublicMetadata.md +0 -23
  172. package/docs/api/functions/toOwnerHttpFlowBoundary.md +0 -17
  173. package/docs/api/interfaces/AgentCapability.md +0 -103
  174. package/docs/api/interfaces/AgentIdentityRecord.md +0 -23
  175. package/docs/api/interfaces/AgentIdentityRegistry.md +0 -57
  176. package/docs/api/interfaces/AgentProof.md +0 -29
  177. package/docs/api/interfaces/AgentProofVerifier.md +0 -21
  178. package/docs/api/interfaces/AuditEntry.md +0 -89
  179. package/docs/api/interfaces/AuditLog.md +0 -37
  180. package/docs/api/interfaces/AuditQuery.md +0 -29
  181. package/docs/api/interfaces/CapabilityRegistry.md +0 -65
  182. package/docs/api/interfaces/CapabilityRevocationRegistry.md +0 -53
  183. package/docs/api/interfaces/ChildIdentity.md +0 -77
  184. package/docs/api/interfaces/Clock.md +0 -15
  185. package/docs/api/interfaces/CreateChildIdentityOptions.md +0 -19
  186. package/docs/api/interfaces/CustomHttpFlowDefinition.md +0 -71
  187. package/docs/api/interfaces/CustomHttpFlowRegistry.md +0 -41
  188. package/docs/api/interfaces/DeriveIdentityOptions.md +0 -11
  189. package/docs/api/interfaces/DispatchAuthorization.md +0 -35
  190. package/docs/api/interfaces/DispatchInstruction.md +0 -47
  191. package/docs/api/interfaces/DispatchRequest.md +0 -77
  192. package/docs/api/interfaces/DispatchResult.md +0 -53
  193. package/docs/api/interfaces/IdGenerator.md +0 -39
  194. package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +0 -35
  195. package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +0 -17
  196. package/docs/api/interfaces/IdentityPrivateVaultProfile.md +0 -35
  197. package/docs/api/interfaces/IssuerWriteSecretCommand.md +0 -59
  198. package/docs/api/interfaces/OwnerAuditRequest.md +0 -47
  199. package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +0 -53
  200. package/docs/api/interfaces/OwnerDeleteSecretCommand.md +0 -47
  201. package/docs/api/interfaces/OwnerExportSecretRequest.md +0 -47
  202. package/docs/api/interfaces/OwnerHttpFlowBoundary.md +0 -51
  203. package/docs/api/interfaces/OwnerIdentityRecord.md +0 -23
  204. package/docs/api/interfaces/OwnerIdentityRegistry.md +0 -57
  205. package/docs/api/interfaces/OwnerListAgentsRequest.md +0 -41
  206. package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +0 -47
  207. package/docs/api/interfaces/OwnerProof.md +0 -29
  208. package/docs/api/interfaces/OwnerProofVerifier.md +0 -181
  209. package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +0 -47
  210. package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +0 -47
  211. package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +0 -83
  212. package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +0 -53
  213. package/docs/api/interfaces/OwnerSecretExport.md +0 -35
  214. package/docs/api/interfaces/OwnerWriteSecretCommand.md +0 -65
  215. package/docs/api/interfaces/PolicyEngine.md +0 -81
  216. package/docs/api/interfaces/RateLimitStore.md +0 -33
  217. package/docs/api/interfaces/ReplayGuard.md +0 -21
  218. package/docs/api/interfaces/SecretAlias.md +0 -11
  219. package/docs/api/interfaces/SecretCustody.md +0 -57
  220. package/docs/api/interfaces/SecretId.md +0 -11
  221. package/docs/api/interfaces/SecretRecord.md +0 -53
  222. package/docs/api/interfaces/SecretRepository.md +0 -69
  223. package/docs/api/interfaces/SecretVersion.md +0 -11
  224. package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +0 -21
  225. package/docs/api/interfaces/TrustedExecutor.md +0 -31
  226. package/docs/api/interfaces/VaultAcquireSecretInput.md +0 -53
  227. package/docs/api/interfaces/VaultAcquireSecretResult.md +0 -41
  228. package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +0 -25
  229. package/docs/api/interfaces/VaultAgentDispatchRequest.md +0 -75
  230. package/docs/api/interfaces/VaultAgentDispatchResponse.md +0 -17
  231. package/docs/api/interfaces/VaultCore.md +0 -311
  232. package/docs/api/interfaces/VaultCoreDependencies.md +0 -95
  233. package/docs/api/interfaces/VaultCustomFlowResolver.md +0 -25
  234. package/docs/api/interfaces/VaultId.md +0 -11
  235. package/docs/api/interfaces/VaultPrincipal.md +0 -17
  236. package/docs/api/interfaces/VaultService.md +0 -251
  237. package/docs/api/interfaces/VaultTargetBinding.md +0 -35
  238. package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +0 -7
  239. package/docs/api/type-aliases/RedactedResponseShape.md +0 -7
  240. package/docs/api/type-aliases/VaultAcquireSecretFlow.md +0 -7
  241. package/docs/api/type-aliases/VaultPrincipalKind.md +0 -7
  242. package/docs/api/type-aliases/VaultWriteSecretCommand.md +0 -7
@@ -1,192 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: FsStorageProvider
6
-
7
- Pluggable storage layer for vault persistence.
8
- Enables Cloud, Mobile, and Edge runtimes to use custom storage.
9
-
10
- ## Implements
11
-
12
- - [`IStorageProvider`](../interfaces/IStorageProvider.md)
13
-
14
- ## Constructors
15
-
16
- ### Constructor
17
-
18
- > **new FsStorageProvider**(`baseDir?`): `FsStorageProvider`
19
-
20
- #### Parameters
21
-
22
- ##### baseDir?
23
-
24
- `string`
25
-
26
- #### Returns
27
-
28
- `FsStorageProvider`
29
-
30
- ## Methods
31
-
32
- ### delete()
33
-
34
- > **delete**(`key`): `Promise`\<`void`\>
35
-
36
- #### Parameters
37
-
38
- ##### key
39
-
40
- `string`
41
-
42
- #### Returns
43
-
44
- `Promise`\<`void`\>
45
-
46
- #### Implementation of
47
-
48
- [`IStorageProvider`](../interfaces/IStorageProvider.md).[`delete`](../interfaces/IStorageProvider.md#delete)
49
-
50
- ***
51
-
52
- ### has()
53
-
54
- > **has**(`key`): `Promise`\<`boolean`\>
55
-
56
- #### Parameters
57
-
58
- ##### key
59
-
60
- `string`
61
-
62
- #### Returns
63
-
64
- `Promise`\<`boolean`\>
65
-
66
- #### Implementation of
67
-
68
- [`IStorageProvider`](../interfaces/IStorageProvider.md).[`has`](../interfaces/IStorageProvider.md#has)
69
-
70
- ***
71
-
72
- ### list()
73
-
74
- > **list**(`prefix`): `Promise`\<`string`[]\>
75
-
76
- Optional. Returns sub-keys (names) under a given prefix.
77
-
78
- #### Parameters
79
-
80
- ##### prefix
81
-
82
- `string`
83
-
84
- #### Returns
85
-
86
- `Promise`\<`string`[]\>
87
-
88
- #### Implementation of
89
-
90
- [`IStorageProvider`](../interfaces/IStorageProvider.md).[`list`](../interfaces/IStorageProvider.md#list)
91
-
92
- ***
93
-
94
- ### read()
95
-
96
- > **read**(`key`): `Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
97
-
98
- #### Parameters
99
-
100
- ##### key
101
-
102
- `string`
103
-
104
- #### Returns
105
-
106
- `Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
107
-
108
- #### Implementation of
109
-
110
- [`IStorageProvider`](../interfaces/IStorageProvider.md).[`read`](../interfaces/IStorageProvider.md#read)
111
-
112
- ***
113
-
114
- ### rename()
115
-
116
- > **rename**(`fromKey`, `toKey`): `Promise`\<`void`\>
117
-
118
- Optional. If present, used for atomic save. Otherwise vault does write+delete.
119
-
120
- #### Parameters
121
-
122
- ##### fromKey
123
-
124
- `string`
125
-
126
- ##### toKey
127
-
128
- `string`
129
-
130
- #### Returns
131
-
132
- `Promise`\<`void`\>
133
-
134
- #### Implementation of
135
-
136
- [`IStorageProvider`](../interfaces/IStorageProvider.md).[`rename`](../interfaces/IStorageProvider.md#rename)
137
-
138
- ***
139
-
140
- ### withLock()
141
-
142
- > **withLock**\<`T`\>(`key`, `task`): `Promise`\<`T`\>
143
-
144
- Optional. If present, used to serialize read-modify-write sequences across writers.
145
-
146
- #### Type Parameters
147
-
148
- ##### T
149
-
150
- `T`
151
-
152
- #### Parameters
153
-
154
- ##### key
155
-
156
- `string`
157
-
158
- ##### task
159
-
160
- () => `Promise`\<`T`\>
161
-
162
- #### Returns
163
-
164
- `Promise`\<`T`\>
165
-
166
- #### Implementation of
167
-
168
- [`IStorageProvider`](../interfaces/IStorageProvider.md).[`withLock`](../interfaces/IStorageProvider.md#withlock)
169
-
170
- ***
171
-
172
- ### write()
173
-
174
- > **write**(`key`, `data`): `Promise`\<`void`\>
175
-
176
- #### Parameters
177
-
178
- ##### key
179
-
180
- `string`
181
-
182
- ##### data
183
-
184
- `Buffer`
185
-
186
- #### Returns
187
-
188
- `Promise`\<`void`\>
189
-
190
- #### Implementation of
191
-
192
- [`IStorageProvider`](../interfaces/IStorageProvider.md).[`write`](../interfaces/IStorageProvider.md#write)
@@ -1,63 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: HttpDispatchExecutor
6
-
7
- ## Implements
8
-
9
- - [`TrustedExecutor`](../interfaces/TrustedExecutor.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new HttpDispatchExecutor**(`_fetchImpl?`, `_authHeaderName?`, `_authPrefix?`): `HttpDispatchExecutor`
16
-
17
- #### Parameters
18
-
19
- ##### \_fetchImpl?
20
-
21
- \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
22
-
23
- ##### \_authHeaderName?
24
-
25
- `string` = `"Authorization"`
26
-
27
- ##### \_authPrefix?
28
-
29
- `string` = `"Bearer "`
30
-
31
- #### Returns
32
-
33
- `HttpDispatchExecutor`
34
-
35
- ## Methods
36
-
37
- ### dispatch()
38
-
39
- > **dispatch**(`instruction`, `secret`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
40
-
41
- #### Parameters
42
-
43
- ##### instruction
44
-
45
- [`DispatchInstruction`](../interfaces/DispatchInstruction.md)
46
-
47
- ##### secret
48
-
49
- ###### plaintext
50
-
51
- `string`
52
-
53
- ###### record
54
-
55
- [`SecretRecord`](../interfaces/SecretRecord.md)
56
-
57
- #### Returns
58
-
59
- `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
60
-
61
- #### Implementation of
62
-
63
- [`TrustedExecutor`](../interfaces/TrustedExecutor.md).[`dispatch`](../interfaces/TrustedExecutor.md#dispatch)
@@ -1,83 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: InMemoryAgentIdentityRegistry
6
-
7
- ## Implements
8
-
9
- - [`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new InMemoryAgentIdentityRegistry**(): `InMemoryAgentIdentityRegistry`
16
-
17
- #### Returns
18
-
19
- `InMemoryAgentIdentityRegistry`
20
-
21
- ## Methods
22
-
23
- ### get()
24
-
25
- > **get**(`vaultId`, `agentId`): `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md) \| `null`\>
26
-
27
- #### Parameters
28
-
29
- ##### vaultId
30
-
31
- [`VaultId`](../interfaces/VaultId.md)
32
-
33
- ##### agentId
34
-
35
- `string`
36
-
37
- #### Returns
38
-
39
- `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md) \| `null`\>
40
-
41
- #### Implementation of
42
-
43
- [`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md).[`get`](../interfaces/AgentIdentityRegistry.md#get)
44
-
45
- ***
46
-
47
- ### list()
48
-
49
- > **list**(`vaultId`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
50
-
51
- #### Parameters
52
-
53
- ##### vaultId
54
-
55
- [`VaultId`](../interfaces/VaultId.md)
56
-
57
- #### Returns
58
-
59
- `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
60
-
61
- #### Implementation of
62
-
63
- [`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md).[`list`](../interfaces/AgentIdentityRegistry.md#list)
64
-
65
- ***
66
-
67
- ### register()
68
-
69
- > **register**(`identity`): `Promise`\<`void`\>
70
-
71
- #### Parameters
72
-
73
- ##### identity
74
-
75
- [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)
76
-
77
- #### Returns
78
-
79
- `Promise`\<`void`\>
80
-
81
- #### Implementation of
82
-
83
- [`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md).[`register`](../interfaces/AgentIdentityRegistry.md#register)
@@ -1,59 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: InMemoryAuditLog
6
-
7
- ## Implements
8
-
9
- - [`AuditLog`](../interfaces/AuditLog.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new InMemoryAuditLog**(): `InMemoryAuditLog`
16
-
17
- #### Returns
18
-
19
- `InMemoryAuditLog`
20
-
21
- ## Methods
22
-
23
- ### append()
24
-
25
- > **append**(`entry`): `Promise`\<`void`\>
26
-
27
- #### Parameters
28
-
29
- ##### entry
30
-
31
- [`AuditEntry`](../interfaces/AuditEntry.md)
32
-
33
- #### Returns
34
-
35
- `Promise`\<`void`\>
36
-
37
- #### Implementation of
38
-
39
- [`AuditLog`](../interfaces/AuditLog.md).[`append`](../interfaces/AuditLog.md#append)
40
-
41
- ***
42
-
43
- ### query()
44
-
45
- > **query**(`query`): `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
46
-
47
- #### Parameters
48
-
49
- ##### query
50
-
51
- [`AuditQuery`](../interfaces/AuditQuery.md)
52
-
53
- #### Returns
54
-
55
- `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
56
-
57
- #### Implementation of
58
-
59
- [`AuditLog`](../interfaces/AuditLog.md).[`query`](../interfaces/AuditLog.md#query)
@@ -1,91 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: InMemoryCapabilityRegistry
6
-
7
- ## Implements
8
-
9
- - [`CapabilityRegistry`](../interfaces/CapabilityRegistry.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new InMemoryCapabilityRegistry**(): `InMemoryCapabilityRegistry`
16
-
17
- #### Returns
18
-
19
- `InMemoryCapabilityRegistry`
20
-
21
- ## Methods
22
-
23
- ### get()
24
-
25
- > **get**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<[`AgentCapability`](../interfaces/AgentCapability.md) \| `null`\>
26
-
27
- #### Parameters
28
-
29
- ##### vaultId
30
-
31
- [`VaultId`](../interfaces/VaultId.md)
32
-
33
- ##### agentId
34
-
35
- `string`
36
-
37
- ##### capabilityId
38
-
39
- `string`
40
-
41
- #### Returns
42
-
43
- `Promise`\<[`AgentCapability`](../interfaces/AgentCapability.md) \| `null`\>
44
-
45
- #### Implementation of
46
-
47
- [`CapabilityRegistry`](../interfaces/CapabilityRegistry.md).[`get`](../interfaces/CapabilityRegistry.md#get)
48
-
49
- ***
50
-
51
- ### list()
52
-
53
- > **list**(`vaultId`, `agentId?`): `Promise`\<readonly [`AgentCapability`](../interfaces/AgentCapability.md)[]\>
54
-
55
- #### Parameters
56
-
57
- ##### vaultId
58
-
59
- [`VaultId`](../interfaces/VaultId.md)
60
-
61
- ##### agentId?
62
-
63
- `string`
64
-
65
- #### Returns
66
-
67
- `Promise`\<readonly [`AgentCapability`](../interfaces/AgentCapability.md)[]\>
68
-
69
- #### Implementation of
70
-
71
- [`CapabilityRegistry`](../interfaces/CapabilityRegistry.md).[`list`](../interfaces/CapabilityRegistry.md#list)
72
-
73
- ***
74
-
75
- ### register()
76
-
77
- > **register**(`capability`): `Promise`\<`void`\>
78
-
79
- #### Parameters
80
-
81
- ##### capability
82
-
83
- [`AgentCapability`](../interfaces/AgentCapability.md)
84
-
85
- #### Returns
86
-
87
- `Promise`\<`void`\>
88
-
89
- #### Implementation of
90
-
91
- [`CapabilityRegistry`](../interfaces/CapabilityRegistry.md).[`register`](../interfaces/CapabilityRegistry.md#register)
@@ -1,75 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: InMemoryCapabilityRevocationRegistry
6
-
7
- ## Implements
8
-
9
- - [`CapabilityRevocationRegistry`](../interfaces/CapabilityRevocationRegistry.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new InMemoryCapabilityRevocationRegistry**(): `InMemoryCapabilityRevocationRegistry`
16
-
17
- #### Returns
18
-
19
- `InMemoryCapabilityRevocationRegistry`
20
-
21
- ## Methods
22
-
23
- ### get()
24
-
25
- > **get**(`vaultId`, `agentId`, `capabilityId`): `number`
26
-
27
- #### Parameters
28
-
29
- ##### vaultId
30
-
31
- [`VaultId`](../interfaces/VaultId.md)
32
-
33
- ##### agentId
34
-
35
- `string`
36
-
37
- ##### capabilityId
38
-
39
- `string`
40
-
41
- #### Returns
42
-
43
- `number`
44
-
45
- #### Implementation of
46
-
47
- [`CapabilityRevocationRegistry`](../interfaces/CapabilityRevocationRegistry.md).[`get`](../interfaces/CapabilityRevocationRegistry.md#get)
48
-
49
- ***
50
-
51
- ### revoke()
52
-
53
- > **revoke**(`vaultId`, `agentId`, `capabilityId`): `number`
54
-
55
- #### Parameters
56
-
57
- ##### vaultId
58
-
59
- [`VaultId`](../interfaces/VaultId.md)
60
-
61
- ##### agentId
62
-
63
- `string`
64
-
65
- ##### capabilityId
66
-
67
- `string`
68
-
69
- #### Returns
70
-
71
- `number`
72
-
73
- #### Implementation of
74
-
75
- [`CapabilityRevocationRegistry`](../interfaces/CapabilityRevocationRegistry.md).[`revoke`](../interfaces/CapabilityRevocationRegistry.md#revoke)
@@ -1,63 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: InMemoryCustomHttpFlowRegistry
6
-
7
- ## Implements
8
-
9
- - [`CustomHttpFlowRegistry`](../interfaces/CustomHttpFlowRegistry.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new InMemoryCustomHttpFlowRegistry**(): `InMemoryCustomHttpFlowRegistry`
16
-
17
- #### Returns
18
-
19
- `InMemoryCustomHttpFlowRegistry`
20
-
21
- ## Methods
22
-
23
- ### get()
24
-
25
- > **get**(`vaultId`, `flowId`): `Promise`\<[`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md) \| `null`\>
26
-
27
- #### Parameters
28
-
29
- ##### vaultId
30
-
31
- [`VaultId`](../interfaces/VaultId.md)
32
-
33
- ##### flowId
34
-
35
- `string`
36
-
37
- #### Returns
38
-
39
- `Promise`\<[`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md) \| `null`\>
40
-
41
- #### Implementation of
42
-
43
- [`CustomHttpFlowRegistry`](../interfaces/CustomHttpFlowRegistry.md).[`get`](../interfaces/CustomHttpFlowRegistry.md#get)
44
-
45
- ***
46
-
47
- ### register()
48
-
49
- > **register**(`flow`): `Promise`\<`void`\>
50
-
51
- #### Parameters
52
-
53
- ##### flow
54
-
55
- [`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md)
56
-
57
- #### Returns
58
-
59
- `Promise`\<`void`\>
60
-
61
- #### Implementation of
62
-
63
- [`CustomHttpFlowRegistry`](../interfaces/CustomHttpFlowRegistry.md).[`register`](../interfaces/CustomHttpFlowRegistry.md#register)
@@ -1,83 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: InMemoryOwnerIdentityRegistry
6
-
7
- ## Implements
8
-
9
- - [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new InMemoryOwnerIdentityRegistry**(): `InMemoryOwnerIdentityRegistry`
16
-
17
- #### Returns
18
-
19
- `InMemoryOwnerIdentityRegistry`
20
-
21
- ## Methods
22
-
23
- ### get()
24
-
25
- > **get**(`vaultId`, `ownerId`): `Promise`\<[`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md) \| `null`\>
26
-
27
- #### Parameters
28
-
29
- ##### vaultId
30
-
31
- [`VaultId`](../interfaces/VaultId.md)
32
-
33
- ##### ownerId
34
-
35
- `string`
36
-
37
- #### Returns
38
-
39
- `Promise`\<[`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md) \| `null`\>
40
-
41
- #### Implementation of
42
-
43
- [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`get`](../interfaces/OwnerIdentityRegistry.md#get)
44
-
45
- ***
46
-
47
- ### hasAny()
48
-
49
- > **hasAny**(`vaultId`): `Promise`\<`boolean`\>
50
-
51
- #### Parameters
52
-
53
- ##### vaultId
54
-
55
- [`VaultId`](../interfaces/VaultId.md)
56
-
57
- #### Returns
58
-
59
- `Promise`\<`boolean`\>
60
-
61
- #### Implementation of
62
-
63
- [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`hasAny`](../interfaces/OwnerIdentityRegistry.md#hasany)
64
-
65
- ***
66
-
67
- ### register()
68
-
69
- > **register**(`identity`): `Promise`\<`void`\>
70
-
71
- #### Parameters
72
-
73
- ##### identity
74
-
75
- [`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md)
76
-
77
- #### Returns
78
-
79
- `Promise`\<`void`\>
80
-
81
- #### Implementation of
82
-
83
- [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`register`](../interfaces/OwnerIdentityRegistry.md#register)