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

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 +15 -1
  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 +9 -0
  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 +41 -0
  324. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  325. package/package.json +1 -1
@@ -0,0 +1,1166 @@
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: "schema" | "constraint" | "semantic" | "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: "schema" | "constraint" | "semantic" | "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: "schema" | "constraint" | "semantic" | "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: "schema" | "constraint" | "semantic" | "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: "schema" | "constraint" | "semantic" | "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: "schema" | "constraint" | "semantic" | "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
+ /** Optional pipeline context for multi-agent orchestration */
466
+ pipeline_context: z.ZodOptional<z.ZodObject<{
467
+ plan_id: z.ZodString;
468
+ step_id: z.ZodString;
469
+ previous_steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
470
+ step_id: z.ZodString;
471
+ domain: z.ZodString;
472
+ agent: z.ZodString;
473
+ output: z.ZodOptional<z.ZodUnknown>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ step_id: string;
476
+ domain: string;
477
+ agent: string;
478
+ output?: unknown;
479
+ }, {
480
+ step_id: string;
481
+ domain: string;
482
+ agent: string;
483
+ output?: unknown;
484
+ }>, "many">>;
485
+ execution_metadata: z.ZodOptional<z.ZodObject<{
486
+ trace_id: z.ZodString;
487
+ initiated_by: z.ZodString;
488
+ }, "strip", z.ZodTypeAny, {
489
+ trace_id: string;
490
+ initiated_by: string;
491
+ }, {
492
+ trace_id: string;
493
+ initiated_by: string;
494
+ }>>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ step_id: string;
497
+ plan_id: string;
498
+ previous_steps: {
499
+ step_id: string;
500
+ domain: string;
501
+ agent: string;
502
+ output?: unknown;
503
+ }[];
504
+ execution_metadata?: {
505
+ trace_id: string;
506
+ initiated_by: string;
507
+ } | undefined;
508
+ }, {
509
+ step_id: string;
510
+ plan_id: string;
511
+ previous_steps?: {
512
+ step_id: string;
513
+ domain: string;
514
+ agent: string;
515
+ output?: unknown;
516
+ }[] | undefined;
517
+ execution_metadata?: {
518
+ trace_id: string;
519
+ initiated_by: string;
520
+ } | undefined;
521
+ }>>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ config: Record<string, unknown>;
524
+ format: "unknown" | "json" | "yaml" | "toml" | "env";
525
+ options?: {
526
+ strict: boolean;
527
+ check_deprecated: boolean;
528
+ check_security: boolean;
529
+ check_conflicts: boolean;
530
+ check_missing: boolean;
531
+ } | undefined;
532
+ schema?: {
533
+ format?: "custom" | "json-schema" | "zod" | "yup" | "joi" | undefined;
534
+ content?: unknown;
535
+ uri?: string | undefined;
536
+ } | undefined;
537
+ context?: {
538
+ version?: string | undefined;
539
+ constraints?: {
540
+ name: string;
541
+ description: string;
542
+ check: string;
543
+ }[] | undefined;
544
+ environment?: string | undefined;
545
+ application?: string | undefined;
546
+ deprecated_keys?: string[] | undefined;
547
+ } | undefined;
548
+ request_id?: string | undefined;
549
+ pipeline_context?: {
550
+ step_id: string;
551
+ plan_id: string;
552
+ previous_steps: {
553
+ step_id: string;
554
+ domain: string;
555
+ agent: string;
556
+ output?: unknown;
557
+ }[];
558
+ execution_metadata?: {
559
+ trace_id: string;
560
+ initiated_by: string;
561
+ } | undefined;
562
+ } | undefined;
563
+ }, {
564
+ config: Record<string, unknown>;
565
+ options?: {
566
+ strict?: boolean | undefined;
567
+ check_deprecated?: boolean | undefined;
568
+ check_security?: boolean | undefined;
569
+ check_conflicts?: boolean | undefined;
570
+ check_missing?: boolean | undefined;
571
+ } | undefined;
572
+ schema?: {
573
+ format?: "custom" | "json-schema" | "zod" | "yup" | "joi" | undefined;
574
+ content?: unknown;
575
+ uri?: string | undefined;
576
+ } | undefined;
577
+ format?: "unknown" | "json" | "yaml" | "toml" | "env" | undefined;
578
+ context?: {
579
+ version?: string | undefined;
580
+ constraints?: {
581
+ name: string;
582
+ description: string;
583
+ check: string;
584
+ }[] | undefined;
585
+ environment?: string | undefined;
586
+ application?: string | undefined;
587
+ deprecated_keys?: string[] | undefined;
588
+ } | undefined;
589
+ request_id?: string | undefined;
590
+ pipeline_context?: {
591
+ step_id: string;
592
+ plan_id: string;
593
+ previous_steps?: {
594
+ step_id: string;
595
+ domain: string;
596
+ agent: string;
597
+ output?: unknown;
598
+ }[] | undefined;
599
+ execution_metadata?: {
600
+ trace_id: string;
601
+ initiated_by: string;
602
+ } | undefined;
603
+ } | undefined;
604
+ }>;
605
+ export type ConfigValidationInput = z.infer<typeof ConfigValidationInputSchema>;
606
+ /**
607
+ * Config Validation Agent Output Schema
608
+ */
609
+ export declare const ConfigValidationOutputSchema: z.ZodObject<{
610
+ /** Validation result ID */
611
+ validation_id: z.ZodString;
612
+ /** Overall validation passed/failed */
613
+ valid: z.ZodBoolean;
614
+ /** Schema validation results */
615
+ schema_validation: z.ZodObject<{
616
+ /** Whether schema validation passed */
617
+ valid: z.ZodBoolean;
618
+ /** Schema that was validated against */
619
+ schema_id: z.ZodOptional<z.ZodString>;
620
+ /** Schema version */
621
+ schema_version: z.ZodOptional<z.ZodString>;
622
+ /** Findings from schema validation */
623
+ findings: z.ZodArray<z.ZodObject<{
624
+ /** Unique finding identifier */
625
+ finding_id: z.ZodString;
626
+ /** Category of the issue */
627
+ category: z.ZodEnum<["schema", "semantic", "missing", "conflict", "deprecated", "unsafe", "type_mismatch", "constraint", "compatibility"]>;
628
+ /** Severity level */
629
+ severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
630
+ /** JSON path to the problematic value */
631
+ path: z.ZodString;
632
+ /** Human-readable description of the issue */
633
+ message: z.ZodString;
634
+ /** The actual value found (if applicable) */
635
+ actual_value: z.ZodOptional<z.ZodUnknown>;
636
+ /** Expected value or type (if applicable) */
637
+ expected: z.ZodOptional<z.ZodString>;
638
+ /** Related paths that contribute to this finding */
639
+ related_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
640
+ /** Documentation reference for this issue */
641
+ doc_reference: z.ZodOptional<z.ZodString>;
642
+ /** Tags for categorization */
643
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
644
+ }, "strip", z.ZodTypeAny, {
645
+ path: string;
646
+ message: string;
647
+ tags: string[];
648
+ severity: "error" | "critical" | "info" | "warning";
649
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
650
+ finding_id: string;
651
+ related_paths: string[];
652
+ expected?: string | undefined;
653
+ actual_value?: unknown;
654
+ doc_reference?: string | undefined;
655
+ }, {
656
+ path: string;
657
+ message: string;
658
+ severity: "error" | "critical" | "info" | "warning";
659
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
660
+ finding_id: string;
661
+ expected?: string | undefined;
662
+ tags?: string[] | undefined;
663
+ actual_value?: unknown;
664
+ related_paths?: string[] | undefined;
665
+ doc_reference?: string | undefined;
666
+ }>, "many">;
667
+ }, "strip", z.ZodTypeAny, {
668
+ valid: boolean;
669
+ findings: {
670
+ path: string;
671
+ message: string;
672
+ tags: string[];
673
+ severity: "error" | "critical" | "info" | "warning";
674
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
675
+ finding_id: string;
676
+ related_paths: string[];
677
+ expected?: string | undefined;
678
+ actual_value?: unknown;
679
+ doc_reference?: string | undefined;
680
+ }[];
681
+ schema_id?: string | undefined;
682
+ schema_version?: string | undefined;
683
+ }, {
684
+ valid: boolean;
685
+ findings: {
686
+ path: string;
687
+ message: string;
688
+ severity: "error" | "critical" | "info" | "warning";
689
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
690
+ finding_id: string;
691
+ expected?: string | undefined;
692
+ tags?: string[] | undefined;
693
+ actual_value?: unknown;
694
+ related_paths?: string[] | undefined;
695
+ doc_reference?: string | undefined;
696
+ }[];
697
+ schema_id?: string | undefined;
698
+ schema_version?: string | undefined;
699
+ }>;
700
+ /** Semantic constraint results */
701
+ semantic_constraints: z.ZodArray<z.ZodObject<{
702
+ /** Constraint identifier */
703
+ constraint_id: z.ZodString;
704
+ /** Human-readable constraint name */
705
+ name: z.ZodString;
706
+ /** Description of what this constraint checks */
707
+ description: z.ZodString;
708
+ /** Whether the constraint passed */
709
+ passed: z.ZodBoolean;
710
+ /** Paths involved in this constraint */
711
+ paths: z.ZodArray<z.ZodString, "many">;
712
+ /** Details if constraint failed */
713
+ failure_detail: z.ZodOptional<z.ZodString>;
714
+ }, "strip", z.ZodTypeAny, {
715
+ name: string;
716
+ description: string;
717
+ constraint_id: string;
718
+ passed: boolean;
719
+ paths: string[];
720
+ failure_detail?: string | undefined;
721
+ }, {
722
+ name: string;
723
+ description: string;
724
+ constraint_id: string;
725
+ passed: boolean;
726
+ paths: string[];
727
+ failure_detail?: string | undefined;
728
+ }>, "many">;
729
+ /** All validation findings */
730
+ findings: z.ZodArray<z.ZodObject<{
731
+ /** Unique finding identifier */
732
+ finding_id: z.ZodString;
733
+ /** Category of the issue */
734
+ category: z.ZodEnum<["schema", "semantic", "missing", "conflict", "deprecated", "unsafe", "type_mismatch", "constraint", "compatibility"]>;
735
+ /** Severity level */
736
+ severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
737
+ /** JSON path to the problematic value */
738
+ path: z.ZodString;
739
+ /** Human-readable description of the issue */
740
+ message: z.ZodString;
741
+ /** The actual value found (if applicable) */
742
+ actual_value: z.ZodOptional<z.ZodUnknown>;
743
+ /** Expected value or type (if applicable) */
744
+ expected: z.ZodOptional<z.ZodString>;
745
+ /** Related paths that contribute to this finding */
746
+ related_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
747
+ /** Documentation reference for this issue */
748
+ doc_reference: z.ZodOptional<z.ZodString>;
749
+ /** Tags for categorization */
750
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ path: string;
753
+ message: string;
754
+ tags: string[];
755
+ severity: "error" | "critical" | "info" | "warning";
756
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
757
+ finding_id: string;
758
+ related_paths: string[];
759
+ expected?: string | undefined;
760
+ actual_value?: unknown;
761
+ doc_reference?: string | undefined;
762
+ }, {
763
+ path: string;
764
+ message: string;
765
+ severity: "error" | "critical" | "info" | "warning";
766
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
767
+ finding_id: string;
768
+ expected?: string | undefined;
769
+ tags?: string[] | undefined;
770
+ actual_value?: unknown;
771
+ related_paths?: string[] | undefined;
772
+ doc_reference?: string | undefined;
773
+ }>, "many">;
774
+ /** Detected deprecated values */
775
+ deprecated_values: z.ZodArray<z.ZodObject<{
776
+ /** Path to deprecated value */
777
+ path: z.ZodString;
778
+ /** The deprecated value */
779
+ value: z.ZodUnknown;
780
+ /** When it was deprecated */
781
+ deprecated_since: z.ZodOptional<z.ZodString>;
782
+ /** When it will be removed */
783
+ removal_version: z.ZodOptional<z.ZodString>;
784
+ /** Suggested replacement (informational only, NOT applied) */
785
+ suggested_replacement: z.ZodOptional<z.ZodString>;
786
+ /** Migration documentation */
787
+ migration_guide: z.ZodOptional<z.ZodString>;
788
+ }, "strip", z.ZodTypeAny, {
789
+ path: string;
790
+ value?: unknown;
791
+ deprecated_since?: string | undefined;
792
+ removal_version?: string | undefined;
793
+ suggested_replacement?: string | undefined;
794
+ migration_guide?: string | undefined;
795
+ }, {
796
+ path: string;
797
+ value?: unknown;
798
+ deprecated_since?: string | undefined;
799
+ removal_version?: string | undefined;
800
+ suggested_replacement?: string | undefined;
801
+ migration_guide?: string | undefined;
802
+ }>, "many">;
803
+ /** Detected unsafe configurations */
804
+ unsafe_configs: z.ZodArray<z.ZodObject<{
805
+ /** Path to unsafe configuration */
806
+ path: z.ZodString;
807
+ /** The unsafe value */
808
+ value: z.ZodUnknown;
809
+ /** Type of security concern */
810
+ concern_type: z.ZodEnum<["hardcoded_secret", "weak_encryption", "insecure_protocol", "overly_permissive", "missing_authentication", "exposed_endpoint", "debug_enabled", "verbose_logging", "other"]>;
811
+ /** Severity of the security concern */
812
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
813
+ /** Description of the risk */
814
+ risk_description: z.ZodString;
815
+ /** CWE reference if applicable */
816
+ cwe_reference: z.ZodOptional<z.ZodString>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ path: string;
819
+ severity: "low" | "medium" | "high" | "critical";
820
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
821
+ risk_description: string;
822
+ value?: unknown;
823
+ cwe_reference?: string | undefined;
824
+ }, {
825
+ path: string;
826
+ severity: "low" | "medium" | "high" | "critical";
827
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
828
+ risk_description: string;
829
+ value?: unknown;
830
+ cwe_reference?: string | undefined;
831
+ }>, "many">;
832
+ /** Detected conflicts */
833
+ conflicts: z.ZodArray<z.ZodObject<{
834
+ /** Conflict identifier */
835
+ conflict_id: z.ZodString;
836
+ /** Type of conflict */
837
+ conflict_type: z.ZodEnum<["mutually_exclusive", "dependency_missing", "circular_reference", "value_incompatibility", "version_mismatch"]>;
838
+ /** Paths involved in the conflict */
839
+ conflicting_paths: z.ZodArray<z.ZodString, "many">;
840
+ /** Description of the conflict */
841
+ description: z.ZodString;
842
+ /** Severity */
843
+ severity: z.ZodEnum<["warning", "error", "critical"]>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ description: string;
846
+ severity: "error" | "critical" | "warning";
847
+ conflict_id: string;
848
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
849
+ conflicting_paths: string[];
850
+ }, {
851
+ description: string;
852
+ severity: "error" | "critical" | "warning";
853
+ conflict_id: string;
854
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
855
+ conflicting_paths: string[];
856
+ }>, "many">;
857
+ /** Missing configurations */
858
+ missing_configs: z.ZodArray<z.ZodObject<{
859
+ /** Path where value is missing */
860
+ path: z.ZodString;
861
+ /** Expected type */
862
+ expected_type: z.ZodString;
863
+ /** Whether this is required or recommended */
864
+ requirement_level: z.ZodEnum<["required", "recommended", "optional_but_advised"]>;
865
+ /** Description of what this config does */
866
+ description: z.ZodString;
867
+ /** Default that would be used if not specified (informational) */
868
+ implicit_default: z.ZodOptional<z.ZodUnknown>;
869
+ }, "strip", z.ZodTypeAny, {
870
+ path: string;
871
+ description: string;
872
+ expected_type: string;
873
+ requirement_level: "required" | "recommended" | "optional_but_advised";
874
+ implicit_default?: unknown;
875
+ }, {
876
+ path: string;
877
+ description: string;
878
+ expected_type: string;
879
+ requirement_level: "required" | "recommended" | "optional_but_advised";
880
+ implicit_default?: unknown;
881
+ }>, "many">;
882
+ /** Readiness assessment */
883
+ readiness: z.ZodObject<{
884
+ /** Overall readiness status */
885
+ status: z.ZodEnum<["ready", "ready_with_warnings", "not_ready", "critical_issues"]>;
886
+ /** Readiness score (0.0 - 1.0) */
887
+ score: z.ZodNumber;
888
+ /** Breakdown by category */
889
+ category_scores: z.ZodRecord<z.ZodString, z.ZodNumber>;
890
+ /** Blocking issues that prevent readiness */
891
+ blocking_issues: z.ZodArray<z.ZodString, "many">;
892
+ /** Non-blocking warnings */
893
+ warnings: z.ZodArray<z.ZodString, "many">;
894
+ /** Recommendations (informational only) */
895
+ recommendations: z.ZodArray<z.ZodString, "many">;
896
+ }, "strip", z.ZodTypeAny, {
897
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
898
+ recommendations: string[];
899
+ score: number;
900
+ category_scores: Record<string, number>;
901
+ blocking_issues: string[];
902
+ warnings: string[];
903
+ }, {
904
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
905
+ recommendations: string[];
906
+ score: number;
907
+ category_scores: Record<string, number>;
908
+ blocking_issues: string[];
909
+ warnings: string[];
910
+ }>;
911
+ /** Summary statistics */
912
+ summary: z.ZodObject<{
913
+ total_findings: z.ZodNumber;
914
+ by_severity: z.ZodObject<{
915
+ critical: z.ZodNumber;
916
+ error: z.ZodNumber;
917
+ warning: z.ZodNumber;
918
+ info: z.ZodNumber;
919
+ }, "strip", z.ZodTypeAny, {
920
+ error: number;
921
+ critical: number;
922
+ info: number;
923
+ warning: number;
924
+ }, {
925
+ error: number;
926
+ critical: number;
927
+ info: number;
928
+ warning: number;
929
+ }>;
930
+ by_category: z.ZodRecord<z.ZodString, z.ZodNumber>;
931
+ paths_checked: z.ZodNumber;
932
+ constraints_checked: z.ZodNumber;
933
+ }, "strip", z.ZodTypeAny, {
934
+ total_findings: number;
935
+ by_severity: {
936
+ error: number;
937
+ critical: number;
938
+ info: number;
939
+ warning: number;
940
+ };
941
+ by_category: Record<string, number>;
942
+ paths_checked: number;
943
+ constraints_checked: number;
944
+ }, {
945
+ total_findings: number;
946
+ by_severity: {
947
+ error: number;
948
+ critical: number;
949
+ info: number;
950
+ warning: number;
951
+ };
952
+ by_category: Record<string, number>;
953
+ paths_checked: number;
954
+ constraints_checked: number;
955
+ }>;
956
+ /** Validation metadata */
957
+ metadata: z.ZodObject<{
958
+ config_hash: z.ZodString;
959
+ validated_at: z.ZodString;
960
+ validation_duration_ms: z.ZodNumber;
961
+ schema_used: z.ZodOptional<z.ZodString>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ config_hash: string;
964
+ validated_at: string;
965
+ validation_duration_ms: number;
966
+ schema_used?: string | undefined;
967
+ }, {
968
+ config_hash: string;
969
+ validated_at: string;
970
+ validation_duration_ms: number;
971
+ schema_used?: string | undefined;
972
+ }>;
973
+ }, "strip", z.ZodTypeAny, {
974
+ valid: boolean;
975
+ metadata: {
976
+ config_hash: string;
977
+ validated_at: string;
978
+ validation_duration_ms: number;
979
+ schema_used?: string | undefined;
980
+ };
981
+ summary: {
982
+ total_findings: number;
983
+ by_severity: {
984
+ error: number;
985
+ critical: number;
986
+ info: number;
987
+ warning: number;
988
+ };
989
+ by_category: Record<string, number>;
990
+ paths_checked: number;
991
+ constraints_checked: number;
992
+ };
993
+ findings: {
994
+ path: string;
995
+ message: string;
996
+ tags: string[];
997
+ severity: "error" | "critical" | "info" | "warning";
998
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
999
+ finding_id: string;
1000
+ related_paths: string[];
1001
+ expected?: string | undefined;
1002
+ actual_value?: unknown;
1003
+ doc_reference?: string | undefined;
1004
+ }[];
1005
+ validation_id: string;
1006
+ schema_validation: {
1007
+ valid: boolean;
1008
+ findings: {
1009
+ path: string;
1010
+ message: string;
1011
+ tags: string[];
1012
+ severity: "error" | "critical" | "info" | "warning";
1013
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
1014
+ finding_id: string;
1015
+ related_paths: string[];
1016
+ expected?: string | undefined;
1017
+ actual_value?: unknown;
1018
+ doc_reference?: string | undefined;
1019
+ }[];
1020
+ schema_id?: string | undefined;
1021
+ schema_version?: string | undefined;
1022
+ };
1023
+ semantic_constraints: {
1024
+ name: string;
1025
+ description: string;
1026
+ constraint_id: string;
1027
+ passed: boolean;
1028
+ paths: string[];
1029
+ failure_detail?: string | undefined;
1030
+ }[];
1031
+ deprecated_values: {
1032
+ path: string;
1033
+ value?: unknown;
1034
+ deprecated_since?: string | undefined;
1035
+ removal_version?: string | undefined;
1036
+ suggested_replacement?: string | undefined;
1037
+ migration_guide?: string | undefined;
1038
+ }[];
1039
+ unsafe_configs: {
1040
+ path: string;
1041
+ severity: "low" | "medium" | "high" | "critical";
1042
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
1043
+ risk_description: string;
1044
+ value?: unknown;
1045
+ cwe_reference?: string | undefined;
1046
+ }[];
1047
+ conflicts: {
1048
+ description: string;
1049
+ severity: "error" | "critical" | "warning";
1050
+ conflict_id: string;
1051
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
1052
+ conflicting_paths: string[];
1053
+ }[];
1054
+ missing_configs: {
1055
+ path: string;
1056
+ description: string;
1057
+ expected_type: string;
1058
+ requirement_level: "required" | "recommended" | "optional_but_advised";
1059
+ implicit_default?: unknown;
1060
+ }[];
1061
+ readiness: {
1062
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
1063
+ recommendations: string[];
1064
+ score: number;
1065
+ category_scores: Record<string, number>;
1066
+ blocking_issues: string[];
1067
+ warnings: string[];
1068
+ };
1069
+ }, {
1070
+ valid: boolean;
1071
+ metadata: {
1072
+ config_hash: string;
1073
+ validated_at: string;
1074
+ validation_duration_ms: number;
1075
+ schema_used?: string | undefined;
1076
+ };
1077
+ summary: {
1078
+ total_findings: number;
1079
+ by_severity: {
1080
+ error: number;
1081
+ critical: number;
1082
+ info: number;
1083
+ warning: number;
1084
+ };
1085
+ by_category: Record<string, number>;
1086
+ paths_checked: number;
1087
+ constraints_checked: number;
1088
+ };
1089
+ findings: {
1090
+ path: string;
1091
+ message: string;
1092
+ severity: "error" | "critical" | "info" | "warning";
1093
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
1094
+ finding_id: string;
1095
+ expected?: string | undefined;
1096
+ tags?: string[] | undefined;
1097
+ actual_value?: unknown;
1098
+ related_paths?: string[] | undefined;
1099
+ doc_reference?: string | undefined;
1100
+ }[];
1101
+ validation_id: string;
1102
+ schema_validation: {
1103
+ valid: boolean;
1104
+ findings: {
1105
+ path: string;
1106
+ message: string;
1107
+ severity: "error" | "critical" | "info" | "warning";
1108
+ category: "schema" | "constraint" | "semantic" | "missing" | "conflict" | "deprecated" | "unsafe" | "type_mismatch" | "compatibility";
1109
+ finding_id: string;
1110
+ expected?: string | undefined;
1111
+ tags?: string[] | undefined;
1112
+ actual_value?: unknown;
1113
+ related_paths?: string[] | undefined;
1114
+ doc_reference?: string | undefined;
1115
+ }[];
1116
+ schema_id?: string | undefined;
1117
+ schema_version?: string | undefined;
1118
+ };
1119
+ semantic_constraints: {
1120
+ name: string;
1121
+ description: string;
1122
+ constraint_id: string;
1123
+ passed: boolean;
1124
+ paths: string[];
1125
+ failure_detail?: string | undefined;
1126
+ }[];
1127
+ deprecated_values: {
1128
+ path: string;
1129
+ value?: unknown;
1130
+ deprecated_since?: string | undefined;
1131
+ removal_version?: string | undefined;
1132
+ suggested_replacement?: string | undefined;
1133
+ migration_guide?: string | undefined;
1134
+ }[];
1135
+ unsafe_configs: {
1136
+ path: string;
1137
+ severity: "low" | "medium" | "high" | "critical";
1138
+ concern_type: "hardcoded_secret" | "weak_encryption" | "insecure_protocol" | "overly_permissive" | "missing_authentication" | "exposed_endpoint" | "debug_enabled" | "verbose_logging" | "other";
1139
+ risk_description: string;
1140
+ value?: unknown;
1141
+ cwe_reference?: string | undefined;
1142
+ }[];
1143
+ conflicts: {
1144
+ description: string;
1145
+ severity: "error" | "critical" | "warning";
1146
+ conflict_id: string;
1147
+ conflict_type: "mutually_exclusive" | "dependency_missing" | "circular_reference" | "value_incompatibility" | "version_mismatch";
1148
+ conflicting_paths: string[];
1149
+ }[];
1150
+ missing_configs: {
1151
+ path: string;
1152
+ description: string;
1153
+ expected_type: string;
1154
+ requirement_level: "required" | "recommended" | "optional_but_advised";
1155
+ implicit_default?: unknown;
1156
+ }[];
1157
+ readiness: {
1158
+ status: "ready" | "ready_with_warnings" | "not_ready" | "critical_issues";
1159
+ recommendations: string[];
1160
+ score: number;
1161
+ category_scores: Record<string, number>;
1162
+ blocking_issues: string[];
1163
+ warnings: string[];
1164
+ };
1165
+ }>;
1166
+ export type ConfigValidationOutput = z.infer<typeof ConfigValidationOutputSchema>;