@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,205 @@
1
+ "use strict";
2
+ /**
3
+ * Objective Clarifier Agent Schemas
4
+ *
5
+ * Purpose: Clarify ambiguous or incomplete objectives
6
+ * Classification: INTENT_ANALYSIS, DECOMPOSITION
7
+ * decision_type: objective_clarification
8
+ *
9
+ * Scope:
10
+ * - Resolve ambiguity
11
+ * - Normalize goals
12
+ * - Identify missing constraints
13
+ *
14
+ * Must Never:
15
+ * - Generate plans
16
+ * - Define solutions
17
+ * - Execute logic
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.ObjectiveClarifierOutputSchema = exports.ObjectiveClarifierInputSchema = exports.NormalizedGoalSchema = exports.MissingConstraintSchema = exports.AmbiguitySchema = void 0;
21
+ const zod_1 = require("zod");
22
+ const pipeline_schemas_1 = require("./pipeline-schemas");
23
+ /**
24
+ * Ambiguity detection result
25
+ */
26
+ exports.AmbiguitySchema = zod_1.z.object({
27
+ /** Unique identifier for this ambiguity */
28
+ id: zod_1.z.string().min(1),
29
+ /** Type of ambiguity detected */
30
+ type: zod_1.z.enum([
31
+ 'lexical', // Word meaning unclear
32
+ 'syntactic', // Sentence structure unclear
33
+ 'semantic', // Meaning/intent unclear
34
+ 'referential', // Reference unclear (what does "it" refer to)
35
+ 'scope', // Extent/boundaries unclear
36
+ 'temporal', // Timing/sequencing unclear
37
+ 'quantitative', // Amount/scale unclear
38
+ 'conditional', // Conditions/constraints unclear
39
+ ]),
40
+ /** The ambiguous portion of the objective */
41
+ source_text: zod_1.z.string(),
42
+ /** Description of why this is ambiguous */
43
+ description: zod_1.z.string(),
44
+ /** Possible interpretations of the ambiguous element */
45
+ interpretations: zod_1.z.array(zod_1.z.object({
46
+ interpretation: zod_1.z.string(),
47
+ likelihood: zod_1.z.number().min(0).max(1),
48
+ assumptions: zod_1.z.array(zod_1.z.string()).default([]),
49
+ })).min(1),
50
+ /** Severity of the ambiguity (how much it blocks understanding) */
51
+ severity: zod_1.z.enum(['low', 'medium', 'high', 'critical']),
52
+ /** Suggested clarification question */
53
+ clarification_prompt: zod_1.z.string(),
54
+ });
55
+ /**
56
+ * Missing constraint identification
57
+ */
58
+ exports.MissingConstraintSchema = zod_1.z.object({
59
+ /** Unique identifier */
60
+ id: zod_1.z.string().min(1),
61
+ /** Category of the missing constraint */
62
+ category: zod_1.z.enum([
63
+ 'temporal', // Timeline, deadlines, duration
64
+ 'resource', // Budget, tools, people, systems
65
+ 'quality', // Standards, acceptance criteria
66
+ 'scope', // Boundaries, inclusions/exclusions
67
+ 'dependency', // Prerequisites, blockers
68
+ 'compliance', // Regulations, policies
69
+ 'technical', // Technology choices, compatibility
70
+ 'performance', // Speed, scalability, limits
71
+ ]),
72
+ /** What constraint information is missing */
73
+ description: zod_1.z.string(),
74
+ /** Why this constraint matters */
75
+ impact: zod_1.z.string(),
76
+ /** Severity if left unspecified */
77
+ severity: zod_1.z.enum(['low', 'medium', 'high', 'critical']),
78
+ /** Suggested question to elicit this constraint */
79
+ clarification_prompt: zod_1.z.string(),
80
+ /** Default assumption if not clarified */
81
+ default_assumption: zod_1.z.string().optional(),
82
+ });
83
+ /**
84
+ * Normalized goal representation
85
+ */
86
+ exports.NormalizedGoalSchema = zod_1.z.object({
87
+ /** Unique identifier for the goal */
88
+ goal_id: zod_1.z.string().min(1),
89
+ /** Normalized statement of the goal */
90
+ statement: zod_1.z.string().min(1),
91
+ /** Goal type classification */
92
+ type: zod_1.z.enum([
93
+ 'functional', // What the system should do
94
+ 'non_functional', // How well it should do it
95
+ 'constraint', // Limitations or boundaries
96
+ 'assumption', // Implicit requirements
97
+ ]),
98
+ /** Extracted action verb (normalized) */
99
+ action: zod_1.z.string(),
100
+ /** Subject/target of the action */
101
+ subject: zod_1.z.string(),
102
+ /** Optional object/output of the action */
103
+ object: zod_1.z.string().optional(),
104
+ /** Qualifiers and conditions */
105
+ qualifiers: zod_1.z.array(zod_1.z.string()).default([]),
106
+ /** Confidence in this normalization */
107
+ confidence: zod_1.z.number().min(0).max(1),
108
+ /** Original text this was derived from */
109
+ source_text: zod_1.z.string(),
110
+ });
111
+ /**
112
+ * Objective Clarifier Agent Input Schema
113
+ */
114
+ exports.ObjectiveClarifierInputSchema = zod_1.z.object({
115
+ /** The raw objective to clarify */
116
+ objective: zod_1.z.string().min(1).max(50000),
117
+ /** Optional context to aid clarification */
118
+ context: zod_1.z.object({
119
+ /** Domain/industry context */
120
+ domain: zod_1.z.string().optional(),
121
+ /** Known stakeholders */
122
+ stakeholders: zod_1.z.array(zod_1.z.string()).optional(),
123
+ /** Existing system/project information */
124
+ existing_context: zod_1.z.string().optional(),
125
+ /** Previously established constraints */
126
+ known_constraints: zod_1.z.array(zod_1.z.string()).optional(),
127
+ /** Priority hints */
128
+ priorities: zod_1.z.array(zod_1.z.string()).optional(),
129
+ }).optional(),
130
+ /** Configuration for clarification */
131
+ config: zod_1.z.object({
132
+ /** Minimum ambiguity severity to report */
133
+ min_severity: zod_1.z.enum(['low', 'medium', 'high', 'critical']).optional(),
134
+ /** Maximum number of clarification questions to generate */
135
+ max_questions: zod_1.z.number().int().positive().max(20).optional(),
136
+ /** Whether to attempt automatic resolution of low-severity ambiguities */
137
+ auto_resolve_low_severity: zod_1.z.boolean().optional(),
138
+ /** Preferred interpretation style */
139
+ interpretation_style: zod_1.z.enum(['conservative', 'balanced', 'liberal']).optional(),
140
+ }).optional(),
141
+ /** Request ID for tracing */
142
+ request_id: zod_1.z.string().uuid().optional(),
143
+ /** Optional pipeline context for multi-agent orchestration */
144
+ pipeline_context: pipeline_schemas_1.PipelineContextSchema.optional(),
145
+ });
146
+ /**
147
+ * Objective Clarifier Agent Output Schema
148
+ */
149
+ exports.ObjectiveClarifierOutputSchema = zod_1.z.object({
150
+ /** Unique clarification session identifier */
151
+ clarification_id: zod_1.z.string().uuid(),
152
+ /** Original objective (echoed for verification) */
153
+ original_objective: zod_1.z.string(),
154
+ /** Clarification status */
155
+ status: zod_1.z.enum([
156
+ 'clear', // Objective is clear, no issues found
157
+ 'needs_clarification', // Ambiguities or missing constraints found
158
+ 'requires_decomposition', // Too complex, needs breaking down
159
+ 'insufficient', // Not enough information to analyze
160
+ ]),
161
+ /** List of detected ambiguities */
162
+ ambiguities: zod_1.z.array(exports.AmbiguitySchema).default([]),
163
+ /** List of missing constraints */
164
+ missing_constraints: zod_1.z.array(exports.MissingConstraintSchema).default([]),
165
+ /** Normalized goals extracted from the objective */
166
+ normalized_goals: zod_1.z.array(exports.NormalizedGoalSchema).default([]),
167
+ /** Clarified/normalized version of the objective */
168
+ clarified_objective: zod_1.z.object({
169
+ /** The clarified objective statement */
170
+ statement: zod_1.z.string(),
171
+ /** Assumptions made during clarification */
172
+ assumptions: zod_1.z.array(zod_1.z.string()).default([]),
173
+ /** Unresolved items that need human input */
174
+ unresolved: zod_1.z.array(zod_1.z.string()).default([]),
175
+ /** Confidence in the clarification */
176
+ confidence: zod_1.z.number().min(0).max(1),
177
+ }),
178
+ /** Prioritized clarification questions */
179
+ clarification_questions: zod_1.z.array(zod_1.z.object({
180
+ question: zod_1.z.string(),
181
+ priority: zod_1.z.enum(['low', 'medium', 'high', 'critical']),
182
+ related_ambiguity_id: zod_1.z.string().optional(),
183
+ related_constraint_id: zod_1.z.string().optional(),
184
+ })).default([]),
185
+ /** Analysis metadata */
186
+ analysis: zod_1.z.object({
187
+ /** Total ambiguities detected */
188
+ total_ambiguities: zod_1.z.number().int().nonnegative(),
189
+ /** Total missing constraints */
190
+ total_missing_constraints: zod_1.z.number().int().nonnegative(),
191
+ /** Total goals extracted */
192
+ total_goals: zod_1.z.number().int().nonnegative(),
193
+ /** Overall clarity score (0-1) */
194
+ clarity_score: zod_1.z.number().min(0).max(1),
195
+ /** Completeness score (0-1) */
196
+ completeness_score: zod_1.z.number().min(0).max(1),
197
+ /** Word count of original objective */
198
+ word_count: zod_1.z.number().int().nonnegative(),
199
+ /** Complexity assessment */
200
+ complexity: zod_1.z.enum(['simple', 'moderate', 'complex', 'very_complex']),
201
+ }),
202
+ /** Clarification version */
203
+ version: zod_1.z.string().default('1.0.0'),
204
+ });
205
+ //# sourceMappingURL=objective-clarifier-schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objective-clarifier-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/objective-clarifier-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,6BAAwB;AACxB,yDAA2D;AAE3D;;GAEG;AACU,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,2CAA2C;IAC3C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAErB,iCAAiC;IACjC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC;QACX,SAAS,EAAS,uBAAuB;QACzC,WAAW,EAAO,6BAA6B;QAC/C,UAAU,EAAQ,yBAAyB;QAC3C,aAAa,EAAK,8CAA8C;QAChE,OAAO,EAAW,4BAA4B;QAC9C,UAAU,EAAQ,4BAA4B;QAC9C,cAAc,EAAI,uBAAuB;QACzC,aAAa,EAAK,iCAAiC;KACpD,CAAC;IAEF,6CAA6C;IAC7C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IAEvB,2CAA2C;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AA4B;QAC5B,UAAU,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;KACtE,CAAC;IAEF,4BAA4B;IAC5B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;CACrC,CAAC,CAAC"}
@@ -0,0 +1,285 @@
1
+ /**
2
+ * Pipeline Orchestration Schemas
3
+ *
4
+ * Types for multi-agent pipeline orchestration.
5
+ * Used by the decomposer to produce execution plans and by all agents
6
+ * to accept/echo pipeline context for traceability.
7
+ */
8
+ import { z } from 'zod';
9
+ /**
10
+ * The full Agentics domain registry. The decomposer uses this to route
11
+ * pipeline steps to the correct domain + agent.
12
+ */
13
+ export declare const DOMAIN_REGISTRY: {
14
+ readonly copilot: {
15
+ readonly agents: readonly ["planner", "config", "decomposer", "clarifier", "intent", "reflection", "meta-reasoner"];
16
+ };
17
+ readonly forge: {
18
+ readonly agents: readonly ["sdk", "scaffold", "template"];
19
+ };
20
+ readonly runtime: {
21
+ readonly agents: readonly ["executor", "sandbox", "wasm"];
22
+ };
23
+ readonly data: {
24
+ readonly agents: readonly ["ingest", "transform", "query"];
25
+ };
26
+ readonly auth: {
27
+ readonly agents: readonly ["identity", "rbac", "token"];
28
+ };
29
+ readonly observability: {
30
+ readonly agents: readonly ["metrics", "trace", "log"];
31
+ };
32
+ readonly deploy: {
33
+ readonly agents: readonly ["ci", "cd", "rollback"];
34
+ };
35
+ readonly test: {
36
+ readonly agents: readonly ["unit", "integration", "e2e"];
37
+ };
38
+ readonly docs: {
39
+ readonly agents: readonly ["generate", "index", "search"];
40
+ };
41
+ readonly security: {
42
+ readonly agents: readonly ["scan", "audit", "compliance"];
43
+ };
44
+ readonly ml: {
45
+ readonly agents: readonly ["train", "inference", "evaluate"];
46
+ };
47
+ readonly search: {
48
+ readonly agents: readonly ["index", "query", "rank"];
49
+ };
50
+ readonly storage: {
51
+ readonly agents: readonly ["blob", "cache", "archive"];
52
+ };
53
+ readonly messaging: {
54
+ readonly agents: readonly ["pubsub", "queue", "stream"];
55
+ };
56
+ readonly gateway: {
57
+ readonly agents: readonly ["route", "ratelimit", "transform"];
58
+ };
59
+ readonly workflow: {
60
+ readonly agents: readonly ["orchestrate", "schedule", "retry"];
61
+ };
62
+ readonly ui: {
63
+ readonly agents: readonly ["component", "layout", "theme"];
64
+ };
65
+ readonly analytics: {
66
+ readonly agents: readonly ["collect", "aggregate", "report"];
67
+ };
68
+ readonly billing: {
69
+ readonly agents: readonly ["meter", "invoice", "plan"];
70
+ };
71
+ readonly notification: {
72
+ readonly agents: readonly ["email", "push", "webhook"];
73
+ };
74
+ readonly migration: {
75
+ readonly agents: readonly ["schema", "data", "rollback"];
76
+ };
77
+ readonly config: {
78
+ readonly agents: readonly ["validate", "distribute", "version"];
79
+ };
80
+ readonly secret: {
81
+ readonly agents: readonly ["vault", "rotate", "inject"];
82
+ };
83
+ readonly edge: {
84
+ readonly agents: readonly ["cdn", "function", "cache"];
85
+ };
86
+ readonly compliance: {
87
+ readonly agents: readonly ["gdpr", "hipaa", "soc2"];
88
+ };
89
+ readonly i18n: {
90
+ readonly agents: readonly ["translate", "locale", "format"];
91
+ };
92
+ readonly devtools: {
93
+ readonly agents: readonly ["lint", "format", "debug"];
94
+ };
95
+ };
96
+ export type DomainName = keyof typeof DOMAIN_REGISTRY;
97
+ export declare const DOMAIN_NAMES: DomainName[];
98
+ export declare const PipelineStepSchema: z.ZodObject<{
99
+ /** Step identifier within the pipeline */
100
+ step_id: z.ZodString;
101
+ /** Target domain from the 27-domain registry */
102
+ domain: z.ZodString;
103
+ /** Target agent within the domain */
104
+ agent: z.ZodString;
105
+ /** Human-readable description of what this step does */
106
+ description: z.ZodString;
107
+ /** step_id of the step whose output feeds into this step (null if no dependency) */
108
+ input_from: z.ZodNullable<z.ZodString>;
109
+ /** Label for the expected output artifact type */
110
+ output_schema: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ description: string;
113
+ step_id: string;
114
+ domain: string;
115
+ agent: string;
116
+ input_from: string | null;
117
+ output_schema: string;
118
+ }, {
119
+ description: string;
120
+ step_id: string;
121
+ domain: string;
122
+ agent: string;
123
+ input_from: string | null;
124
+ output_schema: string;
125
+ }>;
126
+ export type PipelineStep = z.infer<typeof PipelineStepSchema>;
127
+ export declare const PipelineSpecSchema: z.ZodObject<{
128
+ /** Unique plan identifier */
129
+ plan_id: z.ZodString;
130
+ /** Ordered list of execution steps */
131
+ steps: z.ZodArray<z.ZodObject<{
132
+ /** Step identifier within the pipeline */
133
+ step_id: z.ZodString;
134
+ /** Target domain from the 27-domain registry */
135
+ domain: z.ZodString;
136
+ /** Target agent within the domain */
137
+ agent: z.ZodString;
138
+ /** Human-readable description of what this step does */
139
+ description: z.ZodString;
140
+ /** step_id of the step whose output feeds into this step (null if no dependency) */
141
+ input_from: z.ZodNullable<z.ZodString>;
142
+ /** Label for the expected output artifact type */
143
+ output_schema: z.ZodString;
144
+ }, "strip", z.ZodTypeAny, {
145
+ description: string;
146
+ step_id: string;
147
+ domain: string;
148
+ agent: string;
149
+ input_from: string | null;
150
+ output_schema: string;
151
+ }, {
152
+ description: string;
153
+ step_id: string;
154
+ domain: string;
155
+ agent: string;
156
+ input_from: string | null;
157
+ output_schema: string;
158
+ }>, "many">;
159
+ /** Pipeline metadata */
160
+ metadata: z.ZodObject<{
161
+ /** Original NL query that triggered decomposition */
162
+ source_query: z.ZodString;
163
+ /** ISO timestamp of pipeline creation */
164
+ created_at: z.ZodString;
165
+ /** Number of steps in the pipeline */
166
+ estimated_steps: z.ZodNumber;
167
+ }, "strip", z.ZodTypeAny, {
168
+ source_query: string;
169
+ created_at: string;
170
+ estimated_steps: number;
171
+ }, {
172
+ source_query: string;
173
+ created_at: string;
174
+ estimated_steps: number;
175
+ }>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ plan_id: string;
178
+ steps: {
179
+ description: string;
180
+ step_id: string;
181
+ domain: string;
182
+ agent: string;
183
+ input_from: string | null;
184
+ output_schema: string;
185
+ }[];
186
+ metadata: {
187
+ source_query: string;
188
+ created_at: string;
189
+ estimated_steps: number;
190
+ };
191
+ }, {
192
+ plan_id: string;
193
+ steps: {
194
+ description: string;
195
+ step_id: string;
196
+ domain: string;
197
+ agent: string;
198
+ input_from: string | null;
199
+ output_schema: string;
200
+ }[];
201
+ metadata: {
202
+ source_query: string;
203
+ created_at: string;
204
+ estimated_steps: number;
205
+ };
206
+ }>;
207
+ export type PipelineSpec = z.infer<typeof PipelineSpecSchema>;
208
+ export declare const PipelineStepRefSchema: z.ZodObject<{
209
+ step_id: z.ZodString;
210
+ domain: z.ZodString;
211
+ agent: z.ZodString;
212
+ output: z.ZodOptional<z.ZodUnknown>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ step_id: string;
215
+ domain: string;
216
+ agent: string;
217
+ output?: unknown;
218
+ }, {
219
+ step_id: string;
220
+ domain: string;
221
+ agent: string;
222
+ output?: unknown;
223
+ }>;
224
+ export type PipelineStepRef = z.infer<typeof PipelineStepRefSchema>;
225
+ export declare const PipelineContextSchema: z.ZodObject<{
226
+ /** Pipeline plan ID */
227
+ plan_id: z.ZodString;
228
+ /** Current step being executed */
229
+ step_id: z.ZodString;
230
+ /** Outputs from previously completed steps */
231
+ previous_steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
232
+ step_id: z.ZodString;
233
+ domain: z.ZodString;
234
+ agent: z.ZodString;
235
+ output: z.ZodOptional<z.ZodUnknown>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ step_id: string;
238
+ domain: string;
239
+ agent: string;
240
+ output?: unknown;
241
+ }, {
242
+ step_id: string;
243
+ domain: string;
244
+ agent: string;
245
+ output?: unknown;
246
+ }>, "many">>;
247
+ /** Execution-level metadata */
248
+ execution_metadata: z.ZodOptional<z.ZodObject<{
249
+ trace_id: z.ZodString;
250
+ initiated_by: z.ZodString;
251
+ }, "strip", z.ZodTypeAny, {
252
+ trace_id: string;
253
+ initiated_by: string;
254
+ }, {
255
+ trace_id: string;
256
+ initiated_by: string;
257
+ }>>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ step_id: string;
260
+ plan_id: string;
261
+ previous_steps: {
262
+ step_id: string;
263
+ domain: string;
264
+ agent: string;
265
+ output?: unknown;
266
+ }[];
267
+ execution_metadata?: {
268
+ trace_id: string;
269
+ initiated_by: string;
270
+ } | undefined;
271
+ }, {
272
+ step_id: string;
273
+ plan_id: string;
274
+ previous_steps?: {
275
+ step_id: string;
276
+ domain: string;
277
+ agent: string;
278
+ output?: unknown;
279
+ }[] | undefined;
280
+ execution_metadata?: {
281
+ trace_id: string;
282
+ initiated_by: string;
283
+ } | undefined;
284
+ }>;
285
+ export type PipelineContext = z.infer<typeof PipelineContextSchema>;
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ /**
3
+ * Pipeline Orchestration Schemas
4
+ *
5
+ * Types for multi-agent pipeline orchestration.
6
+ * Used by the decomposer to produce execution plans and by all agents
7
+ * to accept/echo pipeline context for traceability.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PipelineContextSchema = exports.PipelineStepRefSchema = exports.PipelineSpecSchema = exports.PipelineStepSchema = exports.DOMAIN_NAMES = exports.DOMAIN_REGISTRY = void 0;
11
+ const zod_1 = require("zod");
12
+ // ---------------------------------------------------------------------------
13
+ // 27-Domain Registry
14
+ // ---------------------------------------------------------------------------
15
+ /**
16
+ * The full Agentics domain registry. The decomposer uses this to route
17
+ * pipeline steps to the correct domain + agent.
18
+ */
19
+ exports.DOMAIN_REGISTRY = {
20
+ copilot: { agents: ['planner', 'config', 'decomposer', 'clarifier', 'intent', 'reflection', 'meta-reasoner'] },
21
+ forge: { agents: ['sdk', 'scaffold', 'template'] },
22
+ runtime: { agents: ['executor', 'sandbox', 'wasm'] },
23
+ data: { agents: ['ingest', 'transform', 'query'] },
24
+ auth: { agents: ['identity', 'rbac', 'token'] },
25
+ observability: { agents: ['metrics', 'trace', 'log'] },
26
+ deploy: { agents: ['ci', 'cd', 'rollback'] },
27
+ test: { agents: ['unit', 'integration', 'e2e'] },
28
+ docs: { agents: ['generate', 'index', 'search'] },
29
+ security: { agents: ['scan', 'audit', 'compliance'] },
30
+ ml: { agents: ['train', 'inference', 'evaluate'] },
31
+ search: { agents: ['index', 'query', 'rank'] },
32
+ storage: { agents: ['blob', 'cache', 'archive'] },
33
+ messaging: { agents: ['pubsub', 'queue', 'stream'] },
34
+ gateway: { agents: ['route', 'ratelimit', 'transform'] },
35
+ workflow: { agents: ['orchestrate', 'schedule', 'retry'] },
36
+ ui: { agents: ['component', 'layout', 'theme'] },
37
+ analytics: { agents: ['collect', 'aggregate', 'report'] },
38
+ billing: { agents: ['meter', 'invoice', 'plan'] },
39
+ notification: { agents: ['email', 'push', 'webhook'] },
40
+ migration: { agents: ['schema', 'data', 'rollback'] },
41
+ config: { agents: ['validate', 'distribute', 'version'] },
42
+ secret: { agents: ['vault', 'rotate', 'inject'] },
43
+ edge: { agents: ['cdn', 'function', 'cache'] },
44
+ compliance: { agents: ['gdpr', 'hipaa', 'soc2'] },
45
+ i18n: { agents: ['translate', 'locale', 'format'] },
46
+ devtools: { agents: ['lint', 'format', 'debug'] },
47
+ };
48
+ exports.DOMAIN_NAMES = Object.keys(exports.DOMAIN_REGISTRY);
49
+ // ---------------------------------------------------------------------------
50
+ // Pipeline Step (produced by decomposer)
51
+ // ---------------------------------------------------------------------------
52
+ exports.PipelineStepSchema = zod_1.z.object({
53
+ /** Step identifier within the pipeline */
54
+ step_id: zod_1.z.string().min(1),
55
+ /** Target domain from the 27-domain registry */
56
+ domain: zod_1.z.string().min(1),
57
+ /** Target agent within the domain */
58
+ agent: zod_1.z.string().min(1),
59
+ /** Human-readable description of what this step does */
60
+ description: zod_1.z.string().min(1),
61
+ /** step_id of the step whose output feeds into this step (null if no dependency) */
62
+ input_from: zod_1.z.string().nullable(),
63
+ /** Label for the expected output artifact type */
64
+ output_schema: zod_1.z.string().min(1),
65
+ });
66
+ // ---------------------------------------------------------------------------
67
+ // Pipeline Spec (decomposer output)
68
+ // ---------------------------------------------------------------------------
69
+ exports.PipelineSpecSchema = zod_1.z.object({
70
+ /** Unique plan identifier */
71
+ plan_id: zod_1.z.string().uuid(),
72
+ /** Ordered list of execution steps */
73
+ steps: zod_1.z.array(exports.PipelineStepSchema).min(1),
74
+ /** Pipeline metadata */
75
+ metadata: zod_1.z.object({
76
+ /** Original NL query that triggered decomposition */
77
+ source_query: zod_1.z.string(),
78
+ /** ISO timestamp of pipeline creation */
79
+ created_at: zod_1.z.string().datetime(),
80
+ /** Number of steps in the pipeline */
81
+ estimated_steps: zod_1.z.number().int().nonnegative(),
82
+ }),
83
+ });
84
+ // ---------------------------------------------------------------------------
85
+ // Pipeline Context (sent with requests in a pipeline)
86
+ // ---------------------------------------------------------------------------
87
+ exports.PipelineStepRefSchema = zod_1.z.object({
88
+ step_id: zod_1.z.string(),
89
+ domain: zod_1.z.string(),
90
+ agent: zod_1.z.string(),
91
+ output: zod_1.z.unknown().optional(),
92
+ });
93
+ exports.PipelineContextSchema = zod_1.z.object({
94
+ /** Pipeline plan ID */
95
+ plan_id: zod_1.z.string(),
96
+ /** Current step being executed */
97
+ step_id: zod_1.z.string(),
98
+ /** Outputs from previously completed steps */
99
+ previous_steps: zod_1.z.array(exports.PipelineStepRefSchema).default([]),
100
+ /** Execution-level metadata */
101
+ execution_metadata: zod_1.z.object({
102
+ trace_id: zod_1.z.string(),
103
+ initiated_by: zod_1.z.string(),
104
+ }).optional(),
105
+ });
106
+ //# sourceMappingURL=pipeline-schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/pipeline-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,6BAAwB;AAExB,8EAA8E;AAC9E,qBAAqB;AACrB,8EAA8E;AAE9E;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC7B,OAAO,E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