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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/dist/cli/index.js +43 -67
  2. package/dist/cli/index.js.map +1 -1
  3. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  4. package/dist/pipeline/phase2/phases/ddd-generator.js +59 -30
  5. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  6. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  7. package/dist/pipeline/phase3/phases/domain-codegen.js +93 -2
  8. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  9. package/package.json +1 -1
  10. package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
  11. package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
  12. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
  13. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
  14. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
  21. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
  22. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
  23. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
  24. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
  25. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
  26. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
  27. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
  28. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
  29. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
  126. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
  127. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
  128. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
  129. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  130. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
  131. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
  132. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
  133. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
  134. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
  135. package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
  136. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
  143. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
  144. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
  145. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
  146. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
  147. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
  148. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
  149. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
  150. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
  151. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
  245. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
  246. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
  247. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
  248. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  249. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
  250. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
  251. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
  252. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
  253. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
  254. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
  255. package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
  256. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
  257. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
  258. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
  259. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
  260. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
  261. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
  262. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
  263. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
  264. package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
  265. package/dist/bundled-agents/copilot-agents/package.json +0 -5
  266. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
  267. package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
  268. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
  269. package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
  270. package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
  271. package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
  272. package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
  273. package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
  274. package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
  275. package/dist/bundled-agents/platform-agents/package.json +0 -22
  276. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
  277. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
  278. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
  279. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
  280. package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
  281. package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
  282. package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
  283. package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
  284. package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
  285. package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
  286. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
  287. package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
  299. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
  300. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
  301. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
  302. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
  303. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
  304. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
  305. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
  306. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
  307. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
  308. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
  309. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
  310. package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
  311. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
  312. package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
  313. package/dist/bundled-agents/sentinel-agents/package.json +0 -62
  314. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
  315. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
  316. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
  317. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
  318. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
  319. package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
  320. package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
  321. package/dist/bundled-agents/sentinel-agents/tsconfig.json +0 -20
@@ -1,225 +0,0 @@
1
- "use strict";
2
- /**
3
- * Reflection Agent Schemas
4
- *
5
- * Purpose: Analyze DecisionEvents to extract learning and quality signals
6
- * Classification: POST_EXECUTION_ANALYSIS, QUALITY_ASSESSMENT
7
- * decision_type: reflection_analysis
8
- *
9
- * Scope:
10
- * - Evaluate outcomes
11
- * - Identify gaps and inefficiencies
12
- * - Produce improvement insights
13
- *
14
- * Must Never:
15
- * - Modify behavior
16
- * - Trigger retries
17
- * - Apply optimizations
18
- */
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.ReflectionOutputSchema = exports.ReflectionInputSchema = exports.OutcomeEvaluationSchema = exports.GapAnalysisSchema = exports.LearningSignalSchema = exports.QualitySignalSchema = void 0;
21
- const zod_1 = require("zod");
22
- const pipeline_schemas_1 = require("./pipeline-schemas");
23
- const decision_event_1 = require("./decision-event");
24
- /**
25
- * Quality Signal - extracted quality indicators
26
- */
27
- exports.QualitySignalSchema = zod_1.z.object({
28
- /** Unique identifier for this signal */
29
- signal_id: zod_1.z.string().min(1),
30
- /** Type of quality signal */
31
- type: zod_1.z.enum([
32
- 'performance', // Execution performance signal
33
- 'accuracy', // Accuracy/correctness signal
34
- 'completeness', // Completeness of output signal
35
- 'consistency', // Consistency with prior decisions
36
- 'efficiency', // Resource efficiency signal
37
- 'reliability', // Reliability/stability signal
38
- ]),
39
- /** Signal value (0.0 - 1.0 normalized score) */
40
- value: zod_1.z.number().min(0).max(1),
41
- /** Human-readable description of the signal */
42
- description: zod_1.z.string().min(1),
43
- /** Evidence supporting this signal */
44
- evidence: zod_1.z.array(zod_1.z.string()).default([]),
45
- /** Severity level for negative signals */
46
- severity: zod_1.z.enum(['info', 'warning', 'error', 'critical']).optional(),
47
- });
48
- /**
49
- * Learning Signal - extracted learning opportunities
50
- */
51
- exports.LearningSignalSchema = zod_1.z.object({
52
- /** Unique identifier for this learning */
53
- learning_id: zod_1.z.string().min(1),
54
- /** Category of learning */
55
- category: zod_1.z.enum([
56
- 'pattern', // Identified pattern to replicate
57
- 'anti_pattern', // Pattern to avoid
58
- 'optimization', // Optimization opportunity
59
- 'edge_case', // Edge case discovered
60
- 'dependency', // Dependency relationship learned
61
- 'constraint', // Constraint discovered
62
- ]),
63
- /** Brief title for the learning */
64
- title: zod_1.z.string().min(1).max(200),
65
- /** Detailed description of the learning */
66
- description: zod_1.z.string().min(1),
67
- /** Confidence in this learning (0.0 - 1.0) */
68
- confidence: zod_1.z.number().min(0).max(1),
69
- /** Affected agents or components */
70
- affected_agents: zod_1.z.array(zod_1.z.string()).default([]),
71
- /** Recommendations for applying this learning (informational only) */
72
- recommendations: zod_1.z.array(zod_1.z.string()).default([]),
73
- });
74
- /**
75
- * Gap Analysis - identified gaps or inefficiencies
76
- */
77
- exports.GapAnalysisSchema = zod_1.z.object({
78
- /** Unique identifier for this gap */
79
- gap_id: zod_1.z.string().min(1),
80
- /** Type of gap */
81
- type: zod_1.z.enum([
82
- 'coverage', // Missing coverage
83
- 'capability', // Missing capability
84
- 'data', // Data quality or availability gap
85
- 'process', // Process gap
86
- 'integration', // Integration gap
87
- 'documentation', // Documentation gap
88
- ]),
89
- /** Brief title for the gap */
90
- title: zod_1.z.string().min(1).max(200),
91
- /** Detailed description of the gap */
92
- description: zod_1.z.string().min(1),
93
- /** Impact assessment */
94
- impact: zod_1.z.enum(['low', 'medium', 'high', 'critical']),
95
- /** Steps involved where gap was identified */
96
- affected_steps: zod_1.z.array(zod_1.z.string()).default([]),
97
- /** Evidence supporting gap identification */
98
- evidence: zod_1.z.array(zod_1.z.string()).default([]),
99
- });
100
- /**
101
- * Outcome Evaluation - assessment of decision outcomes
102
- */
103
- exports.OutcomeEvaluationSchema = zod_1.z.object({
104
- /** Original decision event being evaluated */
105
- decision_ref: zod_1.z.string().uuid(),
106
- /** Agent that produced the decision */
107
- agent_id: zod_1.z.string().min(1),
108
- /** Decision type being evaluated */
109
- decision_type: zod_1.z.string().min(1),
110
- /** Overall outcome score (0.0 - 1.0) */
111
- outcome_score: zod_1.z.number().min(0).max(1),
112
- /** Assessment summary */
113
- summary: zod_1.z.string().min(1),
114
- /** Breakdown of outcome by dimension */
115
- dimensions: zod_1.z.array(zod_1.z.object({
116
- name: zod_1.z.string(),
117
- score: zod_1.z.number().min(0).max(1),
118
- notes: zod_1.z.string().optional(),
119
- })).default([]),
120
- /** Was the outcome as expected? */
121
- met_expectations: zod_1.z.boolean(),
122
- /** Deviation from expected outcome if any */
123
- deviation_notes: zod_1.z.string().optional(),
124
- });
125
- /**
126
- * Reflection Agent Input Schema
127
- */
128
- exports.ReflectionInputSchema = zod_1.z.object({
129
- /** DecisionEvents to analyze (1-100 events) */
130
- decision_events: zod_1.z.array(decision_event_1.DecisionEventSchema).min(1).max(100),
131
- /** Optional context about the analysis scope */
132
- context: zod_1.z.object({
133
- /** Focus areas for analysis */
134
- focus_areas: zod_1.z.array(zod_1.z.enum([
135
- 'quality',
136
- 'learning',
137
- 'gaps',
138
- 'outcomes',
139
- 'all',
140
- ])).default(['all']),
141
- /** Time range context */
142
- time_range: zod_1.z.object({
143
- from: zod_1.z.string().datetime().optional(),
144
- to: zod_1.z.string().datetime().optional(),
145
- }).optional(),
146
- /** Specific agents to focus on */
147
- target_agents: zod_1.z.array(zod_1.z.string()).optional(),
148
- /** Prior reflections to build upon */
149
- prior_reflection_refs: zod_1.z.array(zod_1.z.string().uuid()).optional(),
150
- /** Domain-specific context */
151
- domain_context: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
152
- }).optional(),
153
- /** Analysis preferences */
154
- preferences: zod_1.z.object({
155
- /** Minimum confidence threshold for signals (0.0 - 1.0) */
156
- min_confidence: zod_1.z.number().min(0).max(1).default(0.5),
157
- /** Maximum number of signals to return per category */
158
- max_signals_per_category: zod_1.z.number().int().positive().max(50).default(10),
159
- /** Include detailed evidence */
160
- include_evidence: zod_1.z.boolean().default(true),
161
- /** Generate cross-event correlations */
162
- correlate_events: zod_1.z.boolean().default(true),
163
- }).optional(),
164
- /** Request ID for tracing */
165
- request_id: zod_1.z.string().uuid().optional(),
166
- /** Optional pipeline context for multi-agent orchestration */
167
- pipeline_context: pipeline_schemas_1.PipelineContextSchema.optional(),
168
- });
169
- /**
170
- * Reflection Agent Output Schema
171
- */
172
- exports.ReflectionOutputSchema = zod_1.z.object({
173
- /** Unique reflection identifier */
174
- reflection_id: zod_1.z.string().uuid(),
175
- /** Number of events analyzed */
176
- events_analyzed: zod_1.z.number().int().nonnegative(),
177
- /** Agents covered in analysis */
178
- agents_analyzed: zod_1.z.array(zod_1.z.string()),
179
- /** Time range of analyzed events */
180
- analysis_time_range: zod_1.z.object({
181
- earliest: zod_1.z.string().datetime(),
182
- latest: zod_1.z.string().datetime(),
183
- }),
184
- /** Outcome evaluations for each analyzed event */
185
- outcome_evaluations: zod_1.z.array(exports.OutcomeEvaluationSchema),
186
- /** Extracted quality signals */
187
- quality_signals: zod_1.z.array(exports.QualitySignalSchema),
188
- /** Extracted learning signals */
189
- learning_signals: zod_1.z.array(exports.LearningSignalSchema),
190
- /** Identified gaps */
191
- gap_analysis: zod_1.z.array(exports.GapAnalysisSchema),
192
- /** Cross-event correlations found */
193
- correlations: zod_1.z.array(zod_1.z.object({
194
- /** Correlation identifier */
195
- correlation_id: zod_1.z.string(),
196
- /** Type of correlation */
197
- type: zod_1.z.enum(['causal', 'temporal', 'similarity', 'dependency']),
198
- /** Events involved */
199
- event_refs: zod_1.z.array(zod_1.z.string().uuid()),
200
- /** Description of the correlation */
201
- description: zod_1.z.string(),
202
- /** Correlation strength (0.0 - 1.0) */
203
- strength: zod_1.z.number().min(0).max(1),
204
- })).default([]),
205
- /** Summary statistics */
206
- summary: zod_1.z.object({
207
- /** Overall quality score across all events (0.0 - 1.0) */
208
- overall_quality_score: zod_1.z.number().min(0).max(1),
209
- /** Total quality signals extracted */
210
- total_quality_signals: zod_1.z.number().int().nonnegative(),
211
- /** Total learning signals extracted */
212
- total_learning_signals: zod_1.z.number().int().nonnegative(),
213
- /** Total gaps identified */
214
- total_gaps: zod_1.z.number().int().nonnegative(),
215
- /** Events meeting expectations percentage */
216
- expectations_met_rate: zod_1.z.number().min(0).max(1),
217
- /** Key findings (informational summaries) */
218
- key_findings: zod_1.z.array(zod_1.z.string()),
219
- /** Improvement suggestions (informational only - NOT actionable by this agent) */
220
- improvement_suggestions: zod_1.z.array(zod_1.z.string()),
221
- }),
222
- /** Reflection metadata */
223
- version: zod_1.z.string().default('1.0.0'),
224
- });
225
- //# sourceMappingURL=reflection-schemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reflection-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/reflection-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,6BAAwB;AACxB,yDAA2D;AAC3D,qDAAuD;AAEvD;;GAEG;AACU,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,wCAAwC;IACxC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAE5B,6BAA6B;IAC7B,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC;QACX,aAAa,EAAM,+BAA+B;QAClD,UAAU,EAAS,8BAA8B;QACjD,cAAc,EAAK,gCAAgC;QACnD,aAAa,EAAM,mCAAmC;QACtD,YAAY,EAAO,6BAA6B;QAChD,aAAa,EAAM,+BAA+B;KACnD,CAAC;IAEF,gDAAgD;IAChD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,C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AC;IAEF,0BAA0B;IAC1B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;CACrC,CAAC,CAAC"}
@@ -1,120 +0,0 @@
1
- /**
2
- * Decomposer Agent
3
- *
4
- * Purpose: Decompose complex objectives into manageable sub-objectives
5
- * and produce structured pipeline execution plans.
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
- * - Produce a pipeline spec (DAG) routing to agents across the 27-domain registry
14
- *
15
- * CONSTITUTION COMPLIANCE:
16
- * ✓ Stateless at runtime
17
- * ✓ Emits exactly ONE DecisionEvent per invocation
18
- * ✓ Persists ONLY via ruvector-service
19
- * ✓ NEVER connects directly to databases
20
- * ✓ NEVER executes SQL
21
- * ✓ NEVER modifies runtime behavior
22
- * ✓ NEVER orchestrates other agents
23
- * ✓ NEVER enforces policy
24
- * ✓ NEVER intercepts execution paths
25
- *
26
- * Must Never:
27
- * - Execute sub-objectives
28
- * - Assign agents
29
- * - Allocate resources
30
- * - Schedule execution
31
- */
32
- import { BaseAgent, AgentMetadata, AgentResult, DecomposerInput, DecomposerOutput } from '../contracts';
33
- import { RuvectorPersistence } from '../planner/ruvector-persistence';
34
- import { Telemetry } from '../planner/telemetry';
35
- /**
36
- * Decomposer Agent Implementation
37
- *
38
- * This agent analyzes complex objectives and produces:
39
- * 1. Structured sub-objectives (legacy output, always produced)
40
- * 2. A pipeline_spec — a DAG of steps routed across the 27-domain registry
41
- *
42
- * It is purely analytical - it NEVER executes, assigns, or schedules anything.
43
- */
44
- export declare class DecomposerAgent implements BaseAgent<DecomposerInput, DecomposerOutput> {
45
- readonly metadata: AgentMetadata;
46
- private readonly persistence;
47
- private readonly telemetry;
48
- constructor(persistence: RuvectorPersistence, telemetry: Telemetry);
49
- /**
50
- * Validate input against DecomposerInputSchema
51
- */
52
- validateInput(input: unknown): DecomposerInput;
53
- /**
54
- * Invoke the decomposer agent
55
- *
56
- * DETERMINISTIC: Same input always produces same output structure
57
- * STATELESS: No internal state modified
58
- * NON-BLOCKING: Fully async
59
- */
60
- invoke(input: DecomposerInput, executionRef: string): Promise<AgentResult>;
61
- /**
62
- * Build a structured pipeline spec (DAG) from the objective.
63
- *
64
- * Analyses the query text to select domains and agents from the
65
- * 27-domain registry. Produces an ordered list of steps where
66
- * `input_from` expresses data-flow dependencies.
67
- */
68
- private buildPipelineSpec;
69
- /**
70
- * Decompose objective into sub-objectives
71
- *
72
- * This is the core decomposition logic - purely analytical.
73
- * NEVER executes, assigns agents, or schedules anything.
74
- */
75
- private decompose;
76
- /**
77
- * Extract sub-objectives from the objective using pattern-based analysis
78
- */
79
- private extractSubObjectives;
80
- /**
81
- * Build tree structure (parent -> children) from sub-objectives
82
- */
83
- private buildTreeStructure;
84
- /**
85
- * Build dependency graph as adjacency list
86
- */
87
- private buildDependencyGraph;
88
- /**
89
- * Calculate complexity distribution
90
- */
91
- private calculateComplexityDistribution;
92
- /**
93
- * Assess how well the sub-objectives cover the original objective
94
- */
95
- private assessCoverage;
96
- /**
97
- * Summarize objective for output
98
- */
99
- private summarize;
100
- /**
101
- * Extract assumptions made during decomposition
102
- */
103
- private extractAssumptions;
104
- /**
105
- * Calculate confidence score based on decomposition quality
106
- */
107
- private calculateConfidence;
108
- /**
109
- * Get constraints applied during decomposition
110
- */
111
- private getAppliedConstraints;
112
- /**
113
- * Classify error for proper error code
114
- */
115
- private classifyError;
116
- /**
117
- * Helper: Check if text contains any of the keywords
118
- */
119
- private containsAny;
120
- }