@llm-dev-ops/agentics-cli 1.4.47 → 1.4.49

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 (321) hide show
  1. package/dist/cli/index.js +43 -67
  2. package/dist/cli/index.js.map +1 -1
  3. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  4. package/dist/pipeline/phase2/phases/ddd-generator.js +59 -30
  5. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  6. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  7. package/dist/pipeline/phase3/phases/domain-codegen.js +93 -2
  8. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  9. package/package.json +1 -1
  10. package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
  11. package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
  12. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
  13. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
  14. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
  21. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
  22. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
  23. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
  24. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
  25. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
  26. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
  27. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
  28. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
  29. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
  126. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
  127. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
  128. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
  129. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  130. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
  131. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
  132. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
  133. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
  134. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
  135. package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
  136. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
  143. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
  144. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
  145. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
  146. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
  147. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
  148. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
  149. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
  150. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
  151. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
  245. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
  246. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
  247. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
  248. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  249. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
  250. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
  251. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
  252. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
  253. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
  254. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
  255. package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
  256. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
  257. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
  258. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
  259. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
  260. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
  261. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
  262. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
  263. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
  264. package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
  265. package/dist/bundled-agents/copilot-agents/package.json +0 -5
  266. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
  267. package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
  268. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
  269. package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
  270. package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
  271. package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
  272. package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
  273. package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
  274. package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
  275. package/dist/bundled-agents/platform-agents/package.json +0 -22
  276. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
  277. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
  278. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
  279. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
  280. package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
  281. package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
  282. package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
  283. package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
  284. package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
  285. package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
  286. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
  287. package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
  299. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
  300. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
  301. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
  302. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
  303. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
  304. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
  305. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
  306. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
  307. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
  308. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
  309. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
  310. package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
  311. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
  312. package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
  313. package/dist/bundled-agents/sentinel-agents/package.json +0 -62
  314. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
  315. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
  316. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
  317. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
  318. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
  319. package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
  320. package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
  321. package/dist/bundled-agents/sentinel-agents/tsconfig.json +0 -20
@@ -1,315 +0,0 @@
1
- /**
2
- * Decomposer Agent Schemas
3
- *
4
- * Purpose: Decompose complex objectives into manageable sub-objectives
5
- * Classification: DECOMPOSITION, STRUCTURAL_SYNTHESIS
6
- * decision_type: objective_decomposition
7
- *
8
- * Scope:
9
- * - Break complex objectives into sub-objectives
10
- * - Identify sub-objective relationships
11
- * - Assess decomposition completeness
12
- *
13
- * Must Never:
14
- * - Execute sub-objectives
15
- * - Assign agents
16
- * - Allocate resources
17
- * - Schedule execution
18
- */
19
- import { z } from 'zod';
20
- /**
21
- * A single sub-objective produced by decomposition
22
- */
23
- export declare const SubObjectiveSchema: z.ZodObject<{
24
- /** Unique identifier for this sub-objective */
25
- sub_objective_id: z.ZodString;
26
- /** Human-readable title */
27
- title: z.ZodString;
28
- /** Detailed description of the sub-objective */
29
- description: z.ZodString;
30
- /** Parent sub-objective ID (null for top-level) */
31
- parent_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
32
- /** Depth level in the decomposition tree (0 = top-level) */
33
- depth: z.ZodNumber;
34
- /** Dependencies on other sub-objectives */
35
- dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
36
- depends_on: z.ZodString;
37
- type: z.ZodEnum<["blocking", "data", "sequential"]>;
38
- }, "strip", z.ZodTypeAny, {
39
- type: "blocking" | "data" | "sequential";
40
- depends_on: string;
41
- }, {
42
- type: "blocking" | "data" | "sequential";
43
- depends_on: string;
44
- }>, "many">>;
45
- /** Classification tags */
46
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
47
- /** Estimated complexity */
48
- complexity: z.ZodDefault<z.ZodEnum<["trivial", "simple", "moderate", "complex", "very_complex"]>>;
49
- /** Whether this sub-objective can be further decomposed */
50
- is_atomic: z.ZodDefault<z.ZodBoolean>;
51
- /** Acceptance criteria for this sub-objective */
52
- acceptance_criteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
53
- }, "strip", z.ZodTypeAny, {
54
- description: string;
55
- dependencies: {
56
- type: "blocking" | "data" | "sequential";
57
- depends_on: string;
58
- }[];
59
- tags: string[];
60
- title: string;
61
- complexity: "simple" | "moderate" | "complex" | "very_complex" | "trivial";
62
- sub_objective_id: string;
63
- parent_id: string | null;
64
- depth: number;
65
- is_atomic: boolean;
66
- acceptance_criteria: string[];
67
- }, {
68
- description: string;
69
- title: string;
70
- sub_objective_id: string;
71
- depth: number;
72
- dependencies?: {
73
- type: "blocking" | "data" | "sequential";
74
- depends_on: string;
75
- }[] | undefined;
76
- tags?: string[] | undefined;
77
- complexity?: "simple" | "moderate" | "complex" | "very_complex" | "trivial" | undefined;
78
- parent_id?: string | null | undefined;
79
- is_atomic?: boolean | undefined;
80
- acceptance_criteria?: string[] | undefined;
81
- }>;
82
- export type SubObjective = z.infer<typeof SubObjectiveSchema>;
83
- /**
84
- * Decomposer Agent Input Schema
85
- */
86
- export declare const DecomposerInputSchema: z.ZodObject<{
87
- /** The complex objective to decompose */
88
- objective: z.ZodString;
89
- /** Optional context to aid decomposition */
90
- context: z.ZodOptional<z.ZodObject<{
91
- /** Domain/industry context */
92
- domain: z.ZodOptional<z.ZodString>;
93
- /** Existing components or systems */
94
- existing_components: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
95
- /** Known constraints */
96
- constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
97
- /** Maximum decomposition depth */
98
- max_depth: z.ZodOptional<z.ZodNumber>;
99
- }, "strip", z.ZodTypeAny, {
100
- constraints?: string[] | undefined;
101
- domain?: string | undefined;
102
- existing_components?: string[] | undefined;
103
- max_depth?: number | undefined;
104
- }, {
105
- constraints?: string[] | undefined;
106
- domain?: string | undefined;
107
- existing_components?: string[] | undefined;
108
- max_depth?: number | undefined;
109
- }>>;
110
- /** Configuration for decomposition */
111
- config: z.ZodOptional<z.ZodObject<{
112
- /** Target granularity for leaf sub-objectives */
113
- target_granularity: z.ZodOptional<z.ZodEnum<["coarse", "medium", "fine"]>>;
114
- /** Maximum number of sub-objectives to produce */
115
- max_sub_objectives: z.ZodOptional<z.ZodNumber>;
116
- }, "strip", z.ZodTypeAny, {
117
- target_granularity?: "medium" | "coarse" | "fine" | undefined;
118
- max_sub_objectives?: number | undefined;
119
- }, {
120
- target_granularity?: "medium" | "coarse" | "fine" | undefined;
121
- max_sub_objectives?: number | undefined;
122
- }>>;
123
- /** Request ID for tracing */
124
- request_id: z.ZodOptional<z.ZodString>;
125
- }, "strip", z.ZodTypeAny, {
126
- objective: string;
127
- context?: {
128
- constraints?: string[] | undefined;
129
- domain?: string | undefined;
130
- existing_components?: string[] | undefined;
131
- max_depth?: number | undefined;
132
- } | undefined;
133
- request_id?: string | undefined;
134
- config?: {
135
- target_granularity?: "medium" | "coarse" | "fine" | undefined;
136
- max_sub_objectives?: number | undefined;
137
- } | undefined;
138
- }, {
139
- objective: string;
140
- context?: {
141
- constraints?: string[] | undefined;
142
- domain?: string | undefined;
143
- existing_components?: string[] | undefined;
144
- max_depth?: number | undefined;
145
- } | undefined;
146
- request_id?: string | undefined;
147
- config?: {
148
- target_granularity?: "medium" | "coarse" | "fine" | undefined;
149
- max_sub_objectives?: number | undefined;
150
- } | undefined;
151
- }>;
152
- export type DecomposerInput = z.infer<typeof DecomposerInputSchema>;
153
- /**
154
- * Decomposer Agent Output Schema
155
- */
156
- export declare const DecomposerOutputSchema: z.ZodObject<{
157
- /** Unique decomposition identifier */
158
- decomposition_id: z.ZodString;
159
- /** Original objective (echoed for verification) */
160
- original_objective: z.ZodString;
161
- /** List of sub-objectives produced */
162
- sub_objectives: z.ZodArray<z.ZodObject<{
163
- /** Unique identifier for this sub-objective */
164
- sub_objective_id: z.ZodString;
165
- /** Human-readable title */
166
- title: z.ZodString;
167
- /** Detailed description of the sub-objective */
168
- description: z.ZodString;
169
- /** Parent sub-objective ID (null for top-level) */
170
- parent_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
171
- /** Depth level in the decomposition tree (0 = top-level) */
172
- depth: z.ZodNumber;
173
- /** Dependencies on other sub-objectives */
174
- dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
175
- depends_on: z.ZodString;
176
- type: z.ZodEnum<["blocking", "data", "sequential"]>;
177
- }, "strip", z.ZodTypeAny, {
178
- type: "blocking" | "data" | "sequential";
179
- depends_on: string;
180
- }, {
181
- type: "blocking" | "data" | "sequential";
182
- depends_on: string;
183
- }>, "many">>;
184
- /** Classification tags */
185
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
186
- /** Estimated complexity */
187
- complexity: z.ZodDefault<z.ZodEnum<["trivial", "simple", "moderate", "complex", "very_complex"]>>;
188
- /** Whether this sub-objective can be further decomposed */
189
- is_atomic: z.ZodDefault<z.ZodBoolean>;
190
- /** Acceptance criteria for this sub-objective */
191
- acceptance_criteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
192
- }, "strip", z.ZodTypeAny, {
193
- description: string;
194
- dependencies: {
195
- type: "blocking" | "data" | "sequential";
196
- depends_on: string;
197
- }[];
198
- tags: string[];
199
- title: string;
200
- complexity: "simple" | "moderate" | "complex" | "very_complex" | "trivial";
201
- sub_objective_id: string;
202
- parent_id: string | null;
203
- depth: number;
204
- is_atomic: boolean;
205
- acceptance_criteria: string[];
206
- }, {
207
- description: string;
208
- title: string;
209
- sub_objective_id: string;
210
- depth: number;
211
- dependencies?: {
212
- type: "blocking" | "data" | "sequential";
213
- depends_on: string;
214
- }[] | undefined;
215
- tags?: string[] | undefined;
216
- complexity?: "simple" | "moderate" | "complex" | "very_complex" | "trivial" | undefined;
217
- parent_id?: string | null | undefined;
218
- is_atomic?: boolean | undefined;
219
- acceptance_criteria?: string[] | undefined;
220
- }>, "many">;
221
- /** Tree structure as adjacency list (parent -> children) */
222
- tree_structure: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
223
- /** Dependency graph as adjacency list */
224
- dependency_graph: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
225
- /** Analysis metadata */
226
- analysis: z.ZodObject<{
227
- /** Total number of sub-objectives */
228
- total_sub_objectives: z.ZodNumber;
229
- /** Maximum decomposition depth reached */
230
- max_depth_reached: z.ZodNumber;
231
- /** Number of atomic (leaf) sub-objectives */
232
- atomic_count: z.ZodNumber;
233
- /** Coverage assessment */
234
- coverage_score: z.ZodNumber;
235
- /** Complexity distribution */
236
- complexity_distribution: z.ZodRecord<z.ZodString, z.ZodNumber>;
237
- /** Assumptions made during decomposition */
238
- assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
239
- }, "strip", z.ZodTypeAny, {
240
- assumptions: string[];
241
- total_sub_objectives: number;
242
- max_depth_reached: number;
243
- atomic_count: number;
244
- coverage_score: number;
245
- complexity_distribution: Record<string, number>;
246
- }, {
247
- total_sub_objectives: number;
248
- max_depth_reached: number;
249
- atomic_count: number;
250
- coverage_score: number;
251
- complexity_distribution: Record<string, number>;
252
- assumptions?: string[] | undefined;
253
- }>;
254
- /** Decomposition version */
255
- version: z.ZodDefault<z.ZodString>;
256
- }, "strip", z.ZodTypeAny, {
257
- version: string;
258
- dependency_graph: Record<string, string[]>;
259
- analysis: {
260
- assumptions: string[];
261
- total_sub_objectives: number;
262
- max_depth_reached: number;
263
- atomic_count: number;
264
- coverage_score: number;
265
- complexity_distribution: Record<string, number>;
266
- };
267
- original_objective: string;
268
- decomposition_id: string;
269
- sub_objectives: {
270
- description: string;
271
- dependencies: {
272
- type: "blocking" | "data" | "sequential";
273
- depends_on: string;
274
- }[];
275
- tags: string[];
276
- title: string;
277
- complexity: "simple" | "moderate" | "complex" | "very_complex" | "trivial";
278
- sub_objective_id: string;
279
- parent_id: string | null;
280
- depth: number;
281
- is_atomic: boolean;
282
- acceptance_criteria: string[];
283
- }[];
284
- tree_structure: Record<string, string[]>;
285
- }, {
286
- dependency_graph: Record<string, string[]>;
287
- analysis: {
288
- total_sub_objectives: number;
289
- max_depth_reached: number;
290
- atomic_count: number;
291
- coverage_score: number;
292
- complexity_distribution: Record<string, number>;
293
- assumptions?: string[] | undefined;
294
- };
295
- original_objective: string;
296
- decomposition_id: string;
297
- sub_objectives: {
298
- description: string;
299
- title: string;
300
- sub_objective_id: string;
301
- depth: number;
302
- dependencies?: {
303
- type: "blocking" | "data" | "sequential";
304
- depends_on: string;
305
- }[] | undefined;
306
- tags?: string[] | undefined;
307
- complexity?: "simple" | "moderate" | "complex" | "very_complex" | "trivial" | undefined;
308
- parent_id?: string | null | undefined;
309
- is_atomic?: boolean | undefined;
310
- acceptance_criteria?: string[] | undefined;
311
- }[];
312
- tree_structure: Record<string, string[]>;
313
- version?: string | undefined;
314
- }>;
315
- export type DecomposerOutput = z.infer<typeof DecomposerOutputSchema>;
@@ -1,110 +0,0 @@
1
- "use strict";
2
- /**
3
- * Decomposer Agent Schemas
4
- *
5
- * Purpose: Decompose complex objectives into manageable sub-objectives
6
- * Classification: DECOMPOSITION, STRUCTURAL_SYNTHESIS
7
- * decision_type: objective_decomposition
8
- *
9
- * Scope:
10
- * - Break complex objectives into sub-objectives
11
- * - Identify sub-objective relationships
12
- * - Assess decomposition completeness
13
- *
14
- * Must Never:
15
- * - Execute sub-objectives
16
- * - Assign agents
17
- * - Allocate resources
18
- * - Schedule execution
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.DecomposerOutputSchema = exports.DecomposerInputSchema = exports.SubObjectiveSchema = void 0;
22
- const zod_1 = require("zod");
23
- /**
24
- * A single sub-objective produced by decomposition
25
- */
26
- exports.SubObjectiveSchema = zod_1.z.object({
27
- /** Unique identifier for this sub-objective */
28
- sub_objective_id: zod_1.z.string().min(1),
29
- /** Human-readable title */
30
- title: zod_1.z.string().min(1).max(200),
31
- /** Detailed description of the sub-objective */
32
- description: zod_1.z.string().min(1),
33
- /** Parent sub-objective ID (null for top-level) */
34
- parent_id: zod_1.z.string().nullable().default(null),
35
- /** Depth level in the decomposition tree (0 = top-level) */
36
- depth: zod_1.z.number().int().nonnegative(),
37
- /** Dependencies on other sub-objectives */
38
- dependencies: zod_1.z.array(zod_1.z.object({
39
- depends_on: zod_1.z.string(),
40
- type: zod_1.z.enum(['blocking', 'data', 'sequential']),
41
- })).default([]),
42
- /** Classification tags */
43
- tags: zod_1.z.array(zod_1.z.string()).default([]),
44
- /** Estimated complexity */
45
- complexity: zod_1.z.enum(['trivial', 'simple', 'moderate', 'complex', 'very_complex']).default('moderate'),
46
- /** Whether this sub-objective can be further decomposed */
47
- is_atomic: zod_1.z.boolean().default(false),
48
- /** Acceptance criteria for this sub-objective */
49
- acceptance_criteria: zod_1.z.array(zod_1.z.string()).default([]),
50
- });
51
- /**
52
- * Decomposer Agent Input Schema
53
- */
54
- exports.DecomposerInputSchema = zod_1.z.object({
55
- /** The complex objective to decompose */
56
- objective: zod_1.z.string().min(1).max(50000),
57
- /** Optional context to aid decomposition */
58
- context: zod_1.z.object({
59
- /** Domain/industry context */
60
- domain: zod_1.z.string().optional(),
61
- /** Existing components or systems */
62
- existing_components: zod_1.z.array(zod_1.z.string()).optional(),
63
- /** Known constraints */
64
- constraints: zod_1.z.array(zod_1.z.string()).optional(),
65
- /** Maximum decomposition depth */
66
- max_depth: zod_1.z.number().int().positive().max(10).optional(),
67
- }).optional(),
68
- /** Configuration for decomposition */
69
- config: zod_1.z.object({
70
- /** Target granularity for leaf sub-objectives */
71
- target_granularity: zod_1.z.enum(['coarse', 'medium', 'fine']).optional(),
72
- /** Maximum number of sub-objectives to produce */
73
- max_sub_objectives: zod_1.z.number().int().positive().max(50).optional(),
74
- }).optional(),
75
- /** Request ID for tracing */
76
- request_id: zod_1.z.string().uuid().optional(),
77
- });
78
- /**
79
- * Decomposer Agent Output Schema
80
- */
81
- exports.DecomposerOutputSchema = zod_1.z.object({
82
- /** Unique decomposition identifier */
83
- decomposition_id: zod_1.z.string().uuid(),
84
- /** Original objective (echoed for verification) */
85
- original_objective: zod_1.z.string(),
86
- /** List of sub-objectives produced */
87
- sub_objectives: zod_1.z.array(exports.SubObjectiveSchema).min(1),
88
- /** Tree structure as adjacency list (parent -> children) */
89
- tree_structure: zod_1.z.record(zod_1.z.array(zod_1.z.string())),
90
- /** Dependency graph as adjacency list */
91
- dependency_graph: zod_1.z.record(zod_1.z.array(zod_1.z.string())),
92
- /** Analysis metadata */
93
- analysis: zod_1.z.object({
94
- /** Total number of sub-objectives */
95
- total_sub_objectives: zod_1.z.number().int().nonnegative(),
96
- /** Maximum decomposition depth reached */
97
- max_depth_reached: zod_1.z.number().int().nonnegative(),
98
- /** Number of atomic (leaf) sub-objectives */
99
- atomic_count: zod_1.z.number().int().nonnegative(),
100
- /** Coverage assessment */
101
- coverage_score: zod_1.z.number().min(0).max(1),
102
- /** Complexity distribution */
103
- complexity_distribution: zod_1.z.record(zod_1.z.number().int().nonnegative()),
104
- /** Assumptions made during decomposition */
105
- assumptions: zod_1.z.array(zod_1.z.string()).default([]),
106
- }),
107
- /** Decomposition version */
108
- version: zod_1.z.string().default('1.0.0'),
109
- });
110
- //# sourceMappingURL=decomposer-schemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decomposer-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/decomposer-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,6BAAwB;AAExB;;GAEG;AACU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,+CAA+C;IAC/C,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAEnC,2BAA2B;IAC3B,KAAK,EAAE,OAAC,CAAC,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,0 @@
1
- /**
2
- * Agentics Execution Graph - Foundational Execution Unit instrumentation.
3
- *
4
- * Defines the hierarchical execution span model that integrates this
5
- * repository into the Agentics ExecutionGraph system.
6
- *
7
- * Invariant: Core → Repo (copilot-agent) → Agent (one or more)
8
- */
9
- import { z } from 'zod';
10
- /** The name of this repository in the Agentics execution graph. */
11
- export declare const REPO_NAME = "copilot-agent";
12
- export declare const SpanTypeSchema: z.ZodEnum<["core", "repo", "agent"]>;
13
- export type SpanType = z.infer<typeof SpanTypeSchema>;
14
- export declare const ExecutionStatusSchema: z.ZodEnum<["running", "completed", "failed"]>;
15
- export type ExecutionStatus = z.infer<typeof ExecutionStatusSchema>;
16
- export declare const ArtifactSchema: z.ZodObject<{
17
- name: z.ZodString;
18
- artifact_type: z.ZodString;
19
- reference: z.ZodString;
20
- data: z.ZodUnknown;
21
- }, "strip", z.ZodTypeAny, {
22
- name: string;
23
- artifact_type: string;
24
- reference: string;
25
- data?: unknown;
26
- }, {
27
- name: string;
28
- artifact_type: string;
29
- reference: string;
30
- data?: unknown;
31
- }>;
32
- export type Artifact = z.infer<typeof ArtifactSchema>;
33
- export declare const ExecutionSpanSchema: z.ZodObject<{
34
- span_id: z.ZodString;
35
- parent_span_id: z.ZodString;
36
- trace_id: z.ZodString;
37
- span_type: z.ZodEnum<["core", "repo", "agent"]>;
38
- repo_name: z.ZodOptional<z.ZodString>;
39
- agent_name: z.ZodOptional<z.ZodString>;
40
- status: z.ZodEnum<["running", "completed", "failed"]>;
41
- start_time: z.ZodString;
42
- end_time: z.ZodOptional<z.ZodString>;
43
- failure_reason: z.ZodOptional<z.ZodString>;
44
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
45
- name: z.ZodString;
46
- artifact_type: z.ZodString;
47
- reference: z.ZodString;
48
- data: z.ZodUnknown;
49
- }, "strip", z.ZodTypeAny, {
50
- name: string;
51
- artifact_type: string;
52
- reference: string;
53
- data?: unknown;
54
- }, {
55
- name: string;
56
- artifact_type: string;
57
- reference: string;
58
- data?: unknown;
59
- }>, "many">>;
60
- attributes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
61
- }, "strip", z.ZodTypeAny, {
62
- status: "completed" | "running" | "failed";
63
- artifacts: {
64
- name: string;
65
- artifact_type: string;
66
- reference: string;
67
- data?: unknown;
68
- }[];
69
- span_id: string;
70
- parent_span_id: string;
71
- trace_id: string;
72
- span_type: "core" | "repo" | "agent";
73
- start_time: string;
74
- attributes: Record<string, string>;
75
- repo_name?: string | undefined;
76
- agent_name?: string | undefined;
77
- end_time?: string | undefined;
78
- failure_reason?: string | undefined;
79
- }, {
80
- status: "completed" | "running" | "failed";
81
- span_id: string;
82
- parent_span_id: string;
83
- trace_id: string;
84
- span_type: "core" | "repo" | "agent";
85
- start_time: string;
86
- artifacts?: {
87
- name: string;
88
- artifact_type: string;
89
- reference: string;
90
- data?: unknown;
91
- }[] | undefined;
92
- repo_name?: string | undefined;
93
- agent_name?: string | undefined;
94
- end_time?: string | undefined;
95
- failure_reason?: string | undefined;
96
- attributes?: Record<string, string> | undefined;
97
- }>;
98
- export type ExecutionSpan = z.infer<typeof ExecutionSpanSchema>;
99
- export declare const ExecutionGraphSchema: z.ZodObject<{
100
- execution_id: z.ZodString;
101
- repo_span_id: z.ZodString;
102
- spans: z.ZodArray<z.ZodObject<{
103
- span_id: z.ZodString;
104
- parent_span_id: z.ZodString;
105
- trace_id: z.ZodString;
106
- span_type: z.ZodEnum<["core", "repo", "agent"]>;
107
- repo_name: z.ZodOptional<z.ZodString>;
108
- agent_name: z.ZodOptional<z.ZodString>;
109
- status: z.ZodEnum<["running", "completed", "failed"]>;
110
- start_time: z.ZodString;
111
- end_time: z.ZodOptional<z.ZodString>;
112
- failure_reason: z.ZodOptional<z.ZodString>;
113
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
114
- name: z.ZodString;
115
- artifact_type: z.ZodString;
116
- reference: z.ZodString;
117
- data: z.ZodUnknown;
118
- }, "strip", z.ZodTypeAny, {
119
- name: string;
120
- artifact_type: string;
121
- reference: string;
122
- data?: unknown;
123
- }, {
124
- name: string;
125
- artifact_type: string;
126
- reference: string;
127
- data?: unknown;
128
- }>, "many">>;
129
- attributes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
130
- }, "strip", z.ZodTypeAny, {
131
- status: "completed" | "running" | "failed";
132
- artifacts: {
133
- name: string;
134
- artifact_type: string;
135
- reference: string;
136
- data?: unknown;
137
- }[];
138
- span_id: string;
139
- parent_span_id: string;
140
- trace_id: string;
141
- span_type: "core" | "repo" | "agent";
142
- start_time: string;
143
- attributes: Record<string, string>;
144
- repo_name?: string | undefined;
145
- agent_name?: string | undefined;
146
- end_time?: string | undefined;
147
- failure_reason?: string | undefined;
148
- }, {
149
- status: "completed" | "running" | "failed";
150
- span_id: string;
151
- parent_span_id: string;
152
- trace_id: string;
153
- span_type: "core" | "repo" | "agent";
154
- start_time: string;
155
- artifacts?: {
156
- name: string;
157
- artifact_type: string;
158
- reference: string;
159
- data?: unknown;
160
- }[] | undefined;
161
- repo_name?: string | undefined;
162
- agent_name?: string | undefined;
163
- end_time?: string | undefined;
164
- failure_reason?: string | undefined;
165
- attributes?: Record<string, string> | undefined;
166
- }>, "many">;
167
- }, "strip", z.ZodTypeAny, {
168
- spans: {
169
- status: "completed" | "running" | "failed";
170
- artifacts: {
171
- name: string;
172
- artifact_type: string;
173
- reference: string;
174
- data?: unknown;
175
- }[];
176
- span_id: string;
177
- parent_span_id: string;
178
- trace_id: string;
179
- span_type: "core" | "repo" | "agent";
180
- start_time: string;
181
- attributes: Record<string, string>;
182
- repo_name?: string | undefined;
183
- agent_name?: string | undefined;
184
- end_time?: string | undefined;
185
- failure_reason?: string | undefined;
186
- }[];
187
- execution_id: string;
188
- repo_span_id: string;
189
- }, {
190
- spans: {
191
- status: "completed" | "running" | "failed";
192
- span_id: string;
193
- parent_span_id: string;
194
- trace_id: string;
195
- span_type: "core" | "repo" | "agent";
196
- start_time: string;
197
- artifacts?: {
198
- name: string;
199
- artifact_type: string;
200
- reference: string;
201
- data?: unknown;
202
- }[] | undefined;
203
- repo_name?: string | undefined;
204
- agent_name?: string | undefined;
205
- end_time?: string | undefined;
206
- failure_reason?: string | undefined;
207
- attributes?: Record<string, string> | undefined;
208
- }[];
209
- execution_id: string;
210
- repo_span_id: string;
211
- }>;
212
- export type ExecutionGraphData = z.infer<typeof ExecutionGraphSchema>;
213
- /**
214
- * Builds an ExecutionGraph for a single invocation of this repository.
215
- *
216
- * Usage:
217
- * 1. Create via constructor (auto-creates repo span)
218
- * 2. Call startAgentSpan() before each agent runs
219
- * 3. Call completeAgentSpan() or failAgentSpan() when done
220
- * 4. Call completeRepo() or failRepo() at the end
221
- * 5. Call toJSON() to get the serialized graph
222
- */
223
- export declare class ExecutionGraphBuilder {
224
- private readonly executionId;
225
- private readonly repoSpanId;
226
- private readonly spans;
227
- constructor(executionId: string, parentSpanId: string, traceId: string);
228
- /** Start a new agent-level span as a child of the repo span. */
229
- startAgentSpan(agentName: string): string;
230
- /** Complete an agent-level span with optional artifacts. */
231
- completeAgentSpan(spanId: string, artifacts?: Artifact[]): void;
232
- /** Mark an agent-level span as failed. */
233
- failAgentSpan(spanId: string, reason: string): void;
234
- /**
235
- * Complete the repo-level span.
236
- * Throws if no agent-level spans were emitted.
237
- */
238
- completeRepo(): void;
239
- /** Mark the repo-level span as failed, preserving all emitted spans. */
240
- failRepo(reason: string): void;
241
- /** Validate that at least one agent span exists. */
242
- validate(): void;
243
- /** Check if any agent spans exist. */
244
- hasAgentSpans(): boolean;
245
- /** Add an attribute to the repo-level span. */
246
- setRepoAttribute(key: string, value: string): void;
247
- /** Serialize the graph to a plain JSON-serializable object. */
248
- toJSON(): ExecutionGraphData;
249
- private findSpan;
250
- }