@vorionsys/security 1.0.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 (1843) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +85 -0
  3. package/dist/aci-extensions/aci-string-extensions.d.ts +334 -0
  4. package/dist/aci-extensions/aci-string-extensions.d.ts.map +1 -0
  5. package/dist/aci-extensions/aci-string-extensions.js +435 -0
  6. package/dist/aci-extensions/aci-string-extensions.js.map +1 -0
  7. package/dist/aci-extensions/builtin-extensions/audit.d.ts +88 -0
  8. package/dist/aci-extensions/builtin-extensions/audit.d.ts.map +1 -0
  9. package/dist/aci-extensions/builtin-extensions/audit.js +444 -0
  10. package/dist/aci-extensions/builtin-extensions/audit.js.map +1 -0
  11. package/dist/aci-extensions/builtin-extensions/governance.d.ts +32 -0
  12. package/dist/aci-extensions/builtin-extensions/governance.d.ts.map +1 -0
  13. package/dist/aci-extensions/builtin-extensions/governance.js +533 -0
  14. package/dist/aci-extensions/builtin-extensions/governance.js.map +1 -0
  15. package/dist/aci-extensions/builtin-extensions/monitoring.d.ts +43 -0
  16. package/dist/aci-extensions/builtin-extensions/monitoring.d.ts.map +1 -0
  17. package/dist/aci-extensions/builtin-extensions/monitoring.js +416 -0
  18. package/dist/aci-extensions/builtin-extensions/monitoring.js.map +1 -0
  19. package/dist/aci-extensions/executor.d.ts +208 -0
  20. package/dist/aci-extensions/executor.d.ts.map +1 -0
  21. package/dist/aci-extensions/executor.js +789 -0
  22. package/dist/aci-extensions/executor.js.map +1 -0
  23. package/dist/aci-extensions/index.d.ts +6 -0
  24. package/dist/aci-extensions/index.d.ts.map +1 -0
  25. package/dist/aci-extensions/index.js +6 -0
  26. package/dist/aci-extensions/index.js.map +1 -0
  27. package/dist/aci-extensions/registry.d.ts +217 -0
  28. package/dist/aci-extensions/registry.d.ts.map +1 -0
  29. package/dist/aci-extensions/registry.js +443 -0
  30. package/dist/aci-extensions/registry.js.map +1 -0
  31. package/dist/aci-extensions/service.d.ts +220 -0
  32. package/dist/aci-extensions/service.d.ts.map +1 -0
  33. package/dist/aci-extensions/service.js +484 -0
  34. package/dist/aci-extensions/service.js.map +1 -0
  35. package/dist/aci-extensions/types.d.ts +2265 -0
  36. package/dist/aci-extensions/types.d.ts.map +1 -0
  37. package/dist/aci-extensions/types.js +389 -0
  38. package/dist/aci-extensions/types.js.map +1 -0
  39. package/dist/api/auth.d.ts +55 -0
  40. package/dist/api/auth.d.ts.map +1 -0
  41. package/dist/api/auth.js +306 -0
  42. package/dist/api/auth.js.map +1 -0
  43. package/dist/api/errors.d.ts +146 -0
  44. package/dist/api/errors.d.ts.map +1 -0
  45. package/dist/api/errors.js +464 -0
  46. package/dist/api/errors.js.map +1 -0
  47. package/dist/api/index.d.ts +16 -0
  48. package/dist/api/index.d.ts.map +1 -0
  49. package/dist/api/index.js +19 -0
  50. package/dist/api/index.js.map +1 -0
  51. package/dist/api/middleware/api-key-enforcement.d.ts +131 -0
  52. package/dist/api/middleware/api-key-enforcement.d.ts.map +1 -0
  53. package/dist/api/middleware/api-key-enforcement.js +674 -0
  54. package/dist/api/middleware/api-key-enforcement.js.map +1 -0
  55. package/dist/api/middleware/audit.d.ts +151 -0
  56. package/dist/api/middleware/audit.d.ts.map +1 -0
  57. package/dist/api/middleware/audit.js +384 -0
  58. package/dist/api/middleware/audit.js.map +1 -0
  59. package/dist/api/middleware/dpop-enforcement.d.ts +176 -0
  60. package/dist/api/middleware/dpop-enforcement.d.ts.map +1 -0
  61. package/dist/api/middleware/dpop-enforcement.js +596 -0
  62. package/dist/api/middleware/dpop-enforcement.js.map +1 -0
  63. package/dist/api/middleware/index.d.ts +23 -0
  64. package/dist/api/middleware/index.d.ts.map +1 -0
  65. package/dist/api/middleware/index.js +41 -0
  66. package/dist/api/middleware/index.js.map +1 -0
  67. package/dist/api/middleware/metrics.d.ts +41 -0
  68. package/dist/api/middleware/metrics.d.ts.map +1 -0
  69. package/dist/api/middleware/metrics.js +150 -0
  70. package/dist/api/middleware/metrics.js.map +1 -0
  71. package/dist/api/middleware/rate-limits.d.ts +224 -0
  72. package/dist/api/middleware/rate-limits.d.ts.map +1 -0
  73. package/dist/api/middleware/rate-limits.js +686 -0
  74. package/dist/api/middleware/rate-limits.js.map +1 -0
  75. package/dist/api/middleware/rateLimit.d.ts +165 -0
  76. package/dist/api/middleware/rateLimit.d.ts.map +1 -0
  77. package/dist/api/middleware/rateLimit.js +477 -0
  78. package/dist/api/middleware/rateLimit.js.map +1 -0
  79. package/dist/api/middleware/redis-rate-limiter.d.ts +279 -0
  80. package/dist/api/middleware/redis-rate-limiter.d.ts.map +1 -0
  81. package/dist/api/middleware/redis-rate-limiter.js +1074 -0
  82. package/dist/api/middleware/redis-rate-limiter.js.map +1 -0
  83. package/dist/api/middleware/security.d.ts +156 -0
  84. package/dist/api/middleware/security.d.ts.map +1 -0
  85. package/dist/api/middleware/security.js +412 -0
  86. package/dist/api/middleware/security.js.map +1 -0
  87. package/dist/api/middleware/validation.d.ts +132 -0
  88. package/dist/api/middleware/validation.d.ts.map +1 -0
  89. package/dist/api/middleware/validation.js +363 -0
  90. package/dist/api/middleware/validation.js.map +1 -0
  91. package/dist/api/middleware/webhook-verify.d.ts +130 -0
  92. package/dist/api/middleware/webhook-verify.d.ts.map +1 -0
  93. package/dist/api/middleware/webhook-verify.js +366 -0
  94. package/dist/api/middleware/webhook-verify.js.map +1 -0
  95. package/dist/api/rate-limit.d.ts +115 -0
  96. package/dist/api/rate-limit.d.ts.map +1 -0
  97. package/dist/api/rate-limit.js +335 -0
  98. package/dist/api/rate-limit.js.map +1 -0
  99. package/dist/api/routes/extensions.d.ts +40 -0
  100. package/dist/api/routes/extensions.d.ts.map +1 -0
  101. package/dist/api/routes/extensions.js +434 -0
  102. package/dist/api/routes/extensions.js.map +1 -0
  103. package/dist/api/routes/mfa.d.ts +44 -0
  104. package/dist/api/routes/mfa.d.ts.map +1 -0
  105. package/dist/api/routes/mfa.js +270 -0
  106. package/dist/api/routes/mfa.js.map +1 -0
  107. package/dist/api/server.d.ts +37 -0
  108. package/dist/api/server.d.ts.map +1 -0
  109. package/dist/api/server.js +1967 -0
  110. package/dist/api/server.js.map +1 -0
  111. package/dist/api/v1/admin.d.ts +11 -0
  112. package/dist/api/v1/admin.d.ts.map +1 -0
  113. package/dist/api/v1/admin.js +207 -0
  114. package/dist/api/v1/admin.js.map +1 -0
  115. package/dist/api/v1/audit.d.ts +14 -0
  116. package/dist/api/v1/audit.d.ts.map +1 -0
  117. package/dist/api/v1/audit.js +376 -0
  118. package/dist/api/v1/audit.js.map +1 -0
  119. package/dist/api/v1/auth.d.ts +17 -0
  120. package/dist/api/v1/auth.d.ts.map +1 -0
  121. package/dist/api/v1/auth.js +637 -0
  122. package/dist/api/v1/auth.js.map +1 -0
  123. package/dist/api/v1/compliance.d.ts +62 -0
  124. package/dist/api/v1/compliance.d.ts.map +1 -0
  125. package/dist/api/v1/compliance.js +858 -0
  126. package/dist/api/v1/compliance.js.map +1 -0
  127. package/dist/api/v1/constraints.d.ts +11 -0
  128. package/dist/api/v1/constraints.d.ts.map +1 -0
  129. package/dist/api/v1/constraints.js +71 -0
  130. package/dist/api/v1/constraints.js.map +1 -0
  131. package/dist/api/v1/dashboard.d.ts +224 -0
  132. package/dist/api/v1/dashboard.d.ts.map +1 -0
  133. package/dist/api/v1/dashboard.js +833 -0
  134. package/dist/api/v1/dashboard.js.map +1 -0
  135. package/dist/api/v1/docs.d.ts +11 -0
  136. package/dist/api/v1/docs.d.ts.map +1 -0
  137. package/dist/api/v1/docs.js +95 -0
  138. package/dist/api/v1/docs.js.map +1 -0
  139. package/dist/api/v1/escalations.d.ts +11 -0
  140. package/dist/api/v1/escalations.d.ts.map +1 -0
  141. package/dist/api/v1/escalations.js +857 -0
  142. package/dist/api/v1/escalations.js.map +1 -0
  143. package/dist/api/v1/gdpr.d.ts +11 -0
  144. package/dist/api/v1/gdpr.d.ts.map +1 -0
  145. package/dist/api/v1/gdpr.js +220 -0
  146. package/dist/api/v1/gdpr.js.map +1 -0
  147. package/dist/api/v1/health.d.ts +22 -0
  148. package/dist/api/v1/health.d.ts.map +1 -0
  149. package/dist/api/v1/health.js +512 -0
  150. package/dist/api/v1/health.js.map +1 -0
  151. package/dist/api/v1/index.d.ts +22 -0
  152. package/dist/api/v1/index.d.ts.map +1 -0
  153. package/dist/api/v1/index.js +81 -0
  154. package/dist/api/v1/index.js.map +1 -0
  155. package/dist/api/v1/intents.d.ts +11 -0
  156. package/dist/api/v1/intents.d.ts.map +1 -0
  157. package/dist/api/v1/intents.js +239 -0
  158. package/dist/api/v1/intents.js.map +1 -0
  159. package/dist/api/v1/operations.d.ts +21 -0
  160. package/dist/api/v1/operations.d.ts.map +1 -0
  161. package/dist/api/v1/operations.js +140 -0
  162. package/dist/api/v1/operations.js.map +1 -0
  163. package/dist/api/v1/policies.d.ts +11 -0
  164. package/dist/api/v1/policies.d.ts.map +1 -0
  165. package/dist/api/v1/policies.js +763 -0
  166. package/dist/api/v1/policies.js.map +1 -0
  167. package/dist/api/v1/proofs.d.ts +13 -0
  168. package/dist/api/v1/proofs.d.ts.map +1 -0
  169. package/dist/api/v1/proofs.js +239 -0
  170. package/dist/api/v1/proofs.js.map +1 -0
  171. package/dist/api/v1/security-dashboard.d.ts +1090 -0
  172. package/dist/api/v1/security-dashboard.d.ts.map +1 -0
  173. package/dist/api/v1/security-dashboard.js +755 -0
  174. package/dist/api/v1/security-dashboard.js.map +1 -0
  175. package/dist/api/v1/service-accounts.d.ts +16 -0
  176. package/dist/api/v1/service-accounts.d.ts.map +1 -0
  177. package/dist/api/v1/service-accounts.js +563 -0
  178. package/dist/api/v1/service-accounts.js.map +1 -0
  179. package/dist/api/v1/sessions.d.ts +36 -0
  180. package/dist/api/v1/sessions.d.ts.map +1 -0
  181. package/dist/api/v1/sessions.js +333 -0
  182. package/dist/api/v1/sessions.js.map +1 -0
  183. package/dist/api/v1/trust.d.ts +14 -0
  184. package/dist/api/v1/trust.d.ts.map +1 -0
  185. package/dist/api/v1/trust.js +578 -0
  186. package/dist/api/v1/trust.js.map +1 -0
  187. package/dist/api/v1/webhooks.d.ts +11 -0
  188. package/dist/api/v1/webhooks.d.ts.map +1 -0
  189. package/dist/api/v1/webhooks.js +250 -0
  190. package/dist/api/v1/webhooks.js.map +1 -0
  191. package/dist/api/v2/trust.d.ts +20 -0
  192. package/dist/api/v2/trust.d.ts.map +1 -0
  193. package/dist/api/v2/trust.js +362 -0
  194. package/dist/api/v2/trust.js.map +1 -0
  195. package/dist/api/validation.d.ts +243 -0
  196. package/dist/api/validation.d.ts.map +1 -0
  197. package/dist/api/validation.js +247 -0
  198. package/dist/api/validation.js.map +1 -0
  199. package/dist/api/versioning/backward-compat.d.ts +28 -0
  200. package/dist/api/versioning/backward-compat.d.ts.map +1 -0
  201. package/dist/api/versioning/backward-compat.js +161 -0
  202. package/dist/api/versioning/backward-compat.js.map +1 -0
  203. package/dist/api/versioning/index.d.ts +112 -0
  204. package/dist/api/versioning/index.d.ts.map +1 -0
  205. package/dist/api/versioning/index.js +199 -0
  206. package/dist/api/versioning/index.js.map +1 -0
  207. package/dist/audit/compliance-reporter.d.ts +271 -0
  208. package/dist/audit/compliance-reporter.d.ts.map +1 -0
  209. package/dist/audit/compliance-reporter.js +587 -0
  210. package/dist/audit/compliance-reporter.js.map +1 -0
  211. package/dist/audit/db-store.d.ts +689 -0
  212. package/dist/audit/db-store.d.ts.map +1 -0
  213. package/dist/audit/db-store.js +589 -0
  214. package/dist/audit/db-store.js.map +1 -0
  215. package/dist/audit/event-schema.d.ts +605 -0
  216. package/dist/audit/event-schema.d.ts.map +1 -0
  217. package/dist/audit/event-schema.js +566 -0
  218. package/dist/audit/event-schema.js.map +1 -0
  219. package/dist/audit/index.d.ts +16 -0
  220. package/dist/audit/index.d.ts.map +1 -0
  221. package/dist/audit/index.js +44 -0
  222. package/dist/audit/index.js.map +1 -0
  223. package/dist/audit/security-events.d.ts +1624 -0
  224. package/dist/audit/security-events.d.ts.map +1 -0
  225. package/dist/audit/security-events.js +775 -0
  226. package/dist/audit/security-events.js.map +1 -0
  227. package/dist/audit/security-logger.d.ts +288 -0
  228. package/dist/audit/security-logger.d.ts.map +1 -0
  229. package/dist/audit/security-logger.js +820 -0
  230. package/dist/audit/security-logger.js.map +1 -0
  231. package/dist/audit/service.d.ts +206 -0
  232. package/dist/audit/service.d.ts.map +1 -0
  233. package/dist/audit/service.js +756 -0
  234. package/dist/audit/service.js.map +1 -0
  235. package/dist/audit/siem/elastic.d.ts +94 -0
  236. package/dist/audit/siem/elastic.d.ts.map +1 -0
  237. package/dist/audit/siem/elastic.js +411 -0
  238. package/dist/audit/siem/elastic.js.map +1 -0
  239. package/dist/audit/siem/index.d.ts +179 -0
  240. package/dist/audit/siem/index.d.ts.map +1 -0
  241. package/dist/audit/siem/index.js +368 -0
  242. package/dist/audit/siem/index.js.map +1 -0
  243. package/dist/audit/siem/loki.d.ts +100 -0
  244. package/dist/audit/siem/loki.d.ts.map +1 -0
  245. package/dist/audit/siem/loki.js +405 -0
  246. package/dist/audit/siem/loki.js.map +1 -0
  247. package/dist/audit/siem/splunk.d.ts +91 -0
  248. package/dist/audit/siem/splunk.d.ts.map +1 -0
  249. package/dist/audit/siem/splunk.js +374 -0
  250. package/dist/audit/siem/splunk.js.map +1 -0
  251. package/dist/audit/siem/types.d.ts +547 -0
  252. package/dist/audit/siem/types.d.ts.map +1 -0
  253. package/dist/audit/siem/types.js +270 -0
  254. package/dist/audit/siem/types.js.map +1 -0
  255. package/dist/audit/types.d.ts +405 -0
  256. package/dist/audit/types.d.ts.map +1 -0
  257. package/dist/audit/types.js +121 -0
  258. package/dist/audit/types.js.map +1 -0
  259. package/dist/auth/mfa/index.d.ts +66 -0
  260. package/dist/auth/mfa/index.d.ts.map +1 -0
  261. package/dist/auth/mfa/index.js +15 -0
  262. package/dist/auth/mfa/index.js.map +1 -0
  263. package/dist/auth/mfa/totp.d.ts +221 -0
  264. package/dist/auth/mfa/totp.d.ts.map +1 -0
  265. package/dist/auth/mfa/totp.js +324 -0
  266. package/dist/auth/mfa/totp.js.map +1 -0
  267. package/dist/auth/mfa/webauthn.d.ts +224 -0
  268. package/dist/auth/mfa/webauthn.d.ts.map +1 -0
  269. package/dist/auth/mfa/webauthn.js +409 -0
  270. package/dist/auth/mfa/webauthn.js.map +1 -0
  271. package/dist/auth/sso/index.d.ts +247 -0
  272. package/dist/auth/sso/index.d.ts.map +1 -0
  273. package/dist/auth/sso/index.js +763 -0
  274. package/dist/auth/sso/index.js.map +1 -0
  275. package/dist/auth/sso/oidc-provider.d.ts +146 -0
  276. package/dist/auth/sso/oidc-provider.d.ts.map +1 -0
  277. package/dist/auth/sso/oidc-provider.js +589 -0
  278. package/dist/auth/sso/oidc-provider.js.map +1 -0
  279. package/dist/auth/sso/types.d.ts +488 -0
  280. package/dist/auth/sso/types.d.ts.map +1 -0
  281. package/dist/auth/sso/types.js +73 -0
  282. package/dist/auth/sso/types.js.map +1 -0
  283. package/dist/basis/evaluator.d.ts +70 -0
  284. package/dist/basis/evaluator.d.ts.map +1 -0
  285. package/dist/basis/evaluator.js +269 -0
  286. package/dist/basis/evaluator.js.map +1 -0
  287. package/dist/basis/expression-evaluator.d.ts +77 -0
  288. package/dist/basis/expression-evaluator.d.ts.map +1 -0
  289. package/dist/basis/expression-evaluator.js +826 -0
  290. package/dist/basis/expression-evaluator.js.map +1 -0
  291. package/dist/basis/index.d.ts +13 -0
  292. package/dist/basis/index.d.ts.map +1 -0
  293. package/dist/basis/index.js +13 -0
  294. package/dist/basis/index.js.map +1 -0
  295. package/dist/basis/parser.d.ts +376 -0
  296. package/dist/basis/parser.d.ts.map +1 -0
  297. package/dist/basis/parser.js +174 -0
  298. package/dist/basis/parser.js.map +1 -0
  299. package/dist/basis/types.d.ts +115 -0
  300. package/dist/basis/types.d.ts.map +1 -0
  301. package/dist/basis/types.js +5 -0
  302. package/dist/basis/types.js.map +1 -0
  303. package/dist/car-extensions/builtin-extensions/audit.d.ts +88 -0
  304. package/dist/car-extensions/builtin-extensions/audit.d.ts.map +1 -0
  305. package/dist/car-extensions/builtin-extensions/audit.js +444 -0
  306. package/dist/car-extensions/builtin-extensions/audit.js.map +1 -0
  307. package/dist/car-extensions/builtin-extensions/governance.d.ts +32 -0
  308. package/dist/car-extensions/builtin-extensions/governance.d.ts.map +1 -0
  309. package/dist/car-extensions/builtin-extensions/governance.js +533 -0
  310. package/dist/car-extensions/builtin-extensions/governance.js.map +1 -0
  311. package/dist/car-extensions/builtin-extensions/monitoring.d.ts +43 -0
  312. package/dist/car-extensions/builtin-extensions/monitoring.d.ts.map +1 -0
  313. package/dist/car-extensions/builtin-extensions/monitoring.js +416 -0
  314. package/dist/car-extensions/builtin-extensions/monitoring.js.map +1 -0
  315. package/dist/car-extensions/car-string-extensions.d.ts +334 -0
  316. package/dist/car-extensions/car-string-extensions.d.ts.map +1 -0
  317. package/dist/car-extensions/car-string-extensions.js +435 -0
  318. package/dist/car-extensions/car-string-extensions.js.map +1 -0
  319. package/dist/car-extensions/executor.d.ts +208 -0
  320. package/dist/car-extensions/executor.d.ts.map +1 -0
  321. package/dist/car-extensions/executor.js +789 -0
  322. package/dist/car-extensions/executor.js.map +1 -0
  323. package/dist/car-extensions/index.d.ts +94 -0
  324. package/dist/car-extensions/index.d.ts.map +1 -0
  325. package/dist/car-extensions/index.js +157 -0
  326. package/dist/car-extensions/index.js.map +1 -0
  327. package/dist/car-extensions/registry.d.ts +217 -0
  328. package/dist/car-extensions/registry.d.ts.map +1 -0
  329. package/dist/car-extensions/registry.js +443 -0
  330. package/dist/car-extensions/registry.js.map +1 -0
  331. package/dist/car-extensions/service.d.ts +220 -0
  332. package/dist/car-extensions/service.d.ts.map +1 -0
  333. package/dist/car-extensions/service.js +484 -0
  334. package/dist/car-extensions/service.js.map +1 -0
  335. package/dist/car-extensions/types.d.ts +2265 -0
  336. package/dist/car-extensions/types.d.ts.map +1 -0
  337. package/dist/car-extensions/types.js +389 -0
  338. package/dist/car-extensions/types.js.map +1 -0
  339. package/dist/cognigate/index.d.ts +139 -0
  340. package/dist/cognigate/index.d.ts.map +1 -0
  341. package/dist/cognigate/index.js +404 -0
  342. package/dist/cognigate/index.js.map +1 -0
  343. package/dist/cognigate/lua-scripts.d.ts +96 -0
  344. package/dist/cognigate/lua-scripts.d.ts.map +1 -0
  345. package/dist/cognigate/lua-scripts.js +264 -0
  346. package/dist/cognigate/lua-scripts.js.map +1 -0
  347. package/dist/cognigate/metrics.d.ts +112 -0
  348. package/dist/cognigate/metrics.d.ts.map +1 -0
  349. package/dist/cognigate/metrics.js +229 -0
  350. package/dist/cognigate/metrics.js.map +1 -0
  351. package/dist/cognigate/output-integration.d.ts +86 -0
  352. package/dist/cognigate/output-integration.d.ts.map +1 -0
  353. package/dist/cognigate/output-integration.js +184 -0
  354. package/dist/cognigate/output-integration.js.map +1 -0
  355. package/dist/cognigate/resource-interceptors.d.ts +77 -0
  356. package/dist/cognigate/resource-interceptors.d.ts.map +1 -0
  357. package/dist/cognigate/resource-interceptors.js +143 -0
  358. package/dist/cognigate/resource-interceptors.js.map +1 -0
  359. package/dist/cognigate/resource-state-provider.d.ts +103 -0
  360. package/dist/cognigate/resource-state-provider.d.ts.map +1 -0
  361. package/dist/cognigate/resource-state-provider.js +195 -0
  362. package/dist/cognigate/resource-state-provider.js.map +1 -0
  363. package/dist/cognigate/resource-tracker.d.ts +85 -0
  364. package/dist/cognigate/resource-tracker.d.ts.map +1 -0
  365. package/dist/cognigate/resource-tracker.js +216 -0
  366. package/dist/cognigate/resource-tracker.js.map +1 -0
  367. package/dist/cognigate/types.d.ts +199 -0
  368. package/dist/cognigate/types.d.ts.map +1 -0
  369. package/dist/cognigate/types.js +11 -0
  370. package/dist/cognigate/types.js.map +1 -0
  371. package/dist/common/adapters/index.d.ts +34 -0
  372. package/dist/common/adapters/index.d.ts.map +1 -0
  373. package/dist/common/adapters/index.js +46 -0
  374. package/dist/common/adapters/index.js.map +1 -0
  375. package/dist/common/adapters/memory-cache.d.ts +91 -0
  376. package/dist/common/adapters/memory-cache.d.ts.map +1 -0
  377. package/dist/common/adapters/memory-cache.js +201 -0
  378. package/dist/common/adapters/memory-cache.js.map +1 -0
  379. package/dist/common/adapters/memory-lock.d.ts +75 -0
  380. package/dist/common/adapters/memory-lock.d.ts.map +1 -0
  381. package/dist/common/adapters/memory-lock.js +219 -0
  382. package/dist/common/adapters/memory-lock.js.map +1 -0
  383. package/dist/common/adapters/memory-queue.d.ts +64 -0
  384. package/dist/common/adapters/memory-queue.d.ts.map +1 -0
  385. package/dist/common/adapters/memory-queue.js +233 -0
  386. package/dist/common/adapters/memory-queue.js.map +1 -0
  387. package/dist/common/adapters/memory-ratelimit.d.ts +78 -0
  388. package/dist/common/adapters/memory-ratelimit.d.ts.map +1 -0
  389. package/dist/common/adapters/memory-ratelimit.js +196 -0
  390. package/dist/common/adapters/memory-ratelimit.js.map +1 -0
  391. package/dist/common/adapters/memory-session.d.ts +105 -0
  392. package/dist/common/adapters/memory-session.d.ts.map +1 -0
  393. package/dist/common/adapters/memory-session.js +302 -0
  394. package/dist/common/adapters/memory-session.js.map +1 -0
  395. package/dist/common/adapters/provider.d.ts +47 -0
  396. package/dist/common/adapters/provider.d.ts.map +1 -0
  397. package/dist/common/adapters/provider.js +347 -0
  398. package/dist/common/adapters/provider.js.map +1 -0
  399. package/dist/common/adapters/types.d.ts +247 -0
  400. package/dist/common/adapters/types.d.ts.map +1 -0
  401. package/dist/common/adapters/types.js +11 -0
  402. package/dist/common/adapters/types.js.map +1 -0
  403. package/dist/common/authorization.d.ts +137 -0
  404. package/dist/common/authorization.d.ts.map +1 -0
  405. package/dist/common/authorization.js +270 -0
  406. package/dist/common/authorization.js.map +1 -0
  407. package/dist/common/canonical-bridge.d.ts +151 -0
  408. package/dist/common/canonical-bridge.d.ts.map +1 -0
  409. package/dist/common/canonical-bridge.js +231 -0
  410. package/dist/common/canonical-bridge.js.map +1 -0
  411. package/dist/common/canonical-json.d.ts +64 -0
  412. package/dist/common/canonical-json.d.ts.map +1 -0
  413. package/dist/common/canonical-json.js +95 -0
  414. package/dist/common/canonical-json.js.map +1 -0
  415. package/dist/common/circuit-breaker.d.ts +320 -0
  416. package/dist/common/circuit-breaker.d.ts.map +1 -0
  417. package/dist/common/circuit-breaker.js +850 -0
  418. package/dist/common/circuit-breaker.js.map +1 -0
  419. package/dist/common/config.d.ts +1678 -0
  420. package/dist/common/config.d.ts.map +1 -0
  421. package/dist/common/config.js +1057 -0
  422. package/dist/common/config.js.map +1 -0
  423. package/dist/common/contracts/index.d.ts +2 -0
  424. package/dist/common/contracts/index.d.ts.map +1 -0
  425. package/dist/common/contracts/index.js +2 -0
  426. package/dist/common/contracts/index.js.map +1 -0
  427. package/dist/common/contracts/output.d.ts +81 -0
  428. package/dist/common/contracts/output.d.ts.map +1 -0
  429. package/dist/common/contracts/output.js +38 -0
  430. package/dist/common/contracts/output.js.map +1 -0
  431. package/dist/common/crypto.d.ts +70 -0
  432. package/dist/common/crypto.d.ts.map +1 -0
  433. package/dist/common/crypto.js +201 -0
  434. package/dist/common/crypto.js.map +1 -0
  435. package/dist/common/database-resilience.d.ts +156 -0
  436. package/dist/common/database-resilience.d.ts.map +1 -0
  437. package/dist/common/database-resilience.js +269 -0
  438. package/dist/common/database-resilience.js.map +1 -0
  439. package/dist/common/db-metrics.d.ts +90 -0
  440. package/dist/common/db-metrics.d.ts.map +1 -0
  441. package/dist/common/db-metrics.js +219 -0
  442. package/dist/common/db-metrics.js.map +1 -0
  443. package/dist/common/db-pool.d.ts +307 -0
  444. package/dist/common/db-pool.d.ts.map +1 -0
  445. package/dist/common/db-pool.js +879 -0
  446. package/dist/common/db-pool.js.map +1 -0
  447. package/dist/common/db.d.ts +105 -0
  448. package/dist/common/db.d.ts.map +1 -0
  449. package/dist/common/db.js +216 -0
  450. package/dist/common/db.js.map +1 -0
  451. package/dist/common/di.d.ts +202 -0
  452. package/dist/common/di.d.ts.map +1 -0
  453. package/dist/common/di.js +219 -0
  454. package/dist/common/di.js.map +1 -0
  455. package/dist/common/encryption.d.ts +131 -0
  456. package/dist/common/encryption.d.ts.map +1 -0
  457. package/dist/common/encryption.js +255 -0
  458. package/dist/common/encryption.js.map +1 -0
  459. package/dist/common/errors.d.ts +229 -0
  460. package/dist/common/errors.d.ts.map +1 -0
  461. package/dist/common/errors.js +349 -0
  462. package/dist/common/errors.js.map +1 -0
  463. package/dist/common/expression/evaluator.d.ts +58 -0
  464. package/dist/common/expression/evaluator.d.ts.map +1 -0
  465. package/dist/common/expression/evaluator.js +326 -0
  466. package/dist/common/expression/evaluator.js.map +1 -0
  467. package/dist/common/expression/index.d.ts +180 -0
  468. package/dist/common/expression/index.d.ts.map +1 -0
  469. package/dist/common/expression/index.js +198 -0
  470. package/dist/common/expression/index.js.map +1 -0
  471. package/dist/common/expression/lexer.d.ts +69 -0
  472. package/dist/common/expression/lexer.d.ts.map +1 -0
  473. package/dist/common/expression/lexer.js +255 -0
  474. package/dist/common/expression/lexer.js.map +1 -0
  475. package/dist/common/expression/parser.d.ts +133 -0
  476. package/dist/common/expression/parser.d.ts.map +1 -0
  477. package/dist/common/expression/parser.js +293 -0
  478. package/dist/common/expression/parser.js.map +1 -0
  479. package/dist/common/group-membership.d.ts +119 -0
  480. package/dist/common/group-membership.d.ts.map +1 -0
  481. package/dist/common/group-membership.js +250 -0
  482. package/dist/common/group-membership.js.map +1 -0
  483. package/dist/common/index.d.ts +14 -0
  484. package/dist/common/index.d.ts.map +1 -0
  485. package/dist/common/index.js +15 -0
  486. package/dist/common/index.js.map +1 -0
  487. package/dist/common/leader-election.d.ts +40 -0
  488. package/dist/common/leader-election.d.ts.map +1 -0
  489. package/dist/common/leader-election.js +232 -0
  490. package/dist/common/leader-election.js.map +1 -0
  491. package/dist/common/lock.d.ts +77 -0
  492. package/dist/common/lock.d.ts.map +1 -0
  493. package/dist/common/lock.js +167 -0
  494. package/dist/common/lock.js.map +1 -0
  495. package/dist/common/logger.d.ts +19 -0
  496. package/dist/common/logger.d.ts.map +1 -0
  497. package/dist/common/logger.js +80 -0
  498. package/dist/common/logger.js.map +1 -0
  499. package/dist/common/metrics-registry.d.ts +48 -0
  500. package/dist/common/metrics-registry.d.ts.map +1 -0
  501. package/dist/common/metrics-registry.js +77 -0
  502. package/dist/common/metrics-registry.js.map +1 -0
  503. package/dist/common/metrics.d.ts +227 -0
  504. package/dist/common/metrics.d.ts.map +1 -0
  505. package/dist/common/metrics.js +524 -0
  506. package/dist/common/metrics.js.map +1 -0
  507. package/dist/common/operation-tracker.d.ts +137 -0
  508. package/dist/common/operation-tracker.d.ts.map +1 -0
  509. package/dist/common/operation-tracker.js +366 -0
  510. package/dist/common/operation-tracker.js.map +1 -0
  511. package/dist/common/provenance/chain.d.ts +54 -0
  512. package/dist/common/provenance/chain.d.ts.map +1 -0
  513. package/dist/common/provenance/chain.js +252 -0
  514. package/dist/common/provenance/chain.js.map +1 -0
  515. package/dist/common/provenance/index.d.ts +14 -0
  516. package/dist/common/provenance/index.d.ts.map +1 -0
  517. package/dist/common/provenance/index.js +19 -0
  518. package/dist/common/provenance/index.js.map +1 -0
  519. package/dist/common/provenance/query.d.ts +111 -0
  520. package/dist/common/provenance/query.d.ts.map +1 -0
  521. package/dist/common/provenance/query.js +310 -0
  522. package/dist/common/provenance/query.js.map +1 -0
  523. package/dist/common/provenance/storage.d.ts +297 -0
  524. package/dist/common/provenance/storage.d.ts.map +1 -0
  525. package/dist/common/provenance/storage.js +436 -0
  526. package/dist/common/provenance/storage.js.map +1 -0
  527. package/dist/common/provenance/tracker.d.ts +57 -0
  528. package/dist/common/provenance/tracker.d.ts.map +1 -0
  529. package/dist/common/provenance/tracker.js +209 -0
  530. package/dist/common/provenance/tracker.js.map +1 -0
  531. package/dist/common/provenance/types.d.ts +146 -0
  532. package/dist/common/provenance/types.d.ts.map +1 -0
  533. package/dist/common/provenance/types.js +10 -0
  534. package/dist/common/provenance/types.js.map +1 -0
  535. package/dist/common/random.d.ts +84 -0
  536. package/dist/common/random.d.ts.map +1 -0
  537. package/dist/common/random.js +130 -0
  538. package/dist/common/random.js.map +1 -0
  539. package/dist/common/redaction.d.ts +49 -0
  540. package/dist/common/redaction.d.ts.map +1 -0
  541. package/dist/common/redaction.js +217 -0
  542. package/dist/common/redaction.js.map +1 -0
  543. package/dist/common/redis-cluster.d.ts +538 -0
  544. package/dist/common/redis-cluster.d.ts.map +1 -0
  545. package/dist/common/redis-cluster.js +1539 -0
  546. package/dist/common/redis-cluster.js.map +1 -0
  547. package/dist/common/redis-resilience.d.ts +270 -0
  548. package/dist/common/redis-resilience.d.ts.map +1 -0
  549. package/dist/common/redis-resilience.js +586 -0
  550. package/dist/common/redis-resilience.js.map +1 -0
  551. package/dist/common/redis.d.ts +19 -0
  552. package/dist/common/redis.d.ts.map +1 -0
  553. package/dist/common/redis.js +73 -0
  554. package/dist/common/redis.js.map +1 -0
  555. package/dist/common/secret-generator.d.ts +142 -0
  556. package/dist/common/secret-generator.d.ts.map +1 -0
  557. package/dist/common/secret-generator.js +286 -0
  558. package/dist/common/secret-generator.js.map +1 -0
  559. package/dist/common/security-mode.d.ts +101 -0
  560. package/dist/common/security-mode.d.ts.map +1 -0
  561. package/dist/common/security-mode.js +304 -0
  562. package/dist/common/security-mode.js.map +1 -0
  563. package/dist/common/telemetry/index.d.ts +82 -0
  564. package/dist/common/telemetry/index.d.ts.map +1 -0
  565. package/dist/common/telemetry/index.js +198 -0
  566. package/dist/common/telemetry/index.js.map +1 -0
  567. package/dist/common/telemetry/instrumentation.d.ts +167 -0
  568. package/dist/common/telemetry/instrumentation.d.ts.map +1 -0
  569. package/dist/common/telemetry/instrumentation.js +492 -0
  570. package/dist/common/telemetry/instrumentation.js.map +1 -0
  571. package/dist/common/telemetry/metrics-bridge.d.ts +227 -0
  572. package/dist/common/telemetry/metrics-bridge.d.ts.map +1 -0
  573. package/dist/common/telemetry/metrics-bridge.js +437 -0
  574. package/dist/common/telemetry/metrics-bridge.js.map +1 -0
  575. package/dist/common/telemetry/middleware.d.ts +114 -0
  576. package/dist/common/telemetry/middleware.d.ts.map +1 -0
  577. package/dist/common/telemetry/middleware.js +353 -0
  578. package/dist/common/telemetry/middleware.js.map +1 -0
  579. package/dist/common/telemetry/propagation.d.ts +221 -0
  580. package/dist/common/telemetry/propagation.d.ts.map +1 -0
  581. package/dist/common/telemetry/propagation.js +409 -0
  582. package/dist/common/telemetry/propagation.js.map +1 -0
  583. package/dist/common/telemetry/spans.d.ts +295 -0
  584. package/dist/common/telemetry/spans.d.ts.map +1 -0
  585. package/dist/common/telemetry/spans.js +439 -0
  586. package/dist/common/telemetry/spans.js.map +1 -0
  587. package/dist/common/telemetry/tracer.d.ts +155 -0
  588. package/dist/common/telemetry/tracer.d.ts.map +1 -0
  589. package/dist/common/telemetry/tracer.js +343 -0
  590. package/dist/common/telemetry/tracer.js.map +1 -0
  591. package/dist/common/telemetry.d.ts +15 -0
  592. package/dist/common/telemetry.d.ts.map +1 -0
  593. package/dist/common/telemetry.js +61 -0
  594. package/dist/common/telemetry.js.map +1 -0
  595. package/dist/common/tenant-verification.d.ts +86 -0
  596. package/dist/common/tenant-verification.d.ts.map +1 -0
  597. package/dist/common/tenant-verification.js +184 -0
  598. package/dist/common/tenant-verification.js.map +1 -0
  599. package/dist/common/timeout.d.ts +40 -0
  600. package/dist/common/timeout.d.ts.map +1 -0
  601. package/dist/common/timeout.js +82 -0
  602. package/dist/common/timeout.js.map +1 -0
  603. package/dist/common/token-revocation.d.ts +44 -0
  604. package/dist/common/token-revocation.d.ts.map +1 -0
  605. package/dist/common/token-revocation.js +169 -0
  606. package/dist/common/token-revocation.js.map +1 -0
  607. package/dist/common/trace.d.ts +149 -0
  608. package/dist/common/trace.d.ts.map +1 -0
  609. package/dist/common/trace.js +328 -0
  610. package/dist/common/trace.js.map +1 -0
  611. package/dist/common/trust-cache.d.ts +263 -0
  612. package/dist/common/trust-cache.d.ts.map +1 -0
  613. package/dist/common/trust-cache.js +670 -0
  614. package/dist/common/trust-cache.js.map +1 -0
  615. package/dist/common/types.d.ts +328 -0
  616. package/dist/common/types.d.ts.map +1 -0
  617. package/dist/common/types.js +55 -0
  618. package/dist/common/types.js.map +1 -0
  619. package/dist/common/validation.d.ts +113 -0
  620. package/dist/common/validation.d.ts.map +1 -0
  621. package/dist/common/validation.js +221 -0
  622. package/dist/common/validation.js.map +1 -0
  623. package/dist/compliance/export/evidence-collector.d.ts +252 -0
  624. package/dist/compliance/export/evidence-collector.d.ts.map +1 -0
  625. package/dist/compliance/export/evidence-collector.js +488 -0
  626. package/dist/compliance/export/evidence-collector.js.map +1 -0
  627. package/dist/compliance/export/hash-verifier.d.ts +181 -0
  628. package/dist/compliance/export/hash-verifier.d.ts.map +1 -0
  629. package/dist/compliance/export/hash-verifier.js +425 -0
  630. package/dist/compliance/export/hash-verifier.js.map +1 -0
  631. package/dist/compliance/export/index.d.ts +14 -0
  632. package/dist/compliance/export/index.d.ts.map +1 -0
  633. package/dist/compliance/export/index.js +41 -0
  634. package/dist/compliance/export/index.js.map +1 -0
  635. package/dist/compliance/export/report-generator.d.ts +264 -0
  636. package/dist/compliance/export/report-generator.d.ts.map +1 -0
  637. package/dist/compliance/export/report-generator.js +890 -0
  638. package/dist/compliance/export/report-generator.js.map +1 -0
  639. package/dist/compliance/export/scheduled-exports.d.ts +256 -0
  640. package/dist/compliance/export/scheduled-exports.d.ts.map +1 -0
  641. package/dist/compliance/export/scheduled-exports.js +545 -0
  642. package/dist/compliance/export/scheduled-exports.js.map +1 -0
  643. package/dist/compliance/export/service.d.ts +191 -0
  644. package/dist/compliance/export/service.d.ts.map +1 -0
  645. package/dist/compliance/export/service.js +382 -0
  646. package/dist/compliance/export/service.js.map +1 -0
  647. package/dist/compliance/fedramp/assessment.d.ts +654 -0
  648. package/dist/compliance/fedramp/assessment.d.ts.map +1 -0
  649. package/dist/compliance/fedramp/assessment.js +721 -0
  650. package/dist/compliance/fedramp/assessment.js.map +1 -0
  651. package/dist/compliance/fedramp/boundary.d.ts +932 -0
  652. package/dist/compliance/fedramp/boundary.d.ts.map +1 -0
  653. package/dist/compliance/fedramp/boundary.js +645 -0
  654. package/dist/compliance/fedramp/boundary.js.map +1 -0
  655. package/dist/compliance/fedramp/continuous-monitoring.d.ts +705 -0
  656. package/dist/compliance/fedramp/continuous-monitoring.d.ts.map +1 -0
  657. package/dist/compliance/fedramp/continuous-monitoring.js +616 -0
  658. package/dist/compliance/fedramp/continuous-monitoring.js.map +1 -0
  659. package/dist/compliance/fedramp/controls.d.ts +128 -0
  660. package/dist/compliance/fedramp/controls.d.ts.map +1 -0
  661. package/dist/compliance/fedramp/controls.js +1110 -0
  662. package/dist/compliance/fedramp/controls.js.map +1 -0
  663. package/dist/compliance/fedramp/incident-reporting.d.ts +1001 -0
  664. package/dist/compliance/fedramp/incident-reporting.d.ts.map +1 -0
  665. package/dist/compliance/fedramp/incident-reporting.js +764 -0
  666. package/dist/compliance/fedramp/incident-reporting.js.map +1 -0
  667. package/dist/compliance/fedramp/index.d.ts +87 -0
  668. package/dist/compliance/fedramp/index.d.ts.map +1 -0
  669. package/dist/compliance/fedramp/index.js +192 -0
  670. package/dist/compliance/fedramp/index.js.map +1 -0
  671. package/dist/compliance/fedramp/metrics.d.ts +288 -0
  672. package/dist/compliance/fedramp/metrics.d.ts.map +1 -0
  673. package/dist/compliance/fedramp/metrics.js +560 -0
  674. package/dist/compliance/fedramp/metrics.js.map +1 -0
  675. package/dist/compliance/fedramp/poam.d.ts +635 -0
  676. package/dist/compliance/fedramp/poam.d.ts.map +1 -0
  677. package/dist/compliance/fedramp/poam.js +602 -0
  678. package/dist/compliance/fedramp/poam.js.map +1 -0
  679. package/dist/compliance/fedramp/ssp-generator.d.ts +368 -0
  680. package/dist/compliance/fedramp/ssp-generator.d.ts.map +1 -0
  681. package/dist/compliance/fedramp/ssp-generator.js +543 -0
  682. package/dist/compliance/fedramp/ssp-generator.js.map +1 -0
  683. package/dist/compliance/frameworks/nist-800-53.d.ts +35 -0
  684. package/dist/compliance/frameworks/nist-800-53.d.ts.map +1 -0
  685. package/dist/compliance/frameworks/nist-800-53.js +892 -0
  686. package/dist/compliance/frameworks/nist-800-53.js.map +1 -0
  687. package/dist/compliance/frameworks/pci-dss.d.ts +407 -0
  688. package/dist/compliance/frameworks/pci-dss.d.ts.map +1 -0
  689. package/dist/compliance/frameworks/pci-dss.js +1873 -0
  690. package/dist/compliance/frameworks/pci-dss.js.map +1 -0
  691. package/dist/compliance/frameworks/soc2.d.ts +42 -0
  692. package/dist/compliance/frameworks/soc2.d.ts.map +1 -0
  693. package/dist/compliance/frameworks/soc2.js +669 -0
  694. package/dist/compliance/frameworks/soc2.js.map +1 -0
  695. package/dist/compliance/gdpr/data-transfers.d.ts +493 -0
  696. package/dist/compliance/gdpr/data-transfers.d.ts.map +1 -0
  697. package/dist/compliance/gdpr/data-transfers.js +1242 -0
  698. package/dist/compliance/gdpr/data-transfers.js.map +1 -0
  699. package/dist/compliance/gdpr/index.d.ts +7 -0
  700. package/dist/compliance/gdpr/index.d.ts.map +1 -0
  701. package/dist/compliance/gdpr/index.js +7 -0
  702. package/dist/compliance/gdpr/index.js.map +1 -0
  703. package/dist/compliance/index.d.ts +148 -0
  704. package/dist/compliance/index.d.ts.map +1 -0
  705. package/dist/compliance/index.js +532 -0
  706. package/dist/compliance/index.js.map +1 -0
  707. package/dist/compliance/reports.d.ts +141 -0
  708. package/dist/compliance/reports.d.ts.map +1 -0
  709. package/dist/compliance/reports.js +495 -0
  710. package/dist/compliance/reports.js.map +1 -0
  711. package/dist/compliance/retention/index.d.ts +19 -0
  712. package/dist/compliance/retention/index.d.ts.map +1 -0
  713. package/dist/compliance/retention/index.js +46 -0
  714. package/dist/compliance/retention/index.js.map +1 -0
  715. package/dist/compliance/retention/retention-enforcer.d.ts +128 -0
  716. package/dist/compliance/retention/retention-enforcer.d.ts.map +1 -0
  717. package/dist/compliance/retention/retention-enforcer.js +695 -0
  718. package/dist/compliance/retention/retention-enforcer.js.map +1 -0
  719. package/dist/compliance/retention/retention-policy.d.ts +307 -0
  720. package/dist/compliance/retention/retention-policy.d.ts.map +1 -0
  721. package/dist/compliance/retention/retention-policy.js +102 -0
  722. package/dist/compliance/retention/retention-policy.js.map +1 -0
  723. package/dist/compliance/retention/retention-scheduler.d.ts +124 -0
  724. package/dist/compliance/retention/retention-scheduler.d.ts.map +1 -0
  725. package/dist/compliance/retention/retention-scheduler.js +391 -0
  726. package/dist/compliance/retention/retention-scheduler.js.map +1 -0
  727. package/dist/compliance/types.d.ts +1162 -0
  728. package/dist/compliance/types.d.ts.map +1 -0
  729. package/dist/compliance/types.js +191 -0
  730. package/dist/compliance/types.js.map +1 -0
  731. package/dist/db/migration-checker.d.ts +183 -0
  732. package/dist/db/migration-checker.d.ts.map +1 -0
  733. package/dist/db/migration-checker.js +680 -0
  734. package/dist/db/migration-checker.js.map +1 -0
  735. package/dist/db/schema/api-keys.d.ts +506 -0
  736. package/dist/db/schema/api-keys.d.ts.map +1 -0
  737. package/dist/db/schema/api-keys.js +98 -0
  738. package/dist/db/schema/api-keys.js.map +1 -0
  739. package/dist/db/schema/escalations.d.ts +554 -0
  740. package/dist/db/schema/escalations.d.ts.map +1 -0
  741. package/dist/db/schema/escalations.js +97 -0
  742. package/dist/db/schema/escalations.js.map +1 -0
  743. package/dist/db/schema/index.d.ts +19 -0
  744. package/dist/db/schema/index.d.ts.map +1 -0
  745. package/dist/db/schema/index.js +19 -0
  746. package/dist/db/schema/index.js.map +1 -0
  747. package/dist/db/schema/intents.d.ts +535 -0
  748. package/dist/db/schema/intents.d.ts.map +1 -0
  749. package/dist/db/schema/intents.js +90 -0
  750. package/dist/db/schema/intents.js.map +1 -0
  751. package/dist/db/schema/merkle.d.ts +475 -0
  752. package/dist/db/schema/merkle.d.ts.map +1 -0
  753. package/dist/db/schema/merkle.js +100 -0
  754. package/dist/db/schema/merkle.js.map +1 -0
  755. package/dist/db/schema/operations.d.ts +256 -0
  756. package/dist/db/schema/operations.d.ts.map +1 -0
  757. package/dist/db/schema/operations.js +65 -0
  758. package/dist/db/schema/operations.js.map +1 -0
  759. package/dist/db/schema/policy-versions.d.ts +149 -0
  760. package/dist/db/schema/policy-versions.d.ts.map +1 -0
  761. package/dist/db/schema/policy-versions.js +40 -0
  762. package/dist/db/schema/policy-versions.js.map +1 -0
  763. package/dist/db/schema/proofs.d.ts +412 -0
  764. package/dist/db/schema/proofs.d.ts.map +1 -0
  765. package/dist/db/schema/proofs.js +63 -0
  766. package/dist/db/schema/proofs.js.map +1 -0
  767. package/dist/db/schema/service-accounts.d.ts +783 -0
  768. package/dist/db/schema/service-accounts.d.ts.map +1 -0
  769. package/dist/db/schema/service-accounts.js +176 -0
  770. package/dist/db/schema/service-accounts.js.map +1 -0
  771. package/dist/db/schema/trust.d.ts +593 -0
  772. package/dist/db/schema/trust.d.ts.map +1 -0
  773. package/dist/db/schema/trust.js +98 -0
  774. package/dist/db/schema/trust.js.map +1 -0
  775. package/dist/db/schema/users.d.ts +487 -0
  776. package/dist/db/schema/users.d.ts.map +1 -0
  777. package/dist/db/schema/users.js +133 -0
  778. package/dist/db/schema/users.js.map +1 -0
  779. package/dist/db/schema/webhooks.d.ts +382 -0
  780. package/dist/db/schema/webhooks.d.ts.map +1 -0
  781. package/dist/db/schema/webhooks.js +91 -0
  782. package/dist/db/schema/webhooks.js.map +1 -0
  783. package/dist/enforce/constraint-evaluator.d.ts +385 -0
  784. package/dist/enforce/constraint-evaluator.d.ts.map +1 -0
  785. package/dist/enforce/constraint-evaluator.js +648 -0
  786. package/dist/enforce/constraint-evaluator.js.map +1 -0
  787. package/dist/enforce/decision-aggregator.d.ts +269 -0
  788. package/dist/enforce/decision-aggregator.d.ts.map +1 -0
  789. package/dist/enforce/decision-aggregator.js +560 -0
  790. package/dist/enforce/decision-aggregator.js.map +1 -0
  791. package/dist/enforce/escalation-rules.d.ts +411 -0
  792. package/dist/enforce/escalation-rules.d.ts.map +1 -0
  793. package/dist/enforce/escalation-rules.js +681 -0
  794. package/dist/enforce/escalation-rules.js.map +1 -0
  795. package/dist/enforce/index.d.ts +175 -0
  796. package/dist/enforce/index.d.ts.map +1 -0
  797. package/dist/enforce/index.js +402 -0
  798. package/dist/enforce/index.js.map +1 -0
  799. package/dist/enforce/policy-engine.d.ts +390 -0
  800. package/dist/enforce/policy-engine.d.ts.map +1 -0
  801. package/dist/enforce/policy-engine.js +652 -0
  802. package/dist/enforce/policy-engine.js.map +1 -0
  803. package/dist/enforce/runtime-config.d.ts +387 -0
  804. package/dist/enforce/runtime-config.d.ts.map +1 -0
  805. package/dist/enforce/runtime-config.js +709 -0
  806. package/dist/enforce/runtime-config.js.map +1 -0
  807. package/dist/index.d.ts +63 -0
  808. package/dist/index.d.ts.map +1 -0
  809. package/dist/index.js +74 -0
  810. package/dist/index.js.map +1 -0
  811. package/dist/intent/audit.d.ts +119 -0
  812. package/dist/intent/audit.d.ts.map +1 -0
  813. package/dist/intent/audit.js +457 -0
  814. package/dist/intent/audit.js.map +1 -0
  815. package/dist/intent/classifier/index.d.ts +121 -0
  816. package/dist/intent/classifier/index.d.ts.map +1 -0
  817. package/dist/intent/classifier/index.js +232 -0
  818. package/dist/intent/classifier/index.js.map +1 -0
  819. package/dist/intent/classifier/patterns.d.ts +129 -0
  820. package/dist/intent/classifier/patterns.d.ts.map +1 -0
  821. package/dist/intent/classifier/patterns.js +471 -0
  822. package/dist/intent/classifier/patterns.js.map +1 -0
  823. package/dist/intent/classifier/risk.d.ts +177 -0
  824. package/dist/intent/classifier/risk.d.ts.map +1 -0
  825. package/dist/intent/classifier/risk.js +335 -0
  826. package/dist/intent/classifier/risk.js.map +1 -0
  827. package/dist/intent/cleanup.d.ts +24 -0
  828. package/dist/intent/cleanup.d.ts.map +1 -0
  829. package/dist/intent/cleanup.js +104 -0
  830. package/dist/intent/cleanup.js.map +1 -0
  831. package/dist/intent/consent.d.ts +238 -0
  832. package/dist/intent/consent.d.ts.map +1 -0
  833. package/dist/intent/consent.js +427 -0
  834. package/dist/intent/consent.js.map +1 -0
  835. package/dist/intent/escalation.d.ts +208 -0
  836. package/dist/intent/escalation.d.ts.map +1 -0
  837. package/dist/intent/escalation.js +550 -0
  838. package/dist/intent/escalation.js.map +1 -0
  839. package/dist/intent/gdpr.d.ts +245 -0
  840. package/dist/intent/gdpr.d.ts.map +1 -0
  841. package/dist/intent/gdpr.js +580 -0
  842. package/dist/intent/gdpr.js.map +1 -0
  843. package/dist/intent/health.d.ts +214 -0
  844. package/dist/intent/health.d.ts.map +1 -0
  845. package/dist/intent/health.js +526 -0
  846. package/dist/intent/health.js.map +1 -0
  847. package/dist/intent/index.d.ts +447 -0
  848. package/dist/intent/index.d.ts.map +1 -0
  849. package/dist/intent/index.js +685 -0
  850. package/dist/intent/index.js.map +1 -0
  851. package/dist/intent/metrics.d.ts +391 -0
  852. package/dist/intent/metrics.d.ts.map +1 -0
  853. package/dist/intent/metrics.js +885 -0
  854. package/dist/intent/metrics.js.map +1 -0
  855. package/dist/intent/openapi.d.ts +22 -0
  856. package/dist/intent/openapi.d.ts.map +1 -0
  857. package/dist/intent/openapi.js +1674 -0
  858. package/dist/intent/openapi.js.map +1 -0
  859. package/dist/intent/planner/dependency.d.ts +78 -0
  860. package/dist/intent/planner/dependency.d.ts.map +1 -0
  861. package/dist/intent/planner/dependency.js +334 -0
  862. package/dist/intent/planner/dependency.js.map +1 -0
  863. package/dist/intent/planner/index.d.ts +157 -0
  864. package/dist/intent/planner/index.d.ts.map +1 -0
  865. package/dist/intent/planner/index.js +372 -0
  866. package/dist/intent/planner/index.js.map +1 -0
  867. package/dist/intent/planner/rollback.d.ts +92 -0
  868. package/dist/intent/planner/rollback.d.ts.map +1 -0
  869. package/dist/intent/planner/rollback.js +326 -0
  870. package/dist/intent/planner/rollback.js.map +1 -0
  871. package/dist/intent/planner/templates.d.ts +81 -0
  872. package/dist/intent/planner/templates.d.ts.map +1 -0
  873. package/dist/intent/planner/templates.js +560 -0
  874. package/dist/intent/planner/templates.js.map +1 -0
  875. package/dist/intent/queue.d.ts +150 -0
  876. package/dist/intent/queue.d.ts.map +1 -0
  877. package/dist/intent/queue.js +339 -0
  878. package/dist/intent/queue.js.map +1 -0
  879. package/dist/intent/queues.d.ts +176 -0
  880. package/dist/intent/queues.d.ts.map +1 -0
  881. package/dist/intent/queues.js +1382 -0
  882. package/dist/intent/queues.js.map +1 -0
  883. package/dist/intent/ratelimit.d.ts +147 -0
  884. package/dist/intent/ratelimit.d.ts.map +1 -0
  885. package/dist/intent/ratelimit.js +301 -0
  886. package/dist/intent/ratelimit.js.map +1 -0
  887. package/dist/intent/replay/comparator.d.ts +148 -0
  888. package/dist/intent/replay/comparator.d.ts.map +1 -0
  889. package/dist/intent/replay/comparator.js +320 -0
  890. package/dist/intent/replay/comparator.js.map +1 -0
  891. package/dist/intent/replay/index.d.ts +159 -0
  892. package/dist/intent/replay/index.d.ts.map +1 -0
  893. package/dist/intent/replay/index.js +486 -0
  894. package/dist/intent/replay/index.js.map +1 -0
  895. package/dist/intent/replay/simulator.d.ts +184 -0
  896. package/dist/intent/replay/simulator.d.ts.map +1 -0
  897. package/dist/intent/replay/simulator.js +510 -0
  898. package/dist/intent/replay/simulator.js.map +1 -0
  899. package/dist/intent/replay/snapshot.d.ts +149 -0
  900. package/dist/intent/replay/snapshot.d.ts.map +1 -0
  901. package/dist/intent/replay/snapshot.js +245 -0
  902. package/dist/intent/replay/snapshot.js.map +1 -0
  903. package/dist/intent/repository.d.ts +198 -0
  904. package/dist/intent/repository.d.ts.map +1 -0
  905. package/dist/intent/repository.js +526 -0
  906. package/dist/intent/repository.js.map +1 -0
  907. package/dist/intent/response-middleware.d.ts +156 -0
  908. package/dist/intent/response-middleware.d.ts.map +1 -0
  909. package/dist/intent/response-middleware.js +337 -0
  910. package/dist/intent/response-middleware.js.map +1 -0
  911. package/dist/intent/response.d.ts +267 -0
  912. package/dist/intent/response.d.ts.map +1 -0
  913. package/dist/intent/response.js +402 -0
  914. package/dist/intent/response.js.map +1 -0
  915. package/dist/intent/routes.d.ts +35 -0
  916. package/dist/intent/routes.d.ts.map +1 -0
  917. package/dist/intent/routes.js +801 -0
  918. package/dist/intent/routes.js.map +1 -0
  919. package/dist/intent/scheduler.d.ts +45 -0
  920. package/dist/intent/scheduler.d.ts.map +1 -0
  921. package/dist/intent/scheduler.js +221 -0
  922. package/dist/intent/scheduler.js.map +1 -0
  923. package/dist/intent/schema.d.ts +2997 -0
  924. package/dist/intent/schema.d.ts.map +1 -0
  925. package/dist/intent/schema.js +447 -0
  926. package/dist/intent/schema.js.map +1 -0
  927. package/dist/intent/shutdown.d.ts +145 -0
  928. package/dist/intent/shutdown.d.ts.map +1 -0
  929. package/dist/intent/shutdown.js +468 -0
  930. package/dist/intent/shutdown.js.map +1 -0
  931. package/dist/intent/state-machine.d.ts +111 -0
  932. package/dist/intent/state-machine.d.ts.map +1 -0
  933. package/dist/intent/state-machine.js +242 -0
  934. package/dist/intent/state-machine.js.map +1 -0
  935. package/dist/intent/tracing.d.ts +152 -0
  936. package/dist/intent/tracing.d.ts.map +1 -0
  937. package/dist/intent/tracing.js +658 -0
  938. package/dist/intent/tracing.js.map +1 -0
  939. package/dist/intent/types.d.ts +175 -0
  940. package/dist/intent/types.d.ts.map +1 -0
  941. package/dist/intent/types.js +25 -0
  942. package/dist/intent/types.js.map +1 -0
  943. package/dist/intent/webhooks/delivery-repository.d.ts +80 -0
  944. package/dist/intent/webhooks/delivery-repository.d.ts.map +1 -0
  945. package/dist/intent/webhooks/delivery-repository.js +251 -0
  946. package/dist/intent/webhooks/delivery-repository.js.map +1 -0
  947. package/dist/intent/webhooks/dns-pinning.d.ts +30 -0
  948. package/dist/intent/webhooks/dns-pinning.d.ts.map +1 -0
  949. package/dist/intent/webhooks/dns-pinning.js +69 -0
  950. package/dist/intent/webhooks/dns-pinning.js.map +1 -0
  951. package/dist/intent/webhooks/index.d.ts +14 -0
  952. package/dist/intent/webhooks/index.d.ts.map +1 -0
  953. package/dist/intent/webhooks/index.js +17 -0
  954. package/dist/intent/webhooks/index.js.map +1 -0
  955. package/dist/intent/webhooks/signature.d.ts +47 -0
  956. package/dist/intent/webhooks/signature.d.ts.map +1 -0
  957. package/dist/intent/webhooks/signature.js +80 -0
  958. package/dist/intent/webhooks/signature.js.map +1 -0
  959. package/dist/intent/webhooks/ssrf-protection.d.ts +29 -0
  960. package/dist/intent/webhooks/ssrf-protection.d.ts.map +1 -0
  961. package/dist/intent/webhooks/ssrf-protection.js +161 -0
  962. package/dist/intent/webhooks/ssrf-protection.js.map +1 -0
  963. package/dist/intent/webhooks/types.d.ts +132 -0
  964. package/dist/intent/webhooks/types.d.ts.map +1 -0
  965. package/dist/intent/webhooks/types.js +14 -0
  966. package/dist/intent/webhooks/types.js.map +1 -0
  967. package/dist/intent/webhooks.d.ts +610 -0
  968. package/dist/intent/webhooks.d.ts.map +1 -0
  969. package/dist/intent/webhooks.js +1793 -0
  970. package/dist/intent/webhooks.js.map +1 -0
  971. package/dist/policy/diff.d.ts +88 -0
  972. package/dist/policy/diff.d.ts.map +1 -0
  973. package/dist/policy/diff.js +325 -0
  974. package/dist/policy/diff.js.map +1 -0
  975. package/dist/policy/evaluator.d.ts +102 -0
  976. package/dist/policy/evaluator.d.ts.map +1 -0
  977. package/dist/policy/evaluator.js +647 -0
  978. package/dist/policy/evaluator.js.map +1 -0
  979. package/dist/policy/index.d.ts +16 -0
  980. package/dist/policy/index.d.ts.map +1 -0
  981. package/dist/policy/index.js +19 -0
  982. package/dist/policy/index.js.map +1 -0
  983. package/dist/policy/loader.d.ts +63 -0
  984. package/dist/policy/loader.d.ts.map +1 -0
  985. package/dist/policy/loader.js +173 -0
  986. package/dist/policy/loader.js.map +1 -0
  987. package/dist/policy/service.d.ts +150 -0
  988. package/dist/policy/service.d.ts.map +1 -0
  989. package/dist/policy/service.js +782 -0
  990. package/dist/policy/service.js.map +1 -0
  991. package/dist/policy/types.d.ts +220 -0
  992. package/dist/policy/types.d.ts.map +1 -0
  993. package/dist/policy/types.js +36 -0
  994. package/dist/policy/types.js.map +1 -0
  995. package/dist/proof/hybrid-signing.d.ts +82 -0
  996. package/dist/proof/hybrid-signing.d.ts.map +1 -0
  997. package/dist/proof/hybrid-signing.js +239 -0
  998. package/dist/proof/hybrid-signing.js.map +1 -0
  999. package/dist/proof/index.d.ts +203 -0
  1000. package/dist/proof/index.d.ts.map +1 -0
  1001. package/dist/proof/index.js +610 -0
  1002. package/dist/proof/index.js.map +1 -0
  1003. package/dist/proof/merkle-service.d.ts +194 -0
  1004. package/dist/proof/merkle-service.d.ts.map +1 -0
  1005. package/dist/proof/merkle-service.js +463 -0
  1006. package/dist/proof/merkle-service.js.map +1 -0
  1007. package/dist/proof/merkle.d.ts +118 -0
  1008. package/dist/proof/merkle.d.ts.map +1 -0
  1009. package/dist/proof/merkle.js +265 -0
  1010. package/dist/proof/merkle.js.map +1 -0
  1011. package/dist/security/ai-governance/access-policy.d.ts +197 -0
  1012. package/dist/security/ai-governance/access-policy.d.ts.map +1 -0
  1013. package/dist/security/ai-governance/access-policy.js +522 -0
  1014. package/dist/security/ai-governance/access-policy.js.map +1 -0
  1015. package/dist/security/ai-governance/audit-trail.d.ts +241 -0
  1016. package/dist/security/ai-governance/audit-trail.d.ts.map +1 -0
  1017. package/dist/security/ai-governance/audit-trail.js +645 -0
  1018. package/dist/security/ai-governance/audit-trail.js.map +1 -0
  1019. package/dist/security/ai-governance/bias-detection.d.ts +221 -0
  1020. package/dist/security/ai-governance/bias-detection.d.ts.map +1 -0
  1021. package/dist/security/ai-governance/bias-detection.js +615 -0
  1022. package/dist/security/ai-governance/bias-detection.js.map +1 -0
  1023. package/dist/security/ai-governance/index.d.ts +92 -0
  1024. package/dist/security/ai-governance/index.d.ts.map +1 -0
  1025. package/dist/security/ai-governance/index.js +184 -0
  1026. package/dist/security/ai-governance/index.js.map +1 -0
  1027. package/dist/security/ai-governance/middleware.d.ts +110 -0
  1028. package/dist/security/ai-governance/middleware.d.ts.map +1 -0
  1029. package/dist/security/ai-governance/middleware.js +359 -0
  1030. package/dist/security/ai-governance/middleware.js.map +1 -0
  1031. package/dist/security/ai-governance/model-registry.d.ts +229 -0
  1032. package/dist/security/ai-governance/model-registry.d.ts.map +1 -0
  1033. package/dist/security/ai-governance/model-registry.js +535 -0
  1034. package/dist/security/ai-governance/model-registry.js.map +1 -0
  1035. package/dist/security/ai-governance/output-filter.d.ts +150 -0
  1036. package/dist/security/ai-governance/output-filter.d.ts.map +1 -0
  1037. package/dist/security/ai-governance/output-filter.js +561 -0
  1038. package/dist/security/ai-governance/output-filter.js.map +1 -0
  1039. package/dist/security/ai-governance/prompt-injection.d.ts +153 -0
  1040. package/dist/security/ai-governance/prompt-injection.d.ts.map +1 -0
  1041. package/dist/security/ai-governance/prompt-injection.js +614 -0
  1042. package/dist/security/ai-governance/prompt-injection.js.map +1 -0
  1043. package/dist/security/ai-governance/rate-limiter.d.ts +156 -0
  1044. package/dist/security/ai-governance/rate-limiter.d.ts.map +1 -0
  1045. package/dist/security/ai-governance/rate-limiter.js +541 -0
  1046. package/dist/security/ai-governance/rate-limiter.js.map +1 -0
  1047. package/dist/security/ai-governance/types.d.ts +594 -0
  1048. package/dist/security/ai-governance/types.d.ts.map +1 -0
  1049. package/dist/security/ai-governance/types.js +6 -0
  1050. package/dist/security/ai-governance/types.js.map +1 -0
  1051. package/dist/security/alerting/channels/base.d.ts +91 -0
  1052. package/dist/security/alerting/channels/base.d.ts.map +1 -0
  1053. package/dist/security/alerting/channels/base.js +128 -0
  1054. package/dist/security/alerting/channels/base.js.map +1 -0
  1055. package/dist/security/alerting/channels/email.d.ts +92 -0
  1056. package/dist/security/alerting/channels/email.d.ts.map +1 -0
  1057. package/dist/security/alerting/channels/email.js +418 -0
  1058. package/dist/security/alerting/channels/email.js.map +1 -0
  1059. package/dist/security/alerting/channels/http-base.d.ts +86 -0
  1060. package/dist/security/alerting/channels/http-base.d.ts.map +1 -0
  1061. package/dist/security/alerting/channels/http-base.js +133 -0
  1062. package/dist/security/alerting/channels/http-base.js.map +1 -0
  1063. package/dist/security/alerting/channels/index.d.ts +30 -0
  1064. package/dist/security/alerting/channels/index.d.ts.map +1 -0
  1065. package/dist/security/alerting/channels/index.js +22 -0
  1066. package/dist/security/alerting/channels/index.js.map +1 -0
  1067. package/dist/security/alerting/channels/pagerduty.d.ts +70 -0
  1068. package/dist/security/alerting/channels/pagerduty.d.ts.map +1 -0
  1069. package/dist/security/alerting/channels/pagerduty.js +248 -0
  1070. package/dist/security/alerting/channels/pagerduty.js.map +1 -0
  1071. package/dist/security/alerting/channels/slack.d.ts +55 -0
  1072. package/dist/security/alerting/channels/slack.d.ts.map +1 -0
  1073. package/dist/security/alerting/channels/slack.js +215 -0
  1074. package/dist/security/alerting/channels/slack.js.map +1 -0
  1075. package/dist/security/alerting/channels/sns.d.ts +87 -0
  1076. package/dist/security/alerting/channels/sns.d.ts.map +1 -0
  1077. package/dist/security/alerting/channels/sns.js +251 -0
  1078. package/dist/security/alerting/channels/sns.js.map +1 -0
  1079. package/dist/security/alerting/channels/webhook.d.ts +92 -0
  1080. package/dist/security/alerting/channels/webhook.d.ts.map +1 -0
  1081. package/dist/security/alerting/channels/webhook.js +203 -0
  1082. package/dist/security/alerting/channels/webhook.js.map +1 -0
  1083. package/dist/security/alerting/detector.d.ts +217 -0
  1084. package/dist/security/alerting/detector.d.ts.map +1 -0
  1085. package/dist/security/alerting/detector.js +725 -0
  1086. package/dist/security/alerting/detector.js.map +1 -0
  1087. package/dist/security/alerting/index.d.ts +57 -0
  1088. package/dist/security/alerting/index.d.ts.map +1 -0
  1089. package/dist/security/alerting/index.js +214 -0
  1090. package/dist/security/alerting/index.js.map +1 -0
  1091. package/dist/security/alerting/service.d.ts +190 -0
  1092. package/dist/security/alerting/service.d.ts.map +1 -0
  1093. package/dist/security/alerting/service.js +815 -0
  1094. package/dist/security/alerting/service.js.map +1 -0
  1095. package/dist/security/alerting/types.d.ts +2165 -0
  1096. package/dist/security/alerting/types.d.ts.map +1 -0
  1097. package/dist/security/alerting/types.js +278 -0
  1098. package/dist/security/alerting/types.js.map +1 -0
  1099. package/dist/security/anomaly/detectors/account-compromise.d.ts +198 -0
  1100. package/dist/security/anomaly/detectors/account-compromise.d.ts.map +1 -0
  1101. package/dist/security/anomaly/detectors/account-compromise.js +815 -0
  1102. package/dist/security/anomaly/detectors/account-compromise.js.map +1 -0
  1103. package/dist/security/anomaly/detectors/data-exfiltration.d.ts +175 -0
  1104. package/dist/security/anomaly/detectors/data-exfiltration.d.ts.map +1 -0
  1105. package/dist/security/anomaly/detectors/data-exfiltration.js +733 -0
  1106. package/dist/security/anomaly/detectors/data-exfiltration.js.map +1 -0
  1107. package/dist/security/anomaly/detectors/geographic.d.ts +100 -0
  1108. package/dist/security/anomaly/detectors/geographic.d.ts.map +1 -0
  1109. package/dist/security/anomaly/detectors/geographic.js +348 -0
  1110. package/dist/security/anomaly/detectors/geographic.js.map +1 -0
  1111. package/dist/security/anomaly/detectors/index.d.ts +86 -0
  1112. package/dist/security/anomaly/detectors/index.d.ts.map +1 -0
  1113. package/dist/security/anomaly/detectors/index.js +118 -0
  1114. package/dist/security/anomaly/detectors/index.js.map +1 -0
  1115. package/dist/security/anomaly/detectors/lateral-movement.d.ts +168 -0
  1116. package/dist/security/anomaly/detectors/lateral-movement.d.ts.map +1 -0
  1117. package/dist/security/anomaly/detectors/lateral-movement.js +795 -0
  1118. package/dist/security/anomaly/detectors/lateral-movement.js.map +1 -0
  1119. package/dist/security/anomaly/detectors/privilege-escalation.d.ts +177 -0
  1120. package/dist/security/anomaly/detectors/privilege-escalation.d.ts.map +1 -0
  1121. package/dist/security/anomaly/detectors/privilege-escalation.js +741 -0
  1122. package/dist/security/anomaly/detectors/privilege-escalation.js.map +1 -0
  1123. package/dist/security/anomaly/detectors/temporal.d.ts +71 -0
  1124. package/dist/security/anomaly/detectors/temporal.d.ts.map +1 -0
  1125. package/dist/security/anomaly/detectors/temporal.js +398 -0
  1126. package/dist/security/anomaly/detectors/temporal.js.map +1 -0
  1127. package/dist/security/anomaly/detectors/volume.d.ts +97 -0
  1128. package/dist/security/anomaly/detectors/volume.d.ts.map +1 -0
  1129. package/dist/security/anomaly/detectors/volume.js +424 -0
  1130. package/dist/security/anomaly/detectors/volume.js.map +1 -0
  1131. package/dist/security/anomaly/index.d.ts +128 -0
  1132. package/dist/security/anomaly/index.d.ts.map +1 -0
  1133. package/dist/security/anomaly/index.js +378 -0
  1134. package/dist/security/anomaly/index.js.map +1 -0
  1135. package/dist/security/anomaly/types.d.ts +1209 -0
  1136. package/dist/security/anomaly/types.d.ts.map +1 -0
  1137. package/dist/security/anomaly/types.js +193 -0
  1138. package/dist/security/anomaly/types.js.map +1 -0
  1139. package/dist/security/api-keys/cache.d.ts +255 -0
  1140. package/dist/security/api-keys/cache.d.ts.map +1 -0
  1141. package/dist/security/api-keys/cache.js +595 -0
  1142. package/dist/security/api-keys/cache.js.map +1 -0
  1143. package/dist/security/api-keys/db-store.d.ts +150 -0
  1144. package/dist/security/api-keys/db-store.d.ts.map +1 -0
  1145. package/dist/security/api-keys/db-store.js +694 -0
  1146. package/dist/security/api-keys/db-store.js.map +1 -0
  1147. package/dist/security/api-keys/index.d.ts +29 -0
  1148. package/dist/security/api-keys/index.d.ts.map +1 -0
  1149. package/dist/security/api-keys/index.js +81 -0
  1150. package/dist/security/api-keys/index.js.map +1 -0
  1151. package/dist/security/api-keys/middleware.d.ts +164 -0
  1152. package/dist/security/api-keys/middleware.d.ts.map +1 -0
  1153. package/dist/security/api-keys/middleware.js +392 -0
  1154. package/dist/security/api-keys/middleware.js.map +1 -0
  1155. package/dist/security/api-keys/service.d.ts +226 -0
  1156. package/dist/security/api-keys/service.d.ts.map +1 -0
  1157. package/dist/security/api-keys/service.js +861 -0
  1158. package/dist/security/api-keys/service.js.map +1 -0
  1159. package/dist/security/api-keys/store.d.ts +241 -0
  1160. package/dist/security/api-keys/store.d.ts.map +1 -0
  1161. package/dist/security/api-keys/store.js +360 -0
  1162. package/dist/security/api-keys/store.js.map +1 -0
  1163. package/dist/security/api-keys/types.d.ts +718 -0
  1164. package/dist/security/api-keys/types.d.ts.map +1 -0
  1165. package/dist/security/api-keys/types.js +162 -0
  1166. package/dist/security/api-keys/types.js.map +1 -0
  1167. package/dist/security/brute-force.d.ts +390 -0
  1168. package/dist/security/brute-force.d.ts.map +1 -0
  1169. package/dist/security/brute-force.js +677 -0
  1170. package/dist/security/brute-force.js.map +1 -0
  1171. package/dist/security/config-validator.d.ts +152 -0
  1172. package/dist/security/config-validator.d.ts.map +1 -0
  1173. package/dist/security/config-validator.js +667 -0
  1174. package/dist/security/config-validator.js.map +1 -0
  1175. package/dist/security/crypto/fips-mode.d.ts +772 -0
  1176. package/dist/security/crypto/fips-mode.d.ts.map +1 -0
  1177. package/dist/security/crypto/fips-mode.js +1363 -0
  1178. package/dist/security/crypto/fips-mode.js.map +1 -0
  1179. package/dist/security/crypto/index.d.ts +202 -0
  1180. package/dist/security/crypto/index.d.ts.map +1 -0
  1181. package/dist/security/crypto/index.js +292 -0
  1182. package/dist/security/crypto/index.js.map +1 -0
  1183. package/dist/security/crypto/post-quantum/benchmark.d.ts +125 -0
  1184. package/dist/security/crypto/post-quantum/benchmark.d.ts.map +1 -0
  1185. package/dist/security/crypto/post-quantum/benchmark.js +530 -0
  1186. package/dist/security/crypto/post-quantum/benchmark.js.map +1 -0
  1187. package/dist/security/crypto/post-quantum/dilithium.d.ts +144 -0
  1188. package/dist/security/crypto/post-quantum/dilithium.d.ts.map +1 -0
  1189. package/dist/security/crypto/post-quantum/dilithium.js +675 -0
  1190. package/dist/security/crypto/post-quantum/dilithium.js.map +1 -0
  1191. package/dist/security/crypto/post-quantum/hybrid.d.ts +267 -0
  1192. package/dist/security/crypto/post-quantum/hybrid.d.ts.map +1 -0
  1193. package/dist/security/crypto/post-quantum/hybrid.js +457 -0
  1194. package/dist/security/crypto/post-quantum/hybrid.js.map +1 -0
  1195. package/dist/security/crypto/post-quantum/index.d.ts +166 -0
  1196. package/dist/security/crypto/post-quantum/index.d.ts.map +1 -0
  1197. package/dist/security/crypto/post-quantum/index.js +236 -0
  1198. package/dist/security/crypto/post-quantum/index.js.map +1 -0
  1199. package/dist/security/crypto/post-quantum/kyber.d.ts +129 -0
  1200. package/dist/security/crypto/post-quantum/kyber.d.ts.map +1 -0
  1201. package/dist/security/crypto/post-quantum/kyber.js +649 -0
  1202. package/dist/security/crypto/post-quantum/kyber.js.map +1 -0
  1203. package/dist/security/crypto/post-quantum/migration.d.ts +230 -0
  1204. package/dist/security/crypto/post-quantum/migration.d.ts.map +1 -0
  1205. package/dist/security/crypto/post-quantum/migration.js +563 -0
  1206. package/dist/security/crypto/post-quantum/migration.js.map +1 -0
  1207. package/dist/security/crypto/post-quantum/types.d.ts +1056 -0
  1208. package/dist/security/crypto/post-quantum/types.d.ts.map +1 -0
  1209. package/dist/security/crypto/post-quantum/types.js +350 -0
  1210. package/dist/security/crypto/post-quantum/types.js.map +1 -0
  1211. package/dist/security/crypto/shamir/comparison.d.ts +128 -0
  1212. package/dist/security/crypto/shamir/comparison.d.ts.map +1 -0
  1213. package/dist/security/crypto/shamir/comparison.js +423 -0
  1214. package/dist/security/crypto/shamir/comparison.js.map +1 -0
  1215. package/dist/security/crypto/shamir/index.d.ts +76 -0
  1216. package/dist/security/crypto/shamir/index.d.ts.map +1 -0
  1217. package/dist/security/crypto/shamir/index.js +155 -0
  1218. package/dist/security/crypto/shamir/index.js.map +1 -0
  1219. package/dist/security/crypto/shamir/proofs.d.ts +259 -0
  1220. package/dist/security/crypto/shamir/proofs.d.ts.map +1 -0
  1221. package/dist/security/crypto/shamir/proofs.js +605 -0
  1222. package/dist/security/crypto/shamir/proofs.js.map +1 -0
  1223. package/dist/security/crypto/shamir/property-tests.d.ts +104 -0
  1224. package/dist/security/crypto/shamir/property-tests.d.ts.map +1 -0
  1225. package/dist/security/crypto/shamir/property-tests.js +480 -0
  1226. package/dist/security/crypto/shamir/property-tests.js.map +1 -0
  1227. package/dist/security/crypto/shamir/security-analysis.d.ts +97 -0
  1228. package/dist/security/crypto/shamir/security-analysis.d.ts.map +1 -0
  1229. package/dist/security/crypto/shamir/security-analysis.js +503 -0
  1230. package/dist/security/crypto/shamir/security-analysis.js.map +1 -0
  1231. package/dist/security/crypto/shamir/test-vectors.d.ts +116 -0
  1232. package/dist/security/crypto/shamir/test-vectors.d.ts.map +1 -0
  1233. package/dist/security/crypto/shamir/test-vectors.js +377 -0
  1234. package/dist/security/crypto/shamir/test-vectors.js.map +1 -0
  1235. package/dist/security/crypto/shamir/types.d.ts +281 -0
  1236. package/dist/security/crypto/shamir/types.d.ts.map +1 -0
  1237. package/dist/security/crypto/shamir/types.js +82 -0
  1238. package/dist/security/crypto/shamir/types.js.map +1 -0
  1239. package/dist/security/crypto/shamir/verified-shamir.d.ts +170 -0
  1240. package/dist/security/crypto/shamir/verified-shamir.d.ts.map +1 -0
  1241. package/dist/security/crypto/shamir/verified-shamir.js +624 -0
  1242. package/dist/security/crypto/shamir/verified-shamir.js.map +1 -0
  1243. package/dist/security/csrf.d.ts +215 -0
  1244. package/dist/security/csrf.d.ts.map +1 -0
  1245. package/dist/security/csrf.js +467 -0
  1246. package/dist/security/csrf.js.map +1 -0
  1247. package/dist/security/distributed-state.d.ts +331 -0
  1248. package/dist/security/distributed-state.d.ts.map +1 -0
  1249. package/dist/security/distributed-state.js +768 -0
  1250. package/dist/security/distributed-state.js.map +1 -0
  1251. package/dist/security/dlp/index.d.ts +27 -0
  1252. package/dist/security/dlp/index.d.ts.map +1 -0
  1253. package/dist/security/dlp/index.js +54 -0
  1254. package/dist/security/dlp/index.js.map +1 -0
  1255. package/dist/security/dlp/scanner.d.ts +451 -0
  1256. package/dist/security/dlp/scanner.d.ts.map +1 -0
  1257. package/dist/security/dlp/scanner.js +1241 -0
  1258. package/dist/security/dlp/scanner.js.map +1 -0
  1259. package/dist/security/dpop.d.ts +260 -0
  1260. package/dist/security/dpop.d.ts.map +1 -0
  1261. package/dist/security/dpop.js +1058 -0
  1262. package/dist/security/dpop.js.map +1 -0
  1263. package/dist/security/encryption/decorators.d.ts +263 -0
  1264. package/dist/security/encryption/decorators.d.ts.map +1 -0
  1265. package/dist/security/encryption/decorators.js +359 -0
  1266. package/dist/security/encryption/decorators.js.map +1 -0
  1267. package/dist/security/encryption/index.d.ts +83 -0
  1268. package/dist/security/encryption/index.d.ts.map +1 -0
  1269. package/dist/security/encryption/index.js +140 -0
  1270. package/dist/security/encryption/index.js.map +1 -0
  1271. package/dist/security/encryption/key-provider.d.ts +335 -0
  1272. package/dist/security/encryption/key-provider.d.ts.map +1 -0
  1273. package/dist/security/encryption/key-provider.js +853 -0
  1274. package/dist/security/encryption/key-provider.js.map +1 -0
  1275. package/dist/security/encryption/middleware.d.ts +279 -0
  1276. package/dist/security/encryption/middleware.d.ts.map +1 -0
  1277. package/dist/security/encryption/middleware.js +493 -0
  1278. package/dist/security/encryption/middleware.js.map +1 -0
  1279. package/dist/security/encryption/service.d.ts +164 -0
  1280. package/dist/security/encryption/service.d.ts.map +1 -0
  1281. package/dist/security/encryption/service.js +623 -0
  1282. package/dist/security/encryption/service.js.map +1 -0
  1283. package/dist/security/encryption/types.d.ts +745 -0
  1284. package/dist/security/encryption/types.d.ts.map +1 -0
  1285. package/dist/security/encryption/types.js +229 -0
  1286. package/dist/security/encryption/types.js.map +1 -0
  1287. package/dist/security/error-sanitizer.d.ts +329 -0
  1288. package/dist/security/error-sanitizer.d.ts.map +1 -0
  1289. package/dist/security/error-sanitizer.js +693 -0
  1290. package/dist/security/error-sanitizer.js.map +1 -0
  1291. package/dist/security/fingerprint-service.d.ts +139 -0
  1292. package/dist/security/fingerprint-service.d.ts.map +1 -0
  1293. package/dist/security/fingerprint-service.js +240 -0
  1294. package/dist/security/fingerprint-service.js.map +1 -0
  1295. package/dist/security/headers/csp.d.ts +270 -0
  1296. package/dist/security/headers/csp.d.ts.map +1 -0
  1297. package/dist/security/headers/csp.js +655 -0
  1298. package/dist/security/headers/csp.js.map +1 -0
  1299. package/dist/security/headers/hsts.d.ts +161 -0
  1300. package/dist/security/headers/hsts.d.ts.map +1 -0
  1301. package/dist/security/headers/hsts.js +346 -0
  1302. package/dist/security/headers/hsts.js.map +1 -0
  1303. package/dist/security/headers/index.d.ts +47 -0
  1304. package/dist/security/headers/index.d.ts.map +1 -0
  1305. package/dist/security/headers/index.js +110 -0
  1306. package/dist/security/headers/index.js.map +1 -0
  1307. package/dist/security/headers/middleware.d.ts +70 -0
  1308. package/dist/security/headers/middleware.d.ts.map +1 -0
  1309. package/dist/security/headers/middleware.js +549 -0
  1310. package/dist/security/headers/middleware.js.map +1 -0
  1311. package/dist/security/headers/permissions-policy.d.ts +189 -0
  1312. package/dist/security/headers/permissions-policy.d.ts.map +1 -0
  1313. package/dist/security/headers/permissions-policy.js +508 -0
  1314. package/dist/security/headers/permissions-policy.js.map +1 -0
  1315. package/dist/security/headers/types.d.ts +1570 -0
  1316. package/dist/security/headers/types.d.ts.map +1 -0
  1317. package/dist/security/headers/types.js +281 -0
  1318. package/dist/security/headers/types.js.map +1 -0
  1319. package/dist/security/headers/validator.d.ts +36 -0
  1320. package/dist/security/headers/validator.d.ts.map +1 -0
  1321. package/dist/security/headers/validator.js +616 -0
  1322. package/dist/security/headers/validator.js.map +1 -0
  1323. package/dist/security/hsm/aws-cloudhsm.d.ts +157 -0
  1324. package/dist/security/hsm/aws-cloudhsm.d.ts.map +1 -0
  1325. package/dist/security/hsm/aws-cloudhsm.js +712 -0
  1326. package/dist/security/hsm/aws-cloudhsm.js.map +1 -0
  1327. package/dist/security/hsm/azure-hsm.d.ts +174 -0
  1328. package/dist/security/hsm/azure-hsm.d.ts.map +1 -0
  1329. package/dist/security/hsm/azure-hsm.js +792 -0
  1330. package/dist/security/hsm/azure-hsm.js.map +1 -0
  1331. package/dist/security/hsm/gcp-hsm.d.ts +184 -0
  1332. package/dist/security/hsm/gcp-hsm.d.ts.map +1 -0
  1333. package/dist/security/hsm/gcp-hsm.js +817 -0
  1334. package/dist/security/hsm/gcp-hsm.js.map +1 -0
  1335. package/dist/security/hsm/hsm-service.d.ts +264 -0
  1336. package/dist/security/hsm/hsm-service.d.ts.map +1 -0
  1337. package/dist/security/hsm/hsm-service.js +772 -0
  1338. package/dist/security/hsm/hsm-service.js.map +1 -0
  1339. package/dist/security/hsm/index.d.ts +132 -0
  1340. package/dist/security/hsm/index.d.ts.map +1 -0
  1341. package/dist/security/hsm/index.js +198 -0
  1342. package/dist/security/hsm/index.js.map +1 -0
  1343. package/dist/security/hsm/key-ceremony.d.ts +214 -0
  1344. package/dist/security/hsm/key-ceremony.d.ts.map +1 -0
  1345. package/dist/security/hsm/key-ceremony.js +636 -0
  1346. package/dist/security/hsm/key-ceremony.js.map +1 -0
  1347. package/dist/security/hsm/local-softHSM.d.ts +122 -0
  1348. package/dist/security/hsm/local-softHSM.d.ts.map +1 -0
  1349. package/dist/security/hsm/local-softHSM.js +786 -0
  1350. package/dist/security/hsm/local-softHSM.js.map +1 -0
  1351. package/dist/security/hsm/provider.d.ts +333 -0
  1352. package/dist/security/hsm/provider.d.ts.map +1 -0
  1353. package/dist/security/hsm/provider.js +264 -0
  1354. package/dist/security/hsm/provider.js.map +1 -0
  1355. package/dist/security/hsm/thales-luna.d.ts +209 -0
  1356. package/dist/security/hsm/thales-luna.d.ts.map +1 -0
  1357. package/dist/security/hsm/thales-luna.js +820 -0
  1358. package/dist/security/hsm/thales-luna.js.map +1 -0
  1359. package/dist/security/incident/actions/block-ip.d.ts +84 -0
  1360. package/dist/security/incident/actions/block-ip.d.ts.map +1 -0
  1361. package/dist/security/incident/actions/block-ip.js +464 -0
  1362. package/dist/security/incident/actions/block-ip.js.map +1 -0
  1363. package/dist/security/incident/actions/collect-evidence.d.ts +95 -0
  1364. package/dist/security/incident/actions/collect-evidence.d.ts.map +1 -0
  1365. package/dist/security/incident/actions/collect-evidence.js +458 -0
  1366. package/dist/security/incident/actions/collect-evidence.js.map +1 -0
  1367. package/dist/security/incident/actions/index.d.ts +39 -0
  1368. package/dist/security/incident/actions/index.d.ts.map +1 -0
  1369. package/dist/security/incident/actions/index.js +52 -0
  1370. package/dist/security/incident/actions/index.js.map +1 -0
  1371. package/dist/security/incident/actions/isolate-system.d.ts +63 -0
  1372. package/dist/security/incident/actions/isolate-system.d.ts.map +1 -0
  1373. package/dist/security/incident/actions/isolate-system.js +379 -0
  1374. package/dist/security/incident/actions/isolate-system.js.map +1 -0
  1375. package/dist/security/incident/actions/notify-stakeholders.d.ts +72 -0
  1376. package/dist/security/incident/actions/notify-stakeholders.d.ts.map +1 -0
  1377. package/dist/security/incident/actions/notify-stakeholders.js +387 -0
  1378. package/dist/security/incident/actions/notify-stakeholders.js.map +1 -0
  1379. package/dist/security/incident/actions/revoke-credentials.d.ts +77 -0
  1380. package/dist/security/incident/actions/revoke-credentials.d.ts.map +1 -0
  1381. package/dist/security/incident/actions/revoke-credentials.js +329 -0
  1382. package/dist/security/incident/actions/revoke-credentials.js.map +1 -0
  1383. package/dist/security/incident/actions/scale-monitoring.d.ts +90 -0
  1384. package/dist/security/incident/actions/scale-monitoring.d.ts.map +1 -0
  1385. package/dist/security/incident/actions/scale-monitoring.js +483 -0
  1386. package/dist/security/incident/actions/scale-monitoring.js.map +1 -0
  1387. package/dist/security/incident/executor.d.ts +128 -0
  1388. package/dist/security/incident/executor.d.ts.map +1 -0
  1389. package/dist/security/incident/executor.js +695 -0
  1390. package/dist/security/incident/executor.js.map +1 -0
  1391. package/dist/security/incident/index.d.ts +220 -0
  1392. package/dist/security/incident/index.d.ts.map +1 -0
  1393. package/dist/security/incident/index.js +1284 -0
  1394. package/dist/security/incident/index.js.map +1 -0
  1395. package/dist/security/incident/notification.d.ts +68 -0
  1396. package/dist/security/incident/notification.d.ts.map +1 -0
  1397. package/dist/security/incident/notification.js +512 -0
  1398. package/dist/security/incident/notification.js.map +1 -0
  1399. package/dist/security/incident/playbooks/account-compromise.d.ts +13 -0
  1400. package/dist/security/incident/playbooks/account-compromise.d.ts.map +1 -0
  1401. package/dist/security/incident/playbooks/account-compromise.js +379 -0
  1402. package/dist/security/incident/playbooks/account-compromise.js.map +1 -0
  1403. package/dist/security/incident/playbooks/configuration-error.d.ts +17 -0
  1404. package/dist/security/incident/playbooks/configuration-error.d.ts.map +1 -0
  1405. package/dist/security/incident/playbooks/configuration-error.js +340 -0
  1406. package/dist/security/incident/playbooks/configuration-error.js.map +1 -0
  1407. package/dist/security/incident/playbooks/data-breach.d.ts +13 -0
  1408. package/dist/security/incident/playbooks/data-breach.d.ts.map +1 -0
  1409. package/dist/security/incident/playbooks/data-breach.js +394 -0
  1410. package/dist/security/incident/playbooks/data-breach.js.map +1 -0
  1411. package/dist/security/incident/playbooks/denial-of-service.d.ts +13 -0
  1412. package/dist/security/incident/playbooks/denial-of-service.d.ts.map +1 -0
  1413. package/dist/security/incident/playbooks/denial-of-service.js +540 -0
  1414. package/dist/security/incident/playbooks/denial-of-service.js.map +1 -0
  1415. package/dist/security/incident/playbooks/index.d.ts +36 -0
  1416. package/dist/security/incident/playbooks/index.d.ts.map +1 -0
  1417. package/dist/security/incident/playbooks/index.js +56 -0
  1418. package/dist/security/incident/playbooks/index.js.map +1 -0
  1419. package/dist/security/incident/playbooks/insider-threat.d.ts +18 -0
  1420. package/dist/security/incident/playbooks/insider-threat.d.ts.map +1 -0
  1421. package/dist/security/incident/playbooks/insider-threat.js +600 -0
  1422. package/dist/security/incident/playbooks/insider-threat.js.map +1 -0
  1423. package/dist/security/incident/playbooks/malware.d.ts +13 -0
  1424. package/dist/security/incident/playbooks/malware.d.ts.map +1 -0
  1425. package/dist/security/incident/playbooks/malware.js +515 -0
  1426. package/dist/security/incident/playbooks/malware.js.map +1 -0
  1427. package/dist/security/incident/playbooks/ransomware.d.ts +14 -0
  1428. package/dist/security/incident/playbooks/ransomware.d.ts.map +1 -0
  1429. package/dist/security/incident/playbooks/ransomware.js +693 -0
  1430. package/dist/security/incident/playbooks/ransomware.js.map +1 -0
  1431. package/dist/security/incident/playbooks/unauthorized-access.d.ts +13 -0
  1432. package/dist/security/incident/playbooks/unauthorized-access.d.ts.map +1 -0
  1433. package/dist/security/incident/playbooks/unauthorized-access.js +412 -0
  1434. package/dist/security/incident/playbooks/unauthorized-access.js.map +1 -0
  1435. package/dist/security/incident/triggers.d.ts +120 -0
  1436. package/dist/security/incident/triggers.d.ts.map +1 -0
  1437. package/dist/security/incident/triggers.js +708 -0
  1438. package/dist/security/incident/triggers.js.map +1 -0
  1439. package/dist/security/incident/types.d.ts +1517 -0
  1440. package/dist/security/incident/types.d.ts.map +1 -0
  1441. package/dist/security/incident/types.js +222 -0
  1442. package/dist/security/incident/types.js.map +1 -0
  1443. package/dist/security/index.d.ts +56 -0
  1444. package/dist/security/index.d.ts.map +1 -0
  1445. package/dist/security/index.js +267 -0
  1446. package/dist/security/index.js.map +1 -0
  1447. package/dist/security/injection-detector.d.ts +375 -0
  1448. package/dist/security/injection-detector.d.ts.map +1 -0
  1449. package/dist/security/injection-detector.js +969 -0
  1450. package/dist/security/injection-detector.js.map +1 -0
  1451. package/dist/security/introspection.d.ts +137 -0
  1452. package/dist/security/introspection.d.ts.map +1 -0
  1453. package/dist/security/introspection.js +451 -0
  1454. package/dist/security/introspection.js.map +1 -0
  1455. package/dist/security/key-rotation.d.ts +213 -0
  1456. package/dist/security/key-rotation.d.ts.map +1 -0
  1457. package/dist/security/key-rotation.js +530 -0
  1458. package/dist/security/key-rotation.js.map +1 -0
  1459. package/dist/security/kms/aws-kms.d.ts +152 -0
  1460. package/dist/security/kms/aws-kms.d.ts.map +1 -0
  1461. package/dist/security/kms/aws-kms.js +808 -0
  1462. package/dist/security/kms/aws-kms.js.map +1 -0
  1463. package/dist/security/kms/index.d.ts +165 -0
  1464. package/dist/security/kms/index.d.ts.map +1 -0
  1465. package/dist/security/kms/index.js +351 -0
  1466. package/dist/security/kms/index.js.map +1 -0
  1467. package/dist/security/kms/local.d.ts +127 -0
  1468. package/dist/security/kms/local.d.ts.map +1 -0
  1469. package/dist/security/kms/local.js +682 -0
  1470. package/dist/security/kms/local.js.map +1 -0
  1471. package/dist/security/kms/types.d.ts +1000 -0
  1472. package/dist/security/kms/types.d.ts.map +1 -0
  1473. package/dist/security/kms/types.js +167 -0
  1474. package/dist/security/kms/types.js.map +1 -0
  1475. package/dist/security/kms/vault.d.ts +165 -0
  1476. package/dist/security/kms/vault.d.ts.map +1 -0
  1477. package/dist/security/kms/vault.js +820 -0
  1478. package/dist/security/kms/vault.js.map +1 -0
  1479. package/dist/security/mfa/index.d.ts +17 -0
  1480. package/dist/security/mfa/index.d.ts.map +1 -0
  1481. package/dist/security/mfa/index.js +37 -0
  1482. package/dist/security/mfa/index.js.map +1 -0
  1483. package/dist/security/mfa/mfa-middleware.d.ts +74 -0
  1484. package/dist/security/mfa/mfa-middleware.d.ts.map +1 -0
  1485. package/dist/security/mfa/mfa-middleware.js +244 -0
  1486. package/dist/security/mfa/mfa-middleware.js.map +1 -0
  1487. package/dist/security/mfa/mfa-service.d.ts +115 -0
  1488. package/dist/security/mfa/mfa-service.d.ts.map +1 -0
  1489. package/dist/security/mfa/mfa-service.js +508 -0
  1490. package/dist/security/mfa/mfa-service.js.map +1 -0
  1491. package/dist/security/mfa/mfa-store.d.ts +615 -0
  1492. package/dist/security/mfa/mfa-store.d.ts.map +1 -0
  1493. package/dist/security/mfa/mfa-store.js +431 -0
  1494. package/dist/security/mfa/mfa-store.js.map +1 -0
  1495. package/dist/security/mfa/types.d.ts +417 -0
  1496. package/dist/security/mfa/types.d.ts.map +1 -0
  1497. package/dist/security/mfa/types.js +123 -0
  1498. package/dist/security/mfa/types.js.map +1 -0
  1499. package/dist/security/middleware.d.ts +179 -0
  1500. package/dist/security/middleware.d.ts.map +1 -0
  1501. package/dist/security/middleware.js +534 -0
  1502. package/dist/security/middleware.js.map +1 -0
  1503. package/dist/security/pairwise-did.d.ts +157 -0
  1504. package/dist/security/pairwise-did.d.ts.map +1 -0
  1505. package/dist/security/pairwise-did.js +450 -0
  1506. package/dist/security/pairwise-did.js.map +1 -0
  1507. package/dist/security/pam/break-glass.d.ts +776 -0
  1508. package/dist/security/pam/break-glass.d.ts.map +1 -0
  1509. package/dist/security/pam/break-glass.js +1137 -0
  1510. package/dist/security/pam/break-glass.js.map +1 -0
  1511. package/dist/security/pam/index.d.ts +120 -0
  1512. package/dist/security/pam/index.d.ts.map +1 -0
  1513. package/dist/security/pam/index.js +179 -0
  1514. package/dist/security/pam/index.js.map +1 -0
  1515. package/dist/security/pam/jit-access.d.ts +482 -0
  1516. package/dist/security/pam/jit-access.d.ts.map +1 -0
  1517. package/dist/security/pam/jit-access.js +1030 -0
  1518. package/dist/security/pam/jit-access.js.map +1 -0
  1519. package/dist/security/pam/session-recording.d.ts +1007 -0
  1520. package/dist/security/pam/session-recording.d.ts.map +1 -0
  1521. package/dist/security/pam/session-recording.js +1047 -0
  1522. package/dist/security/pam/session-recording.js.map +1 -0
  1523. package/dist/security/password-hashing.d.ts +199 -0
  1524. package/dist/security/password-hashing.d.ts.map +1 -0
  1525. package/dist/security/password-hashing.js +366 -0
  1526. package/dist/security/password-hashing.js.map +1 -0
  1527. package/dist/security/password-policy.d.ts +304 -0
  1528. package/dist/security/password-policy.d.ts.map +1 -0
  1529. package/dist/security/password-policy.js +730 -0
  1530. package/dist/security/password-policy.js.map +1 -0
  1531. package/dist/security/policy-engine/atsf-adapter.d.ts +93 -0
  1532. package/dist/security/policy-engine/atsf-adapter.d.ts.map +1 -0
  1533. package/dist/security/policy-engine/atsf-adapter.js +265 -0
  1534. package/dist/security/policy-engine/atsf-adapter.js.map +1 -0
  1535. package/dist/security/policy-engine/built-in-policies.d.ts +90 -0
  1536. package/dist/security/policy-engine/built-in-policies.d.ts.map +1 -0
  1537. package/dist/security/policy-engine/built-in-policies.js +627 -0
  1538. package/dist/security/policy-engine/built-in-policies.js.map +1 -0
  1539. package/dist/security/policy-engine/condition-evaluator.d.ts +129 -0
  1540. package/dist/security/policy-engine/condition-evaluator.d.ts.map +1 -0
  1541. package/dist/security/policy-engine/condition-evaluator.js +647 -0
  1542. package/dist/security/policy-engine/condition-evaluator.js.map +1 -0
  1543. package/dist/security/policy-engine/engine.d.ts +200 -0
  1544. package/dist/security/policy-engine/engine.d.ts.map +1 -0
  1545. package/dist/security/policy-engine/engine.js +752 -0
  1546. package/dist/security/policy-engine/engine.js.map +1 -0
  1547. package/dist/security/policy-engine/index.d.ts +59 -0
  1548. package/dist/security/policy-engine/index.d.ts.map +1 -0
  1549. package/dist/security/policy-engine/index.js +84 -0
  1550. package/dist/security/policy-engine/index.js.map +1 -0
  1551. package/dist/security/policy-engine/middleware.d.ts +77 -0
  1552. package/dist/security/policy-engine/middleware.d.ts.map +1 -0
  1553. package/dist/security/policy-engine/middleware.js +375 -0
  1554. package/dist/security/policy-engine/middleware.js.map +1 -0
  1555. package/dist/security/policy-engine/rule-evaluator.d.ts +140 -0
  1556. package/dist/security/policy-engine/rule-evaluator.d.ts.map +1 -0
  1557. package/dist/security/policy-engine/rule-evaluator.js +593 -0
  1558. package/dist/security/policy-engine/rule-evaluator.js.map +1 -0
  1559. package/dist/security/policy-engine/types.d.ts +2855 -0
  1560. package/dist/security/policy-engine/types.d.ts.map +1 -0
  1561. package/dist/security/policy-engine/types.js +443 -0
  1562. package/dist/security/policy-engine/types.js.map +1 -0
  1563. package/dist/security/refresh-token.d.ts +305 -0
  1564. package/dist/security/refresh-token.d.ts.map +1 -0
  1565. package/dist/security/refresh-token.js +678 -0
  1566. package/dist/security/refresh-token.js.map +1 -0
  1567. package/dist/security/request-integrity.d.ts +289 -0
  1568. package/dist/security/request-integrity.d.ts.map +1 -0
  1569. package/dist/security/request-integrity.js +663 -0
  1570. package/dist/security/request-integrity.js.map +1 -0
  1571. package/dist/security/revocation-check.d.ts +188 -0
  1572. package/dist/security/revocation-check.d.ts.map +1 -0
  1573. package/dist/security/revocation-check.js +606 -0
  1574. package/dist/security/revocation-check.js.map +1 -0
  1575. package/dist/security/revocation.d.ts +191 -0
  1576. package/dist/security/revocation.d.ts.map +1 -0
  1577. package/dist/security/revocation.js +522 -0
  1578. package/dist/security/revocation.js.map +1 -0
  1579. package/dist/security/secrets-rotation.d.ts +501 -0
  1580. package/dist/security/secrets-rotation.d.ts.map +1 -0
  1581. package/dist/security/secrets-rotation.js +934 -0
  1582. package/dist/security/secrets-rotation.js.map +1 -0
  1583. package/dist/security/secure-memory.d.ts +325 -0
  1584. package/dist/security/secure-memory.d.ts.map +1 -0
  1585. package/dist/security/secure-memory.js +595 -0
  1586. package/dist/security/secure-memory.js.map +1 -0
  1587. package/dist/security/security-service.d.ts +186 -0
  1588. package/dist/security/security-service.d.ts.map +1 -0
  1589. package/dist/security/security-service.js +531 -0
  1590. package/dist/security/security-service.js.map +1 -0
  1591. package/dist/security/service-auth/index.d.ts +20 -0
  1592. package/dist/security/service-auth/index.d.ts.map +1 -0
  1593. package/dist/security/service-auth/index.js +61 -0
  1594. package/dist/security/service-auth/index.js.map +1 -0
  1595. package/dist/security/service-auth/service-account.d.ts +357 -0
  1596. package/dist/security/service-auth/service-account.d.ts.map +1 -0
  1597. package/dist/security/service-auth/service-account.js +475 -0
  1598. package/dist/security/service-auth/service-account.js.map +1 -0
  1599. package/dist/security/service-auth/service-auth-middleware.d.ts +174 -0
  1600. package/dist/security/service-auth/service-auth-middleware.d.ts.map +1 -0
  1601. package/dist/security/service-auth/service-auth-middleware.js +461 -0
  1602. package/dist/security/service-auth/service-auth-middleware.js.map +1 -0
  1603. package/dist/security/service-auth/service-token.d.ts +391 -0
  1604. package/dist/security/service-auth/service-token.d.ts.map +1 -0
  1605. package/dist/security/service-auth/service-token.js +472 -0
  1606. package/dist/security/service-auth/service-token.js.map +1 -0
  1607. package/dist/security/session-manager.d.ts +177 -0
  1608. package/dist/security/session-manager.d.ts.map +1 -0
  1609. package/dist/security/session-manager.js +353 -0
  1610. package/dist/security/session-manager.js.map +1 -0
  1611. package/dist/security/session-store.d.ts +205 -0
  1612. package/dist/security/session-store.d.ts.map +1 -0
  1613. package/dist/security/session-store.js +581 -0
  1614. package/dist/security/session-store.js.map +1 -0
  1615. package/dist/security/siem/connector.d.ts +147 -0
  1616. package/dist/security/siem/connector.d.ts.map +1 -0
  1617. package/dist/security/siem/connector.js +254 -0
  1618. package/dist/security/siem/connector.js.map +1 -0
  1619. package/dist/security/siem/datadog.d.ts +81 -0
  1620. package/dist/security/siem/datadog.d.ts.map +1 -0
  1621. package/dist/security/siem/datadog.js +362 -0
  1622. package/dist/security/siem/datadog.js.map +1 -0
  1623. package/dist/security/siem/elastic.d.ts +83 -0
  1624. package/dist/security/siem/elastic.d.ts.map +1 -0
  1625. package/dist/security/siem/elastic.js +514 -0
  1626. package/dist/security/siem/elastic.js.map +1 -0
  1627. package/dist/security/siem/enrichment.d.ts +133 -0
  1628. package/dist/security/siem/enrichment.d.ts.map +1 -0
  1629. package/dist/security/siem/enrichment.js +434 -0
  1630. package/dist/security/siem/enrichment.js.map +1 -0
  1631. package/dist/security/siem/formatter.d.ts +118 -0
  1632. package/dist/security/siem/formatter.d.ts.map +1 -0
  1633. package/dist/security/siem/formatter.js +381 -0
  1634. package/dist/security/siem/formatter.js.map +1 -0
  1635. package/dist/security/siem/hooks.d.ts +107 -0
  1636. package/dist/security/siem/hooks.d.ts.map +1 -0
  1637. package/dist/security/siem/hooks.js +459 -0
  1638. package/dist/security/siem/hooks.js.map +1 -0
  1639. package/dist/security/siem/index.d.ts +83 -0
  1640. package/dist/security/siem/index.d.ts.map +1 -0
  1641. package/dist/security/siem/index.js +95 -0
  1642. package/dist/security/siem/index.js.map +1 -0
  1643. package/dist/security/siem/service.d.ts +153 -0
  1644. package/dist/security/siem/service.d.ts.map +1 -0
  1645. package/dist/security/siem/service.js +615 -0
  1646. package/dist/security/siem/service.js.map +1 -0
  1647. package/dist/security/siem/splunk.d.ts +76 -0
  1648. package/dist/security/siem/splunk.d.ts.map +1 -0
  1649. package/dist/security/siem/splunk.js +283 -0
  1650. package/dist/security/siem/splunk.js.map +1 -0
  1651. package/dist/security/siem/types.d.ts +1980 -0
  1652. package/dist/security/siem/types.d.ts.map +1 -0
  1653. package/dist/security/siem/types.js +268 -0
  1654. package/dist/security/siem/types.js.map +1 -0
  1655. package/dist/security/tee.d.ts +157 -0
  1656. package/dist/security/tee.d.ts.map +1 -0
  1657. package/dist/security/tee.js +1073 -0
  1658. package/dist/security/tee.js.map +1 -0
  1659. package/dist/security/threat-intel/bot-detection.d.ts +275 -0
  1660. package/dist/security/threat-intel/bot-detection.d.ts.map +1 -0
  1661. package/dist/security/threat-intel/bot-detection.js +890 -0
  1662. package/dist/security/threat-intel/bot-detection.js.map +1 -0
  1663. package/dist/security/threat-intel/credential-stuffing.d.ts +368 -0
  1664. package/dist/security/threat-intel/credential-stuffing.d.ts.map +1 -0
  1665. package/dist/security/threat-intel/credential-stuffing.js +957 -0
  1666. package/dist/security/threat-intel/credential-stuffing.js.map +1 -0
  1667. package/dist/security/threat-intel/index.d.ts +10 -0
  1668. package/dist/security/threat-intel/index.d.ts.map +1 -0
  1669. package/dist/security/threat-intel/index.js +18 -0
  1670. package/dist/security/threat-intel/index.js.map +1 -0
  1671. package/dist/security/threat-intel/ip-reputation.d.ts +323 -0
  1672. package/dist/security/threat-intel/ip-reputation.d.ts.map +1 -0
  1673. package/dist/security/threat-intel/ip-reputation.js +923 -0
  1674. package/dist/security/threat-intel/ip-reputation.js.map +1 -0
  1675. package/dist/security/token-lifecycle.d.ts +272 -0
  1676. package/dist/security/token-lifecycle.d.ts.map +1 -0
  1677. package/dist/security/token-lifecycle.js +732 -0
  1678. package/dist/security/token-lifecycle.js.map +1 -0
  1679. package/dist/security/token-lifetime.d.ts +206 -0
  1680. package/dist/security/token-lifetime.d.ts.map +1 -0
  1681. package/dist/security/token-lifetime.js +388 -0
  1682. package/dist/security/token-lifetime.js.map +1 -0
  1683. package/dist/security/trust-oracle/alerts.d.ts +202 -0
  1684. package/dist/security/trust-oracle/alerts.d.ts.map +1 -0
  1685. package/dist/security/trust-oracle/alerts.js +763 -0
  1686. package/dist/security/trust-oracle/alerts.js.map +1 -0
  1687. package/dist/security/trust-oracle/api.d.ts +116 -0
  1688. package/dist/security/trust-oracle/api.d.ts.map +1 -0
  1689. package/dist/security/trust-oracle/api.js +721 -0
  1690. package/dist/security/trust-oracle/api.js.map +1 -0
  1691. package/dist/security/trust-oracle/continuous-monitoring.d.ts +105 -0
  1692. package/dist/security/trust-oracle/continuous-monitoring.d.ts.map +1 -0
  1693. package/dist/security/trust-oracle/continuous-monitoring.js +710 -0
  1694. package/dist/security/trust-oracle/continuous-monitoring.js.map +1 -0
  1695. package/dist/security/trust-oracle/data-sources.d.ts +102 -0
  1696. package/dist/security/trust-oracle/data-sources.d.ts.map +1 -0
  1697. package/dist/security/trust-oracle/data-sources.js +794 -0
  1698. package/dist/security/trust-oracle/data-sources.js.map +1 -0
  1699. package/dist/security/trust-oracle/index.d.ts +79 -0
  1700. package/dist/security/trust-oracle/index.d.ts.map +1 -0
  1701. package/dist/security/trust-oracle/index.js +206 -0
  1702. package/dist/security/trust-oracle/index.js.map +1 -0
  1703. package/dist/security/trust-oracle/oracle.d.ts +125 -0
  1704. package/dist/security/trust-oracle/oracle.d.ts.map +1 -0
  1705. package/dist/security/trust-oracle/oracle.js +489 -0
  1706. package/dist/security/trust-oracle/oracle.js.map +1 -0
  1707. package/dist/security/trust-oracle/reporting.d.ts +145 -0
  1708. package/dist/security/trust-oracle/reporting.d.ts.map +1 -0
  1709. package/dist/security/trust-oracle/reporting.js +1098 -0
  1710. package/dist/security/trust-oracle/reporting.js.map +1 -0
  1711. package/dist/security/trust-oracle/risk-scorer.d.ts +207 -0
  1712. package/dist/security/trust-oracle/risk-scorer.d.ts.map +1 -0
  1713. package/dist/security/trust-oracle/risk-scorer.js +1033 -0
  1714. package/dist/security/trust-oracle/risk-scorer.js.map +1 -0
  1715. package/dist/security/trust-oracle/types.d.ts +444 -0
  1716. package/dist/security/trust-oracle/types.d.ts.map +1 -0
  1717. package/dist/security/trust-oracle/types.js +6 -0
  1718. package/dist/security/trust-oracle/types.js.map +1 -0
  1719. package/dist/security/trust-oracle/vendor-registry.d.ts +228 -0
  1720. package/dist/security/trust-oracle/vendor-registry.d.ts.map +1 -0
  1721. package/dist/security/trust-oracle/vendor-registry.js +727 -0
  1722. package/dist/security/trust-oracle/vendor-registry.js.map +1 -0
  1723. package/dist/security/types.d.ts +1796 -0
  1724. package/dist/security/types.d.ts.map +1 -0
  1725. package/dist/security/types.js +389 -0
  1726. package/dist/security/types.js.map +1 -0
  1727. package/dist/security/webauthn/index.d.ts +47 -0
  1728. package/dist/security/webauthn/index.d.ts.map +1 -0
  1729. package/dist/security/webauthn/index.js +48 -0
  1730. package/dist/security/webauthn/index.js.map +1 -0
  1731. package/dist/security/webauthn/middleware.d.ts +109 -0
  1732. package/dist/security/webauthn/middleware.d.ts.map +1 -0
  1733. package/dist/security/webauthn/middleware.js +629 -0
  1734. package/dist/security/webauthn/middleware.js.map +1 -0
  1735. package/dist/security/webauthn/service.d.ts +179 -0
  1736. package/dist/security/webauthn/service.d.ts.map +1 -0
  1737. package/dist/security/webauthn/service.js +757 -0
  1738. package/dist/security/webauthn/service.js.map +1 -0
  1739. package/dist/security/webauthn/store.d.ts +240 -0
  1740. package/dist/security/webauthn/store.d.ts.map +1 -0
  1741. package/dist/security/webauthn/store.js +505 -0
  1742. package/dist/security/webauthn/store.js.map +1 -0
  1743. package/dist/security/webauthn/types.d.ts +678 -0
  1744. package/dist/security/webauthn/types.d.ts.map +1 -0
  1745. package/dist/security/webauthn/types.js +176 -0
  1746. package/dist/security/webauthn/types.js.map +1 -0
  1747. package/dist/security/zkp/circuits.d.ts +296 -0
  1748. package/dist/security/zkp/circuits.d.ts.map +1 -0
  1749. package/dist/security/zkp/circuits.js +771 -0
  1750. package/dist/security/zkp/circuits.js.map +1 -0
  1751. package/dist/security/zkp/commitment.d.ts +319 -0
  1752. package/dist/security/zkp/commitment.d.ts.map +1 -0
  1753. package/dist/security/zkp/commitment.js +591 -0
  1754. package/dist/security/zkp/commitment.js.map +1 -0
  1755. package/dist/security/zkp/compliance.d.ts +251 -0
  1756. package/dist/security/zkp/compliance.d.ts.map +1 -0
  1757. package/dist/security/zkp/compliance.js +734 -0
  1758. package/dist/security/zkp/compliance.js.map +1 -0
  1759. package/dist/security/zkp/index.d.ts +184 -0
  1760. package/dist/security/zkp/index.d.ts.map +1 -0
  1761. package/dist/security/zkp/index.js +285 -0
  1762. package/dist/security/zkp/index.js.map +1 -0
  1763. package/dist/security/zkp/integration.d.ts +289 -0
  1764. package/dist/security/zkp/integration.d.ts.map +1 -0
  1765. package/dist/security/zkp/integration.js +571 -0
  1766. package/dist/security/zkp/integration.js.map +1 -0
  1767. package/dist/security/zkp/prover.d.ts +158 -0
  1768. package/dist/security/zkp/prover.d.ts.map +1 -0
  1769. package/dist/security/zkp/prover.js +465 -0
  1770. package/dist/security/zkp/prover.js.map +1 -0
  1771. package/dist/security/zkp/snark-utils.d.ts +321 -0
  1772. package/dist/security/zkp/snark-utils.d.ts.map +1 -0
  1773. package/dist/security/zkp/snark-utils.js +640 -0
  1774. package/dist/security/zkp/snark-utils.js.map +1 -0
  1775. package/dist/security/zkp/types.d.ts +1192 -0
  1776. package/dist/security/zkp/types.d.ts.map +1 -0
  1777. package/dist/security/zkp/types.js +264 -0
  1778. package/dist/security/zkp/types.js.map +1 -0
  1779. package/dist/security/zkp/verifier.d.ts +111 -0
  1780. package/dist/security/zkp/verifier.d.ts.map +1 -0
  1781. package/dist/security/zkp/verifier.js +554 -0
  1782. package/dist/security/zkp/verifier.js.map +1 -0
  1783. package/dist/semantic-governance/context-validator.d.ts +159 -0
  1784. package/dist/semantic-governance/context-validator.d.ts.map +1 -0
  1785. package/dist/semantic-governance/context-validator.js +599 -0
  1786. package/dist/semantic-governance/context-validator.js.map +1 -0
  1787. package/dist/semantic-governance/credential-manager.d.ts +156 -0
  1788. package/dist/semantic-governance/credential-manager.d.ts.map +1 -0
  1789. package/dist/semantic-governance/credential-manager.js +438 -0
  1790. package/dist/semantic-governance/credential-manager.js.map +1 -0
  1791. package/dist/semantic-governance/dual-channel.d.ts +138 -0
  1792. package/dist/semantic-governance/dual-channel.d.ts.map +1 -0
  1793. package/dist/semantic-governance/dual-channel.js +333 -0
  1794. package/dist/semantic-governance/dual-channel.js.map +1 -0
  1795. package/dist/semantic-governance/index.d.ts +107 -0
  1796. package/dist/semantic-governance/index.d.ts.map +1 -0
  1797. package/dist/semantic-governance/index.js +141 -0
  1798. package/dist/semantic-governance/index.js.map +1 -0
  1799. package/dist/semantic-governance/inference-validator.d.ts +114 -0
  1800. package/dist/semantic-governance/inference-validator.d.ts.map +1 -0
  1801. package/dist/semantic-governance/inference-validator.js +390 -0
  1802. package/dist/semantic-governance/inference-validator.js.map +1 -0
  1803. package/dist/semantic-governance/instruction-validator.d.ts +146 -0
  1804. package/dist/semantic-governance/instruction-validator.d.ts.map +1 -0
  1805. package/dist/semantic-governance/instruction-validator.js +357 -0
  1806. package/dist/semantic-governance/instruction-validator.js.map +1 -0
  1807. package/dist/semantic-governance/integration.d.ts +253 -0
  1808. package/dist/semantic-governance/integration.d.ts.map +1 -0
  1809. package/dist/semantic-governance/integration.js +657 -0
  1810. package/dist/semantic-governance/integration.js.map +1 -0
  1811. package/dist/semantic-governance/output-validator.d.ts +135 -0
  1812. package/dist/semantic-governance/output-validator.d.ts.map +1 -0
  1813. package/dist/semantic-governance/output-validator.js +442 -0
  1814. package/dist/semantic-governance/output-validator.js.map +1 -0
  1815. package/dist/semantic-governance/service.d.ts +120 -0
  1816. package/dist/semantic-governance/service.d.ts.map +1 -0
  1817. package/dist/semantic-governance/service.js +527 -0
  1818. package/dist/semantic-governance/service.js.map +1 -0
  1819. package/dist/semantic-governance/types.d.ts +3916 -0
  1820. package/dist/semantic-governance/types.d.ts.map +1 -0
  1821. package/dist/semantic-governance/types.js +462 -0
  1822. package/dist/semantic-governance/types.js.map +1 -0
  1823. package/dist/trust-engine/aci-integration.d.ts +6 -0
  1824. package/dist/trust-engine/aci-integration.d.ts.map +1 -0
  1825. package/dist/trust-engine/aci-integration.js +6 -0
  1826. package/dist/trust-engine/aci-integration.js.map +1 -0
  1827. package/dist/trust-engine/car-integration.d.ts +244 -0
  1828. package/dist/trust-engine/car-integration.d.ts.map +1 -0
  1829. package/dist/trust-engine/car-integration.js +332 -0
  1830. package/dist/trust-engine/car-integration.js.map +1 -0
  1831. package/dist/trust-engine/context.d.ts +197 -0
  1832. package/dist/trust-engine/context.d.ts.map +1 -0
  1833. package/dist/trust-engine/context.js +307 -0
  1834. package/dist/trust-engine/context.js.map +1 -0
  1835. package/dist/trust-engine/index.d.ts +410 -0
  1836. package/dist/trust-engine/index.d.ts.map +1 -0
  1837. package/dist/trust-engine/index.js +1221 -0
  1838. package/dist/trust-engine/index.js.map +1 -0
  1839. package/dist/trust-engine/observability.d.ts +175 -0
  1840. package/dist/trust-engine/observability.d.ts.map +1 -0
  1841. package/dist/trust-engine/observability.js +244 -0
  1842. package/dist/trust-engine/observability.js.map +1 -0
  1843. package/package.json +200 -0
@@ -0,0 +1,2265 @@
1
+ /**
2
+ * ACI Extension Protocol Types
3
+ *
4
+ * Provides comprehensive type definitions for the Layer 4 Runtime Assurance
5
+ * extension system. This module defines the core extension interface and all
6
+ * supporting types for capability, action, monitoring, trust, and policy hooks.
7
+ *
8
+ * @packageDocumentation
9
+ * @module @vorion/aci-extensions/types
10
+ * @license Apache-2.0
11
+ */
12
+ import { z } from 'zod';
13
+ import type { TrustScore } from '../common/types.js';
14
+ /**
15
+ * Trust tier values (0-7)
16
+ * Maps to canonical 8-tier trust model
17
+ */
18
+ export type TrustTier = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
19
+ /**
20
+ * Zod schema for TrustTier validation
21
+ */
22
+ export declare const TrustTierSchema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>]>;
23
+ /**
24
+ * Agent identity information for extension hooks
25
+ */
26
+ export interface AgentIdentity {
27
+ /** Agent's DID (Decentralized Identifier) */
28
+ did: string;
29
+ /** Agent's ACI string (with optional extensions) */
30
+ aci: string;
31
+ /** Publisher organization */
32
+ publisher: string;
33
+ /** Agent name */
34
+ name: string;
35
+ /** Current trust tier */
36
+ trustTier: TrustTier;
37
+ /** Current trust score (0-1000) */
38
+ trustScore: TrustScore;
39
+ /** Capability domains (bitmask) */
40
+ domains: number;
41
+ /** Capability level */
42
+ level: number;
43
+ /** Agent version */
44
+ version: string;
45
+ /** Additional metadata */
46
+ metadata?: Record<string, unknown>;
47
+ }
48
+ /**
49
+ * Zod schema for AgentIdentity validation
50
+ */
51
+ export declare const AgentIdentitySchema: z.ZodObject<{
52
+ did: z.ZodString;
53
+ aci: z.ZodString;
54
+ publisher: z.ZodString;
55
+ name: z.ZodString;
56
+ trustTier: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>]>;
57
+ trustScore: z.ZodNumber;
58
+ domains: z.ZodNumber;
59
+ level: z.ZodNumber;
60
+ version: z.ZodString;
61
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ name?: string;
64
+ version?: string;
65
+ level?: number;
66
+ metadata?: Record<string, unknown>;
67
+ trustScore?: number;
68
+ did?: string;
69
+ aci?: string;
70
+ publisher?: string;
71
+ trustTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
72
+ domains?: number;
73
+ }, {
74
+ name?: string;
75
+ version?: string;
76
+ level?: number;
77
+ metadata?: Record<string, unknown>;
78
+ trustScore?: number;
79
+ did?: string;
80
+ aci?: string;
81
+ publisher?: string;
82
+ trustTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
83
+ domains?: number;
84
+ }>;
85
+ /**
86
+ * Attestation record for verifying agent certification
87
+ */
88
+ export interface Attestation {
89
+ /** Attestation ID */
90
+ id: string;
91
+ /** Agent DID this attestation is for */
92
+ agentDid: string;
93
+ /** Issuer DID */
94
+ issuerDid: string;
95
+ /** Attestation type */
96
+ type: 'certification' | 'capability' | 'trust' | 'compliance';
97
+ /** Claims in the attestation */
98
+ claims: Record<string, unknown>;
99
+ /** Issuance timestamp */
100
+ issuedAt: Date;
101
+ /** Expiry timestamp */
102
+ expiresAt: Date;
103
+ /** Cryptographic signature */
104
+ signature: string;
105
+ /** Signature algorithm */
106
+ signatureAlgorithm: string;
107
+ /** Whether attestation has been revoked */
108
+ revoked: boolean;
109
+ /** Revocation timestamp if revoked */
110
+ revokedAt?: Date;
111
+ }
112
+ /**
113
+ * Zod schema for Attestation validation
114
+ */
115
+ export declare const AttestationSchema: z.ZodObject<{
116
+ id: z.ZodString;
117
+ agentDid: z.ZodString;
118
+ issuerDid: z.ZodString;
119
+ type: z.ZodEnum<["certification", "capability", "trust", "compliance"]>;
120
+ claims: z.ZodRecord<z.ZodString, z.ZodUnknown>;
121
+ issuedAt: z.ZodDate;
122
+ expiresAt: z.ZodDate;
123
+ signature: z.ZodString;
124
+ signatureAlgorithm: z.ZodString;
125
+ revoked: z.ZodBoolean;
126
+ revokedAt: z.ZodOptional<z.ZodDate>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ id?: string;
129
+ type?: "trust" | "compliance" | "certification" | "capability";
130
+ expiresAt?: Date;
131
+ claims?: Record<string, unknown>;
132
+ revokedAt?: Date;
133
+ revoked?: boolean;
134
+ signature?: string;
135
+ issuedAt?: Date;
136
+ agentDid?: string;
137
+ issuerDid?: string;
138
+ signatureAlgorithm?: string;
139
+ }, {
140
+ id?: string;
141
+ type?: "trust" | "compliance" | "certification" | "capability";
142
+ expiresAt?: Date;
143
+ claims?: Record<string, unknown>;
144
+ revokedAt?: Date;
145
+ revoked?: boolean;
146
+ signature?: string;
147
+ issuedAt?: Date;
148
+ agentDid?: string;
149
+ issuerDid?: string;
150
+ signatureAlgorithm?: string;
151
+ }>;
152
+ /**
153
+ * Request context for capability and action requests
154
+ */
155
+ export interface RequestContext {
156
+ /** Request source identifier */
157
+ source: string;
158
+ /** Request purpose description */
159
+ purpose?: string;
160
+ /** Target resource identifier */
161
+ resource?: string;
162
+ /** Additional metadata */
163
+ metadata?: Record<string, unknown>;
164
+ }
165
+ /**
166
+ * Zod schema for RequestContext validation
167
+ */
168
+ export declare const RequestContextSchema: z.ZodObject<{
169
+ source: z.ZodString;
170
+ purpose: z.ZodOptional<z.ZodString>;
171
+ resource: z.ZodOptional<z.ZodString>;
172
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ source?: string;
175
+ metadata?: Record<string, unknown>;
176
+ resource?: string;
177
+ purpose?: string;
178
+ }, {
179
+ source?: string;
180
+ metadata?: Record<string, unknown>;
181
+ resource?: string;
182
+ purpose?: string;
183
+ }>;
184
+ /**
185
+ * Constraint that can be applied to capabilities or actions
186
+ */
187
+ export interface Constraint {
188
+ /** Constraint type */
189
+ type: 'rate_limit' | 'time_window' | 'resource' | 'approval' | 'custom';
190
+ /** Constraint parameters */
191
+ params: Record<string, unknown>;
192
+ }
193
+ /**
194
+ * Zod schema for Constraint validation
195
+ */
196
+ export declare const ConstraintSchema: z.ZodObject<{
197
+ type: z.ZodEnum<["rate_limit", "time_window", "resource", "approval", "custom"]>;
198
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ params?: Record<string, unknown>;
201
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
202
+ }, {
203
+ params?: Record<string, unknown>;
204
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
205
+ }>;
206
+ /**
207
+ * Capability request from an agent
208
+ */
209
+ export interface CapabilityRequest {
210
+ /** Requested domains (string identifiers) */
211
+ domains: string[];
212
+ /** Requested capability level */
213
+ level: number;
214
+ /** Request context */
215
+ context: RequestContext;
216
+ /** Time-to-live in seconds */
217
+ ttl?: number;
218
+ }
219
+ /**
220
+ * Zod schema for CapabilityRequest validation
221
+ */
222
+ export declare const CapabilityRequestSchema: z.ZodObject<{
223
+ domains: z.ZodArray<z.ZodString, "many">;
224
+ level: z.ZodNumber;
225
+ context: z.ZodObject<{
226
+ source: z.ZodString;
227
+ purpose: z.ZodOptional<z.ZodString>;
228
+ resource: z.ZodOptional<z.ZodString>;
229
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ source?: string;
232
+ metadata?: Record<string, unknown>;
233
+ resource?: string;
234
+ purpose?: string;
235
+ }, {
236
+ source?: string;
237
+ metadata?: Record<string, unknown>;
238
+ resource?: string;
239
+ purpose?: string;
240
+ }>;
241
+ ttl: z.ZodOptional<z.ZodNumber>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ level?: number;
244
+ context?: {
245
+ source?: string;
246
+ metadata?: Record<string, unknown>;
247
+ resource?: string;
248
+ purpose?: string;
249
+ };
250
+ ttl?: number;
251
+ domains?: string[];
252
+ }, {
253
+ level?: number;
254
+ context?: {
255
+ source?: string;
256
+ metadata?: Record<string, unknown>;
257
+ resource?: string;
258
+ purpose?: string;
259
+ };
260
+ ttl?: number;
261
+ domains?: string[];
262
+ }>;
263
+ /**
264
+ * Capability grant issued to an agent
265
+ */
266
+ export interface CapabilityGrant {
267
+ /** Grant ID */
268
+ id: string;
269
+ /** Granted ACI string */
270
+ aci: string;
271
+ /** Granted domains (bitmask) */
272
+ domains: number;
273
+ /** Granted level */
274
+ level: number;
275
+ /** Issuance timestamp */
276
+ issuedAt: Date;
277
+ /** Expiry timestamp */
278
+ expiresAt: Date;
279
+ /** Additional constraints */
280
+ constraints?: Constraint[];
281
+ /** JWT token representing the grant */
282
+ token?: string;
283
+ }
284
+ /**
285
+ * Zod schema for CapabilityGrant validation
286
+ */
287
+ export declare const CapabilityGrantSchema: z.ZodObject<{
288
+ id: z.ZodString;
289
+ aci: z.ZodString;
290
+ domains: z.ZodNumber;
291
+ level: z.ZodNumber;
292
+ issuedAt: z.ZodDate;
293
+ expiresAt: z.ZodDate;
294
+ constraints: z.ZodOptional<z.ZodArray<z.ZodObject<{
295
+ type: z.ZodEnum<["rate_limit", "time_window", "resource", "approval", "custom"]>;
296
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ params?: Record<string, unknown>;
299
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
300
+ }, {
301
+ params?: Record<string, unknown>;
302
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
303
+ }>, "many">>;
304
+ token: z.ZodOptional<z.ZodString>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ id?: string;
307
+ expiresAt?: Date;
308
+ token?: string;
309
+ level?: number;
310
+ constraints?: {
311
+ params?: Record<string, unknown>;
312
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
313
+ }[];
314
+ issuedAt?: Date;
315
+ aci?: string;
316
+ domains?: number;
317
+ }, {
318
+ id?: string;
319
+ expiresAt?: Date;
320
+ token?: string;
321
+ level?: number;
322
+ constraints?: {
323
+ params?: Record<string, unknown>;
324
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
325
+ }[];
326
+ issuedAt?: Date;
327
+ aci?: string;
328
+ domains?: number;
329
+ }>;
330
+ /**
331
+ * Target of an action
332
+ */
333
+ export interface ActionTarget {
334
+ /** Target type (e.g., 'resource', 'agent', 'service') */
335
+ type: string;
336
+ /** Target identifier */
337
+ id: string;
338
+ /** Target metadata */
339
+ metadata?: Record<string, unknown>;
340
+ }
341
+ /**
342
+ * Zod schema for ActionTarget validation
343
+ */
344
+ export declare const ActionTargetSchema: z.ZodObject<{
345
+ type: z.ZodString;
346
+ id: z.ZodString;
347
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ id?: string;
350
+ type?: string;
351
+ metadata?: Record<string, unknown>;
352
+ }, {
353
+ id?: string;
354
+ type?: string;
355
+ metadata?: Record<string, unknown>;
356
+ }>;
357
+ /**
358
+ * Action request from an agent
359
+ */
360
+ export interface ActionRequest {
361
+ /** Action type identifier */
362
+ type: string;
363
+ /** Action target */
364
+ target: ActionTarget;
365
+ /** Action parameters */
366
+ params: Record<string, unknown>;
367
+ /** Request context */
368
+ context: RequestContext;
369
+ }
370
+ /**
371
+ * Zod schema for ActionRequest validation
372
+ */
373
+ export declare const ActionRequestSchema: z.ZodObject<{
374
+ type: z.ZodString;
375
+ target: z.ZodObject<{
376
+ type: z.ZodString;
377
+ id: z.ZodString;
378
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ id?: string;
381
+ type?: string;
382
+ metadata?: Record<string, unknown>;
383
+ }, {
384
+ id?: string;
385
+ type?: string;
386
+ metadata?: Record<string, unknown>;
387
+ }>;
388
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
389
+ context: z.ZodObject<{
390
+ source: z.ZodString;
391
+ purpose: z.ZodOptional<z.ZodString>;
392
+ resource: z.ZodOptional<z.ZodString>;
393
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ source?: string;
396
+ metadata?: Record<string, unknown>;
397
+ resource?: string;
398
+ purpose?: string;
399
+ }, {
400
+ source?: string;
401
+ metadata?: Record<string, unknown>;
402
+ resource?: string;
403
+ purpose?: string;
404
+ }>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ params?: Record<string, unknown>;
407
+ type?: string;
408
+ target?: {
409
+ id?: string;
410
+ type?: string;
411
+ metadata?: Record<string, unknown>;
412
+ };
413
+ context?: {
414
+ source?: string;
415
+ metadata?: Record<string, unknown>;
416
+ resource?: string;
417
+ purpose?: string;
418
+ };
419
+ }, {
420
+ params?: Record<string, unknown>;
421
+ type?: string;
422
+ target?: {
423
+ id?: string;
424
+ type?: string;
425
+ metadata?: Record<string, unknown>;
426
+ };
427
+ context?: {
428
+ source?: string;
429
+ metadata?: Record<string, unknown>;
430
+ resource?: string;
431
+ purpose?: string;
432
+ };
433
+ }>;
434
+ /**
435
+ * Side effect of an action
436
+ */
437
+ export interface SideEffect {
438
+ /** Effect type */
439
+ type: string;
440
+ /** Effect target */
441
+ target: string;
442
+ /** Effect description */
443
+ description: string;
444
+ }
445
+ /**
446
+ * Zod schema for SideEffect validation
447
+ */
448
+ export declare const SideEffectSchema: z.ZodObject<{
449
+ type: z.ZodString;
450
+ target: z.ZodString;
451
+ description: z.ZodString;
452
+ }, "strip", z.ZodTypeAny, {
453
+ type?: string;
454
+ target?: string;
455
+ description?: string;
456
+ }, {
457
+ type?: string;
458
+ target?: string;
459
+ description?: string;
460
+ }>;
461
+ /**
462
+ * Result of an action execution
463
+ */
464
+ export interface ActionResult {
465
+ /** Whether action succeeded */
466
+ success: boolean;
467
+ /** Result data */
468
+ data?: unknown;
469
+ /** Side effects produced */
470
+ sideEffects?: SideEffect[];
471
+ }
472
+ /**
473
+ * Zod schema for ActionResult validation
474
+ */
475
+ export declare const ActionResultSchema: z.ZodObject<{
476
+ success: z.ZodBoolean;
477
+ data: z.ZodOptional<z.ZodUnknown>;
478
+ sideEffects: z.ZodOptional<z.ZodArray<z.ZodObject<{
479
+ type: z.ZodString;
480
+ target: z.ZodString;
481
+ description: z.ZodString;
482
+ }, "strip", z.ZodTypeAny, {
483
+ type?: string;
484
+ target?: string;
485
+ description?: string;
486
+ }, {
487
+ type?: string;
488
+ target?: string;
489
+ description?: string;
490
+ }>, "many">>;
491
+ }, "strip", z.ZodTypeAny, {
492
+ success?: boolean;
493
+ data?: unknown;
494
+ sideEffects?: {
495
+ type?: string;
496
+ target?: string;
497
+ description?: string;
498
+ }[];
499
+ }, {
500
+ success?: boolean;
501
+ data?: unknown;
502
+ sideEffects?: {
503
+ type?: string;
504
+ target?: string;
505
+ description?: string;
506
+ }[];
507
+ }>;
508
+ /**
509
+ * Record of an executed action
510
+ */
511
+ export interface ActionRecord extends ActionRequest {
512
+ /** Action record ID */
513
+ id: string;
514
+ /** Execution start timestamp */
515
+ startedAt: Date;
516
+ /** Execution completion timestamp */
517
+ completedAt?: Date;
518
+ /** Action result */
519
+ result?: ActionResult;
520
+ /** Error if action failed */
521
+ error?: Error;
522
+ }
523
+ /**
524
+ * Zod schema for ActionRecord validation
525
+ */
526
+ export declare const ActionRecordSchema: z.ZodObject<{
527
+ type: z.ZodString;
528
+ target: z.ZodObject<{
529
+ type: z.ZodString;
530
+ id: z.ZodString;
531
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ id?: string;
534
+ type?: string;
535
+ metadata?: Record<string, unknown>;
536
+ }, {
537
+ id?: string;
538
+ type?: string;
539
+ metadata?: Record<string, unknown>;
540
+ }>;
541
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
542
+ context: z.ZodObject<{
543
+ source: z.ZodString;
544
+ purpose: z.ZodOptional<z.ZodString>;
545
+ resource: z.ZodOptional<z.ZodString>;
546
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ source?: string;
549
+ metadata?: Record<string, unknown>;
550
+ resource?: string;
551
+ purpose?: string;
552
+ }, {
553
+ source?: string;
554
+ metadata?: Record<string, unknown>;
555
+ resource?: string;
556
+ purpose?: string;
557
+ }>;
558
+ } & {
559
+ id: z.ZodString;
560
+ startedAt: z.ZodDate;
561
+ completedAt: z.ZodOptional<z.ZodDate>;
562
+ result: z.ZodOptional<z.ZodObject<{
563
+ success: z.ZodBoolean;
564
+ data: z.ZodOptional<z.ZodUnknown>;
565
+ sideEffects: z.ZodOptional<z.ZodArray<z.ZodObject<{
566
+ type: z.ZodString;
567
+ target: z.ZodString;
568
+ description: z.ZodString;
569
+ }, "strip", z.ZodTypeAny, {
570
+ type?: string;
571
+ target?: string;
572
+ description?: string;
573
+ }, {
574
+ type?: string;
575
+ target?: string;
576
+ description?: string;
577
+ }>, "many">>;
578
+ }, "strip", z.ZodTypeAny, {
579
+ success?: boolean;
580
+ data?: unknown;
581
+ sideEffects?: {
582
+ type?: string;
583
+ target?: string;
584
+ description?: string;
585
+ }[];
586
+ }, {
587
+ success?: boolean;
588
+ data?: unknown;
589
+ sideEffects?: {
590
+ type?: string;
591
+ target?: string;
592
+ description?: string;
593
+ }[];
594
+ }>>;
595
+ error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ id?: string;
598
+ params?: Record<string, unknown>;
599
+ type?: string;
600
+ error?: Error;
601
+ target?: {
602
+ id?: string;
603
+ type?: string;
604
+ metadata?: Record<string, unknown>;
605
+ };
606
+ result?: {
607
+ success?: boolean;
608
+ data?: unknown;
609
+ sideEffects?: {
610
+ type?: string;
611
+ target?: string;
612
+ description?: string;
613
+ }[];
614
+ };
615
+ context?: {
616
+ source?: string;
617
+ metadata?: Record<string, unknown>;
618
+ resource?: string;
619
+ purpose?: string;
620
+ };
621
+ startedAt?: Date;
622
+ completedAt?: Date;
623
+ }, {
624
+ id?: string;
625
+ params?: Record<string, unknown>;
626
+ type?: string;
627
+ error?: Error;
628
+ target?: {
629
+ id?: string;
630
+ type?: string;
631
+ metadata?: Record<string, unknown>;
632
+ };
633
+ result?: {
634
+ success?: boolean;
635
+ data?: unknown;
636
+ sideEffects?: {
637
+ type?: string;
638
+ target?: string;
639
+ description?: string;
640
+ }[];
641
+ };
642
+ context?: {
643
+ source?: string;
644
+ metadata?: Record<string, unknown>;
645
+ resource?: string;
646
+ purpose?: string;
647
+ };
648
+ startedAt?: Date;
649
+ completedAt?: Date;
650
+ }>;
651
+ /**
652
+ * Result of a capability pre-check hook
653
+ */
654
+ export interface PreCheckResult {
655
+ /** Whether to allow the capability request */
656
+ allow: boolean;
657
+ /** Reason for decision */
658
+ reason?: string;
659
+ /** Additional constraints to apply if allowed */
660
+ constraints?: Constraint[];
661
+ }
662
+ /**
663
+ * Zod schema for PreCheckResult validation
664
+ */
665
+ export declare const PreCheckResultSchema: z.ZodObject<{
666
+ allow: z.ZodBoolean;
667
+ reason: z.ZodOptional<z.ZodString>;
668
+ constraints: z.ZodOptional<z.ZodArray<z.ZodObject<{
669
+ type: z.ZodEnum<["rate_limit", "time_window", "resource", "approval", "custom"]>;
670
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
671
+ }, "strip", z.ZodTypeAny, {
672
+ params?: Record<string, unknown>;
673
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
674
+ }, {
675
+ params?: Record<string, unknown>;
676
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
677
+ }>, "many">>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ allow?: boolean;
680
+ constraints?: {
681
+ params?: Record<string, unknown>;
682
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
683
+ }[];
684
+ reason?: string;
685
+ }, {
686
+ allow?: boolean;
687
+ constraints?: {
688
+ params?: Record<string, unknown>;
689
+ type?: "custom" | "resource" | "rate_limit" | "approval" | "time_window";
690
+ }[];
691
+ reason?: string;
692
+ }>;
693
+ /**
694
+ * Modification to apply to an action
695
+ */
696
+ export interface ActionModification {
697
+ /** Field being modified */
698
+ field: string;
699
+ /** Original value */
700
+ original: unknown;
701
+ /** Modified value */
702
+ modified: unknown;
703
+ /** Reason for modification */
704
+ reason: string;
705
+ }
706
+ /**
707
+ * Zod schema for ActionModification validation
708
+ */
709
+ export declare const ActionModificationSchema: z.ZodObject<{
710
+ field: z.ZodString;
711
+ original: z.ZodUnknown;
712
+ modified: z.ZodUnknown;
713
+ reason: z.ZodString;
714
+ }, "strip", z.ZodTypeAny, {
715
+ reason?: string;
716
+ field?: string;
717
+ original?: unknown;
718
+ modified?: unknown;
719
+ }, {
720
+ reason?: string;
721
+ field?: string;
722
+ original?: unknown;
723
+ modified?: unknown;
724
+ }>;
725
+ /**
726
+ * Approval requirement for an action
727
+ */
728
+ export interface ApprovalRequirement {
729
+ /** Type of approver needed */
730
+ type: 'human' | 'system' | 'manager';
731
+ /** Specific approver identifier */
732
+ approver?: string;
733
+ /** Timeout in milliseconds */
734
+ timeout?: number;
735
+ }
736
+ /**
737
+ * Zod schema for ApprovalRequirement validation
738
+ */
739
+ export declare const ApprovalRequirementSchema: z.ZodObject<{
740
+ type: z.ZodEnum<["human", "system", "manager"]>;
741
+ approver: z.ZodOptional<z.ZodString>;
742
+ timeout: z.ZodOptional<z.ZodNumber>;
743
+ }, "strip", z.ZodTypeAny, {
744
+ type?: "system" | "manager" | "human";
745
+ timeout?: number;
746
+ approver?: string;
747
+ }, {
748
+ type?: "system" | "manager" | "human";
749
+ timeout?: number;
750
+ approver?: string;
751
+ }>;
752
+ /**
753
+ * Result of a pre-action hook
754
+ */
755
+ export interface PreActionResult {
756
+ /** Whether to proceed with the action */
757
+ proceed: boolean;
758
+ /** Reason for decision */
759
+ reason?: string;
760
+ /** Modifications to apply to the action */
761
+ modifications?: ActionModification[];
762
+ /** Required approvals before proceeding */
763
+ requiredApprovals?: ApprovalRequirement[];
764
+ }
765
+ /**
766
+ * Zod schema for PreActionResult validation
767
+ */
768
+ export declare const PreActionResultSchema: z.ZodObject<{
769
+ proceed: z.ZodBoolean;
770
+ reason: z.ZodOptional<z.ZodString>;
771
+ modifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
772
+ field: z.ZodString;
773
+ original: z.ZodUnknown;
774
+ modified: z.ZodUnknown;
775
+ reason: z.ZodString;
776
+ }, "strip", z.ZodTypeAny, {
777
+ reason?: string;
778
+ field?: string;
779
+ original?: unknown;
780
+ modified?: unknown;
781
+ }, {
782
+ reason?: string;
783
+ field?: string;
784
+ original?: unknown;
785
+ modified?: unknown;
786
+ }>, "many">>;
787
+ requiredApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
788
+ type: z.ZodEnum<["human", "system", "manager"]>;
789
+ approver: z.ZodOptional<z.ZodString>;
790
+ timeout: z.ZodOptional<z.ZodNumber>;
791
+ }, "strip", z.ZodTypeAny, {
792
+ type?: "system" | "manager" | "human";
793
+ timeout?: number;
794
+ approver?: string;
795
+ }, {
796
+ type?: "system" | "manager" | "human";
797
+ timeout?: number;
798
+ approver?: string;
799
+ }>, "many">>;
800
+ }, "strip", z.ZodTypeAny, {
801
+ reason?: string;
802
+ requiredApprovals?: {
803
+ type?: "system" | "manager" | "human";
804
+ timeout?: number;
805
+ approver?: string;
806
+ }[];
807
+ proceed?: boolean;
808
+ modifications?: {
809
+ reason?: string;
810
+ field?: string;
811
+ original?: unknown;
812
+ modified?: unknown;
813
+ }[];
814
+ }, {
815
+ reason?: string;
816
+ requiredApprovals?: {
817
+ type?: "system" | "manager" | "human";
818
+ timeout?: number;
819
+ approver?: string;
820
+ }[];
821
+ proceed?: boolean;
822
+ modifications?: {
823
+ reason?: string;
824
+ field?: string;
825
+ original?: unknown;
826
+ modified?: unknown;
827
+ }[];
828
+ }>;
829
+ /**
830
+ * Decision on capability expiry
831
+ */
832
+ export interface ExpiryDecision {
833
+ /** Action to take on expiry */
834
+ action: 'renew' | 'expire' | 'revoke';
835
+ /** New TTL in seconds if renewing */
836
+ newTtl?: number;
837
+ /** Reason for decision */
838
+ reason?: string;
839
+ }
840
+ /**
841
+ * Zod schema for ExpiryDecision validation
842
+ */
843
+ export declare const ExpiryDecisionSchema: z.ZodObject<{
844
+ action: z.ZodEnum<["renew", "expire", "revoke"]>;
845
+ newTtl: z.ZodOptional<z.ZodNumber>;
846
+ reason: z.ZodOptional<z.ZodString>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ reason?: string;
849
+ action?: "revoke" | "expire" | "renew";
850
+ newTtl?: number;
851
+ }, {
852
+ reason?: string;
853
+ action?: "revoke" | "expire" | "renew";
854
+ newTtl?: number;
855
+ }>;
856
+ /**
857
+ * Response to an action failure
858
+ */
859
+ export interface FailureResponse {
860
+ /** Whether to retry the action */
861
+ retry: boolean;
862
+ /** Delay before retry in milliseconds */
863
+ retryDelay?: number;
864
+ /** Maximum number of retries */
865
+ maxRetries?: number;
866
+ /** Fallback action to execute instead */
867
+ fallback?: ActionRequest;
868
+ }
869
+ /**
870
+ * Zod schema for FailureResponse validation
871
+ */
872
+ export declare const FailureResponseSchema: z.ZodObject<{
873
+ retry: z.ZodBoolean;
874
+ retryDelay: z.ZodOptional<z.ZodNumber>;
875
+ maxRetries: z.ZodOptional<z.ZodNumber>;
876
+ fallback: z.ZodOptional<z.ZodObject<{
877
+ type: z.ZodString;
878
+ target: z.ZodObject<{
879
+ type: z.ZodString;
880
+ id: z.ZodString;
881
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
882
+ }, "strip", z.ZodTypeAny, {
883
+ id?: string;
884
+ type?: string;
885
+ metadata?: Record<string, unknown>;
886
+ }, {
887
+ id?: string;
888
+ type?: string;
889
+ metadata?: Record<string, unknown>;
890
+ }>;
891
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
892
+ context: z.ZodObject<{
893
+ source: z.ZodString;
894
+ purpose: z.ZodOptional<z.ZodString>;
895
+ resource: z.ZodOptional<z.ZodString>;
896
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ source?: string;
899
+ metadata?: Record<string, unknown>;
900
+ resource?: string;
901
+ purpose?: string;
902
+ }, {
903
+ source?: string;
904
+ metadata?: Record<string, unknown>;
905
+ resource?: string;
906
+ purpose?: string;
907
+ }>;
908
+ }, "strip", z.ZodTypeAny, {
909
+ params?: Record<string, unknown>;
910
+ type?: string;
911
+ target?: {
912
+ id?: string;
913
+ type?: string;
914
+ metadata?: Record<string, unknown>;
915
+ };
916
+ context?: {
917
+ source?: string;
918
+ metadata?: Record<string, unknown>;
919
+ resource?: string;
920
+ purpose?: string;
921
+ };
922
+ }, {
923
+ params?: Record<string, unknown>;
924
+ type?: string;
925
+ target?: {
926
+ id?: string;
927
+ type?: string;
928
+ metadata?: Record<string, unknown>;
929
+ };
930
+ context?: {
931
+ source?: string;
932
+ metadata?: Record<string, unknown>;
933
+ resource?: string;
934
+ purpose?: string;
935
+ };
936
+ }>>;
937
+ }, "strip", z.ZodTypeAny, {
938
+ maxRetries?: number;
939
+ retry?: boolean;
940
+ retryDelay?: number;
941
+ fallback?: {
942
+ params?: Record<string, unknown>;
943
+ type?: string;
944
+ target?: {
945
+ id?: string;
946
+ type?: string;
947
+ metadata?: Record<string, unknown>;
948
+ };
949
+ context?: {
950
+ source?: string;
951
+ metadata?: Record<string, unknown>;
952
+ resource?: string;
953
+ purpose?: string;
954
+ };
955
+ };
956
+ }, {
957
+ maxRetries?: number;
958
+ retry?: boolean;
959
+ retryDelay?: number;
960
+ fallback?: {
961
+ params?: Record<string, unknown>;
962
+ type?: string;
963
+ target?: {
964
+ id?: string;
965
+ type?: string;
966
+ metadata?: Record<string, unknown>;
967
+ };
968
+ context?: {
969
+ source?: string;
970
+ metadata?: Record<string, unknown>;
971
+ resource?: string;
972
+ purpose?: string;
973
+ };
974
+ };
975
+ }>;
976
+ /**
977
+ * Behavioral metrics collected for an agent
978
+ */
979
+ export interface BehaviorMetrics {
980
+ /** Observation window start */
981
+ windowStart: Date;
982
+ /** Observation window end */
983
+ windowEnd: Date;
984
+ /** Total request count in window */
985
+ requestCount: number;
986
+ /** Error count in window */
987
+ errorCount: number;
988
+ /** Average response time in milliseconds */
989
+ avgResponseTime: number;
990
+ /** P99 response time in milliseconds */
991
+ p99ResponseTime: number;
992
+ /** Actions grouped by type */
993
+ actionsByType: Record<string, number>;
994
+ /** Domains accessed (bitmask values) */
995
+ domainsAccessed: number[];
996
+ /** Maximum capability level used */
997
+ maxLevelUsed: number;
998
+ /** Custom metrics */
999
+ custom?: Record<string, number>;
1000
+ }
1001
+ /**
1002
+ * Zod schema for BehaviorMetrics validation
1003
+ */
1004
+ export declare const BehaviorMetricsSchema: z.ZodObject<{
1005
+ windowStart: z.ZodDate;
1006
+ windowEnd: z.ZodDate;
1007
+ requestCount: z.ZodNumber;
1008
+ errorCount: z.ZodNumber;
1009
+ avgResponseTime: z.ZodNumber;
1010
+ p99ResponseTime: z.ZodNumber;
1011
+ actionsByType: z.ZodRecord<z.ZodString, z.ZodNumber>;
1012
+ domainsAccessed: z.ZodArray<z.ZodNumber, "many">;
1013
+ maxLevelUsed: z.ZodNumber;
1014
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ custom?: Record<string, number>;
1017
+ windowStart?: Date;
1018
+ windowEnd?: Date;
1019
+ requestCount?: number;
1020
+ errorCount?: number;
1021
+ avgResponseTime?: number;
1022
+ p99ResponseTime?: number;
1023
+ actionsByType?: Record<string, number>;
1024
+ domainsAccessed?: number[];
1025
+ maxLevelUsed?: number;
1026
+ }, {
1027
+ custom?: Record<string, number>;
1028
+ windowStart?: Date;
1029
+ windowEnd?: Date;
1030
+ requestCount?: number;
1031
+ errorCount?: number;
1032
+ avgResponseTime?: number;
1033
+ p99ResponseTime?: number;
1034
+ actionsByType?: Record<string, number>;
1035
+ domainsAccessed?: number[];
1036
+ maxLevelUsed?: number;
1037
+ }>;
1038
+ /**
1039
+ * Result of behavioral verification
1040
+ */
1041
+ export interface BehaviorVerificationResult {
1042
+ /** Whether behavior is within certified bounds */
1043
+ inBounds: boolean;
1044
+ /** Drift score (0-100, higher means more drift) */
1045
+ driftScore: number;
1046
+ /** Categories of detected drift */
1047
+ driftCategories: string[];
1048
+ /** Recommended action */
1049
+ recommendation: 'continue' | 'warn' | 'suspend' | 'revoke';
1050
+ /** Additional details */
1051
+ details?: string;
1052
+ }
1053
+ /**
1054
+ * Zod schema for BehaviorVerificationResult validation
1055
+ */
1056
+ export declare const BehaviorVerificationResultSchema: z.ZodObject<{
1057
+ inBounds: z.ZodBoolean;
1058
+ driftScore: z.ZodNumber;
1059
+ driftCategories: z.ZodArray<z.ZodString, "many">;
1060
+ recommendation: z.ZodEnum<["continue", "warn", "suspend", "revoke"]>;
1061
+ details: z.ZodOptional<z.ZodString>;
1062
+ }, "strip", z.ZodTypeAny, {
1063
+ details?: string;
1064
+ recommendation?: "warn" | "continue" | "revoke" | "suspend";
1065
+ inBounds?: boolean;
1066
+ driftScore?: number;
1067
+ driftCategories?: string[];
1068
+ }, {
1069
+ details?: string;
1070
+ recommendation?: "warn" | "continue" | "revoke" | "suspend";
1071
+ inBounds?: boolean;
1072
+ driftScore?: number;
1073
+ driftCategories?: string[];
1074
+ }>;
1075
+ /**
1076
+ * Metrics report from an agent
1077
+ */
1078
+ export interface MetricsReport {
1079
+ /** Report timestamp */
1080
+ timestamp: Date;
1081
+ /** Agent ACI string */
1082
+ aci: string;
1083
+ /** Collected metrics */
1084
+ metrics: BehaviorMetrics;
1085
+ /** Overall health status */
1086
+ health: 'healthy' | 'degraded' | 'unhealthy';
1087
+ }
1088
+ /**
1089
+ * Zod schema for MetricsReport validation
1090
+ */
1091
+ export declare const MetricsReportSchema: z.ZodObject<{
1092
+ timestamp: z.ZodDate;
1093
+ aci: z.ZodString;
1094
+ metrics: z.ZodObject<{
1095
+ windowStart: z.ZodDate;
1096
+ windowEnd: z.ZodDate;
1097
+ requestCount: z.ZodNumber;
1098
+ errorCount: z.ZodNumber;
1099
+ avgResponseTime: z.ZodNumber;
1100
+ p99ResponseTime: z.ZodNumber;
1101
+ actionsByType: z.ZodRecord<z.ZodString, z.ZodNumber>;
1102
+ domainsAccessed: z.ZodArray<z.ZodNumber, "many">;
1103
+ maxLevelUsed: z.ZodNumber;
1104
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ custom?: Record<string, number>;
1107
+ windowStart?: Date;
1108
+ windowEnd?: Date;
1109
+ requestCount?: number;
1110
+ errorCount?: number;
1111
+ avgResponseTime?: number;
1112
+ p99ResponseTime?: number;
1113
+ actionsByType?: Record<string, number>;
1114
+ domainsAccessed?: number[];
1115
+ maxLevelUsed?: number;
1116
+ }, {
1117
+ custom?: Record<string, number>;
1118
+ windowStart?: Date;
1119
+ windowEnd?: Date;
1120
+ requestCount?: number;
1121
+ errorCount?: number;
1122
+ avgResponseTime?: number;
1123
+ p99ResponseTime?: number;
1124
+ actionsByType?: Record<string, number>;
1125
+ domainsAccessed?: number[];
1126
+ maxLevelUsed?: number;
1127
+ }>;
1128
+ health: z.ZodEnum<["healthy", "degraded", "unhealthy"]>;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ timestamp?: Date;
1131
+ health?: "healthy" | "degraded" | "unhealthy";
1132
+ metrics?: {
1133
+ custom?: Record<string, number>;
1134
+ windowStart?: Date;
1135
+ windowEnd?: Date;
1136
+ requestCount?: number;
1137
+ errorCount?: number;
1138
+ avgResponseTime?: number;
1139
+ p99ResponseTime?: number;
1140
+ actionsByType?: Record<string, number>;
1141
+ domainsAccessed?: number[];
1142
+ maxLevelUsed?: number;
1143
+ };
1144
+ aci?: string;
1145
+ }, {
1146
+ timestamp?: Date;
1147
+ health?: "healthy" | "degraded" | "unhealthy";
1148
+ metrics?: {
1149
+ custom?: Record<string, number>;
1150
+ windowStart?: Date;
1151
+ windowEnd?: Date;
1152
+ requestCount?: number;
1153
+ errorCount?: number;
1154
+ avgResponseTime?: number;
1155
+ p99ResponseTime?: number;
1156
+ actionsByType?: Record<string, number>;
1157
+ domainsAccessed?: number[];
1158
+ maxLevelUsed?: number;
1159
+ };
1160
+ aci?: string;
1161
+ }>;
1162
+ /**
1163
+ * Report of an anomaly detected in agent behavior
1164
+ */
1165
+ export interface AnomalyReport {
1166
+ /** Anomaly ID */
1167
+ id: string;
1168
+ /** Detection timestamp */
1169
+ detectedAt: Date;
1170
+ /** Anomaly type */
1171
+ type: 'behavior' | 'security' | 'performance' | 'compliance';
1172
+ /** Severity level */
1173
+ severity: 'low' | 'medium' | 'high' | 'critical';
1174
+ /** Human-readable description */
1175
+ description: string;
1176
+ /** Evidence supporting the anomaly detection */
1177
+ evidence: Record<string, unknown>;
1178
+ }
1179
+ /**
1180
+ * Zod schema for AnomalyReport validation
1181
+ */
1182
+ export declare const AnomalyReportSchema: z.ZodObject<{
1183
+ id: z.ZodString;
1184
+ detectedAt: z.ZodDate;
1185
+ type: z.ZodEnum<["behavior", "security", "performance", "compliance"]>;
1186
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
1187
+ description: z.ZodString;
1188
+ evidence: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ id?: string;
1191
+ type?: "security" | "compliance" | "behavior" | "performance";
1192
+ description?: string;
1193
+ severity?: "low" | "medium" | "high" | "critical";
1194
+ detectedAt?: Date;
1195
+ evidence?: Record<string, unknown>;
1196
+ }, {
1197
+ id?: string;
1198
+ type?: "security" | "compliance" | "behavior" | "performance";
1199
+ description?: string;
1200
+ severity?: "low" | "medium" | "high" | "critical";
1201
+ detectedAt?: Date;
1202
+ evidence?: Record<string, unknown>;
1203
+ }>;
1204
+ /**
1205
+ * Response to an anomaly
1206
+ */
1207
+ export interface AnomalyResponse {
1208
+ /** Action taken in response to anomaly */
1209
+ action: 'ignore' | 'log' | 'alert' | 'suspend' | 'revoke';
1210
+ /** Parties notified */
1211
+ notified?: string[];
1212
+ /** Whether the anomaly was escalated */
1213
+ escalated?: boolean;
1214
+ }
1215
+ /**
1216
+ * Zod schema for AnomalyResponse validation
1217
+ */
1218
+ export declare const AnomalyResponseSchema: z.ZodObject<{
1219
+ action: z.ZodEnum<["ignore", "log", "alert", "suspend", "revoke"]>;
1220
+ notified: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1221
+ escalated: z.ZodOptional<z.ZodBoolean>;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ escalated?: boolean;
1224
+ action?: "ignore" | "log" | "alert" | "revoke" | "suspend";
1225
+ notified?: string[];
1226
+ }, {
1227
+ escalated?: boolean;
1228
+ action?: "ignore" | "log" | "alert" | "revoke" | "suspend";
1229
+ notified?: string[];
1230
+ }>;
1231
+ /**
1232
+ * Revocation event for an agent or capability
1233
+ */
1234
+ export interface RevocationEvent {
1235
+ /** Revocation ID */
1236
+ id: string;
1237
+ /** Revoked agent DID */
1238
+ agentDid: string;
1239
+ /** Revoked ACI string */
1240
+ aci: string;
1241
+ /** Revocation timestamp */
1242
+ revokedAt: Date;
1243
+ /** Reason for revocation */
1244
+ reason: string;
1245
+ /** Scope of revocation */
1246
+ scope: 'full' | 'attestation' | 'capability';
1247
+ /** Affected attestation IDs */
1248
+ attestationIds?: string[];
1249
+ }
1250
+ /**
1251
+ * Zod schema for RevocationEvent validation
1252
+ */
1253
+ export declare const RevocationEventSchema: z.ZodObject<{
1254
+ id: z.ZodString;
1255
+ agentDid: z.ZodString;
1256
+ aci: z.ZodString;
1257
+ revokedAt: z.ZodDate;
1258
+ reason: z.ZodString;
1259
+ scope: z.ZodEnum<["full", "attestation", "capability"]>;
1260
+ attestationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ id?: string;
1263
+ scope?: "attestation" | "full" | "capability";
1264
+ reason?: string;
1265
+ revokedAt?: Date;
1266
+ aci?: string;
1267
+ agentDid?: string;
1268
+ attestationIds?: string[];
1269
+ }, {
1270
+ id?: string;
1271
+ scope?: "attestation" | "full" | "capability";
1272
+ reason?: string;
1273
+ revokedAt?: Date;
1274
+ aci?: string;
1275
+ agentDid?: string;
1276
+ attestationIds?: string[];
1277
+ }>;
1278
+ /**
1279
+ * Trust adjustment request
1280
+ */
1281
+ export interface TrustAdjustment {
1282
+ /** Type of adjustment */
1283
+ type: 'increment' | 'decrement' | 'set';
1284
+ /** Amount for increment/decrement */
1285
+ amount?: number;
1286
+ /** Target value for set */
1287
+ value?: number;
1288
+ /** Reason for adjustment */
1289
+ reason: string;
1290
+ /** Evidence supporting adjustment */
1291
+ evidence?: string;
1292
+ }
1293
+ /**
1294
+ * Zod schema for TrustAdjustment validation
1295
+ */
1296
+ export declare const TrustAdjustmentSchema: z.ZodObject<{
1297
+ type: z.ZodEnum<["increment", "decrement", "set"]>;
1298
+ amount: z.ZodOptional<z.ZodNumber>;
1299
+ value: z.ZodOptional<z.ZodNumber>;
1300
+ reason: z.ZodString;
1301
+ evidence: z.ZodOptional<z.ZodString>;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ value?: number;
1304
+ type?: "set" | "increment" | "decrement";
1305
+ reason?: string;
1306
+ evidence?: string;
1307
+ amount?: number;
1308
+ }, {
1309
+ value?: number;
1310
+ type?: "set" | "increment" | "decrement";
1311
+ reason?: string;
1312
+ evidence?: string;
1313
+ amount?: number;
1314
+ }>;
1315
+ /**
1316
+ * Result of a trust adjustment
1317
+ */
1318
+ export interface TrustAdjustmentResult {
1319
+ /** Previous trust score */
1320
+ previousScore: number;
1321
+ /** New trust score */
1322
+ newScore: number;
1323
+ /** Previous trust tier */
1324
+ previousTier: TrustTier;
1325
+ /** New trust tier */
1326
+ newTier: TrustTier;
1327
+ /** Whether tier changed */
1328
+ tierChanged: boolean;
1329
+ }
1330
+ /**
1331
+ * Zod schema for TrustAdjustmentResult validation
1332
+ */
1333
+ export declare const TrustAdjustmentResultSchema: z.ZodObject<{
1334
+ previousScore: z.ZodNumber;
1335
+ newScore: z.ZodNumber;
1336
+ previousTier: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>]>;
1337
+ newTier: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>]>;
1338
+ tierChanged: z.ZodBoolean;
1339
+ }, "strip", z.ZodTypeAny, {
1340
+ previousScore?: number;
1341
+ newScore?: number;
1342
+ previousTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1343
+ newTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1344
+ tierChanged?: boolean;
1345
+ }, {
1346
+ previousScore?: number;
1347
+ newScore?: number;
1348
+ previousTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1349
+ newTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1350
+ tierChanged?: boolean;
1351
+ }>;
1352
+ /**
1353
+ * Result of attestation verification
1354
+ */
1355
+ export interface AttestationVerificationResult {
1356
+ /** Whether attestation is valid */
1357
+ valid: boolean;
1358
+ /** Verification errors */
1359
+ errors: string[];
1360
+ /** Verification warnings */
1361
+ warnings: string[];
1362
+ /** Whether issuer was verified */
1363
+ issuerVerified: boolean;
1364
+ /** Whether signature was verified */
1365
+ signatureVerified: boolean;
1366
+ /** Whether attestation is not expired */
1367
+ notExpired: boolean;
1368
+ /** Whether attestation is not revoked */
1369
+ notRevoked: boolean;
1370
+ }
1371
+ /**
1372
+ * Zod schema for AttestationVerificationResult validation
1373
+ */
1374
+ export declare const AttestationVerificationResultSchema: z.ZodObject<{
1375
+ valid: z.ZodBoolean;
1376
+ errors: z.ZodArray<z.ZodString, "many">;
1377
+ warnings: z.ZodArray<z.ZodString, "many">;
1378
+ issuerVerified: z.ZodBoolean;
1379
+ signatureVerified: z.ZodBoolean;
1380
+ notExpired: z.ZodBoolean;
1381
+ notRevoked: z.ZodBoolean;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ valid?: boolean;
1384
+ errors?: string[];
1385
+ warnings?: string[];
1386
+ issuerVerified?: boolean;
1387
+ signatureVerified?: boolean;
1388
+ notExpired?: boolean;
1389
+ notRevoked?: boolean;
1390
+ }, {
1391
+ valid?: boolean;
1392
+ errors?: string[];
1393
+ warnings?: string[];
1394
+ issuerVerified?: boolean;
1395
+ signatureVerified?: boolean;
1396
+ notExpired?: boolean;
1397
+ notRevoked?: boolean;
1398
+ }>;
1399
+ /**
1400
+ * Environment context for policy evaluation
1401
+ */
1402
+ export interface EnvironmentContext {
1403
+ /** Source IP address */
1404
+ sourceIp?: string;
1405
+ /** Geographic location */
1406
+ geoLocation?: string;
1407
+ /** Time of day (HH:MM format) */
1408
+ timeOfDay: string;
1409
+ /** Day of week */
1410
+ dayOfWeek: string;
1411
+ /** Whether request is during business hours */
1412
+ isBusinessHours: boolean;
1413
+ /** Custom context values */
1414
+ custom?: Record<string, unknown>;
1415
+ }
1416
+ /**
1417
+ * Zod schema for EnvironmentContext validation
1418
+ */
1419
+ export declare const EnvironmentContextSchema: z.ZodObject<{
1420
+ sourceIp: z.ZodOptional<z.ZodString>;
1421
+ geoLocation: z.ZodOptional<z.ZodString>;
1422
+ timeOfDay: z.ZodString;
1423
+ dayOfWeek: z.ZodString;
1424
+ isBusinessHours: z.ZodBoolean;
1425
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1426
+ }, "strip", z.ZodTypeAny, {
1427
+ custom?: Record<string, unknown>;
1428
+ sourceIp?: string;
1429
+ dayOfWeek?: string;
1430
+ isBusinessHours?: boolean;
1431
+ geoLocation?: string;
1432
+ timeOfDay?: string;
1433
+ }, {
1434
+ custom?: Record<string, unknown>;
1435
+ sourceIp?: string;
1436
+ dayOfWeek?: string;
1437
+ isBusinessHours?: boolean;
1438
+ geoLocation?: string;
1439
+ timeOfDay?: string;
1440
+ }>;
1441
+ /**
1442
+ * Context for policy evaluation
1443
+ */
1444
+ export interface PolicyContext {
1445
+ /** Agent identity */
1446
+ agent: AgentIdentity;
1447
+ /** Action being evaluated (if action-based) */
1448
+ action?: ActionRequest;
1449
+ /** Capability being requested (if capability-based) */
1450
+ capability?: CapabilityRequest;
1451
+ /** Environment context */
1452
+ environment: EnvironmentContext;
1453
+ /** Request timestamp */
1454
+ timestamp: Date;
1455
+ }
1456
+ /**
1457
+ * Zod schema for PolicyContext validation
1458
+ */
1459
+ export declare const PolicyContextSchema: z.ZodObject<{
1460
+ agent: z.ZodObject<{
1461
+ did: z.ZodString;
1462
+ aci: z.ZodString;
1463
+ publisher: z.ZodString;
1464
+ name: z.ZodString;
1465
+ trustTier: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>]>;
1466
+ trustScore: z.ZodNumber;
1467
+ domains: z.ZodNumber;
1468
+ level: z.ZodNumber;
1469
+ version: z.ZodString;
1470
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ name?: string;
1473
+ version?: string;
1474
+ level?: number;
1475
+ metadata?: Record<string, unknown>;
1476
+ trustScore?: number;
1477
+ did?: string;
1478
+ aci?: string;
1479
+ publisher?: string;
1480
+ trustTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1481
+ domains?: number;
1482
+ }, {
1483
+ name?: string;
1484
+ version?: string;
1485
+ level?: number;
1486
+ metadata?: Record<string, unknown>;
1487
+ trustScore?: number;
1488
+ did?: string;
1489
+ aci?: string;
1490
+ publisher?: string;
1491
+ trustTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1492
+ domains?: number;
1493
+ }>;
1494
+ action: z.ZodOptional<z.ZodObject<{
1495
+ type: z.ZodString;
1496
+ target: z.ZodObject<{
1497
+ type: z.ZodString;
1498
+ id: z.ZodString;
1499
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ id?: string;
1502
+ type?: string;
1503
+ metadata?: Record<string, unknown>;
1504
+ }, {
1505
+ id?: string;
1506
+ type?: string;
1507
+ metadata?: Record<string, unknown>;
1508
+ }>;
1509
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1510
+ context: z.ZodObject<{
1511
+ source: z.ZodString;
1512
+ purpose: z.ZodOptional<z.ZodString>;
1513
+ resource: z.ZodOptional<z.ZodString>;
1514
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ source?: string;
1517
+ metadata?: Record<string, unknown>;
1518
+ resource?: string;
1519
+ purpose?: string;
1520
+ }, {
1521
+ source?: string;
1522
+ metadata?: Record<string, unknown>;
1523
+ resource?: string;
1524
+ purpose?: string;
1525
+ }>;
1526
+ }, "strip", z.ZodTypeAny, {
1527
+ params?: Record<string, unknown>;
1528
+ type?: string;
1529
+ target?: {
1530
+ id?: string;
1531
+ type?: string;
1532
+ metadata?: Record<string, unknown>;
1533
+ };
1534
+ context?: {
1535
+ source?: string;
1536
+ metadata?: Record<string, unknown>;
1537
+ resource?: string;
1538
+ purpose?: string;
1539
+ };
1540
+ }, {
1541
+ params?: Record<string, unknown>;
1542
+ type?: string;
1543
+ target?: {
1544
+ id?: string;
1545
+ type?: string;
1546
+ metadata?: Record<string, unknown>;
1547
+ };
1548
+ context?: {
1549
+ source?: string;
1550
+ metadata?: Record<string, unknown>;
1551
+ resource?: string;
1552
+ purpose?: string;
1553
+ };
1554
+ }>>;
1555
+ capability: z.ZodOptional<z.ZodObject<{
1556
+ domains: z.ZodArray<z.ZodString, "many">;
1557
+ level: z.ZodNumber;
1558
+ context: z.ZodObject<{
1559
+ source: z.ZodString;
1560
+ purpose: z.ZodOptional<z.ZodString>;
1561
+ resource: z.ZodOptional<z.ZodString>;
1562
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ source?: string;
1565
+ metadata?: Record<string, unknown>;
1566
+ resource?: string;
1567
+ purpose?: string;
1568
+ }, {
1569
+ source?: string;
1570
+ metadata?: Record<string, unknown>;
1571
+ resource?: string;
1572
+ purpose?: string;
1573
+ }>;
1574
+ ttl: z.ZodOptional<z.ZodNumber>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ level?: number;
1577
+ context?: {
1578
+ source?: string;
1579
+ metadata?: Record<string, unknown>;
1580
+ resource?: string;
1581
+ purpose?: string;
1582
+ };
1583
+ ttl?: number;
1584
+ domains?: string[];
1585
+ }, {
1586
+ level?: number;
1587
+ context?: {
1588
+ source?: string;
1589
+ metadata?: Record<string, unknown>;
1590
+ resource?: string;
1591
+ purpose?: string;
1592
+ };
1593
+ ttl?: number;
1594
+ domains?: string[];
1595
+ }>>;
1596
+ environment: z.ZodObject<{
1597
+ sourceIp: z.ZodOptional<z.ZodString>;
1598
+ geoLocation: z.ZodOptional<z.ZodString>;
1599
+ timeOfDay: z.ZodString;
1600
+ dayOfWeek: z.ZodString;
1601
+ isBusinessHours: z.ZodBoolean;
1602
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1603
+ }, "strip", z.ZodTypeAny, {
1604
+ custom?: Record<string, unknown>;
1605
+ sourceIp?: string;
1606
+ dayOfWeek?: string;
1607
+ isBusinessHours?: boolean;
1608
+ geoLocation?: string;
1609
+ timeOfDay?: string;
1610
+ }, {
1611
+ custom?: Record<string, unknown>;
1612
+ sourceIp?: string;
1613
+ dayOfWeek?: string;
1614
+ isBusinessHours?: boolean;
1615
+ geoLocation?: string;
1616
+ timeOfDay?: string;
1617
+ }>;
1618
+ timestamp: z.ZodDate;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ timestamp?: Date;
1621
+ agent?: {
1622
+ name?: string;
1623
+ version?: string;
1624
+ level?: number;
1625
+ metadata?: Record<string, unknown>;
1626
+ trustScore?: number;
1627
+ did?: string;
1628
+ aci?: string;
1629
+ publisher?: string;
1630
+ trustTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1631
+ domains?: number;
1632
+ };
1633
+ environment?: {
1634
+ custom?: Record<string, unknown>;
1635
+ sourceIp?: string;
1636
+ dayOfWeek?: string;
1637
+ isBusinessHours?: boolean;
1638
+ geoLocation?: string;
1639
+ timeOfDay?: string;
1640
+ };
1641
+ action?: {
1642
+ params?: Record<string, unknown>;
1643
+ type?: string;
1644
+ target?: {
1645
+ id?: string;
1646
+ type?: string;
1647
+ metadata?: Record<string, unknown>;
1648
+ };
1649
+ context?: {
1650
+ source?: string;
1651
+ metadata?: Record<string, unknown>;
1652
+ resource?: string;
1653
+ purpose?: string;
1654
+ };
1655
+ };
1656
+ capability?: {
1657
+ level?: number;
1658
+ context?: {
1659
+ source?: string;
1660
+ metadata?: Record<string, unknown>;
1661
+ resource?: string;
1662
+ purpose?: string;
1663
+ };
1664
+ ttl?: number;
1665
+ domains?: string[];
1666
+ };
1667
+ }, {
1668
+ timestamp?: Date;
1669
+ agent?: {
1670
+ name?: string;
1671
+ version?: string;
1672
+ level?: number;
1673
+ metadata?: Record<string, unknown>;
1674
+ trustScore?: number;
1675
+ did?: string;
1676
+ aci?: string;
1677
+ publisher?: string;
1678
+ trustTier?: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6;
1679
+ domains?: number;
1680
+ };
1681
+ environment?: {
1682
+ custom?: Record<string, unknown>;
1683
+ sourceIp?: string;
1684
+ dayOfWeek?: string;
1685
+ isBusinessHours?: boolean;
1686
+ geoLocation?: string;
1687
+ timeOfDay?: string;
1688
+ };
1689
+ action?: {
1690
+ params?: Record<string, unknown>;
1691
+ type?: string;
1692
+ target?: {
1693
+ id?: string;
1694
+ type?: string;
1695
+ metadata?: Record<string, unknown>;
1696
+ };
1697
+ context?: {
1698
+ source?: string;
1699
+ metadata?: Record<string, unknown>;
1700
+ resource?: string;
1701
+ purpose?: string;
1702
+ };
1703
+ };
1704
+ capability?: {
1705
+ level?: number;
1706
+ context?: {
1707
+ source?: string;
1708
+ metadata?: Record<string, unknown>;
1709
+ resource?: string;
1710
+ purpose?: string;
1711
+ };
1712
+ ttl?: number;
1713
+ domains?: string[];
1714
+ };
1715
+ }>;
1716
+ /**
1717
+ * Evidence from a policy match
1718
+ */
1719
+ export interface PolicyEvidence {
1720
+ /** ID of the policy that matched */
1721
+ policyId: string;
1722
+ /** ID of the rule that matched */
1723
+ ruleId: string;
1724
+ /** Match details */
1725
+ details: string;
1726
+ }
1727
+ /**
1728
+ * Zod schema for PolicyEvidence validation
1729
+ */
1730
+ export declare const PolicyEvidenceSchema: z.ZodObject<{
1731
+ policyId: z.ZodString;
1732
+ ruleId: z.ZodString;
1733
+ details: z.ZodString;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ details?: string;
1736
+ policyId?: string;
1737
+ ruleId?: string;
1738
+ }, {
1739
+ details?: string;
1740
+ policyId?: string;
1741
+ ruleId?: string;
1742
+ }>;
1743
+ /**
1744
+ * Obligation that must be fulfilled as part of policy decision
1745
+ */
1746
+ export interface PolicyObligation {
1747
+ /** Obligation type */
1748
+ type: 'log' | 'notify' | 'audit' | 'custom';
1749
+ /** Obligation parameters */
1750
+ params: Record<string, unknown>;
1751
+ }
1752
+ /**
1753
+ * Zod schema for PolicyObligation validation
1754
+ */
1755
+ export declare const PolicyObligationSchema: z.ZodObject<{
1756
+ type: z.ZodEnum<["log", "notify", "audit", "custom"]>;
1757
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1758
+ }, "strip", z.ZodTypeAny, {
1759
+ params?: Record<string, unknown>;
1760
+ type?: "custom" | "log" | "audit" | "notify";
1761
+ }, {
1762
+ params?: Record<string, unknown>;
1763
+ type?: "custom" | "log" | "audit" | "notify";
1764
+ }>;
1765
+ /**
1766
+ * Decision from policy evaluation
1767
+ */
1768
+ export interface PolicyDecision {
1769
+ /** Decision outcome */
1770
+ decision: 'allow' | 'deny' | 'require_approval';
1771
+ /** Reasons for the decision */
1772
+ reasons: string[];
1773
+ /** Evidence supporting the decision */
1774
+ evidence?: PolicyEvidence[];
1775
+ /** Obligations that must be fulfilled */
1776
+ obligations?: PolicyObligation[];
1777
+ }
1778
+ /**
1779
+ * Zod schema for PolicyDecision validation
1780
+ */
1781
+ export declare const PolicyDecisionSchema: z.ZodObject<{
1782
+ decision: z.ZodEnum<["allow", "deny", "require_approval"]>;
1783
+ reasons: z.ZodArray<z.ZodString, "many">;
1784
+ evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
1785
+ policyId: z.ZodString;
1786
+ ruleId: z.ZodString;
1787
+ details: z.ZodString;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ details?: string;
1790
+ policyId?: string;
1791
+ ruleId?: string;
1792
+ }, {
1793
+ details?: string;
1794
+ policyId?: string;
1795
+ ruleId?: string;
1796
+ }>, "many">>;
1797
+ obligations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1798
+ type: z.ZodEnum<["log", "notify", "audit", "custom"]>;
1799
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1800
+ }, "strip", z.ZodTypeAny, {
1801
+ params?: Record<string, unknown>;
1802
+ type?: "custom" | "log" | "audit" | "notify";
1803
+ }, {
1804
+ params?: Record<string, unknown>;
1805
+ type?: "custom" | "log" | "audit" | "notify";
1806
+ }>, "many">>;
1807
+ }, "strip", z.ZodTypeAny, {
1808
+ decision?: "allow" | "deny" | "require_approval";
1809
+ evidence?: {
1810
+ details?: string;
1811
+ policyId?: string;
1812
+ ruleId?: string;
1813
+ }[];
1814
+ reasons?: string[];
1815
+ obligations?: {
1816
+ params?: Record<string, unknown>;
1817
+ type?: "custom" | "log" | "audit" | "notify";
1818
+ }[];
1819
+ }, {
1820
+ decision?: "allow" | "deny" | "require_approval";
1821
+ evidence?: {
1822
+ details?: string;
1823
+ policyId?: string;
1824
+ ruleId?: string;
1825
+ }[];
1826
+ reasons?: string[];
1827
+ obligations?: {
1828
+ params?: Record<string, unknown>;
1829
+ type?: "custom" | "log" | "audit" | "notify";
1830
+ }[];
1831
+ }>;
1832
+ /**
1833
+ * Source for loading policy definitions
1834
+ */
1835
+ export interface PolicySource {
1836
+ /** Source type */
1837
+ type: 'file' | 'url' | 'inline';
1838
+ /** Source location or content */
1839
+ location: string;
1840
+ /** Policy format */
1841
+ format: 'rego' | 'json' | 'yaml';
1842
+ }
1843
+ /**
1844
+ * Zod schema for PolicySource validation
1845
+ */
1846
+ export declare const PolicySourceSchema: z.ZodObject<{
1847
+ type: z.ZodEnum<["file", "url", "inline"]>;
1848
+ location: z.ZodString;
1849
+ format: z.ZodEnum<["rego", "json", "yaml"]>;
1850
+ }, "strip", z.ZodTypeAny, {
1851
+ type?: "url" | "file" | "inline";
1852
+ location?: string;
1853
+ format?: "json" | "rego" | "yaml";
1854
+ }, {
1855
+ type?: "url" | "file" | "inline";
1856
+ location?: string;
1857
+ format?: "json" | "rego" | "yaml";
1858
+ }>;
1859
+ /**
1860
+ * Lifecycle hooks for extension load/unload
1861
+ */
1862
+ export interface LifecycleHooks {
1863
+ /** Called when extension is loaded */
1864
+ onLoad?: () => Promise<void>;
1865
+ /** Called when extension is unloaded */
1866
+ onUnload?: () => Promise<void>;
1867
+ }
1868
+ /**
1869
+ * Capability-related hooks
1870
+ */
1871
+ export interface CapabilityHooks {
1872
+ /** Called before capability check */
1873
+ preCheck?: (agent: AgentIdentity, request: CapabilityRequest) => Promise<PreCheckResult>;
1874
+ /** Called after capability is granted */
1875
+ postGrant?: (agent: AgentIdentity, grant: CapabilityGrant) => Promise<CapabilityGrant>;
1876
+ /** Called when capability is about to expire */
1877
+ onExpiry?: (agent: AgentIdentity, grant: CapabilityGrant) => Promise<ExpiryDecision>;
1878
+ }
1879
+ /**
1880
+ * Action-related hooks
1881
+ */
1882
+ export interface ActionHooks {
1883
+ /** Called before action execution */
1884
+ preAction?: (agent: AgentIdentity, action: ActionRequest) => Promise<PreActionResult>;
1885
+ /** Called after action execution */
1886
+ postAction?: (agent: AgentIdentity, action: ActionRecord) => Promise<void>;
1887
+ /** Called on action failure */
1888
+ onFailure?: (agent: AgentIdentity, action: ActionRecord, error: Error) => Promise<FailureResponse>;
1889
+ }
1890
+ /**
1891
+ * Monitoring-related hooks
1892
+ */
1893
+ export interface MonitoringHooks {
1894
+ /** Verify agent behavior against baseline */
1895
+ verifyBehavior?: (agent: AgentIdentity, metrics: BehaviorMetrics) => Promise<BehaviorVerificationResult>;
1896
+ /** Collect metrics from agent */
1897
+ collectMetrics?: (agent: AgentIdentity) => Promise<MetricsReport>;
1898
+ /** Handle detected anomaly */
1899
+ onAnomaly?: (agent: AgentIdentity, anomaly: AnomalyReport) => Promise<AnomalyResponse>;
1900
+ }
1901
+ /**
1902
+ * Trust-related hooks
1903
+ */
1904
+ export interface TrustHooks {
1905
+ /** Handle revocation event */
1906
+ onRevocation?: (revocation: RevocationEvent) => Promise<void>;
1907
+ /** Adjust trust score */
1908
+ adjustTrust?: (agent: AgentIdentity, adjustment: TrustAdjustment) => Promise<TrustAdjustmentResult>;
1909
+ /** Verify attestation */
1910
+ verifyAttestation?: (attestation: Attestation) => Promise<AttestationVerificationResult>;
1911
+ }
1912
+ /**
1913
+ * Policy engine interface
1914
+ */
1915
+ export interface PolicyEngine {
1916
+ /** Evaluate policy for context */
1917
+ evaluate: (context: PolicyContext) => Promise<PolicyDecision>;
1918
+ /** Load policy from source */
1919
+ loadPolicy?: (source: PolicySource) => Promise<void>;
1920
+ }
1921
+ /**
1922
+ * ACI Extension Protocol Interface
1923
+ *
1924
+ * Implement this interface to create a Layer 4 extension that provides
1925
+ * runtime assurance capabilities such as governance, monitoring, and
1926
+ * policy enforcement.
1927
+ */
1928
+ export interface ACIExtension {
1929
+ /** Unique extension identifier (format: aci-ext-{name}-v{version}) */
1930
+ extensionId: string;
1931
+ /** Human-readable name */
1932
+ name: string;
1933
+ /** Semantic version */
1934
+ version: string;
1935
+ /** Short code for ACI strings (e.g., "gov", "audit") */
1936
+ shortcode: string;
1937
+ /** Publisher DID */
1938
+ publisher: string;
1939
+ /** Extension description */
1940
+ description: string;
1941
+ /** Required ACI core version (semver range) */
1942
+ requiredACIVersion: string;
1943
+ /** Lifecycle hooks */
1944
+ hooks?: LifecycleHooks;
1945
+ /** Capability hooks */
1946
+ capability?: CapabilityHooks;
1947
+ /** Action hooks */
1948
+ action?: ActionHooks;
1949
+ /** Monitoring hooks */
1950
+ monitoring?: MonitoringHooks;
1951
+ /** Trust hooks */
1952
+ trust?: TrustHooks;
1953
+ /** Policy engine (optional) */
1954
+ policy?: PolicyEngine;
1955
+ }
1956
+ /**
1957
+ * Zod schema for ACIExtension validation (metadata only)
1958
+ */
1959
+ export declare const ACIExtensionMetadataSchema: z.ZodObject<{
1960
+ extensionId: z.ZodString;
1961
+ name: z.ZodString;
1962
+ version: z.ZodString;
1963
+ shortcode: z.ZodString;
1964
+ publisher: z.ZodString;
1965
+ description: z.ZodString;
1966
+ requiredACIVersion: z.ZodString;
1967
+ }, "strip", z.ZodTypeAny, {
1968
+ name?: string;
1969
+ version?: string;
1970
+ description?: string;
1971
+ publisher?: string;
1972
+ extensionId?: string;
1973
+ shortcode?: string;
1974
+ requiredACIVersion?: string;
1975
+ }, {
1976
+ name?: string;
1977
+ version?: string;
1978
+ description?: string;
1979
+ publisher?: string;
1980
+ extensionId?: string;
1981
+ shortcode?: string;
1982
+ requiredACIVersion?: string;
1983
+ }>;
1984
+ /**
1985
+ * Aggregated result from multiple pre-check hooks
1986
+ */
1987
+ export interface AggregatedPreCheckResult {
1988
+ /** Whether all extensions allowed the request */
1989
+ allow: boolean;
1990
+ /** Results from each extension */
1991
+ results: Array<{
1992
+ extensionId: string;
1993
+ result: PreCheckResult;
1994
+ }>;
1995
+ /** Combined constraints from all extensions */
1996
+ constraints: Constraint[];
1997
+ /** First denial reason if denied */
1998
+ denialReason?: string;
1999
+ /** Extension that denied if denied */
2000
+ deniedBy?: string;
2001
+ }
2002
+ /**
2003
+ * Aggregated result from multiple pre-action hooks
2004
+ */
2005
+ export interface AggregatedPreActionResult {
2006
+ /** Whether all extensions allow proceeding */
2007
+ proceed: boolean;
2008
+ /** Results from each extension */
2009
+ results: Array<{
2010
+ extensionId: string;
2011
+ result: PreActionResult;
2012
+ }>;
2013
+ /** Combined modifications from all extensions */
2014
+ modifications: ActionModification[];
2015
+ /** Combined approval requirements */
2016
+ requiredApprovals: ApprovalRequirement[];
2017
+ /** First blocking reason if blocked */
2018
+ blockingReason?: string;
2019
+ /** Extension that blocked if blocked */
2020
+ blockedBy?: string;
2021
+ }
2022
+ /**
2023
+ * Aggregated result from multiple failure handlers
2024
+ */
2025
+ export interface AggregatedFailureResponse {
2026
+ /** Whether any extension suggests retry */
2027
+ retry: boolean;
2028
+ /** Shortest suggested retry delay */
2029
+ retryDelay?: number;
2030
+ /** Minimum of max retries suggestions */
2031
+ maxRetries?: number;
2032
+ /** First suggested fallback */
2033
+ fallback?: ActionRequest;
2034
+ /** Results from each extension */
2035
+ results: Array<{
2036
+ extensionId: string;
2037
+ result: FailureResponse;
2038
+ }>;
2039
+ }
2040
+ /**
2041
+ * Aggregated result from multiple behavior verification hooks
2042
+ */
2043
+ export interface AggregatedBehaviorResult {
2044
+ /** Whether any extension found behavior out of bounds */
2045
+ inBounds: boolean;
2046
+ /** Maximum drift score across extensions */
2047
+ maxDriftScore: number;
2048
+ /** Combined drift categories */
2049
+ driftCategories: string[];
2050
+ /** Most severe recommendation */
2051
+ recommendation: 'continue' | 'warn' | 'suspend' | 'revoke';
2052
+ /** Results from each extension */
2053
+ results: Array<{
2054
+ extensionId: string;
2055
+ result: BehaviorVerificationResult;
2056
+ }>;
2057
+ }
2058
+ /**
2059
+ * Aggregated metrics from multiple extensions
2060
+ */
2061
+ export interface AggregatedMetricsReport {
2062
+ /** Collection timestamp */
2063
+ timestamp: Date;
2064
+ /** Reports from each extension */
2065
+ reports: Array<{
2066
+ extensionId: string;
2067
+ report: MetricsReport;
2068
+ }>;
2069
+ /** Overall health (worst of all extensions) */
2070
+ overallHealth: 'healthy' | 'degraded' | 'unhealthy';
2071
+ }
2072
+ /**
2073
+ * Aggregated anomaly response from multiple extensions
2074
+ */
2075
+ export interface AggregatedAnomalyResponse {
2076
+ /** Most severe action taken */
2077
+ action: 'ignore' | 'log' | 'alert' | 'suspend' | 'revoke';
2078
+ /** All parties notified */
2079
+ notified: string[];
2080
+ /** Whether any extension escalated */
2081
+ escalated: boolean;
2082
+ /** Results from each extension */
2083
+ results: Array<{
2084
+ extensionId: string;
2085
+ result: AnomalyResponse;
2086
+ }>;
2087
+ }
2088
+ /**
2089
+ * Aggregated trust adjustment result
2090
+ */
2091
+ export interface AggregatedTrustResult {
2092
+ /** Final trust score after all adjustments */
2093
+ finalScore: number;
2094
+ /** Final trust tier */
2095
+ finalTier: TrustTier;
2096
+ /** Whether tier changed from any adjustment */
2097
+ tierChanged: boolean;
2098
+ /** Results from each extension */
2099
+ results: Array<{
2100
+ extensionId: string;
2101
+ result: TrustAdjustmentResult;
2102
+ }>;
2103
+ }
2104
+ /**
2105
+ * Aggregated policy decision from multiple extensions
2106
+ */
2107
+ export interface AggregatedPolicyDecision {
2108
+ /** Final decision (deny wins, then require_approval, then allow) */
2109
+ decision: 'allow' | 'deny' | 'require_approval';
2110
+ /** Combined reasons from all extensions */
2111
+ reasons: string[];
2112
+ /** Combined evidence from all extensions */
2113
+ evidence: PolicyEvidence[];
2114
+ /** Combined obligations from all extensions */
2115
+ obligations: PolicyObligation[];
2116
+ /** Results from each extension */
2117
+ results: Array<{
2118
+ extensionId: string;
2119
+ result: PolicyDecision;
2120
+ }>;
2121
+ }
2122
+ /**
2123
+ * Information about a registered extension
2124
+ */
2125
+ export interface ExtensionInfo {
2126
+ /** Extension ID */
2127
+ extensionId: string;
2128
+ /** Extension name */
2129
+ name: string;
2130
+ /** Extension version */
2131
+ version: string;
2132
+ /** Extension shortcode */
2133
+ shortcode: string;
2134
+ /** Publisher DID */
2135
+ publisher: string;
2136
+ /** Extension description */
2137
+ description: string;
2138
+ /** When the extension was registered */
2139
+ registeredAt: Date;
2140
+ /** Whether the extension is currently loaded */
2141
+ loaded: boolean;
2142
+ /** Available hooks */
2143
+ hooks: string[];
2144
+ }
2145
+ /**
2146
+ * Result of extension validation
2147
+ */
2148
+ export interface ValidationResult {
2149
+ /** Whether extension is valid */
2150
+ valid: boolean;
2151
+ /** Validation errors */
2152
+ errors: string[];
2153
+ /** Validation warnings */
2154
+ warnings: string[];
2155
+ }
2156
+ /**
2157
+ * Zod schema for ValidationResult
2158
+ */
2159
+ export declare const ValidationResultSchema: z.ZodObject<{
2160
+ valid: z.ZodBoolean;
2161
+ errors: z.ZodArray<z.ZodString, "many">;
2162
+ warnings: z.ZodArray<z.ZodString, "many">;
2163
+ }, "strip", z.ZodTypeAny, {
2164
+ valid?: boolean;
2165
+ errors?: string[];
2166
+ warnings?: string[];
2167
+ }, {
2168
+ valid?: boolean;
2169
+ errors?: string[];
2170
+ warnings?: string[];
2171
+ }>;
2172
+ /**
2173
+ * Configuration for the extension service
2174
+ */
2175
+ export interface ExtensionServiceConfig {
2176
+ /** Default timeout for hook execution (ms) */
2177
+ defaultTimeout?: number;
2178
+ /** Whether to fail fast on first hook error */
2179
+ failFast?: boolean;
2180
+ /** Whether to log hook execution */
2181
+ logExecution?: boolean;
2182
+ /** Maximum concurrent hook executions */
2183
+ maxConcurrency?: number;
2184
+ }
2185
+ /**
2186
+ * Zod schema for ExtensionServiceConfig
2187
+ */
2188
+ export declare const ExtensionServiceConfigSchema: z.ZodObject<{
2189
+ defaultTimeout: z.ZodOptional<z.ZodNumber>;
2190
+ failFast: z.ZodOptional<z.ZodBoolean>;
2191
+ logExecution: z.ZodOptional<z.ZodBoolean>;
2192
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
2193
+ }, "strip", z.ZodTypeAny, {
2194
+ defaultTimeout?: number;
2195
+ failFast?: boolean;
2196
+ logExecution?: boolean;
2197
+ maxConcurrency?: number;
2198
+ }, {
2199
+ defaultTimeout?: number;
2200
+ failFast?: boolean;
2201
+ logExecution?: boolean;
2202
+ maxConcurrency?: number;
2203
+ }>;
2204
+ /**
2205
+ * Default timeouts for different hook types (in milliseconds)
2206
+ */
2207
+ export declare const HOOK_TIMEOUTS: {
2208
+ readonly preCheck: {
2209
+ readonly default: 100;
2210
+ readonly max: 500;
2211
+ };
2212
+ readonly postGrant: {
2213
+ readonly default: 100;
2214
+ readonly max: 500;
2215
+ };
2216
+ readonly onExpiry: {
2217
+ readonly default: 100;
2218
+ readonly max: 500;
2219
+ };
2220
+ readonly preAction: {
2221
+ readonly default: 200;
2222
+ readonly max: 1000;
2223
+ };
2224
+ readonly postAction: {
2225
+ readonly default: 500;
2226
+ readonly max: 2000;
2227
+ };
2228
+ readonly onFailure: {
2229
+ readonly default: 200;
2230
+ readonly max: 1000;
2231
+ };
2232
+ readonly verifyBehavior: {
2233
+ readonly default: 5000;
2234
+ readonly max: 30000;
2235
+ };
2236
+ readonly collectMetrics: {
2237
+ readonly default: 5000;
2238
+ readonly max: 30000;
2239
+ };
2240
+ readonly onAnomaly: {
2241
+ readonly default: 1000;
2242
+ readonly max: 5000;
2243
+ };
2244
+ readonly onRevocation: {
2245
+ readonly default: 500;
2246
+ readonly max: 2000;
2247
+ };
2248
+ readonly adjustTrust: {
2249
+ readonly default: 200;
2250
+ readonly max: 1000;
2251
+ };
2252
+ readonly verifyAttestation: {
2253
+ readonly default: 500;
2254
+ readonly max: 2000;
2255
+ };
2256
+ readonly evaluate: {
2257
+ readonly default: 500;
2258
+ readonly max: 2000;
2259
+ };
2260
+ };
2261
+ /**
2262
+ * Hook timeout type
2263
+ */
2264
+ export type HookTimeout = keyof typeof HOOK_TIMEOUTS;
2265
+ //# sourceMappingURL=types.d.ts.map