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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. package/README.md +1 -1
  2. package/dist/commands/agents.d.ts.map +1 -1
  3. package/dist/commands/agents.js +167 -0
  4. package/dist/commands/agents.js.map +1 -1
  5. package/dist/pipeline/auto-chain.d.ts +1 -0
  6. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  7. package/dist/pipeline/auto-chain.js +124 -37
  8. package/dist/pipeline/auto-chain.js.map +1 -1
  9. package/dist/pipeline/execution-context.d.ts.map +1 -1
  10. package/dist/pipeline/execution-context.js +12 -37
  11. package/dist/pipeline/execution-context.js.map +1 -1
  12. package/dist/pipeline/phase2/phases/adr-generator.d.ts.map +1 -1
  13. package/dist/pipeline/phase2/phases/adr-generator.js +160 -1
  14. package/dist/pipeline/phase2/phases/adr-generator.js.map +1 -1
  15. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  16. package/dist/pipeline/phase2/phases/ddd-generator.js +400 -3
  17. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  18. package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts +43 -0
  19. package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts.map +1 -0
  20. package/dist/pipeline/phase2/phases/ddd-quality-gate.js +413 -0
  21. package/dist/pipeline/phase2/phases/ddd-quality-gate.js.map +1 -0
  22. package/dist/pipeline/phase2/phases/research-dossier.d.ts +0 -13
  23. package/dist/pipeline/phase2/phases/research-dossier.d.ts.map +1 -1
  24. package/dist/pipeline/phase2/phases/research-dossier.js +114 -1
  25. package/dist/pipeline/phase2/phases/research-dossier.js.map +1 -1
  26. package/dist/pipeline/phase2/phases/research-quality-gate.d.ts +48 -0
  27. package/dist/pipeline/phase2/phases/research-quality-gate.d.ts.map +1 -0
  28. package/dist/pipeline/phase2/phases/research-quality-gate.js +322 -0
  29. package/dist/pipeline/phase2/phases/research-quality-gate.js.map +1 -0
  30. package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts +41 -0
  31. package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts.map +1 -0
  32. package/dist/pipeline/phase2/phases/sparc-quality-gate.js +350 -0
  33. package/dist/pipeline/phase2/phases/sparc-quality-gate.js.map +1 -0
  34. package/dist/pipeline/phase2/phases/sparc-specification.d.ts +14 -0
  35. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  36. package/dist/pipeline/phase2/phases/sparc-specification.js +500 -10
  37. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  38. package/dist/pipeline/phase2/phases/tdd-plan-generator.js +1 -1
  39. package/dist/pipeline/phase2/phases/tdd-plan-generator.js.map +1 -1
  40. package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts +72 -0
  41. package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts.map +1 -0
  42. package/dist/pipeline/phase2/phases/tech-stack-detector.js +332 -0
  43. package/dist/pipeline/phase2/phases/tech-stack-detector.js.map +1 -0
  44. package/dist/pipeline/phase2/types.d.ts +2 -0
  45. package/dist/pipeline/phase2/types.d.ts.map +1 -1
  46. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  47. package/dist/pipeline/phase3/phases/domain-codegen.js +169 -4
  48. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  49. package/dist/pipeline/phase3/phases/test-generator.d.ts.map +1 -1
  50. package/dist/pipeline/phase3/phases/test-generator.js +12 -2
  51. package/dist/pipeline/phase3/phases/test-generator.js.map +1 -1
  52. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.d.ts.map +1 -1
  53. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js +99 -1
  54. package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js.map +1 -1
  55. package/dist/pipeline/phase4/phases/deployment-generator.d.ts +17 -4
  56. package/dist/pipeline/phase4/phases/deployment-generator.d.ts.map +1 -1
  57. package/dist/pipeline/phase4/phases/deployment-generator.js +364 -44
  58. package/dist/pipeline/phase4/phases/deployment-generator.js.map +1 -1
  59. package/dist/pipeline/phase4/phases/erp-client-generator.d.ts.map +1 -1
  60. package/dist/pipeline/phase4/phases/erp-client-generator.js +27 -15
  61. package/dist/pipeline/phase4/phases/erp-client-generator.js.map +1 -1
  62. package/dist/pipeline/phase4/phases/erp-target-resolver.d.ts.map +1 -1
  63. package/dist/pipeline/phase4/phases/erp-target-resolver.js +49 -2
  64. package/dist/pipeline/phase4/phases/erp-target-resolver.js.map +1 -1
  65. package/dist/pipeline/phase4/phases/http-server-generator.d.ts.map +1 -1
  66. package/dist/pipeline/phase4/phases/http-server-generator.js +263 -3
  67. package/dist/pipeline/phase4/phases/http-server-generator.js.map +1 -1
  68. package/dist/pipeline/phase4/phases/infra-adapter-generator.d.ts.map +1 -1
  69. package/dist/pipeline/phase4/phases/infra-adapter-generator.js +335 -37
  70. package/dist/pipeline/phase4/phases/infra-adapter-generator.js.map +1 -1
  71. package/dist/pipeline/phase4/types.d.ts +3 -1
  72. package/dist/pipeline/phase4/types.d.ts.map +1 -1
  73. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.d.ts.map +1 -1
  74. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js +211 -2
  75. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js.map +1 -1
  76. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts +54 -0
  77. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts.map +1 -0
  78. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js +417 -0
  79. package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js.map +1 -0
  80. package/dist/pipeline/phases/prompt-generator.js +1 -1
  81. package/dist/pipeline/phases/prompt-generator.js.map +1 -1
  82. package/dist/pipeline/ruflo-phase-executor.d.ts +116 -1
  83. package/dist/pipeline/ruflo-phase-executor.d.ts.map +1 -1
  84. package/dist/pipeline/ruflo-phase-executor.js +666 -159
  85. package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
  86. package/dist/pipeline/swarm-orchestrator.d.ts.map +1 -1
  87. package/dist/pipeline/swarm-orchestrator.js +62 -6
  88. package/dist/pipeline/swarm-orchestrator.js.map +1 -1
  89. package/dist/routing/capability-classifier.d.ts +43 -0
  90. package/dist/routing/capability-classifier.d.ts.map +1 -0
  91. package/dist/routing/capability-classifier.js +157 -0
  92. package/dist/routing/capability-classifier.js.map +1 -0
  93. package/dist/routing/composition-engine.d.ts +77 -0
  94. package/dist/routing/composition-engine.d.ts.map +1 -0
  95. package/dist/routing/composition-engine.js +249 -0
  96. package/dist/routing/composition-engine.js.map +1 -0
  97. package/dist/routing/graph-federation.d.ts +71 -0
  98. package/dist/routing/graph-federation.d.ts.map +1 -0
  99. package/dist/routing/graph-federation.js +210 -0
  100. package/dist/routing/graph-federation.js.map +1 -0
  101. package/dist/routing/graph-loader.d.ts +74 -0
  102. package/dist/routing/graph-loader.d.ts.map +1 -0
  103. package/dist/routing/graph-loader.js +383 -0
  104. package/dist/routing/graph-loader.js.map +1 -0
  105. package/dist/routing/graph-router.d.ts +103 -0
  106. package/dist/routing/graph-router.d.ts.map +1 -0
  107. package/dist/routing/graph-router.js +415 -0
  108. package/dist/routing/graph-router.js.map +1 -0
  109. package/dist/routing/graph-validator.d.ts +44 -0
  110. package/dist/routing/graph-validator.d.ts.map +1 -0
  111. package/dist/routing/graph-validator.js +329 -0
  112. package/dist/routing/graph-validator.js.map +1 -0
  113. package/dist/routing/index.d.ts +52 -0
  114. package/dist/routing/index.d.ts.map +1 -0
  115. package/dist/routing/index.js +68 -0
  116. package/dist/routing/index.js.map +1 -0
  117. package/dist/routing/outcome-recorder.d.ts +71 -0
  118. package/dist/routing/outcome-recorder.d.ts.map +1 -0
  119. package/dist/routing/outcome-recorder.js +133 -0
  120. package/dist/routing/outcome-recorder.js.map +1 -0
  121. package/dist/routing/weight-adjuster.d.ts +59 -0
  122. package/dist/routing/weight-adjuster.d.ts.map +1 -0
  123. package/dist/routing/weight-adjuster.js +167 -0
  124. package/dist/routing/weight-adjuster.js.map +1 -0
  125. package/dist/routing/weighted-resolver.d.ts +55 -0
  126. package/dist/routing/weighted-resolver.d.ts.map +1 -0
  127. package/dist/routing/weighted-resolver.js +133 -0
  128. package/dist/routing/weighted-resolver.js.map +1 -0
  129. package/dist/synthesis/ask-artifact-writer.d.ts.map +1 -1
  130. package/dist/synthesis/ask-artifact-writer.js +8 -0
  131. package/dist/synthesis/ask-artifact-writer.js.map +1 -1
  132. package/dist/synthesis/simulation-artifact-generator.d.ts +14 -0
  133. package/dist/synthesis/simulation-artifact-generator.d.ts.map +1 -1
  134. package/dist/synthesis/simulation-artifact-generator.js +224 -1
  135. package/dist/synthesis/simulation-artifact-generator.js.map +1 -1
  136. package/dist/synthesis/simulation-renderers.d.ts.map +1 -1
  137. package/dist/synthesis/simulation-renderers.js +211 -40
  138. package/dist/synthesis/simulation-renderers.js.map +1 -1
  139. package/package.json +3 -1
  140. package/scripts/postinstall.sh +25 -0
  141. package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
  142. package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
  143. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
  144. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
  145. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
  146. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
  147. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
  148. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
  149. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
  150. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
  151. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
  152. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
  153. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
  154. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
  155. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
  156. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
  157. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
  158. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
  159. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
  160. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
  161. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  162. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
  163. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
  164. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
  165. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
  166. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
  167. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  168. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
  169. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  170. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
  171. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
  172. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
  173. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
  174. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
  175. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
  176. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
  177. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
  178. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
  179. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
  180. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
  181. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
  182. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
  183. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
  184. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
  185. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
  186. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
  187. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
  188. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  189. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
  190. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
  191. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
  192. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
  193. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  194. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
  195. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
  196. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  197. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
  198. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
  199. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  200. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
  201. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
  202. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
  203. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
  204. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
  205. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
  206. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
  207. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
  208. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
  209. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
  210. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
  211. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
  212. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
  213. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
  214. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
  215. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
  216. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
  217. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
  218. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  219. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  220. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  221. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
  222. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
  223. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
  224. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  225. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  226. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  227. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  228. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
  229. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
  230. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
  231. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
  232. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
  233. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  234. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  235. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  236. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  237. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  238. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  239. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  240. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
  241. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
  242. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
  243. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
  244. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
  245. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
  246. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
  247. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
  248. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
  249. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
  250. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
  251. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
  252. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
  253. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
  254. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
  255. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
  256. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
  257. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
  258. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
  259. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
  260. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  261. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
  262. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
  263. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
  264. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
  265. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
  266. package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
  267. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
  268. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
  269. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
  270. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
  271. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
  272. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
  273. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
  274. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
  275. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
  276. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
  277. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
  278. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
  279. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
  280. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
  281. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
  282. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
  283. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
  284. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
  285. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
  286. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
  287. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
  288. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
  289. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
  290. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
  291. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
  292. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
  293. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
  294. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
  295. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
  296. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
  297. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
  298. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
  299. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
  300. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
  301. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
  302. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
  303. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
  304. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
  305. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
  306. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
  307. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
  308. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
  309. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
  310. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
  311. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
  312. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
  313. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
  314. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
  315. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
  316. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
  317. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
  318. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
  319. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
  320. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
  321. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
  322. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
  323. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
  324. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
  325. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
  326. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
  327. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
  328. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
  329. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
  330. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
  331. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
  332. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
  333. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
  334. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
  335. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
  336. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
  337. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
  338. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
  339. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
  340. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
  341. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
  342. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
  343. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
  344. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
  345. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
  346. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
  347. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
  348. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
  349. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
  350. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
  351. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
  352. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
  353. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
  354. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
  355. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
  356. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
  357. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
  358. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
  359. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
  360. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
  361. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
  362. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
  363. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
  364. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
  365. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
  366. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
  367. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
  368. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
  369. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
  370. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
  371. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
  372. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
  373. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
  374. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
  375. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
  376. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
  377. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
  378. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
  379. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
  380. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
  381. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
  382. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
  383. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
  384. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
  385. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
  386. package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
  387. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
  388. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
  389. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
  390. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
  391. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
  392. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
  393. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
  394. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
  395. package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
  396. package/dist/bundled-agents/copilot-agents/package.json +0 -5
  397. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
  398. package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
  399. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
  400. package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
  401. package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
  402. package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
  403. package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
  404. package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
  405. package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
  406. package/dist/bundled-agents/platform-agents/package.json +0 -22
  407. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
  408. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
  409. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
  410. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
  411. package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
  412. package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
  413. package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
  414. package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
  415. package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
  416. package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
  417. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
  418. package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
  419. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
  420. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
  421. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
  422. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
  423. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
  424. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
  425. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
  426. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
  427. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
  428. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
  429. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
  430. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
  431. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
  432. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
  433. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
  434. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
  435. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
  436. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
  437. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
  438. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
  439. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
  440. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
  441. package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
  442. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
  443. package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
  444. package/dist/bundled-agents/sentinel-agents/package.json +0 -62
  445. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
  446. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
  447. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
  448. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
  449. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
  450. package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
  451. package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
  452. package/dist/bundled-agents/sentinel-agents/tsconfig.json +0 -20
@@ -1,1000 +0,0 @@
1
- /**
2
- * Intent Classifier Agent Schemas
3
- *
4
- * Purpose: Classify user or system intent to guide downstream reasoning
5
- * Classification: INTENT_ANALYSIS
6
- * decision_type: intent_classification
7
- *
8
- * Scope:
9
- * - Classify intent type
10
- * - Detect multi-intent states
11
- * - Assign confidence scores
12
- *
13
- * Must Never:
14
- * - Trigger workflows
15
- * - Route execution
16
- * - Enforce policy
17
- */
18
- import { z } from 'zod';
19
- /**
20
- * Intent Type enum - categories of user/system intent
21
- */
22
- export declare const IntentType: {
23
- readonly QUERY: "query";
24
- readonly SEARCH: "search";
25
- readonly EXPLAIN: "explain";
26
- readonly CREATE: "create";
27
- readonly UPDATE: "update";
28
- readonly DELETE: "delete";
29
- readonly EXECUTE: "execute";
30
- readonly NAVIGATE: "navigate";
31
- readonly CANCEL: "cancel";
32
- readonly CONFIRM: "confirm";
33
- readonly UNDO: "undo";
34
- readonly GREETING: "greeting";
35
- readonly FAREWELL: "farewell";
36
- readonly FEEDBACK: "feedback";
37
- readonly HELP: "help";
38
- readonly CONFIGURE: "configure";
39
- readonly AUTHENTICATE: "authenticate";
40
- readonly AUTHORIZE: "authorize";
41
- readonly COMPOUND: "compound";
42
- readonly AMBIGUOUS: "ambiguous";
43
- readonly UNKNOWN: "unknown";
44
- };
45
- export type IntentTypeValue = typeof IntentType[keyof typeof IntentType];
46
- /**
47
- * Intent Signal - evidence supporting an intent classification
48
- */
49
- export declare const IntentSignalSchema: z.ZodObject<{
50
- /** Type of signal detected */
51
- signal_type: z.ZodEnum<["keyword", "phrase", "structure", "context", "entity", "sentiment", "syntax"]>;
52
- /** The matched text or pattern */
53
- matched_text: z.ZodString;
54
- /** Position in input (character offset) */
55
- position: z.ZodObject<{
56
- start: z.ZodNumber;
57
- end: z.ZodNumber;
58
- }, "strip", z.ZodTypeAny, {
59
- start: number;
60
- end: number;
61
- }, {
62
- start: number;
63
- end: number;
64
- }>;
65
- /** Contribution to confidence (0.0-1.0) */
66
- weight: z.ZodNumber;
67
- /** Additional signal metadata */
68
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
69
- }, "strip", z.ZodTypeAny, {
70
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
71
- matched_text: string;
72
- position: {
73
- start: number;
74
- end: number;
75
- };
76
- weight: number;
77
- metadata?: Record<string, unknown> | undefined;
78
- }, {
79
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
80
- matched_text: string;
81
- position: {
82
- start: number;
83
- end: number;
84
- };
85
- weight: number;
86
- metadata?: Record<string, unknown> | undefined;
87
- }>;
88
- export type IntentSignal = z.infer<typeof IntentSignalSchema>;
89
- /**
90
- * Single classified intent with confidence
91
- */
92
- export declare const ClassifiedIntentSchema: z.ZodObject<{
93
- /** Intent type */
94
- intent_type: z.ZodString;
95
- /** Confidence score for this intent (0.0-1.0) */
96
- confidence: z.ZodNumber;
97
- /** Signals supporting this classification */
98
- signals: z.ZodArray<z.ZodObject<{
99
- /** Type of signal detected */
100
- signal_type: z.ZodEnum<["keyword", "phrase", "structure", "context", "entity", "sentiment", "syntax"]>;
101
- /** The matched text or pattern */
102
- matched_text: z.ZodString;
103
- /** Position in input (character offset) */
104
- position: z.ZodObject<{
105
- start: z.ZodNumber;
106
- end: z.ZodNumber;
107
- }, "strip", z.ZodTypeAny, {
108
- start: number;
109
- end: number;
110
- }, {
111
- start: number;
112
- end: number;
113
- }>;
114
- /** Contribution to confidence (0.0-1.0) */
115
- weight: z.ZodNumber;
116
- /** Additional signal metadata */
117
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
118
- }, "strip", z.ZodTypeAny, {
119
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
120
- matched_text: string;
121
- position: {
122
- start: number;
123
- end: number;
124
- };
125
- weight: number;
126
- metadata?: Record<string, unknown> | undefined;
127
- }, {
128
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
129
- matched_text: string;
130
- position: {
131
- start: number;
132
- end: number;
133
- };
134
- weight: number;
135
- metadata?: Record<string, unknown> | undefined;
136
- }>, "many">;
137
- /** Intent target/object if identified */
138
- target: z.ZodOptional<z.ZodObject<{
139
- type: z.ZodString;
140
- value: z.ZodString;
141
- normalized: z.ZodOptional<z.ZodString>;
142
- }, "strip", z.ZodTypeAny, {
143
- value: string;
144
- type: string;
145
- normalized?: string | undefined;
146
- }, {
147
- value: string;
148
- type: string;
149
- normalized?: string | undefined;
150
- }>>;
151
- /** Intent action if applicable */
152
- action: z.ZodOptional<z.ZodObject<{
153
- verb: z.ZodString;
154
- normalized: z.ZodString;
155
- tense: z.ZodOptional<z.ZodEnum<["present", "past", "future", "imperative"]>>;
156
- }, "strip", z.ZodTypeAny, {
157
- normalized: string;
158
- verb: string;
159
- tense?: "present" | "past" | "future" | "imperative" | undefined;
160
- }, {
161
- normalized: string;
162
- verb: string;
163
- tense?: "present" | "past" | "future" | "imperative" | undefined;
164
- }>>;
165
- /** Intent scope/context */
166
- scope: z.ZodOptional<z.ZodObject<{
167
- domain: z.ZodOptional<z.ZodString>;
168
- subject: z.ZodOptional<z.ZodString>;
169
- qualifiers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
170
- }, "strip", z.ZodTypeAny, {
171
- qualifiers: string[];
172
- domain?: string | undefined;
173
- subject?: string | undefined;
174
- }, {
175
- domain?: string | undefined;
176
- subject?: string | undefined;
177
- qualifiers?: string[] | undefined;
178
- }>>;
179
- }, "strip", z.ZodTypeAny, {
180
- confidence: number;
181
- intent_type: string;
182
- signals: {
183
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
184
- matched_text: string;
185
- position: {
186
- start: number;
187
- end: number;
188
- };
189
- weight: number;
190
- metadata?: Record<string, unknown> | undefined;
191
- }[];
192
- scope?: {
193
- qualifiers: string[];
194
- domain?: string | undefined;
195
- subject?: string | undefined;
196
- } | undefined;
197
- action?: {
198
- normalized: string;
199
- verb: string;
200
- tense?: "present" | "past" | "future" | "imperative" | undefined;
201
- } | undefined;
202
- target?: {
203
- value: string;
204
- type: string;
205
- normalized?: string | undefined;
206
- } | undefined;
207
- }, {
208
- confidence: number;
209
- intent_type: string;
210
- signals: {
211
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
212
- matched_text: string;
213
- position: {
214
- start: number;
215
- end: number;
216
- };
217
- weight: number;
218
- metadata?: Record<string, unknown> | undefined;
219
- }[];
220
- scope?: {
221
- domain?: string | undefined;
222
- subject?: string | undefined;
223
- qualifiers?: string[] | undefined;
224
- } | undefined;
225
- action?: {
226
- normalized: string;
227
- verb: string;
228
- tense?: "present" | "past" | "future" | "imperative" | undefined;
229
- } | undefined;
230
- target?: {
231
- value: string;
232
- type: string;
233
- normalized?: string | undefined;
234
- } | undefined;
235
- }>;
236
- export type ClassifiedIntent = z.infer<typeof ClassifiedIntentSchema>;
237
- /**
238
- * Multi-intent state when multiple intents are detected
239
- */
240
- export declare const MultiIntentStateSchema: z.ZodObject<{
241
- /** Whether multiple intents were detected */
242
- is_multi_intent: z.ZodBoolean;
243
- /** Relationship between intents */
244
- relationship: z.ZodEnum<["sequential", "conditional", "alternative", "parallel", "nested", "clarification", "none"]>;
245
- /** Order of intents if sequential */
246
- sequence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
247
- /** Condition between intents if conditional */
248
- condition: z.ZodOptional<z.ZodObject<{
249
- if_intent: z.ZodString;
250
- then_intent: z.ZodString;
251
- condition_text: z.ZodString;
252
- }, "strip", z.ZodTypeAny, {
253
- if_intent: string;
254
- then_intent: string;
255
- condition_text: string;
256
- }, {
257
- if_intent: string;
258
- then_intent: string;
259
- condition_text: string;
260
- }>>;
261
- }, "strip", z.ZodTypeAny, {
262
- is_multi_intent: boolean;
263
- relationship: "sequential" | "conditional" | "alternative" | "parallel" | "nested" | "clarification" | "none";
264
- sequence?: string[] | undefined;
265
- condition?: {
266
- if_intent: string;
267
- then_intent: string;
268
- condition_text: string;
269
- } | undefined;
270
- }, {
271
- is_multi_intent: boolean;
272
- relationship: "sequential" | "conditional" | "alternative" | "parallel" | "nested" | "clarification" | "none";
273
- sequence?: string[] | undefined;
274
- condition?: {
275
- if_intent: string;
276
- then_intent: string;
277
- condition_text: string;
278
- } | undefined;
279
- }>;
280
- export type MultiIntentState = z.infer<typeof MultiIntentStateSchema>;
281
- /**
282
- * Intent Classifier Input Schema
283
- */
284
- export declare const IntentClassifierInputSchema: z.ZodObject<{
285
- /** Text to classify (user message or system input) */
286
- text: z.ZodString;
287
- /** Optional conversation context */
288
- context: z.ZodOptional<z.ZodObject<{
289
- /** Previous messages for context */
290
- previous_messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
291
- role: z.ZodEnum<["user", "system", "assistant"]>;
292
- text: z.ZodString;
293
- }, "strip", z.ZodTypeAny, {
294
- text: string;
295
- role: "user" | "system" | "assistant";
296
- }, {
297
- text: string;
298
- role: "user" | "system" | "assistant";
299
- }>, "many">>;
300
- /** Current domain/topic */
301
- domain: z.ZodOptional<z.ZodString>;
302
- /** Known entities in scope */
303
- entities: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
- type: z.ZodString;
305
- value: z.ZodString;
306
- }, "strip", z.ZodTypeAny, {
307
- value: string;
308
- type: string;
309
- }, {
310
- value: string;
311
- type: string;
312
- }>, "many">>;
313
- /** Active session state */
314
- session_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
315
- }, "strip", z.ZodTypeAny, {
316
- domain?: string | undefined;
317
- previous_messages?: {
318
- text: string;
319
- role: "user" | "system" | "assistant";
320
- }[] | undefined;
321
- entities?: {
322
- value: string;
323
- type: string;
324
- }[] | undefined;
325
- session_state?: Record<string, unknown> | undefined;
326
- }, {
327
- domain?: string | undefined;
328
- previous_messages?: {
329
- text: string;
330
- role: "user" | "system" | "assistant";
331
- }[] | undefined;
332
- entities?: {
333
- value: string;
334
- type: string;
335
- }[] | undefined;
336
- session_state?: Record<string, unknown> | undefined;
337
- }>>;
338
- /** Classification hints */
339
- hints: z.ZodOptional<z.ZodObject<{
340
- /** Expected intent types to prioritize */
341
- expected_intents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
342
- /** Intents to exclude from consideration */
343
- excluded_intents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
344
- /** Minimum confidence threshold */
345
- min_confidence: z.ZodOptional<z.ZodNumber>;
346
- /** Maximum number of intents to return */
347
- max_intents: z.ZodOptional<z.ZodNumber>;
348
- /** Language hint */
349
- language: z.ZodOptional<z.ZodString>;
350
- }, "strip", z.ZodTypeAny, {
351
- min_confidence?: number | undefined;
352
- expected_intents?: string[] | undefined;
353
- excluded_intents?: string[] | undefined;
354
- max_intents?: number | undefined;
355
- language?: string | undefined;
356
- }, {
357
- min_confidence?: number | undefined;
358
- expected_intents?: string[] | undefined;
359
- excluded_intents?: string[] | undefined;
360
- max_intents?: number | undefined;
361
- language?: string | undefined;
362
- }>>;
363
- /** Request ID for tracing */
364
- request_id: z.ZodOptional<z.ZodString>;
365
- }, "strip", z.ZodTypeAny, {
366
- text: string;
367
- context?: {
368
- domain?: string | undefined;
369
- previous_messages?: {
370
- text: string;
371
- role: "user" | "system" | "assistant";
372
- }[] | undefined;
373
- entities?: {
374
- value: string;
375
- type: string;
376
- }[] | undefined;
377
- session_state?: Record<string, unknown> | undefined;
378
- } | undefined;
379
- hints?: {
380
- min_confidence?: number | undefined;
381
- expected_intents?: string[] | undefined;
382
- excluded_intents?: string[] | undefined;
383
- max_intents?: number | undefined;
384
- language?: string | undefined;
385
- } | undefined;
386
- request_id?: string | undefined;
387
- }, {
388
- text: string;
389
- context?: {
390
- domain?: string | undefined;
391
- previous_messages?: {
392
- text: string;
393
- role: "user" | "system" | "assistant";
394
- }[] | undefined;
395
- entities?: {
396
- value: string;
397
- type: string;
398
- }[] | undefined;
399
- session_state?: Record<string, unknown> | undefined;
400
- } | undefined;
401
- hints?: {
402
- min_confidence?: number | undefined;
403
- expected_intents?: string[] | undefined;
404
- excluded_intents?: string[] | undefined;
405
- max_intents?: number | undefined;
406
- language?: string | undefined;
407
- } | undefined;
408
- request_id?: string | undefined;
409
- }>;
410
- export type IntentClassifierInput = z.infer<typeof IntentClassifierInputSchema>;
411
- /**
412
- * Intent Classifier Output Schema
413
- */
414
- export declare const IntentClassifierOutputSchema: z.ZodObject<{
415
- /** Classification ID */
416
- classification_id: z.ZodString;
417
- /** Original text (echoed for verification) */
418
- original_text: z.ZodString;
419
- /** Normalized/cleaned text used for analysis */
420
- normalized_text: z.ZodString;
421
- /** Primary classified intent */
422
- primary_intent: z.ZodObject<{
423
- /** Intent type */
424
- intent_type: z.ZodString;
425
- /** Confidence score for this intent (0.0-1.0) */
426
- confidence: z.ZodNumber;
427
- /** Signals supporting this classification */
428
- signals: z.ZodArray<z.ZodObject<{
429
- /** Type of signal detected */
430
- signal_type: z.ZodEnum<["keyword", "phrase", "structure", "context", "entity", "sentiment", "syntax"]>;
431
- /** The matched text or pattern */
432
- matched_text: z.ZodString;
433
- /** Position in input (character offset) */
434
- position: z.ZodObject<{
435
- start: z.ZodNumber;
436
- end: z.ZodNumber;
437
- }, "strip", z.ZodTypeAny, {
438
- start: number;
439
- end: number;
440
- }, {
441
- start: number;
442
- end: number;
443
- }>;
444
- /** Contribution to confidence (0.0-1.0) */
445
- weight: z.ZodNumber;
446
- /** Additional signal metadata */
447
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
448
- }, "strip", z.ZodTypeAny, {
449
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
450
- matched_text: string;
451
- position: {
452
- start: number;
453
- end: number;
454
- };
455
- weight: number;
456
- metadata?: Record<string, unknown> | undefined;
457
- }, {
458
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
459
- matched_text: string;
460
- position: {
461
- start: number;
462
- end: number;
463
- };
464
- weight: number;
465
- metadata?: Record<string, unknown> | undefined;
466
- }>, "many">;
467
- /** Intent target/object if identified */
468
- target: z.ZodOptional<z.ZodObject<{
469
- type: z.ZodString;
470
- value: z.ZodString;
471
- normalized: z.ZodOptional<z.ZodString>;
472
- }, "strip", z.ZodTypeAny, {
473
- value: string;
474
- type: string;
475
- normalized?: string | undefined;
476
- }, {
477
- value: string;
478
- type: string;
479
- normalized?: string | undefined;
480
- }>>;
481
- /** Intent action if applicable */
482
- action: z.ZodOptional<z.ZodObject<{
483
- verb: z.ZodString;
484
- normalized: z.ZodString;
485
- tense: z.ZodOptional<z.ZodEnum<["present", "past", "future", "imperative"]>>;
486
- }, "strip", z.ZodTypeAny, {
487
- normalized: string;
488
- verb: string;
489
- tense?: "present" | "past" | "future" | "imperative" | undefined;
490
- }, {
491
- normalized: string;
492
- verb: string;
493
- tense?: "present" | "past" | "future" | "imperative" | undefined;
494
- }>>;
495
- /** Intent scope/context */
496
- scope: z.ZodOptional<z.ZodObject<{
497
- domain: z.ZodOptional<z.ZodString>;
498
- subject: z.ZodOptional<z.ZodString>;
499
- qualifiers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
500
- }, "strip", z.ZodTypeAny, {
501
- qualifiers: string[];
502
- domain?: string | undefined;
503
- subject?: string | undefined;
504
- }, {
505
- domain?: string | undefined;
506
- subject?: string | undefined;
507
- qualifiers?: string[] | undefined;
508
- }>>;
509
- }, "strip", z.ZodTypeAny, {
510
- confidence: number;
511
- intent_type: string;
512
- signals: {
513
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
514
- matched_text: string;
515
- position: {
516
- start: number;
517
- end: number;
518
- };
519
- weight: number;
520
- metadata?: Record<string, unknown> | undefined;
521
- }[];
522
- scope?: {
523
- qualifiers: string[];
524
- domain?: string | undefined;
525
- subject?: string | undefined;
526
- } | undefined;
527
- action?: {
528
- normalized: string;
529
- verb: string;
530
- tense?: "present" | "past" | "future" | "imperative" | undefined;
531
- } | undefined;
532
- target?: {
533
- value: string;
534
- type: string;
535
- normalized?: string | undefined;
536
- } | undefined;
537
- }, {
538
- confidence: number;
539
- intent_type: string;
540
- signals: {
541
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
542
- matched_text: string;
543
- position: {
544
- start: number;
545
- end: number;
546
- };
547
- weight: number;
548
- metadata?: Record<string, unknown> | undefined;
549
- }[];
550
- scope?: {
551
- domain?: string | undefined;
552
- subject?: string | undefined;
553
- qualifiers?: string[] | undefined;
554
- } | undefined;
555
- action?: {
556
- normalized: string;
557
- verb: string;
558
- tense?: "present" | "past" | "future" | "imperative" | undefined;
559
- } | undefined;
560
- target?: {
561
- value: string;
562
- type: string;
563
- normalized?: string | undefined;
564
- } | undefined;
565
- }>;
566
- /** Secondary intents (if multi-intent detected) */
567
- secondary_intents: z.ZodDefault<z.ZodArray<z.ZodObject<{
568
- /** Intent type */
569
- intent_type: z.ZodString;
570
- /** Confidence score for this intent (0.0-1.0) */
571
- confidence: z.ZodNumber;
572
- /** Signals supporting this classification */
573
- signals: z.ZodArray<z.ZodObject<{
574
- /** Type of signal detected */
575
- signal_type: z.ZodEnum<["keyword", "phrase", "structure", "context", "entity", "sentiment", "syntax"]>;
576
- /** The matched text or pattern */
577
- matched_text: z.ZodString;
578
- /** Position in input (character offset) */
579
- position: z.ZodObject<{
580
- start: z.ZodNumber;
581
- end: z.ZodNumber;
582
- }, "strip", z.ZodTypeAny, {
583
- start: number;
584
- end: number;
585
- }, {
586
- start: number;
587
- end: number;
588
- }>;
589
- /** Contribution to confidence (0.0-1.0) */
590
- weight: z.ZodNumber;
591
- /** Additional signal metadata */
592
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
593
- }, "strip", z.ZodTypeAny, {
594
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
595
- matched_text: string;
596
- position: {
597
- start: number;
598
- end: number;
599
- };
600
- weight: number;
601
- metadata?: Record<string, unknown> | undefined;
602
- }, {
603
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
604
- matched_text: string;
605
- position: {
606
- start: number;
607
- end: number;
608
- };
609
- weight: number;
610
- metadata?: Record<string, unknown> | undefined;
611
- }>, "many">;
612
- /** Intent target/object if identified */
613
- target: z.ZodOptional<z.ZodObject<{
614
- type: z.ZodString;
615
- value: z.ZodString;
616
- normalized: z.ZodOptional<z.ZodString>;
617
- }, "strip", z.ZodTypeAny, {
618
- value: string;
619
- type: string;
620
- normalized?: string | undefined;
621
- }, {
622
- value: string;
623
- type: string;
624
- normalized?: string | undefined;
625
- }>>;
626
- /** Intent action if applicable */
627
- action: z.ZodOptional<z.ZodObject<{
628
- verb: z.ZodString;
629
- normalized: z.ZodString;
630
- tense: z.ZodOptional<z.ZodEnum<["present", "past", "future", "imperative"]>>;
631
- }, "strip", z.ZodTypeAny, {
632
- normalized: string;
633
- verb: string;
634
- tense?: "present" | "past" | "future" | "imperative" | undefined;
635
- }, {
636
- normalized: string;
637
- verb: string;
638
- tense?: "present" | "past" | "future" | "imperative" | undefined;
639
- }>>;
640
- /** Intent scope/context */
641
- scope: z.ZodOptional<z.ZodObject<{
642
- domain: z.ZodOptional<z.ZodString>;
643
- subject: z.ZodOptional<z.ZodString>;
644
- qualifiers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
645
- }, "strip", z.ZodTypeAny, {
646
- qualifiers: string[];
647
- domain?: string | undefined;
648
- subject?: string | undefined;
649
- }, {
650
- domain?: string | undefined;
651
- subject?: string | undefined;
652
- qualifiers?: string[] | undefined;
653
- }>>;
654
- }, "strip", z.ZodTypeAny, {
655
- confidence: number;
656
- intent_type: string;
657
- signals: {
658
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
659
- matched_text: string;
660
- position: {
661
- start: number;
662
- end: number;
663
- };
664
- weight: number;
665
- metadata?: Record<string, unknown> | undefined;
666
- }[];
667
- scope?: {
668
- qualifiers: string[];
669
- domain?: string | undefined;
670
- subject?: string | undefined;
671
- } | undefined;
672
- action?: {
673
- normalized: string;
674
- verb: string;
675
- tense?: "present" | "past" | "future" | "imperative" | undefined;
676
- } | undefined;
677
- target?: {
678
- value: string;
679
- type: string;
680
- normalized?: string | undefined;
681
- } | undefined;
682
- }, {
683
- confidence: number;
684
- intent_type: string;
685
- signals: {
686
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
687
- matched_text: string;
688
- position: {
689
- start: number;
690
- end: number;
691
- };
692
- weight: number;
693
- metadata?: Record<string, unknown> | undefined;
694
- }[];
695
- scope?: {
696
- domain?: string | undefined;
697
- subject?: string | undefined;
698
- qualifiers?: string[] | undefined;
699
- } | undefined;
700
- action?: {
701
- normalized: string;
702
- verb: string;
703
- tense?: "present" | "past" | "future" | "imperative" | undefined;
704
- } | undefined;
705
- target?: {
706
- value: string;
707
- type: string;
708
- normalized?: string | undefined;
709
- } | undefined;
710
- }>, "many">>;
711
- /** Multi-intent state analysis */
712
- multi_intent_state: z.ZodObject<{
713
- /** Whether multiple intents were detected */
714
- is_multi_intent: z.ZodBoolean;
715
- /** Relationship between intents */
716
- relationship: z.ZodEnum<["sequential", "conditional", "alternative", "parallel", "nested", "clarification", "none"]>;
717
- /** Order of intents if sequential */
718
- sequence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
719
- /** Condition between intents if conditional */
720
- condition: z.ZodOptional<z.ZodObject<{
721
- if_intent: z.ZodString;
722
- then_intent: z.ZodString;
723
- condition_text: z.ZodString;
724
- }, "strip", z.ZodTypeAny, {
725
- if_intent: string;
726
- then_intent: string;
727
- condition_text: string;
728
- }, {
729
- if_intent: string;
730
- then_intent: string;
731
- condition_text: string;
732
- }>>;
733
- }, "strip", z.ZodTypeAny, {
734
- is_multi_intent: boolean;
735
- relationship: "sequential" | "conditional" | "alternative" | "parallel" | "nested" | "clarification" | "none";
736
- sequence?: string[] | undefined;
737
- condition?: {
738
- if_intent: string;
739
- then_intent: string;
740
- condition_text: string;
741
- } | undefined;
742
- }, {
743
- is_multi_intent: boolean;
744
- relationship: "sequential" | "conditional" | "alternative" | "parallel" | "nested" | "clarification" | "none";
745
- sequence?: string[] | undefined;
746
- condition?: {
747
- if_intent: string;
748
- then_intent: string;
749
- condition_text: string;
750
- } | undefined;
751
- }>;
752
- /** Overall classification confidence (0.0-1.0) */
753
- overall_confidence: z.ZodNumber;
754
- /** Analysis metadata */
755
- analysis: z.ZodObject<{
756
- /** Number of intents detected */
757
- intent_count: z.ZodNumber;
758
- /** Total signals identified */
759
- signal_count: z.ZodNumber;
760
- /** Processing notes */
761
- notes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
762
- /** Ambiguity indicators */
763
- ambiguity: z.ZodObject<{
764
- is_ambiguous: z.ZodBoolean;
765
- ambiguity_type: z.ZodEnum<["lexical", "structural", "contextual", "none"]>;
766
- clarification_needed: z.ZodBoolean;
767
- suggested_clarification: z.ZodOptional<z.ZodString>;
768
- }, "strip", z.ZodTypeAny, {
769
- is_ambiguous: boolean;
770
- ambiguity_type: "contextual" | "lexical" | "none" | "structural";
771
- clarification_needed: boolean;
772
- suggested_clarification?: string | undefined;
773
- }, {
774
- is_ambiguous: boolean;
775
- ambiguity_type: "contextual" | "lexical" | "none" | "structural";
776
- clarification_needed: boolean;
777
- suggested_clarification?: string | undefined;
778
- }>;
779
- /** Language detection */
780
- language: z.ZodOptional<z.ZodObject<{
781
- detected: z.ZodString;
782
- confidence: z.ZodNumber;
783
- }, "strip", z.ZodTypeAny, {
784
- confidence: number;
785
- detected: string;
786
- }, {
787
- confidence: number;
788
- detected: string;
789
- }>>;
790
- }, "strip", z.ZodTypeAny, {
791
- notes: string[];
792
- intent_count: number;
793
- signal_count: number;
794
- ambiguity: {
795
- is_ambiguous: boolean;
796
- ambiguity_type: "contextual" | "lexical" | "none" | "structural";
797
- clarification_needed: boolean;
798
- suggested_clarification?: string | undefined;
799
- };
800
- language?: {
801
- confidence: number;
802
- detected: string;
803
- } | undefined;
804
- }, {
805
- intent_count: number;
806
- signal_count: number;
807
- ambiguity: {
808
- is_ambiguous: boolean;
809
- ambiguity_type: "contextual" | "lexical" | "none" | "structural";
810
- clarification_needed: boolean;
811
- suggested_clarification?: string | undefined;
812
- };
813
- notes?: string[] | undefined;
814
- language?: {
815
- confidence: number;
816
- detected: string;
817
- } | undefined;
818
- }>;
819
- /** Version for tracking iterations */
820
- version: z.ZodDefault<z.ZodString>;
821
- }, "strip", z.ZodTypeAny, {
822
- version: string;
823
- analysis: {
824
- notes: string[];
825
- intent_count: number;
826
- signal_count: number;
827
- ambiguity: {
828
- is_ambiguous: boolean;
829
- ambiguity_type: "contextual" | "lexical" | "none" | "structural";
830
- clarification_needed: boolean;
831
- suggested_clarification?: string | undefined;
832
- };
833
- language?: {
834
- confidence: number;
835
- detected: string;
836
- } | undefined;
837
- };
838
- classification_id: string;
839
- original_text: string;
840
- normalized_text: string;
841
- primary_intent: {
842
- confidence: number;
843
- intent_type: string;
844
- signals: {
845
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
846
- matched_text: string;
847
- position: {
848
- start: number;
849
- end: number;
850
- };
851
- weight: number;
852
- metadata?: Record<string, unknown> | undefined;
853
- }[];
854
- scope?: {
855
- qualifiers: string[];
856
- domain?: string | undefined;
857
- subject?: string | undefined;
858
- } | undefined;
859
- action?: {
860
- normalized: string;
861
- verb: string;
862
- tense?: "present" | "past" | "future" | "imperative" | undefined;
863
- } | undefined;
864
- target?: {
865
- value: string;
866
- type: string;
867
- normalized?: string | undefined;
868
- } | undefined;
869
- };
870
- secondary_intents: {
871
- confidence: number;
872
- intent_type: string;
873
- signals: {
874
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
875
- matched_text: string;
876
- position: {
877
- start: number;
878
- end: number;
879
- };
880
- weight: number;
881
- metadata?: Record<string, unknown> | undefined;
882
- }[];
883
- scope?: {
884
- qualifiers: string[];
885
- domain?: string | undefined;
886
- subject?: string | undefined;
887
- } | undefined;
888
- action?: {
889
- normalized: string;
890
- verb: string;
891
- tense?: "present" | "past" | "future" | "imperative" | undefined;
892
- } | undefined;
893
- target?: {
894
- value: string;
895
- type: string;
896
- normalized?: string | undefined;
897
- } | undefined;
898
- }[];
899
- multi_intent_state: {
900
- is_multi_intent: boolean;
901
- relationship: "sequential" | "conditional" | "alternative" | "parallel" | "nested" | "clarification" | "none";
902
- sequence?: string[] | undefined;
903
- condition?: {
904
- if_intent: string;
905
- then_intent: string;
906
- condition_text: string;
907
- } | undefined;
908
- };
909
- overall_confidence: number;
910
- }, {
911
- analysis: {
912
- intent_count: number;
913
- signal_count: number;
914
- ambiguity: {
915
- is_ambiguous: boolean;
916
- ambiguity_type: "contextual" | "lexical" | "none" | "structural";
917
- clarification_needed: boolean;
918
- suggested_clarification?: string | undefined;
919
- };
920
- notes?: string[] | undefined;
921
- language?: {
922
- confidence: number;
923
- detected: string;
924
- } | undefined;
925
- };
926
- classification_id: string;
927
- original_text: string;
928
- normalized_text: string;
929
- primary_intent: {
930
- confidence: number;
931
- intent_type: string;
932
- signals: {
933
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
934
- matched_text: string;
935
- position: {
936
- start: number;
937
- end: number;
938
- };
939
- weight: number;
940
- metadata?: Record<string, unknown> | undefined;
941
- }[];
942
- scope?: {
943
- domain?: string | undefined;
944
- subject?: string | undefined;
945
- qualifiers?: string[] | undefined;
946
- } | undefined;
947
- action?: {
948
- normalized: string;
949
- verb: string;
950
- tense?: "present" | "past" | "future" | "imperative" | undefined;
951
- } | undefined;
952
- target?: {
953
- value: string;
954
- type: string;
955
- normalized?: string | undefined;
956
- } | undefined;
957
- };
958
- multi_intent_state: {
959
- is_multi_intent: boolean;
960
- relationship: "sequential" | "conditional" | "alternative" | "parallel" | "nested" | "clarification" | "none";
961
- sequence?: string[] | undefined;
962
- condition?: {
963
- if_intent: string;
964
- then_intent: string;
965
- condition_text: string;
966
- } | undefined;
967
- };
968
- overall_confidence: number;
969
- version?: string | undefined;
970
- secondary_intents?: {
971
- confidence: number;
972
- intent_type: string;
973
- signals: {
974
- signal_type: "context" | "keyword" | "phrase" | "structure" | "entity" | "sentiment" | "syntax";
975
- matched_text: string;
976
- position: {
977
- start: number;
978
- end: number;
979
- };
980
- weight: number;
981
- metadata?: Record<string, unknown> | undefined;
982
- }[];
983
- scope?: {
984
- domain?: string | undefined;
985
- subject?: string | undefined;
986
- qualifiers?: string[] | undefined;
987
- } | undefined;
988
- action?: {
989
- normalized: string;
990
- verb: string;
991
- tense?: "present" | "past" | "future" | "imperative" | undefined;
992
- } | undefined;
993
- target?: {
994
- value: string;
995
- type: string;
996
- normalized?: string | undefined;
997
- } | undefined;
998
- }[] | undefined;
999
- }>;
1000
- export type IntentClassifierOutput = z.infer<typeof IntentClassifierOutputSchema>;