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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/bundled-agents/connector-hub-agents/package-lock.json +11697 -0
  2. package/dist/bundled-agents/connector-hub-agents/package.json +75 -0
  3. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +22 -0
  4. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +57 -0
  5. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +17 -0
  6. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +14 -0
  7. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +35 -0
  8. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +1 -0
  9. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +55 -0
  10. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +40 -0
  11. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +1 -0
  12. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +22 -0
  13. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +38 -0
  14. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +1 -0
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +34 -0
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +186 -0
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +1 -0
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +36 -0
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +121 -0
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +1 -0
  21. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  22. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +948 -0
  23. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +1 -0
  24. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +9 -0
  25. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +27 -0
  26. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +1 -0
  27. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  28. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +50 -0
  29. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +214 -0
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +91 -0
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +1 -0
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +1166 -0
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +308 -0
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +1 -0
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +59 -0
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +62 -0
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +1 -0
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +400 -0
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +113 -0
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +1 -0
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +250 -0
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +169 -0
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +1 -0
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +17 -0
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +97 -0
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +1 -0
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +246 -0
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +1 -0
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +1085 -0
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +218 -0
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +949 -0
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +253 -0
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +657 -0
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +205 -0
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +285 -0
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +106 -0
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +1 -0
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +581 -0
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +136 -0
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +1 -0
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +791 -0
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +225 -0
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +1 -0
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +120 -0
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +535 -0
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +1 -0
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +9 -0
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +18 -0
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +1 -0
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +4 -0
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +9 -0
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +1 -0
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +10 -0
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +25 -0
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +1 -0
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +25 -0
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +1 -0
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +6 -0
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +15 -0
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +1 -0
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +192 -0
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +1 -0
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +11 -0
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +25 -0
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +1 -0
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +127 -0
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +483 -0
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +1 -0
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +49 -0
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +125 -0
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +1 -0
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +73 -0
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +192 -0
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +1 -0
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +11 -0
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +27 -0
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +1 -0
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +122 -0
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +645 -0
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +1 -0
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +156 -0
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +1 -0
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +88 -0
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +246 -0
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +1 -0
  126. package/dist/bundled-agents/copilot-agents/functions/index.js +4 -0
  127. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +29 -0
  128. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +14 -0
  129. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +35 -0
  130. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +1 -0
  131. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +27 -0
  132. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +21 -0
  133. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +1 -0
  134. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +22 -0
  135. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +38 -0
  136. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +1 -0
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +34 -0
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +174 -0
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +1 -0
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +27 -0
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +107 -0
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +1 -0
  143. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  144. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +941 -0
  145. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +1 -0
  146. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +9 -0
  147. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +27 -0
  148. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +1 -0
  149. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  150. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +50 -0
  151. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +185 -0
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +86 -0
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +1 -0
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +1081 -0
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +305 -0
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +1 -0
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +59 -0
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +62 -0
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +1 -0
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +315 -0
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +110 -0
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +1 -0
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +250 -0
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +169 -0
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +1 -0
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +16 -0
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +88 -0
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +1 -0
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +246 -0
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +1 -0
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +1000 -0
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +215 -0
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +864 -0
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +250 -0
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +572 -0
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +202 -0
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +496 -0
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +133 -0
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +1 -0
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +706 -0
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +222 -0
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +1 -0
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +107 -0
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +360 -0
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +1 -0
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +9 -0
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +18 -0
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +1 -0
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +4 -0
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +9 -0
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +1 -0
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +10 -0
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +25 -0
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +1 -0
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +25 -0
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +1 -0
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +6 -0
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +15 -0
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +1 -0
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +192 -0
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +1 -0
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +11 -0
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +25 -0
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +1 -0
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +119 -0
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +421 -0
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +1 -0
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +49 -0
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +125 -0
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +1 -0
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +73 -0
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +192 -0
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +1 -0
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +11 -0
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +27 -0
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +1 -0
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +122 -0
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +645 -0
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +1 -0
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +156 -0
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +1 -0
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +88 -0
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +246 -0
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +1 -0
  245. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +5473 -0
  246. package/dist/bundled-agents/copilot-agents/functions/package.json +40 -0
  247. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +71 -0
  248. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +36 -0
  249. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +77 -0
  250. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +340 -0
  251. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +53 -0
  252. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +201 -0
  253. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +148 -0
  254. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +31 -0
  255. package/dist/bundled-agents/copilot-agents/package-lock.json +11825 -0
  256. package/dist/bundled-agents/copilot-agents/package.json +5 -0
  257. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +8282 -0
  258. package/dist/bundled-agents/governance-dashboard-agents/package.json +13 -0
  259. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +590 -0
  260. package/dist/bundled-agents/orchestrator-agents/functions/index.js +442 -0
  261. package/dist/bundled-agents/orchestrator-agents/functions/test.js +325 -0
  262. package/dist/bundled-agents/orchestrator-agents/index.js +6 -0
  263. package/dist/bundled-agents/orchestrator-agents/package-lock.json +13254 -0
  264. package/dist/bundled-agents/orchestrator-agents/package.json +20 -0
  265. package/dist/bundled-agents/platform-agents/package-lock.json +1723 -0
  266. package/dist/bundled-agents/platform-agents/package.json +22 -0
  267. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +463 -0
  268. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +234 -0
  269. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +229 -0
  270. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +327 -0
  271. package/dist/bundled-agents/platform-agents/src/claude.ts +71 -0
  272. package/dist/bundled-agents/platform-agents/src/cors.ts +24 -0
  273. package/dist/bundled-agents/platform-agents/src/envelope.ts +37 -0
  274. package/dist/bundled-agents/platform-agents/src/health.ts +20 -0
  275. package/dist/bundled-agents/platform-agents/src/index.ts +171 -0
  276. package/dist/bundled-agents/platform-agents/src/router.ts +38 -0
  277. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +238 -0
  278. package/dist/bundled-agents/platform-agents/tsconfig.json +19 -0
  279. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +3 -0
  280. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +1 -0
  281. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +43 -0
  282. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +1 -0
  283. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +3 -0
  284. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +1 -0
  285. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +30 -0
  286. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +1 -0
  287. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +3 -0
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +1 -0
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +53 -0
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +1 -0
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +3 -0
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +1 -0
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +51 -0
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +1 -0
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +3 -0
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +1 -0
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +36 -0
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +1 -0
  299. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +2 -0
  300. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +1 -0
  301. package/dist/bundled-agents/sentinel-agents/lib/index.js +70 -0
  302. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +1 -0
  303. package/dist/bundled-agents/sentinel-agents/package-lock.json +12591 -0
  304. package/dist/bundled-agents/sentinel-agents/package.json +62 -0
  305. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +46 -0
  306. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +33 -0
  307. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +56 -0
  308. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +54 -0
  309. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +38 -0
  310. package/dist/bundled-agents/sentinel-agents/src/claude.ts +71 -0
  311. package/dist/bundled-agents/sentinel-agents/src/index.ts +77 -0
  312. package/dist/bundled-agents/sentinel-agents/tsconfig.json +20 -0
  313. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  314. package/dist/pipeline/auto-chain.js +52 -0
  315. package/dist/pipeline/auto-chain.js.map +1 -1
  316. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  317. package/dist/pipeline/phase2/phases/ddd-generator.js +194 -2
  318. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  319. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  320. package/dist/pipeline/phase2/phases/sparc-specification.js +42 -33
  321. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  322. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  323. package/dist/pipeline/phase3/phases/domain-codegen.js +438 -0
  324. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  325. package/package.json +1 -1
@@ -0,0 +1,572 @@
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: "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "compliance" | "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: "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "compliance" | "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
+ }, "strip", z.ZodTypeAny, {
210
+ objective: string;
211
+ context?: {
212
+ domain?: string | undefined;
213
+ stakeholders?: string[] | undefined;
214
+ existing_context?: string | undefined;
215
+ known_constraints?: string[] | undefined;
216
+ priorities?: string[] | undefined;
217
+ } | undefined;
218
+ request_id?: string | undefined;
219
+ config?: {
220
+ min_severity?: "low" | "medium" | "high" | "critical" | undefined;
221
+ max_questions?: number | undefined;
222
+ auto_resolve_low_severity?: boolean | undefined;
223
+ interpretation_style?: "conservative" | "balanced" | "liberal" | undefined;
224
+ } | undefined;
225
+ }, {
226
+ objective: string;
227
+ context?: {
228
+ domain?: string | undefined;
229
+ stakeholders?: string[] | undefined;
230
+ existing_context?: string | undefined;
231
+ known_constraints?: string[] | undefined;
232
+ priorities?: string[] | undefined;
233
+ } | undefined;
234
+ request_id?: string | undefined;
235
+ config?: {
236
+ min_severity?: "low" | "medium" | "high" | "critical" | undefined;
237
+ max_questions?: number | undefined;
238
+ auto_resolve_low_severity?: boolean | undefined;
239
+ interpretation_style?: "conservative" | "balanced" | "liberal" | undefined;
240
+ } | undefined;
241
+ }>;
242
+ export type ObjectiveClarifierInput = z.infer<typeof ObjectiveClarifierInputSchema>;
243
+ /**
244
+ * Objective Clarifier Agent Output Schema
245
+ */
246
+ export declare const ObjectiveClarifierOutputSchema: z.ZodObject<{
247
+ /** Unique clarification session identifier */
248
+ clarification_id: z.ZodString;
249
+ /** Original objective (echoed for verification) */
250
+ original_objective: z.ZodString;
251
+ /** Clarification status */
252
+ status: z.ZodEnum<["clear", "needs_clarification", "requires_decomposition", "insufficient"]>;
253
+ /** List of detected ambiguities */
254
+ ambiguities: z.ZodDefault<z.ZodArray<z.ZodObject<{
255
+ /** Unique identifier for this ambiguity */
256
+ id: z.ZodString;
257
+ /** Type of ambiguity detected */
258
+ type: z.ZodEnum<["lexical", "syntactic", "semantic", "referential", "scope", "temporal", "quantitative", "conditional"]>;
259
+ /** The ambiguous portion of the objective */
260
+ source_text: z.ZodString;
261
+ /** Description of why this is ambiguous */
262
+ description: z.ZodString;
263
+ /** Possible interpretations of the ambiguous element */
264
+ interpretations: z.ZodArray<z.ZodObject<{
265
+ interpretation: z.ZodString;
266
+ likelihood: z.ZodNumber;
267
+ assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
268
+ }, "strip", z.ZodTypeAny, {
269
+ assumptions: string[];
270
+ interpretation: string;
271
+ likelihood: number;
272
+ }, {
273
+ interpretation: string;
274
+ likelihood: number;
275
+ assumptions?: string[] | undefined;
276
+ }>, "many">;
277
+ /** Severity of the ambiguity (how much it blocks understanding) */
278
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
279
+ /** Suggested clarification question */
280
+ clarification_prompt: z.ZodString;
281
+ }, "strip", z.ZodTypeAny, {
282
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
283
+ id: string;
284
+ description: string;
285
+ severity: "low" | "medium" | "high" | "critical";
286
+ source_text: string;
287
+ interpretations: {
288
+ assumptions: string[];
289
+ interpretation: string;
290
+ likelihood: number;
291
+ }[];
292
+ clarification_prompt: string;
293
+ }, {
294
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
295
+ id: string;
296
+ description: string;
297
+ severity: "low" | "medium" | "high" | "critical";
298
+ source_text: string;
299
+ interpretations: {
300
+ interpretation: string;
301
+ likelihood: number;
302
+ assumptions?: string[] | undefined;
303
+ }[];
304
+ clarification_prompt: string;
305
+ }>, "many">>;
306
+ /** List of missing constraints */
307
+ missing_constraints: z.ZodDefault<z.ZodArray<z.ZodObject<{
308
+ /** Unique identifier */
309
+ id: z.ZodString;
310
+ /** Category of the missing constraint */
311
+ category: z.ZodEnum<["temporal", "resource", "quality", "scope", "dependency", "compliance", "technical", "performance"]>;
312
+ /** What constraint information is missing */
313
+ description: z.ZodString;
314
+ /** Why this constraint matters */
315
+ impact: z.ZodString;
316
+ /** Severity if left unspecified */
317
+ severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
318
+ /** Suggested question to elicit this constraint */
319
+ clarification_prompt: z.ZodString;
320
+ /** Default assumption if not clarified */
321
+ default_assumption: z.ZodOptional<z.ZodString>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ id: string;
324
+ description: string;
325
+ severity: "low" | "medium" | "high" | "critical";
326
+ category: "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "compliance" | "technical";
327
+ impact: string;
328
+ clarification_prompt: string;
329
+ default_assumption?: string | undefined;
330
+ }, {
331
+ id: string;
332
+ description: string;
333
+ severity: "low" | "medium" | "high" | "critical";
334
+ category: "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "compliance" | "technical";
335
+ impact: string;
336
+ clarification_prompt: string;
337
+ default_assumption?: string | undefined;
338
+ }>, "many">>;
339
+ /** Normalized goals extracted from the objective */
340
+ normalized_goals: z.ZodDefault<z.ZodArray<z.ZodObject<{
341
+ /** Unique identifier for the goal */
342
+ goal_id: z.ZodString;
343
+ /** Normalized statement of the goal */
344
+ statement: z.ZodString;
345
+ /** Goal type classification */
346
+ type: z.ZodEnum<["functional", "non_functional", "constraint", "assumption"]>;
347
+ /** Extracted action verb (normalized) */
348
+ action: z.ZodString;
349
+ /** Subject/target of the action */
350
+ subject: z.ZodString;
351
+ /** Optional object/output of the action */
352
+ object: z.ZodOptional<z.ZodString>;
353
+ /** Qualifiers and conditions */
354
+ qualifiers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
355
+ /** Confidence in this normalization */
356
+ confidence: z.ZodNumber;
357
+ /** Original text this was derived from */
358
+ source_text: z.ZodString;
359
+ }, "strip", z.ZodTypeAny, {
360
+ confidence: number;
361
+ type: "constraint" | "functional" | "non_functional" | "assumption";
362
+ source_text: string;
363
+ goal_id: string;
364
+ statement: string;
365
+ action: string;
366
+ subject: string;
367
+ qualifiers: string[];
368
+ object?: string | undefined;
369
+ }, {
370
+ confidence: number;
371
+ type: "constraint" | "functional" | "non_functional" | "assumption";
372
+ source_text: string;
373
+ goal_id: string;
374
+ statement: string;
375
+ action: string;
376
+ subject: string;
377
+ object?: string | undefined;
378
+ qualifiers?: string[] | undefined;
379
+ }>, "many">>;
380
+ /** Clarified/normalized version of the objective */
381
+ clarified_objective: z.ZodObject<{
382
+ /** The clarified objective statement */
383
+ statement: z.ZodString;
384
+ /** Assumptions made during clarification */
385
+ assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
386
+ /** Unresolved items that need human input */
387
+ unresolved: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
388
+ /** Confidence in the clarification */
389
+ confidence: z.ZodNumber;
390
+ }, "strip", z.ZodTypeAny, {
391
+ confidence: number;
392
+ assumptions: string[];
393
+ statement: string;
394
+ unresolved: string[];
395
+ }, {
396
+ confidence: number;
397
+ statement: string;
398
+ assumptions?: string[] | undefined;
399
+ unresolved?: string[] | undefined;
400
+ }>;
401
+ /** Prioritized clarification questions */
402
+ clarification_questions: z.ZodDefault<z.ZodArray<z.ZodObject<{
403
+ question: z.ZodString;
404
+ priority: z.ZodEnum<["low", "medium", "high", "critical"]>;
405
+ related_ambiguity_id: z.ZodOptional<z.ZodString>;
406
+ related_constraint_id: z.ZodOptional<z.ZodString>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ priority: "low" | "medium" | "high" | "critical";
409
+ question: string;
410
+ related_ambiguity_id?: string | undefined;
411
+ related_constraint_id?: string | undefined;
412
+ }, {
413
+ priority: "low" | "medium" | "high" | "critical";
414
+ question: string;
415
+ related_ambiguity_id?: string | undefined;
416
+ related_constraint_id?: string | undefined;
417
+ }>, "many">>;
418
+ /** Analysis metadata */
419
+ analysis: z.ZodObject<{
420
+ /** Total ambiguities detected */
421
+ total_ambiguities: z.ZodNumber;
422
+ /** Total missing constraints */
423
+ total_missing_constraints: z.ZodNumber;
424
+ /** Total goals extracted */
425
+ total_goals: z.ZodNumber;
426
+ /** Overall clarity score (0-1) */
427
+ clarity_score: z.ZodNumber;
428
+ /** Completeness score (0-1) */
429
+ completeness_score: z.ZodNumber;
430
+ /** Word count of original objective */
431
+ word_count: z.ZodNumber;
432
+ /** Complexity assessment */
433
+ complexity: z.ZodEnum<["simple", "moderate", "complex", "very_complex"]>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ completeness_score: number;
436
+ clarity_score: number;
437
+ total_ambiguities: number;
438
+ total_missing_constraints: number;
439
+ total_goals: number;
440
+ word_count: number;
441
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
442
+ }, {
443
+ completeness_score: number;
444
+ clarity_score: number;
445
+ total_ambiguities: number;
446
+ total_missing_constraints: number;
447
+ total_goals: number;
448
+ word_count: number;
449
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
450
+ }>;
451
+ /** Clarification version */
452
+ version: z.ZodDefault<z.ZodString>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ status: "clear" | "needs_clarification" | "requires_decomposition" | "insufficient";
455
+ version: string;
456
+ analysis: {
457
+ completeness_score: number;
458
+ clarity_score: number;
459
+ total_ambiguities: number;
460
+ total_missing_constraints: number;
461
+ total_goals: number;
462
+ word_count: number;
463
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
464
+ };
465
+ clarification_id: string;
466
+ original_objective: string;
467
+ ambiguities: {
468
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
469
+ id: string;
470
+ description: string;
471
+ severity: "low" | "medium" | "high" | "critical";
472
+ source_text: string;
473
+ interpretations: {
474
+ assumptions: string[];
475
+ interpretation: string;
476
+ likelihood: number;
477
+ }[];
478
+ clarification_prompt: string;
479
+ }[];
480
+ missing_constraints: {
481
+ id: string;
482
+ description: string;
483
+ severity: "low" | "medium" | "high" | "critical";
484
+ category: "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "compliance" | "technical";
485
+ impact: string;
486
+ clarification_prompt: string;
487
+ default_assumption?: string | undefined;
488
+ }[];
489
+ normalized_goals: {
490
+ confidence: number;
491
+ type: "constraint" | "functional" | "non_functional" | "assumption";
492
+ source_text: string;
493
+ goal_id: string;
494
+ statement: string;
495
+ action: string;
496
+ subject: string;
497
+ qualifiers: string[];
498
+ object?: string | undefined;
499
+ }[];
500
+ clarified_objective: {
501
+ confidence: number;
502
+ assumptions: string[];
503
+ statement: string;
504
+ unresolved: string[];
505
+ };
506
+ clarification_questions: {
507
+ priority: "low" | "medium" | "high" | "critical";
508
+ question: string;
509
+ related_ambiguity_id?: string | undefined;
510
+ related_constraint_id?: string | undefined;
511
+ }[];
512
+ }, {
513
+ status: "clear" | "needs_clarification" | "requires_decomposition" | "insufficient";
514
+ analysis: {
515
+ completeness_score: number;
516
+ clarity_score: number;
517
+ total_ambiguities: number;
518
+ total_missing_constraints: number;
519
+ total_goals: number;
520
+ word_count: number;
521
+ complexity: "simple" | "moderate" | "complex" | "very_complex";
522
+ };
523
+ clarification_id: string;
524
+ original_objective: string;
525
+ clarified_objective: {
526
+ confidence: number;
527
+ statement: string;
528
+ assumptions?: string[] | undefined;
529
+ unresolved?: string[] | undefined;
530
+ };
531
+ version?: string | undefined;
532
+ ambiguities?: {
533
+ type: "temporal" | "scope" | "lexical" | "syntactic" | "semantic" | "referential" | "quantitative" | "conditional";
534
+ id: string;
535
+ description: string;
536
+ severity: "low" | "medium" | "high" | "critical";
537
+ source_text: string;
538
+ interpretations: {
539
+ interpretation: string;
540
+ likelihood: number;
541
+ assumptions?: string[] | undefined;
542
+ }[];
543
+ clarification_prompt: string;
544
+ }[] | undefined;
545
+ missing_constraints?: {
546
+ id: string;
547
+ description: string;
548
+ severity: "low" | "medium" | "high" | "critical";
549
+ category: "resource" | "performance" | "dependency" | "quality" | "temporal" | "scope" | "compliance" | "technical";
550
+ impact: string;
551
+ clarification_prompt: string;
552
+ default_assumption?: string | undefined;
553
+ }[] | undefined;
554
+ normalized_goals?: {
555
+ confidence: number;
556
+ type: "constraint" | "functional" | "non_functional" | "assumption";
557
+ source_text: string;
558
+ goal_id: string;
559
+ statement: string;
560
+ action: string;
561
+ subject: string;
562
+ object?: string | undefined;
563
+ qualifiers?: string[] | undefined;
564
+ }[] | undefined;
565
+ clarification_questions?: {
566
+ priority: "low" | "medium" | "high" | "critical";
567
+ question: string;
568
+ related_ambiguity_id?: string | undefined;
569
+ related_constraint_id?: string | undefined;
570
+ }[] | undefined;
571
+ }>;
572
+ export type ObjectiveClarifierOutput = z.infer<typeof ObjectiveClarifierOutputSchema>;