@llm-dev-ops/agentics-cli 1.4.59 → 1.4.69

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 (452) hide show
  1. package/README.md +1 -1
  2. package/dist/commands/agents.d.ts.map +1 -1
  3. package/dist/commands/agents.js +167 -0
  4. package/dist/commands/agents.js.map +1 -1
  5. package/dist/pipeline/auto-chain.d.ts +1 -0
  6. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  7. package/dist/pipeline/auto-chain.js +124 -37
  8. package/dist/pipeline/auto-chain.js.map +1 -1
  9. package/dist/pipeline/execution-context.d.ts.map +1 -1
  10. package/dist/pipeline/execution-context.js +12 -37
  11. package/dist/pipeline/execution-context.js.map +1 -1
  12. package/dist/pipeline/phase2/phases/adr-generator.d.ts.map +1 -1
  13. package/dist/pipeline/phase2/phases/adr-generator.js +160 -1
  14. package/dist/pipeline/phase2/phases/adr-generator.js.map +1 -1
  15. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  16. package/dist/pipeline/phase2/phases/ddd-generator.js +400 -3
  17. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  18. package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts +43 -0
  19. package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts.map +1 -0
  20. package/dist/pipeline/phase2/phases/ddd-quality-gate.js +413 -0
  21. package/dist/pipeline/phase2/phases/ddd-quality-gate.js.map +1 -0
  22. package/dist/pipeline/phase2/phases/research-dossier.d.ts +0 -13
  23. package/dist/pipeline/phase2/phases/research-dossier.d.ts.map +1 -1
  24. package/dist/pipeline/phase2/phases/research-dossier.js +114 -1
  25. package/dist/pipeline/phase2/phases/research-dossier.js.map +1 -1
  26. package/dist/pipeline/phase2/phases/research-quality-gate.d.ts +48 -0
  27. package/dist/pipeline/phase2/phases/research-quality-gate.d.ts.map +1 -0
  28. package/dist/pipeline/phase2/phases/research-quality-gate.js +322 -0
  29. package/dist/pipeline/phase2/phases/research-quality-gate.js.map +1 -0
  30. package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts +41 -0
  31. package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts.map +1 -0
  32. package/dist/pipeline/phase2/phases/sparc-quality-gate.js +350 -0
  33. package/dist/pipeline/phase2/phases/sparc-quality-gate.js.map +1 -0
  34. package/dist/pipeline/phase2/phases/sparc-specification.d.ts +14 -0
  35. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  36. package/dist/pipeline/phase2/phases/sparc-specification.js +500 -10
  37. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  38. package/dist/pipeline/phase2/phases/tdd-plan-generator.js +1 -1
  39. package/dist/pipeline/phase2/phases/tdd-plan-generator.js.map +1 -1
  40. package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts +72 -0
  41. package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts.map +1 -0
  42. package/dist/pipeline/phase2/phases/tech-stack-detector.js +332 -0
  43. package/dist/pipeline/phase2/phases/tech-stack-detector.js.map +1 -0
  44. package/dist/pipeline/phase2/types.d.ts +2 -0
  45. package/dist/pipeline/phase2/types.d.ts.map +1 -1
  46. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  47. package/dist/pipeline/phase3/phases/domain-codegen.js +169 -4
  48. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  49. package/dist/pipeline/phase3/phases/test-generator.d.ts.map +1 -1
  50. package/dist/pipeline/phase3/phases/test-generator.js +12 -2
  51. package/dist/pipeline/phase3/phases/test-generator.js.map +1 -1
  52. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.d.ts.map +1 -1
  53. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js +99 -1
  54. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js.map +1 -1
  55. package/dist/pipeline/phase4/phases/deployment-generator.d.ts +17 -4
  56. package/dist/pipeline/phase4/phases/deployment-generator.d.ts.map +1 -1
  57. package/dist/pipeline/phase4/phases/deployment-generator.js +364 -44
  58. package/dist/pipeline/phase4/phases/deployment-generator.js.map +1 -1
  59. package/dist/pipeline/phase4/phases/erp-client-generator.d.ts.map +1 -1
  60. package/dist/pipeline/phase4/phases/erp-client-generator.js +27 -15
  61. package/dist/pipeline/phase4/phases/erp-client-generator.js.map +1 -1
  62. package/dist/pipeline/phase4/phases/erp-target-resolver.d.ts.map +1 -1
  63. package/dist/pipeline/phase4/phases/erp-target-resolver.js +49 -2
  64. package/dist/pipeline/phase4/phases/erp-target-resolver.js.map +1 -1
  65. package/dist/pipeline/phase4/phases/http-server-generator.d.ts.map +1 -1
  66. package/dist/pipeline/phase4/phases/http-server-generator.js +263 -3
  67. package/dist/pipeline/phase4/phases/http-server-generator.js.map +1 -1
  68. package/dist/pipeline/phase4/phases/infra-adapter-generator.d.ts.map +1 -1
  69. package/dist/pipeline/phase4/phases/infra-adapter-generator.js +335 -37
  70. package/dist/pipeline/phase4/phases/infra-adapter-generator.js.map +1 -1
  71. package/dist/pipeline/phase4/types.d.ts +3 -1
  72. package/dist/pipeline/phase4/types.d.ts.map +1 -1
  73. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.d.ts.map +1 -1
  74. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js +211 -2
  75. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js.map +1 -1
  76. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts +54 -0
  77. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts.map +1 -0
  78. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js +417 -0
  79. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js.map +1 -0
  80. package/dist/pipeline/phases/prompt-generator.js +1 -1
  81. package/dist/pipeline/phases/prompt-generator.js.map +1 -1
  82. package/dist/pipeline/ruflo-phase-executor.d.ts +116 -1
  83. package/dist/pipeline/ruflo-phase-executor.d.ts.map +1 -1
  84. package/dist/pipeline/ruflo-phase-executor.js +666 -159
  85. package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
  86. package/dist/pipeline/swarm-orchestrator.d.ts.map +1 -1
  87. package/dist/pipeline/swarm-orchestrator.js +62 -6
  88. package/dist/pipeline/swarm-orchestrator.js.map +1 -1
  89. package/dist/routing/capability-classifier.d.ts +43 -0
  90. package/dist/routing/capability-classifier.d.ts.map +1 -0
  91. package/dist/routing/capability-classifier.js +157 -0
  92. package/dist/routing/capability-classifier.js.map +1 -0
  93. package/dist/routing/composition-engine.d.ts +77 -0
  94. package/dist/routing/composition-engine.d.ts.map +1 -0
  95. package/dist/routing/composition-engine.js +249 -0
  96. package/dist/routing/composition-engine.js.map +1 -0
  97. package/dist/routing/graph-federation.d.ts +71 -0
  98. package/dist/routing/graph-federation.d.ts.map +1 -0
  99. package/dist/routing/graph-federation.js +210 -0
  100. package/dist/routing/graph-federation.js.map +1 -0
  101. package/dist/routing/graph-loader.d.ts +74 -0
  102. package/dist/routing/graph-loader.d.ts.map +1 -0
  103. package/dist/routing/graph-loader.js +383 -0
  104. package/dist/routing/graph-loader.js.map +1 -0
  105. package/dist/routing/graph-router.d.ts +103 -0
  106. package/dist/routing/graph-router.d.ts.map +1 -0
  107. package/dist/routing/graph-router.js +415 -0
  108. package/dist/routing/graph-router.js.map +1 -0
  109. package/dist/routing/graph-validator.d.ts +44 -0
  110. package/dist/routing/graph-validator.d.ts.map +1 -0
  111. package/dist/routing/graph-validator.js +329 -0
  112. package/dist/routing/graph-validator.js.map +1 -0
  113. package/dist/routing/index.d.ts +52 -0
  114. package/dist/routing/index.d.ts.map +1 -0
  115. package/dist/routing/index.js +68 -0
  116. package/dist/routing/index.js.map +1 -0
  117. package/dist/routing/outcome-recorder.d.ts +71 -0
  118. package/dist/routing/outcome-recorder.d.ts.map +1 -0
  119. package/dist/routing/outcome-recorder.js +133 -0
  120. package/dist/routing/outcome-recorder.js.map +1 -0
  121. package/dist/routing/weight-adjuster.d.ts +59 -0
  122. package/dist/routing/weight-adjuster.d.ts.map +1 -0
  123. package/dist/routing/weight-adjuster.js +167 -0
  124. package/dist/routing/weight-adjuster.js.map +1 -0
  125. package/dist/routing/weighted-resolver.d.ts +55 -0
  126. package/dist/routing/weighted-resolver.d.ts.map +1 -0
  127. package/dist/routing/weighted-resolver.js +133 -0
  128. package/dist/routing/weighted-resolver.js.map +1 -0
  129. package/dist/synthesis/ask-artifact-writer.d.ts.map +1 -1
  130. package/dist/synthesis/ask-artifact-writer.js +8 -0
  131. package/dist/synthesis/ask-artifact-writer.js.map +1 -1
  132. package/dist/synthesis/simulation-artifact-generator.d.ts +14 -0
  133. package/dist/synthesis/simulation-artifact-generator.d.ts.map +1 -1
  134. package/dist/synthesis/simulation-artifact-generator.js +224 -1
  135. package/dist/synthesis/simulation-artifact-generator.js.map +1 -1
  136. package/dist/synthesis/simulation-renderers.d.ts.map +1 -1
  137. package/dist/synthesis/simulation-renderers.js +211 -40
  138. package/dist/synthesis/simulation-renderers.js.map +1 -1
  139. package/package.json +3 -1
  140. package/scripts/postinstall.sh +25 -0
  141. package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
  142. package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
  143. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
  144. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
  145. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
  146. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
  147. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
  148. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
  149. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
  150. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
  151. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
  152. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
  153. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
  154. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
  155. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
  156. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
  157. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
  158. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
  159. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
  160. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
  161. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  162. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
  163. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
  164. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
  165. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
  166. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
  167. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  168. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
  169. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  170. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
  171. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
  172. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
  173. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
  174. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
  175. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
  176. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
  177. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
  178. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
  179. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
  180. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
  181. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
  182. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
  183. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
  184. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
  185. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
  186. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
  187. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
  188. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  189. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
  190. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
  191. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
  192. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
  193. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  194. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
  195. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
  196. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  197. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
  198. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
  199. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  200. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
  201. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
  202. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
  203. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
  204. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
  205. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
  206. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
  207. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
  208. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
  209. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
  210. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
  211. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
  212. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
  213. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
  214. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
  215. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
  216. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
  217. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
  218. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  219. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  220. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  221. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
  222. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
  223. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
  224. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  225. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  226. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  227. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  228. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
  229. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
  230. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
  231. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
  232. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
  233. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  234. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  235. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  236. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  237. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  238. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  239. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  240. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
  241. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
  242. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
  243. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
  244. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
  245. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
  246. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
  247. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
  248. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
  249. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
  250. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
  251. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
  252. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
  253. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
  254. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
  255. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
  256. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
  257. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
  258. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
  259. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
  260. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  261. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
  262. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
  263. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
  264. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
  265. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
  266. package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
  267. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
  268. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
  269. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
  270. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
  271. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
  272. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
  273. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
  274. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
  275. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
  276. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
  277. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
  278. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
  279. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
  280. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
  281. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
  282. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
  283. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  284. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
  285. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
  286. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
  287. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
  288. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
  289. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  290. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
  291. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  292. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
  293. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
  294. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
  295. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
  296. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
  297. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
  298. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
  299. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
  300. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
  301. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
  302. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
  303. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
  304. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
  305. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
  306. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
  307. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
  308. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
  309. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
  310. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  311. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
  312. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
  313. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
  314. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
  315. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  316. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
  317. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
  318. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  319. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
  320. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
  321. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  322. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
  323. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
  324. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
  325. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
  326. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
  327. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
  328. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
  329. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
  330. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
  331. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
  332. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
  333. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
  334. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
  335. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
  336. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
  337. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  338. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  339. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  340. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
  341. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
  342. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
  343. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  344. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  345. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  346. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  347. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
  348. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
  349. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
  350. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
  351. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
  352. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  353. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  354. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  355. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  356. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  357. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  358. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  359. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
  360. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
  361. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
  362. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
  363. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
  364. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
  365. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
  366. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
  367. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
  368. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
  369. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
  370. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
  371. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
  372. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
  373. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
  374. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
  375. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
  376. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
  377. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
  378. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
  379. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  380. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
  381. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
  382. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
  383. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
  384. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
  385. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
  386. package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
  387. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
  388. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
  389. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
  390. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
  391. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
  392. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
  393. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
  394. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
  395. package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
  396. package/dist/bundled-agents/copilot-agents/package.json +0 -5
  397. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
  398. package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
  399. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
  400. package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
  401. package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
  402. package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
  403. package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
  404. package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
  405. package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
  406. package/dist/bundled-agents/platform-agents/package.json +0 -22
  407. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
  408. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
  409. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
  410. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
  411. package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
  412. package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
  413. package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
  414. package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
  415. package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
  416. package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
  417. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
  418. package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
  419. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
  420. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
  421. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
  422. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
  423. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
  424. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
  425. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
  426. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
  427. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
  428. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
  429. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
  430. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
  431. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
  432. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
  433. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
  434. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
  435. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
  436. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
  437. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
  438. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
  439. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
  440. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
  441. package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
  442. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
  443. package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
  444. package/dist/bundled-agents/sentinel-agents/package.json +0 -62
  445. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
  446. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
  447. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
  448. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
  449. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
  450. package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
  451. package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
  452. 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":"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"}
@@ -1,250 +0,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
- }