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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/bundled-agents/connector-hub-agents/package-lock.json +11697 -0
  2. package/dist/bundled-agents/connector-hub-agents/package.json +75 -0
  3. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +22 -0
  4. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +57 -0
  5. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +17 -0
  6. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +14 -0
  7. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +35 -0
  8. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +1 -0
  9. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +55 -0
  10. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +40 -0
  11. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +1 -0
  12. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +22 -0
  13. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +38 -0
  14. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +1 -0
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +34 -0
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +186 -0
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +1 -0
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +36 -0
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +121 -0
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +1 -0
  21. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  22. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +948 -0
  23. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +1 -0
  24. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +9 -0
  25. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +27 -0
  26. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +1 -0
  27. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  28. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +50 -0
  29. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +214 -0
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +91 -0
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +1 -0
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +1166 -0
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +308 -0
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +1 -0
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +59 -0
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +62 -0
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +1 -0
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +400 -0
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +113 -0
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +1 -0
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +250 -0
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +169 -0
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +1 -0
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +17 -0
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +97 -0
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +1 -0
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +246 -0
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +1 -0
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +1085 -0
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +218 -0
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +949 -0
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +253 -0
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +657 -0
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +205 -0
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +285 -0
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +106 -0
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +1 -0
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +581 -0
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +136 -0
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +1 -0
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +791 -0
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +225 -0
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +1 -0
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +120 -0
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +535 -0
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +1 -0
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +9 -0
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +18 -0
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +1 -0
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +4 -0
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +9 -0
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +1 -0
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +10 -0
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +25 -0
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +1 -0
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +25 -0
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +1 -0
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +6 -0
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +15 -0
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +1 -0
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +192 -0
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +1 -0
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +11 -0
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +25 -0
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +1 -0
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +127 -0
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +483 -0
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +1 -0
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +49 -0
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +125 -0
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +1 -0
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +73 -0
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +192 -0
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +1 -0
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +11 -0
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +27 -0
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +1 -0
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +122 -0
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +645 -0
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +1 -0
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +156 -0
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +1 -0
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +88 -0
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +246 -0
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +1 -0
  126. package/dist/bundled-agents/copilot-agents/functions/index.js +4 -0
  127. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +29 -0
  128. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +14 -0
  129. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +35 -0
  130. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +1 -0
  131. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +27 -0
  132. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +21 -0
  133. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +1 -0
  134. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +22 -0
  135. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +38 -0
  136. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +1 -0
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +34 -0
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +174 -0
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +1 -0
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +27 -0
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +107 -0
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +1 -0
  143. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  144. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +941 -0
  145. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +1 -0
  146. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +9 -0
  147. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +27 -0
  148. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +1 -0
  149. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  150. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +50 -0
  151. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +185 -0
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +86 -0
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +1 -0
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +1081 -0
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +305 -0
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +1 -0
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +59 -0
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +62 -0
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +1 -0
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +315 -0
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +110 -0
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +1 -0
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +250 -0
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +169 -0
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +1 -0
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +16 -0
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +88 -0
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +1 -0
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +246 -0
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +1 -0
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +1000 -0
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +215 -0
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +864 -0
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +250 -0
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +572 -0
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +202 -0
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +496 -0
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +133 -0
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +1 -0
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +706 -0
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +222 -0
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +1 -0
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +107 -0
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +360 -0
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +1 -0
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +9 -0
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +18 -0
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +1 -0
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +4 -0
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +9 -0
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +1 -0
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +10 -0
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +25 -0
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +1 -0
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +25 -0
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +1 -0
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +6 -0
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +15 -0
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +1 -0
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +192 -0
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +1 -0
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +11 -0
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +25 -0
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +1 -0
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +119 -0
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +421 -0
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +1 -0
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +49 -0
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +125 -0
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +1 -0
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +73 -0
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +192 -0
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +1 -0
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +11 -0
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +27 -0
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +1 -0
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +122 -0
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +645 -0
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +1 -0
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +156 -0
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +1 -0
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +88 -0
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +246 -0
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +1 -0
  245. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +5473 -0
  246. package/dist/bundled-agents/copilot-agents/functions/package.json +40 -0
  247. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +71 -0
  248. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +36 -0
  249. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +77 -0
  250. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +340 -0
  251. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +53 -0
  252. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +201 -0
  253. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +148 -0
  254. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +31 -0
  255. package/dist/bundled-agents/copilot-agents/package-lock.json +11825 -0
  256. package/dist/bundled-agents/copilot-agents/package.json +5 -0
  257. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +8282 -0
  258. package/dist/bundled-agents/governance-dashboard-agents/package.json +13 -0
  259. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +590 -0
  260. package/dist/bundled-agents/orchestrator-agents/functions/index.js +442 -0
  261. package/dist/bundled-agents/orchestrator-agents/functions/test.js +325 -0
  262. package/dist/bundled-agents/orchestrator-agents/index.js +6 -0
  263. package/dist/bundled-agents/orchestrator-agents/package-lock.json +13254 -0
  264. package/dist/bundled-agents/orchestrator-agents/package.json +20 -0
  265. package/dist/bundled-agents/platform-agents/package-lock.json +1723 -0
  266. package/dist/bundled-agents/platform-agents/package.json +22 -0
  267. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +463 -0
  268. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +234 -0
  269. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +229 -0
  270. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +327 -0
  271. package/dist/bundled-agents/platform-agents/src/claude.ts +71 -0
  272. package/dist/bundled-agents/platform-agents/src/cors.ts +24 -0
  273. package/dist/bundled-agents/platform-agents/src/envelope.ts +37 -0
  274. package/dist/bundled-agents/platform-agents/src/health.ts +20 -0
  275. package/dist/bundled-agents/platform-agents/src/index.ts +171 -0
  276. package/dist/bundled-agents/platform-agents/src/router.ts +38 -0
  277. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +238 -0
  278. package/dist/bundled-agents/platform-agents/tsconfig.json +19 -0
  279. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +3 -0
  280. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +1 -0
  281. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +43 -0
  282. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +1 -0
  283. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +3 -0
  284. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +1 -0
  285. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +30 -0
  286. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +1 -0
  287. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +3 -0
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +1 -0
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +53 -0
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +1 -0
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +3 -0
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +1 -0
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +51 -0
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +1 -0
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +3 -0
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +1 -0
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +36 -0
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +1 -0
  299. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +2 -0
  300. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +1 -0
  301. package/dist/bundled-agents/sentinel-agents/lib/index.js +70 -0
  302. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +1 -0
  303. package/dist/bundled-agents/sentinel-agents/package-lock.json +12591 -0
  304. package/dist/bundled-agents/sentinel-agents/package.json +62 -0
  305. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +46 -0
  306. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +33 -0
  307. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +56 -0
  308. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +54 -0
  309. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +38 -0
  310. package/dist/bundled-agents/sentinel-agents/src/claude.ts +71 -0
  311. package/dist/bundled-agents/sentinel-agents/src/index.ts +77 -0
  312. package/dist/bundled-agents/sentinel-agents/tsconfig.json +20 -0
  313. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  314. package/dist/pipeline/auto-chain.js +52 -0
  315. package/dist/pipeline/auto-chain.js.map +1 -1
  316. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  317. package/dist/pipeline/phase2/phases/ddd-generator.js +15 -1
  318. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  319. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  320. package/dist/pipeline/phase2/phases/sparc-specification.js +9 -0
  321. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  322. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  323. package/dist/pipeline/phase3/phases/domain-codegen.js +41 -0
  324. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  325. package/package.json +1 -1
@@ -0,0 +1,250 @@
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
+ trace_id: string;
64
+ artifacts: {
65
+ name: string;
66
+ artifact_type: string;
67
+ reference: string;
68
+ data?: unknown;
69
+ }[];
70
+ span_id: string;
71
+ parent_span_id: string;
72
+ span_type: "agent" | "core" | "repo";
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
+ trace_id: string;
82
+ span_id: string;
83
+ parent_span_id: string;
84
+ span_type: "agent" | "core" | "repo";
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
+ trace_id: string;
133
+ artifacts: {
134
+ name: string;
135
+ artifact_type: string;
136
+ reference: string;
137
+ data?: unknown;
138
+ }[];
139
+ span_id: string;
140
+ parent_span_id: string;
141
+ span_type: "agent" | "core" | "repo";
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
+ trace_id: string;
151
+ span_id: string;
152
+ parent_span_id: string;
153
+ span_type: "agent" | "core" | "repo";
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
+ trace_id: string;
171
+ artifacts: {
172
+ name: string;
173
+ artifact_type: string;
174
+ reference: string;
175
+ data?: unknown;
176
+ }[];
177
+ span_id: string;
178
+ parent_span_id: string;
179
+ span_type: "agent" | "core" | "repo";
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
+ trace_id: string;
193
+ span_id: string;
194
+ parent_span_id: string;
195
+ span_type: "agent" | "core" | "repo";
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
+ }
@@ -0,0 +1,169 @@
1
+ "use strict";
2
+ /**
3
+ * Agentics Execution Graph - Foundational Execution Unit instrumentation.
4
+ *
5
+ * Defines the hierarchical execution span model that integrates this
6
+ * repository into the Agentics ExecutionGraph system.
7
+ *
8
+ * Invariant: Core → Repo (copilot-agent) → Agent (one or more)
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.ExecutionGraphBuilder = exports.ExecutionGraphSchema = exports.ExecutionSpanSchema = exports.ArtifactSchema = exports.ExecutionStatusSchema = exports.SpanTypeSchema = exports.REPO_NAME = void 0;
12
+ const zod_1 = require("zod");
13
+ const crypto_1 = require("crypto");
14
+ /** The name of this repository in the Agentics execution graph. */
15
+ exports.REPO_NAME = 'copilot-agent';
16
+ // ─── Schemas ────────────────────────────────────────────────────────
17
+ exports.SpanTypeSchema = zod_1.z.enum(['core', 'repo', 'agent']);
18
+ exports.ExecutionStatusSchema = zod_1.z.enum(['running', 'completed', 'failed']);
19
+ exports.ArtifactSchema = zod_1.z.object({
20
+ name: zod_1.z.string().min(1),
21
+ artifact_type: zod_1.z.string().min(1),
22
+ reference: zod_1.z.string().min(1),
23
+ data: zod_1.z.unknown(),
24
+ });
25
+ exports.ExecutionSpanSchema = zod_1.z.object({
26
+ span_id: zod_1.z.string().min(1),
27
+ parent_span_id: zod_1.z.string().min(1),
28
+ trace_id: zod_1.z.string().min(1),
29
+ span_type: exports.SpanTypeSchema,
30
+ repo_name: zod_1.z.string().optional(),
31
+ agent_name: zod_1.z.string().optional(),
32
+ status: exports.ExecutionStatusSchema,
33
+ start_time: zod_1.z.string().datetime(),
34
+ end_time: zod_1.z.string().datetime().optional(),
35
+ failure_reason: zod_1.z.string().optional(),
36
+ artifacts: zod_1.z.array(exports.ArtifactSchema).default([]),
37
+ attributes: zod_1.z.record(zod_1.z.string()).default({}),
38
+ });
39
+ exports.ExecutionGraphSchema = zod_1.z.object({
40
+ execution_id: zod_1.z.string().min(1),
41
+ repo_span_id: zod_1.z.string().min(1),
42
+ spans: zod_1.z.array(exports.ExecutionSpanSchema),
43
+ });
44
+ // ─── Builder ────────────────────────────────────────────────────────
45
+ function generateSpanId() {
46
+ return (0, crypto_1.randomUUID)().replace(/-/g, '').slice(0, 16);
47
+ }
48
+ /**
49
+ * Builds an ExecutionGraph for a single invocation of this repository.
50
+ *
51
+ * Usage:
52
+ * 1. Create via constructor (auto-creates repo span)
53
+ * 2. Call startAgentSpan() before each agent runs
54
+ * 3. Call completeAgentSpan() or failAgentSpan() when done
55
+ * 4. Call completeRepo() or failRepo() at the end
56
+ * 5. Call toJSON() to get the serialized graph
57
+ */
58
+ class ExecutionGraphBuilder {
59
+ executionId;
60
+ repoSpanId;
61
+ spans;
62
+ constructor(executionId, parentSpanId, traceId) {
63
+ if (!parentSpanId) {
64
+ throw new Error('Missing parent_span_id: execution context requires a parent span from the Core');
65
+ }
66
+ this.executionId = executionId || (0, crypto_1.randomUUID)();
67
+ this.repoSpanId = generateSpanId();
68
+ const repoSpan = {
69
+ span_id: this.repoSpanId,
70
+ parent_span_id: parentSpanId,
71
+ trace_id: traceId || (0, crypto_1.randomUUID)(),
72
+ span_type: 'repo',
73
+ repo_name: exports.REPO_NAME,
74
+ status: 'running',
75
+ start_time: new Date().toISOString(),
76
+ artifacts: [],
77
+ attributes: {},
78
+ };
79
+ this.spans = [repoSpan];
80
+ }
81
+ /** Start a new agent-level span as a child of the repo span. */
82
+ startAgentSpan(agentName) {
83
+ const spanId = generateSpanId();
84
+ const span = {
85
+ span_id: spanId,
86
+ parent_span_id: this.repoSpanId,
87
+ trace_id: this.spans[0].trace_id,
88
+ span_type: 'agent',
89
+ repo_name: exports.REPO_NAME,
90
+ agent_name: agentName,
91
+ status: 'running',
92
+ start_time: new Date().toISOString(),
93
+ artifacts: [],
94
+ attributes: {},
95
+ };
96
+ this.spans.push(span);
97
+ return spanId;
98
+ }
99
+ /** Complete an agent-level span with optional artifacts. */
100
+ completeAgentSpan(spanId, artifacts = []) {
101
+ const span = this.findSpan(spanId);
102
+ if (span.status !== 'running') {
103
+ throw new Error(`Span already completed: ${spanId}`);
104
+ }
105
+ span.status = 'completed';
106
+ span.end_time = new Date().toISOString();
107
+ span.artifacts = artifacts;
108
+ }
109
+ /** Mark an agent-level span as failed. */
110
+ failAgentSpan(spanId, reason) {
111
+ const span = this.findSpan(spanId);
112
+ if (span.status !== 'running') {
113
+ throw new Error(`Span already completed: ${spanId}`);
114
+ }
115
+ span.status = 'failed';
116
+ span.end_time = new Date().toISOString();
117
+ span.failure_reason = reason;
118
+ }
119
+ /**
120
+ * Complete the repo-level span.
121
+ * Throws if no agent-level spans were emitted.
122
+ */
123
+ completeRepo() {
124
+ this.validate();
125
+ const repo = this.findSpan(this.repoSpanId);
126
+ repo.status = 'completed';
127
+ repo.end_time = new Date().toISOString();
128
+ }
129
+ /** Mark the repo-level span as failed, preserving all emitted spans. */
130
+ failRepo(reason) {
131
+ const repo = this.findSpan(this.repoSpanId);
132
+ repo.status = 'failed';
133
+ repo.end_time = new Date().toISOString();
134
+ repo.failure_reason = reason;
135
+ }
136
+ /** Validate that at least one agent span exists. */
137
+ validate() {
138
+ const agentCount = this.spans.filter((s) => s.span_type === 'agent').length;
139
+ if (agentCount === 0) {
140
+ throw new Error('No agent-level spans emitted: execution is INVALID without agent spans');
141
+ }
142
+ }
143
+ /** Check if any agent spans exist. */
144
+ hasAgentSpans() {
145
+ return this.spans.some((s) => s.span_type === 'agent');
146
+ }
147
+ /** Add an attribute to the repo-level span. */
148
+ setRepoAttribute(key, value) {
149
+ const repo = this.findSpan(this.repoSpanId);
150
+ repo.attributes[key] = value;
151
+ }
152
+ /** Serialize the graph to a plain JSON-serializable object. */
153
+ toJSON() {
154
+ return {
155
+ execution_id: this.executionId,
156
+ repo_span_id: this.repoSpanId,
157
+ spans: [...this.spans],
158
+ };
159
+ }
160
+ findSpan(spanId) {
161
+ const span = this.spans.find((s) => s.span_id === spanId);
162
+ if (!span) {
163
+ throw new Error(`Span not found: ${spanId}`);
164
+ }
165
+ return span;
166
+ }
167
+ }
168
+ exports.ExecutionGraphBuilder = ExecutionGraphBuilder;
169
+ //# sourceMappingURL=execution-graph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution-graph.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/execution-graph.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,6BAAwB;AACxB,mCAAoC;AAEpC,mEAAmE;AACtD,QAAA,SAAS,GAAG,eAAe,CAAC;AAEzC,uEAAuE;AAE1D,QAAA,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAGnD,QAAA,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;AAGnE,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM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B,CAAC;IAED,+DAA+D;IAC/D,MAAM;QACJ,OAAO;YACL,YAAY,EAAE,IAAI,CAAC,WAAW;YAC9B,YAAY,EAAE,IAAI,CAAC,UAAU;YAC7B,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACvB,CAAC;IACJ,CAAC;IAEO,QAAQ,CAAC,MAAc;QAC7B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC;QAC1D,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,mBAAmB,MAAM,EAAE,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AA3HD,sDA2HC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Agentics Contracts - Canonical Schema Exports
3
+ *
4
+ * ALL schemas MUST be imported from this module.
5
+ * No inline schemas. No inferred schemas. No dynamic schema mutation.
6
+ */
7
+ export { DecisionEventSchema, type DecisionEvent, hashInputs, createDecisionEvent, } from './decision-event';
8
+ export { AgentClassification, type AgentClassificationType, AgentMetadataSchema, type AgentMetadata, AgentResultSchema, type AgentResult, PersistenceStatusSchema, type PersistenceStatus, type BaseAgent, AgentErrorCodes, type AgentErrorCode, createErrorResult, } from './base-agent';
9
+ export { PlannerInputSchema, type PlannerInput, PlannerOutputSchema, type PlannerOutput, PlanStepSchema, type PlanStep, DependencySchema, type Dependency, } from './planner-schemas';
10
+ export { ReflectionInputSchema, type ReflectionInput, ReflectionOutputSchema, type ReflectionOutput, QualitySignalSchema, type QualitySignal, LearningSignalSchema, type LearningSignal, GapAnalysisSchema, type GapAnalysis, OutcomeEvaluationSchema, type OutcomeEvaluation, } from './reflection-schemas';
11
+ export { ReasoningTraceSchema, type ReasoningTrace, MetaReasonerInputSchema, type MetaReasonerInput, MetaReasonerOutputSchema, type MetaReasonerOutput, ContradictionSchema, type Contradiction, ConfidenceCalibrationSchema, type ConfidenceCalibration, SystemicIssueSchema, type SystemicIssue, ReasoningQualityMetricsSchema, type ReasoningQualityMetrics, } from './meta-reasoner-schemas';
12
+ export { ObjectiveClarifierInputSchema, type ObjectiveClarifierInput, ObjectiveClarifierOutputSchema, type ObjectiveClarifierOutput, AmbiguitySchema, type Ambiguity, MissingConstraintSchema, type MissingConstraint, NormalizedGoalSchema, type NormalizedGoal, } from './objective-clarifier-schemas';
13
+ export { IntentType, type IntentTypeValue, IntentSignalSchema, type IntentSignal, ClassifiedIntentSchema, type ClassifiedIntent, MultiIntentStateSchema, type MultiIntentState, IntentClassifierInputSchema, type IntentClassifierInput, IntentClassifierOutputSchema, type IntentClassifierOutput, } from './intent-classifier-schemas';
14
+ export { ValidationSeverity, type ValidationSeverityType, ValidationCategory, type ValidationCategoryType, ValidationFindingSchema, type ValidationFinding, SchemaValidationResultSchema, type SchemaValidationResult, SemanticConstraintSchema, type SemanticConstraint, DeprecatedValueSchema, type DeprecatedValue, UnsafeConfigSchema, type UnsafeConfig, ConfigConflictSchema, type ConfigConflict, MissingConfigSchema, type MissingConfig, ReadinessAssessmentSchema, type ReadinessAssessment, ConfigValidationInputSchema, type ConfigValidationInput, ConfigValidationOutputSchema, type ConfigValidationOutput, } from './config-validation-schemas';
15
+ export { SubObjectiveSchema, type SubObjective, DecomposerInputSchema, type DecomposerInput, DecomposerOutputSchema, type DecomposerOutput, } from './decomposer-schemas';
16
+ export { DOMAIN_REGISTRY, DOMAIN_NAMES, type DomainName, PipelineStepSchema, type PipelineStep, PipelineSpecSchema, type PipelineSpec, PipelineStepRefSchema, type PipelineStepRef, PipelineContextSchema, type PipelineContext, } from './pipeline-schemas';
17
+ export { PHASE7_PERFORMANCE_BUDGETS, HypothesisSignalSchema, type HypothesisSignal, SimulationOutcomeSignalSchema, type SimulationOutcomeSignal, ConfidenceDeltaSignalSchema, type ConfidenceDeltaSignal, IntelligenceLayerInputSchema, type IntelligenceLayerInput, IntelligenceLayerOutputSchema, type IntelligenceLayerOutput, } from './intelligence-schemas';
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ /**
3
+ * Agentics Contracts - Canonical Schema Exports
4
+ *
5
+ * ALL schemas MUST be imported from this module.
6
+ * No inline schemas. No inferred schemas. No dynamic schema mutation.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.SubObjectiveSchema = exports.ConfigValidationOutputSchema = exports.ConfigValidationInputSchema = exports.ReadinessAssessmentSchema = exports.MissingConfigSchema = exports.ConfigConflictSchema = exports.UnsafeConfigSchema = exports.DeprecatedValueSchema = exports.SemanticConstraintSchema = exports.SchemaValidationResultSchema = exports.ValidationFindingSchema = exports.ValidationCategory = exports.ValidationSeverity = exports.IntentClassifierOutputSchema = exports.IntentClassifierInputSchema = exports.MultiIntentStateSchema = exports.ClassifiedIntentSchema = exports.IntentSignalSchema = exports.IntentType = exports.NormalizedGoalSchema = exports.MissingConstraintSchema = exports.AmbiguitySchema = exports.ObjectiveClarifierOutputSchema = exports.ObjectiveClarifierInputSchema = exports.ReasoningQualityMetricsSchema = exports.SystemicIssueSchema = exports.ConfidenceCalibrationSchema = exports.ContradictionSchema = exports.MetaReasonerOutputSchema = exports.MetaReasonerInputSchema = exports.ReasoningTraceSchema = exports.OutcomeEvaluationSchema = exports.GapAnalysisSchema = exports.LearningSignalSchema = exports.QualitySignalSchema = exports.ReflectionOutputSchema = exports.ReflectionInputSchema = exports.DependencySchema = exports.PlanStepSchema = exports.PlannerOutputSchema = exports.PlannerInputSchema = exports.createErrorResult = exports.AgentErrorCodes = exports.PersistenceStatusSchema = exports.AgentResultSchema = exports.AgentMetadataSchema = exports.AgentClassification = exports.createDecisionEvent = exports.hashInputs = exports.DecisionEventSchema = void 0;
10
+ exports.IntelligenceLayerOutputSchema = exports.IntelligenceLayerInputSchema = exports.ConfidenceDeltaSignalSchema = exports.SimulationOutcomeSignalSchema = exports.HypothesisSignalSchema = exports.PHASE7_PERFORMANCE_BUDGETS = exports.PipelineContextSchema = exports.PipelineStepRefSchema = exports.PipelineSpecSchema = exports.PipelineStepSchema = exports.DOMAIN_NAMES = exports.DOMAIN_REGISTRY = exports.DecomposerOutputSchema = exports.DecomposerInputSchema = void 0;
11
+ // Decision Event
12
+ var decision_event_1 = require("./decision-event");
13
+ Object.defineProperty(exports, "DecisionEventSchema", { enumerable: true, get: function () { return decision_event_1.DecisionEventSchema; } });
14
+ Object.defineProperty(exports, "hashInputs", { enumerable: true, get: function () { return decision_event_1.hashInputs; } });
15
+ Object.defineProperty(exports, "createDecisionEvent", { enumerable: true, get: function () { return decision_event_1.createDecisionEvent; } });
16
+ // Base Agent
17
+ var base_agent_1 = require("./base-agent");
18
+ Object.defineProperty(exports, "AgentClassification", { enumerable: true, get: function () { return base_agent_1.AgentClassification; } });
19
+ Object.defineProperty(exports, "AgentMetadataSchema", { enumerable: true, get: function () { return base_agent_1.AgentMetadataSchema; } });
20
+ Object.defineProperty(exports, "AgentResultSchema", { enumerable: true, get: function () { return base_agent_1.AgentResultSchema; } });
21
+ Object.defineProperty(exports, "PersistenceStatusSchema", { enumerable: true, get: function () { return base_agent_1.PersistenceStatusSchema; } });
22
+ Object.defineProperty(exports, "AgentErrorCodes", { enumerable: true, get: function () { return base_agent_1.AgentErrorCodes; } });
23
+ Object.defineProperty(exports, "createErrorResult", { enumerable: true, get: function () { return base_agent_1.createErrorResult; } });
24
+ // Planner Agent
25
+ var planner_schemas_1 = require("./planner-schemas");
26
+ Object.defineProperty(exports, "PlannerInputSchema", { enumerable: true, get: function () { return planner_schemas_1.PlannerInputSchema; } });
27
+ Object.defineProperty(exports, "PlannerOutputSchema", { enumerable: true, get: function () { return planner_schemas_1.PlannerOutputSchema; } });
28
+ Object.defineProperty(exports, "PlanStepSchema", { enumerable: true, get: function () { return planner_schemas_1.PlanStepSchema; } });
29
+ Object.defineProperty(exports, "DependencySchema", { enumerable: true, get: function () { return planner_schemas_1.DependencySchema; } });
30
+ // Reflection Agent
31
+ var reflection_schemas_1 = require("./reflection-schemas");
32
+ Object.defineProperty(exports, "ReflectionInputSchema", { enumerable: true, get: function () { return reflection_schemas_1.ReflectionInputSchema; } });
33
+ Object.defineProperty(exports, "ReflectionOutputSchema", { enumerable: true, get: function () { return reflection_schemas_1.ReflectionOutputSchema; } });
34
+ Object.defineProperty(exports, "QualitySignalSchema", { enumerable: true, get: function () { return reflection_schemas_1.QualitySignalSchema; } });
35
+ Object.defineProperty(exports, "LearningSignalSchema", { enumerable: true, get: function () { return reflection_schemas_1.LearningSignalSchema; } });
36
+ Object.defineProperty(exports, "GapAnalysisSchema", { enumerable: true, get: function () { return reflection_schemas_1.GapAnalysisSchema; } });
37
+ Object.defineProperty(exports, "OutcomeEvaluationSchema", { enumerable: true, get: function () { return reflection_schemas_1.OutcomeEvaluationSchema; } });
38
+ // Meta-Reasoner Agent
39
+ var meta_reasoner_schemas_1 = require("./meta-reasoner-schemas");
40
+ Object.defineProperty(exports, "ReasoningTraceSchema", { enumerable: true, get: function () { return meta_reasoner_schemas_1.ReasoningTraceSchema; } });
41
+ Object.defineProperty(exports, "MetaReasonerInputSchema", { enumerable: true, get: function () { return meta_reasoner_schemas_1.MetaReasonerInputSchema; } });
42
+ Object.defineProperty(exports, "MetaReasonerOutputSchema", { enumerable: true, get: function () { return meta_reasoner_schemas_1.MetaReasonerOutputSchema; } });
43
+ Object.defineProperty(exports, "ContradictionSchema", { enumerable: true, get: function () { return meta_reasoner_schemas_1.ContradictionSchema; } });
44
+ Object.defineProperty(exports, "ConfidenceCalibrationSchema", { enumerable: true, get: function () { return meta_reasoner_schemas_1.ConfidenceCalibrationSchema; } });
45
+ Object.defineProperty(exports, "SystemicIssueSchema", { enumerable: true, get: function () { return meta_reasoner_schemas_1.SystemicIssueSchema; } });
46
+ Object.defineProperty(exports, "ReasoningQualityMetricsSchema", { enumerable: true, get: function () { return meta_reasoner_schemas_1.ReasoningQualityMetricsSchema; } });
47
+ // Objective Clarifier Agent
48
+ var objective_clarifier_schemas_1 = require("./objective-clarifier-schemas");
49
+ Object.defineProperty(exports, "ObjectiveClarifierInputSchema", { enumerable: true, get: function () { return objective_clarifier_schemas_1.ObjectiveClarifierInputSchema; } });
50
+ Object.defineProperty(exports, "ObjectiveClarifierOutputSchema", { enumerable: true, get: function () { return objective_clarifier_schemas_1.ObjectiveClarifierOutputSchema; } });
51
+ Object.defineProperty(exports, "AmbiguitySchema", { enumerable: true, get: function () { return objective_clarifier_schemas_1.AmbiguitySchema; } });
52
+ Object.defineProperty(exports, "MissingConstraintSchema", { enumerable: true, get: function () { return objective_clarifier_schemas_1.MissingConstraintSchema; } });
53
+ Object.defineProperty(exports, "NormalizedGoalSchema", { enumerable: true, get: function () { return objective_clarifier_schemas_1.NormalizedGoalSchema; } });
54
+ // Intent Classifier Agent
55
+ var intent_classifier_schemas_1 = require("./intent-classifier-schemas");
56
+ Object.defineProperty(exports, "IntentType", { enumerable: true, get: function () { return intent_classifier_schemas_1.IntentType; } });
57
+ Object.defineProperty(exports, "IntentSignalSchema", { enumerable: true, get: function () { return intent_classifier_schemas_1.IntentSignalSchema; } });
58
+ Object.defineProperty(exports, "ClassifiedIntentSchema", { enumerable: true, get: function () { return intent_classifier_schemas_1.ClassifiedIntentSchema; } });
59
+ Object.defineProperty(exports, "MultiIntentStateSchema", { enumerable: true, get: function () { return intent_classifier_schemas_1.MultiIntentStateSchema; } });
60
+ Object.defineProperty(exports, "IntentClassifierInputSchema", { enumerable: true, get: function () { return intent_classifier_schemas_1.IntentClassifierInputSchema; } });
61
+ Object.defineProperty(exports, "IntentClassifierOutputSchema", { enumerable: true, get: function () { return intent_classifier_schemas_1.IntentClassifierOutputSchema; } });
62
+ // Config Validation Agent
63
+ var config_validation_schemas_1 = require("./config-validation-schemas");
64
+ Object.defineProperty(exports, "ValidationSeverity", { enumerable: true, get: function () { return config_validation_schemas_1.ValidationSeverity; } });
65
+ Object.defineProperty(exports, "ValidationCategory", { enumerable: true, get: function () { return config_validation_schemas_1.ValidationCategory; } });
66
+ Object.defineProperty(exports, "ValidationFindingSchema", { enumerable: true, get: function () { return config_validation_schemas_1.ValidationFindingSchema; } });
67
+ Object.defineProperty(exports, "SchemaValidationResultSchema", { enumerable: true, get: function () { return config_validation_schemas_1.SchemaValidationResultSchema; } });
68
+ Object.defineProperty(exports, "SemanticConstraintSchema", { enumerable: true, get: function () { return config_validation_schemas_1.SemanticConstraintSchema; } });
69
+ Object.defineProperty(exports, "DeprecatedValueSchema", { enumerable: true, get: function () { return config_validation_schemas_1.DeprecatedValueSchema; } });
70
+ Object.defineProperty(exports, "UnsafeConfigSchema", { enumerable: true, get: function () { return config_validation_schemas_1.UnsafeConfigSchema; } });
71
+ Object.defineProperty(exports, "ConfigConflictSchema", { enumerable: true, get: function () { return config_validation_schemas_1.ConfigConflictSchema; } });
72
+ Object.defineProperty(exports, "MissingConfigSchema", { enumerable: true, get: function () { return config_validation_schemas_1.MissingConfigSchema; } });
73
+ Object.defineProperty(exports, "ReadinessAssessmentSchema", { enumerable: true, get: function () { return config_validation_schemas_1.ReadinessAssessmentSchema; } });
74
+ Object.defineProperty(exports, "ConfigValidationInputSchema", { enumerable: true, get: function () { return config_validation_schemas_1.ConfigValidationInputSchema; } });
75
+ Object.defineProperty(exports, "ConfigValidationOutputSchema", { enumerable: true, get: function () { return config_validation_schemas_1.ConfigValidationOutputSchema; } });
76
+ // Decomposer Agent
77
+ var decomposer_schemas_1 = require("./decomposer-schemas");
78
+ Object.defineProperty(exports, "SubObjectiveSchema", { enumerable: true, get: function () { return decomposer_schemas_1.SubObjectiveSchema; } });
79
+ Object.defineProperty(exports, "DecomposerInputSchema", { enumerable: true, get: function () { return decomposer_schemas_1.DecomposerInputSchema; } });
80
+ Object.defineProperty(exports, "DecomposerOutputSchema", { enumerable: true, get: function () { return decomposer_schemas_1.DecomposerOutputSchema; } });
81
+ // Pipeline Orchestration
82
+ var pipeline_schemas_1 = require("./pipeline-schemas");
83
+ Object.defineProperty(exports, "DOMAIN_REGISTRY", { enumerable: true, get: function () { return pipeline_schemas_1.DOMAIN_REGISTRY; } });
84
+ Object.defineProperty(exports, "DOMAIN_NAMES", { enumerable: true, get: function () { return pipeline_schemas_1.DOMAIN_NAMES; } });
85
+ Object.defineProperty(exports, "PipelineStepSchema", { enumerable: true, get: function () { return pipeline_schemas_1.PipelineStepSchema; } });
86
+ Object.defineProperty(exports, "PipelineSpecSchema", { enumerable: true, get: function () { return pipeline_schemas_1.PipelineSpecSchema; } });
87
+ Object.defineProperty(exports, "PipelineStepRefSchema", { enumerable: true, get: function () { return pipeline_schemas_1.PipelineStepRefSchema; } });
88
+ Object.defineProperty(exports, "PipelineContextSchema", { enumerable: true, get: function () { return pipeline_schemas_1.PipelineContextSchema; } });
89
+ // Phase 7: Intelligence Layer (Layer 2)
90
+ var intelligence_schemas_1 = require("./intelligence-schemas");
91
+ Object.defineProperty(exports, "PHASE7_PERFORMANCE_BUDGETS", { enumerable: true, get: function () { return intelligence_schemas_1.PHASE7_PERFORMANCE_BUDGETS; } });
92
+ Object.defineProperty(exports, "HypothesisSignalSchema", { enumerable: true, get: function () { return intelligence_schemas_1.HypothesisSignalSchema; } });
93
+ Object.defineProperty(exports, "SimulationOutcomeSignalSchema", { enumerable: true, get: function () { return intelligence_schemas_1.SimulationOutcomeSignalSchema; } });
94
+ Object.defineProperty(exports, "ConfidenceDeltaSignalSchema", { enumerable: true, get: function () { return intelligence_schemas_1.ConfidenceDeltaSignalSchema; } });
95
+ Object.defineProperty(exports, "IntelligenceLayerInputSchema", { enumerable: true, get: function () { return intelligence_schemas_1.IntelligenceLayerInputSchema; } });
96
+ Object.defineProperty(exports, "IntelligenceLayerOutputSchema", { enumerable: true, get: function () { return intelligence_schemas_1.IntelligenceLayerOutputSchema; } });
97
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/index.ts"],"names":[],"mappings":";AAAA;;;;;GAK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