@framers/agentos 0.1.120 → 0.1.122

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 (436) hide show
  1. package/README.md +21 -0
  2. package/dist/api/agency.d.ts.map +1 -1
  3. package/dist/api/agency.js +227 -84
  4. package/dist/api/agency.js.map +1 -1
  5. package/dist/api/analyzeVideo.d.ts +127 -0
  6. package/dist/api/analyzeVideo.d.ts.map +1 -0
  7. package/dist/api/analyzeVideo.js +136 -0
  8. package/dist/api/analyzeVideo.js.map +1 -0
  9. package/dist/api/detectScenes.d.ts +82 -0
  10. package/dist/api/detectScenes.d.ts.map +1 -0
  11. package/dist/api/detectScenes.js +67 -0
  12. package/dist/api/detectScenes.js.map +1 -0
  13. package/dist/api/generateImage.d.ts +7 -0
  14. package/dist/api/generateImage.d.ts.map +1 -1
  15. package/dist/api/generateImage.js +133 -9
  16. package/dist/api/generateImage.js.map +1 -1
  17. package/dist/api/generateMusic.d.ts +98 -0
  18. package/dist/api/generateMusic.d.ts.map +1 -0
  19. package/dist/api/generateMusic.js +319 -0
  20. package/dist/api/generateMusic.js.map +1 -0
  21. package/dist/api/generateSFX.d.ts +96 -0
  22. package/dist/api/generateSFX.d.ts.map +1 -0
  23. package/dist/api/generateSFX.js +317 -0
  24. package/dist/api/generateSFX.js.map +1 -0
  25. package/dist/api/generateVideo.d.ts +113 -0
  26. package/dist/api/generateVideo.d.ts.map +1 -0
  27. package/dist/api/generateVideo.js +342 -0
  28. package/dist/api/generateVideo.js.map +1 -0
  29. package/dist/api/model.d.ts.map +1 -1
  30. package/dist/api/model.js +8 -4
  31. package/dist/api/model.js.map +1 -1
  32. package/dist/api/performOCR.d.ts +169 -0
  33. package/dist/api/performOCR.d.ts.map +1 -0
  34. package/dist/api/performOCR.js +198 -0
  35. package/dist/api/performOCR.js.map +1 -0
  36. package/dist/api/provider-defaults.d.ts +7 -5
  37. package/dist/api/provider-defaults.d.ts.map +1 -1
  38. package/dist/api/provider-defaults.js +32 -10
  39. package/dist/api/provider-defaults.js.map +1 -1
  40. package/dist/api/strategies/debate.d.ts.map +1 -1
  41. package/dist/api/strategies/debate.js +1 -0
  42. package/dist/api/strategies/debate.js.map +1 -1
  43. package/dist/api/strategies/graph.d.ts.map +1 -1
  44. package/dist/api/strategies/graph.js +69 -13
  45. package/dist/api/strategies/graph.js.map +1 -1
  46. package/dist/api/strategies/hierarchical.d.ts.map +1 -1
  47. package/dist/api/strategies/hierarchical.js +1 -0
  48. package/dist/api/strategies/hierarchical.js.map +1 -1
  49. package/dist/api/strategies/parallel.d.ts.map +1 -1
  50. package/dist/api/strategies/parallel.js +1 -0
  51. package/dist/api/strategies/parallel.js.map +1 -1
  52. package/dist/api/strategies/review-loop.d.ts.map +1 -1
  53. package/dist/api/strategies/review-loop.js +1 -0
  54. package/dist/api/strategies/review-loop.js.map +1 -1
  55. package/dist/api/strategies/sequential.d.ts.map +1 -1
  56. package/dist/api/strategies/sequential.js +54 -48
  57. package/dist/api/strategies/sequential.js.map +1 -1
  58. package/dist/api/streamBuffer.d.ts +20 -0
  59. package/dist/api/streamBuffer.d.ts.map +1 -0
  60. package/dist/api/streamBuffer.js +81 -0
  61. package/dist/api/streamBuffer.js.map +1 -0
  62. package/dist/api/types.d.ts +145 -5
  63. package/dist/api/types.d.ts.map +1 -1
  64. package/dist/api/types.js.map +1 -1
  65. package/dist/channels/adapters/RedditChannelAdapter.js.map +1 -1
  66. package/dist/core/audio/AudioProcessor.d.ts.map +1 -1
  67. package/dist/core/audio/AudioProcessor.js +1 -0
  68. package/dist/core/audio/AudioProcessor.js.map +1 -1
  69. package/dist/core/audio/EnvironmentalCalibrator.d.ts.map +1 -1
  70. package/dist/core/audio/EnvironmentalCalibrator.js +1 -0
  71. package/dist/core/audio/EnvironmentalCalibrator.js.map +1 -1
  72. package/dist/core/audio/FallbackAudioProxy.d.ts +169 -0
  73. package/dist/core/audio/FallbackAudioProxy.d.ts.map +1 -0
  74. package/dist/core/audio/FallbackAudioProxy.js +236 -0
  75. package/dist/core/audio/FallbackAudioProxy.js.map +1 -0
  76. package/dist/core/audio/IAudioGenerator.d.ts +103 -0
  77. package/dist/core/audio/IAudioGenerator.d.ts.map +1 -0
  78. package/dist/core/audio/IAudioGenerator.js +24 -0
  79. package/dist/core/audio/IAudioGenerator.js.map +1 -0
  80. package/dist/core/audio/index.d.ts +54 -0
  81. package/dist/core/audio/index.d.ts.map +1 -1
  82. package/dist/core/audio/index.js +93 -0
  83. package/dist/core/audio/index.js.map +1 -1
  84. package/dist/core/audio/providers/AudioGenLocalProvider.d.ts +136 -0
  85. package/dist/core/audio/providers/AudioGenLocalProvider.d.ts.map +1 -0
  86. package/dist/core/audio/providers/AudioGenLocalProvider.js +235 -0
  87. package/dist/core/audio/providers/AudioGenLocalProvider.js.map +1 -0
  88. package/dist/core/audio/providers/ElevenLabsSFXProvider.d.ts +107 -0
  89. package/dist/core/audio/providers/ElevenLabsSFXProvider.d.ts.map +1 -0
  90. package/dist/core/audio/providers/ElevenLabsSFXProvider.js +154 -0
  91. package/dist/core/audio/providers/ElevenLabsSFXProvider.js.map +1 -0
  92. package/dist/core/audio/providers/FalAudioProvider.d.ts +207 -0
  93. package/dist/core/audio/providers/FalAudioProvider.d.ts.map +1 -0
  94. package/dist/core/audio/providers/FalAudioProvider.js +315 -0
  95. package/dist/core/audio/providers/FalAudioProvider.js.map +1 -0
  96. package/dist/core/audio/providers/MusicGenLocalProvider.d.ts +136 -0
  97. package/dist/core/audio/providers/MusicGenLocalProvider.d.ts.map +1 -0
  98. package/dist/core/audio/providers/MusicGenLocalProvider.js +235 -0
  99. package/dist/core/audio/providers/MusicGenLocalProvider.js.map +1 -0
  100. package/dist/core/audio/providers/ReplicateAudioProvider.d.ts +200 -0
  101. package/dist/core/audio/providers/ReplicateAudioProvider.d.ts.map +1 -0
  102. package/dist/core/audio/providers/ReplicateAudioProvider.js +346 -0
  103. package/dist/core/audio/providers/ReplicateAudioProvider.js.map +1 -0
  104. package/dist/core/audio/providers/StableAudioProvider.d.ts +138 -0
  105. package/dist/core/audio/providers/StableAudioProvider.d.ts.map +1 -0
  106. package/dist/core/audio/providers/StableAudioProvider.js +192 -0
  107. package/dist/core/audio/providers/StableAudioProvider.js.map +1 -0
  108. package/dist/core/audio/providers/SunoProvider.d.ts +182 -0
  109. package/dist/core/audio/providers/SunoProvider.d.ts.map +1 -0
  110. package/dist/core/audio/providers/SunoProvider.js +312 -0
  111. package/dist/core/audio/providers/SunoProvider.js.map +1 -0
  112. package/dist/core/audio/providers/UdioProvider.d.ts +177 -0
  113. package/dist/core/audio/providers/UdioProvider.d.ts.map +1 -0
  114. package/dist/core/audio/providers/UdioProvider.js +305 -0
  115. package/dist/core/audio/providers/UdioProvider.js.map +1 -0
  116. package/dist/core/audio/types.d.ts +257 -0
  117. package/dist/core/audio/types.d.ts.map +1 -0
  118. package/dist/core/audio/types.js +21 -0
  119. package/dist/core/audio/types.js.map +1 -0
  120. package/dist/core/images/FallbackImageProxy.d.ts +183 -0
  121. package/dist/core/images/FallbackImageProxy.d.ts.map +1 -0
  122. package/dist/core/images/FallbackImageProxy.js +283 -0
  123. package/dist/core/images/FallbackImageProxy.js.map +1 -0
  124. package/dist/core/images/IImageProvider.d.ts +1 -1
  125. package/dist/core/images/IImageProvider.d.ts.map +1 -1
  126. package/dist/core/images/index.d.ts +1 -0
  127. package/dist/core/images/index.d.ts.map +1 -1
  128. package/dist/core/images/index.js +1 -0
  129. package/dist/core/images/index.js.map +1 -1
  130. package/dist/core/llm/providers/AIModelProviderManager.d.ts +3 -1
  131. package/dist/core/llm/providers/AIModelProviderManager.d.ts.map +1 -1
  132. package/dist/core/llm/providers/AIModelProviderManager.js +8 -0
  133. package/dist/core/llm/providers/AIModelProviderManager.js.map +1 -1
  134. package/dist/core/llm/providers/errors/ClaudeCodeProviderError.d.ts +52 -0
  135. package/dist/core/llm/providers/errors/ClaudeCodeProviderError.d.ts.map +1 -0
  136. package/dist/core/llm/providers/errors/ClaudeCodeProviderError.js +36 -0
  137. package/dist/core/llm/providers/errors/ClaudeCodeProviderError.js.map +1 -0
  138. package/dist/core/llm/providers/errors/GeminiCLIProviderError.d.ts +32 -0
  139. package/dist/core/llm/providers/errors/GeminiCLIProviderError.d.ts.map +1 -0
  140. package/dist/core/llm/providers/errors/GeminiCLIProviderError.js +27 -0
  141. package/dist/core/llm/providers/errors/GeminiCLIProviderError.js.map +1 -0
  142. package/dist/core/llm/providers/implementations/ClaudeCodeCLIBridge.d.ts +38 -0
  143. package/dist/core/llm/providers/implementations/ClaudeCodeCLIBridge.d.ts.map +1 -0
  144. package/dist/core/llm/providers/implementations/ClaudeCodeCLIBridge.js +128 -0
  145. package/dist/core/llm/providers/implementations/ClaudeCodeCLIBridge.js.map +1 -0
  146. package/dist/core/llm/providers/implementations/ClaudeCodeProvider.d.ts +107 -0
  147. package/dist/core/llm/providers/implementations/ClaudeCodeProvider.d.ts.map +1 -0
  148. package/dist/core/llm/providers/implementations/ClaudeCodeProvider.js +504 -0
  149. package/dist/core/llm/providers/implementations/ClaudeCodeProvider.js.map +1 -0
  150. package/dist/core/llm/providers/implementations/GeminiCLIBridge.d.ts +60 -0
  151. package/dist/core/llm/providers/implementations/GeminiCLIBridge.d.ts.map +1 -0
  152. package/dist/core/llm/providers/implementations/GeminiCLIBridge.js +177 -0
  153. package/dist/core/llm/providers/implementations/GeminiCLIBridge.js.map +1 -0
  154. package/dist/core/llm/providers/implementations/GeminiCLIProvider.d.ts +55 -0
  155. package/dist/core/llm/providers/implementations/GeminiCLIProvider.d.ts.map +1 -0
  156. package/dist/core/llm/providers/implementations/GeminiCLIProvider.js +447 -0
  157. package/dist/core/llm/providers/implementations/GeminiCLIProvider.js.map +1 -0
  158. package/dist/core/media/ProviderPreferences.d.ts +158 -0
  159. package/dist/core/media/ProviderPreferences.d.ts.map +1 -0
  160. package/dist/core/media/ProviderPreferences.js +183 -0
  161. package/dist/core/media/ProviderPreferences.js.map +1 -0
  162. package/dist/core/subprocess/CLIRegistry.d.ts +71 -0
  163. package/dist/core/subprocess/CLIRegistry.d.ts.map +1 -0
  164. package/dist/core/subprocess/CLIRegistry.js +210 -0
  165. package/dist/core/subprocess/CLIRegistry.js.map +1 -0
  166. package/dist/core/subprocess/CLISubprocessBridge.d.ts +117 -0
  167. package/dist/core/subprocess/CLISubprocessBridge.d.ts.map +1 -0
  168. package/dist/core/subprocess/CLISubprocessBridge.js +199 -0
  169. package/dist/core/subprocess/CLISubprocessBridge.js.map +1 -0
  170. package/dist/core/subprocess/errors.d.ts +76 -0
  171. package/dist/core/subprocess/errors.d.ts.map +1 -0
  172. package/dist/core/subprocess/errors.js +75 -0
  173. package/dist/core/subprocess/errors.js.map +1 -0
  174. package/dist/core/subprocess/index.d.ts +11 -0
  175. package/dist/core/subprocess/index.d.ts.map +1 -0
  176. package/dist/core/subprocess/index.js +10 -0
  177. package/dist/core/subprocess/index.js.map +1 -0
  178. package/dist/core/subprocess/types.d.ts +100 -0
  179. package/dist/core/subprocess/types.d.ts.map +1 -0
  180. package/dist/core/subprocess/types.js +9 -0
  181. package/dist/core/subprocess/types.js.map +1 -0
  182. package/dist/core/video/FallbackVideoProxy.d.ts +166 -0
  183. package/dist/core/video/FallbackVideoProxy.d.ts.map +1 -0
  184. package/dist/core/video/FallbackVideoProxy.js +228 -0
  185. package/dist/core/video/FallbackVideoProxy.js.map +1 -0
  186. package/dist/core/video/IVideoAnalyzer.d.ts +29 -0
  187. package/dist/core/video/IVideoAnalyzer.d.ts.map +1 -0
  188. package/dist/core/video/IVideoAnalyzer.js +12 -0
  189. package/dist/core/video/IVideoAnalyzer.js.map +1 -0
  190. package/dist/core/video/IVideoGenerator.d.ts +76 -0
  191. package/dist/core/video/IVideoGenerator.d.ts.map +1 -0
  192. package/dist/core/video/IVideoGenerator.js +13 -0
  193. package/dist/core/video/IVideoGenerator.js.map +1 -0
  194. package/dist/core/video/VideoAnalyzer.d.ts +278 -0
  195. package/dist/core/video/VideoAnalyzer.d.ts.map +1 -0
  196. package/dist/core/video/VideoAnalyzer.js +648 -0
  197. package/dist/core/video/VideoAnalyzer.js.map +1 -0
  198. package/dist/core/video/index.d.ts +55 -0
  199. package/dist/core/video/index.d.ts.map +1 -0
  200. package/dist/core/video/index.js +78 -0
  201. package/dist/core/video/index.js.map +1 -0
  202. package/dist/core/video/providers/FalVideoProvider.d.ts +195 -0
  203. package/dist/core/video/providers/FalVideoProvider.d.ts.map +1 -0
  204. package/dist/core/video/providers/FalVideoProvider.js +322 -0
  205. package/dist/core/video/providers/FalVideoProvider.js.map +1 -0
  206. package/dist/core/video/providers/ReplicateVideoProvider.d.ts +194 -0
  207. package/dist/core/video/providers/ReplicateVideoProvider.d.ts.map +1 -0
  208. package/dist/core/video/providers/ReplicateVideoProvider.js +356 -0
  209. package/dist/core/video/providers/ReplicateVideoProvider.js.map +1 -0
  210. package/dist/core/video/providers/RunwayVideoProvider.d.ts +175 -0
  211. package/dist/core/video/providers/RunwayVideoProvider.d.ts.map +1 -0
  212. package/dist/core/video/providers/RunwayVideoProvider.js +293 -0
  213. package/dist/core/video/providers/RunwayVideoProvider.js.map +1 -0
  214. package/dist/core/video/types.d.ts +441 -0
  215. package/dist/core/video/types.d.ts.map +1 -0
  216. package/dist/core/video/types.js +10 -0
  217. package/dist/core/video/types.js.map +1 -0
  218. package/dist/core/vision/SceneDetector.d.ts +180 -0
  219. package/dist/core/vision/SceneDetector.d.ts.map +1 -0
  220. package/dist/core/vision/SceneDetector.js +366 -0
  221. package/dist/core/vision/SceneDetector.js.map +1 -0
  222. package/dist/core/vision/index.d.ts +2 -1
  223. package/dist/core/vision/index.d.ts.map +1 -1
  224. package/dist/core/vision/index.js +1 -0
  225. package/dist/core/vision/index.js.map +1 -1
  226. package/dist/core/vision/types.d.ts +125 -0
  227. package/dist/core/vision/types.d.ts.map +1 -1
  228. package/dist/discovery/CapabilityDiscoveryEngine.d.ts +32 -0
  229. package/dist/discovery/CapabilityDiscoveryEngine.d.ts.map +1 -1
  230. package/dist/discovery/CapabilityDiscoveryEngine.js +46 -0
  231. package/dist/discovery/CapabilityDiscoveryEngine.js.map +1 -1
  232. package/dist/emergent/AdaptPersonalityTool.d.ts +158 -0
  233. package/dist/emergent/AdaptPersonalityTool.d.ts.map +1 -0
  234. package/dist/emergent/AdaptPersonalityTool.js +190 -0
  235. package/dist/emergent/AdaptPersonalityTool.js.map +1 -0
  236. package/dist/emergent/CreateWorkflowTool.d.ts +181 -0
  237. package/dist/emergent/CreateWorkflowTool.d.ts.map +1 -0
  238. package/dist/emergent/CreateWorkflowTool.js +307 -0
  239. package/dist/emergent/CreateWorkflowTool.js.map +1 -0
  240. package/dist/emergent/ManageSkillsTool.d.ts +154 -0
  241. package/dist/emergent/ManageSkillsTool.d.ts.map +1 -0
  242. package/dist/emergent/ManageSkillsTool.js +241 -0
  243. package/dist/emergent/ManageSkillsTool.js.map +1 -0
  244. package/dist/emergent/PersonalityMutationStore.d.ts +183 -0
  245. package/dist/emergent/PersonalityMutationStore.d.ts.map +1 -0
  246. package/dist/emergent/PersonalityMutationStore.js +222 -0
  247. package/dist/emergent/PersonalityMutationStore.js.map +1 -0
  248. package/dist/emergent/SelfEvaluateTool.d.ts +189 -0
  249. package/dist/emergent/SelfEvaluateTool.d.ts.map +1 -0
  250. package/dist/emergent/SelfEvaluateTool.js +353 -0
  251. package/dist/emergent/SelfEvaluateTool.js.map +1 -0
  252. package/dist/emergent/SelfImprovementConfig.d.ts +166 -0
  253. package/dist/emergent/SelfImprovementConfig.d.ts.map +1 -0
  254. package/dist/emergent/SelfImprovementConfig.js +43 -0
  255. package/dist/emergent/SelfImprovementConfig.js.map +1 -0
  256. package/dist/emergent/index.d.ts +1 -0
  257. package/dist/emergent/index.d.ts.map +1 -1
  258. package/dist/emergent/index.js +1 -0
  259. package/dist/emergent/index.js.map +1 -1
  260. package/dist/emergent/types.d.ts +9 -0
  261. package/dist/emergent/types.d.ts.map +1 -1
  262. package/dist/emergent/types.js.map +1 -1
  263. package/dist/extensions/MultiRegistryLoader.js.map +1 -1
  264. package/dist/index.d.ts +17 -2
  265. package/dist/index.d.ts.map +1 -1
  266. package/dist/index.js +12 -0
  267. package/dist/index.js.map +1 -1
  268. package/dist/memory/CognitiveMemoryManager.d.ts +40 -0
  269. package/dist/memory/CognitiveMemoryManager.d.ts.map +1 -1
  270. package/dist/memory/CognitiveMemoryManager.js +54 -1
  271. package/dist/memory/CognitiveMemoryManager.js.map +1 -1
  272. package/dist/memory/facade/Memory.d.ts +4 -0
  273. package/dist/memory/facade/Memory.d.ts.map +1 -1
  274. package/dist/memory/facade/Memory.js +140 -4
  275. package/dist/memory/facade/Memory.js.map +1 -1
  276. package/dist/memory/facade/types.d.ts +30 -2
  277. package/dist/memory/facade/types.d.ts.map +1 -1
  278. package/dist/memory/index.d.ts +1 -0
  279. package/dist/memory/index.d.ts.map +1 -1
  280. package/dist/memory/index.js +1 -0
  281. package/dist/memory/index.js.map +1 -1
  282. package/dist/memory/types.d.ts +15 -0
  283. package/dist/memory/types.d.ts.map +1 -1
  284. package/dist/query-router/QueryClassifier.d.ts +192 -21
  285. package/dist/query-router/QueryClassifier.d.ts.map +1 -1
  286. package/dist/query-router/QueryClassifier.js +604 -23
  287. package/dist/query-router/QueryClassifier.js.map +1 -1
  288. package/dist/query-router/QueryDispatcher.d.ts +106 -8
  289. package/dist/query-router/QueryDispatcher.d.ts.map +1 -1
  290. package/dist/query-router/QueryDispatcher.js +387 -8
  291. package/dist/query-router/QueryDispatcher.js.map +1 -1
  292. package/dist/query-router/QueryRouter.d.ts +198 -14
  293. package/dist/query-router/QueryRouter.d.ts.map +1 -1
  294. package/dist/query-router/QueryRouter.js +738 -50
  295. package/dist/query-router/QueryRouter.js.map +1 -1
  296. package/dist/query-router/index.d.ts +1 -1
  297. package/dist/query-router/index.d.ts.map +1 -1
  298. package/dist/query-router/index.js +1 -1
  299. package/dist/query-router/index.js.map +1 -1
  300. package/dist/query-router/types.d.ts +396 -3
  301. package/dist/query-router/types.d.ts.map +1 -1
  302. package/dist/query-router/types.js +35 -0
  303. package/dist/query-router/types.js.map +1 -1
  304. package/dist/rag/HydeRetriever.d.ts +108 -0
  305. package/dist/rag/HydeRetriever.d.ts.map +1 -1
  306. package/dist/rag/HydeRetriever.js +184 -0
  307. package/dist/rag/HydeRetriever.js.map +1 -1
  308. package/dist/rag/IRetrievalAugmentor.d.ts +15 -0
  309. package/dist/rag/IRetrievalAugmentor.d.ts.map +1 -1
  310. package/dist/rag/RetrievalAugmentor.d.ts +58 -0
  311. package/dist/rag/RetrievalAugmentor.d.ts.map +1 -1
  312. package/dist/rag/RetrievalAugmentor.js +200 -32
  313. package/dist/rag/RetrievalAugmentor.js.map +1 -1
  314. package/dist/rag/VectorStoreManager.js +1 -1
  315. package/dist/rag/audit/RAGAuditCollector.d.ts +7 -0
  316. package/dist/rag/audit/RAGAuditCollector.d.ts.map +1 -1
  317. package/dist/rag/audit/RAGAuditCollector.js +10 -0
  318. package/dist/rag/audit/RAGAuditCollector.js.map +1 -1
  319. package/dist/rag/audit/RAGAuditTypes.d.ts +10 -1
  320. package/dist/rag/audit/RAGAuditTypes.d.ts.map +1 -1
  321. package/dist/rag/chunking/SemanticChunker.d.ts +210 -0
  322. package/dist/rag/chunking/SemanticChunker.d.ts.map +1 -0
  323. package/dist/rag/chunking/SemanticChunker.js +460 -0
  324. package/dist/rag/chunking/SemanticChunker.js.map +1 -0
  325. package/dist/rag/chunking/index.d.ts +10 -0
  326. package/dist/rag/chunking/index.d.ts.map +1 -0
  327. package/dist/rag/chunking/index.js +10 -0
  328. package/dist/rag/chunking/index.js.map +1 -0
  329. package/dist/rag/implementations/vector_stores/PineconeVectorStore.d.ts +103 -0
  330. package/dist/rag/implementations/vector_stores/PineconeVectorStore.d.ts.map +1 -0
  331. package/dist/rag/implementations/vector_stores/PineconeVectorStore.js +315 -0
  332. package/dist/rag/implementations/vector_stores/PineconeVectorStore.js.map +1 -0
  333. package/dist/rag/implementations/vector_stores/PostgresVectorStore.d.ts +107 -0
  334. package/dist/rag/implementations/vector_stores/PostgresVectorStore.d.ts.map +1 -0
  335. package/dist/rag/implementations/vector_stores/PostgresVectorStore.js +438 -0
  336. package/dist/rag/implementations/vector_stores/PostgresVectorStore.js.map +1 -0
  337. package/dist/rag/index.d.ts +15 -1
  338. package/dist/rag/index.d.ts.map +1 -1
  339. package/dist/rag/index.js +32 -0
  340. package/dist/rag/index.js.map +1 -1
  341. package/dist/rag/migration/MigrationEngine.d.ts +47 -0
  342. package/dist/rag/migration/MigrationEngine.d.ts.map +1 -0
  343. package/dist/rag/migration/MigrationEngine.js +168 -0
  344. package/dist/rag/migration/MigrationEngine.js.map +1 -0
  345. package/dist/rag/migration/adapters/PineconeSourceAdapter.d.ts +23 -0
  346. package/dist/rag/migration/adapters/PineconeSourceAdapter.d.ts.map +1 -0
  347. package/dist/rag/migration/adapters/PineconeSourceAdapter.js +63 -0
  348. package/dist/rag/migration/adapters/PineconeSourceAdapter.js.map +1 -0
  349. package/dist/rag/migration/adapters/PostgresSourceAdapter.d.ts +30 -0
  350. package/dist/rag/migration/adapters/PostgresSourceAdapter.d.ts.map +1 -0
  351. package/dist/rag/migration/adapters/PostgresSourceAdapter.js +71 -0
  352. package/dist/rag/migration/adapters/PostgresSourceAdapter.js.map +1 -0
  353. package/dist/rag/migration/adapters/PostgresTargetAdapter.d.ts +38 -0
  354. package/dist/rag/migration/adapters/PostgresTargetAdapter.d.ts.map +1 -0
  355. package/dist/rag/migration/adapters/PostgresTargetAdapter.js +114 -0
  356. package/dist/rag/migration/adapters/PostgresTargetAdapter.js.map +1 -0
  357. package/dist/rag/migration/adapters/QdrantSourceAdapter.d.ts +36 -0
  358. package/dist/rag/migration/adapters/QdrantSourceAdapter.d.ts.map +1 -0
  359. package/dist/rag/migration/adapters/QdrantSourceAdapter.js +109 -0
  360. package/dist/rag/migration/adapters/QdrantSourceAdapter.js.map +1 -0
  361. package/dist/rag/migration/adapters/QdrantTargetAdapter.d.ts +35 -0
  362. package/dist/rag/migration/adapters/QdrantTargetAdapter.d.ts.map +1 -0
  363. package/dist/rag/migration/adapters/QdrantTargetAdapter.js +110 -0
  364. package/dist/rag/migration/adapters/QdrantTargetAdapter.js.map +1 -0
  365. package/dist/rag/migration/adapters/SqliteSourceAdapter.d.ts +37 -0
  366. package/dist/rag/migration/adapters/SqliteSourceAdapter.d.ts.map +1 -0
  367. package/dist/rag/migration/adapters/SqliteSourceAdapter.js +72 -0
  368. package/dist/rag/migration/adapters/SqliteSourceAdapter.js.map +1 -0
  369. package/dist/rag/migration/adapters/SqliteTargetAdapter.d.ts +47 -0
  370. package/dist/rag/migration/adapters/SqliteTargetAdapter.d.ts.map +1 -0
  371. package/dist/rag/migration/adapters/SqliteTargetAdapter.js +93 -0
  372. package/dist/rag/migration/adapters/SqliteTargetAdapter.js.map +1 -0
  373. package/dist/rag/migration/types.d.ts +108 -0
  374. package/dist/rag/migration/types.d.ts.map +1 -0
  375. package/dist/rag/migration/types.js +11 -0
  376. package/dist/rag/migration/types.js.map +1 -0
  377. package/dist/rag/multimodal/MultimodalIndexer.d.ts +35 -0
  378. package/dist/rag/multimodal/MultimodalIndexer.d.ts.map +1 -1
  379. package/dist/rag/multimodal/MultimodalIndexer.js +66 -1
  380. package/dist/rag/multimodal/MultimodalIndexer.js.map +1 -1
  381. package/dist/rag/multimodal/types.d.ts +24 -0
  382. package/dist/rag/multimodal/types.d.ts.map +1 -1
  383. package/dist/rag/raptor/RaptorTree.d.ts +268 -0
  384. package/dist/rag/raptor/RaptorTree.d.ts.map +1 -0
  385. package/dist/rag/raptor/RaptorTree.js +443 -0
  386. package/dist/rag/raptor/RaptorTree.js.map +1 -0
  387. package/dist/rag/raptor/index.d.ts +11 -0
  388. package/dist/rag/raptor/index.d.ts.map +1 -0
  389. package/dist/rag/raptor/index.js +11 -0
  390. package/dist/rag/raptor/index.js.map +1 -0
  391. package/dist/rag/reranking/providers/CohereReranker.js.map +1 -1
  392. package/dist/rag/search/BM25Index.d.ts +282 -0
  393. package/dist/rag/search/BM25Index.d.ts.map +1 -0
  394. package/dist/rag/search/BM25Index.js +344 -0
  395. package/dist/rag/search/BM25Index.js.map +1 -0
  396. package/dist/rag/search/HybridSearcher.d.ts +198 -0
  397. package/dist/rag/search/HybridSearcher.d.ts.map +1 -0
  398. package/dist/rag/search/HybridSearcher.js +316 -0
  399. package/dist/rag/search/HybridSearcher.js.map +1 -0
  400. package/dist/rag/search/index.d.ts +12 -0
  401. package/dist/rag/search/index.d.ts.map +1 -0
  402. package/dist/rag/search/index.js +12 -0
  403. package/dist/rag/search/index.js.map +1 -0
  404. package/dist/rag/setup/DockerDetector.d.ts +67 -0
  405. package/dist/rag/setup/DockerDetector.d.ts.map +1 -0
  406. package/dist/rag/setup/DockerDetector.js +125 -0
  407. package/dist/rag/setup/DockerDetector.js.map +1 -0
  408. package/dist/rag/setup/PostgresSetup.d.ts +20 -0
  409. package/dist/rag/setup/PostgresSetup.d.ts.map +1 -0
  410. package/dist/rag/setup/PostgresSetup.js +133 -0
  411. package/dist/rag/setup/PostgresSetup.js.map +1 -0
  412. package/dist/rag/setup/QdrantSetup.d.ts +26 -0
  413. package/dist/rag/setup/QdrantSetup.d.ts.map +1 -0
  414. package/dist/rag/setup/QdrantSetup.js +96 -0
  415. package/dist/rag/setup/QdrantSetup.js.map +1 -0
  416. package/dist/rag/setup/types.d.ts +55 -0
  417. package/dist/rag/setup/types.d.ts.map +1 -0
  418. package/dist/rag/setup/types.js +6 -0
  419. package/dist/rag/setup/types.js.map +1 -0
  420. package/dist/rag/unified/UnifiedRetriever.d.ts +472 -0
  421. package/dist/rag/unified/UnifiedRetriever.d.ts.map +1 -0
  422. package/dist/rag/unified/UnifiedRetriever.js +887 -0
  423. package/dist/rag/unified/UnifiedRetriever.js.map +1 -0
  424. package/dist/rag/unified/index.d.ts +24 -0
  425. package/dist/rag/unified/index.d.ts.map +1 -0
  426. package/dist/rag/unified/index.js +23 -0
  427. package/dist/rag/unified/index.js.map +1 -0
  428. package/dist/rag/unified/types.d.ts +546 -0
  429. package/dist/rag/unified/types.d.ts.map +1 -0
  430. package/dist/rag/unified/types.js +177 -0
  431. package/dist/rag/unified/types.js.map +1 -0
  432. package/dist/speech/providers/AssemblyAISTTProvider.js.map +1 -1
  433. package/dist/speech/providers/AzureSpeechSTTProvider.js.map +1 -1
  434. package/dist/speech/providers/BuiltInAdaptiveVadProvider.d.ts +1 -1
  435. package/dist/speech/providers/DeepgramBatchSTTProvider.js.map +1 -1
  436. package/package.json +5 -2
@@ -1,26 +1,41 @@
1
1
  /**
2
2
  * @fileoverview QueryClassifier — chain-of-thought LLM classifier that
3
- * determines the retrieval depth tier (T0-T3) for each incoming query.
3
+ * determines both the retrieval depth tier (T0-T3) and the retrieval
4
+ * strategy (`none` / `simple` / `moderate` / `complex`) for each query,
5
+ * along with capability recommendations (skills, tools, extensions).
4
6
  *
5
7
  * The classifier is the first stage of the QueryRouter pipeline. It examines
6
8
  * the user's query (and optional conversation history) to decide how much
7
9
  * retrieval effort is needed:
8
10
  *
9
- * - **T0 (Trivial)**: No retrieval — answer from internal knowledge or context.
10
- * - **T1 (Simple lookup)**: Single-source vector search.
11
- * - **T2 (Multi-source)**: Cross-document retrieval + optional graph traversal.
12
- * - **T3 (Research)**: Deep iterative research across the full corpus.
11
+ * - **T0 (Trivial)** / `none`: No retrieval — answer from internal knowledge.
12
+ * - **T1 (Simple)** / `simple`: Direct embedding search — fast, cheap.
13
+ * - **T2 (Multi-source)** / `moderate`: HyDE retrieval hypothesis-based
14
+ * embedding bridges vocabulary mismatch between questions and docs.
15
+ * - **T3 (Research)** / `complex`: HyDE + deep research — decompose multi-part
16
+ * queries into sub-queries, HyDE per sub-query, then merge + synthesize.
13
17
  *
14
- * The classifier calls an LLM with a chain-of-thought system prompt, parses
15
- * the structured JSON response, and applies confidence-based tier bumping
16
- * and maxTier capping before returning a {@link ClassificationResult}.
18
+ * **Strategy selection criteria** (LLM-as-judge evaluates):
19
+ * - Is the query factual/concrete or abstract/vague?
20
+ * - Does it require reasoning across multiple documents?
21
+ * - Would vocabulary mismatch between query and docs degrade direct search?
22
+ * - Is decomposition needed (multi-part question)?
17
23
  *
18
- * On any failure (LLM error, JSON parse error), a safe T1 fallback is returned
19
- * to ensure the pipeline never completely stalls.
24
+ * **Capability selection** (when a CapabilityDiscoveryEngine is attached):
25
+ * - Tier 0 summaries (~150 tokens) from the discovery engine are injected
26
+ * into the classification prompt so the LLM can recommend which skills,
27
+ * tools, and extensions to activate.
28
+ * - When no discovery engine is available, a keyword-based heuristic
29
+ * selects capabilities as a zero-cost fallback.
30
+ *
31
+ * The classifier also includes a zero-cost **heuristic fallback** for offline
32
+ * and cost-constrained scenarios.
20
33
  *
21
34
  * @module @framers/agentos/query-router/QueryClassifier
22
35
  */
23
- import type { ClassificationResult, ConversationMessage, QueryTier } from './types.js';
36
+ import type { ClassificationResult, ConversationMessage, QueryTier, RetrievalStrategy } from './types.js';
37
+ import type { ExecutionPlan, SkillRecommendation, ToolRecommendation } from '../rag/unified/types.js';
38
+ import type { CapabilityDiscoveryEngine } from '../discovery/CapabilityDiscoveryEngine.js';
24
39
  /**
25
40
  * Configuration for the {@link QueryClassifier}.
26
41
  *
@@ -55,9 +70,32 @@ export interface QueryClassifierConfig {
55
70
  /** Optional base URL override for the LLM provider. */
56
71
  baseUrl?: string;
57
72
  }
73
+ /**
74
+ * Rule-based heuristic classifier for retrieval strategy selection.
75
+ *
76
+ * Provides a zero-cost, zero-latency alternative to the LLM classifier.
77
+ * Evaluates query characteristics (word count, question words, multi-part
78
+ * indicators, abstraction signals) to recommend a retrieval strategy.
79
+ *
80
+ * Heuristic rules (evaluated in order):
81
+ * 1. Very short queries (<=5 words) without question words → `simple`
82
+ * 2. Multi-part indicators ("and also", "compare", "differences") → `complex`
83
+ * 3. Long queries (>30 words) → `complex`
84
+ * 4. Abstract/reasoning question words with >10 words → `moderate`
85
+ * 5. Greeting patterns → `none`
86
+ * 6. Default → `simple`
87
+ *
88
+ * @param query - The raw user query string.
89
+ * @returns The recommended retrieval strategy.
90
+ */
91
+ export declare function heuristicClassify(query: string): RetrievalStrategy;
58
92
  /**
59
93
  * Chain-of-thought LLM classifier that determines retrieval depth (T0-T3)
60
- * for each incoming query.
94
+ * and retrieval strategy (`none`/`simple`/`moderate`/`complex`) for each
95
+ * incoming query.
96
+ *
97
+ * The strategy field controls whether HyDE (Hypothetical Document Embedding)
98
+ * is engaged during retrieval and at what depth.
61
99
  *
62
100
  * @example
63
101
  * ```ts
@@ -71,34 +109,133 @@ export interface QueryClassifierConfig {
71
109
  * });
72
110
  *
73
111
  * const result = await classifier.classify('How does auth work?');
74
- * console.log(result.tier); // 1
112
+ * console.log(result.tier); // 1
113
+ * console.log(result.strategy); // 'moderate'
75
114
  * ```
76
115
  */
77
116
  export declare class QueryClassifier {
78
117
  /** Immutable classifier configuration. */
79
118
  private readonly config;
119
+ /**
120
+ * Optional capability discovery engine for Tier 0 summaries.
121
+ *
122
+ * When set, the plan-aware classifier injects category-level capability
123
+ * summaries (~150 tokens) into the LLM prompt so it can recommend which
124
+ * skills, tools, and extensions to activate. When absent, the classifier
125
+ * falls back to keyword-based heuristic capability selection.
126
+ */
127
+ private discoveryEngine;
80
128
  /**
81
129
  * Creates a new QueryClassifier instance.
82
130
  * @param config - Classifier configuration with model, provider, and thresholds.
83
131
  */
84
132
  constructor(config: QueryClassifierConfig);
85
133
  /**
86
- * Classifies a user query into a retrieval tier.
134
+ * Attach a {@link CapabilityDiscoveryEngine} for Tier 0 capability summaries.
135
+ *
136
+ * When attached, the plan-aware classifier (`classifyWithPlan`) injects
137
+ * category-level summaries of all available skills, tools, and extensions
138
+ * into the LLM prompt. This allows the LLM to recommend capability
139
+ * activations alongside the retrieval plan, without loading full schemas.
140
+ *
141
+ * @param engine - A configured and initialized CapabilityDiscoveryEngine, or `null` to detach.
142
+ *
143
+ * @example
144
+ * ```typescript
145
+ * const engine = new CapabilityDiscoveryEngine(embeddingManager, vectorStore);
146
+ * await engine.initialize({ tools, skills, extensions, channels });
147
+ * classifier.setCapabilityDiscoveryEngine(engine);
148
+ * ```
149
+ */
150
+ setCapabilityDiscoveryEngine(engine: CapabilityDiscoveryEngine | null): void;
151
+ /**
152
+ * Get the attached CapabilityDiscoveryEngine, if any.
153
+ *
154
+ * @returns The discovery engine instance, or `null` if not configured.
155
+ */
156
+ getCapabilityDiscoveryEngine(): CapabilityDiscoveryEngine | null;
157
+ /**
158
+ * Classifies a user query into a retrieval tier and strategy.
87
159
  *
88
160
  * Steps:
89
- * 1. Builds a chain-of-thought system prompt with tier definitions, topic list,
90
- * tool list, and optional conversation context.
161
+ * 1. Builds a chain-of-thought system prompt with tier definitions, strategy
162
+ * definitions, topic list, tool list, and optional conversation context.
91
163
  * 2. Calls the LLM via `generateText`.
92
164
  * 3. Parses the JSON response (handling optional markdown code fences).
93
- * 4. Applies confidence-based tier bumping: if confidence < threshold, tier += 1.
94
- * 5. Caps the tier at the configured `maxTier`.
95
- * 6. On ANY error, returns a safe T1 fallback with confidence 0.
165
+ * 4. Validates and normalises the `strategy` field (falls back to tier-inferred).
166
+ * 5. Applies confidence-based tier bumping: if confidence < threshold, tier += 1.
167
+ * 6. Caps the tier at the configured `maxTier`.
168
+ * 7. On ANY error, returns a safe T1/simple fallback with confidence 0.
96
169
  *
97
170
  * @param query - The user's query text to classify.
98
171
  * @param conversationHistory - Optional recent conversation messages for context.
99
- * @returns A {@link ClassificationResult} with tier, confidence, reasoning, and metadata.
172
+ * @returns A {@link ClassificationResult} with tier, strategy, confidence, reasoning, and metadata.
100
173
  */
101
174
  classify(query: string, conversationHistory?: ConversationMessage[]): Promise<ClassificationResult>;
175
+ /**
176
+ * Classifies a query and produces a full {@link ExecutionPlan}.
177
+ *
178
+ * This is an enhanced alternative to {@link classify} that evaluates more
179
+ * dimensions (source selection, memory relevance, modality, temporal
180
+ * preferences, decomposability, capability recommendations) and outputs a
181
+ * structured plan that the {@link UnifiedRetriever} can execute directly,
182
+ * along with skill/tool/extension recommendations for the agent runtime.
183
+ *
184
+ * When a {@link CapabilityDiscoveryEngine} is attached (via
185
+ * {@link setCapabilityDiscoveryEngine}), the LLM prompt includes Tier 0
186
+ * summaries (~150 tokens) of all available capabilities, enabling the LLM
187
+ * to recommend specific skills, tools, and extensions.
188
+ *
189
+ * Falls back to {@link buildDefaultExecutionPlan} with heuristic capability
190
+ * selection when classification fails or the LLM response is malformed.
191
+ *
192
+ * @param query - The user's query text to classify.
193
+ * @param conversationHistory - Optional recent conversation messages for context.
194
+ * @returns A tuple of [ClassificationResult, ExecutionPlan].
195
+ *
196
+ * @example
197
+ * ```typescript
198
+ * const [classification, plan] = await classifier.classifyWithPlan(
199
+ * 'Search the web for recent AI news and summarize findings',
200
+ * );
201
+ * // plan.skills → [{ skillId: 'web-search', ... }]
202
+ * // plan.tools → []
203
+ * const result = await unifiedRetriever.retrieve(query, plan);
204
+ * ```
205
+ *
206
+ * @see classify for the simpler tier+strategy classification
207
+ * @see buildDefaultExecutionPlan for execution plan defaults per strategy level
208
+ */
209
+ classifyWithPlan(query: string, conversationHistory?: ConversationMessage[]): Promise<[ClassificationResult, ExecutionPlan]>;
210
+ /**
211
+ * Builds the plan-aware system prompt by replacing template placeholders.
212
+ *
213
+ * When a {@link CapabilityDiscoveryEngine} is attached, Tier 0 summaries
214
+ * for skills, tools, and extensions are injected into the prompt via the
215
+ * `{{SKILL_SUMMARIES}}`, `{{TOOL_SUMMARIES}}`, and `{{EXTENSION_SUMMARIES}}`
216
+ * placeholders. This costs ~150 extra tokens total but enables the LLM to
217
+ * make informed capability activation recommendations.
218
+ *
219
+ * When no discovery engine is attached, the capability summary placeholders
220
+ * are replaced with a "Not available" message.
221
+ *
222
+ * @param conversationHistory - Optional conversation messages to include.
223
+ * @returns The fully rendered plan system prompt string.
224
+ */
225
+ private buildPlanSystemPrompt;
226
+ /**
227
+ * Parses the LLM response for plan-aware classification.
228
+ *
229
+ * Extracts the base {@link ClassificationResult}, the full retrieval
230
+ * configuration, AND capability recommendations (skills, tools, extensions)
231
+ * from the LLM JSON output. Missing plan fields are filled from
232
+ * {@link buildDefaultPlan} defaults. Missing capability arrays default to empty.
233
+ *
234
+ * @param text - Raw text from the LLM response.
235
+ * @returns Parsed classification result and execution plan.
236
+ * @throws If the response cannot be parsed as valid JSON.
237
+ */
238
+ private parsePlanResponse;
102
239
  /**
103
240
  * Builds the system prompt by replacing template placeholders with actual
104
241
  * topic list, tool list, and conversation context.
@@ -114,6 +251,10 @@ export declare class QueryClassifier {
114
251
  * - Raw JSON object
115
252
  * - JSON wrapped in markdown code fences (```json ... ```)
116
253
  *
254
+ * The `strategy` field is validated against the set of known strategies.
255
+ * If the LLM returns an unrecognized strategy or omits it, the strategy
256
+ * is inferred from the tier via {@link TIER_TO_STRATEGY}.
257
+ *
117
258
  * @param text - Raw text from the LLM response.
118
259
  * @returns A parsed {@link ClassificationResult}.
119
260
  * @throws If the response cannot be parsed as valid JSON.
@@ -123,18 +264,48 @@ export declare class QueryClassifier {
123
264
  * Applies post-classification constraints:
124
265
  * 1. If confidence < threshold, bump tier by 1 (request broader retrieval).
125
266
  * 2. Cap tier at the configured maxTier.
267
+ * 3. Re-synchronise the strategy with the potentially adjusted tier.
126
268
  *
127
269
  * @param result - The raw classification result from the LLM.
128
270
  * @returns The constrained classification result.
129
271
  */
130
272
  private applyConstraints;
131
273
  /**
132
- * Returns a safe T1 fallback result when classification fails for any reason.
274
+ * Returns a safe T1/simple fallback result when classification fails.
275
+ *
133
276
  * T1 ensures at least a basic vector search is performed, which is a
134
277
  * reasonable default when the classifier cannot determine the right tier.
278
+ * Strategy `simple` avoids the overhead of HyDE when the LLM is down.
135
279
  *
136
280
  * @returns A T1 {@link ClassificationResult} with confidence 0.
137
281
  */
138
282
  private fallbackResult;
139
283
  }
284
+ /**
285
+ * Rule-based heuristic capability selection for when no LLM is available.
286
+ *
287
+ * Evaluates the query against a curated set of keyword patterns to recommend
288
+ * skills and tools. This provides zero-latency capability recommendations
289
+ * as a fallback when the LLM classifier is unavailable, times out, or
290
+ * returns an error.
291
+ *
292
+ * The heuristic is intentionally conservative — it only recommends
293
+ * capabilities when there is a strong keyword signal. False negatives
294
+ * (missing a recommendation) are preferred over false positives (recommending
295
+ * unnecessary capabilities) to avoid activation overhead.
296
+ *
297
+ * @param query - The raw user query string.
298
+ * @returns Object with `skills` and `tools` recommendation arrays.
299
+ *
300
+ * @example
301
+ * ```typescript
302
+ * const caps = heuristicCapabilitySelect('Search the web for AI news and generate an image');
303
+ * // caps.skills → [{ skillId: 'web-search', ... }]
304
+ * // caps.tools → [{ toolId: 'generateImage', ... }]
305
+ * ```
306
+ */
307
+ export declare function heuristicCapabilitySelect(query: string): {
308
+ skills: SkillRecommendation[];
309
+ tools: ToolRecommendation[];
310
+ };
140
311
  //# sourceMappingURL=QueryClassifier.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryClassifier.d.ts","sourceRoot":"","sources":["../../src/query-router/QueryClassifier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACV,MAAM,YAAY,CAAC;AAMpB;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IAEd,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B,wDAAwD;IACxD,OAAO,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAuED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,eAAe;IAC1B,0CAA0C;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;;;;;;;;;;;OAeG;IACG,QAAQ,CACZ,KAAK,EAAE,MAAM,EACb,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,GAC1C,OAAO,CAAC,oBAAoB,CAAC;IAyBhC;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;IAezB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,aAAa;IAmBrB;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;IAiBxB;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;CAUvB"}
1
+ {"version":3,"file":"QueryClassifier.d.ts","sourceRoot":"","sources":["../../src/query-router/QueryClassifier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAOH,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACT,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EACV,aAAa,EAEb,mBAAmB,EACnB,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAM3F;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IAEd,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B,wDAAwD;IACxD,OAAO,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAuSD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB,CAwClE;AAMD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,eAAe;IAC1B,0CAA0C;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe,CAA0C;IAEjE;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;;;;;;;;;;;;OAgBG;IACH,4BAA4B,CAAC,MAAM,EAAE,yBAAyB,GAAG,IAAI,GAAG,IAAI;IAI5E;;;;OAIG;IACH,4BAA4B,IAAI,yBAAyB,GAAG,IAAI;IAIhE;;;;;;;;;;;;;;;;OAgBG;IACG,QAAQ,CACZ,KAAK,EAAE,MAAM,EACb,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,GAC1C,OAAO,CAAC,oBAAoB,CAAC;IAyBhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACG,gBAAgB,CACpB,KAAK,EAAE,MAAM,EACb,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,GAC1C,OAAO,CAAC,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC;IAyCjD;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,qBAAqB;IA8B7B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,iBAAiB;IAuGzB;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;IAezB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,aAAa;IA4BrB;;;;;;;;OAQG;IACH,OAAO,CAAC,gBAAgB;IA8BxB;;;;;;;;OAQG;IACH,OAAO,CAAC,cAAc;CAWvB;AAiDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG;IACxD,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CA8BA"}