@the-ai-company/cbio-node-runtime 1.63.3 → 1.63.6

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 (233) hide show
  1. package/README.md +48 -209
  2. package/dist/clients/agent/client.d.ts +18 -40
  3. package/dist/clients/agent/client.js +22 -109
  4. package/dist/clients/agent/client.js.map +1 -1
  5. package/dist/clients/agent/contracts.d.ts +1 -8
  6. package/dist/clients/agent/index.d.ts +1 -1
  7. package/dist/clients/owner/client.d.ts +2 -102
  8. package/dist/clients/owner/client.js +111 -266
  9. package/dist/clients/owner/client.js.map +1 -1
  10. package/dist/clients/owner/contracts.d.ts +37 -75
  11. package/dist/clients/owner/index.d.ts +2 -4
  12. package/dist/clients/owner/index.js +1 -2
  13. package/dist/clients/owner/index.js.map +1 -1
  14. package/dist/internal/id-factory.d.ts +0 -2
  15. package/dist/internal/id-factory.js +0 -6
  16. package/dist/internal/id-factory.js.map +1 -1
  17. package/dist/protocol/identity.d.ts +1 -1
  18. package/dist/protocol/identity.js +3 -3
  19. package/dist/protocol/identity.js.map +1 -1
  20. package/dist/public-types.d.ts +5 -14
  21. package/dist/public-types.js +1 -8
  22. package/dist/public-types.js.map +1 -1
  23. package/dist/runtime/bootstrap.d.ts +1 -3
  24. package/dist/runtime/bootstrap.js.map +1 -1
  25. package/dist/runtime/identity.d.ts +2 -2
  26. package/dist/runtime/identity.js +3 -5
  27. package/dist/runtime/identity.js.map +1 -1
  28. package/dist/runtime/index.d.ts +10 -12
  29. package/dist/runtime/index.js +7 -8
  30. package/dist/runtime/index.js.map +1 -1
  31. package/dist/runtime/owner-session.d.ts +7 -6
  32. package/dist/runtime/owner-session.js +5 -6
  33. package/dist/runtime/owner-session.js.map +1 -1
  34. package/dist/storage/fs.d.ts +3 -2
  35. package/dist/storage/fs.js +8 -5
  36. package/dist/storage/fs.js.map +1 -1
  37. package/dist/storage/prefix.d.ts +1 -0
  38. package/dist/storage/prefix.js +7 -0
  39. package/dist/storage/prefix.js.map +1 -1
  40. package/dist/storage/provider.d.ts +2 -0
  41. package/dist/vault-core/contracts.d.ts +95 -210
  42. package/dist/vault-core/contracts.js +8 -11
  43. package/dist/vault-core/contracts.js.map +1 -1
  44. package/dist/vault-core/core.d.ts +119 -62
  45. package/dist/vault-core/core.js +518 -1180
  46. package/dist/vault-core/core.js.map +1 -1
  47. package/dist/vault-core/defaults.d.ts +22 -44
  48. package/dist/vault-core/defaults.js +65 -234
  49. package/dist/vault-core/defaults.js.map +1 -1
  50. package/dist/vault-core/errors.d.ts +3 -2
  51. package/dist/vault-core/errors.js.map +1 -1
  52. package/dist/vault-core/index.d.ts +5 -5
  53. package/dist/vault-core/index.js +2 -2
  54. package/dist/vault-core/index.js.map +1 -1
  55. package/dist/vault-core/persistence.d.ts +72 -119
  56. package/dist/vault-core/persistence.js +310 -427
  57. package/dist/vault-core/persistence.js.map +1 -1
  58. package/dist/vault-core/ports.d.ts +19 -30
  59. package/dist/vault-core/read-policy.d.ts +3 -2
  60. package/dist/vault-core/read-policy.js.map +1 -1
  61. package/dist/vault-core/tool-metadata.js +2 -2
  62. package/dist/vault-core/tool-metadata.js.map +1 -1
  63. package/dist/vault-ingress/defaults.d.ts +4 -2
  64. package/dist/vault-ingress/defaults.js +14 -8
  65. package/dist/vault-ingress/defaults.js.map +1 -1
  66. package/dist/vault-ingress/index.d.ts +39 -119
  67. package/dist/vault-ingress/index.js +98 -456
  68. package/dist/vault-ingress/index.js.map +1 -1
  69. package/dist/vault-ingress/remote-transport.d.ts +5 -3
  70. package/dist/vault-ingress/remote-transport.js +8 -28
  71. package/dist/vault-ingress/remote-transport.js.map +1 -1
  72. package/docs/ARCHITECTURE.md +39 -22
  73. package/docs/CUSTODY_MODEL.md +1 -1
  74. package/docs/IDENTITY_MODEL.md +5 -5
  75. package/docs/MIGRATION-1.51.md +19 -19
  76. package/docs/MIGRATION-1.65.md +87 -0
  77. package/docs/PROCESS_ISOLATION.md +2 -2
  78. package/docs/REFERENCE.md +42 -224
  79. package/docs/api/README.md +48 -30
  80. package/docs/api/classes/IdentityError.md +1 -1
  81. package/docs/api/classes/OwnerClientError.md +1 -1
  82. package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +89 -0
  83. package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +125 -0
  84. package/docs/api/classes/PersistentVaultAuditLog.md +65 -0
  85. package/docs/api/classes/PersistentVaultSecretCustody.md +93 -0
  86. package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +125 -0
  87. package/docs/api/classes/PersistentVaultSecretRepository.md +127 -0
  88. package/docs/api/classes/VaultCore.md +264 -237
  89. package/docs/api/classes/VaultCoreError.md +3 -3
  90. package/docs/api/enumerations/AuditAction.md +143 -0
  91. package/docs/api/enumerations/AuditOutcome.md +35 -0
  92. package/docs/api/enumerations/DispatchStatus.md +35 -0
  93. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  94. package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
  95. package/docs/api/functions/createAgentClient.md +1 -15
  96. package/docs/api/functions/createIdentity.md +2 -2
  97. package/docs/api/functions/createOwnerClient.md +17 -0
  98. package/docs/api/functions/createOwnerSession.md +1 -1
  99. package/docs/api/functions/createPersistentVaultCoreDependencies.md +4 -4
  100. package/docs/api/functions/createVault.md +1 -1
  101. package/docs/api/functions/createVaultCore.md +1 -1
  102. package/docs/api/functions/createVaultCoreDependencies.md +1 -1
  103. package/docs/api/functions/createVaultService.md +5 -13
  104. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  105. package/docs/api/functions/deriveRootAgentId.md +17 -0
  106. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
  107. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  108. package/docs/api/functions/handleVaultAgentControlHttp.md +2 -2
  109. package/docs/api/functions/handleVaultHttpDispatch.md +2 -2
  110. package/docs/api/functions/initializeVaultCustody.md +7 -3
  111. package/docs/api/functions/listVaults.md +1 -1
  112. package/docs/api/functions/readVaultProfile.md +1 -1
  113. package/docs/api/functions/recoverVault.md +1 -1
  114. package/docs/api/functions/recoverVaultWorkingKey.md +4 -8
  115. package/docs/api/functions/restoreIdentity.md +1 -1
  116. package/docs/api/functions/updateVaultMetadata.md +1 -1
  117. package/docs/api/functions/writeVaultProfile.md +1 -1
  118. package/docs/api/interfaces/AgentClient.md +20 -59
  119. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  120. package/docs/api/interfaces/AgentDispatchTransport.md +12 -44
  121. package/docs/api/interfaces/AgentIdentity.md +3 -3
  122. package/docs/api/interfaces/AgentIdentityRecord.md +47 -0
  123. package/docs/api/interfaces/AgentRequestResult.md +35 -0
  124. package/docs/api/interfaces/AgentRuntimeManifest.md +55 -0
  125. package/docs/api/interfaces/AgentSecretGrant.md +41 -0
  126. package/docs/api/interfaces/AgentSigner.md +1 -1
  127. package/docs/api/interfaces/AgentVisibleRequestRecord.md +53 -0
  128. package/docs/api/interfaces/AgentVisibleSecretRecord.md +65 -0
  129. package/docs/api/interfaces/AuditEntry.md +83 -0
  130. package/docs/api/interfaces/CbioRuntime.md +13 -154
  131. package/docs/api/interfaces/CreateAgentClientOptions.md +4 -10
  132. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  133. package/docs/api/interfaces/{CreateVaultClientOptions.md → CreateOwnerClientOptions.md} +9 -11
  134. package/docs/api/interfaces/CreateOwnerSessionOptions.md +3 -121
  135. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -131
  136. package/docs/api/interfaces/CreateVaultOptions.md +1 -125
  137. package/docs/api/interfaces/CreatedVault.md +2 -2
  138. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -13
  139. package/docs/api/interfaces/DispatchAuthorization.md +43 -0
  140. package/docs/api/interfaces/DispatchInstruction.md +47 -0
  141. package/docs/api/interfaces/DispatchRequest.md +83 -0
  142. package/docs/api/interfaces/DispatchResult.md +53 -0
  143. package/docs/api/interfaces/IStorageProvider.md +13 -1
  144. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +31 -11
  145. package/docs/api/interfaces/InitializedVaultCustody.md +1 -7
  146. package/docs/api/interfaces/OwnerAgentProvisionResult.md +2 -2
  147. package/docs/api/interfaces/OwnerClient.md +401 -0
  148. package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
  149. package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
  150. package/docs/api/interfaces/OwnerRequestRecord.md +97 -0
  151. package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
  152. package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
  153. package/docs/api/interfaces/OwnerSession.md +3 -3
  154. package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
  155. package/docs/api/interfaces/OwnerVisibleRequestRecord.md +73 -0
  156. package/docs/api/interfaces/RecoverVaultOptions.md +1 -125
  157. package/docs/api/interfaces/RecoveredVault.md +2 -2
  158. package/docs/api/interfaces/RequestRecord.md +107 -0
  159. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  160. package/docs/api/interfaces/SecretAlias.md +11 -0
  161. package/docs/api/interfaces/SecretDestinationGrant.md +41 -0
  162. package/docs/api/interfaces/SecretId.md +11 -0
  163. package/docs/api/interfaces/SecretRecord.md +89 -0
  164. package/docs/api/interfaces/Signer.md +1 -1
  165. package/docs/api/interfaces/VaultApproveDispatchInput.md +3 -9
  166. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  167. package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -5
  168. package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
  169. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  170. package/docs/api/interfaces/VaultGetRequestInput.md +17 -0
  171. package/docs/api/interfaces/VaultGrantAgentSecretInput.md +23 -0
  172. package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +23 -0
  173. package/docs/api/interfaces/VaultId.md +11 -0
  174. package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
  175. package/docs/api/interfaces/VaultIssueSessionTokenInput.md +5 -5
  176. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  177. package/docs/api/interfaces/VaultListGrantsInput.md +23 -0
  178. package/docs/api/interfaces/VaultListRequestsInput.md +17 -0
  179. package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
  180. package/docs/api/interfaces/VaultMetadata.md +1 -1
  181. package/docs/api/interfaces/VaultObject.md +2 -2
  182. package/docs/api/interfaces/VaultPrincipal.md +17 -0
  183. package/docs/api/interfaces/VaultProfile.md +1 -1
  184. package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +7 -7
  185. package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
  186. package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +23 -0
  187. package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +23 -0
  188. package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
  189. package/docs/api/interfaces/VaultService.md +511 -0
  190. package/docs/api/interfaces/VaultUpdateAgentInput.md +7 -7
  191. package/docs/api/type-aliases/AgentId.md +7 -0
  192. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  193. package/docs/api/type-aliases/DispatchApprovalDecision.md +7 -0
  194. package/docs/api/type-aliases/GrantStatus.md +7 -0
  195. package/docs/api/type-aliases/SecretLifecycleStatus.md +7 -0
  196. package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
  197. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +2 -2
  198. package/docs/es/README.md +3 -3
  199. package/docs/fr/README.md +3 -3
  200. package/docs/ja/README.md +5 -5
  201. package/docs/ko/README.md +5 -5
  202. package/docs/pt/README.md +3 -3
  203. package/docs/zh/PROCESS_ISOLATION.md +2 -2
  204. package/docs/zh/README.md +47 -63
  205. package/examples/process-isolation.ts +26 -35
  206. package/package.json +1 -1
  207. package/docs/api/functions/createOwnerHttpFlowBoundary.md +0 -17
  208. package/docs/api/functions/createStandardAcquireBoundary.md +0 -31
  209. package/docs/api/functions/createStandardDispatchBoundary.md +0 -23
  210. package/docs/api/functions/createVaultClient.md +0 -32
  211. package/docs/api/functions/deriveIdentityId.md +0 -17
  212. package/docs/api/functions/wrapVaultCoreAsVaultService.md +0 -31
  213. package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +0 -41
  214. package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +0 -23
  215. package/docs/api/interfaces/VaultClient.md +0 -473
  216. package/docs/api/interfaces/VaultGrantCapabilityInput.md +0 -79
  217. package/docs/api/interfaces/VaultGrantCapabilityRequest.md +0 -23
  218. package/docs/api/interfaces/VaultIdentity.md +0 -11
  219. package/docs/api/interfaces/VaultListCapabilitiesInput.md +0 -17
  220. package/docs/api/interfaces/VaultRegisterFlowInput.md +0 -77
  221. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +0 -23
  222. package/docs/api/interfaces/VaultSigner.md +0 -21
  223. package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +0 -73
  224. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +0 -7
  225. package/docs/api/type-aliases/AgentVisibleSecretRecord.md +0 -7
  226. package/docs/api/type-aliases/CreateOwnerClientOptions.md +0 -7
  227. package/docs/api/type-aliases/OwnerAgentView.md +0 -7
  228. package/docs/api/type-aliases/OwnerClient.md +0 -13
  229. package/docs/api/type-aliases/OwnerGrantCapabilityInput.md +0 -7
  230. package/docs/api/type-aliases/OwnerPendingApprovalView.md +0 -7
  231. package/docs/api/type-aliases/OwnerRequestDetailView.md +0 -7
  232. package/docs/api/type-aliases/OwnerRequestSummaryView.md +0 -7
  233. package/docs/api/type-aliases/OwnerSecretView.md +0 -7
@@ -1,21 +1,18 @@
1
- [**CBIO Node Runtime Agent API v1.63.3**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.63.6**](../README.md)
2
2
 
3
3
  ***
4
4
 
5
5
  # Class: VaultCore
6
6
 
7
- The Sovereign Vault Core.
8
- This is the primary implementation of the Vault logic.
9
-
10
7
  ## Constructors
11
8
 
12
9
  ### Constructor
13
10
 
14
- > **new VaultCore**(`_deps`): `VaultCore`
11
+ > **new VaultCore**(`deps`): `VaultCore`
15
12
 
16
13
  #### Parameters
17
14
 
18
- ##### \_deps
15
+ ##### deps
19
16
 
20
17
  `VaultCoreDependencies`
21
18
 
@@ -29,241 +26,197 @@ This is the primary implementation of the Vault logic.
29
26
 
30
27
  #### Get Signature
31
28
 
32
- > **get** **vaultId**(): `VaultId`
29
+ > **get** **vaultId**(): [`VaultId`](../interfaces/VaultId.md)
33
30
 
34
31
  ##### Returns
35
32
 
36
- `VaultId`
33
+ [`VaultId`](../interfaces/VaultId.md)
37
34
 
38
35
  ## Methods
39
36
 
40
- ### \_getCapability()
41
-
42
- > **\_getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`AgentCapability` \| `null`\>
43
-
44
- #### Parameters
45
-
46
- ##### vaultId
47
-
48
- `VaultId`
49
-
50
- ##### agentId
51
-
52
- `string`
53
-
54
- ##### capabilityId
55
-
56
- `string`
57
-
58
- #### Returns
59
-
60
- `Promise`\<`AgentCapability` \| `null`\>
61
-
62
- ***
63
-
64
- ### \_storeCustomFlowSecret()
37
+ ### agentAuthorizeDispatch()
65
38
 
66
- > **\_storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`SecretRecord`\>
39
+ > **agentAuthorizeDispatch**(`request`): `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
67
40
 
68
41
  #### Parameters
69
42
 
70
- ##### flow
71
-
72
- `CustomHttpFlowDefinition`
73
-
74
- ##### alias
75
-
76
- `string`
77
-
78
- ##### plaintext
43
+ ##### request
79
44
 
80
- `string`
45
+ [`DispatchRequest`](../interfaces/DispatchRequest.md)
81
46
 
82
47
  #### Returns
83
48
 
84
- `Promise`\<`SecretRecord`\>
49
+ `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
85
50
 
86
51
  ***
87
52
 
88
- ### agentAuthorizeDispatch()
53
+ ### agentDispatchSecret()
89
54
 
90
- > **agentAuthorizeDispatch**(`request`): `Promise`\<`DispatchAuthorization`\>
55
+ > **agentDispatchSecret**(`request`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
91
56
 
92
57
  #### Parameters
93
58
 
94
59
  ##### request
95
60
 
96
- `DispatchRequest`
61
+ [`DispatchRequest`](../interfaces/DispatchRequest.md)
97
62
 
98
63
  #### Returns
99
64
 
100
- `Promise`\<`DispatchAuthorization`\>
65
+ `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
101
66
 
102
67
  ***
103
68
 
104
- ### agentDispatchSecret()
69
+ ### agentGetRequest()
105
70
 
106
- > **agentDispatchSecret**(`request`): `Promise`\<`DispatchResult`\>
71
+ > **agentGetRequest**(`command`): `Promise`\<`any`\>
107
72
 
108
73
  #### Parameters
109
74
 
110
- ##### request
75
+ ##### command
111
76
 
112
- `DispatchRequest`
77
+ ###### agent
113
78
 
114
- #### Returns
79
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
115
80
 
116
- `Promise`\<`DispatchResult`\>
81
+ ###### proof
117
82
 
118
- ***
83
+ `any`
119
84
 
120
- ### agentGetRequest()
85
+ ###### requestedAt
121
86
 
122
- > **agentGetRequest**(`request`): `Promise`\<`AgentRequestResult`\>
87
+ `string`
123
88
 
124
- #### Parameters
89
+ ###### requestId
125
90
 
126
- ##### request
91
+ `string`
92
+
93
+ ###### targetRequestId
127
94
 
128
- `AgentGetRequestRequest`
95
+ `string`
129
96
 
130
97
  #### Returns
131
98
 
132
- `Promise`\<`AgentRequestResult`\>
99
+ `Promise`\<`any`\>
133
100
 
134
101
  ***
135
102
 
136
103
  ### agentGetRuntimeManifest()
137
104
 
138
- > **agentGetRuntimeManifest**(`command`): `Promise`\<`AgentRuntimeManifest`\>
105
+ > **agentGetRuntimeManifest**(`command`): `Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
139
106
 
140
107
  #### Parameters
141
108
 
142
109
  ##### command
143
110
 
144
- `AgentGetRuntimeManifestRequest`
111
+ ###### agent
145
112
 
146
- #### Returns
147
-
148
- `Promise`\<`AgentRuntimeManifest`\>
113
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
149
114
 
150
- ***
115
+ ###### proof
151
116
 
152
- ### agentListCapabilities()
117
+ `any`
153
118
 
154
- > **agentListCapabilities**(`request`): `Promise`\<readonly `AgentCapabilityState`[]\>
119
+ ###### requestedAt
155
120
 
156
- #### Parameters
121
+ `string`
157
122
 
158
- ##### request
123
+ ###### requestId
159
124
 
160
- `AgentListCapabilitiesRequest`
125
+ `string`
161
126
 
162
127
  #### Returns
163
128
 
164
- `Promise`\<readonly `AgentCapabilityState`[]\>
129
+ `Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
165
130
 
166
131
  ***
167
132
 
168
133
  ### agentListRequests()
169
134
 
170
- > **agentListRequests**(`request`): `Promise`\<readonly `AgentVisibleRequestRecord`[]\>
135
+ > **agentListRequests**(`command`): `Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
171
136
 
172
137
  #### Parameters
173
138
 
174
- ##### request
139
+ ##### command
175
140
 
176
- `AgentListRequestsRequest`
141
+ ###### agent
177
142
 
178
- #### Returns
143
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
179
144
 
180
- `Promise`\<readonly `AgentVisibleRequestRecord`[]\>
145
+ ###### proof
181
146
 
182
- ***
147
+ `any`
183
148
 
184
- ### agentListSecrets()
185
-
186
- > **agentListSecrets**(`request`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
149
+ ###### requestedAt
187
150
 
188
- #### Parameters
151
+ `string`
189
152
 
190
- ##### request
153
+ ###### requestId
191
154
 
192
- `AgentListSecretsRequest`
155
+ `string`
193
156
 
194
157
  #### Returns
195
158
 
196
- `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
159
+ `Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
197
160
 
198
161
  ***
199
162
 
200
- ### agentSubmitCapabilityRequest()
163
+ ### agentListSecrets()
201
164
 
202
- > **agentSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
165
+ > **agentListSecrets**(`command`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
203
166
 
204
167
  #### Parameters
205
168
 
206
169
  ##### command
207
170
 
208
- `AgentSubmitCapabilityRequestCommand`
171
+ ###### agent
209
172
 
210
- #### Returns
211
-
212
- `Promise`\<`CapabilityStateRecord`\>
173
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
213
174
 
214
- ***
175
+ ###### proof
215
176
 
216
- ### ownerAllowAlways()
177
+ `any`
217
178
 
218
- > **ownerAllowAlways**(`command`): `Promise`\<`DispatchResult`\>
179
+ ###### requestedAt
219
180
 
220
- #### Parameters
181
+ `string`
221
182
 
222
- ##### command
183
+ ###### requestId
223
184
 
224
- `OwnerAllowAlwaysCommand`
185
+ `string`
225
186
 
226
187
  #### Returns
227
188
 
228
- `Promise`\<`DispatchResult`\>
189
+ `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
229
190
 
230
191
  ***
231
192
 
232
- ### ownerAllowOnce()
193
+ ### ownerApproveDispatch()
233
194
 
234
- > **ownerAllowOnce**(`command`): `Promise`\<`DispatchResult`\>
195
+ > **ownerApproveDispatch**(`actor`, `requestId`, `decision`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
235
196
 
236
197
  #### Parameters
237
198
 
238
- ##### command
239
-
240
- `OwnerAllowOnceCommand`
241
-
242
- #### Returns
243
-
244
- `Promise`\<`DispatchResult`\>
245
-
246
- ***
199
+ ##### actor
247
200
 
248
- ### ownerApproveCapabilityRead()
201
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
249
202
 
250
- > **ownerApproveCapabilityRead**(`command`): `Promise`\<`CapabilityStateRecord`\>
203
+ ##### requestId
251
204
 
252
- #### Parameters
205
+ `string`
253
206
 
254
- ##### command
207
+ ##### decision
255
208
 
256
- `OwnerApproveCapabilityReadCommand`
209
+ [`DispatchApprovalDecision`](../type-aliases/DispatchApprovalDecision.md)
257
210
 
258
211
  #### Returns
259
212
 
260
- `Promise`\<`CapabilityStateRecord`\>
213
+ `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
261
214
 
262
215
  ***
263
216
 
264
217
  ### ownerCreateSecret()
265
218
 
266
- > **ownerCreateSecret**(`command`): `Promise`\<`SecretRecord`\>
219
+ > **ownerCreateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
267
220
 
268
221
  #### Parameters
269
222
 
@@ -273,231 +226,247 @@ This is the primary implementation of the Vault logic.
273
226
 
274
227
  #### Returns
275
228
 
276
- `Promise`\<`SecretRecord`\>
229
+ `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
277
230
 
278
231
  ***
279
232
 
280
- ### ownerDeleteSecret()
233
+ ### ownerExportSecret()
281
234
 
282
- > **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
235
+ > **ownerExportSecret**(`actor`, `alias`): `Promise`\<`OwnerSecretExport`\>
283
236
 
284
237
  #### Parameters
285
238
 
286
- ##### command
239
+ ##### actor
287
240
 
288
- `OwnerDeleteSecretCommand`
241
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
242
+
243
+ ##### alias
244
+
245
+ `string`
289
246
 
290
247
  #### Returns
291
248
 
292
- `Promise`\<`void`\>
249
+ `Promise`\<`OwnerSecretExport`\>
293
250
 
294
251
  ***
295
252
 
296
- ### ownerDeny()
253
+ ### ownerGetRequest()
297
254
 
298
- > **ownerDeny**(`command`): `Promise`\<`CapabilityStateRecord`\>
255
+ > **ownerGetRequest**(`actor`, `requestId`): `Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
299
256
 
300
257
  #### Parameters
301
258
 
302
- ##### command
259
+ ##### actor
260
+
261
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
303
262
 
304
- `OwnerDenyCommand`
263
+ ##### requestId
264
+
265
+ `string`
305
266
 
306
267
  #### Returns
307
268
 
308
- `Promise`\<`CapabilityStateRecord`\>
269
+ `Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
309
270
 
310
271
  ***
311
272
 
312
- ### ownerExportSecret()
273
+ ### ownerGrantAgentSecret()
313
274
 
314
- > **ownerExportSecret**(`actor`, `alias`, `request?`): `Promise`\<`OwnerSecretExport`\>
275
+ > **ownerGrantAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
315
276
 
316
277
  #### Parameters
317
278
 
318
279
  ##### actor
319
280
 
320
- `VaultPrincipal` & `object`
281
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
321
282
 
322
- ##### alias
283
+ ##### rootAgentId
284
+
285
+ `string`
286
+
287
+ ##### secretAlias
323
288
 
324
289
  `string`
325
290
 
326
291
  ##### request?
327
292
 
328
- `Omit`\<`OwnerExportSecretRequest`, `"vaultId"` \| `"actor"` \| `"alias"`\>
293
+ ###### requestId?
294
+
295
+ `string`
329
296
 
330
297
  #### Returns
331
298
 
332
- `Promise`\<`OwnerSecretExport`\>
299
+ `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
333
300
 
334
301
  ***
335
302
 
336
- ### ownerGetRequest()
303
+ ### ownerGrantSecretDestination()
337
304
 
338
- > **ownerGetRequest**(`actor`, `targetRequestId`, `request?`): `Promise`\<`OwnerRequestRecord`\>
305
+ > **ownerGrantSecretDestination**(`actor`, `secretAlias`, `siteId`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
339
306
 
340
307
  #### Parameters
341
308
 
342
309
  ##### actor
343
310
 
344
- `VaultPrincipal` & `object`
311
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
345
312
 
346
- ##### targetRequestId
313
+ ##### secretAlias
314
+
315
+ `string`
316
+
317
+ ##### siteId
347
318
 
348
319
  `string`
349
320
 
350
321
  ##### request?
351
322
 
352
- `Omit`\<`OwnerGetRequestRequest`, `"vaultId"` \| `"actor"` \| `"targetRequestId"`\>
323
+ ###### requestId?
324
+
325
+ `string`
353
326
 
354
327
  #### Returns
355
328
 
356
- `Promise`\<`OwnerRequestRecord`\>
329
+ `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
357
330
 
358
331
  ***
359
332
 
360
333
  ### ownerIssueAllAgentSessionTokens()
361
334
 
362
- > **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`OwnerSessionToken`[]\>
335
+ > **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`object`[]\>
363
336
 
364
337
  #### Parameters
365
338
 
366
339
  ##### actor
367
340
 
368
- `VaultPrincipal` & `object`
341
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
369
342
 
370
343
  #### Returns
371
344
 
372
- `Promise`\<`OwnerSessionToken`[]\>
345
+ `Promise`\<`object`[]\>
373
346
 
374
347
  ***
375
348
 
376
349
  ### ownerIssueSessionToken()
377
350
 
378
- > **ownerIssueSessionToken**(`request`): `Promise`\<`OwnerSessionToken`\>
351
+ > **ownerIssueSessionToken**(`request`): `Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
379
352
 
380
353
  #### Parameters
381
354
 
382
355
  ##### request
383
356
 
384
- `OwnerIssueSessionTokenRequest`
357
+ ###### actor
358
+
359
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
360
+
361
+ ###### rootAgentId
362
+
363
+ `string`
364
+
365
+ ###### vaultId
366
+
367
+ [`VaultId`](../interfaces/VaultId.md)
385
368
 
386
369
  #### Returns
387
370
 
388
- `Promise`\<`OwnerSessionToken`\>
371
+ `Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
389
372
 
390
373
  ***
391
374
 
392
375
  ### ownerListAgents()
393
376
 
394
- > **ownerListAgents**(`actor`, `request?`): `Promise`\<readonly `AgentIdentityRecord`[]\>
377
+ > **ownerListAgents**(`actor`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
395
378
 
396
379
  #### Parameters
397
380
 
398
381
  ##### actor
399
382
 
400
- `VaultPrincipal` & `object`
401
-
402
- ##### request?
403
-
404
- `Omit`\<`OwnerListAgentsRequest`, `"vaultId"` \| `"actor"`\>
383
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
405
384
 
406
385
  #### Returns
407
386
 
408
- `Promise`\<readonly `AgentIdentityRecord`[]\>
387
+ `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
409
388
 
410
389
  ***
411
390
 
412
- ### ownerListCapabilities()
391
+ ### ownerListGrants()
413
392
 
414
- > **ownerListCapabilities**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `AgentCapability`[]\>
393
+ > **ownerListGrants**(`actor`, `rootAgentId?`, `secretAlias?`): `Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
415
394
 
416
395
  #### Parameters
417
396
 
418
397
  ##### actor
419
398
 
420
- `VaultPrincipal` & `object`
399
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
421
400
 
422
- ##### agentId?
401
+ ##### rootAgentId?
423
402
 
424
403
  `string`
425
404
 
426
- ##### request?
405
+ ##### secretAlias?
427
406
 
428
- `Omit`\<`OwnerListCapabilitiesRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
407
+ `string`
429
408
 
430
409
  #### Returns
431
410
 
432
- `Promise`\<readonly `AgentCapability`[]\>
411
+ `Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
433
412
 
434
413
  ***
435
414
 
436
- ### ownerListCapabilityStates()
415
+ ### ownerListRequests()
437
416
 
438
- > **ownerListCapabilityStates**(`command`): `Promise`\<readonly `CapabilityStateRecord`[]\>
417
+ > **ownerListRequests**(`actor`, `rootAgentId?`): `Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
439
418
 
440
419
  #### Parameters
441
420
 
442
- ##### command
421
+ ##### actor
443
422
 
444
- `OwnerListCapabilityStatesRequest`
423
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
424
+
425
+ ##### rootAgentId?
426
+
427
+ `string`
445
428
 
446
429
  #### Returns
447
430
 
448
- `Promise`\<readonly `CapabilityStateRecord`[]\>
431
+ `Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
449
432
 
450
433
  ***
451
434
 
452
- ### ownerListRequests()
435
+ ### ownerListSecrets()
453
436
 
454
- > **ownerListRequests**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `OwnerVisibleRequestRecord`[]\>
437
+ > **ownerListSecrets**(`actor`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
455
438
 
456
439
  #### Parameters
457
440
 
458
441
  ##### actor
459
442
 
460
- `VaultPrincipal` & `object`
461
-
462
- ##### agentId?
463
-
464
- `string`
465
-
466
- ##### request?
467
-
468
- `Omit`\<`OwnerListRequestsRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
443
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
469
444
 
470
445
  #### Returns
471
446
 
472
- `Promise`\<readonly `OwnerVisibleRequestRecord`[]\>
447
+ `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
473
448
 
474
449
  ***
475
450
 
476
- ### ownerListSecrets()
451
+ ### ownerOnGrantState()
477
452
 
478
- > **ownerListSecrets**(`actor`, `request?`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
453
+ > **ownerOnGrantState**(`callback`): () => `void`
479
454
 
480
455
  #### Parameters
481
456
 
482
- ##### actor
483
-
484
- `VaultPrincipal` & `object`
485
-
486
- ##### request?
487
-
488
- ###### requestId?
457
+ ##### callback
489
458
 
490
- `string`
459
+ (`record`) => `void`
491
460
 
492
461
  #### Returns
493
462
 
494
- `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
463
+ () => `void`
495
464
 
496
465
  ***
497
466
 
498
- ### ownerOnCapabilityState()
467
+ ### ownerOnPendingDispatch()
499
468
 
500
- > **ownerOnCapabilityState**(`callback`): () => `void`
469
+ > **ownerOnPendingDispatch**(`callback`): () => `void`
501
470
 
502
471
  #### Parameters
503
472
 
@@ -513,25 +482,21 @@ This is the primary implementation of the Vault logic.
513
482
 
514
483
  ### ownerReadAudit()
515
484
 
516
- > **ownerReadAudit**(`actor`, `query`, `request?`): `Promise`\<readonly `AuditEntry`[]\>
485
+ > **ownerReadAudit**(`actor`, `query`): `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
517
486
 
518
487
  #### Parameters
519
488
 
520
489
  ##### actor
521
490
 
522
- `VaultPrincipal` & `object`
491
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
523
492
 
524
493
  ##### query
525
494
 
526
495
  `AuditQuery`
527
496
 
528
- ##### request?
529
-
530
- `Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
531
-
532
497
  #### Returns
533
498
 
534
- `Promise`\<readonly `AuditEntry`[]\>
499
+ `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
535
500
 
536
501
  ***
537
502
 
@@ -543,23 +508,25 @@ This is the primary implementation of the Vault logic.
543
508
 
544
509
  ##### command
545
510
 
546
- `OwnerRegisterAgentIdentityCommand`
511
+ ###### agentRecord
547
512
 
548
- #### Returns
513
+ [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)
549
514
 
550
- `Promise`\<`void`\>
515
+ ###### owner
551
516
 
552
- ***
517
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
553
518
 
554
- ### ownerRegisterCapability()
519
+ ###### requestedAt
555
520
 
556
- > **ownerRegisterCapability**(`command`): `Promise`\<`void`\>
521
+ `string`
557
522
 
558
- #### Parameters
523
+ ###### requestId
559
524
 
560
- ##### command
525
+ `string`
561
526
 
562
- `OwnerRegisterCapabilityCommand`
527
+ ###### vaultId
528
+
529
+ [`VaultId`](../interfaces/VaultId.md)
563
530
 
564
531
  #### Returns
565
532
 
@@ -567,15 +534,37 @@ This is the primary implementation of the Vault logic.
567
534
 
568
535
  ***
569
536
 
570
- ### ownerRegisterCustomFlow()
537
+ ### ownerRemoveSecret()
571
538
 
572
- > **ownerRegisterCustomFlow**(`command`): `Promise`\<`void`\>
539
+ > **ownerRemoveSecret**(`command`): `Promise`\<`void`\>
573
540
 
574
541
  #### Parameters
575
542
 
576
543
  ##### command
577
544
 
578
- `OwnerRegisterCustomHttpFlowCommand`
545
+ ###### alias
546
+
547
+ `string`
548
+
549
+ ###### kind
550
+
551
+ `"owner.remove_secret"`
552
+
553
+ ###### owner
554
+
555
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
556
+
557
+ ###### requestedAt
558
+
559
+ `string`
560
+
561
+ ###### requestId
562
+
563
+ `string`
564
+
565
+ ###### vaultId
566
+
567
+ [`VaultId`](../interfaces/VaultId.md)
579
568
 
580
569
  #### Returns
581
570
 
@@ -583,15 +572,29 @@ This is the primary implementation of the Vault logic.
583
572
 
584
573
  ***
585
574
 
586
- ### ownerRemoveSecret()
575
+ ### ownerRevokeAgentSecret()
587
576
 
588
- > **ownerRemoveSecret**(`command`): `Promise`\<`void`\>
577
+ > **ownerRevokeAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<`void`\>
589
578
 
590
579
  #### Parameters
591
580
 
592
- ##### command
581
+ ##### actor
582
+
583
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
593
584
 
594
- `OwnerDeleteSecretCommand`
585
+ ##### rootAgentId
586
+
587
+ `string`
588
+
589
+ ##### secretAlias
590
+
591
+ `string`
592
+
593
+ ##### request?
594
+
595
+ ###### requestId?
596
+
597
+ `string`
595
598
 
596
599
  #### Returns
597
600
 
@@ -599,15 +602,29 @@ This is the primary implementation of the Vault logic.
599
602
 
600
603
  ***
601
604
 
602
- ### ownerRevokeCapability()
605
+ ### ownerRevokeSecretDestination()
603
606
 
604
- > **ownerRevokeCapability**(`command`): `Promise`\<`void`\>
607
+ > **ownerRevokeSecretDestination**(`actor`, `secretAlias`, `siteId`, `request?`): `Promise`\<`void`\>
605
608
 
606
609
  #### Parameters
607
610
 
608
- ##### command
611
+ ##### actor
612
+
613
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
609
614
 
610
- `OwnerRevokeCapabilityCommand`
615
+ ##### secretAlias
616
+
617
+ `string`
618
+
619
+ ##### siteId
620
+
621
+ `string`
622
+
623
+ ##### request?
624
+
625
+ ###### requestId?
626
+
627
+ `string`
611
628
 
612
629
  #### Returns
613
630
 
@@ -625,7 +642,7 @@ This is the primary implementation of the Vault logic.
625
642
 
626
643
  ###### actor
627
644
 
628
- `VaultPrincipal` & `object`
645
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
629
646
 
630
647
  ###### token
631
648
 
@@ -633,7 +650,7 @@ This is the primary implementation of the Vault logic.
633
650
 
634
651
  ###### vaultId
635
652
 
636
- `VaultId`
653
+ [`VaultId`](../interfaces/VaultId.md)
637
654
 
638
655
  #### Returns
639
656
 
@@ -641,41 +658,51 @@ This is the primary implementation of the Vault logic.
641
658
 
642
659
  ***
643
660
 
644
- ### ownerSubmitCapabilityRequest()
661
+ ### ownerUpdateAgentIdentity()
645
662
 
646
- > **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
663
+ > **ownerUpdateAgentIdentity**(`command`): `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
647
664
 
648
665
  #### Parameters
649
666
 
650
667
  ##### command
651
668
 
652
- `SubmitCapabilityRequestCommand`
669
+ ###### metadata?
653
670
 
654
- #### Returns
671
+ `Record`\<`string`, `any`\>
655
672
 
656
- `Promise`\<`CapabilityStateRecord`\>
673
+ ###### nickname?
657
674
 
658
- ***
675
+ `string`
659
676
 
660
- ### ownerUpdateAgentIdentity()
677
+ ###### owner
661
678
 
662
- > **ownerUpdateAgentIdentity**(`command`): `Promise`\<`AgentIdentityRecord`\>
679
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
663
680
 
664
- #### Parameters
681
+ ###### requestedAt
665
682
 
666
- ##### command
683
+ `string`
684
+
685
+ ###### requestId
686
+
687
+ `string`
688
+
689
+ ###### rootAgentId
690
+
691
+ `string`
692
+
693
+ ###### vaultId
667
694
 
668
- `OwnerUpdateAgentIdentityCommand`
695
+ [`VaultId`](../interfaces/VaultId.md)
669
696
 
670
697
  #### Returns
671
698
 
672
- `Promise`\<`AgentIdentityRecord`\>
699
+ `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
673
700
 
674
701
  ***
675
702
 
676
703
  ### ownerUpdateSecret()
677
704
 
678
- > **ownerUpdateSecret**(`command`): `Promise`\<`SecretRecord`\>
705
+ > **ownerUpdateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
679
706
 
680
707
  #### Parameters
681
708
 
@@ -685,20 +712,20 @@ This is the primary implementation of the Vault logic.
685
712
 
686
713
  #### Returns
687
714
 
688
- `Promise`\<`SecretRecord`\>
715
+ `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
689
716
 
690
717
  ***
691
718
 
692
719
  ### ownerWriteSecret()
693
720
 
694
- > **ownerWriteSecret**(`command`): `Promise`\<`SecretRecord`\>
721
+ > **ownerWriteSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
695
722
 
696
723
  #### Parameters
697
724
 
698
725
  ##### command
699
726
 
700
- `VaultWriteSecretCommand`
727
+ `any`
701
728
 
702
729
  #### Returns
703
730
 
704
- `Promise`\<`SecretRecord`\>
731
+ `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>