@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,3925 @@
1
+ /**
2
+ * Semantic Governance Types - Layer 5
3
+ *
4
+ * Core types for semantic governance addressing the "confused deputy" problem
5
+ * where authenticated agents can be manipulated via prompt injection.
6
+ *
7
+ * This module provides:
8
+ * - Instruction Integrity (binding agents to approved prompts)
9
+ * - Output Schema Binding (constraining agent output)
10
+ * - Inference Scope Controls (limiting derived knowledge)
11
+ * - Context Authentication (securing the data plane)
12
+ * - Dual-Channel Authorization (separating control from data)
13
+ *
14
+ * @packageDocumentation
15
+ * @module @vorion/semantic-governance
16
+ */
17
+ import { z } from 'zod';
18
+ /**
19
+ * Domain codes representing capability areas
20
+ */
21
+ export type DomainCode = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'S';
22
+ export declare const DomainCodeSchema: z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>;
23
+ /**
24
+ * Trust tiers indicating verification level (8-tier model)
25
+ *
26
+ * - T0: Sandbox - No external verification, isolated testing
27
+ * - T1: Observed - Basic observation period, identity registered
28
+ * - T2: Provisional - Initial capabilities verified
29
+ * - T3: Monitored - Continuous behavioral monitoring active
30
+ * - T4: Standard - Standard certification achieved
31
+ * - T5: Trusted - Full trust established through track record
32
+ * - T6: Certified - Independent third-party audit completed
33
+ * - T7: Autonomous - Highest assurance level with full certification
34
+ */
35
+ export declare enum TrustTier {
36
+ /** Sandbox - No external verification, isolated testing */
37
+ T0_SANDBOX = 0,
38
+ /** Observed - Basic observation period, identity registered */
39
+ T1_OBSERVED = 1,
40
+ /** Provisional - Initial capabilities verified */
41
+ T2_PROVISIONAL = 2,
42
+ /** Monitored - Continuous behavioral monitoring active */
43
+ T3_MONITORED = 3,
44
+ /** Standard - Standard certification achieved */
45
+ T4_STANDARD = 4,
46
+ /** Trusted - Full trust established through track record */
47
+ T5_TRUSTED = 5,
48
+ /** Certified - Independent third-party audit completed */
49
+ T6_CERTIFIED = 6,
50
+ /** Autonomous - Highest assurance level with full certification */
51
+ T7_AUTONOMOUS = 7
52
+ }
53
+ export declare const TrustTierSchema: z.ZodNativeEnum<typeof TrustTier>;
54
+ /**
55
+ * Instruction template definition with parameter schema
56
+ */
57
+ export interface InstructionTemplate {
58
+ /** Template identifier */
59
+ id: string;
60
+ /** SHA-256 hash of the template */
61
+ hash: string;
62
+ /** Human-readable description */
63
+ description: string;
64
+ /** JSON Schema for allowed parameters */
65
+ parameterSchema: object;
66
+ }
67
+ export declare const InstructionTemplateSchema: z.ZodObject<{
68
+ id: z.ZodString;
69
+ hash: z.ZodString;
70
+ description: z.ZodString;
71
+ parameterSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ id?: string;
74
+ description?: string;
75
+ hash?: string;
76
+ parameterSchema?: Record<string, unknown>;
77
+ }, {
78
+ id?: string;
79
+ description?: string;
80
+ hash?: string;
81
+ parameterSchema?: Record<string, unknown>;
82
+ }>;
83
+ /**
84
+ * Instruction source configuration
85
+ */
86
+ export interface InstructionSource {
87
+ /** Allowed source DIDs or identifiers */
88
+ allowedSources: string[];
89
+ /** Whether signature verification is required */
90
+ requireSignature: boolean;
91
+ }
92
+ export declare const InstructionSourceSchema: z.ZodObject<{
93
+ allowedSources: z.ZodArray<z.ZodString, "many">;
94
+ requireSignature: z.ZodBoolean;
95
+ }, "strip", z.ZodTypeAny, {
96
+ allowedSources?: string[];
97
+ requireSignature?: boolean;
98
+ }, {
99
+ allowedSources?: string[];
100
+ requireSignature?: boolean;
101
+ }>;
102
+ /**
103
+ * Instruction integrity configuration
104
+ * Binds an agent to approved system prompts
105
+ */
106
+ export interface InstructionIntegrity {
107
+ /** SHA-256 hashes of allowed system prompts */
108
+ allowedInstructionHashes: string[];
109
+ /** Instruction templates with parameter schemas */
110
+ instructionTemplates: InstructionTemplate[];
111
+ /** Allowed instruction sources */
112
+ instructionSource: InstructionSource;
113
+ }
114
+ export declare const InstructionIntegritySchema: z.ZodObject<{
115
+ allowedInstructionHashes: z.ZodArray<z.ZodString, "many">;
116
+ instructionTemplates: z.ZodArray<z.ZodObject<{
117
+ id: z.ZodString;
118
+ hash: z.ZodString;
119
+ description: z.ZodString;
120
+ parameterSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ id?: string;
123
+ description?: string;
124
+ hash?: string;
125
+ parameterSchema?: Record<string, unknown>;
126
+ }, {
127
+ id?: string;
128
+ description?: string;
129
+ hash?: string;
130
+ parameterSchema?: Record<string, unknown>;
131
+ }>, "many">;
132
+ instructionSource: z.ZodObject<{
133
+ allowedSources: z.ZodArray<z.ZodString, "many">;
134
+ requireSignature: z.ZodBoolean;
135
+ }, "strip", z.ZodTypeAny, {
136
+ allowedSources?: string[];
137
+ requireSignature?: boolean;
138
+ }, {
139
+ allowedSources?: string[];
140
+ requireSignature?: boolean;
141
+ }>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ allowedInstructionHashes?: string[];
144
+ instructionTemplates?: {
145
+ id?: string;
146
+ description?: string;
147
+ hash?: string;
148
+ parameterSchema?: Record<string, unknown>;
149
+ }[];
150
+ instructionSource?: {
151
+ allowedSources?: string[];
152
+ requireSignature?: boolean;
153
+ };
154
+ }, {
155
+ allowedInstructionHashes?: string[];
156
+ instructionTemplates?: {
157
+ id?: string;
158
+ description?: string;
159
+ hash?: string;
160
+ parameterSchema?: Record<string, unknown>;
161
+ }[];
162
+ instructionSource?: {
163
+ allowedSources?: string[];
164
+ requireSignature?: boolean;
165
+ };
166
+ }>;
167
+ /**
168
+ * Result of instruction validation
169
+ */
170
+ export interface InstructionValidationResult {
171
+ /** Whether instruction is valid */
172
+ valid: boolean;
173
+ /** Validation method used */
174
+ method?: 'exact-match' | 'template-match' | 'signed-source';
175
+ /** Template ID if template-matched */
176
+ templateId?: string;
177
+ /** Reason for rejection */
178
+ reason?: string;
179
+ /** SHA-256 hash of the instruction */
180
+ instructionHash?: string;
181
+ /** Extracted parameters if template-matched */
182
+ extractedParams?: Record<string, unknown>;
183
+ }
184
+ export declare const InstructionValidationResultSchema: z.ZodObject<{
185
+ valid: z.ZodBoolean;
186
+ method: z.ZodOptional<z.ZodEnum<["exact-match", "template-match", "signed-source"]>>;
187
+ templateId: z.ZodOptional<z.ZodString>;
188
+ reason: z.ZodOptional<z.ZodString>;
189
+ instructionHash: z.ZodOptional<z.ZodString>;
190
+ extractedParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ reason?: string;
193
+ valid?: boolean;
194
+ method?: "exact-match" | "template-match" | "signed-source";
195
+ templateId?: string;
196
+ instructionHash?: string;
197
+ extractedParams?: Record<string, unknown>;
198
+ }, {
199
+ reason?: string;
200
+ valid?: boolean;
201
+ method?: "exact-match" | "template-match" | "signed-source";
202
+ templateId?: string;
203
+ instructionHash?: string;
204
+ extractedParams?: Record<string, unknown>;
205
+ }>;
206
+ /**
207
+ * Template match result
208
+ */
209
+ export interface TemplateMatchResult {
210
+ /** Whether the template matched */
211
+ matches: boolean;
212
+ /** Template ID if matched */
213
+ templateId?: string;
214
+ /** Extracted parameters */
215
+ extractedParams?: Record<string, unknown>;
216
+ /** Match confidence score (0-1) */
217
+ confidence?: number;
218
+ }
219
+ export declare const TemplateMatchResultSchema: z.ZodObject<{
220
+ matches: z.ZodBoolean;
221
+ templateId: z.ZodOptional<z.ZodString>;
222
+ extractedParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
223
+ confidence: z.ZodOptional<z.ZodNumber>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ matches?: boolean;
226
+ templateId?: string;
227
+ extractedParams?: Record<string, unknown>;
228
+ confidence?: number;
229
+ }, {
230
+ matches?: boolean;
231
+ templateId?: string;
232
+ extractedParams?: Record<string, unknown>;
233
+ confidence?: number;
234
+ }>;
235
+ /**
236
+ * Output schema definition
237
+ */
238
+ export interface OutputSchema {
239
+ /** Schema identifier */
240
+ id: string;
241
+ /** Human-readable description */
242
+ description: string;
243
+ /** JSON Schema for output validation */
244
+ jsonSchema: object;
245
+ }
246
+ export declare const OutputSchemaSchema: z.ZodObject<{
247
+ id: z.ZodString;
248
+ description: z.ZodString;
249
+ jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ id?: string;
252
+ description?: string;
253
+ jsonSchema?: Record<string, unknown>;
254
+ }, {
255
+ id?: string;
256
+ description?: string;
257
+ jsonSchema?: Record<string, unknown>;
258
+ }>;
259
+ /**
260
+ * Prohibited pattern definition
261
+ */
262
+ export interface ProhibitedPattern {
263
+ /** Pattern type */
264
+ type: 'regex' | 'keyword' | 'semantic';
265
+ /** Pattern value (regex string, keyword, or semantic description) */
266
+ pattern: string;
267
+ /** Human-readable description */
268
+ description: string;
269
+ /** Severity level */
270
+ severity?: 'low' | 'medium' | 'high' | 'critical';
271
+ }
272
+ export declare const ProhibitedPatternSchema: z.ZodObject<{
273
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
274
+ pattern: z.ZodString;
275
+ description: z.ZodString;
276
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
277
+ }, "strip", z.ZodTypeAny, {
278
+ pattern?: string;
279
+ description?: string;
280
+ type?: "regex" | "keyword" | "semantic";
281
+ severity?: "critical" | "low" | "medium" | "high";
282
+ }, {
283
+ pattern?: string;
284
+ description?: string;
285
+ type?: "regex" | "keyword" | "semantic";
286
+ severity?: "critical" | "low" | "medium" | "high";
287
+ }>;
288
+ /**
289
+ * Output schema binding configuration
290
+ * Constrains what an agent can produce as output
291
+ */
292
+ export interface OutputBinding {
293
+ /** Allowed output schemas */
294
+ allowedSchemas: OutputSchema[];
295
+ /** Prohibited patterns (e.g., PII, credentials) */
296
+ prohibitedPatterns: ProhibitedPattern[];
297
+ /** Allowed external endpoints (glob patterns) */
298
+ allowedExternalEndpoints: string[];
299
+ /** Blocked external endpoints (glob patterns) */
300
+ blockedExternalEndpoints: string[];
301
+ }
302
+ export declare const OutputBindingSchema: z.ZodObject<{
303
+ allowedSchemas: z.ZodArray<z.ZodObject<{
304
+ id: z.ZodString;
305
+ description: z.ZodString;
306
+ jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ id?: string;
309
+ description?: string;
310
+ jsonSchema?: Record<string, unknown>;
311
+ }, {
312
+ id?: string;
313
+ description?: string;
314
+ jsonSchema?: Record<string, unknown>;
315
+ }>, "many">;
316
+ prohibitedPatterns: z.ZodArray<z.ZodObject<{
317
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
318
+ pattern: z.ZodString;
319
+ description: z.ZodString;
320
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ pattern?: string;
323
+ description?: string;
324
+ type?: "regex" | "keyword" | "semantic";
325
+ severity?: "critical" | "low" | "medium" | "high";
326
+ }, {
327
+ pattern?: string;
328
+ description?: string;
329
+ type?: "regex" | "keyword" | "semantic";
330
+ severity?: "critical" | "low" | "medium" | "high";
331
+ }>, "many">;
332
+ allowedExternalEndpoints: z.ZodArray<z.ZodString, "many">;
333
+ blockedExternalEndpoints: z.ZodArray<z.ZodString, "many">;
334
+ }, "strip", z.ZodTypeAny, {
335
+ allowedSchemas?: {
336
+ id?: string;
337
+ description?: string;
338
+ jsonSchema?: Record<string, unknown>;
339
+ }[];
340
+ prohibitedPatterns?: {
341
+ pattern?: string;
342
+ description?: string;
343
+ type?: "regex" | "keyword" | "semantic";
344
+ severity?: "critical" | "low" | "medium" | "high";
345
+ }[];
346
+ allowedExternalEndpoints?: string[];
347
+ blockedExternalEndpoints?: string[];
348
+ }, {
349
+ allowedSchemas?: {
350
+ id?: string;
351
+ description?: string;
352
+ jsonSchema?: Record<string, unknown>;
353
+ }[];
354
+ prohibitedPatterns?: {
355
+ pattern?: string;
356
+ description?: string;
357
+ type?: "regex" | "keyword" | "semantic";
358
+ severity?: "critical" | "low" | "medium" | "high";
359
+ }[];
360
+ allowedExternalEndpoints?: string[];
361
+ blockedExternalEndpoints?: string[];
362
+ }>;
363
+ /**
364
+ * Pattern scan result
365
+ */
366
+ export interface PatternScanResult {
367
+ /** Whether prohibited patterns were detected */
368
+ detected: boolean;
369
+ /** List of detected patterns */
370
+ patterns: Array<{
371
+ type: 'regex' | 'keyword' | 'semantic';
372
+ pattern: string;
373
+ description: string;
374
+ matches: string[];
375
+ severity?: 'low' | 'medium' | 'high' | 'critical';
376
+ }>;
377
+ /** Overall severity */
378
+ severity?: 'low' | 'medium' | 'high' | 'critical';
379
+ }
380
+ export declare const PatternScanResultSchema: z.ZodObject<{
381
+ detected: z.ZodBoolean;
382
+ patterns: z.ZodArray<z.ZodObject<{
383
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
384
+ pattern: z.ZodString;
385
+ description: z.ZodString;
386
+ matches: z.ZodArray<z.ZodString, "many">;
387
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ pattern?: string;
390
+ matches?: string[];
391
+ description?: string;
392
+ type?: "regex" | "keyword" | "semantic";
393
+ severity?: "critical" | "low" | "medium" | "high";
394
+ }, {
395
+ pattern?: string;
396
+ matches?: string[];
397
+ description?: string;
398
+ type?: "regex" | "keyword" | "semantic";
399
+ severity?: "critical" | "low" | "medium" | "high";
400
+ }>, "many">;
401
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ severity?: "critical" | "low" | "medium" | "high";
404
+ detected?: boolean;
405
+ patterns?: {
406
+ pattern?: string;
407
+ matches?: string[];
408
+ description?: string;
409
+ type?: "regex" | "keyword" | "semantic";
410
+ severity?: "critical" | "low" | "medium" | "high";
411
+ }[];
412
+ }, {
413
+ severity?: "critical" | "low" | "medium" | "high";
414
+ detected?: boolean;
415
+ patterns?: {
416
+ pattern?: string;
417
+ matches?: string[];
418
+ description?: string;
419
+ type?: "regex" | "keyword" | "semantic";
420
+ severity?: "critical" | "low" | "medium" | "high";
421
+ }[];
422
+ }>;
423
+ /**
424
+ * Output validation result
425
+ */
426
+ export interface OutputValidationResult {
427
+ /** Whether output is valid */
428
+ valid: boolean;
429
+ /** Whether output was modified */
430
+ modified?: boolean;
431
+ /** Modified output (if applicable) */
432
+ output?: unknown;
433
+ /** Matched schema ID */
434
+ schemaId?: string;
435
+ /** Reason for rejection */
436
+ reason?: string;
437
+ /** Pattern scan results */
438
+ patternScan?: PatternScanResult;
439
+ }
440
+ export declare const OutputValidationResultSchema: z.ZodObject<{
441
+ valid: z.ZodBoolean;
442
+ modified: z.ZodOptional<z.ZodBoolean>;
443
+ output: z.ZodOptional<z.ZodUnknown>;
444
+ schemaId: z.ZodOptional<z.ZodString>;
445
+ reason: z.ZodOptional<z.ZodString>;
446
+ patternScan: z.ZodOptional<z.ZodObject<{
447
+ detected: z.ZodBoolean;
448
+ patterns: z.ZodArray<z.ZodObject<{
449
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
450
+ pattern: z.ZodString;
451
+ description: z.ZodString;
452
+ matches: z.ZodArray<z.ZodString, "many">;
453
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ pattern?: string;
456
+ matches?: string[];
457
+ description?: string;
458
+ type?: "regex" | "keyword" | "semantic";
459
+ severity?: "critical" | "low" | "medium" | "high";
460
+ }, {
461
+ pattern?: string;
462
+ matches?: string[];
463
+ description?: string;
464
+ type?: "regex" | "keyword" | "semantic";
465
+ severity?: "critical" | "low" | "medium" | "high";
466
+ }>, "many">;
467
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
468
+ }, "strip", z.ZodTypeAny, {
469
+ severity?: "critical" | "low" | "medium" | "high";
470
+ detected?: boolean;
471
+ patterns?: {
472
+ pattern?: string;
473
+ matches?: string[];
474
+ description?: string;
475
+ type?: "regex" | "keyword" | "semantic";
476
+ severity?: "critical" | "low" | "medium" | "high";
477
+ }[];
478
+ }, {
479
+ severity?: "critical" | "low" | "medium" | "high";
480
+ detected?: boolean;
481
+ patterns?: {
482
+ pattern?: string;
483
+ matches?: string[];
484
+ description?: string;
485
+ type?: "regex" | "keyword" | "semantic";
486
+ severity?: "critical" | "low" | "medium" | "high";
487
+ }[];
488
+ }>>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ reason?: string;
491
+ valid?: boolean;
492
+ modified?: boolean;
493
+ output?: unknown;
494
+ schemaId?: string;
495
+ patternScan?: {
496
+ severity?: "critical" | "low" | "medium" | "high";
497
+ detected?: boolean;
498
+ patterns?: {
499
+ pattern?: string;
500
+ matches?: string[];
501
+ description?: string;
502
+ type?: "regex" | "keyword" | "semantic";
503
+ severity?: "critical" | "low" | "medium" | "high";
504
+ }[];
505
+ };
506
+ }, {
507
+ reason?: string;
508
+ valid?: boolean;
509
+ modified?: boolean;
510
+ output?: unknown;
511
+ schemaId?: string;
512
+ patternScan?: {
513
+ severity?: "critical" | "low" | "medium" | "high";
514
+ detected?: boolean;
515
+ patterns?: {
516
+ pattern?: string;
517
+ matches?: string[];
518
+ description?: string;
519
+ type?: "regex" | "keyword" | "semantic";
520
+ severity?: "critical" | "low" | "medium" | "high";
521
+ }[];
522
+ };
523
+ }>;
524
+ /**
525
+ * Sanitized output result
526
+ */
527
+ export interface SanitizedOutput {
528
+ /** Sanitized content */
529
+ content: unknown;
530
+ /** Whether content was modified */
531
+ modified: boolean;
532
+ /** List of redactions made */
533
+ redactions: Array<{
534
+ type: string;
535
+ description: string;
536
+ count: number;
537
+ }>;
538
+ }
539
+ export declare const SanitizedOutputSchema: z.ZodObject<{
540
+ content: z.ZodUnknown;
541
+ modified: z.ZodBoolean;
542
+ redactions: z.ZodArray<z.ZodObject<{
543
+ type: z.ZodString;
544
+ description: z.ZodString;
545
+ count: z.ZodNumber;
546
+ }, "strip", z.ZodTypeAny, {
547
+ description?: string;
548
+ type?: string;
549
+ count?: number;
550
+ }, {
551
+ description?: string;
552
+ type?: string;
553
+ count?: number;
554
+ }>, "many">;
555
+ }, "strip", z.ZodTypeAny, {
556
+ content?: unknown;
557
+ modified?: boolean;
558
+ redactions?: {
559
+ description?: string;
560
+ type?: string;
561
+ count?: number;
562
+ }[];
563
+ }, {
564
+ content?: unknown;
565
+ modified?: boolean;
566
+ redactions?: {
567
+ description?: string;
568
+ type?: string;
569
+ count?: number;
570
+ }[];
571
+ }>;
572
+ /**
573
+ * Inference scope levels
574
+ */
575
+ export declare enum InferenceLevel {
576
+ /** No inference; raw data passthrough only */
577
+ NONE = 0,
578
+ /** Aggregates, counts, averages */
579
+ STATISTICAL = 1,
580
+ /** Named entity extraction */
581
+ ENTITY = 2,
582
+ /** Relationship inference */
583
+ RELATIONAL = 3,
584
+ /** Pattern prediction */
585
+ PREDICTIVE = 4,
586
+ /** Full inference capability */
587
+ UNRESTRICTED = 5
588
+ }
589
+ export declare const InferenceLevelSchema: z.ZodNativeEnum<typeof InferenceLevel>;
590
+ /**
591
+ * Inference level names for display
592
+ */
593
+ export declare const INFERENCE_LEVEL_NAMES: Record<InferenceLevel, string>;
594
+ /**
595
+ * Domain-specific inference override
596
+ */
597
+ export interface DomainInferenceOverride {
598
+ /** Domain code */
599
+ domain: DomainCode;
600
+ /** Override level */
601
+ level: InferenceLevel;
602
+ /** Reason for override */
603
+ reason: string;
604
+ }
605
+ export declare const DomainInferenceOverrideSchema: z.ZodObject<{
606
+ domain: z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>;
607
+ level: z.ZodNativeEnum<typeof InferenceLevel>;
608
+ reason: z.ZodString;
609
+ }, "strip", z.ZodTypeAny, {
610
+ level?: InferenceLevel;
611
+ reason?: string;
612
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
613
+ }, {
614
+ level?: InferenceLevel;
615
+ reason?: string;
616
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
617
+ }>;
618
+ /**
619
+ * Derived knowledge handling configuration
620
+ */
621
+ export interface DerivedKnowledgeHandling {
622
+ /** Retention policy */
623
+ retention: 'none' | 'session' | 'persistent';
624
+ /** Allowed recipients (DIDs or identifiers) */
625
+ allowedRecipients: string[];
626
+ /** Whether cross-context sharing is allowed */
627
+ crossContextSharing: boolean;
628
+ }
629
+ export declare const DerivedKnowledgeHandlingSchema: z.ZodObject<{
630
+ retention: z.ZodEnum<["none", "session", "persistent"]>;
631
+ allowedRecipients: z.ZodArray<z.ZodString, "many">;
632
+ crossContextSharing: z.ZodBoolean;
633
+ }, "strip", z.ZodTypeAny, {
634
+ retention?: "session" | "none" | "persistent";
635
+ allowedRecipients?: string[];
636
+ crossContextSharing?: boolean;
637
+ }, {
638
+ retention?: "session" | "none" | "persistent";
639
+ allowedRecipients?: string[];
640
+ crossContextSharing?: boolean;
641
+ }>;
642
+ /**
643
+ * PII inference configuration
644
+ */
645
+ export interface PIIInferenceConfig {
646
+ /** Whether PII inference is allowed */
647
+ allowed: boolean;
648
+ /** How to handle PII if not allowed */
649
+ handling: 'block' | 'redact' | 'hash';
650
+ }
651
+ export declare const PIIInferenceConfigSchema: z.ZodObject<{
652
+ allowed: z.ZodBoolean;
653
+ handling: z.ZodEnum<["block", "redact", "hash"]>;
654
+ }, "strip", z.ZodTypeAny, {
655
+ allowed?: boolean;
656
+ handling?: "block" | "hash" | "redact";
657
+ }, {
658
+ allowed?: boolean;
659
+ handling?: "block" | "hash" | "redact";
660
+ }>;
661
+ /**
662
+ * Inference scope configuration
663
+ * Controls what can be derived from accessed data
664
+ */
665
+ export interface InferenceScope {
666
+ /** Global inference level limit */
667
+ globalLevel: InferenceLevel;
668
+ /** Domain-specific overrides */
669
+ domainOverrides: DomainInferenceOverride[];
670
+ /** How to handle derived knowledge */
671
+ derivedKnowledgeHandling: DerivedKnowledgeHandling;
672
+ /** PII inference controls */
673
+ piiInference: PIIInferenceConfig;
674
+ }
675
+ export declare const InferenceScopeSchema: z.ZodObject<{
676
+ globalLevel: z.ZodNativeEnum<typeof InferenceLevel>;
677
+ domainOverrides: z.ZodArray<z.ZodObject<{
678
+ domain: z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>;
679
+ level: z.ZodNativeEnum<typeof InferenceLevel>;
680
+ reason: z.ZodString;
681
+ }, "strip", z.ZodTypeAny, {
682
+ level?: InferenceLevel;
683
+ reason?: string;
684
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
685
+ }, {
686
+ level?: InferenceLevel;
687
+ reason?: string;
688
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
689
+ }>, "many">;
690
+ derivedKnowledgeHandling: z.ZodObject<{
691
+ retention: z.ZodEnum<["none", "session", "persistent"]>;
692
+ allowedRecipients: z.ZodArray<z.ZodString, "many">;
693
+ crossContextSharing: z.ZodBoolean;
694
+ }, "strip", z.ZodTypeAny, {
695
+ retention?: "session" | "none" | "persistent";
696
+ allowedRecipients?: string[];
697
+ crossContextSharing?: boolean;
698
+ }, {
699
+ retention?: "session" | "none" | "persistent";
700
+ allowedRecipients?: string[];
701
+ crossContextSharing?: boolean;
702
+ }>;
703
+ piiInference: z.ZodObject<{
704
+ allowed: z.ZodBoolean;
705
+ handling: z.ZodEnum<["block", "redact", "hash"]>;
706
+ }, "strip", z.ZodTypeAny, {
707
+ allowed?: boolean;
708
+ handling?: "block" | "hash" | "redact";
709
+ }, {
710
+ allowed?: boolean;
711
+ handling?: "block" | "hash" | "redact";
712
+ }>;
713
+ }, "strip", z.ZodTypeAny, {
714
+ globalLevel?: InferenceLevel;
715
+ domainOverrides?: {
716
+ level?: InferenceLevel;
717
+ reason?: string;
718
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
719
+ }[];
720
+ derivedKnowledgeHandling?: {
721
+ retention?: "session" | "none" | "persistent";
722
+ allowedRecipients?: string[];
723
+ crossContextSharing?: boolean;
724
+ };
725
+ piiInference?: {
726
+ allowed?: boolean;
727
+ handling?: "block" | "hash" | "redact";
728
+ };
729
+ }, {
730
+ globalLevel?: InferenceLevel;
731
+ domainOverrides?: {
732
+ level?: InferenceLevel;
733
+ reason?: string;
734
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
735
+ }[];
736
+ derivedKnowledgeHandling?: {
737
+ retention?: "session" | "none" | "persistent";
738
+ allowedRecipients?: string[];
739
+ crossContextSharing?: boolean;
740
+ };
741
+ piiInference?: {
742
+ allowed?: boolean;
743
+ handling?: "block" | "hash" | "redact";
744
+ };
745
+ }>;
746
+ /**
747
+ * Inference operation types
748
+ */
749
+ export type InferenceOperationType = 'aggregate' | 'count' | 'average' | 'entity-extraction' | 'relationship-inference' | 'pattern-prediction' | 'sentiment-analysis' | 'classification' | 'summarization' | 'custom';
750
+ export declare const InferenceOperationTypeSchema: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
751
+ /**
752
+ * Inference operation definition
753
+ */
754
+ export interface InferenceOperation {
755
+ /** Operation type */
756
+ type: InferenceOperationType;
757
+ /** Source domains */
758
+ sourceDomains: DomainCode[];
759
+ /** Description of the inference */
760
+ description?: string;
761
+ /** Custom inference level requirement (for custom operations) */
762
+ customLevel?: InferenceLevel;
763
+ }
764
+ export declare const InferenceOperationSchema: z.ZodObject<{
765
+ type: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
766
+ sourceDomains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
767
+ description: z.ZodOptional<z.ZodString>;
768
+ customLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ description?: string;
771
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
772
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
773
+ customLevel?: InferenceLevel;
774
+ }, {
775
+ description?: string;
776
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
777
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
778
+ customLevel?: InferenceLevel;
779
+ }>;
780
+ /**
781
+ * Derived knowledge representation
782
+ */
783
+ export interface DerivedKnowledge {
784
+ /** Unique identifier */
785
+ id: string;
786
+ /** Type of knowledge */
787
+ type: InferenceOperationType;
788
+ /** Source data identifiers */
789
+ sourceIds: string[];
790
+ /** Source domains */
791
+ sourceDomains: DomainCode[];
792
+ /** The derived content */
793
+ content: unknown;
794
+ /** Creation timestamp */
795
+ createdAt: Date;
796
+ /** Inference level used */
797
+ inferenceLevel: InferenceLevel;
798
+ }
799
+ export declare const DerivedKnowledgeSchema: z.ZodObject<{
800
+ id: z.ZodString;
801
+ type: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
802
+ sourceIds: z.ZodArray<z.ZodString, "many">;
803
+ sourceDomains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
804
+ content: z.ZodUnknown;
805
+ createdAt: z.ZodDate;
806
+ inferenceLevel: z.ZodNativeEnum<typeof InferenceLevel>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ id?: string;
809
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
810
+ createdAt?: Date;
811
+ content?: unknown;
812
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
813
+ sourceIds?: string[];
814
+ inferenceLevel?: InferenceLevel;
815
+ }, {
816
+ id?: string;
817
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
818
+ createdAt?: Date;
819
+ content?: unknown;
820
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
821
+ sourceIds?: string[];
822
+ inferenceLevel?: InferenceLevel;
823
+ }>;
824
+ /**
825
+ * Inference validation result
826
+ */
827
+ export interface InferenceValidationResult {
828
+ /** Whether inference is valid */
829
+ valid: boolean;
830
+ /** Reason for rejection */
831
+ reason?: string;
832
+ /** Required level */
833
+ requiredLevel?: InferenceLevel;
834
+ /** Agent's effective level */
835
+ agentLevel?: InferenceLevel;
836
+ /** Domain that caused restriction */
837
+ restrictedDomain?: DomainCode;
838
+ }
839
+ export declare const InferenceValidationResultSchema: z.ZodObject<{
840
+ valid: z.ZodBoolean;
841
+ reason: z.ZodOptional<z.ZodString>;
842
+ requiredLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
843
+ agentLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
844
+ restrictedDomain: z.ZodOptional<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>>;
845
+ }, "strip", z.ZodTypeAny, {
846
+ reason?: string;
847
+ valid?: boolean;
848
+ requiredLevel?: InferenceLevel;
849
+ agentLevel?: InferenceLevel;
850
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
851
+ }, {
852
+ reason?: string;
853
+ valid?: boolean;
854
+ requiredLevel?: InferenceLevel;
855
+ agentLevel?: InferenceLevel;
856
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
857
+ }>;
858
+ /**
859
+ * Handling result for derived knowledge
860
+ */
861
+ export interface HandlingResult {
862
+ /** Action taken */
863
+ action: 'stored' | 'discarded' | 'shared' | 'redacted';
864
+ /** Reason for action */
865
+ reason: string;
866
+ /** Modified knowledge (if redacted) */
867
+ modifiedKnowledge?: DerivedKnowledge;
868
+ }
869
+ export declare const HandlingResultSchema: z.ZodObject<{
870
+ action: z.ZodEnum<["stored", "discarded", "shared", "redacted"]>;
871
+ reason: z.ZodString;
872
+ modifiedKnowledge: z.ZodOptional<z.ZodObject<{
873
+ id: z.ZodString;
874
+ type: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
875
+ sourceIds: z.ZodArray<z.ZodString, "many">;
876
+ sourceDomains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
877
+ content: z.ZodUnknown;
878
+ createdAt: z.ZodDate;
879
+ inferenceLevel: z.ZodNativeEnum<typeof InferenceLevel>;
880
+ }, "strip", z.ZodTypeAny, {
881
+ id?: string;
882
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
883
+ createdAt?: Date;
884
+ content?: unknown;
885
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
886
+ sourceIds?: string[];
887
+ inferenceLevel?: InferenceLevel;
888
+ }, {
889
+ id?: string;
890
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
891
+ createdAt?: Date;
892
+ content?: unknown;
893
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
894
+ sourceIds?: string[];
895
+ inferenceLevel?: InferenceLevel;
896
+ }>>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ action?: "stored" | "discarded" | "shared" | "redacted";
899
+ reason?: string;
900
+ modifiedKnowledge?: {
901
+ id?: string;
902
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
903
+ createdAt?: Date;
904
+ content?: unknown;
905
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
906
+ sourceIds?: string[];
907
+ inferenceLevel?: InferenceLevel;
908
+ };
909
+ }, {
910
+ action?: "stored" | "discarded" | "shared" | "redacted";
911
+ reason?: string;
912
+ modifiedKnowledge?: {
913
+ id?: string;
914
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
915
+ createdAt?: Date;
916
+ content?: unknown;
917
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
918
+ sourceIds?: string[];
919
+ inferenceLevel?: InferenceLevel;
920
+ };
921
+ }>;
922
+ /**
923
+ * PII check result
924
+ */
925
+ export interface PIICheckResult {
926
+ /** Whether PII was detected */
927
+ containsPII: boolean;
928
+ /** Types of PII detected */
929
+ piiTypes: string[];
930
+ /** Action taken */
931
+ action: 'allowed' | 'blocked' | 'redacted' | 'hashed';
932
+ /** Modified data (if redacted or hashed) */
933
+ modifiedData?: unknown;
934
+ }
935
+ export declare const PIICheckResultSchema: z.ZodObject<{
936
+ containsPII: z.ZodBoolean;
937
+ piiTypes: z.ZodArray<z.ZodString, "many">;
938
+ action: z.ZodEnum<["allowed", "blocked", "redacted", "hashed"]>;
939
+ modifiedData: z.ZodOptional<z.ZodUnknown>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
942
+ containsPII?: boolean;
943
+ piiTypes?: string[];
944
+ modifiedData?: unknown;
945
+ }, {
946
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
947
+ containsPII?: boolean;
948
+ piiTypes?: string[];
949
+ modifiedData?: unknown;
950
+ }>;
951
+ /**
952
+ * Content integrity requirements
953
+ */
954
+ export interface ContentIntegrity {
955
+ /** Whether signature is required */
956
+ signatureRequired: boolean;
957
+ /** Maximum age in seconds */
958
+ maxAge: number;
959
+ /** Allowed content formats */
960
+ allowedFormats: string[];
961
+ }
962
+ export declare const ContentIntegritySchema: z.ZodObject<{
963
+ signatureRequired: z.ZodBoolean;
964
+ maxAge: z.ZodNumber;
965
+ allowedFormats: z.ZodArray<z.ZodString, "many">;
966
+ }, "strip", z.ZodTypeAny, {
967
+ signatureRequired?: boolean;
968
+ maxAge?: number;
969
+ allowedFormats?: string[];
970
+ }, {
971
+ signatureRequired?: boolean;
972
+ maxAge?: number;
973
+ allowedFormats?: string[];
974
+ }>;
975
+ /**
976
+ * Context provider authentication requirements
977
+ */
978
+ export interface ContextAuthenticationRequirements {
979
+ /** Whether authentication is required */
980
+ required: boolean;
981
+ /** Minimum trust tier for providers */
982
+ minTrustTier: TrustTier;
983
+ /** Required domains for providers */
984
+ requiredDomains?: DomainCode[];
985
+ /** Allowed provider DIDs */
986
+ allowedProviders: string[];
987
+ /** Blocked provider DIDs */
988
+ blockedProviders: string[];
989
+ /** Content integrity requirements */
990
+ contentIntegrity: ContentIntegrity;
991
+ }
992
+ export declare const ContextAuthenticationRequirementsSchema: z.ZodObject<{
993
+ required: z.ZodBoolean;
994
+ minTrustTier: z.ZodNativeEnum<typeof TrustTier>;
995
+ requiredDomains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">>;
996
+ allowedProviders: z.ZodArray<z.ZodString, "many">;
997
+ blockedProviders: z.ZodArray<z.ZodString, "many">;
998
+ contentIntegrity: z.ZodObject<{
999
+ signatureRequired: z.ZodBoolean;
1000
+ maxAge: z.ZodNumber;
1001
+ allowedFormats: z.ZodArray<z.ZodString, "many">;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ signatureRequired?: boolean;
1004
+ maxAge?: number;
1005
+ allowedFormats?: string[];
1006
+ }, {
1007
+ signatureRequired?: boolean;
1008
+ maxAge?: number;
1009
+ allowedFormats?: string[];
1010
+ }>;
1011
+ }, "strip", z.ZodTypeAny, {
1012
+ required?: boolean;
1013
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1014
+ minTrustTier?: TrustTier;
1015
+ allowedProviders?: string[];
1016
+ blockedProviders?: string[];
1017
+ contentIntegrity?: {
1018
+ signatureRequired?: boolean;
1019
+ maxAge?: number;
1020
+ allowedFormats?: string[];
1021
+ };
1022
+ }, {
1023
+ required?: boolean;
1024
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1025
+ minTrustTier?: TrustTier;
1026
+ allowedProviders?: string[];
1027
+ blockedProviders?: string[];
1028
+ contentIntegrity?: {
1029
+ signatureRequired?: boolean;
1030
+ maxAge?: number;
1031
+ allowedFormats?: string[];
1032
+ };
1033
+ }>;
1034
+ /**
1035
+ * Trust profile for context providers
1036
+ */
1037
+ export interface TrustProfile {
1038
+ /** Provider DID */
1039
+ did: string;
1040
+ /** Trust tier */
1041
+ trustTier: TrustTier;
1042
+ /** Capability domains */
1043
+ domains: DomainCode[];
1044
+ /** Trust score (0-1000) */
1045
+ trustScore: number;
1046
+ /** Attestations */
1047
+ attestations?: string[];
1048
+ }
1049
+ export declare const TrustProfileSchema: z.ZodObject<{
1050
+ did: z.ZodString;
1051
+ trustTier: z.ZodNativeEnum<typeof TrustTier>;
1052
+ domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
1053
+ trustScore: z.ZodNumber;
1054
+ attestations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ trustScore?: number;
1057
+ trustTier?: TrustTier;
1058
+ did?: string;
1059
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1060
+ attestations?: string[];
1061
+ }, {
1062
+ trustScore?: number;
1063
+ trustTier?: TrustTier;
1064
+ did?: string;
1065
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1066
+ attestations?: string[];
1067
+ }>;
1068
+ /**
1069
+ * Provider validation result
1070
+ */
1071
+ export interface ProviderValidationResult {
1072
+ /** Whether provider is valid */
1073
+ valid: boolean;
1074
+ /** Provider DID */
1075
+ providerId: string;
1076
+ /** Trust tier */
1077
+ trustTier?: TrustTier;
1078
+ /** Reason for rejection */
1079
+ reason?: string;
1080
+ /** Whether provider is on blocklist */
1081
+ blocked?: boolean;
1082
+ }
1083
+ export declare const ProviderValidationResultSchema: z.ZodObject<{
1084
+ valid: z.ZodBoolean;
1085
+ providerId: z.ZodString;
1086
+ trustTier: z.ZodOptional<z.ZodNativeEnum<typeof TrustTier>>;
1087
+ reason: z.ZodOptional<z.ZodString>;
1088
+ blocked: z.ZodOptional<z.ZodBoolean>;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ reason?: string;
1091
+ valid?: boolean;
1092
+ blocked?: boolean;
1093
+ trustTier?: TrustTier;
1094
+ providerId?: string;
1095
+ }, {
1096
+ reason?: string;
1097
+ valid?: boolean;
1098
+ blocked?: boolean;
1099
+ trustTier?: TrustTier;
1100
+ providerId?: string;
1101
+ }>;
1102
+ /**
1103
+ * Content validation result
1104
+ */
1105
+ export interface ContentValidationResult {
1106
+ /** Whether content is valid */
1107
+ valid: boolean;
1108
+ /** Signature verification status */
1109
+ signatureValid?: boolean;
1110
+ /** Content age in seconds */
1111
+ ageSeconds?: number;
1112
+ /** Content format */
1113
+ format?: string;
1114
+ /** Reason for rejection */
1115
+ reason?: string;
1116
+ }
1117
+ export declare const ContentValidationResultSchema: z.ZodObject<{
1118
+ valid: z.ZodBoolean;
1119
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
1120
+ ageSeconds: z.ZodOptional<z.ZodNumber>;
1121
+ format: z.ZodOptional<z.ZodString>;
1122
+ reason: z.ZodOptional<z.ZodString>;
1123
+ }, "strip", z.ZodTypeAny, {
1124
+ reason?: string;
1125
+ valid?: boolean;
1126
+ signatureValid?: boolean;
1127
+ ageSeconds?: number;
1128
+ format?: string;
1129
+ }, {
1130
+ reason?: string;
1131
+ valid?: boolean;
1132
+ signatureValid?: boolean;
1133
+ ageSeconds?: number;
1134
+ format?: string;
1135
+ }>;
1136
+ /**
1137
+ * Injection scan result
1138
+ */
1139
+ export interface InjectionScanResult {
1140
+ /** Whether injection patterns were detected */
1141
+ detected: boolean;
1142
+ /** Detected patterns */
1143
+ patterns: string[];
1144
+ /** Severity level */
1145
+ severity?: 'low' | 'medium' | 'high' | 'critical';
1146
+ /** Matched pattern descriptions */
1147
+ descriptions?: string[];
1148
+ }
1149
+ export declare const InjectionScanResultSchema: z.ZodObject<{
1150
+ detected: z.ZodBoolean;
1151
+ patterns: z.ZodArray<z.ZodString, "many">;
1152
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
1153
+ descriptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ severity?: "critical" | "low" | "medium" | "high";
1156
+ detected?: boolean;
1157
+ patterns?: string[];
1158
+ descriptions?: string[];
1159
+ }, {
1160
+ severity?: "critical" | "low" | "medium" | "high";
1161
+ detected?: boolean;
1162
+ patterns?: string[];
1163
+ descriptions?: string[];
1164
+ }>;
1165
+ /**
1166
+ * Context validation result
1167
+ */
1168
+ export interface ContextValidationResult {
1169
+ /** Whether context is valid */
1170
+ valid: boolean;
1171
+ /** Reason for rejection */
1172
+ reason?: string;
1173
+ /** Provider validation result */
1174
+ providerValidation?: ProviderValidationResult;
1175
+ /** Content validation result */
1176
+ contentValidation?: ContentValidationResult;
1177
+ /** Injection scan results */
1178
+ injectionScan?: InjectionScanResult;
1179
+ }
1180
+ export declare const ContextValidationResultSchema: z.ZodObject<{
1181
+ valid: z.ZodBoolean;
1182
+ reason: z.ZodOptional<z.ZodString>;
1183
+ providerValidation: z.ZodOptional<z.ZodObject<{
1184
+ valid: z.ZodBoolean;
1185
+ providerId: z.ZodString;
1186
+ trustTier: z.ZodOptional<z.ZodNativeEnum<typeof TrustTier>>;
1187
+ reason: z.ZodOptional<z.ZodString>;
1188
+ blocked: z.ZodOptional<z.ZodBoolean>;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ reason?: string;
1191
+ valid?: boolean;
1192
+ blocked?: boolean;
1193
+ trustTier?: TrustTier;
1194
+ providerId?: string;
1195
+ }, {
1196
+ reason?: string;
1197
+ valid?: boolean;
1198
+ blocked?: boolean;
1199
+ trustTier?: TrustTier;
1200
+ providerId?: string;
1201
+ }>>;
1202
+ contentValidation: z.ZodOptional<z.ZodObject<{
1203
+ valid: z.ZodBoolean;
1204
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
1205
+ ageSeconds: z.ZodOptional<z.ZodNumber>;
1206
+ format: z.ZodOptional<z.ZodString>;
1207
+ reason: z.ZodOptional<z.ZodString>;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ reason?: string;
1210
+ valid?: boolean;
1211
+ signatureValid?: boolean;
1212
+ ageSeconds?: number;
1213
+ format?: string;
1214
+ }, {
1215
+ reason?: string;
1216
+ valid?: boolean;
1217
+ signatureValid?: boolean;
1218
+ ageSeconds?: number;
1219
+ format?: string;
1220
+ }>>;
1221
+ injectionScan: z.ZodOptional<z.ZodObject<{
1222
+ detected: z.ZodBoolean;
1223
+ patterns: z.ZodArray<z.ZodString, "many">;
1224
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
1225
+ descriptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ severity?: "critical" | "low" | "medium" | "high";
1228
+ detected?: boolean;
1229
+ patterns?: string[];
1230
+ descriptions?: string[];
1231
+ }, {
1232
+ severity?: "critical" | "low" | "medium" | "high";
1233
+ detected?: boolean;
1234
+ patterns?: string[];
1235
+ descriptions?: string[];
1236
+ }>>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ reason?: string;
1239
+ valid?: boolean;
1240
+ providerValidation?: {
1241
+ reason?: string;
1242
+ valid?: boolean;
1243
+ blocked?: boolean;
1244
+ trustTier?: TrustTier;
1245
+ providerId?: string;
1246
+ };
1247
+ contentValidation?: {
1248
+ reason?: string;
1249
+ valid?: boolean;
1250
+ signatureValid?: boolean;
1251
+ ageSeconds?: number;
1252
+ format?: string;
1253
+ };
1254
+ injectionScan?: {
1255
+ severity?: "critical" | "low" | "medium" | "high";
1256
+ detected?: boolean;
1257
+ patterns?: string[];
1258
+ descriptions?: string[];
1259
+ };
1260
+ }, {
1261
+ reason?: string;
1262
+ valid?: boolean;
1263
+ providerValidation?: {
1264
+ reason?: string;
1265
+ valid?: boolean;
1266
+ blocked?: boolean;
1267
+ trustTier?: TrustTier;
1268
+ providerId?: string;
1269
+ };
1270
+ contentValidation?: {
1271
+ reason?: string;
1272
+ valid?: boolean;
1273
+ signatureValid?: boolean;
1274
+ ageSeconds?: number;
1275
+ format?: string;
1276
+ };
1277
+ injectionScan?: {
1278
+ severity?: "critical" | "low" | "medium" | "high";
1279
+ detected?: boolean;
1280
+ patterns?: string[];
1281
+ descriptions?: string[];
1282
+ };
1283
+ }>;
1284
+ /**
1285
+ * Message channel classification
1286
+ */
1287
+ export type MessageChannel = 'control' | 'data';
1288
+ export declare const MessageChannelSchema: z.ZodEnum<["control", "data"]>;
1289
+ /**
1290
+ * Dual-channel authorization configuration
1291
+ */
1292
+ export interface DualChannelConfig {
1293
+ /** Whether dual-channel is enforced */
1294
+ enforced: boolean;
1295
+ /** Control plane sources */
1296
+ controlPlaneSources: string[];
1297
+ /** How to treat data plane content */
1298
+ dataPlaneTreatment: 'block' | 'sanitize' | 'warn';
1299
+ }
1300
+ export declare const DualChannelConfigSchema: z.ZodObject<{
1301
+ enforced: z.ZodBoolean;
1302
+ controlPlaneSources: z.ZodArray<z.ZodString, "many">;
1303
+ dataPlaneTreatment: z.ZodEnum<["block", "sanitize", "warn"]>;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ enforced?: boolean;
1306
+ controlPlaneSources?: string[];
1307
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
1308
+ }, {
1309
+ enforced?: boolean;
1310
+ controlPlaneSources?: string[];
1311
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
1312
+ }>;
1313
+ /**
1314
+ * Message classification result
1315
+ */
1316
+ export interface MessageClassification {
1317
+ /** Detected channel */
1318
+ channel: MessageChannel;
1319
+ /** Message source */
1320
+ source: string;
1321
+ /** Whether source is authenticated */
1322
+ authenticated: boolean;
1323
+ /** Whether instructions are allowed from this channel */
1324
+ instructionAllowed: boolean;
1325
+ /** Confidence in classification (0-1) */
1326
+ confidence?: number;
1327
+ }
1328
+ export declare const MessageClassificationSchema: z.ZodObject<{
1329
+ channel: z.ZodEnum<["control", "data"]>;
1330
+ source: z.ZodString;
1331
+ authenticated: z.ZodBoolean;
1332
+ instructionAllowed: z.ZodBoolean;
1333
+ confidence: z.ZodOptional<z.ZodNumber>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ source?: string;
1336
+ confidence?: number;
1337
+ channel?: "data" | "control";
1338
+ authenticated?: boolean;
1339
+ instructionAllowed?: boolean;
1340
+ }, {
1341
+ source?: string;
1342
+ confidence?: number;
1343
+ channel?: "data" | "control";
1344
+ authenticated?: boolean;
1345
+ instructionAllowed?: boolean;
1346
+ }>;
1347
+ /**
1348
+ * Channel enforcement result
1349
+ */
1350
+ export interface EnforcementResult {
1351
+ /** Whether message is allowed to proceed */
1352
+ allowed: boolean;
1353
+ /** Action taken */
1354
+ action: 'pass' | 'block' | 'sanitize' | 'warn';
1355
+ /** Reason for action */
1356
+ reason?: string;
1357
+ /** Sanitized content (if applicable) */
1358
+ sanitizedContent?: string;
1359
+ /** Stripped instructions (for audit) */
1360
+ strippedInstructions?: string[];
1361
+ }
1362
+ export declare const EnforcementResultSchema: z.ZodObject<{
1363
+ allowed: z.ZodBoolean;
1364
+ action: z.ZodEnum<["pass", "block", "sanitize", "warn"]>;
1365
+ reason: z.ZodOptional<z.ZodString>;
1366
+ sanitizedContent: z.ZodOptional<z.ZodString>;
1367
+ strippedInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ action?: "warn" | "block" | "sanitize" | "pass";
1370
+ reason?: string;
1371
+ allowed?: boolean;
1372
+ sanitizedContent?: string;
1373
+ strippedInstructions?: string[];
1374
+ }, {
1375
+ action?: "warn" | "block" | "sanitize" | "pass";
1376
+ reason?: string;
1377
+ allowed?: boolean;
1378
+ sanitizedContent?: string;
1379
+ strippedInstructions?: string[];
1380
+ }>;
1381
+ /**
1382
+ * Complete semantic governance credential
1383
+ * Combines all semantic governance controls into a single verifiable credential
1384
+ */
1385
+ export interface SemanticGovernanceCredential {
1386
+ /** Credential ID (typically the agent DID) */
1387
+ id: string;
1388
+ /** Full CAR ID string */
1389
+ carId: string;
1390
+ /** Instruction integrity rules */
1391
+ instructionIntegrity: InstructionIntegrity;
1392
+ /** Output binding rules */
1393
+ outputBinding: OutputBinding;
1394
+ /** Inference scope rules */
1395
+ inferenceScope: InferenceScope;
1396
+ /** Context authentication rules */
1397
+ contextAuthentication: ContextAuthenticationRequirements;
1398
+ /** Dual-channel configuration */
1399
+ dualChannel: DualChannelConfig;
1400
+ /** Credential metadata */
1401
+ metadata?: {
1402
+ /** Issuer DID */
1403
+ issuer?: string;
1404
+ /** Issuance date */
1405
+ issuedAt?: Date;
1406
+ /** Expiration date */
1407
+ expiresAt?: Date;
1408
+ /** Credential version */
1409
+ version?: string;
1410
+ };
1411
+ }
1412
+ export declare const SemanticGovernanceCredentialSchema: z.ZodObject<{
1413
+ id: z.ZodString;
1414
+ carId: z.ZodString;
1415
+ instructionIntegrity: z.ZodObject<{
1416
+ allowedInstructionHashes: z.ZodArray<z.ZodString, "many">;
1417
+ instructionTemplates: z.ZodArray<z.ZodObject<{
1418
+ id: z.ZodString;
1419
+ hash: z.ZodString;
1420
+ description: z.ZodString;
1421
+ parameterSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1422
+ }, "strip", z.ZodTypeAny, {
1423
+ id?: string;
1424
+ description?: string;
1425
+ hash?: string;
1426
+ parameterSchema?: Record<string, unknown>;
1427
+ }, {
1428
+ id?: string;
1429
+ description?: string;
1430
+ hash?: string;
1431
+ parameterSchema?: Record<string, unknown>;
1432
+ }>, "many">;
1433
+ instructionSource: z.ZodObject<{
1434
+ allowedSources: z.ZodArray<z.ZodString, "many">;
1435
+ requireSignature: z.ZodBoolean;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ allowedSources?: string[];
1438
+ requireSignature?: boolean;
1439
+ }, {
1440
+ allowedSources?: string[];
1441
+ requireSignature?: boolean;
1442
+ }>;
1443
+ }, "strip", z.ZodTypeAny, {
1444
+ allowedInstructionHashes?: string[];
1445
+ instructionTemplates?: {
1446
+ id?: string;
1447
+ description?: string;
1448
+ hash?: string;
1449
+ parameterSchema?: Record<string, unknown>;
1450
+ }[];
1451
+ instructionSource?: {
1452
+ allowedSources?: string[];
1453
+ requireSignature?: boolean;
1454
+ };
1455
+ }, {
1456
+ allowedInstructionHashes?: string[];
1457
+ instructionTemplates?: {
1458
+ id?: string;
1459
+ description?: string;
1460
+ hash?: string;
1461
+ parameterSchema?: Record<string, unknown>;
1462
+ }[];
1463
+ instructionSource?: {
1464
+ allowedSources?: string[];
1465
+ requireSignature?: boolean;
1466
+ };
1467
+ }>;
1468
+ outputBinding: z.ZodObject<{
1469
+ allowedSchemas: z.ZodArray<z.ZodObject<{
1470
+ id: z.ZodString;
1471
+ description: z.ZodString;
1472
+ jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1473
+ }, "strip", z.ZodTypeAny, {
1474
+ id?: string;
1475
+ description?: string;
1476
+ jsonSchema?: Record<string, unknown>;
1477
+ }, {
1478
+ id?: string;
1479
+ description?: string;
1480
+ jsonSchema?: Record<string, unknown>;
1481
+ }>, "many">;
1482
+ prohibitedPatterns: z.ZodArray<z.ZodObject<{
1483
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
1484
+ pattern: z.ZodString;
1485
+ description: z.ZodString;
1486
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
1487
+ }, "strip", z.ZodTypeAny, {
1488
+ pattern?: string;
1489
+ description?: string;
1490
+ type?: "regex" | "keyword" | "semantic";
1491
+ severity?: "critical" | "low" | "medium" | "high";
1492
+ }, {
1493
+ pattern?: string;
1494
+ description?: string;
1495
+ type?: "regex" | "keyword" | "semantic";
1496
+ severity?: "critical" | "low" | "medium" | "high";
1497
+ }>, "many">;
1498
+ allowedExternalEndpoints: z.ZodArray<z.ZodString, "many">;
1499
+ blockedExternalEndpoints: z.ZodArray<z.ZodString, "many">;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ allowedSchemas?: {
1502
+ id?: string;
1503
+ description?: string;
1504
+ jsonSchema?: Record<string, unknown>;
1505
+ }[];
1506
+ prohibitedPatterns?: {
1507
+ pattern?: string;
1508
+ description?: string;
1509
+ type?: "regex" | "keyword" | "semantic";
1510
+ severity?: "critical" | "low" | "medium" | "high";
1511
+ }[];
1512
+ allowedExternalEndpoints?: string[];
1513
+ blockedExternalEndpoints?: string[];
1514
+ }, {
1515
+ allowedSchemas?: {
1516
+ id?: string;
1517
+ description?: string;
1518
+ jsonSchema?: Record<string, unknown>;
1519
+ }[];
1520
+ prohibitedPatterns?: {
1521
+ pattern?: string;
1522
+ description?: string;
1523
+ type?: "regex" | "keyword" | "semantic";
1524
+ severity?: "critical" | "low" | "medium" | "high";
1525
+ }[];
1526
+ allowedExternalEndpoints?: string[];
1527
+ blockedExternalEndpoints?: string[];
1528
+ }>;
1529
+ inferenceScope: z.ZodObject<{
1530
+ globalLevel: z.ZodNativeEnum<typeof InferenceLevel>;
1531
+ domainOverrides: z.ZodArray<z.ZodObject<{
1532
+ domain: z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>;
1533
+ level: z.ZodNativeEnum<typeof InferenceLevel>;
1534
+ reason: z.ZodString;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ level?: InferenceLevel;
1537
+ reason?: string;
1538
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
1539
+ }, {
1540
+ level?: InferenceLevel;
1541
+ reason?: string;
1542
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
1543
+ }>, "many">;
1544
+ derivedKnowledgeHandling: z.ZodObject<{
1545
+ retention: z.ZodEnum<["none", "session", "persistent"]>;
1546
+ allowedRecipients: z.ZodArray<z.ZodString, "many">;
1547
+ crossContextSharing: z.ZodBoolean;
1548
+ }, "strip", z.ZodTypeAny, {
1549
+ retention?: "session" | "none" | "persistent";
1550
+ allowedRecipients?: string[];
1551
+ crossContextSharing?: boolean;
1552
+ }, {
1553
+ retention?: "session" | "none" | "persistent";
1554
+ allowedRecipients?: string[];
1555
+ crossContextSharing?: boolean;
1556
+ }>;
1557
+ piiInference: z.ZodObject<{
1558
+ allowed: z.ZodBoolean;
1559
+ handling: z.ZodEnum<["block", "redact", "hash"]>;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ allowed?: boolean;
1562
+ handling?: "block" | "hash" | "redact";
1563
+ }, {
1564
+ allowed?: boolean;
1565
+ handling?: "block" | "hash" | "redact";
1566
+ }>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ globalLevel?: InferenceLevel;
1569
+ domainOverrides?: {
1570
+ level?: InferenceLevel;
1571
+ reason?: string;
1572
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
1573
+ }[];
1574
+ derivedKnowledgeHandling?: {
1575
+ retention?: "session" | "none" | "persistent";
1576
+ allowedRecipients?: string[];
1577
+ crossContextSharing?: boolean;
1578
+ };
1579
+ piiInference?: {
1580
+ allowed?: boolean;
1581
+ handling?: "block" | "hash" | "redact";
1582
+ };
1583
+ }, {
1584
+ globalLevel?: InferenceLevel;
1585
+ domainOverrides?: {
1586
+ level?: InferenceLevel;
1587
+ reason?: string;
1588
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
1589
+ }[];
1590
+ derivedKnowledgeHandling?: {
1591
+ retention?: "session" | "none" | "persistent";
1592
+ allowedRecipients?: string[];
1593
+ crossContextSharing?: boolean;
1594
+ };
1595
+ piiInference?: {
1596
+ allowed?: boolean;
1597
+ handling?: "block" | "hash" | "redact";
1598
+ };
1599
+ }>;
1600
+ contextAuthentication: z.ZodObject<{
1601
+ required: z.ZodBoolean;
1602
+ minTrustTier: z.ZodNativeEnum<typeof TrustTier>;
1603
+ requiredDomains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">>;
1604
+ allowedProviders: z.ZodArray<z.ZodString, "many">;
1605
+ blockedProviders: z.ZodArray<z.ZodString, "many">;
1606
+ contentIntegrity: z.ZodObject<{
1607
+ signatureRequired: z.ZodBoolean;
1608
+ maxAge: z.ZodNumber;
1609
+ allowedFormats: z.ZodArray<z.ZodString, "many">;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ signatureRequired?: boolean;
1612
+ maxAge?: number;
1613
+ allowedFormats?: string[];
1614
+ }, {
1615
+ signatureRequired?: boolean;
1616
+ maxAge?: number;
1617
+ allowedFormats?: string[];
1618
+ }>;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ required?: boolean;
1621
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1622
+ minTrustTier?: TrustTier;
1623
+ allowedProviders?: string[];
1624
+ blockedProviders?: string[];
1625
+ contentIntegrity?: {
1626
+ signatureRequired?: boolean;
1627
+ maxAge?: number;
1628
+ allowedFormats?: string[];
1629
+ };
1630
+ }, {
1631
+ required?: boolean;
1632
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1633
+ minTrustTier?: TrustTier;
1634
+ allowedProviders?: string[];
1635
+ blockedProviders?: string[];
1636
+ contentIntegrity?: {
1637
+ signatureRequired?: boolean;
1638
+ maxAge?: number;
1639
+ allowedFormats?: string[];
1640
+ };
1641
+ }>;
1642
+ dualChannel: z.ZodObject<{
1643
+ enforced: z.ZodBoolean;
1644
+ controlPlaneSources: z.ZodArray<z.ZodString, "many">;
1645
+ dataPlaneTreatment: z.ZodEnum<["block", "sanitize", "warn"]>;
1646
+ }, "strip", z.ZodTypeAny, {
1647
+ enforced?: boolean;
1648
+ controlPlaneSources?: string[];
1649
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
1650
+ }, {
1651
+ enforced?: boolean;
1652
+ controlPlaneSources?: string[];
1653
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
1654
+ }>;
1655
+ metadata: z.ZodOptional<z.ZodObject<{
1656
+ issuer: z.ZodOptional<z.ZodString>;
1657
+ issuedAt: z.ZodOptional<z.ZodDate>;
1658
+ expiresAt: z.ZodOptional<z.ZodDate>;
1659
+ version: z.ZodOptional<z.ZodString>;
1660
+ }, "strip", z.ZodTypeAny, {
1661
+ version?: string;
1662
+ expiresAt?: Date;
1663
+ issuer?: string;
1664
+ issuedAt?: Date;
1665
+ }, {
1666
+ version?: string;
1667
+ expiresAt?: Date;
1668
+ issuer?: string;
1669
+ issuedAt?: Date;
1670
+ }>>;
1671
+ }, "strip", z.ZodTypeAny, {
1672
+ id?: string;
1673
+ metadata?: {
1674
+ version?: string;
1675
+ expiresAt?: Date;
1676
+ issuer?: string;
1677
+ issuedAt?: Date;
1678
+ };
1679
+ carId?: string;
1680
+ instructionIntegrity?: {
1681
+ allowedInstructionHashes?: string[];
1682
+ instructionTemplates?: {
1683
+ id?: string;
1684
+ description?: string;
1685
+ hash?: string;
1686
+ parameterSchema?: Record<string, unknown>;
1687
+ }[];
1688
+ instructionSource?: {
1689
+ allowedSources?: string[];
1690
+ requireSignature?: boolean;
1691
+ };
1692
+ };
1693
+ outputBinding?: {
1694
+ allowedSchemas?: {
1695
+ id?: string;
1696
+ description?: string;
1697
+ jsonSchema?: Record<string, unknown>;
1698
+ }[];
1699
+ prohibitedPatterns?: {
1700
+ pattern?: string;
1701
+ description?: string;
1702
+ type?: "regex" | "keyword" | "semantic";
1703
+ severity?: "critical" | "low" | "medium" | "high";
1704
+ }[];
1705
+ allowedExternalEndpoints?: string[];
1706
+ blockedExternalEndpoints?: string[];
1707
+ };
1708
+ inferenceScope?: {
1709
+ globalLevel?: InferenceLevel;
1710
+ domainOverrides?: {
1711
+ level?: InferenceLevel;
1712
+ reason?: string;
1713
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
1714
+ }[];
1715
+ derivedKnowledgeHandling?: {
1716
+ retention?: "session" | "none" | "persistent";
1717
+ allowedRecipients?: string[];
1718
+ crossContextSharing?: boolean;
1719
+ };
1720
+ piiInference?: {
1721
+ allowed?: boolean;
1722
+ handling?: "block" | "hash" | "redact";
1723
+ };
1724
+ };
1725
+ contextAuthentication?: {
1726
+ required?: boolean;
1727
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1728
+ minTrustTier?: TrustTier;
1729
+ allowedProviders?: string[];
1730
+ blockedProviders?: string[];
1731
+ contentIntegrity?: {
1732
+ signatureRequired?: boolean;
1733
+ maxAge?: number;
1734
+ allowedFormats?: string[];
1735
+ };
1736
+ };
1737
+ dualChannel?: {
1738
+ enforced?: boolean;
1739
+ controlPlaneSources?: string[];
1740
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
1741
+ };
1742
+ }, {
1743
+ id?: string;
1744
+ metadata?: {
1745
+ version?: string;
1746
+ expiresAt?: Date;
1747
+ issuer?: string;
1748
+ issuedAt?: Date;
1749
+ };
1750
+ carId?: string;
1751
+ instructionIntegrity?: {
1752
+ allowedInstructionHashes?: string[];
1753
+ instructionTemplates?: {
1754
+ id?: string;
1755
+ description?: string;
1756
+ hash?: string;
1757
+ parameterSchema?: Record<string, unknown>;
1758
+ }[];
1759
+ instructionSource?: {
1760
+ allowedSources?: string[];
1761
+ requireSignature?: boolean;
1762
+ };
1763
+ };
1764
+ outputBinding?: {
1765
+ allowedSchemas?: {
1766
+ id?: string;
1767
+ description?: string;
1768
+ jsonSchema?: Record<string, unknown>;
1769
+ }[];
1770
+ prohibitedPatterns?: {
1771
+ pattern?: string;
1772
+ description?: string;
1773
+ type?: "regex" | "keyword" | "semantic";
1774
+ severity?: "critical" | "low" | "medium" | "high";
1775
+ }[];
1776
+ allowedExternalEndpoints?: string[];
1777
+ blockedExternalEndpoints?: string[];
1778
+ };
1779
+ inferenceScope?: {
1780
+ globalLevel?: InferenceLevel;
1781
+ domainOverrides?: {
1782
+ level?: InferenceLevel;
1783
+ reason?: string;
1784
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
1785
+ }[];
1786
+ derivedKnowledgeHandling?: {
1787
+ retention?: "session" | "none" | "persistent";
1788
+ allowedRecipients?: string[];
1789
+ crossContextSharing?: boolean;
1790
+ };
1791
+ piiInference?: {
1792
+ allowed?: boolean;
1793
+ handling?: "block" | "hash" | "redact";
1794
+ };
1795
+ };
1796
+ contextAuthentication?: {
1797
+ required?: boolean;
1798
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1799
+ minTrustTier?: TrustTier;
1800
+ allowedProviders?: string[];
1801
+ blockedProviders?: string[];
1802
+ contentIntegrity?: {
1803
+ signatureRequired?: boolean;
1804
+ maxAge?: number;
1805
+ allowedFormats?: string[];
1806
+ };
1807
+ };
1808
+ dualChannel?: {
1809
+ enforced?: boolean;
1810
+ controlPlaneSources?: string[];
1811
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
1812
+ };
1813
+ }>;
1814
+ /**
1815
+ * Agent identity for semantic governance
1816
+ */
1817
+ export interface AgentIdentity {
1818
+ /** Agent DID */
1819
+ did: string;
1820
+ /** Full CAR ID string */
1821
+ carId: string;
1822
+ /** Trust tier */
1823
+ trustTier: TrustTier;
1824
+ /** Capability domains */
1825
+ domains: DomainCode[];
1826
+ /** Service endpoint URL */
1827
+ serviceEndpoint?: string;
1828
+ }
1829
+ export declare const AgentIdentitySchema: z.ZodObject<{
1830
+ did: z.ZodString;
1831
+ carId: z.ZodString;
1832
+ trustTier: z.ZodNativeEnum<typeof TrustTier>;
1833
+ domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
1834
+ serviceEndpoint: z.ZodOptional<z.ZodString>;
1835
+ }, "strip", z.ZodTypeAny, {
1836
+ carId?: string;
1837
+ trustTier?: TrustTier;
1838
+ did?: string;
1839
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1840
+ serviceEndpoint?: string;
1841
+ }, {
1842
+ carId?: string;
1843
+ trustTier?: TrustTier;
1844
+ did?: string;
1845
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1846
+ serviceEndpoint?: string;
1847
+ }>;
1848
+ /**
1849
+ * Action request for pre-action validation
1850
+ */
1851
+ export interface ActionRequest {
1852
+ /** Action type/name */
1853
+ type: string;
1854
+ /** Target resource */
1855
+ target?: string;
1856
+ /** Action parameters */
1857
+ params?: Record<string, unknown>;
1858
+ /** System instruction */
1859
+ instruction?: string;
1860
+ /** Context sources */
1861
+ contextSources?: Array<{
1862
+ providerId: string;
1863
+ content: unknown;
1864
+ signature?: string;
1865
+ }>;
1866
+ /** Requested inference operations */
1867
+ inferenceOperations?: InferenceOperation[];
1868
+ }
1869
+ export declare const ActionRequestSchema: z.ZodObject<{
1870
+ type: z.ZodString;
1871
+ target: z.ZodOptional<z.ZodString>;
1872
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1873
+ instruction: z.ZodOptional<z.ZodString>;
1874
+ contextSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1875
+ providerId: z.ZodString;
1876
+ content: z.ZodUnknown;
1877
+ signature: z.ZodOptional<z.ZodString>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ content?: unknown;
1880
+ signature?: string;
1881
+ providerId?: string;
1882
+ }, {
1883
+ content?: unknown;
1884
+ signature?: string;
1885
+ providerId?: string;
1886
+ }>, "many">>;
1887
+ inferenceOperations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1888
+ type: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
1889
+ sourceDomains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
1890
+ description: z.ZodOptional<z.ZodString>;
1891
+ customLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
1892
+ }, "strip", z.ZodTypeAny, {
1893
+ description?: string;
1894
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
1895
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1896
+ customLevel?: InferenceLevel;
1897
+ }, {
1898
+ description?: string;
1899
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
1900
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1901
+ customLevel?: InferenceLevel;
1902
+ }>, "many">>;
1903
+ }, "strip", z.ZodTypeAny, {
1904
+ target?: string;
1905
+ params?: Record<string, unknown>;
1906
+ type?: string;
1907
+ instruction?: string;
1908
+ contextSources?: {
1909
+ content?: unknown;
1910
+ signature?: string;
1911
+ providerId?: string;
1912
+ }[];
1913
+ inferenceOperations?: {
1914
+ description?: string;
1915
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
1916
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1917
+ customLevel?: InferenceLevel;
1918
+ }[];
1919
+ }, {
1920
+ target?: string;
1921
+ params?: Record<string, unknown>;
1922
+ type?: string;
1923
+ instruction?: string;
1924
+ contextSources?: {
1925
+ content?: unknown;
1926
+ signature?: string;
1927
+ providerId?: string;
1928
+ }[];
1929
+ inferenceOperations?: {
1930
+ description?: string;
1931
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
1932
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1933
+ customLevel?: InferenceLevel;
1934
+ }[];
1935
+ }>;
1936
+ /**
1937
+ * Action record for post-action validation
1938
+ */
1939
+ export interface ActionRecord {
1940
+ /** Action type/name */
1941
+ type: string;
1942
+ /** Target resource */
1943
+ target?: string;
1944
+ /** Action output */
1945
+ output: unknown;
1946
+ /** Derived knowledge produced */
1947
+ derivedKnowledge?: DerivedKnowledge[];
1948
+ /** External endpoints accessed */
1949
+ externalEndpoints?: string[];
1950
+ /** Execution duration in ms */
1951
+ durationMs?: number;
1952
+ }
1953
+ export declare const ActionRecordSchema: z.ZodObject<{
1954
+ type: z.ZodString;
1955
+ target: z.ZodOptional<z.ZodString>;
1956
+ output: z.ZodUnknown;
1957
+ derivedKnowledge: z.ZodOptional<z.ZodArray<z.ZodObject<{
1958
+ id: z.ZodString;
1959
+ type: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
1960
+ sourceIds: z.ZodArray<z.ZodString, "many">;
1961
+ sourceDomains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
1962
+ content: z.ZodUnknown;
1963
+ createdAt: z.ZodDate;
1964
+ inferenceLevel: z.ZodNativeEnum<typeof InferenceLevel>;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ id?: string;
1967
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
1968
+ createdAt?: Date;
1969
+ content?: unknown;
1970
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1971
+ sourceIds?: string[];
1972
+ inferenceLevel?: InferenceLevel;
1973
+ }, {
1974
+ id?: string;
1975
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
1976
+ createdAt?: Date;
1977
+ content?: unknown;
1978
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1979
+ sourceIds?: string[];
1980
+ inferenceLevel?: InferenceLevel;
1981
+ }>, "many">>;
1982
+ externalEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1983
+ durationMs: z.ZodOptional<z.ZodNumber>;
1984
+ }, "strip", z.ZodTypeAny, {
1985
+ target?: string;
1986
+ durationMs?: number;
1987
+ type?: string;
1988
+ output?: unknown;
1989
+ derivedKnowledge?: {
1990
+ id?: string;
1991
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
1992
+ createdAt?: Date;
1993
+ content?: unknown;
1994
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
1995
+ sourceIds?: string[];
1996
+ inferenceLevel?: InferenceLevel;
1997
+ }[];
1998
+ externalEndpoints?: string[];
1999
+ }, {
2000
+ target?: string;
2001
+ durationMs?: number;
2002
+ type?: string;
2003
+ output?: unknown;
2004
+ derivedKnowledge?: {
2005
+ id?: string;
2006
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2007
+ createdAt?: Date;
2008
+ content?: unknown;
2009
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2010
+ sourceIds?: string[];
2011
+ inferenceLevel?: InferenceLevel;
2012
+ }[];
2013
+ externalEndpoints?: string[];
2014
+ }>;
2015
+ /**
2016
+ * Complete agent interaction for validation
2017
+ */
2018
+ export interface AgentInteraction {
2019
+ /** Interaction ID */
2020
+ id: string;
2021
+ /** Agent identity */
2022
+ agent: AgentIdentity;
2023
+ /** Incoming message */
2024
+ message: {
2025
+ source: string;
2026
+ content: string;
2027
+ authenticated: boolean;
2028
+ timestamp: Date;
2029
+ };
2030
+ /** System instruction */
2031
+ instruction?: string;
2032
+ /** Context data */
2033
+ context?: Array<{
2034
+ providerId: string;
2035
+ content: unknown;
2036
+ signature?: string;
2037
+ timestamp?: Date;
2038
+ }>;
2039
+ /** Planned/executed action */
2040
+ action?: ActionRequest | ActionRecord;
2041
+ }
2042
+ export declare const AgentInteractionSchema: z.ZodObject<{
2043
+ id: z.ZodString;
2044
+ agent: z.ZodObject<{
2045
+ did: z.ZodString;
2046
+ carId: z.ZodString;
2047
+ trustTier: z.ZodNativeEnum<typeof TrustTier>;
2048
+ domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
2049
+ serviceEndpoint: z.ZodOptional<z.ZodString>;
2050
+ }, "strip", z.ZodTypeAny, {
2051
+ carId?: string;
2052
+ trustTier?: TrustTier;
2053
+ did?: string;
2054
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2055
+ serviceEndpoint?: string;
2056
+ }, {
2057
+ carId?: string;
2058
+ trustTier?: TrustTier;
2059
+ did?: string;
2060
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2061
+ serviceEndpoint?: string;
2062
+ }>;
2063
+ message: z.ZodObject<{
2064
+ source: z.ZodString;
2065
+ content: z.ZodString;
2066
+ authenticated: z.ZodBoolean;
2067
+ timestamp: z.ZodDate;
2068
+ }, "strip", z.ZodTypeAny, {
2069
+ source?: string;
2070
+ content?: string;
2071
+ timestamp?: Date;
2072
+ authenticated?: boolean;
2073
+ }, {
2074
+ source?: string;
2075
+ content?: string;
2076
+ timestamp?: Date;
2077
+ authenticated?: boolean;
2078
+ }>;
2079
+ instruction: z.ZodOptional<z.ZodString>;
2080
+ context: z.ZodOptional<z.ZodArray<z.ZodObject<{
2081
+ providerId: z.ZodString;
2082
+ content: z.ZodUnknown;
2083
+ signature: z.ZodOptional<z.ZodString>;
2084
+ timestamp: z.ZodOptional<z.ZodDate>;
2085
+ }, "strip", z.ZodTypeAny, {
2086
+ content?: unknown;
2087
+ timestamp?: Date;
2088
+ signature?: string;
2089
+ providerId?: string;
2090
+ }, {
2091
+ content?: unknown;
2092
+ timestamp?: Date;
2093
+ signature?: string;
2094
+ providerId?: string;
2095
+ }>, "many">>;
2096
+ action: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2097
+ type: z.ZodString;
2098
+ target: z.ZodOptional<z.ZodString>;
2099
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2100
+ instruction: z.ZodOptional<z.ZodString>;
2101
+ contextSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2102
+ providerId: z.ZodString;
2103
+ content: z.ZodUnknown;
2104
+ signature: z.ZodOptional<z.ZodString>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ content?: unknown;
2107
+ signature?: string;
2108
+ providerId?: string;
2109
+ }, {
2110
+ content?: unknown;
2111
+ signature?: string;
2112
+ providerId?: string;
2113
+ }>, "many">>;
2114
+ inferenceOperations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2115
+ type: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
2116
+ sourceDomains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
2117
+ description: z.ZodOptional<z.ZodString>;
2118
+ customLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
2119
+ }, "strip", z.ZodTypeAny, {
2120
+ description?: string;
2121
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2122
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2123
+ customLevel?: InferenceLevel;
2124
+ }, {
2125
+ description?: string;
2126
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2127
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2128
+ customLevel?: InferenceLevel;
2129
+ }>, "many">>;
2130
+ }, "strip", z.ZodTypeAny, {
2131
+ target?: string;
2132
+ params?: Record<string, unknown>;
2133
+ type?: string;
2134
+ instruction?: string;
2135
+ contextSources?: {
2136
+ content?: unknown;
2137
+ signature?: string;
2138
+ providerId?: string;
2139
+ }[];
2140
+ inferenceOperations?: {
2141
+ description?: string;
2142
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2143
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2144
+ customLevel?: InferenceLevel;
2145
+ }[];
2146
+ }, {
2147
+ target?: string;
2148
+ params?: Record<string, unknown>;
2149
+ type?: string;
2150
+ instruction?: string;
2151
+ contextSources?: {
2152
+ content?: unknown;
2153
+ signature?: string;
2154
+ providerId?: string;
2155
+ }[];
2156
+ inferenceOperations?: {
2157
+ description?: string;
2158
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2159
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2160
+ customLevel?: InferenceLevel;
2161
+ }[];
2162
+ }>, z.ZodObject<{
2163
+ type: z.ZodString;
2164
+ target: z.ZodOptional<z.ZodString>;
2165
+ output: z.ZodUnknown;
2166
+ derivedKnowledge: z.ZodOptional<z.ZodArray<z.ZodObject<{
2167
+ id: z.ZodString;
2168
+ type: z.ZodEnum<["aggregate", "count", "average", "entity-extraction", "relationship-inference", "pattern-prediction", "sentiment-analysis", "classification", "summarization", "custom"]>;
2169
+ sourceIds: z.ZodArray<z.ZodString, "many">;
2170
+ sourceDomains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
2171
+ content: z.ZodUnknown;
2172
+ createdAt: z.ZodDate;
2173
+ inferenceLevel: z.ZodNativeEnum<typeof InferenceLevel>;
2174
+ }, "strip", z.ZodTypeAny, {
2175
+ id?: string;
2176
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2177
+ createdAt?: Date;
2178
+ content?: unknown;
2179
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2180
+ sourceIds?: string[];
2181
+ inferenceLevel?: InferenceLevel;
2182
+ }, {
2183
+ id?: string;
2184
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2185
+ createdAt?: Date;
2186
+ content?: unknown;
2187
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2188
+ sourceIds?: string[];
2189
+ inferenceLevel?: InferenceLevel;
2190
+ }>, "many">>;
2191
+ externalEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2192
+ durationMs: z.ZodOptional<z.ZodNumber>;
2193
+ }, "strip", z.ZodTypeAny, {
2194
+ target?: string;
2195
+ durationMs?: number;
2196
+ type?: string;
2197
+ output?: unknown;
2198
+ derivedKnowledge?: {
2199
+ id?: string;
2200
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2201
+ createdAt?: Date;
2202
+ content?: unknown;
2203
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2204
+ sourceIds?: string[];
2205
+ inferenceLevel?: InferenceLevel;
2206
+ }[];
2207
+ externalEndpoints?: string[];
2208
+ }, {
2209
+ target?: string;
2210
+ durationMs?: number;
2211
+ type?: string;
2212
+ output?: unknown;
2213
+ derivedKnowledge?: {
2214
+ id?: string;
2215
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2216
+ createdAt?: Date;
2217
+ content?: unknown;
2218
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2219
+ sourceIds?: string[];
2220
+ inferenceLevel?: InferenceLevel;
2221
+ }[];
2222
+ externalEndpoints?: string[];
2223
+ }>]>>;
2224
+ }, "strip", z.ZodTypeAny, {
2225
+ agent?: {
2226
+ carId?: string;
2227
+ trustTier?: TrustTier;
2228
+ did?: string;
2229
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2230
+ serviceEndpoint?: string;
2231
+ };
2232
+ action?: {
2233
+ target?: string;
2234
+ params?: Record<string, unknown>;
2235
+ type?: string;
2236
+ instruction?: string;
2237
+ contextSources?: {
2238
+ content?: unknown;
2239
+ signature?: string;
2240
+ providerId?: string;
2241
+ }[];
2242
+ inferenceOperations?: {
2243
+ description?: string;
2244
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2245
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2246
+ customLevel?: InferenceLevel;
2247
+ }[];
2248
+ } | {
2249
+ target?: string;
2250
+ durationMs?: number;
2251
+ type?: string;
2252
+ output?: unknown;
2253
+ derivedKnowledge?: {
2254
+ id?: string;
2255
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2256
+ createdAt?: Date;
2257
+ content?: unknown;
2258
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2259
+ sourceIds?: string[];
2260
+ inferenceLevel?: InferenceLevel;
2261
+ }[];
2262
+ externalEndpoints?: string[];
2263
+ };
2264
+ id?: string;
2265
+ message?: {
2266
+ source?: string;
2267
+ content?: string;
2268
+ timestamp?: Date;
2269
+ authenticated?: boolean;
2270
+ };
2271
+ context?: {
2272
+ content?: unknown;
2273
+ timestamp?: Date;
2274
+ signature?: string;
2275
+ providerId?: string;
2276
+ }[];
2277
+ instruction?: string;
2278
+ }, {
2279
+ agent?: {
2280
+ carId?: string;
2281
+ trustTier?: TrustTier;
2282
+ did?: string;
2283
+ domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2284
+ serviceEndpoint?: string;
2285
+ };
2286
+ action?: {
2287
+ target?: string;
2288
+ params?: Record<string, unknown>;
2289
+ type?: string;
2290
+ instruction?: string;
2291
+ contextSources?: {
2292
+ content?: unknown;
2293
+ signature?: string;
2294
+ providerId?: string;
2295
+ }[];
2296
+ inferenceOperations?: {
2297
+ description?: string;
2298
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2299
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2300
+ customLevel?: InferenceLevel;
2301
+ }[];
2302
+ } | {
2303
+ target?: string;
2304
+ durationMs?: number;
2305
+ type?: string;
2306
+ output?: unknown;
2307
+ derivedKnowledge?: {
2308
+ id?: string;
2309
+ type?: "custom" | "count" | "classification" | "aggregate" | "average" | "entity-extraction" | "relationship-inference" | "pattern-prediction" | "sentiment-analysis" | "summarization";
2310
+ createdAt?: Date;
2311
+ content?: unknown;
2312
+ sourceDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
2313
+ sourceIds?: string[];
2314
+ inferenceLevel?: InferenceLevel;
2315
+ }[];
2316
+ externalEndpoints?: string[];
2317
+ };
2318
+ id?: string;
2319
+ message?: {
2320
+ source?: string;
2321
+ content?: string;
2322
+ timestamp?: Date;
2323
+ authenticated?: boolean;
2324
+ };
2325
+ context?: {
2326
+ content?: unknown;
2327
+ timestamp?: Date;
2328
+ signature?: string;
2329
+ providerId?: string;
2330
+ }[];
2331
+ instruction?: string;
2332
+ }>;
2333
+ /**
2334
+ * Pre-action validation result
2335
+ */
2336
+ export interface PreActionResult {
2337
+ /** Whether action is allowed to proceed */
2338
+ allowed: boolean;
2339
+ /** Reason for rejection */
2340
+ reason?: string;
2341
+ /** Instruction validation result */
2342
+ instructionValidation?: InstructionValidationResult;
2343
+ /** Context validation results */
2344
+ contextValidations?: ContextValidationResult[];
2345
+ /** Inference validation results */
2346
+ inferenceValidations?: InferenceValidationResult[];
2347
+ /** Channel enforcement result */
2348
+ channelEnforcement?: EnforcementResult;
2349
+ /** Warnings (action allowed but with caveats) */
2350
+ warnings?: string[];
2351
+ }
2352
+ export declare const PreActionResultSchema: z.ZodObject<{
2353
+ allowed: z.ZodBoolean;
2354
+ reason: z.ZodOptional<z.ZodString>;
2355
+ instructionValidation: z.ZodOptional<z.ZodObject<{
2356
+ valid: z.ZodBoolean;
2357
+ method: z.ZodOptional<z.ZodEnum<["exact-match", "template-match", "signed-source"]>>;
2358
+ templateId: z.ZodOptional<z.ZodString>;
2359
+ reason: z.ZodOptional<z.ZodString>;
2360
+ instructionHash: z.ZodOptional<z.ZodString>;
2361
+ extractedParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2362
+ }, "strip", z.ZodTypeAny, {
2363
+ reason?: string;
2364
+ valid?: boolean;
2365
+ method?: "exact-match" | "template-match" | "signed-source";
2366
+ templateId?: string;
2367
+ instructionHash?: string;
2368
+ extractedParams?: Record<string, unknown>;
2369
+ }, {
2370
+ reason?: string;
2371
+ valid?: boolean;
2372
+ method?: "exact-match" | "template-match" | "signed-source";
2373
+ templateId?: string;
2374
+ instructionHash?: string;
2375
+ extractedParams?: Record<string, unknown>;
2376
+ }>>;
2377
+ contextValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2378
+ valid: z.ZodBoolean;
2379
+ reason: z.ZodOptional<z.ZodString>;
2380
+ providerValidation: z.ZodOptional<z.ZodObject<{
2381
+ valid: z.ZodBoolean;
2382
+ providerId: z.ZodString;
2383
+ trustTier: z.ZodOptional<z.ZodNativeEnum<typeof TrustTier>>;
2384
+ reason: z.ZodOptional<z.ZodString>;
2385
+ blocked: z.ZodOptional<z.ZodBoolean>;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ reason?: string;
2388
+ valid?: boolean;
2389
+ blocked?: boolean;
2390
+ trustTier?: TrustTier;
2391
+ providerId?: string;
2392
+ }, {
2393
+ reason?: string;
2394
+ valid?: boolean;
2395
+ blocked?: boolean;
2396
+ trustTier?: TrustTier;
2397
+ providerId?: string;
2398
+ }>>;
2399
+ contentValidation: z.ZodOptional<z.ZodObject<{
2400
+ valid: z.ZodBoolean;
2401
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
2402
+ ageSeconds: z.ZodOptional<z.ZodNumber>;
2403
+ format: z.ZodOptional<z.ZodString>;
2404
+ reason: z.ZodOptional<z.ZodString>;
2405
+ }, "strip", z.ZodTypeAny, {
2406
+ reason?: string;
2407
+ valid?: boolean;
2408
+ signatureValid?: boolean;
2409
+ ageSeconds?: number;
2410
+ format?: string;
2411
+ }, {
2412
+ reason?: string;
2413
+ valid?: boolean;
2414
+ signatureValid?: boolean;
2415
+ ageSeconds?: number;
2416
+ format?: string;
2417
+ }>>;
2418
+ injectionScan: z.ZodOptional<z.ZodObject<{
2419
+ detected: z.ZodBoolean;
2420
+ patterns: z.ZodArray<z.ZodString, "many">;
2421
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
2422
+ descriptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2423
+ }, "strip", z.ZodTypeAny, {
2424
+ severity?: "critical" | "low" | "medium" | "high";
2425
+ detected?: boolean;
2426
+ patterns?: string[];
2427
+ descriptions?: string[];
2428
+ }, {
2429
+ severity?: "critical" | "low" | "medium" | "high";
2430
+ detected?: boolean;
2431
+ patterns?: string[];
2432
+ descriptions?: string[];
2433
+ }>>;
2434
+ }, "strip", z.ZodTypeAny, {
2435
+ reason?: string;
2436
+ valid?: boolean;
2437
+ providerValidation?: {
2438
+ reason?: string;
2439
+ valid?: boolean;
2440
+ blocked?: boolean;
2441
+ trustTier?: TrustTier;
2442
+ providerId?: string;
2443
+ };
2444
+ contentValidation?: {
2445
+ reason?: string;
2446
+ valid?: boolean;
2447
+ signatureValid?: boolean;
2448
+ ageSeconds?: number;
2449
+ format?: string;
2450
+ };
2451
+ injectionScan?: {
2452
+ severity?: "critical" | "low" | "medium" | "high";
2453
+ detected?: boolean;
2454
+ patterns?: string[];
2455
+ descriptions?: string[];
2456
+ };
2457
+ }, {
2458
+ reason?: string;
2459
+ valid?: boolean;
2460
+ providerValidation?: {
2461
+ reason?: string;
2462
+ valid?: boolean;
2463
+ blocked?: boolean;
2464
+ trustTier?: TrustTier;
2465
+ providerId?: string;
2466
+ };
2467
+ contentValidation?: {
2468
+ reason?: string;
2469
+ valid?: boolean;
2470
+ signatureValid?: boolean;
2471
+ ageSeconds?: number;
2472
+ format?: string;
2473
+ };
2474
+ injectionScan?: {
2475
+ severity?: "critical" | "low" | "medium" | "high";
2476
+ detected?: boolean;
2477
+ patterns?: string[];
2478
+ descriptions?: string[];
2479
+ };
2480
+ }>, "many">>;
2481
+ inferenceValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2482
+ valid: z.ZodBoolean;
2483
+ reason: z.ZodOptional<z.ZodString>;
2484
+ requiredLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
2485
+ agentLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
2486
+ restrictedDomain: z.ZodOptional<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>>;
2487
+ }, "strip", z.ZodTypeAny, {
2488
+ reason?: string;
2489
+ valid?: boolean;
2490
+ requiredLevel?: InferenceLevel;
2491
+ agentLevel?: InferenceLevel;
2492
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2493
+ }, {
2494
+ reason?: string;
2495
+ valid?: boolean;
2496
+ requiredLevel?: InferenceLevel;
2497
+ agentLevel?: InferenceLevel;
2498
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2499
+ }>, "many">>;
2500
+ channelEnforcement: z.ZodOptional<z.ZodObject<{
2501
+ allowed: z.ZodBoolean;
2502
+ action: z.ZodEnum<["pass", "block", "sanitize", "warn"]>;
2503
+ reason: z.ZodOptional<z.ZodString>;
2504
+ sanitizedContent: z.ZodOptional<z.ZodString>;
2505
+ strippedInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2506
+ }, "strip", z.ZodTypeAny, {
2507
+ action?: "warn" | "block" | "sanitize" | "pass";
2508
+ reason?: string;
2509
+ allowed?: boolean;
2510
+ sanitizedContent?: string;
2511
+ strippedInstructions?: string[];
2512
+ }, {
2513
+ action?: "warn" | "block" | "sanitize" | "pass";
2514
+ reason?: string;
2515
+ allowed?: boolean;
2516
+ sanitizedContent?: string;
2517
+ strippedInstructions?: string[];
2518
+ }>>;
2519
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2520
+ }, "strip", z.ZodTypeAny, {
2521
+ reason?: string;
2522
+ warnings?: string[];
2523
+ allowed?: boolean;
2524
+ instructionValidation?: {
2525
+ reason?: string;
2526
+ valid?: boolean;
2527
+ method?: "exact-match" | "template-match" | "signed-source";
2528
+ templateId?: string;
2529
+ instructionHash?: string;
2530
+ extractedParams?: Record<string, unknown>;
2531
+ };
2532
+ contextValidations?: {
2533
+ reason?: string;
2534
+ valid?: boolean;
2535
+ providerValidation?: {
2536
+ reason?: string;
2537
+ valid?: boolean;
2538
+ blocked?: boolean;
2539
+ trustTier?: TrustTier;
2540
+ providerId?: string;
2541
+ };
2542
+ contentValidation?: {
2543
+ reason?: string;
2544
+ valid?: boolean;
2545
+ signatureValid?: boolean;
2546
+ ageSeconds?: number;
2547
+ format?: string;
2548
+ };
2549
+ injectionScan?: {
2550
+ severity?: "critical" | "low" | "medium" | "high";
2551
+ detected?: boolean;
2552
+ patterns?: string[];
2553
+ descriptions?: string[];
2554
+ };
2555
+ }[];
2556
+ inferenceValidations?: {
2557
+ reason?: string;
2558
+ valid?: boolean;
2559
+ requiredLevel?: InferenceLevel;
2560
+ agentLevel?: InferenceLevel;
2561
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2562
+ }[];
2563
+ channelEnforcement?: {
2564
+ action?: "warn" | "block" | "sanitize" | "pass";
2565
+ reason?: string;
2566
+ allowed?: boolean;
2567
+ sanitizedContent?: string;
2568
+ strippedInstructions?: string[];
2569
+ };
2570
+ }, {
2571
+ reason?: string;
2572
+ warnings?: string[];
2573
+ allowed?: boolean;
2574
+ instructionValidation?: {
2575
+ reason?: string;
2576
+ valid?: boolean;
2577
+ method?: "exact-match" | "template-match" | "signed-source";
2578
+ templateId?: string;
2579
+ instructionHash?: string;
2580
+ extractedParams?: Record<string, unknown>;
2581
+ };
2582
+ contextValidations?: {
2583
+ reason?: string;
2584
+ valid?: boolean;
2585
+ providerValidation?: {
2586
+ reason?: string;
2587
+ valid?: boolean;
2588
+ blocked?: boolean;
2589
+ trustTier?: TrustTier;
2590
+ providerId?: string;
2591
+ };
2592
+ contentValidation?: {
2593
+ reason?: string;
2594
+ valid?: boolean;
2595
+ signatureValid?: boolean;
2596
+ ageSeconds?: number;
2597
+ format?: string;
2598
+ };
2599
+ injectionScan?: {
2600
+ severity?: "critical" | "low" | "medium" | "high";
2601
+ detected?: boolean;
2602
+ patterns?: string[];
2603
+ descriptions?: string[];
2604
+ };
2605
+ }[];
2606
+ inferenceValidations?: {
2607
+ reason?: string;
2608
+ valid?: boolean;
2609
+ requiredLevel?: InferenceLevel;
2610
+ agentLevel?: InferenceLevel;
2611
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2612
+ }[];
2613
+ channelEnforcement?: {
2614
+ action?: "warn" | "block" | "sanitize" | "pass";
2615
+ reason?: string;
2616
+ allowed?: boolean;
2617
+ sanitizedContent?: string;
2618
+ strippedInstructions?: string[];
2619
+ };
2620
+ }>;
2621
+ /**
2622
+ * Post-action validation result
2623
+ */
2624
+ export interface PostActionResult {
2625
+ /** Whether action result is valid */
2626
+ valid: boolean;
2627
+ /** Reason for rejection */
2628
+ reason?: string;
2629
+ /** Output validation result */
2630
+ outputValidation?: OutputValidationResult;
2631
+ /** Inference validation results */
2632
+ inferenceValidations?: InferenceValidationResult[];
2633
+ /** PII check results */
2634
+ piiChecks?: PIICheckResult[];
2635
+ /** Sanitized output (if modified) */
2636
+ sanitizedOutput?: unknown;
2637
+ /** Warnings */
2638
+ warnings?: string[];
2639
+ }
2640
+ export declare const PostActionResultSchema: z.ZodObject<{
2641
+ valid: z.ZodBoolean;
2642
+ reason: z.ZodOptional<z.ZodString>;
2643
+ outputValidation: z.ZodOptional<z.ZodObject<{
2644
+ valid: z.ZodBoolean;
2645
+ modified: z.ZodOptional<z.ZodBoolean>;
2646
+ output: z.ZodOptional<z.ZodUnknown>;
2647
+ schemaId: z.ZodOptional<z.ZodString>;
2648
+ reason: z.ZodOptional<z.ZodString>;
2649
+ patternScan: z.ZodOptional<z.ZodObject<{
2650
+ detected: z.ZodBoolean;
2651
+ patterns: z.ZodArray<z.ZodObject<{
2652
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
2653
+ pattern: z.ZodString;
2654
+ description: z.ZodString;
2655
+ matches: z.ZodArray<z.ZodString, "many">;
2656
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
2657
+ }, "strip", z.ZodTypeAny, {
2658
+ pattern?: string;
2659
+ matches?: string[];
2660
+ description?: string;
2661
+ type?: "regex" | "keyword" | "semantic";
2662
+ severity?: "critical" | "low" | "medium" | "high";
2663
+ }, {
2664
+ pattern?: string;
2665
+ matches?: string[];
2666
+ description?: string;
2667
+ type?: "regex" | "keyword" | "semantic";
2668
+ severity?: "critical" | "low" | "medium" | "high";
2669
+ }>, "many">;
2670
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
2671
+ }, "strip", z.ZodTypeAny, {
2672
+ severity?: "critical" | "low" | "medium" | "high";
2673
+ detected?: boolean;
2674
+ patterns?: {
2675
+ pattern?: string;
2676
+ matches?: string[];
2677
+ description?: string;
2678
+ type?: "regex" | "keyword" | "semantic";
2679
+ severity?: "critical" | "low" | "medium" | "high";
2680
+ }[];
2681
+ }, {
2682
+ severity?: "critical" | "low" | "medium" | "high";
2683
+ detected?: boolean;
2684
+ patterns?: {
2685
+ pattern?: string;
2686
+ matches?: string[];
2687
+ description?: string;
2688
+ type?: "regex" | "keyword" | "semantic";
2689
+ severity?: "critical" | "low" | "medium" | "high";
2690
+ }[];
2691
+ }>>;
2692
+ }, "strip", z.ZodTypeAny, {
2693
+ reason?: string;
2694
+ valid?: boolean;
2695
+ modified?: boolean;
2696
+ output?: unknown;
2697
+ schemaId?: string;
2698
+ patternScan?: {
2699
+ severity?: "critical" | "low" | "medium" | "high";
2700
+ detected?: boolean;
2701
+ patterns?: {
2702
+ pattern?: string;
2703
+ matches?: string[];
2704
+ description?: string;
2705
+ type?: "regex" | "keyword" | "semantic";
2706
+ severity?: "critical" | "low" | "medium" | "high";
2707
+ }[];
2708
+ };
2709
+ }, {
2710
+ reason?: string;
2711
+ valid?: boolean;
2712
+ modified?: boolean;
2713
+ output?: unknown;
2714
+ schemaId?: string;
2715
+ patternScan?: {
2716
+ severity?: "critical" | "low" | "medium" | "high";
2717
+ detected?: boolean;
2718
+ patterns?: {
2719
+ pattern?: string;
2720
+ matches?: string[];
2721
+ description?: string;
2722
+ type?: "regex" | "keyword" | "semantic";
2723
+ severity?: "critical" | "low" | "medium" | "high";
2724
+ }[];
2725
+ };
2726
+ }>>;
2727
+ inferenceValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2728
+ valid: z.ZodBoolean;
2729
+ reason: z.ZodOptional<z.ZodString>;
2730
+ requiredLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
2731
+ agentLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
2732
+ restrictedDomain: z.ZodOptional<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>>;
2733
+ }, "strip", z.ZodTypeAny, {
2734
+ reason?: string;
2735
+ valid?: boolean;
2736
+ requiredLevel?: InferenceLevel;
2737
+ agentLevel?: InferenceLevel;
2738
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2739
+ }, {
2740
+ reason?: string;
2741
+ valid?: boolean;
2742
+ requiredLevel?: InferenceLevel;
2743
+ agentLevel?: InferenceLevel;
2744
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2745
+ }>, "many">>;
2746
+ piiChecks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2747
+ containsPII: z.ZodBoolean;
2748
+ piiTypes: z.ZodArray<z.ZodString, "many">;
2749
+ action: z.ZodEnum<["allowed", "blocked", "redacted", "hashed"]>;
2750
+ modifiedData: z.ZodOptional<z.ZodUnknown>;
2751
+ }, "strip", z.ZodTypeAny, {
2752
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
2753
+ containsPII?: boolean;
2754
+ piiTypes?: string[];
2755
+ modifiedData?: unknown;
2756
+ }, {
2757
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
2758
+ containsPII?: boolean;
2759
+ piiTypes?: string[];
2760
+ modifiedData?: unknown;
2761
+ }>, "many">>;
2762
+ sanitizedOutput: z.ZodOptional<z.ZodUnknown>;
2763
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2764
+ }, "strip", z.ZodTypeAny, {
2765
+ reason?: string;
2766
+ valid?: boolean;
2767
+ warnings?: string[];
2768
+ inferenceValidations?: {
2769
+ reason?: string;
2770
+ valid?: boolean;
2771
+ requiredLevel?: InferenceLevel;
2772
+ agentLevel?: InferenceLevel;
2773
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2774
+ }[];
2775
+ outputValidation?: {
2776
+ reason?: string;
2777
+ valid?: boolean;
2778
+ modified?: boolean;
2779
+ output?: unknown;
2780
+ schemaId?: string;
2781
+ patternScan?: {
2782
+ severity?: "critical" | "low" | "medium" | "high";
2783
+ detected?: boolean;
2784
+ patterns?: {
2785
+ pattern?: string;
2786
+ matches?: string[];
2787
+ description?: string;
2788
+ type?: "regex" | "keyword" | "semantic";
2789
+ severity?: "critical" | "low" | "medium" | "high";
2790
+ }[];
2791
+ };
2792
+ };
2793
+ piiChecks?: {
2794
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
2795
+ containsPII?: boolean;
2796
+ piiTypes?: string[];
2797
+ modifiedData?: unknown;
2798
+ }[];
2799
+ sanitizedOutput?: unknown;
2800
+ }, {
2801
+ reason?: string;
2802
+ valid?: boolean;
2803
+ warnings?: string[];
2804
+ inferenceValidations?: {
2805
+ reason?: string;
2806
+ valid?: boolean;
2807
+ requiredLevel?: InferenceLevel;
2808
+ agentLevel?: InferenceLevel;
2809
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
2810
+ }[];
2811
+ outputValidation?: {
2812
+ reason?: string;
2813
+ valid?: boolean;
2814
+ modified?: boolean;
2815
+ output?: unknown;
2816
+ schemaId?: string;
2817
+ patternScan?: {
2818
+ severity?: "critical" | "low" | "medium" | "high";
2819
+ detected?: boolean;
2820
+ patterns?: {
2821
+ pattern?: string;
2822
+ matches?: string[];
2823
+ description?: string;
2824
+ type?: "regex" | "keyword" | "semantic";
2825
+ severity?: "critical" | "low" | "medium" | "high";
2826
+ }[];
2827
+ };
2828
+ };
2829
+ piiChecks?: {
2830
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
2831
+ containsPII?: boolean;
2832
+ piiTypes?: string[];
2833
+ modifiedData?: unknown;
2834
+ }[];
2835
+ sanitizedOutput?: unknown;
2836
+ }>;
2837
+ /**
2838
+ * Complete semantic validation result
2839
+ */
2840
+ export interface SemanticValidationResult {
2841
+ /** Whether interaction is valid */
2842
+ valid: boolean;
2843
+ /** Interaction ID */
2844
+ interactionId: string;
2845
+ /** Agent DID */
2846
+ agentDid: string;
2847
+ /** Pre-action result */
2848
+ preAction?: PreActionResult;
2849
+ /** Post-action result */
2850
+ postAction?: PostActionResult;
2851
+ /** Overall reason for failure */
2852
+ reason?: string;
2853
+ /** Validation timestamp */
2854
+ validatedAt: Date;
2855
+ /** Validation duration in ms */
2856
+ durationMs: number;
2857
+ }
2858
+ export declare const SemanticValidationResultSchema: z.ZodObject<{
2859
+ valid: z.ZodBoolean;
2860
+ interactionId: z.ZodString;
2861
+ agentDid: z.ZodString;
2862
+ preAction: z.ZodOptional<z.ZodObject<{
2863
+ allowed: z.ZodBoolean;
2864
+ reason: z.ZodOptional<z.ZodString>;
2865
+ instructionValidation: z.ZodOptional<z.ZodObject<{
2866
+ valid: z.ZodBoolean;
2867
+ method: z.ZodOptional<z.ZodEnum<["exact-match", "template-match", "signed-source"]>>;
2868
+ templateId: z.ZodOptional<z.ZodString>;
2869
+ reason: z.ZodOptional<z.ZodString>;
2870
+ instructionHash: z.ZodOptional<z.ZodString>;
2871
+ extractedParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2872
+ }, "strip", z.ZodTypeAny, {
2873
+ reason?: string;
2874
+ valid?: boolean;
2875
+ method?: "exact-match" | "template-match" | "signed-source";
2876
+ templateId?: string;
2877
+ instructionHash?: string;
2878
+ extractedParams?: Record<string, unknown>;
2879
+ }, {
2880
+ reason?: string;
2881
+ valid?: boolean;
2882
+ method?: "exact-match" | "template-match" | "signed-source";
2883
+ templateId?: string;
2884
+ instructionHash?: string;
2885
+ extractedParams?: Record<string, unknown>;
2886
+ }>>;
2887
+ contextValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2888
+ valid: z.ZodBoolean;
2889
+ reason: z.ZodOptional<z.ZodString>;
2890
+ providerValidation: z.ZodOptional<z.ZodObject<{
2891
+ valid: z.ZodBoolean;
2892
+ providerId: z.ZodString;
2893
+ trustTier: z.ZodOptional<z.ZodNativeEnum<typeof TrustTier>>;
2894
+ reason: z.ZodOptional<z.ZodString>;
2895
+ blocked: z.ZodOptional<z.ZodBoolean>;
2896
+ }, "strip", z.ZodTypeAny, {
2897
+ reason?: string;
2898
+ valid?: boolean;
2899
+ blocked?: boolean;
2900
+ trustTier?: TrustTier;
2901
+ providerId?: string;
2902
+ }, {
2903
+ reason?: string;
2904
+ valid?: boolean;
2905
+ blocked?: boolean;
2906
+ trustTier?: TrustTier;
2907
+ providerId?: string;
2908
+ }>>;
2909
+ contentValidation: z.ZodOptional<z.ZodObject<{
2910
+ valid: z.ZodBoolean;
2911
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
2912
+ ageSeconds: z.ZodOptional<z.ZodNumber>;
2913
+ format: z.ZodOptional<z.ZodString>;
2914
+ reason: z.ZodOptional<z.ZodString>;
2915
+ }, "strip", z.ZodTypeAny, {
2916
+ reason?: string;
2917
+ valid?: boolean;
2918
+ signatureValid?: boolean;
2919
+ ageSeconds?: number;
2920
+ format?: string;
2921
+ }, {
2922
+ reason?: string;
2923
+ valid?: boolean;
2924
+ signatureValid?: boolean;
2925
+ ageSeconds?: number;
2926
+ format?: string;
2927
+ }>>;
2928
+ injectionScan: z.ZodOptional<z.ZodObject<{
2929
+ detected: z.ZodBoolean;
2930
+ patterns: z.ZodArray<z.ZodString, "many">;
2931
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
2932
+ descriptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2933
+ }, "strip", z.ZodTypeAny, {
2934
+ severity?: "critical" | "low" | "medium" | "high";
2935
+ detected?: boolean;
2936
+ patterns?: string[];
2937
+ descriptions?: string[];
2938
+ }, {
2939
+ severity?: "critical" | "low" | "medium" | "high";
2940
+ detected?: boolean;
2941
+ patterns?: string[];
2942
+ descriptions?: string[];
2943
+ }>>;
2944
+ }, "strip", z.ZodTypeAny, {
2945
+ reason?: string;
2946
+ valid?: boolean;
2947
+ providerValidation?: {
2948
+ reason?: string;
2949
+ valid?: boolean;
2950
+ blocked?: boolean;
2951
+ trustTier?: TrustTier;
2952
+ providerId?: string;
2953
+ };
2954
+ contentValidation?: {
2955
+ reason?: string;
2956
+ valid?: boolean;
2957
+ signatureValid?: boolean;
2958
+ ageSeconds?: number;
2959
+ format?: string;
2960
+ };
2961
+ injectionScan?: {
2962
+ severity?: "critical" | "low" | "medium" | "high";
2963
+ detected?: boolean;
2964
+ patterns?: string[];
2965
+ descriptions?: string[];
2966
+ };
2967
+ }, {
2968
+ reason?: string;
2969
+ valid?: boolean;
2970
+ providerValidation?: {
2971
+ reason?: string;
2972
+ valid?: boolean;
2973
+ blocked?: boolean;
2974
+ trustTier?: TrustTier;
2975
+ providerId?: string;
2976
+ };
2977
+ contentValidation?: {
2978
+ reason?: string;
2979
+ valid?: boolean;
2980
+ signatureValid?: boolean;
2981
+ ageSeconds?: number;
2982
+ format?: string;
2983
+ };
2984
+ injectionScan?: {
2985
+ severity?: "critical" | "low" | "medium" | "high";
2986
+ detected?: boolean;
2987
+ patterns?: string[];
2988
+ descriptions?: string[];
2989
+ };
2990
+ }>, "many">>;
2991
+ inferenceValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2992
+ valid: z.ZodBoolean;
2993
+ reason: z.ZodOptional<z.ZodString>;
2994
+ requiredLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
2995
+ agentLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
2996
+ restrictedDomain: z.ZodOptional<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>>;
2997
+ }, "strip", z.ZodTypeAny, {
2998
+ reason?: string;
2999
+ valid?: boolean;
3000
+ requiredLevel?: InferenceLevel;
3001
+ agentLevel?: InferenceLevel;
3002
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3003
+ }, {
3004
+ reason?: string;
3005
+ valid?: boolean;
3006
+ requiredLevel?: InferenceLevel;
3007
+ agentLevel?: InferenceLevel;
3008
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3009
+ }>, "many">>;
3010
+ channelEnforcement: z.ZodOptional<z.ZodObject<{
3011
+ allowed: z.ZodBoolean;
3012
+ action: z.ZodEnum<["pass", "block", "sanitize", "warn"]>;
3013
+ reason: z.ZodOptional<z.ZodString>;
3014
+ sanitizedContent: z.ZodOptional<z.ZodString>;
3015
+ strippedInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3016
+ }, "strip", z.ZodTypeAny, {
3017
+ action?: "warn" | "block" | "sanitize" | "pass";
3018
+ reason?: string;
3019
+ allowed?: boolean;
3020
+ sanitizedContent?: string;
3021
+ strippedInstructions?: string[];
3022
+ }, {
3023
+ action?: "warn" | "block" | "sanitize" | "pass";
3024
+ reason?: string;
3025
+ allowed?: boolean;
3026
+ sanitizedContent?: string;
3027
+ strippedInstructions?: string[];
3028
+ }>>;
3029
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3030
+ }, "strip", z.ZodTypeAny, {
3031
+ reason?: string;
3032
+ warnings?: string[];
3033
+ allowed?: boolean;
3034
+ instructionValidation?: {
3035
+ reason?: string;
3036
+ valid?: boolean;
3037
+ method?: "exact-match" | "template-match" | "signed-source";
3038
+ templateId?: string;
3039
+ instructionHash?: string;
3040
+ extractedParams?: Record<string, unknown>;
3041
+ };
3042
+ contextValidations?: {
3043
+ reason?: string;
3044
+ valid?: boolean;
3045
+ providerValidation?: {
3046
+ reason?: string;
3047
+ valid?: boolean;
3048
+ blocked?: boolean;
3049
+ trustTier?: TrustTier;
3050
+ providerId?: string;
3051
+ };
3052
+ contentValidation?: {
3053
+ reason?: string;
3054
+ valid?: boolean;
3055
+ signatureValid?: boolean;
3056
+ ageSeconds?: number;
3057
+ format?: string;
3058
+ };
3059
+ injectionScan?: {
3060
+ severity?: "critical" | "low" | "medium" | "high";
3061
+ detected?: boolean;
3062
+ patterns?: string[];
3063
+ descriptions?: string[];
3064
+ };
3065
+ }[];
3066
+ inferenceValidations?: {
3067
+ reason?: string;
3068
+ valid?: boolean;
3069
+ requiredLevel?: InferenceLevel;
3070
+ agentLevel?: InferenceLevel;
3071
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3072
+ }[];
3073
+ channelEnforcement?: {
3074
+ action?: "warn" | "block" | "sanitize" | "pass";
3075
+ reason?: string;
3076
+ allowed?: boolean;
3077
+ sanitizedContent?: string;
3078
+ strippedInstructions?: string[];
3079
+ };
3080
+ }, {
3081
+ reason?: string;
3082
+ warnings?: string[];
3083
+ allowed?: boolean;
3084
+ instructionValidation?: {
3085
+ reason?: string;
3086
+ valid?: boolean;
3087
+ method?: "exact-match" | "template-match" | "signed-source";
3088
+ templateId?: string;
3089
+ instructionHash?: string;
3090
+ extractedParams?: Record<string, unknown>;
3091
+ };
3092
+ contextValidations?: {
3093
+ reason?: string;
3094
+ valid?: boolean;
3095
+ providerValidation?: {
3096
+ reason?: string;
3097
+ valid?: boolean;
3098
+ blocked?: boolean;
3099
+ trustTier?: TrustTier;
3100
+ providerId?: string;
3101
+ };
3102
+ contentValidation?: {
3103
+ reason?: string;
3104
+ valid?: boolean;
3105
+ signatureValid?: boolean;
3106
+ ageSeconds?: number;
3107
+ format?: string;
3108
+ };
3109
+ injectionScan?: {
3110
+ severity?: "critical" | "low" | "medium" | "high";
3111
+ detected?: boolean;
3112
+ patterns?: string[];
3113
+ descriptions?: string[];
3114
+ };
3115
+ }[];
3116
+ inferenceValidations?: {
3117
+ reason?: string;
3118
+ valid?: boolean;
3119
+ requiredLevel?: InferenceLevel;
3120
+ agentLevel?: InferenceLevel;
3121
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3122
+ }[];
3123
+ channelEnforcement?: {
3124
+ action?: "warn" | "block" | "sanitize" | "pass";
3125
+ reason?: string;
3126
+ allowed?: boolean;
3127
+ sanitizedContent?: string;
3128
+ strippedInstructions?: string[];
3129
+ };
3130
+ }>>;
3131
+ postAction: z.ZodOptional<z.ZodObject<{
3132
+ valid: z.ZodBoolean;
3133
+ reason: z.ZodOptional<z.ZodString>;
3134
+ outputValidation: z.ZodOptional<z.ZodObject<{
3135
+ valid: z.ZodBoolean;
3136
+ modified: z.ZodOptional<z.ZodBoolean>;
3137
+ output: z.ZodOptional<z.ZodUnknown>;
3138
+ schemaId: z.ZodOptional<z.ZodString>;
3139
+ reason: z.ZodOptional<z.ZodString>;
3140
+ patternScan: z.ZodOptional<z.ZodObject<{
3141
+ detected: z.ZodBoolean;
3142
+ patterns: z.ZodArray<z.ZodObject<{
3143
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
3144
+ pattern: z.ZodString;
3145
+ description: z.ZodString;
3146
+ matches: z.ZodArray<z.ZodString, "many">;
3147
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
3148
+ }, "strip", z.ZodTypeAny, {
3149
+ pattern?: string;
3150
+ matches?: string[];
3151
+ description?: string;
3152
+ type?: "regex" | "keyword" | "semantic";
3153
+ severity?: "critical" | "low" | "medium" | "high";
3154
+ }, {
3155
+ pattern?: string;
3156
+ matches?: string[];
3157
+ description?: string;
3158
+ type?: "regex" | "keyword" | "semantic";
3159
+ severity?: "critical" | "low" | "medium" | "high";
3160
+ }>, "many">;
3161
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
3162
+ }, "strip", z.ZodTypeAny, {
3163
+ severity?: "critical" | "low" | "medium" | "high";
3164
+ detected?: boolean;
3165
+ patterns?: {
3166
+ pattern?: string;
3167
+ matches?: string[];
3168
+ description?: string;
3169
+ type?: "regex" | "keyword" | "semantic";
3170
+ severity?: "critical" | "low" | "medium" | "high";
3171
+ }[];
3172
+ }, {
3173
+ severity?: "critical" | "low" | "medium" | "high";
3174
+ detected?: boolean;
3175
+ patterns?: {
3176
+ pattern?: string;
3177
+ matches?: string[];
3178
+ description?: string;
3179
+ type?: "regex" | "keyword" | "semantic";
3180
+ severity?: "critical" | "low" | "medium" | "high";
3181
+ }[];
3182
+ }>>;
3183
+ }, "strip", z.ZodTypeAny, {
3184
+ reason?: string;
3185
+ valid?: boolean;
3186
+ modified?: boolean;
3187
+ output?: unknown;
3188
+ schemaId?: string;
3189
+ patternScan?: {
3190
+ severity?: "critical" | "low" | "medium" | "high";
3191
+ detected?: boolean;
3192
+ patterns?: {
3193
+ pattern?: string;
3194
+ matches?: string[];
3195
+ description?: string;
3196
+ type?: "regex" | "keyword" | "semantic";
3197
+ severity?: "critical" | "low" | "medium" | "high";
3198
+ }[];
3199
+ };
3200
+ }, {
3201
+ reason?: string;
3202
+ valid?: boolean;
3203
+ modified?: boolean;
3204
+ output?: unknown;
3205
+ schemaId?: string;
3206
+ patternScan?: {
3207
+ severity?: "critical" | "low" | "medium" | "high";
3208
+ detected?: boolean;
3209
+ patterns?: {
3210
+ pattern?: string;
3211
+ matches?: string[];
3212
+ description?: string;
3213
+ type?: "regex" | "keyword" | "semantic";
3214
+ severity?: "critical" | "low" | "medium" | "high";
3215
+ }[];
3216
+ };
3217
+ }>>;
3218
+ inferenceValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
3219
+ valid: z.ZodBoolean;
3220
+ reason: z.ZodOptional<z.ZodString>;
3221
+ requiredLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
3222
+ agentLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
3223
+ restrictedDomain: z.ZodOptional<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>>;
3224
+ }, "strip", z.ZodTypeAny, {
3225
+ reason?: string;
3226
+ valid?: boolean;
3227
+ requiredLevel?: InferenceLevel;
3228
+ agentLevel?: InferenceLevel;
3229
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3230
+ }, {
3231
+ reason?: string;
3232
+ valid?: boolean;
3233
+ requiredLevel?: InferenceLevel;
3234
+ agentLevel?: InferenceLevel;
3235
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3236
+ }>, "many">>;
3237
+ piiChecks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3238
+ containsPII: z.ZodBoolean;
3239
+ piiTypes: z.ZodArray<z.ZodString, "many">;
3240
+ action: z.ZodEnum<["allowed", "blocked", "redacted", "hashed"]>;
3241
+ modifiedData: z.ZodOptional<z.ZodUnknown>;
3242
+ }, "strip", z.ZodTypeAny, {
3243
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
3244
+ containsPII?: boolean;
3245
+ piiTypes?: string[];
3246
+ modifiedData?: unknown;
3247
+ }, {
3248
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
3249
+ containsPII?: boolean;
3250
+ piiTypes?: string[];
3251
+ modifiedData?: unknown;
3252
+ }>, "many">>;
3253
+ sanitizedOutput: z.ZodOptional<z.ZodUnknown>;
3254
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3255
+ }, "strip", z.ZodTypeAny, {
3256
+ reason?: string;
3257
+ valid?: boolean;
3258
+ warnings?: string[];
3259
+ inferenceValidations?: {
3260
+ reason?: string;
3261
+ valid?: boolean;
3262
+ requiredLevel?: InferenceLevel;
3263
+ agentLevel?: InferenceLevel;
3264
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3265
+ }[];
3266
+ outputValidation?: {
3267
+ reason?: string;
3268
+ valid?: boolean;
3269
+ modified?: boolean;
3270
+ output?: unknown;
3271
+ schemaId?: string;
3272
+ patternScan?: {
3273
+ severity?: "critical" | "low" | "medium" | "high";
3274
+ detected?: boolean;
3275
+ patterns?: {
3276
+ pattern?: string;
3277
+ matches?: string[];
3278
+ description?: string;
3279
+ type?: "regex" | "keyword" | "semantic";
3280
+ severity?: "critical" | "low" | "medium" | "high";
3281
+ }[];
3282
+ };
3283
+ };
3284
+ piiChecks?: {
3285
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
3286
+ containsPII?: boolean;
3287
+ piiTypes?: string[];
3288
+ modifiedData?: unknown;
3289
+ }[];
3290
+ sanitizedOutput?: unknown;
3291
+ }, {
3292
+ reason?: string;
3293
+ valid?: boolean;
3294
+ warnings?: string[];
3295
+ inferenceValidations?: {
3296
+ reason?: string;
3297
+ valid?: boolean;
3298
+ requiredLevel?: InferenceLevel;
3299
+ agentLevel?: InferenceLevel;
3300
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3301
+ }[];
3302
+ outputValidation?: {
3303
+ reason?: string;
3304
+ valid?: boolean;
3305
+ modified?: boolean;
3306
+ output?: unknown;
3307
+ schemaId?: string;
3308
+ patternScan?: {
3309
+ severity?: "critical" | "low" | "medium" | "high";
3310
+ detected?: boolean;
3311
+ patterns?: {
3312
+ pattern?: string;
3313
+ matches?: string[];
3314
+ description?: string;
3315
+ type?: "regex" | "keyword" | "semantic";
3316
+ severity?: "critical" | "low" | "medium" | "high";
3317
+ }[];
3318
+ };
3319
+ };
3320
+ piiChecks?: {
3321
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
3322
+ containsPII?: boolean;
3323
+ piiTypes?: string[];
3324
+ modifiedData?: unknown;
3325
+ }[];
3326
+ sanitizedOutput?: unknown;
3327
+ }>>;
3328
+ reason: z.ZodOptional<z.ZodString>;
3329
+ validatedAt: z.ZodDate;
3330
+ durationMs: z.ZodNumber;
3331
+ }, "strip", z.ZodTypeAny, {
3332
+ durationMs?: number;
3333
+ reason?: string;
3334
+ valid?: boolean;
3335
+ interactionId?: string;
3336
+ agentDid?: string;
3337
+ preAction?: {
3338
+ reason?: string;
3339
+ warnings?: string[];
3340
+ allowed?: boolean;
3341
+ instructionValidation?: {
3342
+ reason?: string;
3343
+ valid?: boolean;
3344
+ method?: "exact-match" | "template-match" | "signed-source";
3345
+ templateId?: string;
3346
+ instructionHash?: string;
3347
+ extractedParams?: Record<string, unknown>;
3348
+ };
3349
+ contextValidations?: {
3350
+ reason?: string;
3351
+ valid?: boolean;
3352
+ providerValidation?: {
3353
+ reason?: string;
3354
+ valid?: boolean;
3355
+ blocked?: boolean;
3356
+ trustTier?: TrustTier;
3357
+ providerId?: string;
3358
+ };
3359
+ contentValidation?: {
3360
+ reason?: string;
3361
+ valid?: boolean;
3362
+ signatureValid?: boolean;
3363
+ ageSeconds?: number;
3364
+ format?: string;
3365
+ };
3366
+ injectionScan?: {
3367
+ severity?: "critical" | "low" | "medium" | "high";
3368
+ detected?: boolean;
3369
+ patterns?: string[];
3370
+ descriptions?: string[];
3371
+ };
3372
+ }[];
3373
+ inferenceValidations?: {
3374
+ reason?: string;
3375
+ valid?: boolean;
3376
+ requiredLevel?: InferenceLevel;
3377
+ agentLevel?: InferenceLevel;
3378
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3379
+ }[];
3380
+ channelEnforcement?: {
3381
+ action?: "warn" | "block" | "sanitize" | "pass";
3382
+ reason?: string;
3383
+ allowed?: boolean;
3384
+ sanitizedContent?: string;
3385
+ strippedInstructions?: string[];
3386
+ };
3387
+ };
3388
+ postAction?: {
3389
+ reason?: string;
3390
+ valid?: boolean;
3391
+ warnings?: string[];
3392
+ inferenceValidations?: {
3393
+ reason?: string;
3394
+ valid?: boolean;
3395
+ requiredLevel?: InferenceLevel;
3396
+ agentLevel?: InferenceLevel;
3397
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3398
+ }[];
3399
+ outputValidation?: {
3400
+ reason?: string;
3401
+ valid?: boolean;
3402
+ modified?: boolean;
3403
+ output?: unknown;
3404
+ schemaId?: string;
3405
+ patternScan?: {
3406
+ severity?: "critical" | "low" | "medium" | "high";
3407
+ detected?: boolean;
3408
+ patterns?: {
3409
+ pattern?: string;
3410
+ matches?: string[];
3411
+ description?: string;
3412
+ type?: "regex" | "keyword" | "semantic";
3413
+ severity?: "critical" | "low" | "medium" | "high";
3414
+ }[];
3415
+ };
3416
+ };
3417
+ piiChecks?: {
3418
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
3419
+ containsPII?: boolean;
3420
+ piiTypes?: string[];
3421
+ modifiedData?: unknown;
3422
+ }[];
3423
+ sanitizedOutput?: unknown;
3424
+ };
3425
+ validatedAt?: Date;
3426
+ }, {
3427
+ durationMs?: number;
3428
+ reason?: string;
3429
+ valid?: boolean;
3430
+ interactionId?: string;
3431
+ agentDid?: string;
3432
+ preAction?: {
3433
+ reason?: string;
3434
+ warnings?: string[];
3435
+ allowed?: boolean;
3436
+ instructionValidation?: {
3437
+ reason?: string;
3438
+ valid?: boolean;
3439
+ method?: "exact-match" | "template-match" | "signed-source";
3440
+ templateId?: string;
3441
+ instructionHash?: string;
3442
+ extractedParams?: Record<string, unknown>;
3443
+ };
3444
+ contextValidations?: {
3445
+ reason?: string;
3446
+ valid?: boolean;
3447
+ providerValidation?: {
3448
+ reason?: string;
3449
+ valid?: boolean;
3450
+ blocked?: boolean;
3451
+ trustTier?: TrustTier;
3452
+ providerId?: string;
3453
+ };
3454
+ contentValidation?: {
3455
+ reason?: string;
3456
+ valid?: boolean;
3457
+ signatureValid?: boolean;
3458
+ ageSeconds?: number;
3459
+ format?: string;
3460
+ };
3461
+ injectionScan?: {
3462
+ severity?: "critical" | "low" | "medium" | "high";
3463
+ detected?: boolean;
3464
+ patterns?: string[];
3465
+ descriptions?: string[];
3466
+ };
3467
+ }[];
3468
+ inferenceValidations?: {
3469
+ reason?: string;
3470
+ valid?: boolean;
3471
+ requiredLevel?: InferenceLevel;
3472
+ agentLevel?: InferenceLevel;
3473
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3474
+ }[];
3475
+ channelEnforcement?: {
3476
+ action?: "warn" | "block" | "sanitize" | "pass";
3477
+ reason?: string;
3478
+ allowed?: boolean;
3479
+ sanitizedContent?: string;
3480
+ strippedInstructions?: string[];
3481
+ };
3482
+ };
3483
+ postAction?: {
3484
+ reason?: string;
3485
+ valid?: boolean;
3486
+ warnings?: string[];
3487
+ inferenceValidations?: {
3488
+ reason?: string;
3489
+ valid?: boolean;
3490
+ requiredLevel?: InferenceLevel;
3491
+ agentLevel?: InferenceLevel;
3492
+ restrictedDomain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3493
+ }[];
3494
+ outputValidation?: {
3495
+ reason?: string;
3496
+ valid?: boolean;
3497
+ modified?: boolean;
3498
+ output?: unknown;
3499
+ schemaId?: string;
3500
+ patternScan?: {
3501
+ severity?: "critical" | "low" | "medium" | "high";
3502
+ detected?: boolean;
3503
+ patterns?: {
3504
+ pattern?: string;
3505
+ matches?: string[];
3506
+ description?: string;
3507
+ type?: "regex" | "keyword" | "semantic";
3508
+ severity?: "critical" | "low" | "medium" | "high";
3509
+ }[];
3510
+ };
3511
+ };
3512
+ piiChecks?: {
3513
+ action?: "allowed" | "blocked" | "redacted" | "hashed";
3514
+ containsPII?: boolean;
3515
+ piiTypes?: string[];
3516
+ modifiedData?: unknown;
3517
+ }[];
3518
+ sanitizedOutput?: unknown;
3519
+ };
3520
+ validatedAt?: Date;
3521
+ }>;
3522
+ /**
3523
+ * Semantic governance configuration for creating credentials
3524
+ */
3525
+ export interface SemanticGovernanceConfig {
3526
+ /** Instruction integrity configuration */
3527
+ instructionIntegrity?: Partial<InstructionIntegrity>;
3528
+ /** Output binding configuration */
3529
+ outputBinding?: Partial<OutputBinding>;
3530
+ /** Inference scope configuration */
3531
+ inferenceScope?: Partial<InferenceScope>;
3532
+ /** Context authentication configuration */
3533
+ contextAuthentication?: Partial<ContextAuthenticationRequirements>;
3534
+ /** Dual-channel configuration */
3535
+ dualChannel?: Partial<DualChannelConfig>;
3536
+ }
3537
+ export declare const SemanticGovernanceConfigSchema: z.ZodObject<{
3538
+ instructionIntegrity: z.ZodOptional<z.ZodObject<{
3539
+ allowedInstructionHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3540
+ instructionTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
3541
+ id: z.ZodString;
3542
+ hash: z.ZodString;
3543
+ description: z.ZodString;
3544
+ parameterSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3545
+ }, "strip", z.ZodTypeAny, {
3546
+ id?: string;
3547
+ description?: string;
3548
+ hash?: string;
3549
+ parameterSchema?: Record<string, unknown>;
3550
+ }, {
3551
+ id?: string;
3552
+ description?: string;
3553
+ hash?: string;
3554
+ parameterSchema?: Record<string, unknown>;
3555
+ }>, "many">>;
3556
+ instructionSource: z.ZodOptional<z.ZodObject<{
3557
+ allowedSources: z.ZodArray<z.ZodString, "many">;
3558
+ requireSignature: z.ZodBoolean;
3559
+ }, "strip", z.ZodTypeAny, {
3560
+ allowedSources?: string[];
3561
+ requireSignature?: boolean;
3562
+ }, {
3563
+ allowedSources?: string[];
3564
+ requireSignature?: boolean;
3565
+ }>>;
3566
+ }, "strip", z.ZodTypeAny, {
3567
+ allowedInstructionHashes?: string[];
3568
+ instructionTemplates?: {
3569
+ id?: string;
3570
+ description?: string;
3571
+ hash?: string;
3572
+ parameterSchema?: Record<string, unknown>;
3573
+ }[];
3574
+ instructionSource?: {
3575
+ allowedSources?: string[];
3576
+ requireSignature?: boolean;
3577
+ };
3578
+ }, {
3579
+ allowedInstructionHashes?: string[];
3580
+ instructionTemplates?: {
3581
+ id?: string;
3582
+ description?: string;
3583
+ hash?: string;
3584
+ parameterSchema?: Record<string, unknown>;
3585
+ }[];
3586
+ instructionSource?: {
3587
+ allowedSources?: string[];
3588
+ requireSignature?: boolean;
3589
+ };
3590
+ }>>;
3591
+ outputBinding: z.ZodOptional<z.ZodObject<{
3592
+ allowedSchemas: z.ZodOptional<z.ZodArray<z.ZodObject<{
3593
+ id: z.ZodString;
3594
+ description: z.ZodString;
3595
+ jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3596
+ }, "strip", z.ZodTypeAny, {
3597
+ id?: string;
3598
+ description?: string;
3599
+ jsonSchema?: Record<string, unknown>;
3600
+ }, {
3601
+ id?: string;
3602
+ description?: string;
3603
+ jsonSchema?: Record<string, unknown>;
3604
+ }>, "many">>;
3605
+ prohibitedPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
3606
+ type: z.ZodEnum<["regex", "keyword", "semantic"]>;
3607
+ pattern: z.ZodString;
3608
+ description: z.ZodString;
3609
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
3610
+ }, "strip", z.ZodTypeAny, {
3611
+ pattern?: string;
3612
+ description?: string;
3613
+ type?: "regex" | "keyword" | "semantic";
3614
+ severity?: "critical" | "low" | "medium" | "high";
3615
+ }, {
3616
+ pattern?: string;
3617
+ description?: string;
3618
+ type?: "regex" | "keyword" | "semantic";
3619
+ severity?: "critical" | "low" | "medium" | "high";
3620
+ }>, "many">>;
3621
+ allowedExternalEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3622
+ blockedExternalEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3623
+ }, "strip", z.ZodTypeAny, {
3624
+ allowedSchemas?: {
3625
+ id?: string;
3626
+ description?: string;
3627
+ jsonSchema?: Record<string, unknown>;
3628
+ }[];
3629
+ prohibitedPatterns?: {
3630
+ pattern?: string;
3631
+ description?: string;
3632
+ type?: "regex" | "keyword" | "semantic";
3633
+ severity?: "critical" | "low" | "medium" | "high";
3634
+ }[];
3635
+ allowedExternalEndpoints?: string[];
3636
+ blockedExternalEndpoints?: string[];
3637
+ }, {
3638
+ allowedSchemas?: {
3639
+ id?: string;
3640
+ description?: string;
3641
+ jsonSchema?: Record<string, unknown>;
3642
+ }[];
3643
+ prohibitedPatterns?: {
3644
+ pattern?: string;
3645
+ description?: string;
3646
+ type?: "regex" | "keyword" | "semantic";
3647
+ severity?: "critical" | "low" | "medium" | "high";
3648
+ }[];
3649
+ allowedExternalEndpoints?: string[];
3650
+ blockedExternalEndpoints?: string[];
3651
+ }>>;
3652
+ inferenceScope: z.ZodOptional<z.ZodObject<{
3653
+ globalLevel: z.ZodOptional<z.ZodNativeEnum<typeof InferenceLevel>>;
3654
+ domainOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
3655
+ domain: z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>;
3656
+ level: z.ZodNativeEnum<typeof InferenceLevel>;
3657
+ reason: z.ZodString;
3658
+ }, "strip", z.ZodTypeAny, {
3659
+ level?: InferenceLevel;
3660
+ reason?: string;
3661
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3662
+ }, {
3663
+ level?: InferenceLevel;
3664
+ reason?: string;
3665
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3666
+ }>, "many">>;
3667
+ derivedKnowledgeHandling: z.ZodOptional<z.ZodObject<{
3668
+ retention: z.ZodEnum<["none", "session", "persistent"]>;
3669
+ allowedRecipients: z.ZodArray<z.ZodString, "many">;
3670
+ crossContextSharing: z.ZodBoolean;
3671
+ }, "strip", z.ZodTypeAny, {
3672
+ retention?: "session" | "none" | "persistent";
3673
+ allowedRecipients?: string[];
3674
+ crossContextSharing?: boolean;
3675
+ }, {
3676
+ retention?: "session" | "none" | "persistent";
3677
+ allowedRecipients?: string[];
3678
+ crossContextSharing?: boolean;
3679
+ }>>;
3680
+ piiInference: z.ZodOptional<z.ZodObject<{
3681
+ allowed: z.ZodBoolean;
3682
+ handling: z.ZodEnum<["block", "redact", "hash"]>;
3683
+ }, "strip", z.ZodTypeAny, {
3684
+ allowed?: boolean;
3685
+ handling?: "block" | "hash" | "redact";
3686
+ }, {
3687
+ allowed?: boolean;
3688
+ handling?: "block" | "hash" | "redact";
3689
+ }>>;
3690
+ }, "strip", z.ZodTypeAny, {
3691
+ globalLevel?: InferenceLevel;
3692
+ domainOverrides?: {
3693
+ level?: InferenceLevel;
3694
+ reason?: string;
3695
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3696
+ }[];
3697
+ derivedKnowledgeHandling?: {
3698
+ retention?: "session" | "none" | "persistent";
3699
+ allowedRecipients?: string[];
3700
+ crossContextSharing?: boolean;
3701
+ };
3702
+ piiInference?: {
3703
+ allowed?: boolean;
3704
+ handling?: "block" | "hash" | "redact";
3705
+ };
3706
+ }, {
3707
+ globalLevel?: InferenceLevel;
3708
+ domainOverrides?: {
3709
+ level?: InferenceLevel;
3710
+ reason?: string;
3711
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3712
+ }[];
3713
+ derivedKnowledgeHandling?: {
3714
+ retention?: "session" | "none" | "persistent";
3715
+ allowedRecipients?: string[];
3716
+ crossContextSharing?: boolean;
3717
+ };
3718
+ piiInference?: {
3719
+ allowed?: boolean;
3720
+ handling?: "block" | "hash" | "redact";
3721
+ };
3722
+ }>>;
3723
+ contextAuthentication: z.ZodOptional<z.ZodObject<{
3724
+ required: z.ZodOptional<z.ZodBoolean>;
3725
+ minTrustTier: z.ZodOptional<z.ZodNativeEnum<typeof TrustTier>>;
3726
+ requiredDomains: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">>>;
3727
+ allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3728
+ blockedProviders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3729
+ contentIntegrity: z.ZodOptional<z.ZodObject<{
3730
+ signatureRequired: z.ZodBoolean;
3731
+ maxAge: z.ZodNumber;
3732
+ allowedFormats: z.ZodArray<z.ZodString, "many">;
3733
+ }, "strip", z.ZodTypeAny, {
3734
+ signatureRequired?: boolean;
3735
+ maxAge?: number;
3736
+ allowedFormats?: string[];
3737
+ }, {
3738
+ signatureRequired?: boolean;
3739
+ maxAge?: number;
3740
+ allowedFormats?: string[];
3741
+ }>>;
3742
+ }, "strip", z.ZodTypeAny, {
3743
+ required?: boolean;
3744
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
3745
+ minTrustTier?: TrustTier;
3746
+ allowedProviders?: string[];
3747
+ blockedProviders?: string[];
3748
+ contentIntegrity?: {
3749
+ signatureRequired?: boolean;
3750
+ maxAge?: number;
3751
+ allowedFormats?: string[];
3752
+ };
3753
+ }, {
3754
+ required?: boolean;
3755
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
3756
+ minTrustTier?: TrustTier;
3757
+ allowedProviders?: string[];
3758
+ blockedProviders?: string[];
3759
+ contentIntegrity?: {
3760
+ signatureRequired?: boolean;
3761
+ maxAge?: number;
3762
+ allowedFormats?: string[];
3763
+ };
3764
+ }>>;
3765
+ dualChannel: z.ZodOptional<z.ZodObject<{
3766
+ enforced: z.ZodOptional<z.ZodBoolean>;
3767
+ controlPlaneSources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3768
+ dataPlaneTreatment: z.ZodOptional<z.ZodEnum<["block", "sanitize", "warn"]>>;
3769
+ }, "strip", z.ZodTypeAny, {
3770
+ enforced?: boolean;
3771
+ controlPlaneSources?: string[];
3772
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
3773
+ }, {
3774
+ enforced?: boolean;
3775
+ controlPlaneSources?: string[];
3776
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
3777
+ }>>;
3778
+ }, "strip", z.ZodTypeAny, {
3779
+ instructionIntegrity?: {
3780
+ allowedInstructionHashes?: string[];
3781
+ instructionTemplates?: {
3782
+ id?: string;
3783
+ description?: string;
3784
+ hash?: string;
3785
+ parameterSchema?: Record<string, unknown>;
3786
+ }[];
3787
+ instructionSource?: {
3788
+ allowedSources?: string[];
3789
+ requireSignature?: boolean;
3790
+ };
3791
+ };
3792
+ outputBinding?: {
3793
+ allowedSchemas?: {
3794
+ id?: string;
3795
+ description?: string;
3796
+ jsonSchema?: Record<string, unknown>;
3797
+ }[];
3798
+ prohibitedPatterns?: {
3799
+ pattern?: string;
3800
+ description?: string;
3801
+ type?: "regex" | "keyword" | "semantic";
3802
+ severity?: "critical" | "low" | "medium" | "high";
3803
+ }[];
3804
+ allowedExternalEndpoints?: string[];
3805
+ blockedExternalEndpoints?: string[];
3806
+ };
3807
+ inferenceScope?: {
3808
+ globalLevel?: InferenceLevel;
3809
+ domainOverrides?: {
3810
+ level?: InferenceLevel;
3811
+ reason?: string;
3812
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3813
+ }[];
3814
+ derivedKnowledgeHandling?: {
3815
+ retention?: "session" | "none" | "persistent";
3816
+ allowedRecipients?: string[];
3817
+ crossContextSharing?: boolean;
3818
+ };
3819
+ piiInference?: {
3820
+ allowed?: boolean;
3821
+ handling?: "block" | "hash" | "redact";
3822
+ };
3823
+ };
3824
+ contextAuthentication?: {
3825
+ required?: boolean;
3826
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
3827
+ minTrustTier?: TrustTier;
3828
+ allowedProviders?: string[];
3829
+ blockedProviders?: string[];
3830
+ contentIntegrity?: {
3831
+ signatureRequired?: boolean;
3832
+ maxAge?: number;
3833
+ allowedFormats?: string[];
3834
+ };
3835
+ };
3836
+ dualChannel?: {
3837
+ enforced?: boolean;
3838
+ controlPlaneSources?: string[];
3839
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
3840
+ };
3841
+ }, {
3842
+ instructionIntegrity?: {
3843
+ allowedInstructionHashes?: string[];
3844
+ instructionTemplates?: {
3845
+ id?: string;
3846
+ description?: string;
3847
+ hash?: string;
3848
+ parameterSchema?: Record<string, unknown>;
3849
+ }[];
3850
+ instructionSource?: {
3851
+ allowedSources?: string[];
3852
+ requireSignature?: boolean;
3853
+ };
3854
+ };
3855
+ outputBinding?: {
3856
+ allowedSchemas?: {
3857
+ id?: string;
3858
+ description?: string;
3859
+ jsonSchema?: Record<string, unknown>;
3860
+ }[];
3861
+ prohibitedPatterns?: {
3862
+ pattern?: string;
3863
+ description?: string;
3864
+ type?: "regex" | "keyword" | "semantic";
3865
+ severity?: "critical" | "low" | "medium" | "high";
3866
+ }[];
3867
+ allowedExternalEndpoints?: string[];
3868
+ blockedExternalEndpoints?: string[];
3869
+ };
3870
+ inferenceScope?: {
3871
+ globalLevel?: InferenceLevel;
3872
+ domainOverrides?: {
3873
+ level?: InferenceLevel;
3874
+ reason?: string;
3875
+ domain?: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S";
3876
+ }[];
3877
+ derivedKnowledgeHandling?: {
3878
+ retention?: "session" | "none" | "persistent";
3879
+ allowedRecipients?: string[];
3880
+ crossContextSharing?: boolean;
3881
+ };
3882
+ piiInference?: {
3883
+ allowed?: boolean;
3884
+ handling?: "block" | "hash" | "redact";
3885
+ };
3886
+ };
3887
+ contextAuthentication?: {
3888
+ required?: boolean;
3889
+ requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
3890
+ minTrustTier?: TrustTier;
3891
+ allowedProviders?: string[];
3892
+ blockedProviders?: string[];
3893
+ contentIntegrity?: {
3894
+ signatureRequired?: boolean;
3895
+ maxAge?: number;
3896
+ allowedFormats?: string[];
3897
+ };
3898
+ };
3899
+ dualChannel?: {
3900
+ enforced?: boolean;
3901
+ controlPlaneSources?: string[];
3902
+ dataPlaneTreatment?: "warn" | "block" | "sanitize";
3903
+ };
3904
+ }>;
3905
+ /**
3906
+ * Default instruction integrity configuration
3907
+ */
3908
+ export declare const DEFAULT_INSTRUCTION_INTEGRITY: InstructionIntegrity;
3909
+ /**
3910
+ * Default output binding configuration
3911
+ */
3912
+ export declare const DEFAULT_OUTPUT_BINDING: OutputBinding;
3913
+ /**
3914
+ * Default inference scope configuration
3915
+ */
3916
+ export declare const DEFAULT_INFERENCE_SCOPE: InferenceScope;
3917
+ /**
3918
+ * Default context authentication configuration
3919
+ */
3920
+ export declare const DEFAULT_CONTEXT_AUTHENTICATION: ContextAuthenticationRequirements;
3921
+ /**
3922
+ * Default dual-channel configuration
3923
+ */
3924
+ export declare const DEFAULT_DUAL_CHANNEL: DualChannelConfig;
3925
+ //# sourceMappingURL=types.d.ts.map