@llm-dev-ops/agentics-cli 1.4.53 → 1.4.55

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 (325) hide show
  1. package/dist/bundled-agents/connector-hub-agents/package-lock.json +11697 -0
  2. package/dist/bundled-agents/connector-hub-agents/package.json +75 -0
  3. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +22 -0
  4. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +57 -0
  5. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +17 -0
  6. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +14 -0
  7. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +35 -0
  8. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +1 -0
  9. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +55 -0
  10. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +40 -0
  11. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +1 -0
  12. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +22 -0
  13. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +38 -0
  14. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +1 -0
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +34 -0
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +186 -0
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +1 -0
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +36 -0
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +121 -0
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +1 -0
  21. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  22. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +948 -0
  23. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +1 -0
  24. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +9 -0
  25. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +27 -0
  26. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +1 -0
  27. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  28. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +50 -0
  29. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +214 -0
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +91 -0
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +1 -0
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +1166 -0
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +308 -0
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +1 -0
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +59 -0
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +62 -0
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +1 -0
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +400 -0
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +113 -0
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +1 -0
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +250 -0
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +169 -0
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +1 -0
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +17 -0
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +97 -0
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +1 -0
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +246 -0
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +1 -0
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +1085 -0
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +218 -0
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +949 -0
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +253 -0
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +657 -0
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +205 -0
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +285 -0
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +106 -0
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +1 -0
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +581 -0
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +136 -0
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +1 -0
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +791 -0
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +225 -0
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +1 -0
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +120 -0
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +535 -0
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +1 -0
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +9 -0
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +18 -0
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +1 -0
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +4 -0
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +9 -0
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +1 -0
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +10 -0
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +25 -0
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +1 -0
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +25 -0
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +1 -0
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +6 -0
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +15 -0
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +1 -0
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +192 -0
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +1 -0
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +11 -0
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +25 -0
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +1 -0
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +127 -0
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +483 -0
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +1 -0
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +49 -0
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +125 -0
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +1 -0
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +73 -0
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +192 -0
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +1 -0
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +11 -0
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +27 -0
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +1 -0
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +122 -0
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +645 -0
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +1 -0
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +156 -0
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +1 -0
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +88 -0
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +246 -0
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +1 -0
  126. package/dist/bundled-agents/copilot-agents/functions/index.js +4 -0
  127. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +29 -0
  128. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +14 -0
  129. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +35 -0
  130. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +1 -0
  131. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +27 -0
  132. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +21 -0
  133. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +1 -0
  134. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +22 -0
  135. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +38 -0
  136. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +1 -0
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +34 -0
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +174 -0
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +1 -0
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +27 -0
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +107 -0
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +1 -0
  143. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  144. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +941 -0
  145. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +1 -0
  146. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +9 -0
  147. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +27 -0
  148. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +1 -0
  149. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  150. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +50 -0
  151. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +185 -0
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +86 -0
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +1 -0
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +1081 -0
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +305 -0
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +1 -0
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +59 -0
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +62 -0
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +1 -0
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +315 -0
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +110 -0
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +1 -0
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +250 -0
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +169 -0
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +1 -0
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +16 -0
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +88 -0
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +1 -0
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +246 -0
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +1 -0
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +1000 -0
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +215 -0
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +864 -0
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +250 -0
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +572 -0
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +202 -0
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +496 -0
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +133 -0
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +1 -0
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +706 -0
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +222 -0
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +1 -0
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +107 -0
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +360 -0
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +1 -0
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +9 -0
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +18 -0
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +1 -0
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +4 -0
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +9 -0
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +1 -0
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +10 -0
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +25 -0
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +1 -0
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +25 -0
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +1 -0
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +6 -0
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +15 -0
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +1 -0
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +192 -0
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +1 -0
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +11 -0
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +25 -0
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +1 -0
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +119 -0
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +421 -0
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +1 -0
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +49 -0
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +125 -0
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +1 -0
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +73 -0
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +192 -0
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +1 -0
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +11 -0
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +27 -0
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +1 -0
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +122 -0
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +645 -0
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +1 -0
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +156 -0
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +1 -0
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +88 -0
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +246 -0
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +1 -0
  245. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +5473 -0
  246. package/dist/bundled-agents/copilot-agents/functions/package.json +40 -0
  247. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +71 -0
  248. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +36 -0
  249. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +77 -0
  250. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +340 -0
  251. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +53 -0
  252. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +201 -0
  253. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +148 -0
  254. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +31 -0
  255. package/dist/bundled-agents/copilot-agents/package-lock.json +11825 -0
  256. package/dist/bundled-agents/copilot-agents/package.json +5 -0
  257. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +8282 -0
  258. package/dist/bundled-agents/governance-dashboard-agents/package.json +13 -0
  259. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +590 -0
  260. package/dist/bundled-agents/orchestrator-agents/functions/index.js +442 -0
  261. package/dist/bundled-agents/orchestrator-agents/functions/test.js +325 -0
  262. package/dist/bundled-agents/orchestrator-agents/index.js +6 -0
  263. package/dist/bundled-agents/orchestrator-agents/package-lock.json +13254 -0
  264. package/dist/bundled-agents/orchestrator-agents/package.json +20 -0
  265. package/dist/bundled-agents/platform-agents/package-lock.json +1723 -0
  266. package/dist/bundled-agents/platform-agents/package.json +22 -0
  267. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +463 -0
  268. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +234 -0
  269. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +229 -0
  270. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +327 -0
  271. package/dist/bundled-agents/platform-agents/src/claude.ts +71 -0
  272. package/dist/bundled-agents/platform-agents/src/cors.ts +24 -0
  273. package/dist/bundled-agents/platform-agents/src/envelope.ts +37 -0
  274. package/dist/bundled-agents/platform-agents/src/health.ts +20 -0
  275. package/dist/bundled-agents/platform-agents/src/index.ts +171 -0
  276. package/dist/bundled-agents/platform-agents/src/router.ts +38 -0
  277. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +238 -0
  278. package/dist/bundled-agents/platform-agents/tsconfig.json +19 -0
  279. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +3 -0
  280. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +1 -0
  281. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +43 -0
  282. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +1 -0
  283. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +3 -0
  284. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +1 -0
  285. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +30 -0
  286. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +1 -0
  287. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +3 -0
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +1 -0
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +53 -0
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +1 -0
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +3 -0
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +1 -0
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +51 -0
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +1 -0
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +3 -0
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +1 -0
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +36 -0
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +1 -0
  299. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +2 -0
  300. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +1 -0
  301. package/dist/bundled-agents/sentinel-agents/lib/index.js +70 -0
  302. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +1 -0
  303. package/dist/bundled-agents/sentinel-agents/package-lock.json +12591 -0
  304. package/dist/bundled-agents/sentinel-agents/package.json +62 -0
  305. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +46 -0
  306. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +33 -0
  307. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +56 -0
  308. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +54 -0
  309. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +38 -0
  310. package/dist/bundled-agents/sentinel-agents/src/claude.ts +71 -0
  311. package/dist/bundled-agents/sentinel-agents/src/index.ts +77 -0
  312. package/dist/bundled-agents/sentinel-agents/tsconfig.json +20 -0
  313. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  314. package/dist/pipeline/auto-chain.js +52 -0
  315. package/dist/pipeline/auto-chain.js.map +1 -1
  316. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  317. package/dist/pipeline/phase2/phases/ddd-generator.js +194 -2
  318. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  319. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  320. package/dist/pipeline/phase2/phases/sparc-specification.js +42 -33
  321. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  322. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  323. package/dist/pipeline/phase3/phases/domain-codegen.js +438 -0
  324. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  325. package/package.json +1 -1
@@ -0,0 +1,1081 @@
1
+ /**
2
+ * Config Validation Agent Schemas
3
+ *
4
+ * Purpose: Validate configuration artifacts for structural and semantic correctness
5
+ * Classification: CONFIGURATION_VALIDATION, STATIC_ANALYSIS
6
+ * decision_type: config_validation
7
+ *
8
+ * Scope:
9
+ * - Validate schemas
10
+ * - Validate semantic constraints
11
+ * - Detect missing, conflicting, deprecated, or unsafe values
12
+ * - Assess configuration readiness
13
+ *
14
+ * Must Never:
15
+ * - Modify configuration
16
+ * - Apply defaults
17
+ * - Auto-fix values
18
+ * - Enforce policy
19
+ * - Block execution
20
+ */
21
+ import { z } from 'zod';
22
+ /**
23
+ * Severity levels for validation findings
24
+ */
25
+ export declare const ValidationSeverity: {
26
+ readonly INFO: "info";
27
+ readonly WARNING: "warning";
28
+ readonly ERROR: "error";
29
+ readonly CRITICAL: "critical";
30
+ };
31
+ export type ValidationSeverityType = typeof ValidationSeverity[keyof typeof ValidationSeverity];
32
+ /**
33
+ * Categories of validation issues
34
+ */
35
+ export declare const ValidationCategory: {
36
+ readonly SCHEMA: "schema";
37
+ readonly SEMANTIC: "semantic";
38
+ readonly MISSING: "missing";
39
+ readonly CONFLICT: "conflict";
40
+ readonly DEPRECATED: "deprecated";
41
+ readonly UNSAFE: "unsafe";
42
+ readonly TYPE_MISMATCH: "type_mismatch";
43
+ readonly CONSTRAINT: "constraint";
44
+ readonly COMPATIBILITY: "compatibility";
45
+ };
46
+ export type ValidationCategoryType = typeof ValidationCategory[keyof typeof ValidationCategory];
47
+ /**
48
+ * Single validation finding
49
+ */
50
+ export declare const ValidationFindingSchema: z.ZodObject<{
51
+ /** Unique finding identifier */
52
+ finding_id: z.ZodString;
53
+ /** Category of the issue */
54
+ category: z.ZodEnum<["schema", "semantic", "missing", "conflict", "deprecated", "unsafe", "type_mismatch", "constraint", "compatibility"]>;
55
+ /** Severity level */
56
+ severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
57
+ /** JSON path to the problematic value */
58
+ path: z.ZodString;
59
+ /** Human-readable description of the issue */
60
+ message: z.ZodString;
61
+ /** The actual value found (if applicable) */
62
+ actual_value: z.ZodOptional<z.ZodUnknown>;
63
+ /** Expected value or type (if applicable) */
64
+ expected: z.ZodOptional<z.ZodString>;
65
+ /** Related paths that contribute to this finding */
66
+ related_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
67
+ /** Documentation reference for this issue */
68
+ doc_reference: z.ZodOptional<z.ZodString>;
69
+ /** Tags for categorization */
70
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ path: string;
73
+ message: string;
74
+ tags: string[];
75
+ severity: "error" | "critical" | "info" | "warning";
76
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
77
+ finding_id: string;
78
+ related_paths: string[];
79
+ expected?: string | undefined;
80
+ actual_value?: unknown;
81
+ doc_reference?: string | undefined;
82
+ }, {
83
+ path: string;
84
+ message: string;
85
+ severity: "error" | "critical" | "info" | "warning";
86
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
87
+ finding_id: string;
88
+ expected?: string | undefined;
89
+ tags?: string[] | undefined;
90
+ actual_value?: unknown;
91
+ related_paths?: string[] | undefined;
92
+ doc_reference?: string | undefined;
93
+ }>;
94
+ export type ValidationFinding = z.infer<typeof ValidationFindingSchema>;
95
+ /**
96
+ * Schema validation result
97
+ */
98
+ export declare const SchemaValidationResultSchema: z.ZodObject<{
99
+ /** Whether schema validation passed */
100
+ valid: z.ZodBoolean;
101
+ /** Schema that was validated against */
102
+ schema_id: z.ZodOptional<z.ZodString>;
103
+ /** Schema version */
104
+ schema_version: z.ZodOptional<z.ZodString>;
105
+ /** Findings from schema validation */
106
+ findings: z.ZodArray<z.ZodObject<{
107
+ /** Unique finding identifier */
108
+ finding_id: z.ZodString;
109
+ /** Category of the issue */
110
+ category: z.ZodEnum<["schema", "semantic", "missing", "conflict", "deprecated", "unsafe", "type_mismatch", "constraint", "compatibility"]>;
111
+ /** Severity level */
112
+ severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
113
+ /** JSON path to the problematic value */
114
+ path: z.ZodString;
115
+ /** Human-readable description of the issue */
116
+ message: z.ZodString;
117
+ /** The actual value found (if applicable) */
118
+ actual_value: z.ZodOptional<z.ZodUnknown>;
119
+ /** Expected value or type (if applicable) */
120
+ expected: z.ZodOptional<z.ZodString>;
121
+ /** Related paths that contribute to this finding */
122
+ related_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
123
+ /** Documentation reference for this issue */
124
+ doc_reference: z.ZodOptional<z.ZodString>;
125
+ /** Tags for categorization */
126
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ path: string;
129
+ message: string;
130
+ tags: string[];
131
+ severity: "error" | "critical" | "info" | "warning";
132
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
133
+ finding_id: string;
134
+ related_paths: string[];
135
+ expected?: string | undefined;
136
+ actual_value?: unknown;
137
+ doc_reference?: string | undefined;
138
+ }, {
139
+ path: string;
140
+ message: string;
141
+ severity: "error" | "critical" | "info" | "warning";
142
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
143
+ finding_id: string;
144
+ expected?: string | undefined;
145
+ tags?: string[] | undefined;
146
+ actual_value?: unknown;
147
+ related_paths?: string[] | undefined;
148
+ doc_reference?: string | undefined;
149
+ }>, "many">;
150
+ }, "strip", z.ZodTypeAny, {
151
+ valid: boolean;
152
+ findings: {
153
+ path: string;
154
+ message: string;
155
+ tags: string[];
156
+ severity: "error" | "critical" | "info" | "warning";
157
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
158
+ finding_id: string;
159
+ related_paths: string[];
160
+ expected?: string | undefined;
161
+ actual_value?: unknown;
162
+ doc_reference?: string | undefined;
163
+ }[];
164
+ schema_id?: string | undefined;
165
+ schema_version?: string | undefined;
166
+ }, {
167
+ valid: boolean;
168
+ findings: {
169
+ path: string;
170
+ message: string;
171
+ severity: "error" | "critical" | "info" | "warning";
172
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
173
+ finding_id: string;
174
+ expected?: string | undefined;
175
+ tags?: string[] | undefined;
176
+ actual_value?: unknown;
177
+ related_paths?: string[] | undefined;
178
+ doc_reference?: string | undefined;
179
+ }[];
180
+ schema_id?: string | undefined;
181
+ schema_version?: string | undefined;
182
+ }>;
183
+ export type SchemaValidationResult = z.infer<typeof SchemaValidationResultSchema>;
184
+ /**
185
+ * Semantic constraint check
186
+ */
187
+ export declare const SemanticConstraintSchema: z.ZodObject<{
188
+ /** Constraint identifier */
189
+ constraint_id: z.ZodString;
190
+ /** Human-readable constraint name */
191
+ name: z.ZodString;
192
+ /** Description of what this constraint checks */
193
+ description: z.ZodString;
194
+ /** Whether the constraint passed */
195
+ passed: z.ZodBoolean;
196
+ /** Paths involved in this constraint */
197
+ paths: z.ZodArray<z.ZodString, "many">;
198
+ /** Details if constraint failed */
199
+ failure_detail: z.ZodOptional<z.ZodString>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ name: string;
202
+ description: string;
203
+ constraint_id: string;
204
+ passed: boolean;
205
+ paths: string[];
206
+ failure_detail?: string | undefined;
207
+ }, {
208
+ name: string;
209
+ description: string;
210
+ constraint_id: string;
211
+ passed: boolean;
212
+ paths: string[];
213
+ failure_detail?: string | undefined;
214
+ }>;
215
+ export type SemanticConstraint = z.infer<typeof SemanticConstraintSchema>;
216
+ /**
217
+ * Deprecated value detection
218
+ */
219
+ export declare const DeprecatedValueSchema: z.ZodObject<{
220
+ /** Path to deprecated value */
221
+ path: z.ZodString;
222
+ /** The deprecated value */
223
+ value: z.ZodUnknown;
224
+ /** When it was deprecated */
225
+ deprecated_since: z.ZodOptional<z.ZodString>;
226
+ /** When it will be removed */
227
+ removal_version: z.ZodOptional<z.ZodString>;
228
+ /** Suggested replacement (informational only, NOT applied) */
229
+ suggested_replacement: z.ZodOptional<z.ZodString>;
230
+ /** Migration documentation */
231
+ migration_guide: z.ZodOptional<z.ZodString>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ path: string;
234
+ value?: unknown;
235
+ deprecated_since?: string | undefined;
236
+ removal_version?: string | undefined;
237
+ suggested_replacement?: string | undefined;
238
+ migration_guide?: string | undefined;
239
+ }, {
240
+ path: string;
241
+ value?: unknown;
242
+ deprecated_since?: string | undefined;
243
+ removal_version?: string | undefined;
244
+ suggested_replacement?: string | undefined;
245
+ migration_guide?: string | undefined;
246
+ }>;
247
+ export type DeprecatedValue = z.infer<typeof DeprecatedValueSchema>;
248
+ /**
249
+ * Unsafe configuration detection
250
+ */
251
+ export declare const UnsafeConfigSchema: z.ZodObject<{
252
+ /** Path to unsafe configuration */
253
+ path: z.ZodString;
254
+ /** The unsafe value */
255
+ value: z.ZodUnknown;
256
+ /** Type of security concern */
257
+ concern_type: z.ZodEnum<["hardcoded_secret", "weak_encryption", "insecure_protocol", "overly_permissive", "missing_authentication", "exposed_endpoint", "debug_enabled", "verbose_logging", "other"]>;
258
+ /** Severity of the security concern */
259
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
260
+ /** Description of the risk */
261
+ risk_description: z.ZodString;
262
+ /** CWE reference if applicable */
263
+ cwe_reference: z.ZodOptional<z.ZodString>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ path: string;
266
+ severity: "low" | "medium" | "high" | "critical";
267
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
268
+ risk_description: string;
269
+ value?: unknown;
270
+ cwe_reference?: string | undefined;
271
+ }, {
272
+ path: string;
273
+ severity: "low" | "medium" | "high" | "critical";
274
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
275
+ risk_description: string;
276
+ value?: unknown;
277
+ cwe_reference?: string | undefined;
278
+ }>;
279
+ export type UnsafeConfig = z.infer<typeof UnsafeConfigSchema>;
280
+ /**
281
+ * Configuration conflict
282
+ */
283
+ export declare const ConfigConflictSchema: z.ZodObject<{
284
+ /** Conflict identifier */
285
+ conflict_id: z.ZodString;
286
+ /** Type of conflict */
287
+ conflict_type: z.ZodEnum<["mutually_exclusive", "dependency_missing", "circular_reference", "value_incompatibility", "version_mismatch"]>;
288
+ /** Paths involved in the conflict */
289
+ conflicting_paths: z.ZodArray<z.ZodString, "many">;
290
+ /** Description of the conflict */
291
+ description: z.ZodString;
292
+ /** Severity */
293
+ severity: z.ZodEnum<["warning", "error", "critical"]>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ description: string;
296
+ severity: "error" | "critical" | "warning";
297
+ conflict_id: string;
298
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
299
+ conflicting_paths: string[];
300
+ }, {
301
+ description: string;
302
+ severity: "error" | "critical" | "warning";
303
+ conflict_id: string;
304
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
305
+ conflicting_paths: string[];
306
+ }>;
307
+ export type ConfigConflict = z.infer<typeof ConfigConflictSchema>;
308
+ /**
309
+ * Missing required configuration
310
+ */
311
+ export declare const MissingConfigSchema: z.ZodObject<{
312
+ /** Path where value is missing */
313
+ path: z.ZodString;
314
+ /** Expected type */
315
+ expected_type: z.ZodString;
316
+ /** Whether this is required or recommended */
317
+ requirement_level: z.ZodEnum<["required", "recommended", "optional_but_advised"]>;
318
+ /** Description of what this config does */
319
+ description: z.ZodString;
320
+ /** Default that would be used if not specified (informational) */
321
+ implicit_default: z.ZodOptional<z.ZodUnknown>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ path: string;
324
+ description: string;
325
+ expected_type: string;
326
+ requirement_level: "required" | "recommended" | "optional_but_advised";
327
+ implicit_default?: unknown;
328
+ }, {
329
+ path: string;
330
+ description: string;
331
+ expected_type: string;
332
+ requirement_level: "required" | "recommended" | "optional_but_advised";
333
+ implicit_default?: unknown;
334
+ }>;
335
+ export type MissingConfig = z.infer<typeof MissingConfigSchema>;
336
+ /**
337
+ * Readiness assessment
338
+ */
339
+ export declare const ReadinessAssessmentSchema: z.ZodObject<{
340
+ /** Overall readiness status */
341
+ status: z.ZodEnum<["ready", "ready_with_warnings", "not_ready", "critical_issues"]>;
342
+ /** Readiness score (0.0 - 1.0) */
343
+ score: z.ZodNumber;
344
+ /** Breakdown by category */
345
+ category_scores: z.ZodRecord<z.ZodString, z.ZodNumber>;
346
+ /** Blocking issues that prevent readiness */
347
+ blocking_issues: z.ZodArray<z.ZodString, "many">;
348
+ /** Non-blocking warnings */
349
+ warnings: z.ZodArray<z.ZodString, "many">;
350
+ /** Recommendations (informational only) */
351
+ recommendations: z.ZodArray<z.ZodString, "many">;
352
+ }, "strip", z.ZodTypeAny, {
353
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
354
+ recommendations: string[];
355
+ score: number;
356
+ category_scores: Record<string, number>;
357
+ blocking_issues: string[];
358
+ warnings: string[];
359
+ }, {
360
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
361
+ recommendations: string[];
362
+ score: number;
363
+ category_scores: Record<string, number>;
364
+ blocking_issues: string[];
365
+ warnings: string[];
366
+ }>;
367
+ export type ReadinessAssessment = z.infer<typeof ReadinessAssessmentSchema>;
368
+ /**
369
+ * Config Validation Agent Input Schema
370
+ */
371
+ export declare const ConfigValidationInputSchema: z.ZodObject<{
372
+ /** The configuration to validate (JSON/YAML parsed to object) */
373
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
374
+ /** Configuration format */
375
+ format: z.ZodDefault<z.ZodEnum<["json", "yaml", "toml", "env", "unknown"]>>;
376
+ /** Optional schema to validate against */
377
+ schema: z.ZodOptional<z.ZodObject<{
378
+ /** Schema content or reference */
379
+ content: z.ZodOptional<z.ZodUnknown>;
380
+ /** Schema URI/ID */
381
+ uri: z.ZodOptional<z.ZodString>;
382
+ /** Schema format */
383
+ format: z.ZodOptional<z.ZodEnum<["json-schema", "zod", "yup", "joi", "custom"]>>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ format?: "custom" | "json-schema" | "zod" | "yup" | "joi" | undefined;
386
+ content?: unknown;
387
+ uri?: string | undefined;
388
+ }, {
389
+ format?: "custom" | "json-schema" | "zod" | "yup" | "joi" | undefined;
390
+ content?: unknown;
391
+ uri?: string | undefined;
392
+ }>>;
393
+ /** Configuration context */
394
+ context: z.ZodOptional<z.ZodObject<{
395
+ /** Environment (dev, staging, prod) */
396
+ environment: z.ZodOptional<z.ZodString>;
397
+ /** Application name */
398
+ application: z.ZodOptional<z.ZodString>;
399
+ /** Version being validated */
400
+ version: z.ZodOptional<z.ZodString>;
401
+ /** Known deprecated keys to check */
402
+ deprecated_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
403
+ /** Custom semantic constraints */
404
+ constraints: z.ZodOptional<z.ZodArray<z.ZodObject<{
405
+ name: z.ZodString;
406
+ description: z.ZodString;
407
+ check: z.ZodString;
408
+ }, "strip", z.ZodTypeAny, {
409
+ name: string;
410
+ description: string;
411
+ check: string;
412
+ }, {
413
+ name: string;
414
+ description: string;
415
+ check: string;
416
+ }>, "many">>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ version?: string | undefined;
419
+ constraints?: {
420
+ name: string;
421
+ description: string;
422
+ check: string;
423
+ }[] | undefined;
424
+ environment?: string | undefined;
425
+ application?: string | undefined;
426
+ deprecated_keys?: string[] | undefined;
427
+ }, {
428
+ version?: string | undefined;
429
+ constraints?: {
430
+ name: string;
431
+ description: string;
432
+ check: string;
433
+ }[] | undefined;
434
+ environment?: string | undefined;
435
+ application?: string | undefined;
436
+ deprecated_keys?: string[] | undefined;
437
+ }>>;
438
+ /** Validation options */
439
+ options: z.ZodOptional<z.ZodObject<{
440
+ /** Check for deprecated values */
441
+ check_deprecated: z.ZodDefault<z.ZodBoolean>;
442
+ /** Check for security issues */
443
+ check_security: z.ZodDefault<z.ZodBoolean>;
444
+ /** Check for conflicts */
445
+ check_conflicts: z.ZodDefault<z.ZodBoolean>;
446
+ /** Check for missing required values */
447
+ check_missing: z.ZodDefault<z.ZodBoolean>;
448
+ /** Strict mode (treat warnings as errors) */
449
+ strict: z.ZodDefault<z.ZodBoolean>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ strict: boolean;
452
+ check_deprecated: boolean;
453
+ check_security: boolean;
454
+ check_conflicts: boolean;
455
+ check_missing: boolean;
456
+ }, {
457
+ strict?: boolean | undefined;
458
+ check_deprecated?: boolean | undefined;
459
+ check_security?: boolean | undefined;
460
+ check_conflicts?: boolean | undefined;
461
+ check_missing?: boolean | undefined;
462
+ }>>;
463
+ /** Request ID for tracing */
464
+ request_id: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ config: Record<string, unknown>;
467
+ format: "unknown" | "json" | "yaml" | "toml" | "env";
468
+ options?: {
469
+ strict: boolean;
470
+ check_deprecated: boolean;
471
+ check_security: boolean;
472
+ check_conflicts: boolean;
473
+ check_missing: boolean;
474
+ } | undefined;
475
+ context?: {
476
+ version?: string | undefined;
477
+ constraints?: {
478
+ name: string;
479
+ description: string;
480
+ check: string;
481
+ }[] | undefined;
482
+ environment?: string | undefined;
483
+ application?: string | undefined;
484
+ deprecated_keys?: string[] | undefined;
485
+ } | undefined;
486
+ request_id?: string | undefined;
487
+ schema?: {
488
+ format?: "custom" | "json-schema" | "zod" | "yup" | "joi" | undefined;
489
+ content?: unknown;
490
+ uri?: string | undefined;
491
+ } | undefined;
492
+ }, {
493
+ config: Record<string, unknown>;
494
+ options?: {
495
+ strict?: boolean | undefined;
496
+ check_deprecated?: boolean | undefined;
497
+ check_security?: boolean | undefined;
498
+ check_conflicts?: boolean | undefined;
499
+ check_missing?: boolean | undefined;
500
+ } | undefined;
501
+ context?: {
502
+ version?: string | undefined;
503
+ constraints?: {
504
+ name: string;
505
+ description: string;
506
+ check: string;
507
+ }[] | undefined;
508
+ environment?: string | undefined;
509
+ application?: string | undefined;
510
+ deprecated_keys?: string[] | undefined;
511
+ } | undefined;
512
+ request_id?: string | undefined;
513
+ schema?: {
514
+ format?: "custom" | "json-schema" | "zod" | "yup" | "joi" | undefined;
515
+ content?: unknown;
516
+ uri?: string | undefined;
517
+ } | undefined;
518
+ format?: "unknown" | "json" | "yaml" | "toml" | "env" | undefined;
519
+ }>;
520
+ export type ConfigValidationInput = z.infer<typeof ConfigValidationInputSchema>;
521
+ /**
522
+ * Config Validation Agent Output Schema
523
+ */
524
+ export declare const ConfigValidationOutputSchema: z.ZodObject<{
525
+ /** Validation result ID */
526
+ validation_id: z.ZodString;
527
+ /** Overall validation passed/failed */
528
+ valid: z.ZodBoolean;
529
+ /** Schema validation results */
530
+ schema_validation: z.ZodObject<{
531
+ /** Whether schema validation passed */
532
+ valid: z.ZodBoolean;
533
+ /** Schema that was validated against */
534
+ schema_id: z.ZodOptional<z.ZodString>;
535
+ /** Schema version */
536
+ schema_version: z.ZodOptional<z.ZodString>;
537
+ /** Findings from schema validation */
538
+ findings: z.ZodArray<z.ZodObject<{
539
+ /** Unique finding identifier */
540
+ finding_id: z.ZodString;
541
+ /** Category of the issue */
542
+ category: z.ZodEnum<["schema", "semantic", "missing", "conflict", "deprecated", "unsafe", "type_mismatch", "constraint", "compatibility"]>;
543
+ /** Severity level */
544
+ severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
545
+ /** JSON path to the problematic value */
546
+ path: z.ZodString;
547
+ /** Human-readable description of the issue */
548
+ message: z.ZodString;
549
+ /** The actual value found (if applicable) */
550
+ actual_value: z.ZodOptional<z.ZodUnknown>;
551
+ /** Expected value or type (if applicable) */
552
+ expected: z.ZodOptional<z.ZodString>;
553
+ /** Related paths that contribute to this finding */
554
+ related_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
555
+ /** Documentation reference for this issue */
556
+ doc_reference: z.ZodOptional<z.ZodString>;
557
+ /** Tags for categorization */
558
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
559
+ }, "strip", z.ZodTypeAny, {
560
+ path: string;
561
+ message: string;
562
+ tags: string[];
563
+ severity: "error" | "critical" | "info" | "warning";
564
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
565
+ finding_id: string;
566
+ related_paths: string[];
567
+ expected?: string | undefined;
568
+ actual_value?: unknown;
569
+ doc_reference?: string | undefined;
570
+ }, {
571
+ path: string;
572
+ message: string;
573
+ severity: "error" | "critical" | "info" | "warning";
574
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
575
+ finding_id: string;
576
+ expected?: string | undefined;
577
+ tags?: string[] | undefined;
578
+ actual_value?: unknown;
579
+ related_paths?: string[] | undefined;
580
+ doc_reference?: string | undefined;
581
+ }>, "many">;
582
+ }, "strip", z.ZodTypeAny, {
583
+ valid: boolean;
584
+ findings: {
585
+ path: string;
586
+ message: string;
587
+ tags: string[];
588
+ severity: "error" | "critical" | "info" | "warning";
589
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
590
+ finding_id: string;
591
+ related_paths: string[];
592
+ expected?: string | undefined;
593
+ actual_value?: unknown;
594
+ doc_reference?: string | undefined;
595
+ }[];
596
+ schema_id?: string | undefined;
597
+ schema_version?: string | undefined;
598
+ }, {
599
+ valid: boolean;
600
+ findings: {
601
+ path: string;
602
+ message: string;
603
+ severity: "error" | "critical" | "info" | "warning";
604
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
605
+ finding_id: string;
606
+ expected?: string | undefined;
607
+ tags?: string[] | undefined;
608
+ actual_value?: unknown;
609
+ related_paths?: string[] | undefined;
610
+ doc_reference?: string | undefined;
611
+ }[];
612
+ schema_id?: string | undefined;
613
+ schema_version?: string | undefined;
614
+ }>;
615
+ /** Semantic constraint results */
616
+ semantic_constraints: z.ZodArray<z.ZodObject<{
617
+ /** Constraint identifier */
618
+ constraint_id: z.ZodString;
619
+ /** Human-readable constraint name */
620
+ name: z.ZodString;
621
+ /** Description of what this constraint checks */
622
+ description: z.ZodString;
623
+ /** Whether the constraint passed */
624
+ passed: z.ZodBoolean;
625
+ /** Paths involved in this constraint */
626
+ paths: z.ZodArray<z.ZodString, "many">;
627
+ /** Details if constraint failed */
628
+ failure_detail: z.ZodOptional<z.ZodString>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ name: string;
631
+ description: string;
632
+ constraint_id: string;
633
+ passed: boolean;
634
+ paths: string[];
635
+ failure_detail?: string | undefined;
636
+ }, {
637
+ name: string;
638
+ description: string;
639
+ constraint_id: string;
640
+ passed: boolean;
641
+ paths: string[];
642
+ failure_detail?: string | undefined;
643
+ }>, "many">;
644
+ /** All validation findings */
645
+ findings: z.ZodArray<z.ZodObject<{
646
+ /** Unique finding identifier */
647
+ finding_id: z.ZodString;
648
+ /** Category of the issue */
649
+ category: z.ZodEnum<["schema", "semantic", "missing", "conflict", "deprecated", "unsafe", "type_mismatch", "constraint", "compatibility"]>;
650
+ /** Severity level */
651
+ severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
652
+ /** JSON path to the problematic value */
653
+ path: z.ZodString;
654
+ /** Human-readable description of the issue */
655
+ message: z.ZodString;
656
+ /** The actual value found (if applicable) */
657
+ actual_value: z.ZodOptional<z.ZodUnknown>;
658
+ /** Expected value or type (if applicable) */
659
+ expected: z.ZodOptional<z.ZodString>;
660
+ /** Related paths that contribute to this finding */
661
+ related_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
662
+ /** Documentation reference for this issue */
663
+ doc_reference: z.ZodOptional<z.ZodString>;
664
+ /** Tags for categorization */
665
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
666
+ }, "strip", z.ZodTypeAny, {
667
+ path: string;
668
+ message: string;
669
+ tags: string[];
670
+ severity: "error" | "critical" | "info" | "warning";
671
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
672
+ finding_id: string;
673
+ related_paths: string[];
674
+ expected?: string | undefined;
675
+ actual_value?: unknown;
676
+ doc_reference?: string | undefined;
677
+ }, {
678
+ path: string;
679
+ message: string;
680
+ severity: "error" | "critical" | "info" | "warning";
681
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
682
+ finding_id: string;
683
+ expected?: string | undefined;
684
+ tags?: string[] | undefined;
685
+ actual_value?: unknown;
686
+ related_paths?: string[] | undefined;
687
+ doc_reference?: string | undefined;
688
+ }>, "many">;
689
+ /** Detected deprecated values */
690
+ deprecated_values: z.ZodArray<z.ZodObject<{
691
+ /** Path to deprecated value */
692
+ path: z.ZodString;
693
+ /** The deprecated value */
694
+ value: z.ZodUnknown;
695
+ /** When it was deprecated */
696
+ deprecated_since: z.ZodOptional<z.ZodString>;
697
+ /** When it will be removed */
698
+ removal_version: z.ZodOptional<z.ZodString>;
699
+ /** Suggested replacement (informational only, NOT applied) */
700
+ suggested_replacement: z.ZodOptional<z.ZodString>;
701
+ /** Migration documentation */
702
+ migration_guide: z.ZodOptional<z.ZodString>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ path: string;
705
+ value?: unknown;
706
+ deprecated_since?: string | undefined;
707
+ removal_version?: string | undefined;
708
+ suggested_replacement?: string | undefined;
709
+ migration_guide?: string | undefined;
710
+ }, {
711
+ path: string;
712
+ value?: unknown;
713
+ deprecated_since?: string | undefined;
714
+ removal_version?: string | undefined;
715
+ suggested_replacement?: string | undefined;
716
+ migration_guide?: string | undefined;
717
+ }>, "many">;
718
+ /** Detected unsafe configurations */
719
+ unsafe_configs: z.ZodArray<z.ZodObject<{
720
+ /** Path to unsafe configuration */
721
+ path: z.ZodString;
722
+ /** The unsafe value */
723
+ value: z.ZodUnknown;
724
+ /** Type of security concern */
725
+ concern_type: z.ZodEnum<["hardcoded_secret", "weak_encryption", "insecure_protocol", "overly_permissive", "missing_authentication", "exposed_endpoint", "debug_enabled", "verbose_logging", "other"]>;
726
+ /** Severity of the security concern */
727
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
728
+ /** Description of the risk */
729
+ risk_description: z.ZodString;
730
+ /** CWE reference if applicable */
731
+ cwe_reference: z.ZodOptional<z.ZodString>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ path: string;
734
+ severity: "low" | "medium" | "high" | "critical";
735
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
736
+ risk_description: string;
737
+ value?: unknown;
738
+ cwe_reference?: string | undefined;
739
+ }, {
740
+ path: string;
741
+ severity: "low" | "medium" | "high" | "critical";
742
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
743
+ risk_description: string;
744
+ value?: unknown;
745
+ cwe_reference?: string | undefined;
746
+ }>, "many">;
747
+ /** Detected conflicts */
748
+ conflicts: z.ZodArray<z.ZodObject<{
749
+ /** Conflict identifier */
750
+ conflict_id: z.ZodString;
751
+ /** Type of conflict */
752
+ conflict_type: z.ZodEnum<["mutually_exclusive", "dependency_missing", "circular_reference", "value_incompatibility", "version_mismatch"]>;
753
+ /** Paths involved in the conflict */
754
+ conflicting_paths: z.ZodArray<z.ZodString, "many">;
755
+ /** Description of the conflict */
756
+ description: z.ZodString;
757
+ /** Severity */
758
+ severity: z.ZodEnum<["warning", "error", "critical"]>;
759
+ }, "strip", z.ZodTypeAny, {
760
+ description: string;
761
+ severity: "error" | "critical" | "warning";
762
+ conflict_id: string;
763
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
764
+ conflicting_paths: string[];
765
+ }, {
766
+ description: string;
767
+ severity: "error" | "critical" | "warning";
768
+ conflict_id: string;
769
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
770
+ conflicting_paths: string[];
771
+ }>, "many">;
772
+ /** Missing configurations */
773
+ missing_configs: z.ZodArray<z.ZodObject<{
774
+ /** Path where value is missing */
775
+ path: z.ZodString;
776
+ /** Expected type */
777
+ expected_type: z.ZodString;
778
+ /** Whether this is required or recommended */
779
+ requirement_level: z.ZodEnum<["required", "recommended", "optional_but_advised"]>;
780
+ /** Description of what this config does */
781
+ description: z.ZodString;
782
+ /** Default that would be used if not specified (informational) */
783
+ implicit_default: z.ZodOptional<z.ZodUnknown>;
784
+ }, "strip", z.ZodTypeAny, {
785
+ path: string;
786
+ description: string;
787
+ expected_type: string;
788
+ requirement_level: "required" | "recommended" | "optional_but_advised";
789
+ implicit_default?: unknown;
790
+ }, {
791
+ path: string;
792
+ description: string;
793
+ expected_type: string;
794
+ requirement_level: "required" | "recommended" | "optional_but_advised";
795
+ implicit_default?: unknown;
796
+ }>, "many">;
797
+ /** Readiness assessment */
798
+ readiness: z.ZodObject<{
799
+ /** Overall readiness status */
800
+ status: z.ZodEnum<["ready", "ready_with_warnings", "not_ready", "critical_issues"]>;
801
+ /** Readiness score (0.0 - 1.0) */
802
+ score: z.ZodNumber;
803
+ /** Breakdown by category */
804
+ category_scores: z.ZodRecord<z.ZodString, z.ZodNumber>;
805
+ /** Blocking issues that prevent readiness */
806
+ blocking_issues: z.ZodArray<z.ZodString, "many">;
807
+ /** Non-blocking warnings */
808
+ warnings: z.ZodArray<z.ZodString, "many">;
809
+ /** Recommendations (informational only) */
810
+ recommendations: z.ZodArray<z.ZodString, "many">;
811
+ }, "strip", z.ZodTypeAny, {
812
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
813
+ recommendations: string[];
814
+ score: number;
815
+ category_scores: Record<string, number>;
816
+ blocking_issues: string[];
817
+ warnings: string[];
818
+ }, {
819
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
820
+ recommendations: string[];
821
+ score: number;
822
+ category_scores: Record<string, number>;
823
+ blocking_issues: string[];
824
+ warnings: string[];
825
+ }>;
826
+ /** Summary statistics */
827
+ summary: z.ZodObject<{
828
+ total_findings: z.ZodNumber;
829
+ by_severity: z.ZodObject<{
830
+ critical: z.ZodNumber;
831
+ error: z.ZodNumber;
832
+ warning: z.ZodNumber;
833
+ info: z.ZodNumber;
834
+ }, "strip", z.ZodTypeAny, {
835
+ error: number;
836
+ critical: number;
837
+ info: number;
838
+ warning: number;
839
+ }, {
840
+ error: number;
841
+ critical: number;
842
+ info: number;
843
+ warning: number;
844
+ }>;
845
+ by_category: z.ZodRecord<z.ZodString, z.ZodNumber>;
846
+ paths_checked: z.ZodNumber;
847
+ constraints_checked: z.ZodNumber;
848
+ }, "strip", z.ZodTypeAny, {
849
+ total_findings: number;
850
+ by_severity: {
851
+ error: number;
852
+ critical: number;
853
+ info: number;
854
+ warning: number;
855
+ };
856
+ by_category: Record<string, number>;
857
+ paths_checked: number;
858
+ constraints_checked: number;
859
+ }, {
860
+ total_findings: number;
861
+ by_severity: {
862
+ error: number;
863
+ critical: number;
864
+ info: number;
865
+ warning: number;
866
+ };
867
+ by_category: Record<string, number>;
868
+ paths_checked: number;
869
+ constraints_checked: number;
870
+ }>;
871
+ /** Validation metadata */
872
+ metadata: z.ZodObject<{
873
+ config_hash: z.ZodString;
874
+ validated_at: z.ZodString;
875
+ validation_duration_ms: z.ZodNumber;
876
+ schema_used: z.ZodOptional<z.ZodString>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ config_hash: string;
879
+ validated_at: string;
880
+ validation_duration_ms: number;
881
+ schema_used?: string | undefined;
882
+ }, {
883
+ config_hash: string;
884
+ validated_at: string;
885
+ validation_duration_ms: number;
886
+ schema_used?: string | undefined;
887
+ }>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ valid: boolean;
890
+ summary: {
891
+ total_findings: number;
892
+ by_severity: {
893
+ error: number;
894
+ critical: number;
895
+ info: number;
896
+ warning: number;
897
+ };
898
+ by_category: Record<string, number>;
899
+ paths_checked: number;
900
+ constraints_checked: number;
901
+ };
902
+ metadata: {
903
+ config_hash: string;
904
+ validated_at: string;
905
+ validation_duration_ms: number;
906
+ schema_used?: string | undefined;
907
+ };
908
+ findings: {
909
+ path: string;
910
+ message: string;
911
+ tags: string[];
912
+ severity: "error" | "critical" | "info" | "warning";
913
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
914
+ finding_id: string;
915
+ related_paths: string[];
916
+ expected?: string | undefined;
917
+ actual_value?: unknown;
918
+ doc_reference?: string | undefined;
919
+ }[];
920
+ validation_id: string;
921
+ schema_validation: {
922
+ valid: boolean;
923
+ findings: {
924
+ path: string;
925
+ message: string;
926
+ tags: string[];
927
+ severity: "error" | "critical" | "info" | "warning";
928
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
929
+ finding_id: string;
930
+ related_paths: string[];
931
+ expected?: string | undefined;
932
+ actual_value?: unknown;
933
+ doc_reference?: string | undefined;
934
+ }[];
935
+ schema_id?: string | undefined;
936
+ schema_version?: string | undefined;
937
+ };
938
+ semantic_constraints: {
939
+ name: string;
940
+ description: string;
941
+ constraint_id: string;
942
+ passed: boolean;
943
+ paths: string[];
944
+ failure_detail?: string | undefined;
945
+ }[];
946
+ deprecated_values: {
947
+ path: string;
948
+ value?: unknown;
949
+ deprecated_since?: string | undefined;
950
+ removal_version?: string | undefined;
951
+ suggested_replacement?: string | undefined;
952
+ migration_guide?: string | undefined;
953
+ }[];
954
+ unsafe_configs: {
955
+ path: string;
956
+ severity: "low" | "medium" | "high" | "critical";
957
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
958
+ risk_description: string;
959
+ value?: unknown;
960
+ cwe_reference?: string | undefined;
961
+ }[];
962
+ conflicts: {
963
+ description: string;
964
+ severity: "error" | "critical" | "warning";
965
+ conflict_id: string;
966
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
967
+ conflicting_paths: string[];
968
+ }[];
969
+ missing_configs: {
970
+ path: string;
971
+ description: string;
972
+ expected_type: string;
973
+ requirement_level: "required" | "recommended" | "optional_but_advised";
974
+ implicit_default?: unknown;
975
+ }[];
976
+ readiness: {
977
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
978
+ recommendations: string[];
979
+ score: number;
980
+ category_scores: Record<string, number>;
981
+ blocking_issues: string[];
982
+ warnings: string[];
983
+ };
984
+ }, {
985
+ valid: boolean;
986
+ summary: {
987
+ total_findings: number;
988
+ by_severity: {
989
+ error: number;
990
+ critical: number;
991
+ info: number;
992
+ warning: number;
993
+ };
994
+ by_category: Record<string, number>;
995
+ paths_checked: number;
996
+ constraints_checked: number;
997
+ };
998
+ metadata: {
999
+ config_hash: string;
1000
+ validated_at: string;
1001
+ validation_duration_ms: number;
1002
+ schema_used?: string | undefined;
1003
+ };
1004
+ findings: {
1005
+ path: string;
1006
+ message: string;
1007
+ severity: "error" | "critical" | "info" | "warning";
1008
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
1009
+ finding_id: string;
1010
+ expected?: string | undefined;
1011
+ tags?: string[] | undefined;
1012
+ actual_value?: unknown;
1013
+ related_paths?: string[] | undefined;
1014
+ doc_reference?: string | undefined;
1015
+ }[];
1016
+ validation_id: string;
1017
+ schema_validation: {
1018
+ valid: boolean;
1019
+ findings: {
1020
+ path: string;
1021
+ message: string;
1022
+ severity: "error" | "critical" | "info" | "warning";
1023
+ category: "constraint" | "semantic" | "schema" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
1024
+ finding_id: string;
1025
+ expected?: string | undefined;
1026
+ tags?: string[] | undefined;
1027
+ actual_value?: unknown;
1028
+ related_paths?: string[] | undefined;
1029
+ doc_reference?: string | undefined;
1030
+ }[];
1031
+ schema_id?: string | undefined;
1032
+ schema_version?: string | undefined;
1033
+ };
1034
+ semantic_constraints: {
1035
+ name: string;
1036
+ description: string;
1037
+ constraint_id: string;
1038
+ passed: boolean;
1039
+ paths: string[];
1040
+ failure_detail?: string | undefined;
1041
+ }[];
1042
+ deprecated_values: {
1043
+ path: string;
1044
+ value?: unknown;
1045
+ deprecated_since?: string | undefined;
1046
+ removal_version?: string | undefined;
1047
+ suggested_replacement?: string | undefined;
1048
+ migration_guide?: string | undefined;
1049
+ }[];
1050
+ unsafe_configs: {
1051
+ path: string;
1052
+ severity: "low" | "medium" | "high" | "critical";
1053
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
1054
+ risk_description: string;
1055
+ value?: unknown;
1056
+ cwe_reference?: string | undefined;
1057
+ }[];
1058
+ conflicts: {
1059
+ description: string;
1060
+ severity: "error" | "critical" | "warning";
1061
+ conflict_id: string;
1062
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
1063
+ conflicting_paths: string[];
1064
+ }[];
1065
+ missing_configs: {
1066
+ path: string;
1067
+ description: string;
1068
+ expected_type: string;
1069
+ requirement_level: "required" | "recommended" | "optional_but_advised";
1070
+ implicit_default?: unknown;
1071
+ }[];
1072
+ readiness: {
1073
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
1074
+ recommendations: string[];
1075
+ score: number;
1076
+ category_scores: Record<string, number>;
1077
+ blocking_issues: string[];
1078
+ warnings: string[];
1079
+ };
1080
+ }>;
1081
+ export type ConfigValidationOutput = z.infer<typeof ConfigValidationOutputSchema>;