@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,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.46.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.46.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Extends
8
8
 
9
- - [`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md)
9
+ - `OwnerHttpFlowBoundary`
10
10
 
11
11
  ## Properties
12
12
 
@@ -22,7 +22,7 @@
22
22
 
23
23
  #### Inherited from
24
24
 
25
- [`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`method`](OwnerHttpFlowBoundary.md#method)
25
+ `OwnerHttpFlowBoundary.method`
26
26
 
27
27
  ***
28
28
 
@@ -32,7 +32,7 @@
32
32
 
33
33
  #### Inherited from
34
34
 
35
- [`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`mode`](OwnerHttpFlowBoundary.md#mode)
35
+ `OwnerHttpFlowBoundary.mode`
36
36
 
37
37
  ***
38
38
 
@@ -60,7 +60,7 @@
60
60
 
61
61
  #### Inherited from
62
62
 
63
- [`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`responseSecret`](OwnerHttpFlowBoundary.md#responsesecret)
63
+ `OwnerHttpFlowBoundary.responseSecret`
64
64
 
65
65
  ***
66
66
 
@@ -70,7 +70,7 @@
70
70
 
71
71
  #### Inherited from
72
72
 
73
- [`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`responseVisibility`](OwnerHttpFlowBoundary.md#responsevisibility)
73
+ `OwnerHttpFlowBoundary.responseVisibility`
74
74
 
75
75
  ***
76
76
 
@@ -80,4 +80,4 @@
80
80
 
81
81
  #### Inherited from
82
82
 
83
- [`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`targetUrl`](OwnerHttpFlowBoundary.md#targeturl)
83
+ `OwnerHttpFlowBoundary.targetUrl`
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.46.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.46.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,7 +1,7 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.46.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
5
5
  # Type Alias: AgentCapabilityEnvelope
6
6
 
7
- > **AgentCapabilityEnvelope** = [`AgentCapability`](../interfaces/AgentCapability.md)
7
+ > **AgentCapabilityEnvelope** = `AgentCapability`
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.46.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.46.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-ai-company/cbio-node-runtime",
3
- "version": "1.45.2",
3
+ "version": "1.46.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,52 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: AgentDispatchHttpTransport
6
-
7
- Remote transport for AgentClient that communicates over HTTP.
8
- This allows the Agent (LLM) to reside in a separate process from the Vault Core.
9
-
10
- ## Implements
11
-
12
- - [`AgentDispatchTransport`](../interfaces/AgentDispatchTransport.md)
13
-
14
- ## Constructors
15
-
16
- ### Constructor
17
-
18
- > **new AgentDispatchHttpTransport**(`_url`, `_fetchImpl?`): `AgentDispatchHttpTransport`
19
-
20
- #### Parameters
21
-
22
- ##### \_url
23
-
24
- `string`
25
-
26
- ##### \_fetchImpl?
27
-
28
- \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
29
-
30
- #### Returns
31
-
32
- `AgentDispatchHttpTransport`
33
-
34
- ## Methods
35
-
36
- ### dispatch()
37
-
38
- > **dispatch**(`request`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
39
-
40
- #### Parameters
41
-
42
- ##### request
43
-
44
- [`DispatchRequest`](../interfaces/DispatchRequest.md)
45
-
46
- #### Returns
47
-
48
- `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
49
-
50
- #### Implementation of
51
-
52
- [`AgentDispatchTransport`](../interfaces/AgentDispatchTransport.md).[`dispatch`](../interfaces/AgentDispatchTransport.md#dispatch)
@@ -1,117 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: DefaultPolicyEngine
6
-
7
- ## Implements
8
-
9
- - [`PolicyEngine`](../interfaces/PolicyEngine.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new DefaultPolicyEngine**(`_options?`): `DefaultPolicyEngine`
16
-
17
- #### Parameters
18
-
19
- ##### \_options?
20
-
21
- [`DefaultPolicyEngineOptions`](../interfaces/DefaultPolicyEngineOptions.md) = `{}`
22
-
23
- #### Returns
24
-
25
- `DefaultPolicyEngine`
26
-
27
- ## Methods
28
-
29
- ### authorizeDefineSecretTargets()
30
-
31
- > **authorizeDefineSecretTargets**(`command`): `Promise`\<`void`\>
32
-
33
- #### Parameters
34
-
35
- ##### command
36
-
37
- [`OwnerDefineSecretTargetsCommand`](../interfaces/OwnerDefineSecretTargetsCommand.md)
38
-
39
- #### Returns
40
-
41
- `Promise`\<`void`\>
42
-
43
- #### Implementation of
44
-
45
- [`PolicyEngine`](../interfaces/PolicyEngine.md).[`authorizeDefineSecretTargets`](../interfaces/PolicyEngine.md#authorizedefinesecrettargets)
46
-
47
- ***
48
-
49
- ### authorizeDispatch()
50
-
51
- > **authorizeDispatch**(`request`, `record?`): `Promise`\<`void`\>
52
-
53
- #### Parameters
54
-
55
- ##### request
56
-
57
- [`DispatchRequest`](../interfaces/DispatchRequest.md)
58
-
59
- ##### record?
60
-
61
- [`SecretRecord`](../interfaces/SecretRecord.md) \| `null`
62
-
63
- #### Returns
64
-
65
- `Promise`\<`void`\>
66
-
67
- #### Implementation of
68
-
69
- [`PolicyEngine`](../interfaces/PolicyEngine.md).[`authorizeDispatch`](../interfaces/PolicyEngine.md#authorizedispatch)
70
-
71
- ***
72
-
73
- ### authorizeWrite()
74
-
75
- > **authorizeWrite**(`command`): `Promise`\<`void`\>
76
-
77
- #### Parameters
78
-
79
- ##### command
80
-
81
- [`VaultWriteSecretCommand`](../type-aliases/VaultWriteSecretCommand.md)
82
-
83
- #### Returns
84
-
85
- `Promise`\<`void`\>
86
-
87
- #### Implementation of
88
-
89
- [`PolicyEngine`](../interfaces/PolicyEngine.md).[`authorizeWrite`](../interfaces/PolicyEngine.md#authorizewrite)
90
-
91
- ***
92
-
93
- ### revokeCapability()
94
-
95
- > **revokeCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`number`\>
96
-
97
- #### Parameters
98
-
99
- ##### vaultId
100
-
101
- [`VaultId`](../interfaces/VaultId.md)
102
-
103
- ##### agentId
104
-
105
- `string`
106
-
107
- ##### capabilityId
108
-
109
- `string`
110
-
111
- #### Returns
112
-
113
- `Promise`\<`number`\>
114
-
115
- #### Implementation of
116
-
117
- [`PolicyEngine`](../interfaces/PolicyEngine.md).[`revokeCapability`](../interfaces/PolicyEngine.md#revokecapability)
@@ -1,405 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: DefaultVaultCore
6
-
7
- ## Implements
8
-
9
- - [`VaultCore`](../interfaces/VaultCore.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new DefaultVaultCore**(`_deps`): `DefaultVaultCore`
16
-
17
- #### Parameters
18
-
19
- ##### \_deps
20
-
21
- [`VaultCoreDependencies`](../interfaces/VaultCoreDependencies.md)
22
-
23
- #### Returns
24
-
25
- `DefaultVaultCore`
26
-
27
- ## Accessors
28
-
29
- ### vaultId
30
-
31
- #### Get Signature
32
-
33
- > **get** **vaultId**(): [`VaultId`](../interfaces/VaultId.md)
34
-
35
- ##### Returns
36
-
37
- [`VaultId`](../interfaces/VaultId.md)
38
-
39
- #### Implementation of
40
-
41
- [`VaultCore`](../interfaces/VaultCore.md).[`vaultId`](../interfaces/VaultCore.md#vaultid)
42
-
43
- ## Methods
44
-
45
- ### authorizeDispatch()
46
-
47
- > **authorizeDispatch**(`request`): `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
48
-
49
- #### Parameters
50
-
51
- ##### request
52
-
53
- [`DispatchRequest`](../interfaces/DispatchRequest.md)
54
-
55
- #### Returns
56
-
57
- `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
58
-
59
- #### Implementation of
60
-
61
- [`VaultCore`](../interfaces/VaultCore.md).[`authorizeDispatch`](../interfaces/VaultCore.md#authorizedispatch)
62
-
63
- ***
64
-
65
- ### bootstrapOwnerIdentity()
66
-
67
- > **bootstrapOwnerIdentity**(`identity`): `Promise`\<`void`\>
68
-
69
- #### Parameters
70
-
71
- ##### identity
72
-
73
- [`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md)
74
-
75
- #### Returns
76
-
77
- `Promise`\<`void`\>
78
-
79
- #### Implementation of
80
-
81
- [`VaultCore`](../interfaces/VaultCore.md).[`bootstrapOwnerIdentity`](../interfaces/VaultCore.md#bootstrapowneridentity)
82
-
83
- ***
84
-
85
- ### defineSecretTargets()
86
-
87
- > **defineSecretTargets**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
88
-
89
- #### Parameters
90
-
91
- ##### command
92
-
93
- [`OwnerDefineSecretTargetsCommand`](../interfaces/OwnerDefineSecretTargetsCommand.md)
94
-
95
- #### Returns
96
-
97
- `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
98
-
99
- #### Implementation of
100
-
101
- [`VaultCore`](../interfaces/VaultCore.md).[`defineSecretTargets`](../interfaces/VaultCore.md#definesecrettargets)
102
-
103
- ***
104
-
105
- ### deleteSecret()
106
-
107
- > **deleteSecret**(`command`): `Promise`\<`void`\>
108
-
109
- #### Parameters
110
-
111
- ##### command
112
-
113
- [`OwnerDeleteSecretCommand`](../interfaces/OwnerDeleteSecretCommand.md)
114
-
115
- #### Returns
116
-
117
- `Promise`\<`void`\>
118
-
119
- #### Implementation of
120
-
121
- [`VaultCore`](../interfaces/VaultCore.md).[`deleteSecret`](../interfaces/VaultCore.md#deletesecret)
122
-
123
- ***
124
-
125
- ### dispatchSecret()
126
-
127
- > **dispatchSecret**(`request`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
128
-
129
- #### Parameters
130
-
131
- ##### request
132
-
133
- [`DispatchRequest`](../interfaces/DispatchRequest.md)
134
-
135
- #### Returns
136
-
137
- `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
138
-
139
- #### Implementation of
140
-
141
- [`VaultCore`](../interfaces/VaultCore.md).[`dispatchSecret`](../interfaces/VaultCore.md#dispatchsecret)
142
-
143
- ***
144
-
145
- ### exportSecret()
146
-
147
- > **exportSecret**(`actor`, `alias`, `request?`): `Promise`\<[`OwnerSecretExport`](../interfaces/OwnerSecretExport.md)\>
148
-
149
- #### Parameters
150
-
151
- ##### actor
152
-
153
- [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
154
-
155
- ##### alias
156
-
157
- `string`
158
-
159
- ##### request?
160
-
161
- `Omit`\<[`OwnerExportSecretRequest`](../interfaces/OwnerExportSecretRequest.md), `"actor"` \| `"vaultId"` \| `"alias"`\>
162
-
163
- #### Returns
164
-
165
- `Promise`\<[`OwnerSecretExport`](../interfaces/OwnerSecretExport.md)\>
166
-
167
- #### Implementation of
168
-
169
- [`VaultCore`](../interfaces/VaultCore.md).[`exportSecret`](../interfaces/VaultCore.md#exportsecret)
170
-
171
- ***
172
-
173
- ### getAudit()
174
-
175
- > **getAudit**(`actor`, `query`, `request?`): `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
176
-
177
- #### Parameters
178
-
179
- ##### actor
180
-
181
- [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
182
-
183
- ##### query
184
-
185
- [`AuditQuery`](../interfaces/AuditQuery.md)
186
-
187
- ##### request?
188
-
189
- `Omit`\<[`OwnerAuditRequest`](../interfaces/OwnerAuditRequest.md), `"actor"` \| `"query"` \| `"vaultId"`\>
190
-
191
- #### Returns
192
-
193
- `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
194
-
195
- #### Implementation of
196
-
197
- [`VaultCore`](../interfaces/VaultCore.md).[`getAudit`](../interfaces/VaultCore.md#getaudit)
198
-
199
- ***
200
-
201
- ### getCapability()
202
-
203
- > **getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<[`AgentCapability`](../interfaces/AgentCapability.md) \| `null`\>
204
-
205
- #### Parameters
206
-
207
- ##### vaultId
208
-
209
- [`VaultId`](../interfaces/VaultId.md)
210
-
211
- ##### agentId
212
-
213
- `string`
214
-
215
- ##### capabilityId
216
-
217
- `string`
218
-
219
- #### Returns
220
-
221
- `Promise`\<[`AgentCapability`](../interfaces/AgentCapability.md) \| `null`\>
222
-
223
- #### Implementation of
224
-
225
- [`VaultCore`](../interfaces/VaultCore.md).[`getCapability`](../interfaces/VaultCore.md#getcapability)
226
-
227
- ***
228
-
229
- ### listAgents()
230
-
231
- > **listAgents**(`actor`, `request?`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
232
-
233
- #### Parameters
234
-
235
- ##### actor
236
-
237
- [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
238
-
239
- ##### request?
240
-
241
- `Omit`\<[`OwnerListAgentsRequest`](../interfaces/OwnerListAgentsRequest.md), `"actor"` \| `"vaultId"`\>
242
-
243
- #### Returns
244
-
245
- `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
246
-
247
- #### Implementation of
248
-
249
- [`VaultCore`](../interfaces/VaultCore.md).[`listAgents`](../interfaces/VaultCore.md#listagents)
250
-
251
- ***
252
-
253
- ### listCapabilities()
254
-
255
- > **listCapabilities**(`actor`, `agentId?`, `request?`): `Promise`\<readonly [`AgentCapability`](../interfaces/AgentCapability.md)[]\>
256
-
257
- #### Parameters
258
-
259
- ##### actor
260
-
261
- [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
262
-
263
- ##### agentId?
264
-
265
- `string`
266
-
267
- ##### request?
268
-
269
- `Omit`\<[`OwnerListCapabilitiesRequest`](../interfaces/OwnerListCapabilitiesRequest.md), `"actor"` \| `"vaultId"` \| `"agentId"`\>
270
-
271
- #### Returns
272
-
273
- `Promise`\<readonly [`AgentCapability`](../interfaces/AgentCapability.md)[]\>
274
-
275
- #### Implementation of
276
-
277
- [`VaultCore`](../interfaces/VaultCore.md).[`listCapabilities`](../interfaces/VaultCore.md#listcapabilities)
278
-
279
- ***
280
-
281
- ### registerAgentIdentity()
282
-
283
- > **registerAgentIdentity**(`command`): `Promise`\<`void`\>
284
-
285
- #### Parameters
286
-
287
- ##### command
288
-
289
- [`OwnerRegisterAgentIdentityCommand`](../interfaces/OwnerRegisterAgentIdentityCommand.md)
290
-
291
- #### Returns
292
-
293
- `Promise`\<`void`\>
294
-
295
- #### Implementation of
296
-
297
- [`VaultCore`](../interfaces/VaultCore.md).[`registerAgentIdentity`](../interfaces/VaultCore.md#registeragentidentity)
298
-
299
- ***
300
-
301
- ### registerCapability()
302
-
303
- > **registerCapability**(`command`): `Promise`\<`void`\>
304
-
305
- #### Parameters
306
-
307
- ##### command
308
-
309
- [`OwnerRegisterCapabilityCommand`](../interfaces/OwnerRegisterCapabilityCommand.md)
310
-
311
- #### Returns
312
-
313
- `Promise`\<`void`\>
314
-
315
- #### Implementation of
316
-
317
- [`VaultCore`](../interfaces/VaultCore.md).[`registerCapability`](../interfaces/VaultCore.md#registercapability)
318
-
319
- ***
320
-
321
- ### registerCustomFlow()
322
-
323
- > **registerCustomFlow**(`command`): `Promise`\<`void`\>
324
-
325
- #### Parameters
326
-
327
- ##### command
328
-
329
- [`OwnerRegisterCustomHttpFlowCommand`](../interfaces/OwnerRegisterCustomHttpFlowCommand.md)
330
-
331
- #### Returns
332
-
333
- `Promise`\<`void`\>
334
-
335
- #### Implementation of
336
-
337
- [`VaultCore`](../interfaces/VaultCore.md).[`registerCustomFlow`](../interfaces/VaultCore.md#registercustomflow)
338
-
339
- ***
340
-
341
- ### revokeCapability()
342
-
343
- > **revokeCapability**(`command`): `Promise`\<`void`\>
344
-
345
- #### Parameters
346
-
347
- ##### command
348
-
349
- [`OwnerRevokeCapabilityCommand`](../interfaces/OwnerRevokeCapabilityCommand.md)
350
-
351
- #### Returns
352
-
353
- `Promise`\<`void`\>
354
-
355
- #### Implementation of
356
-
357
- [`VaultCore`](../interfaces/VaultCore.md).[`revokeCapability`](../interfaces/VaultCore.md#revokecapability)
358
-
359
- ***
360
-
361
- ### storeCustomFlowSecret()
362
-
363
- > **storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
364
-
365
- #### Parameters
366
-
367
- ##### flow
368
-
369
- [`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md)
370
-
371
- ##### alias
372
-
373
- `string`
374
-
375
- ##### plaintext
376
-
377
- `string`
378
-
379
- #### Returns
380
-
381
- `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
382
-
383
- #### Implementation of
384
-
385
- [`VaultCore`](../interfaces/VaultCore.md).[`storeCustomFlowSecret`](../interfaces/VaultCore.md#storecustomflowsecret)
386
-
387
- ***
388
-
389
- ### writeSecret()
390
-
391
- > **writeSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
392
-
393
- #### Parameters
394
-
395
- ##### command
396
-
397
- [`VaultWriteSecretCommand`](../type-aliases/VaultWriteSecretCommand.md)
398
-
399
- #### Returns
400
-
401
- `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
402
-
403
- #### Implementation of
404
-
405
- [`VaultCore`](../interfaces/VaultCore.md).[`writeSecret`](../interfaces/VaultCore.md#writesecret)