@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,657 @@
1
+ /**
2
+ * Objective Clarifier Agent Schemas
3
+ *
4
+ * Purpose: Clarify ambiguous or incomplete objectives
5
+ * Classification: INTENT_ANALYSIS, DECOMPOSITION
6
+ * decision_type: objective_clarification
7
+ *
8
+ * Scope:
9
+ * - Resolve ambiguity
10
+ * - Normalize goals
11
+ * - Identify missing constraints
12
+ *
13
+ * Must Never:
14
+ * - Generate plans
15
+ * - Define solutions
16
+ * - Execute logic
17
+ */
18
+ import { z } from 'zod';
19
+ /**
20
+ * Ambiguity detection result
21
+ */
22
+ export declare const AmbiguitySchema: z.ZodObject<{
23
+ /** Unique identifier for this ambiguity */
24
+ id: z.ZodString;
25
+ /** Type of ambiguity detected */
26
+ type: z.ZodEnum<["lexical", "syntactic", "semantic", "referential", "scope", "temporal", "quantitative", "conditional"]>;
27
+ /** The ambiguous portion of the objective */
28
+ source_text: z.ZodString;
29
+ /** Description of why this is ambiguous */
30
+ description: z.ZodString;
31
+ /** Possible interpretations of the ambiguous element */
32
+ interpretations: z.ZodArray<z.ZodObject<{
33
+ interpretation: z.ZodString;
34
+ likelihood: z.ZodNumber;
35
+ assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ assumptions: string[];
38
+ interpretation: string;
39
+ likelihood: number;
40
+ }, {
41
+ interpretation: string;
42
+ likelihood: number;
43
+ assumptions?: string[] | undefined;
44
+ }>, "many">;
45
+ /** Severity of the ambiguity (how much it blocks understanding) */
46
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
47
+ /** Suggested clarification question */
48
+ clarification_prompt: z.ZodString;
49
+ }, "strip", z.ZodTypeAny, {
50
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
51
+ id: string;
52
+ description: string;
53
+ severity: "low" | "medium" | "high" | "critical";
54
+ source_text: string;
55
+ interpretations: {
56
+ assumptions: string[];
57
+ interpretation: string;
58
+ likelihood: number;
59
+ }[];
60
+ clarification_prompt: string;
61
+ }, {
62
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
63
+ id: string;
64
+ description: string;
65
+ severity: "low" | "medium" | "high" | "critical";
66
+ source_text: string;
67
+ interpretations: {
68
+ interpretation: string;
69
+ likelihood: number;
70
+ assumptions?: string[] | undefined;
71
+ }[];
72
+ clarification_prompt: string;
73
+ }>;
74
+ export type Ambiguity = z.infer<typeof AmbiguitySchema>;
75
+ /**
76
+ * Missing constraint identification
77
+ */
78
+ export declare const MissingConstraintSchema: z.ZodObject<{
79
+ /** Unique identifier */
80
+ id: z.ZodString;
81
+ /** Category of the missing constraint */
82
+ category: z.ZodEnum<["temporal", "resource", "quality", "scope", "dependency", "compliance", "technical", "performance"]>;
83
+ /** What constraint information is missing */
84
+ description: z.ZodString;
85
+ /** Why this constraint matters */
86
+ impact: z.ZodString;
87
+ /** Severity if left unspecified */
88
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
89
+ /** Suggested question to elicit this constraint */
90
+ clarification_prompt: z.ZodString;
91
+ /** Default assumption if not clarified */
92
+ default_assumption: z.ZodOptional<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ id: string;
95
+ description: string;
96
+ severity: "low" | "medium" | "high" | "critical";
97
+ category: "compliance" | "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "technical";
98
+ impact: string;
99
+ clarification_prompt: string;
100
+ default_assumption?: string | undefined;
101
+ }, {
102
+ id: string;
103
+ description: string;
104
+ severity: "low" | "medium" | "high" | "critical";
105
+ category: "compliance" | "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "technical";
106
+ impact: string;
107
+ clarification_prompt: string;
108
+ default_assumption?: string | undefined;
109
+ }>;
110
+ export type MissingConstraint = z.infer<typeof MissingConstraintSchema>;
111
+ /**
112
+ * Normalized goal representation
113
+ */
114
+ export declare const NormalizedGoalSchema: z.ZodObject<{
115
+ /** Unique identifier for the goal */
116
+ goal_id: z.ZodString;
117
+ /** Normalized statement of the goal */
118
+ statement: z.ZodString;
119
+ /** Goal type classification */
120
+ type: z.ZodEnum<["functional", "non_functional", "constraint", "assumption"]>;
121
+ /** Extracted action verb (normalized) */
122
+ action: z.ZodString;
123
+ /** Subject/target of the action */
124
+ subject: z.ZodString;
125
+ /** Optional object/output of the action */
126
+ object: z.ZodOptional<z.ZodString>;
127
+ /** Qualifiers and conditions */
128
+ qualifiers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
129
+ /** Confidence in this normalization */
130
+ confidence: z.ZodNumber;
131
+ /** Original text this was derived from */
132
+ source_text: z.ZodString;
133
+ }, "strip", z.ZodTypeAny, {
134
+ confidence: number;
135
+ type: "constraint" | "functional" | "non_functional" | "assumption";
136
+ source_text: string;
137
+ goal_id: string;
138
+ statement: string;
139
+ action: string;
140
+ subject: string;
141
+ qualifiers: string[];
142
+ object?: string | undefined;
143
+ }, {
144
+ confidence: number;
145
+ type: "constraint" | "functional" | "non_functional" | "assumption";
146
+ source_text: string;
147
+ goal_id: string;
148
+ statement: string;
149
+ action: string;
150
+ subject: string;
151
+ object?: string | undefined;
152
+ qualifiers?: string[] | undefined;
153
+ }>;
154
+ export type NormalizedGoal = z.infer<typeof NormalizedGoalSchema>;
155
+ /**
156
+ * Objective Clarifier Agent Input Schema
157
+ */
158
+ export declare const ObjectiveClarifierInputSchema: z.ZodObject<{
159
+ /** The raw objective to clarify */
160
+ objective: z.ZodString;
161
+ /** Optional context to aid clarification */
162
+ context: z.ZodOptional<z.ZodObject<{
163
+ /** Domain/industry context */
164
+ domain: z.ZodOptional<z.ZodString>;
165
+ /** Known stakeholders */
166
+ stakeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
167
+ /** Existing system/project information */
168
+ existing_context: z.ZodOptional<z.ZodString>;
169
+ /** Previously established constraints */
170
+ known_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
171
+ /** Priority hints */
172
+ priorities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ domain?: string | undefined;
175
+ stakeholders?: string[] | undefined;
176
+ existing_context?: string | undefined;
177
+ known_constraints?: string[] | undefined;
178
+ priorities?: string[] | undefined;
179
+ }, {
180
+ domain?: string | undefined;
181
+ stakeholders?: string[] | undefined;
182
+ existing_context?: string | undefined;
183
+ known_constraints?: string[] | undefined;
184
+ priorities?: string[] | undefined;
185
+ }>>;
186
+ /** Configuration for clarification */
187
+ config: z.ZodOptional<z.ZodObject<{
188
+ /** Minimum ambiguity severity to report */
189
+ min_severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
190
+ /** Maximum number of clarification questions to generate */
191
+ max_questions: z.ZodOptional<z.ZodNumber>;
192
+ /** Whether to attempt automatic resolution of low-severity ambiguities */
193
+ auto_resolve_low_severity: z.ZodOptional<z.ZodBoolean>;
194
+ /** Preferred interpretation style */
195
+ interpretation_style: z.ZodOptional<z.ZodEnum<["conservative", "balanced", "liberal"]>>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ min_severity?: "low" | "medium" | "high" | "critical" | undefined;
198
+ max_questions?: number | undefined;
199
+ auto_resolve_low_severity?: boolean | undefined;
200
+ interpretation_style?: "conservative" | "balanced" | "liberal" | undefined;
201
+ }, {
202
+ min_severity?: "low" | "medium" | "high" | "critical" | undefined;
203
+ max_questions?: number | undefined;
204
+ auto_resolve_low_severity?: boolean | undefined;
205
+ interpretation_style?: "conservative" | "balanced" | "liberal" | undefined;
206
+ }>>;
207
+ /** Request ID for tracing */
208
+ request_id: z.ZodOptional<z.ZodString>;
209
+ /** Optional pipeline context for multi-agent orchestration */
210
+ pipeline_context: z.ZodOptional<z.ZodObject<{
211
+ plan_id: z.ZodString;
212
+ step_id: z.ZodString;
213
+ previous_steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
214
+ step_id: z.ZodString;
215
+ domain: z.ZodString;
216
+ agent: z.ZodString;
217
+ output: z.ZodOptional<z.ZodUnknown>;
218
+ }, "strip", z.ZodTypeAny, {
219
+ step_id: string;
220
+ domain: string;
221
+ agent: string;
222
+ output?: unknown;
223
+ }, {
224
+ step_id: string;
225
+ domain: string;
226
+ agent: string;
227
+ output?: unknown;
228
+ }>, "many">>;
229
+ execution_metadata: z.ZodOptional<z.ZodObject<{
230
+ trace_id: z.ZodString;
231
+ initiated_by: z.ZodString;
232
+ }, "strip", z.ZodTypeAny, {
233
+ trace_id: string;
234
+ initiated_by: string;
235
+ }, {
236
+ trace_id: string;
237
+ initiated_by: string;
238
+ }>>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ step_id: string;
241
+ plan_id: string;
242
+ previous_steps: {
243
+ step_id: string;
244
+ domain: string;
245
+ agent: string;
246
+ output?: unknown;
247
+ }[];
248
+ execution_metadata?: {
249
+ trace_id: string;
250
+ initiated_by: string;
251
+ } | undefined;
252
+ }, {
253
+ step_id: string;
254
+ plan_id: string;
255
+ previous_steps?: {
256
+ step_id: string;
257
+ domain: string;
258
+ agent: string;
259
+ output?: unknown;
260
+ }[] | undefined;
261
+ execution_metadata?: {
262
+ trace_id: string;
263
+ initiated_by: string;
264
+ } | undefined;
265
+ }>>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ objective: string;
268
+ config?: {
269
+ min_severity?: "low" | "medium" | "high" | "critical" | undefined;
270
+ max_questions?: number | undefined;
271
+ auto_resolve_low_severity?: boolean | undefined;
272
+ interpretation_style?: "conservative" | "balanced" | "liberal" | undefined;
273
+ } | undefined;
274
+ context?: {
275
+ domain?: string | undefined;
276
+ stakeholders?: string[] | undefined;
277
+ existing_context?: string | undefined;
278
+ known_constraints?: string[] | undefined;
279
+ priorities?: string[] | undefined;
280
+ } | undefined;
281
+ request_id?: string | undefined;
282
+ pipeline_context?: {
283
+ step_id: string;
284
+ plan_id: string;
285
+ previous_steps: {
286
+ step_id: string;
287
+ domain: string;
288
+ agent: string;
289
+ output?: unknown;
290
+ }[];
291
+ execution_metadata?: {
292
+ trace_id: string;
293
+ initiated_by: string;
294
+ } | undefined;
295
+ } | undefined;
296
+ }, {
297
+ objective: string;
298
+ config?: {
299
+ min_severity?: "low" | "medium" | "high" | "critical" | undefined;
300
+ max_questions?: number | undefined;
301
+ auto_resolve_low_severity?: boolean | undefined;
302
+ interpretation_style?: "conservative" | "balanced" | "liberal" | undefined;
303
+ } | undefined;
304
+ context?: {
305
+ domain?: string | undefined;
306
+ stakeholders?: string[] | undefined;
307
+ existing_context?: string | undefined;
308
+ known_constraints?: string[] | undefined;
309
+ priorities?: string[] | undefined;
310
+ } | undefined;
311
+ request_id?: string | undefined;
312
+ pipeline_context?: {
313
+ step_id: string;
314
+ plan_id: string;
315
+ previous_steps?: {
316
+ step_id: string;
317
+ domain: string;
318
+ agent: string;
319
+ output?: unknown;
320
+ }[] | undefined;
321
+ execution_metadata?: {
322
+ trace_id: string;
323
+ initiated_by: string;
324
+ } | undefined;
325
+ } | undefined;
326
+ }>;
327
+ export type ObjectiveClarifierInput = z.infer<typeof ObjectiveClarifierInputSchema>;
328
+ /**
329
+ * Objective Clarifier Agent Output Schema
330
+ */
331
+ export declare const ObjectiveClarifierOutputSchema: z.ZodObject<{
332
+ /** Unique clarification session identifier */
333
+ clarification_id: z.ZodString;
334
+ /** Original objective (echoed for verification) */
335
+ original_objective: z.ZodString;
336
+ /** Clarification status */
337
+ status: z.ZodEnum<["clear", "needs_clarification", "requires_decomposition", "insufficient"]>;
338
+ /** List of detected ambiguities */
339
+ ambiguities: z.ZodDefault<z.ZodArray<z.ZodObject<{
340
+ /** Unique identifier for this ambiguity */
341
+ id: z.ZodString;
342
+ /** Type of ambiguity detected */
343
+ type: z.ZodEnum<["lexical", "syntactic", "semantic", "referential", "scope", "temporal", "quantitative", "conditional"]>;
344
+ /** The ambiguous portion of the objective */
345
+ source_text: z.ZodString;
346
+ /** Description of why this is ambiguous */
347
+ description: z.ZodString;
348
+ /** Possible interpretations of the ambiguous element */
349
+ interpretations: z.ZodArray<z.ZodObject<{
350
+ interpretation: z.ZodString;
351
+ likelihood: z.ZodNumber;
352
+ assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ assumptions: string[];
355
+ interpretation: string;
356
+ likelihood: number;
357
+ }, {
358
+ interpretation: string;
359
+ likelihood: number;
360
+ assumptions?: string[] | undefined;
361
+ }>, "many">;
362
+ /** Severity of the ambiguity (how much it blocks understanding) */
363
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
364
+ /** Suggested clarification question */
365
+ clarification_prompt: z.ZodString;
366
+ }, "strip", z.ZodTypeAny, {
367
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
368
+ id: string;
369
+ description: string;
370
+ severity: "low" | "medium" | "high" | "critical";
371
+ source_text: string;
372
+ interpretations: {
373
+ assumptions: string[];
374
+ interpretation: string;
375
+ likelihood: number;
376
+ }[];
377
+ clarification_prompt: string;
378
+ }, {
379
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
380
+ id: string;
381
+ description: string;
382
+ severity: "low" | "medium" | "high" | "critical";
383
+ source_text: string;
384
+ interpretations: {
385
+ interpretation: string;
386
+ likelihood: number;
387
+ assumptions?: string[] | undefined;
388
+ }[];
389
+ clarification_prompt: string;
390
+ }>, "many">>;
391
+ /** List of missing constraints */
392
+ missing_constraints: z.ZodDefault<z.ZodArray<z.ZodObject<{
393
+ /** Unique identifier */
394
+ id: z.ZodString;
395
+ /** Category of the missing constraint */
396
+ category: z.ZodEnum<["temporal", "resource", "quality", "scope", "dependency", "compliance", "technical", "performance"]>;
397
+ /** What constraint information is missing */
398
+ description: z.ZodString;
399
+ /** Why this constraint matters */
400
+ impact: z.ZodString;
401
+ /** Severity if left unspecified */
402
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
403
+ /** Suggested question to elicit this constraint */
404
+ clarification_prompt: z.ZodString;
405
+ /** Default assumption if not clarified */
406
+ default_assumption: z.ZodOptional<z.ZodString>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ id: string;
409
+ description: string;
410
+ severity: "low" | "medium" | "high" | "critical";
411
+ category: "compliance" | "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "technical";
412
+ impact: string;
413
+ clarification_prompt: string;
414
+ default_assumption?: string | undefined;
415
+ }, {
416
+ id: string;
417
+ description: string;
418
+ severity: "low" | "medium" | "high" | "critical";
419
+ category: "compliance" | "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "technical";
420
+ impact: string;
421
+ clarification_prompt: string;
422
+ default_assumption?: string | undefined;
423
+ }>, "many">>;
424
+ /** Normalized goals extracted from the objective */
425
+ normalized_goals: z.ZodDefault<z.ZodArray<z.ZodObject<{
426
+ /** Unique identifier for the goal */
427
+ goal_id: z.ZodString;
428
+ /** Normalized statement of the goal */
429
+ statement: z.ZodString;
430
+ /** Goal type classification */
431
+ type: z.ZodEnum<["functional", "non_functional", "constraint", "assumption"]>;
432
+ /** Extracted action verb (normalized) */
433
+ action: z.ZodString;
434
+ /** Subject/target of the action */
435
+ subject: z.ZodString;
436
+ /** Optional object/output of the action */
437
+ object: z.ZodOptional<z.ZodString>;
438
+ /** Qualifiers and conditions */
439
+ qualifiers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
440
+ /** Confidence in this normalization */
441
+ confidence: z.ZodNumber;
442
+ /** Original text this was derived from */
443
+ source_text: z.ZodString;
444
+ }, "strip", z.ZodTypeAny, {
445
+ confidence: number;
446
+ type: "constraint" | "functional" | "non_functional" | "assumption";
447
+ source_text: string;
448
+ goal_id: string;
449
+ statement: string;
450
+ action: string;
451
+ subject: string;
452
+ qualifiers: string[];
453
+ object?: string | undefined;
454
+ }, {
455
+ confidence: number;
456
+ type: "constraint" | "functional" | "non_functional" | "assumption";
457
+ source_text: string;
458
+ goal_id: string;
459
+ statement: string;
460
+ action: string;
461
+ subject: string;
462
+ object?: string | undefined;
463
+ qualifiers?: string[] | undefined;
464
+ }>, "many">>;
465
+ /** Clarified/normalized version of the objective */
466
+ clarified_objective: z.ZodObject<{
467
+ /** The clarified objective statement */
468
+ statement: z.ZodString;
469
+ /** Assumptions made during clarification */
470
+ assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
471
+ /** Unresolved items that need human input */
472
+ unresolved: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
473
+ /** Confidence in the clarification */
474
+ confidence: z.ZodNumber;
475
+ }, "strip", z.ZodTypeAny, {
476
+ confidence: number;
477
+ assumptions: string[];
478
+ statement: string;
479
+ unresolved: string[];
480
+ }, {
481
+ confidence: number;
482
+ statement: string;
483
+ assumptions?: string[] | undefined;
484
+ unresolved?: string[] | undefined;
485
+ }>;
486
+ /** Prioritized clarification questions */
487
+ clarification_questions: z.ZodDefault<z.ZodArray<z.ZodObject<{
488
+ question: z.ZodString;
489
+ priority: z.ZodEnum<["low", "medium", "high", "critical"]>;
490
+ related_ambiguity_id: z.ZodOptional<z.ZodString>;
491
+ related_constraint_id: z.ZodOptional<z.ZodString>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ priority: "low" | "medium" | "high" | "critical";
494
+ question: string;
495
+ related_ambiguity_id?: string | undefined;
496
+ related_constraint_id?: string | undefined;
497
+ }, {
498
+ priority: "low" | "medium" | "high" | "critical";
499
+ question: string;
500
+ related_ambiguity_id?: string | undefined;
501
+ related_constraint_id?: string | undefined;
502
+ }>, "many">>;
503
+ /** Analysis metadata */
504
+ analysis: z.ZodObject<{
505
+ /** Total ambiguities detected */
506
+ total_ambiguities: z.ZodNumber;
507
+ /** Total missing constraints */
508
+ total_missing_constraints: z.ZodNumber;
509
+ /** Total goals extracted */
510
+ total_goals: z.ZodNumber;
511
+ /** Overall clarity score (0-1) */
512
+ clarity_score: z.ZodNumber;
513
+ /** Completeness score (0-1) */
514
+ completeness_score: z.ZodNumber;
515
+ /** Word count of original objective */
516
+ word_count: z.ZodNumber;
517
+ /** Complexity assessment */
518
+ complexity: z.ZodEnum<["simple", "moderate", "complex", "very_complex"]>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ completeness_score: number;
521
+ clarity_score: number;
522
+ total_ambiguities: number;
523
+ total_missing_constraints: number;
524
+ total_goals: number;
525
+ word_count: number;
526
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
527
+ }, {
528
+ completeness_score: number;
529
+ clarity_score: number;
530
+ total_ambiguities: number;
531
+ total_missing_constraints: number;
532
+ total_goals: number;
533
+ word_count: number;
534
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
535
+ }>;
536
+ /** Clarification version */
537
+ version: z.ZodDefault<z.ZodString>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ status: "clear" | "needs_clarification" | "requires_decomposition" | "insufficient";
540
+ version: string;
541
+ analysis: {
542
+ completeness_score: number;
543
+ clarity_score: number;
544
+ total_ambiguities: number;
545
+ total_missing_constraints: number;
546
+ total_goals: number;
547
+ word_count: number;
548
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
549
+ };
550
+ clarification_id: string;
551
+ original_objective: string;
552
+ ambiguities: {
553
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
554
+ id: string;
555
+ description: string;
556
+ severity: "low" | "medium" | "high" | "critical";
557
+ source_text: string;
558
+ interpretations: {
559
+ assumptions: string[];
560
+ interpretation: string;
561
+ likelihood: number;
562
+ }[];
563
+ clarification_prompt: string;
564
+ }[];
565
+ missing_constraints: {
566
+ id: string;
567
+ description: string;
568
+ severity: "low" | "medium" | "high" | "critical";
569
+ category: "compliance" | "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "technical";
570
+ impact: string;
571
+ clarification_prompt: string;
572
+ default_assumption?: string | undefined;
573
+ }[];
574
+ normalized_goals: {
575
+ confidence: number;
576
+ type: "constraint" | "functional" | "non_functional" | "assumption";
577
+ source_text: string;
578
+ goal_id: string;
579
+ statement: string;
580
+ action: string;
581
+ subject: string;
582
+ qualifiers: string[];
583
+ object?: string | undefined;
584
+ }[];
585
+ clarified_objective: {
586
+ confidence: number;
587
+ assumptions: string[];
588
+ statement: string;
589
+ unresolved: string[];
590
+ };
591
+ clarification_questions: {
592
+ priority: "low" | "medium" | "high" | "critical";
593
+ question: string;
594
+ related_ambiguity_id?: string | undefined;
595
+ related_constraint_id?: string | undefined;
596
+ }[];
597
+ }, {
598
+ status: "clear" | "needs_clarification" | "requires_decomposition" | "insufficient";
599
+ analysis: {
600
+ completeness_score: number;
601
+ clarity_score: number;
602
+ total_ambiguities: number;
603
+ total_missing_constraints: number;
604
+ total_goals: number;
605
+ word_count: number;
606
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
607
+ };
608
+ clarification_id: string;
609
+ original_objective: string;
610
+ clarified_objective: {
611
+ confidence: number;
612
+ statement: string;
613
+ assumptions?: string[] | undefined;
614
+ unresolved?: string[] | undefined;
615
+ };
616
+ version?: string | undefined;
617
+ ambiguities?: {
618
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
619
+ id: string;
620
+ description: string;
621
+ severity: "low" | "medium" | "high" | "critical";
622
+ source_text: string;
623
+ interpretations: {
624
+ interpretation: string;
625
+ likelihood: number;
626
+ assumptions?: string[] | undefined;
627
+ }[];
628
+ clarification_prompt: string;
629
+ }[] | undefined;
630
+ missing_constraints?: {
631
+ id: string;
632
+ description: string;
633
+ severity: "low" | "medium" | "high" | "critical";
634
+ category: "compliance" | "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "technical";
635
+ impact: string;
636
+ clarification_prompt: string;
637
+ default_assumption?: string | undefined;
638
+ }[] | undefined;
639
+ normalized_goals?: {
640
+ confidence: number;
641
+ type: "constraint" | "functional" | "non_functional" | "assumption";
642
+ source_text: string;
643
+ goal_id: string;
644
+ statement: string;
645
+ action: string;
646
+ subject: string;
647
+ object?: string | undefined;
648
+ qualifiers?: string[] | undefined;
649
+ }[] | undefined;
650
+ clarification_questions?: {
651
+ priority: "low" | "medium" | "high" | "critical";
652
+ question: string;
653
+ related_ambiguity_id?: string | undefined;
654
+ related_constraint_id?: string | undefined;
655
+ }[] | undefined;
656
+ }>;
657
+ export type ObjectiveClarifierOutput = z.infer<typeof ObjectiveClarifierOutputSchema>;