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

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