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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/dist/bundled-agents/connector-hub-agents/package-lock.json +11697 -0
  2. package/dist/bundled-agents/connector-hub-agents/package.json +75 -0
  3. package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +22 -0
  4. package/dist/bundled-agents/connector-hub-agents/tsconfig.json +57 -0
  5. package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +17 -0
  6. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +14 -0
  7. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +35 -0
  8. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +1 -0
  9. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +55 -0
  10. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +40 -0
  11. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +1 -0
  12. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +22 -0
  13. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +38 -0
  14. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +1 -0
  15. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +34 -0
  16. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +186 -0
  17. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +1 -0
  18. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +36 -0
  19. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +121 -0
  20. package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +1 -0
  21. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  22. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +948 -0
  23. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +1 -0
  24. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +9 -0
  25. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +27 -0
  26. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +1 -0
  27. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  28. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +50 -0
  29. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  30. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +214 -0
  31. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +91 -0
  32. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +1 -0
  33. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +1166 -0
  34. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +308 -0
  35. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +1 -0
  36. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +59 -0
  37. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +62 -0
  38. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +1 -0
  39. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +400 -0
  40. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +113 -0
  41. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +1 -0
  42. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +250 -0
  43. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +169 -0
  44. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +1 -0
  45. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +17 -0
  46. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +97 -0
  47. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +1 -0
  48. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  49. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +246 -0
  50. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +1 -0
  51. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +1085 -0
  52. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +218 -0
  53. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  54. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +949 -0
  55. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +253 -0
  56. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  57. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +657 -0
  58. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +205 -0
  59. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  60. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +285 -0
  61. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +106 -0
  62. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +1 -0
  63. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +581 -0
  64. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +136 -0
  65. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +1 -0
  66. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +791 -0
  67. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +225 -0
  68. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +1 -0
  69. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +120 -0
  70. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +535 -0
  71. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +1 -0
  72. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +9 -0
  73. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +18 -0
  74. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +1 -0
  75. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +4 -0
  76. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +9 -0
  77. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +1 -0
  78. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  79. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  80. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  81. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +10 -0
  82. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +25 -0
  83. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +1 -0
  84. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  85. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  86. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  87. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  88. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +25 -0
  89. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +1 -0
  90. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +6 -0
  91. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +15 -0
  92. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +1 -0
  93. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  94. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  95. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  96. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  97. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  98. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  99. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  100. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +192 -0
  101. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +1 -0
  102. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +11 -0
  103. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +25 -0
  104. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +1 -0
  105. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +127 -0
  106. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +483 -0
  107. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +1 -0
  108. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +49 -0
  109. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +125 -0
  110. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +1 -0
  111. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +73 -0
  112. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +192 -0
  113. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +1 -0
  114. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +11 -0
  115. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +27 -0
  116. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +1 -0
  117. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +122 -0
  118. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +645 -0
  119. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +1 -0
  120. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  121. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +156 -0
  122. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +1 -0
  123. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +88 -0
  124. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +246 -0
  125. package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +1 -0
  126. package/dist/bundled-agents/copilot-agents/functions/index.js +4 -0
  127. package/dist/bundled-agents/copilot-agents/functions/jest.config.js +29 -0
  128. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +14 -0
  129. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +35 -0
  130. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +1 -0
  131. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +27 -0
  132. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +21 -0
  133. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +1 -0
  134. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +22 -0
  135. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +38 -0
  136. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +1 -0
  137. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +34 -0
  138. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +174 -0
  139. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +1 -0
  140. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +27 -0
  141. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +107 -0
  142. package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +1 -0
  143. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +157 -0
  144. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +941 -0
  145. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +1 -0
  146. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +9 -0
  147. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +27 -0
  148. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +1 -0
  149. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
  150. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +50 -0
  151. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +1 -0
  152. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +185 -0
  153. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +86 -0
  154. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +1 -0
  155. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +1081 -0
  156. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +305 -0
  157. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +1 -0
  158. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +59 -0
  159. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +62 -0
  160. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +1 -0
  161. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +315 -0
  162. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +110 -0
  163. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +1 -0
  164. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +250 -0
  165. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +169 -0
  166. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +1 -0
  167. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +16 -0
  168. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +88 -0
  169. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +1 -0
  170. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
  171. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +246 -0
  172. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +1 -0
  173. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +1000 -0
  174. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +215 -0
  175. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
  176. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +864 -0
  177. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +250 -0
  178. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
  179. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +572 -0
  180. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +202 -0
  181. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
  182. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +496 -0
  183. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +133 -0
  184. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +1 -0
  185. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +706 -0
  186. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +222 -0
  187. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +1 -0
  188. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +107 -0
  189. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +360 -0
  190. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +1 -0
  191. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +9 -0
  192. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +18 -0
  193. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +1 -0
  194. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +4 -0
  195. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +9 -0
  196. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +1 -0
  197. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
  198. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
  199. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
  200. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +10 -0
  201. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +25 -0
  202. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +1 -0
  203. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
  204. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
  205. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
  206. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +11 -0
  207. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +25 -0
  208. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +1 -0
  209. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +6 -0
  210. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +15 -0
  211. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +1 -0
  212. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
  213. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
  214. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
  215. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
  216. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
  217. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
  218. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +73 -0
  219. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +192 -0
  220. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +1 -0
  221. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +11 -0
  222. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +25 -0
  223. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +1 -0
  224. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +119 -0
  225. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +421 -0
  226. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +1 -0
  227. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +49 -0
  228. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +125 -0
  229. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +1 -0
  230. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +73 -0
  231. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +192 -0
  232. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +1 -0
  233. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +11 -0
  234. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +27 -0
  235. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +1 -0
  236. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +122 -0
  237. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +645 -0
  238. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +1 -0
  239. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +59 -0
  240. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +156 -0
  241. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +1 -0
  242. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +88 -0
  243. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +246 -0
  244. package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +1 -0
  245. package/dist/bundled-agents/copilot-agents/functions/package-lock.json +5473 -0
  246. package/dist/bundled-agents/copilot-agents/functions/package.json +40 -0
  247. package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +71 -0
  248. package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +36 -0
  249. package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +77 -0
  250. package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +340 -0
  251. package/dist/bundled-agents/copilot-agents/functions/src/health.ts +53 -0
  252. package/dist/bundled-agents/copilot-agents/functions/src/index.ts +201 -0
  253. package/dist/bundled-agents/copilot-agents/functions/src/router.ts +148 -0
  254. package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +31 -0
  255. package/dist/bundled-agents/copilot-agents/package-lock.json +11825 -0
  256. package/dist/bundled-agents/copilot-agents/package.json +5 -0
  257. package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +8282 -0
  258. package/dist/bundled-agents/governance-dashboard-agents/package.json +13 -0
  259. package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +590 -0
  260. package/dist/bundled-agents/orchestrator-agents/functions/index.js +442 -0
  261. package/dist/bundled-agents/orchestrator-agents/functions/test.js +325 -0
  262. package/dist/bundled-agents/orchestrator-agents/index.js +6 -0
  263. package/dist/bundled-agents/orchestrator-agents/package-lock.json +13254 -0
  264. package/dist/bundled-agents/orchestrator-agents/package.json +20 -0
  265. package/dist/bundled-agents/platform-agents/package-lock.json +1723 -0
  266. package/dist/bundled-agents/platform-agents/package.json +22 -0
  267. package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +463 -0
  268. package/dist/bundled-agents/platform-agents/src/agents/decision.ts +234 -0
  269. package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +229 -0
  270. package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +327 -0
  271. package/dist/bundled-agents/platform-agents/src/claude.ts +71 -0
  272. package/dist/bundled-agents/platform-agents/src/cors.ts +24 -0
  273. package/dist/bundled-agents/platform-agents/src/envelope.ts +37 -0
  274. package/dist/bundled-agents/platform-agents/src/health.ts +20 -0
  275. package/dist/bundled-agents/platform-agents/src/index.ts +171 -0
  276. package/dist/bundled-agents/platform-agents/src/router.ts +38 -0
  277. package/dist/bundled-agents/platform-agents/src/text-analysis.ts +238 -0
  278. package/dist/bundled-agents/platform-agents/tsconfig.json +19 -0
  279. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +3 -0
  280. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +1 -0
  281. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +43 -0
  282. package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +1 -0
  283. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +3 -0
  284. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +1 -0
  285. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +30 -0
  286. package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +1 -0
  287. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +3 -0
  288. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +1 -0
  289. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +53 -0
  290. package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +1 -0
  291. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +3 -0
  292. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +1 -0
  293. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +51 -0
  294. package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +1 -0
  295. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +3 -0
  296. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +1 -0
  297. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +36 -0
  298. package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +1 -0
  299. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +2 -0
  300. package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +1 -0
  301. package/dist/bundled-agents/sentinel-agents/lib/index.js +70 -0
  302. package/dist/bundled-agents/sentinel-agents/lib/index.js.map +1 -0
  303. package/dist/bundled-agents/sentinel-agents/package-lock.json +12591 -0
  304. package/dist/bundled-agents/sentinel-agents/package.json +62 -0
  305. package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +46 -0
  306. package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +33 -0
  307. package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +56 -0
  308. package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +54 -0
  309. package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +38 -0
  310. package/dist/bundled-agents/sentinel-agents/src/claude.ts +71 -0
  311. package/dist/bundled-agents/sentinel-agents/src/index.ts +77 -0
  312. package/dist/bundled-agents/sentinel-agents/tsconfig.json +20 -0
  313. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  314. package/dist/pipeline/auto-chain.js +52 -0
  315. package/dist/pipeline/auto-chain.js.map +1 -1
  316. package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
  317. package/dist/pipeline/phase2/phases/ddd-generator.js +15 -1
  318. package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
  319. package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
  320. package/dist/pipeline/phase2/phases/sparc-specification.js +9 -0
  321. package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
  322. package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
  323. package/dist/pipeline/phase3/phases/domain-codegen.js +41 -0
  324. package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
  325. package/dist/pipeline/ruflo-phase-executor.d.ts.map +1 -1
  326. package/dist/pipeline/ruflo-phase-executor.js +109 -19
  327. package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
  328. package/package.json +1 -1
@@ -0,0 +1,1000 @@
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>;