@the-ai-company/cbio-node-runtime 1.69.0 → 1.71.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 (158) hide show
  1. package/README.md +25 -0
  2. package/dist/clients/owner/client.js +39 -4
  3. package/dist/clients/owner/client.js.map +1 -1
  4. package/dist/clients/owner/contracts.d.ts +3 -1
  5. package/dist/public-types.d.ts +2 -1
  6. package/dist/public-types.js.map +1 -1
  7. package/dist/runtime/index.d.ts +4 -2
  8. package/dist/runtime/index.js +1 -1
  9. package/dist/runtime/index.js.map +1 -1
  10. package/dist/vault-core/contracts.d.ts +26 -28
  11. package/dist/vault-core/contracts.js +0 -6
  12. package/dist/vault-core/contracts.js.map +1 -1
  13. package/dist/vault-core/core.d.ts +8 -6
  14. package/dist/vault-core/core.js +125 -52
  15. package/dist/vault-core/core.js.map +1 -1
  16. package/dist/vault-core/defaults.d.ts +11 -11
  17. package/dist/vault-core/defaults.js +75 -35
  18. package/dist/vault-core/defaults.js.map +1 -1
  19. package/dist/vault-core/index.d.ts +3 -3
  20. package/dist/vault-core/index.js +1 -1
  21. package/dist/vault-core/index.js.map +1 -1
  22. package/dist/vault-core/persistence.d.ts +39 -42
  23. package/dist/vault-core/persistence.js +332 -372
  24. package/dist/vault-core/persistence.js.map +1 -1
  25. package/dist/vault-core/ports.d.ts +9 -8
  26. package/dist/vault-ingress/index.d.ts +22 -0
  27. package/dist/vault-ingress/index.js +40 -14
  28. package/dist/vault-ingress/index.js.map +1 -1
  29. package/dist/vault-ingress/server-utils.d.ts +30 -0
  30. package/dist/vault-ingress/server-utils.js +151 -0
  31. package/dist/vault-ingress/server-utils.js.map +1 -1
  32. package/docs/ARCHITECTURE.md +3 -3
  33. package/docs/REFERENCE.md +7 -3
  34. package/docs/api/README.md +5 -2
  35. package/docs/api/classes/IdentityError.md +1 -1
  36. package/docs/api/classes/OwnerClientError.md +1 -1
  37. package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +9 -5
  38. package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +11 -11
  39. package/docs/api/classes/PersistentVaultAuditLog.md +29 -5
  40. package/docs/api/classes/PersistentVaultSecretCustody.md +5 -5
  41. package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +14 -14
  42. package/docs/api/classes/PersistentVaultSecretRepository.md +5 -5
  43. package/docs/api/classes/VaultCore.md +32 -16
  44. package/docs/api/classes/VaultCoreError.md +1 -1
  45. package/docs/api/enumerations/AuditOperation.md +1 -37
  46. package/docs/api/enumerations/DispatchStatus.md +1 -1
  47. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  48. package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
  49. package/docs/api/functions/createAgentClient.md +1 -1
  50. package/docs/api/functions/createIdentity.md +1 -1
  51. package/docs/api/functions/createOwnerClient.md +1 -1
  52. package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
  53. package/docs/api/functions/createVault.md +1 -1
  54. package/docs/api/functions/createVaultCore.md +1 -1
  55. package/docs/api/functions/createVaultCoreDependencies.md +1 -1
  56. package/docs/api/functions/createVaultService.md +1 -1
  57. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  58. package/docs/api/functions/deriveRootAgentId.md +1 -1
  59. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
  60. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  61. package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
  62. package/docs/api/functions/handleVaultAuditSse.md +30 -0
  63. package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
  64. package/docs/api/functions/handleVaultPendingDispatchSse.md +30 -0
  65. package/docs/api/functions/initializeVaultCustody.md +1 -1
  66. package/docs/api/functions/listVaults.md +1 -1
  67. package/docs/api/functions/openOwnerSession.md +1 -1
  68. package/docs/api/functions/readVaultProfile.md +1 -1
  69. package/docs/api/functions/recoverVault.md +1 -1
  70. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  71. package/docs/api/functions/restoreIdentity.md +1 -1
  72. package/docs/api/functions/updateVaultMetadata.md +1 -1
  73. package/docs/api/functions/writeVaultProfile.md +1 -1
  74. package/docs/api/interfaces/AgentClient.md +1 -1
  75. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  76. package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
  77. package/docs/api/interfaces/AgentIdentity.md +1 -1
  78. package/docs/api/interfaces/AgentIdentityRecord.md +1 -1
  79. package/docs/api/interfaces/AgentRequestRecord.md +11 -1
  80. package/docs/api/interfaces/AgentRuntimeManifest.md +1 -1
  81. package/docs/api/interfaces/AgentSecretGrant.md +3 -3
  82. package/docs/api/interfaces/AgentSigner.md +1 -1
  83. package/docs/api/interfaces/AgentVisibleRequestRecord.md +7 -1
  84. package/docs/api/interfaces/AgentVisibleSecretRecord.md +1 -1
  85. package/docs/api/interfaces/AuditEntry.md +1 -1
  86. package/docs/api/interfaces/CbioRuntime.md +59 -1
  87. package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
  88. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  89. package/docs/api/interfaces/CreateOwnerClientOptions.md +1 -1
  90. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
  91. package/docs/api/interfaces/CreateVaultOptions.md +1 -1
  92. package/docs/api/interfaces/CreatedVault.md +1 -1
  93. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -23
  94. package/docs/api/interfaces/DispatchAuthorization.md +1 -1
  95. package/docs/api/interfaces/DispatchInstruction.md +1 -1
  96. package/docs/api/interfaces/DispatchRequest.md +1 -1
  97. package/docs/api/interfaces/DispatchResult.md +1 -1
  98. package/docs/api/interfaces/IStorageProvider.md +1 -1
  99. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  100. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  101. package/docs/api/interfaces/OpenOwnerSessionOptions.md +1 -1
  102. package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
  103. package/docs/api/interfaces/OwnerAuditSubscription.md +45 -0
  104. package/docs/api/interfaces/OwnerClient.md +17 -1
  105. package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
  106. package/docs/api/interfaces/OwnerPendingDispatchSubscription.md +1 -1
  107. package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
  108. package/docs/api/interfaces/OwnerRequestRecord.md +11 -1
  109. package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
  110. package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
  111. package/docs/api/interfaces/OwnerSession.md +1 -1
  112. package/docs/api/interfaces/OwnerUpdateSecretInput.md +9 -3
  113. package/docs/api/interfaces/OwnerVisibleRequestRecord.md +7 -1
  114. package/docs/api/interfaces/PendingDispatchEvent.md +1 -1
  115. package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
  116. package/docs/api/interfaces/RecoveredVault.md +1 -1
  117. package/docs/api/interfaces/RequestRecord.md +5 -1
  118. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  119. package/docs/api/interfaces/SecretAlias.md +1 -1
  120. package/docs/api/interfaces/SecretDestinationGrant.md +3 -3
  121. package/docs/api/interfaces/SecretId.md +1 -1
  122. package/docs/api/interfaces/SecretRecord.md +1 -1
  123. package/docs/api/interfaces/Signer.md +1 -1
  124. package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
  125. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  126. package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
  127. package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
  128. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  129. package/docs/api/interfaces/VaultGetRequestInput.md +1 -1
  130. package/docs/api/interfaces/VaultGrantAgentSecretInput.md +1 -1
  131. package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +1 -1
  132. package/docs/api/interfaces/VaultId.md +1 -1
  133. package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
  134. package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
  135. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  136. package/docs/api/interfaces/VaultListGrantsInput.md +1 -1
  137. package/docs/api/interfaces/VaultListRequestsInput.md +1 -1
  138. package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
  139. package/docs/api/interfaces/VaultMetadata.md +1 -1
  140. package/docs/api/interfaces/VaultObject.md +1 -1
  141. package/docs/api/interfaces/VaultPrincipal.md +1 -1
  142. package/docs/api/interfaces/VaultProfile.md +1 -1
  143. package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +1 -1
  144. package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
  145. package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +1 -1
  146. package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +1 -1
  147. package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
  148. package/docs/api/interfaces/VaultService.md +17 -1
  149. package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
  150. package/docs/api/type-aliases/AgentId.md +1 -1
  151. package/docs/api/type-aliases/AgentRequestResult.md +1 -1
  152. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  153. package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
  154. package/docs/api/type-aliases/GrantStatus.md +1 -1
  155. package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
  156. package/docs/api/type-aliases/VaultPrincipalKind.md +2 -2
  157. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  158. package/package.json +10 -3
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -12,23 +12,23 @@
12
12
 
13
13
  ### Constructor
14
14
 
15
- > **new PersistentVaultAgentSecretGrantRegistry**(`baseDir`): `FileAgentSecretGrantRegistry`
15
+ > **new PersistentVaultAgentSecretGrantRegistry**(`db`): `SqliteAgentSecretGrantRegistry`
16
16
 
17
17
  #### Parameters
18
18
 
19
- ##### baseDir
19
+ ##### db
20
20
 
21
- `string`
21
+ `Database`
22
22
 
23
23
  #### Returns
24
24
 
25
- `FileAgentSecretGrantRegistry`
25
+ `SqliteAgentSecretGrantRegistry`
26
26
 
27
27
  ## Methods
28
28
 
29
29
  ### delete()
30
30
 
31
- > **delete**(`vault_id`, `root_agent_id`, `secret_alias`): `Promise`\<`void`\>
31
+ > **delete**(`vault_id`, `root_agent_id`, `secret_id`): `Promise`\<`void`\>
32
32
 
33
33
  #### Parameters
34
34
 
@@ -40,9 +40,9 @@
40
40
 
41
41
  `string`
42
42
 
43
- ##### secret\_alias
43
+ ##### secret\_id
44
44
 
45
- `string`
45
+ [`SecretId`](../interfaces/SecretId.md)
46
46
 
47
47
  #### Returns
48
48
 
@@ -56,7 +56,7 @@
56
56
 
57
57
  ### get()
58
58
 
59
- > **get**(`vault_id`, `root_agent_id`, `secret_alias`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md) \| `null`\>
59
+ > **get**(`vault_id`, `root_agent_id`, `secret_id`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md) \| `null`\>
60
60
 
61
61
  #### Parameters
62
62
 
@@ -68,9 +68,9 @@
68
68
 
69
69
  `string`
70
70
 
71
- ##### secret\_alias
71
+ ##### secret\_id
72
72
 
73
- `string`
73
+ [`SecretId`](../interfaces/SecretId.md)
74
74
 
75
75
  #### Returns
76
76
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -12,17 +12,17 @@
12
12
 
13
13
  ### Constructor
14
14
 
15
- > **new PersistentVaultAuditLog**(`baseDir`): `FileAuditLog`
15
+ > **new PersistentVaultAuditLog**(`db`): `SqliteAuditLog`
16
16
 
17
17
  #### Parameters
18
18
 
19
- ##### baseDir
19
+ ##### db
20
20
 
21
- `string`
21
+ `Database`
22
22
 
23
23
  #### Returns
24
24
 
25
- `FileAuditLog`
25
+ `SqliteAuditLog`
26
26
 
27
27
  ## Methods
28
28
 
@@ -63,3 +63,27 @@
63
63
  #### Implementation of
64
64
 
65
65
  `AuditLog.query`
66
+
67
+ ***
68
+
69
+ ### subscribe()
70
+
71
+ > **subscribe**(`vault_id`, `subscription`): () => `void`
72
+
73
+ #### Parameters
74
+
75
+ ##### vault\_id
76
+
77
+ [`VaultId`](../interfaces/VaultId.md)
78
+
79
+ ##### subscription
80
+
81
+ [`OwnerAuditSubscription`](../interfaces/OwnerAuditSubscription.md)
82
+
83
+ #### Returns
84
+
85
+ () => `void`
86
+
87
+ #### Implementation of
88
+
89
+ `AuditLog.subscribe`
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -12,13 +12,13 @@
12
12
 
13
13
  ### Constructor
14
14
 
15
- > **new PersistentVaultSecretCustody**(`baseDir`, `workingKey`): `FileSecretCustody`
15
+ > **new PersistentVaultSecretCustody**(`db`, `workingKey`): `SqliteSecretCustody`
16
16
 
17
17
  #### Parameters
18
18
 
19
- ##### baseDir
19
+ ##### db
20
20
 
21
- `string`
21
+ `Database`
22
22
 
23
23
  ##### workingKey
24
24
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  #### Returns
28
28
 
29
- `FileSecretCustody`
29
+ `SqliteSecretCustody`
30
30
 
31
31
  ## Methods
32
32
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -12,23 +12,23 @@
12
12
 
13
13
  ### Constructor
14
14
 
15
- > **new PersistentVaultSecretDestinationGrantRegistry**(`baseDir`): `FileSecretDestinationGrantRegistry`
15
+ > **new PersistentVaultSecretDestinationGrantRegistry**(`db`): `SqliteSecretDestinationGrantRegistry`
16
16
 
17
17
  #### Parameters
18
18
 
19
- ##### baseDir
19
+ ##### db
20
20
 
21
- `string`
21
+ `Database`
22
22
 
23
23
  #### Returns
24
24
 
25
- `FileSecretDestinationGrantRegistry`
25
+ `SqliteSecretDestinationGrantRegistry`
26
26
 
27
27
  ## Methods
28
28
 
29
29
  ### delete()
30
30
 
31
- > **delete**(`vault_id`, `secret_alias`, `site_id`): `Promise`\<`void`\>
31
+ > **delete**(`vault_id`, `secret_id`, `site_id`): `Promise`\<`void`\>
32
32
 
33
33
  #### Parameters
34
34
 
@@ -36,9 +36,9 @@
36
36
 
37
37
  [`VaultId`](../interfaces/VaultId.md)
38
38
 
39
- ##### secret\_alias
39
+ ##### secret\_id
40
40
 
41
- `string`
41
+ [`SecretId`](../interfaces/SecretId.md)
42
42
 
43
43
  ##### site\_id
44
44
 
@@ -56,7 +56,7 @@
56
56
 
57
57
  ### get()
58
58
 
59
- > **get**(`vault_id`, `secret_alias`, `site_id`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md) \| `null`\>
59
+ > **get**(`vault_id`, `secret_id`, `site_id`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md) \| `null`\>
60
60
 
61
61
  #### Parameters
62
62
 
@@ -64,9 +64,9 @@
64
64
 
65
65
  [`VaultId`](../interfaces/VaultId.md)
66
66
 
67
- ##### secret\_alias
67
+ ##### secret\_id
68
68
 
69
- `string`
69
+ [`SecretId`](../interfaces/SecretId.md)
70
70
 
71
71
  ##### site\_id
72
72
 
@@ -84,7 +84,7 @@
84
84
 
85
85
  ### list()
86
86
 
87
- > **list**(`vault_id`, `secret_alias?`): `Promise`\<readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]\>
87
+ > **list**(`vault_id`, `secret_id?`): `Promise`\<readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]\>
88
88
 
89
89
  #### Parameters
90
90
 
@@ -92,9 +92,9 @@
92
92
 
93
93
  [`VaultId`](../interfaces/VaultId.md)
94
94
 
95
- ##### secret\_alias?
95
+ ##### secret\_id?
96
96
 
97
- `string`
97
+ [`SecretId`](../interfaces/SecretId.md)
98
98
 
99
99
  #### Returns
100
100
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -12,17 +12,17 @@
12
12
 
13
13
  ### Constructor
14
14
 
15
- > **new PersistentVaultSecretRepository**(`baseDir`): `FileSecretRepository`
15
+ > **new PersistentVaultSecretRepository**(`db`): `SqliteSecretRepository`
16
16
 
17
17
  #### Parameters
18
18
 
19
- ##### baseDir
19
+ ##### db
20
20
 
21
- `string`
21
+ `Database`
22
22
 
23
23
  #### Returns
24
24
 
25
- `FileSecretRepository`
25
+ `SqliteSecretRepository`
26
26
 
27
27
  ## Methods
28
28
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -272,7 +272,7 @@
272
272
 
273
273
  ### ownerGrantAgentSecret()
274
274
 
275
- > **ownerGrantAgentSecret**(`actor`, `root_agent_id`, `secret_alias`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
275
+ > **ownerGrantAgentSecret**(`actor`, `root_agent_id`, `secret_id`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
276
276
 
277
277
  #### Parameters
278
278
 
@@ -284,9 +284,9 @@
284
284
 
285
285
  `string`
286
286
 
287
- ##### secret\_alias
287
+ ##### secret\_id
288
288
 
289
- `string`
289
+ [`SecretId`](../interfaces/SecretId.md)
290
290
 
291
291
  ##### request?
292
292
 
@@ -302,7 +302,7 @@
302
302
 
303
303
  ### ownerGrantSecretDestination()
304
304
 
305
- > **ownerGrantSecretDestination**(`actor`, `secret_alias`, `site_id`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
305
+ > **ownerGrantSecretDestination**(`actor`, `secret_id`, `site_id`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
306
306
 
307
307
  #### Parameters
308
308
 
@@ -310,9 +310,9 @@
310
310
 
311
311
  [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
312
312
 
313
- ##### secret\_alias
313
+ ##### secret\_id
314
314
 
315
- `string`
315
+ [`SecretId`](../interfaces/SecretId.md)
316
316
 
317
317
  ##### site\_id
318
318
 
@@ -390,7 +390,7 @@
390
390
 
391
391
  ### ownerListGrants()
392
392
 
393
- > **ownerListGrants**(`actor`, `root_agent_id?`, `secret_alias?`): `Promise`\<\{ `agent_secrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secret_destinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
393
+ > **ownerListGrants**(`actor`, `root_agent_id?`, `secret_id?`): `Promise`\<\{ `agent_secrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secret_destinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
394
394
 
395
395
  #### Parameters
396
396
 
@@ -402,9 +402,9 @@
402
402
 
403
403
  `string`
404
404
 
405
- ##### secret\_alias?
405
+ ##### secret\_id?
406
406
 
407
- `string`
407
+ [`SecretId`](../interfaces/SecretId.md)
408
408
 
409
409
  #### Returns
410
410
 
@@ -448,6 +448,22 @@
448
448
 
449
449
  ***
450
450
 
451
+ ### ownerOnAudit()
452
+
453
+ > **ownerOnAudit**(`subscription`): () => `void`
454
+
455
+ #### Parameters
456
+
457
+ ##### subscription
458
+
459
+ [`OwnerAuditSubscription`](../interfaces/OwnerAuditSubscription.md)
460
+
461
+ #### Returns
462
+
463
+ () => `void`
464
+
465
+ ***
466
+
451
467
  ### ownerOnPendingDispatch()
452
468
 
453
469
  > **ownerOnPendingDispatch**(`subscription`): () => `void`
@@ -558,7 +574,7 @@
558
574
 
559
575
  ### ownerRevokeAgentSecret()
560
576
 
561
- > **ownerRevokeAgentSecret**(`actor`, `root_agent_id`, `secret_alias`, `request?`): `Promise`\<`void`\>
577
+ > **ownerRevokeAgentSecret**(`actor`, `root_agent_id`, `secret_id`, `request?`): `Promise`\<`void`\>
562
578
 
563
579
  #### Parameters
564
580
 
@@ -570,9 +586,9 @@
570
586
 
571
587
  `string`
572
588
 
573
- ##### secret\_alias
589
+ ##### secret\_id
574
590
 
575
- `string`
591
+ [`SecretId`](../interfaces/SecretId.md)
576
592
 
577
593
  ##### request?
578
594
 
@@ -588,7 +604,7 @@
588
604
 
589
605
  ### ownerRevokeSecretDestination()
590
606
 
591
- > **ownerRevokeSecretDestination**(`actor`, `secret_alias`, `site_id`, `request?`): `Promise`\<`void`\>
607
+ > **ownerRevokeSecretDestination**(`actor`, `secret_id`, `site_id`, `request?`): `Promise`\<`void`\>
592
608
 
593
609
  #### Parameters
594
610
 
@@ -596,9 +612,9 @@
596
612
 
597
613
  [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
598
614
 
599
- ##### secret\_alias
615
+ ##### secret\_id
600
616
 
601
- `string`
617
+ [`SecretId`](../interfaces/SecretId.md)
602
618
 
603
619
  ##### site\_id
604
620
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -60,42 +60,6 @@
60
60
 
61
61
  ***
62
62
 
63
- ### MANAGEMENT\_LIST\_AGENTS
64
-
65
- > **MANAGEMENT\_LIST\_AGENTS**: `"management.list_agents"`
66
-
67
- ***
68
-
69
- ### MANAGEMENT\_LIST\_GRANTS
70
-
71
- > **MANAGEMENT\_LIST\_GRANTS**: `"management.list_grants"`
72
-
73
- ***
74
-
75
- ### MANAGEMENT\_LIST\_REQUESTS
76
-
77
- > **MANAGEMENT\_LIST\_REQUESTS**: `"management.list_requests"`
78
-
79
- ***
80
-
81
- ### MANAGEMENT\_LIST\_SECRETS
82
-
83
- > **MANAGEMENT\_LIST\_SECRETS**: `"management.list_secrets"`
84
-
85
- ***
86
-
87
- ### MANAGEMENT\_READ\_AUDIT
88
-
89
- > **MANAGEMENT\_READ\_AUDIT**: `"management.read_audit"`
90
-
91
- ***
92
-
93
- ### MANAGEMENT\_READ\_REQUEST
94
-
95
- > **MANAGEMENT\_READ\_REQUEST**: `"management.read_request"`
96
-
97
- ***
98
-
99
63
  ### POLICY\_EVALUATE
100
64
 
101
65
  > **POLICY\_EVALUATE**: `"policy.evaluate_dispatch"`
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -0,0 +1,30 @@
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
+
3
+ ***
4
+
5
+ # Function: handleVaultAuditSse()
6
+
7
+ > **handleVaultAuditSse**(`service`, `options?`): `Response`
8
+
9
+ Creates an SSE response that streams owner-visible audit entries.
10
+ Host applications should authenticate owner access before exposing this helper remotely.
11
+
12
+ ## Parameters
13
+
14
+ ### service
15
+
16
+ [`VaultService`](../interfaces/VaultService.md)
17
+
18
+ The VaultService instance to subscribe against.
19
+
20
+ ### options?
21
+
22
+ `VaultAuditSseOptions` = `{}`
23
+
24
+ Stream options such as replay cursor, filtering, and abort handling.
25
+
26
+ ## Returns
27
+
28
+ `Response`
29
+
30
+ A streaming SSE Response that emits `audit_entry` events by default.
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -0,0 +1,30 @@
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
+
3
+ ***
4
+
5
+ # Function: handleVaultPendingDispatchSse()
6
+
7
+ > **handleVaultPendingDispatchSse**(`service`, `options?`): `Response`
8
+
9
+ Creates an SSE response that streams owner-visible pending dispatch events.
10
+ Host applications should authenticate owner access before exposing this helper remotely.
11
+
12
+ ## Parameters
13
+
14
+ ### service
15
+
16
+ [`VaultService`](../interfaces/VaultService.md)
17
+
18
+ The VaultService instance to subscribe against.
19
+
20
+ ### options?
21
+
22
+ `VaultPendingDispatchSseOptions` = `{}`
23
+
24
+ Stream options such as replay cursor and abort handling.
25
+
26
+ ## Returns
27
+
28
+ `Response`
29
+
30
+ A streaming SSE Response that emits `pending_dispatch` events.
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**CBIO Node Runtime Agent API v1.69.0**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.71.0**](../README.md)
2
2
 
3
3
  ***
4
4