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

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