@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,496 @@
1
+ /**
2
+ * Planner Agent Schemas
3
+ *
4
+ * Purpose: Translate clarified objectives into structured execution plans
5
+ * Classification: PLANNING, STRUCTURAL_SYNTHESIS
6
+ * decision_type: plan_generation
7
+ *
8
+ * Scope:
9
+ * - Generate ordered plan steps
10
+ * - Identify dependencies
11
+ * - Define sequencing
12
+ *
13
+ * Must Never:
14
+ * - Execute steps
15
+ * - Assign agents
16
+ * - Allocate resources
17
+ * - Schedule execution
18
+ */
19
+ import { z } from 'zod';
20
+ /**
21
+ * Dependency between plan steps
22
+ */
23
+ export declare const DependencySchema: z.ZodObject<{
24
+ /** ID of the step this depends on */
25
+ depends_on: z.ZodString;
26
+ /** Type of dependency */
27
+ type: z.ZodEnum<["blocking", "data", "resource", "sequential"]>;
28
+ /** Optional: specific output field required from dependency */
29
+ required_output: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ type: "blocking" | "data" | "resource" | "sequential";
32
+ depends_on: string;
33
+ required_output?: string | undefined;
34
+ }, {
35
+ type: "blocking" | "data" | "resource" | "sequential";
36
+ depends_on: string;
37
+ required_output?: string | undefined;
38
+ }>;
39
+ export type Dependency = z.infer<typeof DependencySchema>;
40
+ /**
41
+ * Single step in an execution plan
42
+ */
43
+ export declare const PlanStepSchema: z.ZodObject<{
44
+ /** Unique step identifier within the plan */
45
+ step_id: z.ZodString;
46
+ /** Human-readable step name */
47
+ name: z.ZodString;
48
+ /** Detailed description of what this step accomplishes */
49
+ description: z.ZodString;
50
+ /** Order in sequence (0-indexed) */
51
+ sequence_order: z.ZodNumber;
52
+ /** Dependencies on other steps */
53
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
54
+ /** ID of the step this depends on */
55
+ depends_on: z.ZodString;
56
+ /** Type of dependency */
57
+ type: z.ZodEnum<["blocking", "data", "resource", "sequential"]>;
58
+ /** Optional: specific output field required from dependency */
59
+ required_output: z.ZodOptional<z.ZodString>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ type: "blocking" | "data" | "resource" | "sequential";
62
+ depends_on: string;
63
+ required_output?: string | undefined;
64
+ }, {
65
+ type: "blocking" | "data" | "resource" | "sequential";
66
+ depends_on: string;
67
+ required_output?: string | undefined;
68
+ }>, "many">>;
69
+ /** Expected inputs for this step */
70
+ expected_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
71
+ name: z.ZodString;
72
+ type: z.ZodString;
73
+ description: z.ZodString;
74
+ required: z.ZodDefault<z.ZodBoolean>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ type: string;
77
+ name: string;
78
+ description: string;
79
+ required: boolean;
80
+ }, {
81
+ type: string;
82
+ name: string;
83
+ description: string;
84
+ required?: boolean | undefined;
85
+ }>, "many">>;
86
+ /** Expected outputs from this step */
87
+ expected_outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
88
+ name: z.ZodString;
89
+ type: z.ZodString;
90
+ description: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ type: string;
93
+ name: string;
94
+ description: string;
95
+ }, {
96
+ type: string;
97
+ name: string;
98
+ description: string;
99
+ }>, "many">>;
100
+ /** Classification tags for the step */
101
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
102
+ /** Constraints that apply to this step (informational only) */
103
+ constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
104
+ /** Whether this step can be parallelized with siblings */
105
+ parallelizable: z.ZodDefault<z.ZodBoolean>;
106
+ /** Criticality level */
107
+ criticality: z.ZodDefault<z.ZodEnum<["low", "medium", "high", "critical"]>>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ name: string;
110
+ description: string;
111
+ step_id: string;
112
+ sequence_order: number;
113
+ dependencies: {
114
+ type: "blocking" | "data" | "resource" | "sequential";
115
+ depends_on: string;
116
+ required_output?: string | undefined;
117
+ }[];
118
+ expected_inputs: {
119
+ type: string;
120
+ name: string;
121
+ description: string;
122
+ required: boolean;
123
+ }[];
124
+ expected_outputs: {
125
+ type: string;
126
+ name: string;
127
+ description: string;
128
+ }[];
129
+ tags: string[];
130
+ constraints: string[];
131
+ parallelizable: boolean;
132
+ criticality: "low" | "medium" | "high" | "critical";
133
+ }, {
134
+ name: string;
135
+ description: string;
136
+ step_id: string;
137
+ sequence_order: number;
138
+ dependencies?: {
139
+ type: "blocking" | "data" | "resource" | "sequential";
140
+ depends_on: string;
141
+ required_output?: string | undefined;
142
+ }[] | undefined;
143
+ expected_inputs?: {
144
+ type: string;
145
+ name: string;
146
+ description: string;
147
+ required?: boolean | undefined;
148
+ }[] | undefined;
149
+ expected_outputs?: {
150
+ type: string;
151
+ name: string;
152
+ description: string;
153
+ }[] | undefined;
154
+ tags?: string[] | undefined;
155
+ constraints?: string[] | undefined;
156
+ parallelizable?: boolean | undefined;
157
+ criticality?: "low" | "medium" | "high" | "critical" | undefined;
158
+ }>;
159
+ export type PlanStep = z.infer<typeof PlanStepSchema>;
160
+ /**
161
+ * Planner Agent Input Schema
162
+ */
163
+ export declare const PlannerInputSchema: z.ZodObject<{
164
+ /** The clarified objective to plan for */
165
+ objective: z.ZodString;
166
+ /** Optional context about the domain/system */
167
+ context: z.ZodOptional<z.ZodObject<{
168
+ domain: z.ZodOptional<z.ZodString>;
169
+ existing_components: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
170
+ constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
171
+ preferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ constraints?: string[] | undefined;
174
+ domain?: string | undefined;
175
+ existing_components?: string[] | undefined;
176
+ preferences?: Record<string, string> | undefined;
177
+ }, {
178
+ constraints?: string[] | undefined;
179
+ domain?: string | undefined;
180
+ existing_components?: string[] | undefined;
181
+ preferences?: Record<string, string> | undefined;
182
+ }>>;
183
+ /** Optional hints about expected complexity */
184
+ hints: z.ZodOptional<z.ZodObject<{
185
+ expected_step_count: z.ZodOptional<z.ZodNumber>;
186
+ max_depth: z.ZodOptional<z.ZodNumber>;
187
+ focus_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ expected_step_count?: number | undefined;
190
+ max_depth?: number | undefined;
191
+ focus_areas?: string[] | undefined;
192
+ }, {
193
+ expected_step_count?: number | undefined;
194
+ max_depth?: number | undefined;
195
+ focus_areas?: string[] | undefined;
196
+ }>>;
197
+ /** Request ID for tracing */
198
+ request_id: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ objective: string;
201
+ context?: {
202
+ constraints?: string[] | undefined;
203
+ domain?: string | undefined;
204
+ existing_components?: string[] | undefined;
205
+ preferences?: Record<string, string> | undefined;
206
+ } | undefined;
207
+ hints?: {
208
+ expected_step_count?: number | undefined;
209
+ max_depth?: number | undefined;
210
+ focus_areas?: string[] | undefined;
211
+ } | undefined;
212
+ request_id?: string | undefined;
213
+ }, {
214
+ objective: string;
215
+ context?: {
216
+ constraints?: string[] | undefined;
217
+ domain?: string | undefined;
218
+ existing_components?: string[] | undefined;
219
+ preferences?: Record<string, string> | undefined;
220
+ } | undefined;
221
+ hints?: {
222
+ expected_step_count?: number | undefined;
223
+ max_depth?: number | undefined;
224
+ focus_areas?: string[] | undefined;
225
+ } | undefined;
226
+ request_id?: string | undefined;
227
+ }>;
228
+ export type PlannerInput = z.infer<typeof PlannerInputSchema>;
229
+ /**
230
+ * Planner Agent Output Schema
231
+ */
232
+ export declare const PlannerOutputSchema: z.ZodObject<{
233
+ /** Generated plan identifier */
234
+ plan_id: z.ZodString;
235
+ /** The original objective (echoed for verification) */
236
+ objective_summary: z.ZodString;
237
+ /** Ordered list of plan steps */
238
+ steps: z.ZodArray<z.ZodObject<{
239
+ /** Unique step identifier within the plan */
240
+ step_id: z.ZodString;
241
+ /** Human-readable step name */
242
+ name: z.ZodString;
243
+ /** Detailed description of what this step accomplishes */
244
+ description: z.ZodString;
245
+ /** Order in sequence (0-indexed) */
246
+ sequence_order: z.ZodNumber;
247
+ /** Dependencies on other steps */
248
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
249
+ /** ID of the step this depends on */
250
+ depends_on: z.ZodString;
251
+ /** Type of dependency */
252
+ type: z.ZodEnum<["blocking", "data", "resource", "sequential"]>;
253
+ /** Optional: specific output field required from dependency */
254
+ required_output: z.ZodOptional<z.ZodString>;
255
+ }, "strip", z.ZodTypeAny, {
256
+ type: "blocking" | "data" | "resource" | "sequential";
257
+ depends_on: string;
258
+ required_output?: string | undefined;
259
+ }, {
260
+ type: "blocking" | "data" | "resource" | "sequential";
261
+ depends_on: string;
262
+ required_output?: string | undefined;
263
+ }>, "many">>;
264
+ /** Expected inputs for this step */
265
+ expected_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
266
+ name: z.ZodString;
267
+ type: z.ZodString;
268
+ description: z.ZodString;
269
+ required: z.ZodDefault<z.ZodBoolean>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: string;
272
+ name: string;
273
+ description: string;
274
+ required: boolean;
275
+ }, {
276
+ type: string;
277
+ name: string;
278
+ description: string;
279
+ required?: boolean | undefined;
280
+ }>, "many">>;
281
+ /** Expected outputs from this step */
282
+ expected_outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
283
+ name: z.ZodString;
284
+ type: z.ZodString;
285
+ description: z.ZodString;
286
+ }, "strip", z.ZodTypeAny, {
287
+ type: string;
288
+ name: string;
289
+ description: string;
290
+ }, {
291
+ type: string;
292
+ name: string;
293
+ description: string;
294
+ }>, "many">>;
295
+ /** Classification tags for the step */
296
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
297
+ /** Constraints that apply to this step (informational only) */
298
+ constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
299
+ /** Whether this step can be parallelized with siblings */
300
+ parallelizable: z.ZodDefault<z.ZodBoolean>;
301
+ /** Criticality level */
302
+ criticality: z.ZodDefault<z.ZodEnum<["low", "medium", "high", "critical"]>>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ name: string;
305
+ description: string;
306
+ step_id: string;
307
+ sequence_order: number;
308
+ dependencies: {
309
+ type: "blocking" | "data" | "resource" | "sequential";
310
+ depends_on: string;
311
+ required_output?: string | undefined;
312
+ }[];
313
+ expected_inputs: {
314
+ type: string;
315
+ name: string;
316
+ description: string;
317
+ required: boolean;
318
+ }[];
319
+ expected_outputs: {
320
+ type: string;
321
+ name: string;
322
+ description: string;
323
+ }[];
324
+ tags: string[];
325
+ constraints: string[];
326
+ parallelizable: boolean;
327
+ criticality: "low" | "medium" | "high" | "critical";
328
+ }, {
329
+ name: string;
330
+ description: string;
331
+ step_id: string;
332
+ sequence_order: number;
333
+ dependencies?: {
334
+ type: "blocking" | "data" | "resource" | "sequential";
335
+ depends_on: string;
336
+ required_output?: string | undefined;
337
+ }[] | undefined;
338
+ expected_inputs?: {
339
+ type: string;
340
+ name: string;
341
+ description: string;
342
+ required?: boolean | undefined;
343
+ }[] | undefined;
344
+ expected_outputs?: {
345
+ type: string;
346
+ name: string;
347
+ description: string;
348
+ }[] | undefined;
349
+ tags?: string[] | undefined;
350
+ constraints?: string[] | undefined;
351
+ parallelizable?: boolean | undefined;
352
+ criticality?: "low" | "medium" | "high" | "critical" | undefined;
353
+ }>, "many">;
354
+ /** Dependency graph as adjacency list */
355
+ dependency_graph: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
356
+ /** Critical path through the plan (longest dependency chain) */
357
+ critical_path: z.ZodArray<z.ZodString, "many">;
358
+ /** Steps that can execute in parallel at each phase */
359
+ parallel_groups: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
360
+ /** Analysis metadata */
361
+ analysis: z.ZodObject<{
362
+ /** Total number of steps */
363
+ total_steps: z.ZodNumber;
364
+ /** Maximum dependency depth */
365
+ max_depth: z.ZodNumber;
366
+ /** Number of parallelizable groups */
367
+ parallel_opportunities: z.ZodNumber;
368
+ /** Identified risks or concerns (informational) */
369
+ risks: z.ZodDefault<z.ZodArray<z.ZodObject<{
370
+ description: z.ZodString;
371
+ severity: z.ZodEnum<["low", "medium", "high"]>;
372
+ affected_steps: z.ZodArray<z.ZodString, "many">;
373
+ }, "strip", z.ZodTypeAny, {
374
+ description: string;
375
+ severity: "low" | "medium" | "high";
376
+ affected_steps: string[];
377
+ }, {
378
+ description: string;
379
+ severity: "low" | "medium" | "high";
380
+ affected_steps: string[];
381
+ }>, "many">>;
382
+ /** Assumptions made during planning */
383
+ assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ max_depth: number;
386
+ total_steps: number;
387
+ parallel_opportunities: number;
388
+ risks: {
389
+ description: string;
390
+ severity: "low" | "medium" | "high";
391
+ affected_steps: string[];
392
+ }[];
393
+ assumptions: string[];
394
+ }, {
395
+ max_depth: number;
396
+ total_steps: number;
397
+ parallel_opportunities: number;
398
+ risks?: {
399
+ description: string;
400
+ severity: "low" | "medium" | "high";
401
+ affected_steps: string[];
402
+ }[] | undefined;
403
+ assumptions?: string[] | undefined;
404
+ }>;
405
+ /** Plan version for tracking iterations */
406
+ version: z.ZodDefault<z.ZodString>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ version: string;
409
+ plan_id: string;
410
+ objective_summary: string;
411
+ steps: {
412
+ name: string;
413
+ description: string;
414
+ step_id: string;
415
+ sequence_order: number;
416
+ dependencies: {
417
+ type: "blocking" | "data" | "resource" | "sequential";
418
+ depends_on: string;
419
+ required_output?: string | undefined;
420
+ }[];
421
+ expected_inputs: {
422
+ type: string;
423
+ name: string;
424
+ description: string;
425
+ required: boolean;
426
+ }[];
427
+ expected_outputs: {
428
+ type: string;
429
+ name: string;
430
+ description: string;
431
+ }[];
432
+ tags: string[];
433
+ constraints: string[];
434
+ parallelizable: boolean;
435
+ criticality: "low" | "medium" | "high" | "critical";
436
+ }[];
437
+ dependency_graph: Record<string, string[]>;
438
+ critical_path: string[];
439
+ parallel_groups: string[][];
440
+ analysis: {
441
+ max_depth: number;
442
+ total_steps: number;
443
+ parallel_opportunities: number;
444
+ risks: {
445
+ description: string;
446
+ severity: "low" | "medium" | "high";
447
+ affected_steps: string[];
448
+ }[];
449
+ assumptions: string[];
450
+ };
451
+ }, {
452
+ plan_id: string;
453
+ objective_summary: string;
454
+ steps: {
455
+ name: string;
456
+ description: string;
457
+ step_id: string;
458
+ sequence_order: number;
459
+ dependencies?: {
460
+ type: "blocking" | "data" | "resource" | "sequential";
461
+ depends_on: string;
462
+ required_output?: string | undefined;
463
+ }[] | undefined;
464
+ expected_inputs?: {
465
+ type: string;
466
+ name: string;
467
+ description: string;
468
+ required?: boolean | undefined;
469
+ }[] | undefined;
470
+ expected_outputs?: {
471
+ type: string;
472
+ name: string;
473
+ description: string;
474
+ }[] | undefined;
475
+ tags?: string[] | undefined;
476
+ constraints?: string[] | undefined;
477
+ parallelizable?: boolean | undefined;
478
+ criticality?: "low" | "medium" | "high" | "critical" | undefined;
479
+ }[];
480
+ dependency_graph: Record<string, string[]>;
481
+ critical_path: string[];
482
+ parallel_groups: string[][];
483
+ analysis: {
484
+ max_depth: number;
485
+ total_steps: number;
486
+ parallel_opportunities: number;
487
+ risks?: {
488
+ description: string;
489
+ severity: "low" | "medium" | "high";
490
+ affected_steps: string[];
491
+ }[] | undefined;
492
+ assumptions?: string[] | undefined;
493
+ };
494
+ version?: string | undefined;
495
+ }>;
496
+ export type PlannerOutput = z.infer<typeof PlannerOutputSchema>;
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+ /**
3
+ * Planner Agent Schemas
4
+ *
5
+ * Purpose: Translate clarified objectives into structured execution plans
6
+ * Classification: PLANNING, STRUCTURAL_SYNTHESIS
7
+ * decision_type: plan_generation
8
+ *
9
+ * Scope:
10
+ * - Generate ordered plan steps
11
+ * - Identify dependencies
12
+ * - Define sequencing
13
+ *
14
+ * Must Never:
15
+ * - Execute steps
16
+ * - Assign agents
17
+ * - Allocate resources
18
+ * - Schedule execution
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.PlannerOutputSchema = exports.PlannerInputSchema = exports.PlanStepSchema = exports.DependencySchema = void 0;
22
+ const zod_1 = require("zod");
23
+ /**
24
+ * Dependency between plan steps
25
+ */
26
+ exports.DependencySchema = zod_1.z.object({
27
+ /** ID of the step this depends on */
28
+ depends_on: zod_1.z.string(),
29
+ /** Type of dependency */
30
+ type: zod_1.z.enum([
31
+ 'blocking', // Must complete before this step starts
32
+ 'data', // Requires output data from dependency
33
+ 'resource', // Shares resource that can't be concurrent
34
+ 'sequential', // Must follow in sequence (order matters)
35
+ ]),
36
+ /** Optional: specific output field required from dependency */
37
+ required_output: zod_1.z.string().optional(),
38
+ });
39
+ /**
40
+ * Single step in an execution plan
41
+ */
42
+ exports.PlanStepSchema = zod_1.z.object({
43
+ /** Unique step identifier within the plan */
44
+ step_id: zod_1.z.string().min(1),
45
+ /** Human-readable step name */
46
+ name: zod_1.z.string().min(1).max(200),
47
+ /** Detailed description of what this step accomplishes */
48
+ description: zod_1.z.string().min(1),
49
+ /** Order in sequence (0-indexed) */
50
+ sequence_order: zod_1.z.number().int().nonnegative(),
51
+ /** Dependencies on other steps */
52
+ dependencies: zod_1.z.array(exports.DependencySchema).default([]),
53
+ /** Expected inputs for this step */
54
+ expected_inputs: zod_1.z.array(zod_1.z.object({
55
+ name: zod_1.z.string(),
56
+ type: zod_1.z.string(),
57
+ description: zod_1.z.string(),
58
+ required: zod_1.z.boolean().default(true),
59
+ })).default([]),
60
+ /** Expected outputs from this step */
61
+ expected_outputs: zod_1.z.array(zod_1.z.object({
62
+ name: zod_1.z.string(),
63
+ type: zod_1.z.string(),
64
+ description: zod_1.z.string(),
65
+ })).default([]),
66
+ /** Classification tags for the step */
67
+ tags: zod_1.z.array(zod_1.z.string()).default([]),
68
+ /** Constraints that apply to this step (informational only) */
69
+ constraints: zod_1.z.array(zod_1.z.string()).default([]),
70
+ /** Whether this step can be parallelized with siblings */
71
+ parallelizable: zod_1.z.boolean().default(false),
72
+ /** Criticality level */
73
+ criticality: zod_1.z.enum(['low', 'medium', 'high', 'critical']).default('medium'),
74
+ });
75
+ /**
76
+ * Planner Agent Input Schema
77
+ */
78
+ exports.PlannerInputSchema = zod_1.z.object({
79
+ /** The clarified objective to plan for */
80
+ objective: zod_1.z.string().min(1).max(10000),
81
+ /** Optional context about the domain/system */
82
+ context: zod_1.z.object({
83
+ domain: zod_1.z.string().optional(),
84
+ existing_components: zod_1.z.array(zod_1.z.string()).optional(),
85
+ constraints: zod_1.z.array(zod_1.z.string()).optional(),
86
+ preferences: zod_1.z.record(zod_1.z.string()).optional(),
87
+ }).optional(),
88
+ /** Optional hints about expected complexity */
89
+ hints: zod_1.z.object({
90
+ expected_step_count: zod_1.z.number().int().positive().optional(),
91
+ max_depth: zod_1.z.number().int().positive().optional(),
92
+ focus_areas: zod_1.z.array(zod_1.z.string()).optional(),
93
+ }).optional(),
94
+ /** Request ID for tracing */
95
+ request_id: zod_1.z.string().uuid().optional(),
96
+ });
97
+ /**
98
+ * Planner Agent Output Schema
99
+ */
100
+ exports.PlannerOutputSchema = zod_1.z.object({
101
+ /** Generated plan identifier */
102
+ plan_id: zod_1.z.string().uuid(),
103
+ /** The original objective (echoed for verification) */
104
+ objective_summary: zod_1.z.string(),
105
+ /** Ordered list of plan steps */
106
+ steps: zod_1.z.array(exports.PlanStepSchema).min(1),
107
+ /** Dependency graph as adjacency list */
108
+ dependency_graph: zod_1.z.record(zod_1.z.array(zod_1.z.string())),
109
+ /** Critical path through the plan (longest dependency chain) */
110
+ critical_path: zod_1.z.array(zod_1.z.string()),
111
+ /** Steps that can execute in parallel at each phase */
112
+ parallel_groups: zod_1.z.array(zod_1.z.array(zod_1.z.string())),
113
+ /** Analysis metadata */
114
+ analysis: zod_1.z.object({
115
+ /** Total number of steps */
116
+ total_steps: zod_1.z.number().int().nonnegative(),
117
+ /** Maximum dependency depth */
118
+ max_depth: zod_1.z.number().int().nonnegative(),
119
+ /** Number of parallelizable groups */
120
+ parallel_opportunities: zod_1.z.number().int().nonnegative(),
121
+ /** Identified risks or concerns (informational) */
122
+ risks: zod_1.z.array(zod_1.z.object({
123
+ description: zod_1.z.string(),
124
+ severity: zod_1.z.enum(['low', 'medium', 'high']),
125
+ affected_steps: zod_1.z.array(zod_1.z.string()),
126
+ })).default([]),
127
+ /** Assumptions made during planning */
128
+ assumptions: zod_1.z.array(zod_1.z.string()).default([]),
129
+ }),
130
+ /** Plan version for tracking iterations */
131
+ version: zod_1.z.string().default('1.0.0'),
132
+ });
133
+ //# sourceMappingURL=planner-schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"planner-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/planner-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,6BAAwB;AAExB;;GAEG;AACU,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,qCAAqC;IACrC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IAEtB,yBAAyB;IACzB,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC;QACX,UAAU,EAAO,wCAAwC;QACzD,MAAM,EAAW,uCAAuC;QACxD,UA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