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