@llm-dev-ops/agentics-cli 1.4.58 → 1.4.68

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 (451) hide show
  1. package/README.md +1 -1
  2. package/dist/commands/agents.d.ts.map +1 -1
  3. package/dist/commands/agents.js +227 -19
  4. package/dist/commands/agents.js.map +1 -1
  5. package/dist/pipeline/auto-chain.d.ts +1 -0
  6. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  7. package/dist/pipeline/auto-chain.js +124 -37
  8. package/dist/pipeline/auto-chain.js.map +1 -1
  9. package/dist/pipeline/execution-context.d.ts.map +1 -1
  10. package/dist/pipeline/execution-context.js +12 -37
  11. package/dist/pipeline/execution-context.js.map +1 -1
  12. package/dist/pipeline/phase2/phases/adr-generator.d.ts.map +1 -1
  13. package/dist/pipeline/phase2/phases/adr-generator.js +160 -1
  14. package/dist/pipeline/phase2/phases/adr-generator.js.map +1 -1
  15. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  16. package/dist/pipeline/phase2/phases/ddd-generator.js +400 -3
  17. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  18. package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts +43 -0
  19. package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts.map +1 -0
  20. package/dist/pipeline/phase2/phases/ddd-quality-gate.js +413 -0
  21. package/dist/pipeline/phase2/phases/ddd-quality-gate.js.map +1 -0
  22. package/dist/pipeline/phase2/phases/research-dossier.d.ts +0 -13
  23. package/dist/pipeline/phase2/phases/research-dossier.d.ts.map +1 -1
  24. package/dist/pipeline/phase2/phases/research-dossier.js +114 -1
  25. package/dist/pipeline/phase2/phases/research-dossier.js.map +1 -1
  26. package/dist/pipeline/phase2/phases/research-quality-gate.d.ts +48 -0
  27. package/dist/pipeline/phase2/phases/research-quality-gate.d.ts.map +1 -0
  28. package/dist/pipeline/phase2/phases/research-quality-gate.js +322 -0
  29. package/dist/pipeline/phase2/phases/research-quality-gate.js.map +1 -0
  30. package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts +41 -0
  31. package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts.map +1 -0
  32. package/dist/pipeline/phase2/phases/sparc-quality-gate.js +350 -0
  33. package/dist/pipeline/phase2/phases/sparc-quality-gate.js.map +1 -0
  34. package/dist/pipeline/phase2/phases/sparc-specification.d.ts +14 -0
  35. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  36. package/dist/pipeline/phase2/phases/sparc-specification.js +500 -10
  37. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  38. package/dist/pipeline/phase2/phases/tdd-plan-generator.js +1 -1
  39. package/dist/pipeline/phase2/phases/tdd-plan-generator.js.map +1 -1
  40. package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts +72 -0
  41. package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts.map +1 -0
  42. package/dist/pipeline/phase2/phases/tech-stack-detector.js +332 -0
  43. package/dist/pipeline/phase2/phases/tech-stack-detector.js.map +1 -0
  44. package/dist/pipeline/phase2/types.d.ts +2 -0
  45. package/dist/pipeline/phase2/types.d.ts.map +1 -1
  46. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  47. package/dist/pipeline/phase3/phases/domain-codegen.js +169 -4
  48. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  49. package/dist/pipeline/phase3/phases/test-generator.d.ts.map +1 -1
  50. package/dist/pipeline/phase3/phases/test-generator.js +12 -2
  51. package/dist/pipeline/phase3/phases/test-generator.js.map +1 -1
  52. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.d.ts.map +1 -1
  53. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js +99 -1
  54. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js.map +1 -1
  55. package/dist/pipeline/phase4/phases/deployment-generator.d.ts +17 -4
  56. package/dist/pipeline/phase4/phases/deployment-generator.d.ts.map +1 -1
  57. package/dist/pipeline/phase4/phases/deployment-generator.js +364 -44
  58. package/dist/pipeline/phase4/phases/deployment-generator.js.map +1 -1
  59. package/dist/pipeline/phase4/phases/erp-client-generator.d.ts.map +1 -1
  60. package/dist/pipeline/phase4/phases/erp-client-generator.js +27 -15
  61. package/dist/pipeline/phase4/phases/erp-client-generator.js.map +1 -1
  62. package/dist/pipeline/phase4/phases/erp-target-resolver.d.ts.map +1 -1
  63. package/dist/pipeline/phase4/phases/erp-target-resolver.js +49 -2
  64. package/dist/pipeline/phase4/phases/erp-target-resolver.js.map +1 -1
  65. package/dist/pipeline/phase4/phases/http-server-generator.d.ts.map +1 -1
  66. package/dist/pipeline/phase4/phases/http-server-generator.js +263 -3
  67. package/dist/pipeline/phase4/phases/http-server-generator.js.map +1 -1
  68. package/dist/pipeline/phase4/phases/infra-adapter-generator.d.ts.map +1 -1
  69. package/dist/pipeline/phase4/phases/infra-adapter-generator.js +335 -37
  70. package/dist/pipeline/phase4/phases/infra-adapter-generator.js.map +1 -1
  71. package/dist/pipeline/phase4/types.d.ts +3 -1
  72. package/dist/pipeline/phase4/types.d.ts.map +1 -1
  73. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.d.ts.map +1 -1
  74. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js +211 -2
  75. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js.map +1 -1
  76. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts +54 -0
  77. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts.map +1 -0
  78. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js +417 -0
  79. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js.map +1 -0
  80. package/dist/pipeline/phases/prompt-generator.js +1 -1
  81. package/dist/pipeline/phases/prompt-generator.js.map +1 -1
  82. package/dist/pipeline/ruflo-phase-executor.d.ts +116 -1
  83. package/dist/pipeline/ruflo-phase-executor.d.ts.map +1 -1
  84. package/dist/pipeline/ruflo-phase-executor.js +666 -159
  85. package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
  86. package/dist/pipeline/swarm-orchestrator.d.ts.map +1 -1
  87. package/dist/pipeline/swarm-orchestrator.js +62 -6
  88. package/dist/pipeline/swarm-orchestrator.js.map +1 -1
  89. package/dist/routing/capability-classifier.d.ts +43 -0
  90. package/dist/routing/capability-classifier.d.ts.map +1 -0
  91. package/dist/routing/capability-classifier.js +157 -0
  92. package/dist/routing/capability-classifier.js.map +1 -0
  93. package/dist/routing/composition-engine.d.ts +77 -0
  94. package/dist/routing/composition-engine.d.ts.map +1 -0
  95. package/dist/routing/composition-engine.js +249 -0
  96. package/dist/routing/composition-engine.js.map +1 -0
  97. package/dist/routing/graph-federation.d.ts +71 -0
  98. package/dist/routing/graph-federation.d.ts.map +1 -0
  99. package/dist/routing/graph-federation.js +210 -0
  100. package/dist/routing/graph-federation.js.map +1 -0
  101. package/dist/routing/graph-loader.d.ts +74 -0
  102. package/dist/routing/graph-loader.d.ts.map +1 -0
  103. package/dist/routing/graph-loader.js +383 -0
  104. package/dist/routing/graph-loader.js.map +1 -0
  105. package/dist/routing/graph-router.d.ts +103 -0
  106. package/dist/routing/graph-router.d.ts.map +1 -0
  107. package/dist/routing/graph-router.js +415 -0
  108. package/dist/routing/graph-router.js.map +1 -0
  109. package/dist/routing/graph-validator.d.ts +44 -0
  110. package/dist/routing/graph-validator.d.ts.map +1 -0
  111. package/dist/routing/graph-validator.js +329 -0
  112. package/dist/routing/graph-validator.js.map +1 -0
  113. package/dist/routing/index.d.ts +52 -0
  114. package/dist/routing/index.d.ts.map +1 -0
  115. package/dist/routing/index.js +68 -0
  116. package/dist/routing/index.js.map +1 -0
  117. package/dist/routing/outcome-recorder.d.ts +71 -0
  118. package/dist/routing/outcome-recorder.d.ts.map +1 -0
  119. package/dist/routing/outcome-recorder.js +133 -0
  120. package/dist/routing/outcome-recorder.js.map +1 -0
  121. package/dist/routing/weight-adjuster.d.ts +59 -0
  122. package/dist/routing/weight-adjuster.d.ts.map +1 -0
  123. package/dist/routing/weight-adjuster.js +167 -0
  124. package/dist/routing/weight-adjuster.js.map +1 -0
  125. package/dist/routing/weighted-resolver.d.ts +55 -0
  126. package/dist/routing/weighted-resolver.d.ts.map +1 -0
  127. package/dist/routing/weighted-resolver.js +133 -0
  128. package/dist/routing/weighted-resolver.js.map +1 -0
  129. package/dist/synthesis/ask-artifact-writer.d.ts.map +1 -1
  130. package/dist/synthesis/ask-artifact-writer.js +8 -0
  131. package/dist/synthesis/ask-artifact-writer.js.map +1 -1
  132. package/dist/synthesis/simulation-artifact-generator.d.ts +14 -0
  133. package/dist/synthesis/simulation-artifact-generator.d.ts.map +1 -1
  134. package/dist/synthesis/simulation-artifact-generator.js +224 -1
  135. package/dist/synthesis/simulation-artifact-generator.js.map +1 -1
  136. package/dist/synthesis/simulation-renderers.d.ts.map +1 -1
  137. package/dist/synthesis/simulation-renderers.js +211 -40
  138. package/dist/synthesis/simulation-renderers.js.map +1 -1
  139. package/package.json +1 -1
  140. package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
  141. package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
  142. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
  143. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
  144. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
  145. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
  146. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
  147. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
  148. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
  149. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
  150. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
  151. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
  152. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
  153. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
  154. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
  155. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
  156. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
  157. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
  158. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
  159. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
  160. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  161. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
  162. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
  163. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
  164. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
  165. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
  166. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  167. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
  168. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  169. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
  170. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
  171. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
  172. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
  173. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
  174. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
  175. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
  176. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
  177. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
  178. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
  179. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
  180. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
  181. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
  182. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
  183. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
  184. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
  185. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
  186. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
  187. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  188. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
  189. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
  190. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
  191. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
  192. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  193. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
  194. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
  195. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  196. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
  197. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
  198. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  199. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
  200. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
  201. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
  202. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
  203. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
  204. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
  205. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
  206. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
  207. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
  208. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
  209. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
  210. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
  211. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
  212. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
  213. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
  214. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
  215. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
  216. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
  217. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  218. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  219. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  220. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
  221. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
  222. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
  223. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  224. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  225. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  226. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  227. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
  228. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
  229. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
  230. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
  231. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
  232. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  233. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  234. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  235. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  236. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  237. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  238. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  239. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
  240. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
  241. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
  242. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
  243. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
  244. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
  245. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
  246. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
  247. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
  248. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
  249. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
  250. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
  251. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
  252. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
  253. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
  254. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
  255. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
  256. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
  257. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
  258. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
  259. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  260. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
  261. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
  262. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
  263. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
  264. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
  265. package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
  266. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
  267. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
  268. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
  269. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
  270. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
  271. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
  272. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
  273. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
  274. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
  275. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
  276. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
  277. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
  278. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
  279. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
  280. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
  281. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
  282. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  283. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
  284. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
  285. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
  286. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
  287. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
  288. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  289. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
  290. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  291. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
  292. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
  293. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
  294. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
  295. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
  296. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
  297. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
  298. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
  299. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
  300. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
  301. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
  302. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
  303. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
  304. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
  305. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
  306. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
  307. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
  308. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
  309. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  310. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
  311. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
  312. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
  313. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
  314. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  315. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
  316. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
  317. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  318. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
  319. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
  320. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  321. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
  322. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
  323. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
  324. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
  325. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
  326. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
  327. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
  328. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
  329. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
  330. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
  331. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
  332. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
  333. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
  334. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
  335. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
  336. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  337. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  338. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  339. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
  340. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
  341. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
  342. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  343. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  344. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  345. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  346. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
  347. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
  348. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
  349. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
  350. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
  351. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  352. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  353. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  354. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  355. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  356. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  357. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  358. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
  359. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
  360. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
  361. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
  362. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
  363. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
  364. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
  365. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
  366. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
  367. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
  368. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
  369. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
  370. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
  371. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
  372. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
  373. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
  374. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
  375. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
  376. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
  377. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
  378. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  379. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
  380. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
  381. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
  382. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
  383. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
  384. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
  385. package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
  386. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
  387. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
  388. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
  389. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
  390. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
  391. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
  392. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
  393. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
  394. package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
  395. package/dist/bundled-agents/copilot-agents/package.json +0 -5
  396. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
  397. package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
  398. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
  399. package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
  400. package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
  401. package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
  402. package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
  403. package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
  404. package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
  405. package/dist/bundled-agents/platform-agents/package.json +0 -22
  406. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
  407. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
  408. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
  409. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
  410. package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
  411. package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
  412. package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
  413. package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
  414. package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
  415. package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
  416. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
  417. package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
  418. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
  419. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
  420. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
  421. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
  422. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
  423. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
  424. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
  425. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
  426. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
  427. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
  428. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
  429. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
  430. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
  431. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
  432. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
  433. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
  434. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
  435. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
  436. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
  437. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
  438. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
  439. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
  440. package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
  441. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
  442. package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
  443. package/dist/bundled-agents/sentinel-agents/package.json +0 -62
  444. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
  445. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
  446. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
  447. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
  448. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
  449. package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
  450. package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
  451. package/dist/bundled-agents/sentinel-agents/tsconfig.json +0 -20
@@ -1,609 +0,0 @@
1
- "use strict";
2
- /**
3
- * Intent Classifier Agent
4
- *
5
- * Purpose: Classify user or system intent to guide downstream reasoning
6
- * Classification: INTENT_ANALYSIS
7
- * decision_type: intent_classification
8
- *
9
- * Scope:
10
- * - Classify intent type
11
- * - Detect multi-intent states
12
- * - Assign confidence scores
13
- *
14
- * CONSTITUTION COMPLIANCE:
15
- * ✓ Stateless at runtime
16
- * ✓ Emits exactly ONE DecisionEvent per invocation
17
- * ✓ Persists ONLY via ruvector-service
18
- * ✓ NEVER connects directly to databases
19
- * ✓ NEVER executes SQL
20
- * ✓ NEVER modifies runtime behavior
21
- * ✓ NEVER orchestrates other agents
22
- * ✓ NEVER enforces policy
23
- * ✓ NEVER intercepts execution paths
24
- *
25
- * Must Never:
26
- * - Trigger workflows
27
- * - Route execution
28
- * - Enforce policy
29
- */
30
- Object.defineProperty(exports, "__esModule", { value: true });
31
- exports.IntentClassifierAgent = void 0;
32
- const uuid_1 = require("uuid");
33
- const contracts_1 = require("../contracts");
34
- const intent_classifier_schemas_1 = require("../contracts/intent-classifier-schemas");
35
- const AGENT_ID = 'intent-classifier-agent';
36
- const AGENT_VERSION = '1.0.0';
37
- const DECISION_TYPE = 'intent_classification';
38
- const INTENT_PATTERNS = [
39
- // Information seeking
40
- {
41
- intent: intent_classifier_schemas_1.IntentType.QUERY,
42
- keywords: ['what', 'who', 'where', 'when', 'how', 'why', 'which', 'show', 'tell', 'get'],
43
- phrases: ['i want to know', 'can you tell', 'what is', 'what are', 'how does', 'how do'],
44
- weight: 0.8,
45
- },
46
- {
47
- intent: intent_classifier_schemas_1.IntentType.SEARCH,
48
- keywords: ['find', 'search', 'look', 'locate', 'discover'],
49
- phrases: ['search for', 'find me', 'looking for', 'where can i find'],
50
- weight: 0.85,
51
- },
52
- {
53
- intent: intent_classifier_schemas_1.IntentType.EXPLAIN,
54
- keywords: ['explain', 'describe', 'elaborate', 'clarify'],
55
- phrases: ['explain how', 'explain why', 'tell me about', 'can you explain'],
56
- weight: 0.85,
57
- },
58
- // Action requests
59
- {
60
- intent: intent_classifier_schemas_1.IntentType.CREATE,
61
- keywords: ['create', 'make', 'build', 'generate', 'add', 'new', 'write'],
62
- phrases: ['create a', 'make a', 'build a', 'add a', 'generate a', 'write a'],
63
- weight: 0.9,
64
- },
65
- {
66
- intent: intent_classifier_schemas_1.IntentType.UPDATE,
67
- keywords: ['update', 'modify', 'change', 'edit', 'alter', 'revise', 'fix'],
68
- phrases: ['update the', 'change the', 'modify the', 'edit the', 'fix the'],
69
- weight: 0.9,
70
- },
71
- {
72
- intent: intent_classifier_schemas_1.IntentType.DELETE,
73
- keywords: ['delete', 'remove', 'destroy', 'drop', 'clear', 'erase'],
74
- phrases: ['delete the', 'remove the', 'get rid of', 'clear the'],
75
- weight: 0.9,
76
- },
77
- {
78
- intent: intent_classifier_schemas_1.IntentType.EXECUTE,
79
- keywords: ['run', 'execute', 'start', 'launch', 'trigger', 'invoke', 'call'],
80
- phrases: ['run the', 'execute the', 'start the', 'launch the'],
81
- weight: 0.85,
82
- },
83
- // Navigation/Flow
84
- {
85
- intent: intent_classifier_schemas_1.IntentType.NAVIGATE,
86
- keywords: ['go', 'navigate', 'open', 'show', 'display', 'view'],
87
- phrases: ['go to', 'take me to', 'navigate to', 'open the', 'show me'],
88
- weight: 0.8,
89
- },
90
- {
91
- intent: intent_classifier_schemas_1.IntentType.CANCEL,
92
- keywords: ['cancel', 'abort', 'stop', 'quit', 'exit', 'nevermind'],
93
- phrases: ['cancel that', 'stop that', 'never mind', 'forget it'],
94
- weight: 0.95,
95
- },
96
- {
97
- intent: intent_classifier_schemas_1.IntentType.CONFIRM,
98
- keywords: ['yes', 'confirm', 'okay', 'ok', 'sure', 'proceed', 'correct', 'right'],
99
- phrases: ['yes please', 'that is correct', 'go ahead', 'sounds good'],
100
- weight: 0.9,
101
- },
102
- {
103
- intent: intent_classifier_schemas_1.IntentType.UNDO,
104
- keywords: ['undo', 'revert', 'rollback', 'restore'],
105
- phrases: ['undo that', 'take that back', 'revert to', 'go back to'],
106
- weight: 0.95,
107
- },
108
- // Conversational
109
- {
110
- intent: intent_classifier_schemas_1.IntentType.GREETING,
111
- keywords: ['hello', 'hi', 'hey', 'greetings', 'morning', 'afternoon', 'evening'],
112
- phrases: ['good morning', 'good afternoon', 'good evening', 'how are you'],
113
- weight: 0.9,
114
- },
115
- {
116
- intent: intent_classifier_schemas_1.IntentType.FAREWELL,
117
- keywords: ['bye', 'goodbye', 'farewell', 'later', 'exit'],
118
- phrases: ['see you', 'talk later', 'have a good', 'take care'],
119
- weight: 0.9,
120
- },
121
- {
122
- intent: intent_classifier_schemas_1.IntentType.FEEDBACK,
123
- keywords: ['feedback', 'suggest', 'recommend', 'opinion', 'think'],
124
- phrases: ['i think', 'in my opinion', 'i suggest', 'i recommend'],
125
- weight: 0.75,
126
- },
127
- {
128
- intent: intent_classifier_schemas_1.IntentType.HELP,
129
- keywords: ['help', 'assist', 'support', 'guide', 'stuck'],
130
- phrases: ['help me', 'i need help', 'can you help', 'how do i', 'i am stuck'],
131
- weight: 0.9,
132
- },
133
- // System
134
- {
135
- intent: intent_classifier_schemas_1.IntentType.CONFIGURE,
136
- keywords: ['configure', 'setup', 'setting', 'preference', 'option', 'config'],
137
- phrases: ['set up', 'configure the', 'change setting', 'update preference'],
138
- weight: 0.85,
139
- },
140
- {
141
- intent: intent_classifier_schemas_1.IntentType.AUTHENTICATE,
142
- keywords: ['login', 'signin', 'authenticate', 'logon'],
143
- phrases: ['log in', 'sign in', 'log me in'],
144
- weight: 0.95,
145
- },
146
- {
147
- intent: intent_classifier_schemas_1.IntentType.AUTHORIZE,
148
- keywords: ['permission', 'authorize', 'access', 'allow', 'grant'],
149
- phrases: ['grant access', 'give permission', 'allow me to'],
150
- weight: 0.85,
151
- },
152
- ];
153
- /**
154
- * Intent Classifier Agent Implementation
155
- *
156
- * This agent analyzes text and classifies user/system intent.
157
- * It is purely analytical - it NEVER executes, routes, or enforces anything.
158
- */
159
- class IntentClassifierAgent {
160
- metadata = {
161
- id: AGENT_ID,
162
- name: 'Intent Classifier Agent',
163
- version: AGENT_VERSION,
164
- classifications: [contracts_1.AgentClassification.INTENT_ANALYSIS],
165
- decision_type: DECISION_TYPE,
166
- description: 'Classifies user or system intent to guide downstream reasoning. Detects multi-intent states and assigns confidence scores.',
167
- };
168
- persistence;
169
- telemetry;
170
- constructor(persistence, telemetry) {
171
- this.persistence = persistence;
172
- this.telemetry = telemetry;
173
- }
174
- /**
175
- * Validate input against IntentClassifierInputSchema
176
- */
177
- validateInput(input) {
178
- return intent_classifier_schemas_1.IntentClassifierInputSchema.parse(input);
179
- }
180
- /**
181
- * Invoke the intent classifier agent
182
- *
183
- * DETERMINISTIC: Same input always produces same output structure
184
- * STATELESS: No internal state modified
185
- * NON-BLOCKING: Fully async
186
- */
187
- async invoke(input, executionRef) {
188
- const startTime = Date.now();
189
- try {
190
- // Emit telemetry start
191
- this.telemetry.recordStart(AGENT_ID, executionRef, input);
192
- // Classify intent (pure analysis, no side effects)
193
- const output = this.classifyIntent(input);
194
- // Validate output
195
- const validatedOutput = intent_classifier_schemas_1.IntentClassifierOutputSchema.parse(output);
196
- // Calculate overall confidence
197
- const confidence = validatedOutput.overall_confidence;
198
- // Constraints applied during classification
199
- const constraintsApplied = this.getAppliedConstraints(input);
200
- // Create the DecisionEvent
201
- const event = (0, contracts_1.createDecisionEvent)(AGENT_ID, AGENT_VERSION, DECISION_TYPE, input, validatedOutput, confidence, constraintsApplied, executionRef);
202
- // Persist via ruvector-service (best-effort, non-blocking)
203
- let persistence_status;
204
- try {
205
- await this.persistence.store(event);
206
- persistence_status = { status: 'persisted' };
207
- }
208
- catch (persistError) {
209
- const persistMessage = persistError instanceof Error ? persistError.message : 'Unknown persistence error';
210
- console.error(`[${AGENT_ID}] RuVector persistence failed (non-blocking): ${persistMessage}`);
211
- persistence_status = { status: 'skipped', error: persistMessage };
212
- }
213
- // Emit telemetry success
214
- this.telemetry.recordSuccess(AGENT_ID, executionRef, Date.now() - startTime);
215
- return {
216
- status: 'success',
217
- event,
218
- persistence_status,
219
- };
220
- }
221
- catch (error) {
222
- const errorMessage = error instanceof Error ? error.message : 'Unknown error';
223
- const errorCode = this.classifyError(error);
224
- // Emit telemetry failure
225
- this.telemetry.recordFailure(AGENT_ID, executionRef, errorCode, errorMessage);
226
- return (0, contracts_1.createErrorResult)(errorCode, errorMessage, executionRef);
227
- }
228
- }
229
- /**
230
- * Classify intent from input text
231
- *
232
- * This is the core classification logic - purely analytical.
233
- * NEVER triggers workflows, routes execution, or enforces policy.
234
- */
235
- classifyIntent(input) {
236
- const classificationId = (0, uuid_1.v4)();
237
- const normalizedText = this.normalizeText(input.text);
238
- // Detect all potential intents with signals
239
- const detectedIntents = this.detectIntents(normalizedText, input);
240
- // Sort by confidence (descending)
241
- detectedIntents.sort((a, b) => b.confidence - a.confidence);
242
- // Apply hints filtering
243
- const filteredIntents = this.applyHints(detectedIntents, input.hints);
244
- // Determine primary and secondary intents
245
- const primaryIntent = filteredIntents[0] || this.createUnknownIntent(normalizedText);
246
- const secondaryIntents = filteredIntents.slice(1);
247
- // Analyze multi-intent state
248
- const multiIntentState = this.analyzeMultiIntentState(primaryIntent, secondaryIntents, normalizedText);
249
- // Detect ambiguity
250
- const ambiguity = this.detectAmbiguity(primaryIntent, secondaryIntents, normalizedText);
251
- // Count total signals
252
- const signalCount = [primaryIntent, ...secondaryIntents]
253
- .reduce((sum, intent) => sum + intent.signals.length, 0);
254
- // Calculate overall confidence
255
- const overallConfidence = this.calculateOverallConfidence(primaryIntent, secondaryIntents, ambiguity);
256
- return {
257
- classification_id: classificationId,
258
- original_text: input.text,
259
- normalized_text: normalizedText,
260
- primary_intent: primaryIntent,
261
- secondary_intents: secondaryIntents,
262
- multi_intent_state: multiIntentState,
263
- overall_confidence: overallConfidence,
264
- analysis: {
265
- intent_count: 1 + secondaryIntents.length,
266
- signal_count: signalCount,
267
- notes: this.generateNotes(primaryIntent, secondaryIntents, input),
268
- ambiguity,
269
- language: this.detectLanguage(input.text),
270
- },
271
- version: '1.0.0',
272
- };
273
- }
274
- /**
275
- * Normalize text for analysis
276
- */
277
- normalizeText(text) {
278
- return text
279
- .trim()
280
- .toLowerCase()
281
- .replace(/\s+/g, ' ')
282
- .replace(/[^\w\s\?\.\!\,\-\']/g, '');
283
- }
284
- /**
285
- * Detect all potential intents from normalized text
286
- */
287
- detectIntents(normalizedText, input) {
288
- const intents = [];
289
- const words = normalizedText.split(' ');
290
- for (const pattern of INTENT_PATTERNS) {
291
- const signals = [];
292
- let totalWeight = 0;
293
- // Check keywords
294
- for (const keyword of pattern.keywords) {
295
- const keywordLower = keyword.toLowerCase();
296
- let position = 0;
297
- let index = normalizedText.indexOf(keywordLower, position);
298
- while (index !== -1) {
299
- // Check if it's a word boundary match
300
- const beforeChar = index > 0 ? normalizedText[index - 1] : ' ';
301
- const afterChar = index + keywordLower.length < normalizedText.length
302
- ? normalizedText[index + keywordLower.length]
303
- : ' ';
304
- if ((beforeChar === ' ' || beforeChar === undefined) &&
305
- (afterChar === ' ' || afterChar === '?' || afterChar === '.' || afterChar === '!' || afterChar === undefined)) {
306
- signals.push({
307
- signal_type: 'keyword',
308
- matched_text: keyword,
309
- position: { start: index, end: index + keywordLower.length },
310
- weight: pattern.weight * 0.7,
311
- });
312
- totalWeight += pattern.weight * 0.7;
313
- }
314
- position = index + 1;
315
- index = normalizedText.indexOf(keywordLower, position);
316
- }
317
- }
318
- // Check phrases
319
- for (const phrase of pattern.phrases) {
320
- const phraseLower = phrase.toLowerCase();
321
- const index = normalizedText.indexOf(phraseLower);
322
- if (index !== -1) {
323
- signals.push({
324
- signal_type: 'phrase',
325
- matched_text: phrase,
326
- position: { start: index, end: index + phraseLower.length },
327
- weight: pattern.weight,
328
- });
329
- totalWeight += pattern.weight;
330
- }
331
- }
332
- if (signals.length > 0) {
333
- // Calculate confidence based on signals
334
- const confidence = Math.min(1.0, totalWeight / (signals.length * 0.8));
335
- // Extract target and action if possible
336
- const target = this.extractTarget(normalizedText, pattern.intent);
337
- const action = this.extractAction(normalizedText, pattern.intent);
338
- intents.push({
339
- intent_type: pattern.intent,
340
- confidence,
341
- signals,
342
- target,
343
- action,
344
- scope: this.extractScope(input),
345
- });
346
- }
347
- }
348
- return intents;
349
- }
350
- /**
351
- * Extract target from text based on intent
352
- */
353
- extractTarget(text, intent) {
354
- // Common patterns to extract targets
355
- const patterns = [
356
- /(?:the|a|an)\s+(\w+(?:\s+\w+)?)/i,
357
- /(?:create|update|delete|find|search)\s+(?:the|a|an)?\s*(\w+)/i,
358
- ];
359
- for (const pattern of patterns) {
360
- const match = text.match(pattern);
361
- if (match && match[1]) {
362
- return {
363
- type: 'entity',
364
- value: match[1],
365
- normalized: match[1].toLowerCase().trim(),
366
- };
367
- }
368
- }
369
- return undefined;
370
- }
371
- /**
372
- * Extract action from text based on intent
373
- */
374
- extractAction(text, intent) {
375
- const actionVerbs = ['create', 'update', 'delete', 'find', 'search', 'get', 'set', 'run', 'execute'];
376
- const words = text.split(' ');
377
- for (const word of words) {
378
- const verb = actionVerbs.find(v => word.startsWith(v));
379
- if (verb) {
380
- return {
381
- verb: word,
382
- normalized: verb,
383
- tense: word.endsWith('ing') ? 'present' : (word.endsWith('ed') ? 'past' : 'imperative'),
384
- };
385
- }
386
- }
387
- return undefined;
388
- }
389
- /**
390
- * Extract scope from input context
391
- */
392
- extractScope(input) {
393
- return {
394
- domain: input.context?.domain,
395
- subject: undefined,
396
- qualifiers: [],
397
- };
398
- }
399
- /**
400
- * Apply hints to filter intents
401
- */
402
- applyHints(intents, hints) {
403
- if (!hints)
404
- return intents;
405
- let filtered = intents;
406
- // Filter by expected intents (boost)
407
- if (hints.expected_intents?.length) {
408
- filtered = filtered.map(intent => {
409
- if (hints.expected_intents.includes(intent.intent_type)) {
410
- return { ...intent, confidence: Math.min(1.0, intent.confidence * 1.2) };
411
- }
412
- return intent;
413
- });
414
- }
415
- // Filter by excluded intents
416
- if (hints.excluded_intents?.length) {
417
- filtered = filtered.filter(intent => !hints.excluded_intents.includes(intent.intent_type));
418
- }
419
- // Filter by minimum confidence
420
- if (hints.min_confidence !== undefined) {
421
- filtered = filtered.filter(intent => intent.confidence >= hints.min_confidence);
422
- }
423
- // Limit number of intents
424
- if (hints.max_intents !== undefined) {
425
- filtered = filtered.slice(0, hints.max_intents);
426
- }
427
- return filtered;
428
- }
429
- /**
430
- * Create unknown intent fallback
431
- */
432
- createUnknownIntent(normalizedText) {
433
- return {
434
- intent_type: intent_classifier_schemas_1.IntentType.UNKNOWN,
435
- confidence: 0.1,
436
- signals: [{
437
- signal_type: 'context',
438
- matched_text: normalizedText.substring(0, 50),
439
- position: { start: 0, end: Math.min(50, normalizedText.length) },
440
- weight: 0.1,
441
- }],
442
- scope: { qualifiers: [] },
443
- };
444
- }
445
- /**
446
- * Analyze multi-intent state
447
- */
448
- analyzeMultiIntentState(primary, secondary, text) {
449
- const isMultiIntent = secondary.length > 0 && secondary[0].confidence > 0.5;
450
- if (!isMultiIntent) {
451
- return {
452
- is_multi_intent: false,
453
- relationship: 'none',
454
- };
455
- }
456
- // Detect relationship type
457
- const relationship = this.detectIntentRelationship(primary, secondary, text);
458
- return {
459
- is_multi_intent: true,
460
- relationship,
461
- sequence: relationship === 'sequential'
462
- ? [primary.intent_type, ...secondary.map(s => s.intent_type)]
463
- : undefined,
464
- };
465
- }
466
- /**
467
- * Detect relationship between intents
468
- */
469
- detectIntentRelationship(primary, secondary, text) {
470
- // Check for sequential indicators
471
- if (/\b(then|after|next|before)\b/i.test(text)) {
472
- return 'sequential';
473
- }
474
- // Check for conditional indicators
475
- if (/\b(if|when|unless|provided)\b/i.test(text)) {
476
- return 'conditional';
477
- }
478
- // Check for alternative indicators
479
- if (/\b(or|either|instead)\b/i.test(text)) {
480
- return 'alternative';
481
- }
482
- // Check for parallel indicators
483
- if (/\b(and|also|plus|as well)\b/i.test(text)) {
484
- return 'parallel';
485
- }
486
- // Default to parallel if multiple high-confidence intents
487
- return 'parallel';
488
- }
489
- /**
490
- * Detect ambiguity in classification
491
- */
492
- detectAmbiguity(primary, secondary, text) {
493
- // Check for close confidence scores
494
- const hasCloseConfidence = secondary.some(s => Math.abs(primary.confidence - s.confidence) < 0.15);
495
- // Check for ambiguous words
496
- const hasAmbiguousWords = /\b(maybe|perhaps|could|might|possibly)\b/i.test(text);
497
- // Check for questions that could be multiple types
498
- const isAmbiguousQuestion = text.includes('?') && primary.intent_type === intent_classifier_schemas_1.IntentType.QUERY;
499
- const isAmbiguous = hasCloseConfidence || hasAmbiguousWords;
500
- let ambiguityType = 'none';
501
- if (hasAmbiguousWords) {
502
- ambiguityType = 'lexical';
503
- }
504
- else if (hasCloseConfidence) {
505
- ambiguityType = 'structural';
506
- }
507
- else if (isAmbiguousQuestion) {
508
- ambiguityType = 'contextual';
509
- }
510
- return {
511
- is_ambiguous: isAmbiguous,
512
- ambiguity_type: ambiguityType,
513
- clarification_needed: isAmbiguous && primary.confidence < 0.7,
514
- suggested_clarification: isAmbiguous
515
- ? `Could you clarify if you want to ${primary.intent_type} or ${secondary[0]?.intent_type || 'something else'}?`
516
- : undefined,
517
- };
518
- }
519
- /**
520
- * Detect language of input
521
- */
522
- detectLanguage(text) {
523
- // Simple heuristic - in production would use proper language detection
524
- const englishWords = ['the', 'is', 'are', 'was', 'were', 'have', 'has', 'do', 'does', 'a', 'an'];
525
- const words = text.toLowerCase().split(/\s+/);
526
- const englishCount = words.filter(w => englishWords.includes(w)).length;
527
- if (englishCount > 0) {
528
- return {
529
- detected: 'en',
530
- confidence: Math.min(1.0, 0.5 + (englishCount / words.length)),
531
- };
532
- }
533
- return undefined;
534
- }
535
- /**
536
- * Generate analysis notes
537
- */
538
- generateNotes(primary, secondary, input) {
539
- const notes = [];
540
- if (primary.confidence > 0.9) {
541
- notes.push('High confidence classification');
542
- }
543
- else if (primary.confidence < 0.5) {
544
- notes.push('Low confidence - intent may require clarification');
545
- }
546
- if (secondary.length > 2) {
547
- notes.push('Multiple potential intents detected');
548
- }
549
- if (input.context?.previous_messages?.length) {
550
- notes.push('Classification includes conversation context');
551
- }
552
- return notes;
553
- }
554
- /**
555
- * Calculate overall confidence
556
- */
557
- calculateOverallConfidence(primary, secondary, ambiguity) {
558
- let confidence = primary.confidence;
559
- // Reduce confidence if ambiguous
560
- if (ambiguity.is_ambiguous) {
561
- confidence *= 0.85;
562
- }
563
- // Reduce confidence if many competing intents
564
- if (secondary.length > 3) {
565
- confidence *= 0.9;
566
- }
567
- // Boost if clear single intent
568
- if (secondary.length === 0 && primary.signals.length > 2) {
569
- confidence = Math.min(1.0, confidence * 1.1);
570
- }
571
- return Math.min(1.0, Math.max(0.0, confidence));
572
- }
573
- /**
574
- * Get constraints applied during classification
575
- */
576
- getAppliedConstraints(input) {
577
- const constraints = [
578
- 'read_only_analysis',
579
- 'no_workflow_triggering',
580
- 'no_execution_routing',
581
- 'no_policy_enforcement',
582
- 'deterministic_output',
583
- 'signal_routing_only',
584
- ];
585
- if (input.hints?.min_confidence !== undefined) {
586
- constraints.push(`min_confidence:${input.hints.min_confidence}`);
587
- }
588
- if (input.hints?.max_intents !== undefined) {
589
- constraints.push(`max_intents:${input.hints.max_intents}`);
590
- }
591
- return constraints;
592
- }
593
- /**
594
- * Classify error for proper error code
595
- */
596
- classifyError(error) {
597
- if (error instanceof Error) {
598
- if (error.name === 'ZodError') {
599
- return contracts_1.AgentErrorCodes.VALIDATION_FAILED;
600
- }
601
- if (error.message.includes('persistence') || error.message.includes('ruvector')) {
602
- return contracts_1.AgentErrorCodes.PERSISTENCE_ERROR;
603
- }
604
- }
605
- return contracts_1.AgentErrorCodes.PROCESSING_ERROR;
606
- }
607
- }
608
- exports.IntentClassifierAgent = IntentClassifierAgent;
609
- //# sourceMappingURL=intent-classifier-agent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"intent-classifier-agent.js","sourceRoot":"","sources":["../../../../../services/agents/intent-classifier/intent-classifier-agent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;;;AAEH,+BAAoC;AACpC,4CAQsB;AACtB,sFASgD;AAIhD,MAAM,QAAQ,GAAG,yBAAyB,CAAC;AAC3C,MAAM,aAAa,GAAG,OAAO,CAAC;AAC9B,MAAM,aAAa,GAAG,uBAAuB,CAAC;AAa9C,MAAM,eAAe,GAAoB;IACvC,sBAAsB;IACtB;QACE,MAAM,EAAE,sCAAU,CAAC,KAAK;QACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC;QACxF,OAAO,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC;QACxF,MAAM,EAAE,GAAG;KACZ;IACD;QACE,MAAM,EAAE,sCAAU,CAAC,MAAM;QACzB,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,CAAC;QAC1D,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,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AED,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACK,qBAAqB,CAAC,KAA4B;QACxD,MAAM,WAAW,GAAG;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,sBAAsB;YACtB,uBAAuB;YACvB,sBAAsB;YACtB,qBAAqB;SACtB,CAAC;QAEF,IAAI,KAAK,CAAC,KAAK,EAAE,cAAc,KAAK,SAAS,EAAE,CAAC;YAC9C,WAAW,CAAC,IAAI,CAAC,kBAAkB,KAAK,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC,CAAC;QACnE,CAAC;QAED,IAAI,KAAK,CAAC,KAAK,EAAE,WAAW,KAAK,SAAS,EAAE,CAAC;YAC3C,WAAW,CAAC,IAAI,CAAC,eAAe,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC;QAC7D,CAAC;QAED,OAAO,WAAW,CAAC;IACrB,CAAC;IAED;;OAEG;IACK,aAAa,CAAC,KAAc;QAClC,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;YAC3B,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;gBAC9B,OAAO,2BAAe,CAAC,iBAAiB,CAAC;YAC3C,CAAC;YACD,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;gBAChF,OAAO,2BAAe,CAAC,iBAAiB,CAAC;YAC3C,CAAC;QACH,CAAC;QACD,OAAO,2BAAe,CAAC,gBAAgB,CAAC;IAC1C,CAAC;CACF;AAljBD,sDAkjBC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Meta-Reasoner Agent Module Exports
3
- *
4
- * Purpose: Evaluate reasoning quality and consistency across agents
5
- * Classification: META_ANALYSIS, REASONING_QUALITY_ASSESSMENT
6
- * decision_type: meta_reasoning_analysis
7
- */
8
- export { MetaReasonerAgent } from './meta-reasoner-agent';
9
- export { createTelemetryFromEnv, Telemetry } from './telemetry';
10
- export { MetaReasonerInputSchema, MetaReasonerInput, MetaReasonerOutputSchema, MetaReasonerOutput, ReasoningTraceSchema, ReasoningTrace, ContradictionSchema, Contradiction, ConfidenceCalibrationSchema, ConfidenceCalibration, SystemicIssueSchema, SystemicIssue, ReasoningQualityMetricsSchema, ReasoningQualityMetrics, } from '../contracts';