@langchain/core 1.2.14 → 1.2.17

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 (720) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/agents.d.cts +3 -4
  3. package/dist/agents.d.cts.map +1 -1
  4. package/dist/agents.d.ts +3 -4
  5. package/dist/agents.d.ts.map +1 -1
  6. package/dist/caches/index.d.cts +5 -6
  7. package/dist/caches/index.d.cts.map +1 -1
  8. package/dist/caches/index.d.ts +5 -6
  9. package/dist/caches/index.d.ts.map +1 -1
  10. package/dist/callbacks/base.d.cts +10 -11
  11. package/dist/callbacks/base.d.cts.map +1 -1
  12. package/dist/callbacks/base.d.ts +10 -11
  13. package/dist/callbacks/base.d.ts.map +1 -1
  14. package/dist/callbacks/dispatch/index.d.cts +1 -2
  15. package/dist/callbacks/dispatch/index.d.cts.map +1 -1
  16. package/dist/callbacks/dispatch/index.d.ts +1 -2
  17. package/dist/callbacks/dispatch/index.d.ts.map +1 -1
  18. package/dist/callbacks/dispatch/web.d.cts +1 -2
  19. package/dist/callbacks/dispatch/web.d.cts.map +1 -1
  20. package/dist/callbacks/dispatch/web.d.ts +1 -2
  21. package/dist/callbacks/dispatch/web.d.ts.map +1 -1
  22. package/dist/callbacks/manager.cjs +1 -1
  23. package/dist/callbacks/manager.cjs.map +1 -1
  24. package/dist/callbacks/manager.d.cts +12 -13
  25. package/dist/callbacks/manager.d.cts.map +1 -1
  26. package/dist/callbacks/manager.d.ts +12 -13
  27. package/dist/callbacks/manager.d.ts.map +1 -1
  28. package/dist/callbacks/manager.js +1 -1
  29. package/dist/callbacks/manager.js.map +1 -1
  30. package/dist/chat_history.d.cts +3 -4
  31. package/dist/chat_history.d.cts.map +1 -1
  32. package/dist/chat_history.d.ts +3 -4
  33. package/dist/chat_history.d.ts.map +1 -1
  34. package/dist/context.d.cts +2 -2
  35. package/dist/context.d.cts.map +1 -1
  36. package/dist/context.d.ts +2 -2
  37. package/dist/context.d.ts.map +1 -1
  38. package/dist/document_loaders/base.d.cts +2 -3
  39. package/dist/document_loaders/base.d.cts.map +1 -1
  40. package/dist/document_loaders/base.d.ts +2 -3
  41. package/dist/document_loaders/base.d.ts.map +1 -1
  42. package/dist/document_loaders/langsmith.d.cts +2 -3
  43. package/dist/document_loaders/langsmith.d.cts.map +1 -1
  44. package/dist/document_loaders/langsmith.d.ts +2 -3
  45. package/dist/document_loaders/langsmith.d.ts.map +1 -1
  46. package/dist/documents/document.d.cts +3 -4
  47. package/dist/documents/document.d.cts.map +1 -1
  48. package/dist/documents/document.d.ts +3 -4
  49. package/dist/documents/document.d.ts.map +1 -1
  50. package/dist/documents/transformers.d.cts +2 -3
  51. package/dist/documents/transformers.d.cts.map +1 -1
  52. package/dist/documents/transformers.d.ts +2 -3
  53. package/dist/documents/transformers.d.ts.map +1 -1
  54. package/dist/embeddings.d.cts +3 -4
  55. package/dist/embeddings.d.cts.map +1 -1
  56. package/dist/embeddings.d.ts +3 -4
  57. package/dist/embeddings.d.ts.map +1 -1
  58. package/dist/errors/index.cjs.map +1 -1
  59. package/dist/errors/index.d.cts +13 -19
  60. package/dist/errors/index.d.cts.map +1 -1
  61. package/dist/errors/index.d.ts +13 -19
  62. package/dist/errors/index.d.ts.map +1 -1
  63. package/dist/errors/index.js.map +1 -1
  64. package/dist/example_selectors/base.d.cts +1 -2
  65. package/dist/example_selectors/base.d.cts.map +1 -1
  66. package/dist/example_selectors/base.d.ts +1 -2
  67. package/dist/example_selectors/base.d.ts.map +1 -1
  68. package/dist/example_selectors/conditional.d.cts +5 -6
  69. package/dist/example_selectors/conditional.d.cts.map +1 -1
  70. package/dist/example_selectors/conditional.d.ts +5 -6
  71. package/dist/example_selectors/conditional.d.ts.map +1 -1
  72. package/dist/example_selectors/length_based.d.cts +2 -3
  73. package/dist/example_selectors/length_based.d.cts.map +1 -1
  74. package/dist/example_selectors/length_based.d.ts +2 -3
  75. package/dist/example_selectors/length_based.d.ts.map +1 -1
  76. package/dist/example_selectors/semantic_similarity.d.cts +2 -3
  77. package/dist/example_selectors/semantic_similarity.d.cts.map +1 -1
  78. package/dist/example_selectors/semantic_similarity.d.ts +2 -3
  79. package/dist/example_selectors/semantic_similarity.d.ts.map +1 -1
  80. package/dist/indexing/base.d.cts +9 -10
  81. package/dist/indexing/base.d.cts.map +1 -1
  82. package/dist/indexing/base.d.ts +9 -10
  83. package/dist/indexing/base.d.ts.map +1 -1
  84. package/dist/indexing/record_manager.d.cts +5 -6
  85. package/dist/indexing/record_manager.d.cts.map +1 -1
  86. package/dist/indexing/record_manager.d.ts +5 -6
  87. package/dist/indexing/record_manager.d.ts.map +1 -1
  88. package/dist/language_models/base.cjs +1 -1
  89. package/dist/language_models/base.cjs.map +1 -1
  90. package/dist/language_models/base.d.cts +24 -25
  91. package/dist/language_models/base.d.cts.map +1 -1
  92. package/dist/language_models/base.d.ts +24 -25
  93. package/dist/language_models/base.d.ts.map +1 -1
  94. package/dist/language_models/base.js +1 -1
  95. package/dist/language_models/base.js.map +1 -1
  96. package/dist/language_models/chat_models.d.cts +9 -10
  97. package/dist/language_models/chat_models.d.cts.map +1 -1
  98. package/dist/language_models/chat_models.d.ts +9 -10
  99. package/dist/language_models/chat_models.d.ts.map +1 -1
  100. package/dist/language_models/compat.d.cts +2 -3
  101. package/dist/language_models/compat.d.cts.map +1 -1
  102. package/dist/language_models/compat.d.ts +2 -3
  103. package/dist/language_models/compat.d.ts.map +1 -1
  104. package/dist/language_models/event.d.cts +15 -16
  105. package/dist/language_models/event.d.cts.map +1 -1
  106. package/dist/language_models/event.d.ts +15 -16
  107. package/dist/language_models/event.d.ts.map +1 -1
  108. package/dist/language_models/llms.d.cts +5 -6
  109. package/dist/language_models/llms.d.cts.map +1 -1
  110. package/dist/language_models/llms.d.ts +5 -6
  111. package/dist/language_models/llms.d.ts.map +1 -1
  112. package/dist/language_models/openai_completions_stream.d.cts +8 -9
  113. package/dist/language_models/openai_completions_stream.d.cts.map +1 -1
  114. package/dist/language_models/openai_completions_stream.d.ts +8 -9
  115. package/dist/language_models/openai_completions_stream.d.ts.map +1 -1
  116. package/dist/language_models/profile.d.cts +1 -2
  117. package/dist/language_models/profile.d.cts.map +1 -1
  118. package/dist/language_models/profile.d.ts +1 -2
  119. package/dist/language_models/profile.d.ts.map +1 -1
  120. package/dist/language_models/stream.d.cts +5 -6
  121. package/dist/language_models/stream.d.cts.map +1 -1
  122. package/dist/language_models/stream.d.ts +5 -6
  123. package/dist/language_models/stream.d.ts.map +1 -1
  124. package/dist/language_models/structured_output.d.cts +3 -4
  125. package/dist/language_models/structured_output.d.cts.map +1 -1
  126. package/dist/language_models/structured_output.d.ts +3 -4
  127. package/dist/language_models/structured_output.d.ts.map +1 -1
  128. package/dist/load/import_type.d.cts +2 -3
  129. package/dist/load/import_type.d.cts.map +1 -1
  130. package/dist/load/import_type.d.ts +2 -3
  131. package/dist/load/import_type.d.ts.map +1 -1
  132. package/dist/load/index.d.cts +2 -3
  133. package/dist/load/index.d.cts.map +1 -1
  134. package/dist/load/index.d.ts +2 -3
  135. package/dist/load/index.d.ts.map +1 -1
  136. package/dist/load/map_keys.d.cts +1 -2
  137. package/dist/load/map_keys.d.cts.map +1 -1
  138. package/dist/load/map_keys.d.ts +1 -2
  139. package/dist/load/map_keys.d.ts.map +1 -1
  140. package/dist/load/serializable.d.cts +9 -10
  141. package/dist/load/serializable.d.cts.map +1 -1
  142. package/dist/load/serializable.d.ts +9 -10
  143. package/dist/load/serializable.d.ts.map +1 -1
  144. package/dist/memory.d.cts +7 -8
  145. package/dist/memory.d.cts.map +1 -1
  146. package/dist/memory.d.ts +7 -8
  147. package/dist/memory.d.ts.map +1 -1
  148. package/dist/messages/ai.d.cts +6 -7
  149. package/dist/messages/ai.d.cts.map +1 -1
  150. package/dist/messages/ai.d.ts +6 -7
  151. package/dist/messages/ai.d.ts.map +1 -1
  152. package/dist/messages/base.d.cts +23 -24
  153. package/dist/messages/base.d.cts.map +1 -1
  154. package/dist/messages/base.d.ts +23 -24
  155. package/dist/messages/base.d.ts.map +1 -1
  156. package/dist/messages/chat.d.cts +5 -6
  157. package/dist/messages/chat.d.cts.map +1 -1
  158. package/dist/messages/chat.d.ts +5 -6
  159. package/dist/messages/chat.d.ts.map +1 -1
  160. package/dist/messages/content/base.d.cts +1 -2
  161. package/dist/messages/content/base.d.cts.map +1 -1
  162. package/dist/messages/content/base.d.ts +1 -2
  163. package/dist/messages/content/base.d.ts.map +1 -1
  164. package/dist/messages/content/data.d.cts +18 -19
  165. package/dist/messages/content/data.d.cts.map +1 -1
  166. package/dist/messages/content/data.d.ts +18 -19
  167. package/dist/messages/content/data.d.ts.map +1 -1
  168. package/dist/messages/content/index.d.cts +4 -5
  169. package/dist/messages/content/index.d.cts.map +1 -1
  170. package/dist/messages/content/index.d.ts +4 -5
  171. package/dist/messages/content/index.d.ts.map +1 -1
  172. package/dist/messages/content/multimodal.d.cts +2 -3
  173. package/dist/messages/content/multimodal.d.cts.map +1 -1
  174. package/dist/messages/content/multimodal.d.ts +2 -3
  175. package/dist/messages/content/multimodal.d.ts.map +1 -1
  176. package/dist/messages/content/tools.d.cts +2 -3
  177. package/dist/messages/content/tools.d.cts.map +1 -1
  178. package/dist/messages/content/tools.d.ts +2 -3
  179. package/dist/messages/content/tools.d.ts.map +1 -1
  180. package/dist/messages/format.d.cts +1 -2
  181. package/dist/messages/format.d.cts.map +1 -1
  182. package/dist/messages/format.d.ts +1 -2
  183. package/dist/messages/format.d.ts.map +1 -1
  184. package/dist/messages/function.d.cts +5 -6
  185. package/dist/messages/function.d.cts.map +1 -1
  186. package/dist/messages/function.d.ts +5 -6
  187. package/dist/messages/function.d.ts.map +1 -1
  188. package/dist/messages/human.d.cts +5 -6
  189. package/dist/messages/human.d.cts.map +1 -1
  190. package/dist/messages/human.d.ts +5 -6
  191. package/dist/messages/human.d.ts.map +1 -1
  192. package/dist/messages/message.d.cts +20 -21
  193. package/dist/messages/message.d.cts.map +1 -1
  194. package/dist/messages/message.d.ts +20 -21
  195. package/dist/messages/message.d.ts.map +1 -1
  196. package/dist/messages/metadata.d.cts +7 -8
  197. package/dist/messages/metadata.d.cts.map +1 -1
  198. package/dist/messages/metadata.d.ts +7 -8
  199. package/dist/messages/metadata.d.ts.map +1 -1
  200. package/dist/messages/modifier.d.cts +2 -3
  201. package/dist/messages/modifier.d.cts.map +1 -1
  202. package/dist/messages/modifier.d.ts +2 -3
  203. package/dist/messages/modifier.d.ts.map +1 -1
  204. package/dist/messages/system.d.cts +5 -6
  205. package/dist/messages/system.d.cts.map +1 -1
  206. package/dist/messages/system.d.ts +5 -6
  207. package/dist/messages/system.d.ts.map +1 -1
  208. package/dist/messages/tool.d.cts +11 -12
  209. package/dist/messages/tool.d.cts.map +1 -1
  210. package/dist/messages/tool.d.ts +11 -12
  211. package/dist/messages/tool.d.ts.map +1 -1
  212. package/dist/messages/transformers.d.cts +12 -13
  213. package/dist/messages/transformers.d.cts.map +1 -1
  214. package/dist/messages/transformers.d.ts +12 -13
  215. package/dist/messages/transformers.d.ts.map +1 -1
  216. package/dist/messages/utils.d.cts +13 -14
  217. package/dist/messages/utils.d.cts.map +1 -1
  218. package/dist/messages/utils.d.ts +13 -14
  219. package/dist/messages/utils.d.ts.map +1 -1
  220. package/dist/output_parsers/base.d.cts +4 -5
  221. package/dist/output_parsers/base.d.cts.map +1 -1
  222. package/dist/output_parsers/base.d.ts +4 -5
  223. package/dist/output_parsers/base.d.ts.map +1 -1
  224. package/dist/output_parsers/bytes.d.cts +1 -2
  225. package/dist/output_parsers/bytes.d.cts.map +1 -1
  226. package/dist/output_parsers/bytes.d.ts +1 -2
  227. package/dist/output_parsers/bytes.d.ts.map +1 -1
  228. package/dist/output_parsers/json.d.cts +2 -2
  229. package/dist/output_parsers/json.d.cts.map +1 -1
  230. package/dist/output_parsers/json.d.ts +2 -2
  231. package/dist/output_parsers/json.d.ts.map +1 -1
  232. package/dist/output_parsers/list.d.cts +5 -6
  233. package/dist/output_parsers/list.d.cts.map +1 -1
  234. package/dist/output_parsers/list.d.ts +5 -6
  235. package/dist/output_parsers/list.d.ts.map +1 -1
  236. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.cts +4 -5
  237. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.cts.map +1 -1
  238. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts +4 -5
  239. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts.map +1 -1
  240. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.cts +12 -13
  241. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.cts.map +1 -1
  242. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts +12 -13
  243. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts.map +1 -1
  244. package/dist/output_parsers/standard_schema.d.cts +1 -2
  245. package/dist/output_parsers/standard_schema.d.cts.map +1 -1
  246. package/dist/output_parsers/standard_schema.d.ts +1 -2
  247. package/dist/output_parsers/standard_schema.d.ts.map +1 -1
  248. package/dist/output_parsers/string.d.cts +1 -2
  249. package/dist/output_parsers/string.d.cts.map +1 -1
  250. package/dist/output_parsers/string.d.ts +1 -2
  251. package/dist/output_parsers/string.d.ts.map +1 -1
  252. package/dist/output_parsers/structured.d.cts +6 -7
  253. package/dist/output_parsers/structured.d.cts.map +1 -1
  254. package/dist/output_parsers/structured.d.ts +6 -7
  255. package/dist/output_parsers/structured.d.ts.map +1 -1
  256. package/dist/output_parsers/transform.d.cts +3 -4
  257. package/dist/output_parsers/transform.d.cts.map +1 -1
  258. package/dist/output_parsers/transform.d.ts +3 -4
  259. package/dist/output_parsers/transform.d.ts.map +1 -1
  260. package/dist/output_parsers/xml.d.cts +6 -7
  261. package/dist/output_parsers/xml.d.cts.map +1 -1
  262. package/dist/output_parsers/xml.d.ts +6 -7
  263. package/dist/output_parsers/xml.d.ts.map +1 -1
  264. package/dist/outputs.d.cts +9 -10
  265. package/dist/outputs.d.cts.map +1 -1
  266. package/dist/outputs.d.ts +9 -10
  267. package/dist/outputs.d.ts.map +1 -1
  268. package/dist/prompt_values.d.cts +10 -11
  269. package/dist/prompt_values.d.cts.map +1 -1
  270. package/dist/prompt_values.d.ts +10 -11
  271. package/dist/prompt_values.d.ts.map +1 -1
  272. package/dist/prompts/base.d.cts +4 -5
  273. package/dist/prompts/base.d.cts.map +1 -1
  274. package/dist/prompts/base.d.ts +4 -5
  275. package/dist/prompts/base.d.ts.map +1 -1
  276. package/dist/prompts/chat.d.cts +14 -15
  277. package/dist/prompts/chat.d.cts.map +1 -1
  278. package/dist/prompts/chat.d.ts +14 -15
  279. package/dist/prompts/chat.d.ts.map +1 -1
  280. package/dist/prompts/dict.d.cts +1 -2
  281. package/dist/prompts/dict.d.cts.map +1 -1
  282. package/dist/prompts/dict.d.ts +1 -2
  283. package/dist/prompts/dict.d.ts.map +1 -1
  284. package/dist/prompts/few_shot.d.cts +4 -5
  285. package/dist/prompts/few_shot.d.cts.map +1 -1
  286. package/dist/prompts/few_shot.d.ts +4 -5
  287. package/dist/prompts/few_shot.d.ts.map +1 -1
  288. package/dist/prompts/image.d.cts +2 -3
  289. package/dist/prompts/image.d.cts.map +1 -1
  290. package/dist/prompts/image.d.ts +2 -3
  291. package/dist/prompts/image.d.ts.map +1 -1
  292. package/dist/prompts/pipeline.d.cts +3 -4
  293. package/dist/prompts/pipeline.d.cts.map +1 -1
  294. package/dist/prompts/pipeline.d.ts +3 -4
  295. package/dist/prompts/pipeline.d.ts.map +1 -1
  296. package/dist/prompts/prompt.d.cts +4 -5
  297. package/dist/prompts/prompt.d.cts.map +1 -1
  298. package/dist/prompts/prompt.d.ts +4 -5
  299. package/dist/prompts/prompt.d.ts.map +1 -1
  300. package/dist/prompts/serde.d.cts +3 -4
  301. package/dist/prompts/serde.d.cts.map +1 -1
  302. package/dist/prompts/serde.d.ts +3 -4
  303. package/dist/prompts/serde.d.ts.map +1 -1
  304. package/dist/prompts/string.d.cts +1 -2
  305. package/dist/prompts/string.d.cts.map +1 -1
  306. package/dist/prompts/string.d.ts +1 -2
  307. package/dist/prompts/string.d.ts.map +1 -1
  308. package/dist/prompts/structured.d.cts +2 -3
  309. package/dist/prompts/structured.d.cts.map +1 -1
  310. package/dist/prompts/structured.d.ts +2 -3
  311. package/dist/prompts/structured.d.ts.map +1 -1
  312. package/dist/prompts/template.d.cts +12 -13
  313. package/dist/prompts/template.d.cts.map +1 -1
  314. package/dist/prompts/template.d.ts +12 -13
  315. package/dist/prompts/template.d.ts.map +1 -1
  316. package/dist/retrievers/document_compressors/index.d.cts +1 -2
  317. package/dist/retrievers/document_compressors/index.d.cts.map +1 -1
  318. package/dist/retrievers/document_compressors/index.d.ts +1 -2
  319. package/dist/retrievers/document_compressors/index.d.ts.map +1 -1
  320. package/dist/retrievers/index.d.cts +3 -4
  321. package/dist/retrievers/index.d.cts.map +1 -1
  322. package/dist/retrievers/index.d.ts +3 -4
  323. package/dist/retrievers/index.d.ts.map +1 -1
  324. package/dist/runnables/base.d.cts +23 -23
  325. package/dist/runnables/base.d.cts.map +1 -1
  326. package/dist/runnables/base.d.ts +23 -23
  327. package/dist/runnables/base.d.ts.map +1 -1
  328. package/dist/runnables/branch.d.cts +3 -4
  329. package/dist/runnables/branch.d.cts.map +1 -1
  330. package/dist/runnables/branch.d.ts +3 -4
  331. package/dist/runnables/branch.d.ts.map +1 -1
  332. package/dist/runnables/config.cjs +2 -1
  333. package/dist/runnables/config.cjs.map +1 -1
  334. package/dist/runnables/config.d.cts +6 -6
  335. package/dist/runnables/config.d.cts.map +1 -1
  336. package/dist/runnables/config.d.ts +6 -6
  337. package/dist/runnables/config.d.ts.map +1 -1
  338. package/dist/runnables/config.js +2 -1
  339. package/dist/runnables/config.js.map +1 -1
  340. package/dist/runnables/graph.d.cts +2 -2
  341. package/dist/runnables/graph.d.cts.map +1 -1
  342. package/dist/runnables/graph.d.ts +2 -2
  343. package/dist/runnables/graph.d.ts.map +1 -1
  344. package/dist/runnables/history.d.cts +2 -3
  345. package/dist/runnables/history.d.cts.map +1 -1
  346. package/dist/runnables/history.d.ts +2 -3
  347. package/dist/runnables/history.d.ts.map +1 -1
  348. package/dist/runnables/passthrough.d.cts +1 -2
  349. package/dist/runnables/passthrough.d.cts.map +1 -1
  350. package/dist/runnables/passthrough.d.ts +1 -2
  351. package/dist/runnables/passthrough.d.ts.map +1 -1
  352. package/dist/runnables/router.d.cts +2 -3
  353. package/dist/runnables/router.d.cts.map +1 -1
  354. package/dist/runnables/router.d.ts +2 -3
  355. package/dist/runnables/router.d.ts.map +1 -1
  356. package/dist/runnables/types.d.cts +6 -7
  357. package/dist/runnables/types.d.cts.map +1 -1
  358. package/dist/runnables/types.d.ts +6 -7
  359. package/dist/runnables/types.d.ts.map +1 -1
  360. package/dist/singletons/async_local_storage/context.d.cts +4 -5
  361. package/dist/singletons/async_local_storage/context.d.cts.map +1 -1
  362. package/dist/singletons/async_local_storage/context.d.ts +4 -5
  363. package/dist/singletons/async_local_storage/context.d.ts.map +1 -1
  364. package/dist/singletons/async_local_storage/globals.d.cts +2 -3
  365. package/dist/singletons/async_local_storage/globals.d.cts.map +1 -1
  366. package/dist/singletons/async_local_storage/globals.d.ts +2 -3
  367. package/dist/singletons/async_local_storage/globals.d.ts.map +1 -1
  368. package/dist/singletons/async_local_storage/index.d.cts +2 -2
  369. package/dist/singletons/async_local_storage/index.d.cts.map +1 -1
  370. package/dist/singletons/async_local_storage/index.d.ts +2 -2
  371. package/dist/singletons/async_local_storage/index.d.ts.map +1 -1
  372. package/dist/singletons/callbacks.d.cts +2 -3
  373. package/dist/singletons/callbacks.d.cts.map +1 -1
  374. package/dist/singletons/callbacks.d.ts +2 -3
  375. package/dist/singletons/callbacks.d.ts.map +1 -1
  376. package/dist/stores.d.cts +2 -3
  377. package/dist/stores.d.cts.map +1 -1
  378. package/dist/stores.d.ts +2 -3
  379. package/dist/stores.d.ts.map +1 -1
  380. package/dist/structured_query/base.d.cts +3 -4
  381. package/dist/structured_query/base.d.cts.map +1 -1
  382. package/dist/structured_query/base.d.ts +3 -4
  383. package/dist/structured_query/base.d.ts.map +1 -1
  384. package/dist/structured_query/functional.d.cts +2 -3
  385. package/dist/structured_query/functional.d.cts.map +1 -1
  386. package/dist/structured_query/functional.d.ts +2 -3
  387. package/dist/structured_query/functional.d.ts.map +1 -1
  388. package/dist/structured_query/ir.d.cts +23 -24
  389. package/dist/structured_query/ir.d.cts.map +1 -1
  390. package/dist/structured_query/ir.d.ts +23 -24
  391. package/dist/structured_query/ir.d.ts.map +1 -1
  392. package/dist/structured_query/utils.d.cts +7 -8
  393. package/dist/structured_query/utils.d.cts.map +1 -1
  394. package/dist/structured_query/utils.d.ts +7 -8
  395. package/dist/structured_query/utils.d.ts.map +1 -1
  396. package/dist/testing/fake_model_builder.d.cts +2 -3
  397. package/dist/testing/fake_model_builder.d.cts.map +1 -1
  398. package/dist/testing/fake_model_builder.d.ts +2 -3
  399. package/dist/testing/fake_model_builder.d.ts.map +1 -1
  400. package/dist/testing/index.d.cts +1 -0
  401. package/dist/testing/index.d.ts +1 -0
  402. package/dist/testing/matchers.d.cts +12 -13
  403. package/dist/testing/matchers.d.cts.map +1 -1
  404. package/dist/testing/matchers.d.ts +12 -13
  405. package/dist/testing/matchers.d.ts.map +1 -1
  406. package/dist/testing/vitest-expect.d.cts +8 -0
  407. package/dist/testing/vitest-expect.d.cts.map +1 -0
  408. package/dist/testing/vitest-expect.d.ts +8 -0
  409. package/dist/testing/vitest-expect.d.ts.map +1 -0
  410. package/dist/tools/index.d.cts +21 -21
  411. package/dist/tools/index.d.cts.map +1 -1
  412. package/dist/tools/index.d.ts +21 -21
  413. package/dist/tools/index.d.ts.map +1 -1
  414. package/dist/tools/types.d.cts +25 -26
  415. package/dist/tools/types.d.cts.map +1 -1
  416. package/dist/tools/types.d.ts +25 -26
  417. package/dist/tools/types.d.ts.map +1 -1
  418. package/dist/tools/utils.d.cts +1 -2
  419. package/dist/tools/utils.d.cts.map +1 -1
  420. package/dist/tools/utils.d.ts +1 -2
  421. package/dist/tools/utils.d.ts.map +1 -1
  422. package/dist/tracers/base.cjs +7 -4
  423. package/dist/tracers/base.cjs.map +1 -1
  424. package/dist/tracers/base.d.cts +7 -8
  425. package/dist/tracers/base.d.cts.map +1 -1
  426. package/dist/tracers/base.d.ts +7 -8
  427. package/dist/tracers/base.d.ts.map +1 -1
  428. package/dist/tracers/base.js +7 -4
  429. package/dist/tracers/base.js.map +1 -1
  430. package/dist/tracers/console.d.cts +1 -2
  431. package/dist/tracers/console.d.cts.map +1 -1
  432. package/dist/tracers/console.d.ts +1 -2
  433. package/dist/tracers/console.d.ts.map +1 -1
  434. package/dist/tracers/event_stream.d.cts +3 -4
  435. package/dist/tracers/event_stream.d.cts.map +1 -1
  436. package/dist/tracers/event_stream.d.ts +3 -4
  437. package/dist/tracers/event_stream.d.ts.map +1 -1
  438. package/dist/tracers/log_stream.d.cts +9 -9
  439. package/dist/tracers/log_stream.d.cts.map +1 -1
  440. package/dist/tracers/log_stream.d.ts +9 -9
  441. package/dist/tracers/log_stream.d.ts.map +1 -1
  442. package/dist/tracers/run_collector.d.cts +1 -2
  443. package/dist/tracers/run_collector.d.cts.map +1 -1
  444. package/dist/tracers/run_collector.d.ts +1 -2
  445. package/dist/tracers/run_collector.d.ts.map +1 -1
  446. package/dist/tracers/tracer_langchain.d.cts +6 -7
  447. package/dist/tracers/tracer_langchain.d.cts.map +1 -1
  448. package/dist/tracers/tracer_langchain.d.ts +6 -7
  449. package/dist/tracers/tracer_langchain.d.ts.map +1 -1
  450. package/dist/types/_internal.d.cts +1 -2
  451. package/dist/types/_internal.d.cts.map +1 -1
  452. package/dist/types/_internal.d.ts +1 -2
  453. package/dist/types/_internal.d.ts.map +1 -1
  454. package/dist/types/type-utils.d.cts +2 -3
  455. package/dist/types/type-utils.d.cts.map +1 -1
  456. package/dist/types/type-utils.d.ts +2 -3
  457. package/dist/types/type-utils.d.ts.map +1 -1
  458. package/dist/utils/async_caller.d.cts +6 -7
  459. package/dist/utils/async_caller.d.cts.map +1 -1
  460. package/dist/utils/async_caller.d.ts +6 -7
  461. package/dist/utils/async_caller.d.ts.map +1 -1
  462. package/dist/utils/chunk_array.d.cts +1 -2
  463. package/dist/utils/chunk_array.d.cts.map +1 -1
  464. package/dist/utils/chunk_array.d.ts +1 -2
  465. package/dist/utils/chunk_array.d.ts.map +1 -1
  466. package/dist/utils/context.d.cts +1 -2
  467. package/dist/utils/context.d.cts.map +1 -1
  468. package/dist/utils/context.d.ts +1 -2
  469. package/dist/utils/context.d.ts.map +1 -1
  470. package/dist/utils/env.d.cts +9 -10
  471. package/dist/utils/env.d.cts.map +1 -1
  472. package/dist/utils/env.d.ts +9 -10
  473. package/dist/utils/env.d.ts.map +1 -1
  474. package/dist/utils/event_source_parse.d.cts +6 -7
  475. package/dist/utils/event_source_parse.d.cts.map +1 -1
  476. package/dist/utils/event_source_parse.d.ts +6 -7
  477. package/dist/utils/event_source_parse.d.ts.map +1 -1
  478. package/dist/utils/fast-json-patch/src/core.d.cts +13 -14
  479. package/dist/utils/fast-json-patch/src/core.d.cts.map +1 -1
  480. package/dist/utils/fast-json-patch/src/core.d.ts +13 -14
  481. package/dist/utils/fast-json-patch/src/core.d.ts.map +1 -1
  482. package/dist/utils/fast-json-patch/src/duplex.d.cts +1 -2
  483. package/dist/utils/fast-json-patch/src/duplex.d.cts.map +1 -1
  484. package/dist/utils/fast-json-patch/src/duplex.d.ts +1 -2
  485. package/dist/utils/fast-json-patch/src/duplex.d.ts.map +1 -1
  486. package/dist/utils/format.d.cts +2 -3
  487. package/dist/utils/format.d.cts.map +1 -1
  488. package/dist/utils/format.d.ts +2 -3
  489. package/dist/utils/format.d.ts.map +1 -1
  490. package/dist/utils/function_calling.d.cts +3 -3
  491. package/dist/utils/function_calling.d.cts.map +1 -1
  492. package/dist/utils/function_calling.d.ts +3 -3
  493. package/dist/utils/function_calling.d.ts.map +1 -1
  494. package/dist/utils/gateway.d.cts +4 -5
  495. package/dist/utils/gateway.d.cts.map +1 -1
  496. package/dist/utils/gateway.d.ts +4 -5
  497. package/dist/utils/gateway.d.ts.map +1 -1
  498. package/dist/utils/hash.d.cts +2 -2
  499. package/dist/utils/hash.d.cts.map +1 -1
  500. package/dist/utils/hash.d.ts +2 -2
  501. package/dist/utils/hash.d.ts.map +1 -1
  502. package/dist/utils/js-sha256/hash.cjs +2 -2
  503. package/dist/utils/js-sha256/hash.cjs.map +1 -1
  504. package/dist/utils/js-sha256/hash.d.cts +1 -2
  505. package/dist/utils/js-sha256/hash.d.cts.map +1 -1
  506. package/dist/utils/js-sha256/hash.d.ts +1 -2
  507. package/dist/utils/js-sha256/hash.d.ts.map +1 -1
  508. package/dist/utils/js-sha256/hash.js +2 -2
  509. package/dist/utils/js-sha256/hash.js.map +1 -1
  510. package/dist/utils/json.d.cts +2 -3
  511. package/dist/utils/json.d.cts.map +1 -1
  512. package/dist/utils/json.d.ts +2 -3
  513. package/dist/utils/json.d.ts.map +1 -1
  514. package/dist/utils/json_schema.d.cts +4 -4
  515. package/dist/utils/json_schema.d.cts.map +1 -1
  516. package/dist/utils/json_schema.d.ts +4 -4
  517. package/dist/utils/json_schema.d.ts.map +1 -1
  518. package/dist/utils/math.d.cts +6 -7
  519. package/dist/utils/math.d.cts.map +1 -1
  520. package/dist/utils/math.d.ts +6 -7
  521. package/dist/utils/math.d.ts.map +1 -1
  522. package/dist/utils/ml-distance/similarities.d.cts +1 -2
  523. package/dist/utils/ml-distance/similarities.d.cts.map +1 -1
  524. package/dist/utils/ml-distance/similarities.d.ts +1 -2
  525. package/dist/utils/ml-distance/similarities.d.ts.map +1 -1
  526. package/dist/utils/namespace.cjs.map +1 -1
  527. package/dist/utils/namespace.d.cts +2 -3
  528. package/dist/utils/namespace.d.cts.map +1 -1
  529. package/dist/utils/namespace.d.ts +2 -3
  530. package/dist/utils/namespace.d.ts.map +1 -1
  531. package/dist/utils/namespace.js.map +1 -1
  532. package/dist/utils/signal.d.cts +1 -2
  533. package/dist/utils/signal.d.cts.map +1 -1
  534. package/dist/utils/signal.d.ts +1 -2
  535. package/dist/utils/signal.d.ts.map +1 -1
  536. package/dist/utils/ssrf.d.cts +6 -7
  537. package/dist/utils/ssrf.d.cts.map +1 -1
  538. package/dist/utils/ssrf.d.ts +6 -7
  539. package/dist/utils/ssrf.d.ts.map +1 -1
  540. package/dist/utils/standard_schema.d.cts +4 -5
  541. package/dist/utils/standard_schema.d.cts.map +1 -1
  542. package/dist/utils/standard_schema.d.ts +4 -5
  543. package/dist/utils/standard_schema.d.ts.map +1 -1
  544. package/dist/utils/stream.d.cts +6 -6
  545. package/dist/utils/stream.d.cts.map +1 -1
  546. package/dist/utils/stream.d.ts +6 -6
  547. package/dist/utils/stream.d.ts.map +1 -1
  548. package/dist/utils/testing/chat_models.d.cts +8 -9
  549. package/dist/utils/testing/chat_models.d.cts.map +1 -1
  550. package/dist/utils/testing/chat_models.d.ts +8 -9
  551. package/dist/utils/testing/chat_models.d.ts.map +1 -1
  552. package/dist/utils/testing/embeddings.d.cts +2 -3
  553. package/dist/utils/testing/embeddings.d.cts.map +1 -1
  554. package/dist/utils/testing/embeddings.d.ts +2 -3
  555. package/dist/utils/testing/embeddings.d.ts.map +1 -1
  556. package/dist/utils/testing/llms.d.cts +2 -3
  557. package/dist/utils/testing/llms.d.cts.map +1 -1
  558. package/dist/utils/testing/llms.d.ts +2 -3
  559. package/dist/utils/testing/llms.d.ts.map +1 -1
  560. package/dist/utils/testing/message_history.d.cts +3 -4
  561. package/dist/utils/testing/message_history.d.cts.map +1 -1
  562. package/dist/utils/testing/message_history.d.ts +3 -4
  563. package/dist/utils/testing/message_history.d.ts.map +1 -1
  564. package/dist/utils/testing/openai_stream_fixtures.d.cts +6 -7
  565. package/dist/utils/testing/openai_stream_fixtures.d.cts.map +1 -1
  566. package/dist/utils/testing/openai_stream_fixtures.d.ts +6 -7
  567. package/dist/utils/testing/openai_stream_fixtures.d.ts.map +1 -1
  568. package/dist/utils/testing/output_parsers.d.cts +1 -2
  569. package/dist/utils/testing/output_parsers.d.cts.map +1 -1
  570. package/dist/utils/testing/output_parsers.d.ts +1 -2
  571. package/dist/utils/testing/output_parsers.d.ts.map +1 -1
  572. package/dist/utils/testing/retrievers.d.cts +1 -2
  573. package/dist/utils/testing/retrievers.d.cts.map +1 -1
  574. package/dist/utils/testing/retrievers.d.ts +1 -2
  575. package/dist/utils/testing/retrievers.d.ts.map +1 -1
  576. package/dist/utils/testing/runnables.d.cts +1 -2
  577. package/dist/utils/testing/runnables.d.cts.map +1 -1
  578. package/dist/utils/testing/runnables.d.ts +1 -2
  579. package/dist/utils/testing/runnables.d.ts.map +1 -1
  580. package/dist/utils/testing/stream.d.cts +10 -11
  581. package/dist/utils/testing/stream.d.cts.map +1 -1
  582. package/dist/utils/testing/stream.d.ts +10 -11
  583. package/dist/utils/testing/stream.d.ts.map +1 -1
  584. package/dist/utils/testing/tools.d.cts +2 -3
  585. package/dist/utils/testing/tools.d.cts.map +1 -1
  586. package/dist/utils/testing/tools.d.ts +2 -3
  587. package/dist/utils/testing/tools.d.ts.map +1 -1
  588. package/dist/utils/testing/tracers.d.cts +1 -2
  589. package/dist/utils/testing/tracers.d.cts.map +1 -1
  590. package/dist/utils/testing/tracers.d.ts +1 -2
  591. package/dist/utils/testing/tracers.d.ts.map +1 -1
  592. package/dist/utils/testing/vectorstores.d.cts +2 -3
  593. package/dist/utils/testing/vectorstores.d.cts.map +1 -1
  594. package/dist/utils/testing/vectorstores.d.ts +2 -3
  595. package/dist/utils/testing/vectorstores.d.ts.map +1 -1
  596. package/dist/utils/tiktoken.d.cts +2 -3
  597. package/dist/utils/tiktoken.d.cts.map +1 -1
  598. package/dist/utils/tiktoken.d.ts +2 -3
  599. package/dist/utils/tiktoken.d.ts.map +1 -1
  600. package/dist/utils/types/index.d.cts +5 -5
  601. package/dist/utils/types/index.d.cts.map +1 -1
  602. package/dist/utils/types/index.d.ts +5 -5
  603. package/dist/utils/types/index.d.ts.map +1 -1
  604. package/dist/utils/types/zod.d.cts +62 -63
  605. package/dist/utils/types/zod.d.cts.map +1 -1
  606. package/dist/utils/types/zod.d.ts +62 -63
  607. package/dist/utils/types/zod.d.ts.map +1 -1
  608. package/dist/utils/uuid/index.d.cts +12 -12
  609. package/dist/utils/uuid/index.d.cts.map +1 -1
  610. package/dist/utils/uuid/index.d.ts +12 -12
  611. package/dist/utils/uuid/index.d.ts.map +1 -1
  612. package/dist/utils/uuid/types.d.cts +6 -7
  613. package/dist/utils/uuid/types.d.cts.map +1 -1
  614. package/dist/utils/uuid/types.d.ts +6 -7
  615. package/dist/utils/uuid/types.d.ts.map +1 -1
  616. package/dist/utils/uuid/v35.d.cts +2 -3
  617. package/dist/utils/uuid/v35.d.cts.map +1 -1
  618. package/dist/utils/uuid/v35.d.ts +2 -3
  619. package/dist/utils/uuid/v35.d.ts.map +1 -1
  620. package/dist/utils/zod-to-json-schema/errorMessages.d.cts +1 -2
  621. package/dist/utils/zod-to-json-schema/errorMessages.d.cts.map +1 -1
  622. package/dist/utils/zod-to-json-schema/errorMessages.d.ts +1 -2
  623. package/dist/utils/zod-to-json-schema/errorMessages.d.ts.map +1 -1
  624. package/dist/utils/zod-to-json-schema/parseTypes.d.cts +2 -3
  625. package/dist/utils/zod-to-json-schema/parseTypes.d.cts.map +1 -1
  626. package/dist/utils/zod-to-json-schema/parseTypes.d.ts +2 -3
  627. package/dist/utils/zod-to-json-schema/parseTypes.d.ts.map +1 -1
  628. package/dist/utils/zod-to-json-schema/parsers/any.d.cts +1 -2
  629. package/dist/utils/zod-to-json-schema/parsers/any.d.cts.map +1 -1
  630. package/dist/utils/zod-to-json-schema/parsers/any.d.ts +1 -2
  631. package/dist/utils/zod-to-json-schema/parsers/any.d.ts.map +1 -1
  632. package/dist/utils/zod-to-json-schema/parsers/array.d.cts +1 -2
  633. package/dist/utils/zod-to-json-schema/parsers/array.d.cts.map +1 -1
  634. package/dist/utils/zod-to-json-schema/parsers/array.d.ts +1 -2
  635. package/dist/utils/zod-to-json-schema/parsers/array.d.ts.map +1 -1
  636. package/dist/utils/zod-to-json-schema/parsers/bigint.d.cts +1 -2
  637. package/dist/utils/zod-to-json-schema/parsers/bigint.d.cts.map +1 -1
  638. package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts +1 -2
  639. package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts.map +1 -1
  640. package/dist/utils/zod-to-json-schema/parsers/boolean.d.cts +1 -2
  641. package/dist/utils/zod-to-json-schema/parsers/boolean.d.cts.map +1 -1
  642. package/dist/utils/zod-to-json-schema/parsers/boolean.d.ts +1 -2
  643. package/dist/utils/zod-to-json-schema/parsers/boolean.d.ts.map +1 -1
  644. package/dist/utils/zod-to-json-schema/parsers/date.d.cts +1 -2
  645. package/dist/utils/zod-to-json-schema/parsers/date.d.cts.map +1 -1
  646. package/dist/utils/zod-to-json-schema/parsers/date.d.ts +1 -2
  647. package/dist/utils/zod-to-json-schema/parsers/date.d.ts.map +1 -1
  648. package/dist/utils/zod-to-json-schema/parsers/enum.d.cts +1 -2
  649. package/dist/utils/zod-to-json-schema/parsers/enum.d.cts.map +1 -1
  650. package/dist/utils/zod-to-json-schema/parsers/enum.d.ts +1 -2
  651. package/dist/utils/zod-to-json-schema/parsers/enum.d.ts.map +1 -1
  652. package/dist/utils/zod-to-json-schema/parsers/intersection.d.cts +1 -2
  653. package/dist/utils/zod-to-json-schema/parsers/intersection.d.cts.map +1 -1
  654. package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts +1 -2
  655. package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts.map +1 -1
  656. package/dist/utils/zod-to-json-schema/parsers/literal.d.cts +1 -2
  657. package/dist/utils/zod-to-json-schema/parsers/literal.d.cts.map +1 -1
  658. package/dist/utils/zod-to-json-schema/parsers/literal.d.ts +1 -2
  659. package/dist/utils/zod-to-json-schema/parsers/literal.d.ts.map +1 -1
  660. package/dist/utils/zod-to-json-schema/parsers/map.d.cts +1 -2
  661. package/dist/utils/zod-to-json-schema/parsers/map.d.cts.map +1 -1
  662. package/dist/utils/zod-to-json-schema/parsers/map.d.ts +1 -2
  663. package/dist/utils/zod-to-json-schema/parsers/map.d.ts.map +1 -1
  664. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.cts +1 -2
  665. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.cts.map +1 -1
  666. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts +1 -2
  667. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts.map +1 -1
  668. package/dist/utils/zod-to-json-schema/parsers/never.d.cts +1 -2
  669. package/dist/utils/zod-to-json-schema/parsers/never.d.cts.map +1 -1
  670. package/dist/utils/zod-to-json-schema/parsers/never.d.ts +1 -2
  671. package/dist/utils/zod-to-json-schema/parsers/never.d.ts.map +1 -1
  672. package/dist/utils/zod-to-json-schema/parsers/null.d.cts +1 -2
  673. package/dist/utils/zod-to-json-schema/parsers/null.d.cts.map +1 -1
  674. package/dist/utils/zod-to-json-schema/parsers/null.d.ts +1 -2
  675. package/dist/utils/zod-to-json-schema/parsers/null.d.ts.map +1 -1
  676. package/dist/utils/zod-to-json-schema/parsers/nullable.d.cts +1 -2
  677. package/dist/utils/zod-to-json-schema/parsers/nullable.d.cts.map +1 -1
  678. package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts +1 -2
  679. package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts.map +1 -1
  680. package/dist/utils/zod-to-json-schema/parsers/number.d.cts +1 -2
  681. package/dist/utils/zod-to-json-schema/parsers/number.d.cts.map +1 -1
  682. package/dist/utils/zod-to-json-schema/parsers/number.d.ts +1 -2
  683. package/dist/utils/zod-to-json-schema/parsers/number.d.ts.map +1 -1
  684. package/dist/utils/zod-to-json-schema/parsers/object.d.cts +1 -2
  685. package/dist/utils/zod-to-json-schema/parsers/object.d.cts.map +1 -1
  686. package/dist/utils/zod-to-json-schema/parsers/object.d.ts +1 -2
  687. package/dist/utils/zod-to-json-schema/parsers/object.d.ts.map +1 -1
  688. package/dist/utils/zod-to-json-schema/parsers/record.d.cts +1 -2
  689. package/dist/utils/zod-to-json-schema/parsers/record.d.cts.map +1 -1
  690. package/dist/utils/zod-to-json-schema/parsers/record.d.ts +1 -2
  691. package/dist/utils/zod-to-json-schema/parsers/record.d.ts.map +1 -1
  692. package/dist/utils/zod-to-json-schema/parsers/set.d.cts +1 -2
  693. package/dist/utils/zod-to-json-schema/parsers/set.d.cts.map +1 -1
  694. package/dist/utils/zod-to-json-schema/parsers/set.d.ts +1 -2
  695. package/dist/utils/zod-to-json-schema/parsers/set.d.ts.map +1 -1
  696. package/dist/utils/zod-to-json-schema/parsers/string.d.cts +1 -2
  697. package/dist/utils/zod-to-json-schema/parsers/string.d.cts.map +1 -1
  698. package/dist/utils/zod-to-json-schema/parsers/string.d.ts +1 -2
  699. package/dist/utils/zod-to-json-schema/parsers/string.d.ts.map +1 -1
  700. package/dist/utils/zod-to-json-schema/parsers/tuple.d.cts +1 -2
  701. package/dist/utils/zod-to-json-schema/parsers/tuple.d.cts.map +1 -1
  702. package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts +1 -2
  703. package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts.map +1 -1
  704. package/dist/utils/zod-to-json-schema/parsers/undefined.d.cts +1 -2
  705. package/dist/utils/zod-to-json-schema/parsers/undefined.d.cts.map +1 -1
  706. package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts +1 -2
  707. package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts.map +1 -1
  708. package/dist/utils/zod-to-json-schema/parsers/union.d.cts +2 -3
  709. package/dist/utils/zod-to-json-schema/parsers/union.d.cts.map +1 -1
  710. package/dist/utils/zod-to-json-schema/parsers/union.d.ts +2 -3
  711. package/dist/utils/zod-to-json-schema/parsers/union.d.ts.map +1 -1
  712. package/dist/utils/zod-to-json-schema/parsers/unknown.d.cts +1 -2
  713. package/dist/utils/zod-to-json-schema/parsers/unknown.d.cts.map +1 -1
  714. package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts +1 -2
  715. package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts.map +1 -1
  716. package/dist/vectorstores.d.cts +8 -9
  717. package/dist/vectorstores.d.cts.map +1 -1
  718. package/dist/vectorstores.d.ts +8 -9
  719. package/dist/vectorstores.d.ts.map +1 -1
  720. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"retrievers.d.cts","names":[],"sources":["../../../src/utils/testing/retrievers.ts"],"mappings":";;;cAGa,sBAAsB;EACjC;EAEA,QAAM,SAAA;EAKN,YAAY;IAAW,QAAQ;;EAKzB,sBACJ,iBAEC,QAAQ,SAAS"}
1
+ {"version":3,"file":"retrievers.d.cts","names":[],"sources":["../../../src/utils/testing/retrievers.ts"],"mappings":";;;qBAGa,sBAAsB;EACjC;EAEA,QAAM,SAAA;EAKN,YAAY;IAAW,QAAQ;;EAKzB,sBACJ,iBAEC,QAAQ,SAAS"}
@@ -1,7 +1,7 @@
1
1
  import { Document } from "../../documents/document.js";
2
2
  import { BaseRetriever } from "../../retrievers/index.js";
3
3
  //#region src/utils/testing/retrievers.d.ts
4
- declare class FakeRetriever extends BaseRetriever {
4
+ export declare class FakeRetriever extends BaseRetriever {
5
5
  lc_namespace: string[];
6
6
  output: Document<Record<string, any>>[];
7
7
  constructor(fields?: {
@@ -10,5 +10,4 @@ declare class FakeRetriever extends BaseRetriever {
10
10
  _getRelevantDocuments(_query: string): Promise<Document<Record<string, any>>[]>;
11
11
  }
12
12
  //#endregion
13
- export { FakeRetriever };
14
13
  //# sourceMappingURL=retrievers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrievers.d.ts","names":[],"sources":["../../../src/utils/testing/retrievers.ts"],"mappings":";;;cAGa,sBAAsB;EACjC;EAEA,QAAM,SAAA;EAKN,YAAY;IAAW,QAAQ;;EAKzB,sBACJ,iBAEC,QAAQ,SAAS"}
1
+ {"version":3,"file":"retrievers.d.ts","names":[],"sources":["../../../src/utils/testing/retrievers.ts"],"mappings":";;;qBAGa,sBAAsB;EACjC;EAEA,QAAM,SAAA;EAKN,YAAY;IAAW,QAAQ;;EAKzB,sBACJ,iBAEC,QAAQ,SAAS"}
@@ -1,7 +1,7 @@
1
1
  import { BaseCallbackConfig } from "../../callbacks/manager.cjs";
2
2
  import { Runnable } from "../../runnables/base.cjs";
3
3
  //#region src/utils/testing/runnables.d.ts
4
- declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {
4
+ export declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {
5
5
  lc_namespace: string[];
6
6
  returnOptions?: boolean;
7
7
  constructor(fields: {
@@ -10,5 +10,4 @@ declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {
10
10
  invoke(input: string, options?: Partial<BaseCallbackConfig>): Promise<Record<string, unknown>>;
11
11
  }
12
12
  //#endregion
13
- export { FakeRunnable };
14
13
  //# sourceMappingURL=runnables.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runnables.d.cts","names":[],"sources":["../../../src/utils/testing/runnables.ts"],"mappings":";;;cAGa,qBAAqB,iBAAiB;EACjD;EAEA;EAEA,YAAY;IAAU;;EAKhB,OACJ,eACA,UAAU,QAAQ,sBACjB,QAAQ"}
1
+ {"version":3,"file":"runnables.d.cts","names":[],"sources":["../../../src/utils/testing/runnables.ts"],"mappings":";;;qBAGa,qBAAqB,iBAAiB;EACjD;EAEA;EAEA,YAAY;IAAU;;EAKhB,OACJ,eACA,UAAU,QAAQ,sBACjB,QAAQ"}
@@ -1,7 +1,7 @@
1
1
  import { BaseCallbackConfig } from "../../callbacks/manager.js";
2
2
  import { Runnable } from "../../runnables/base.js";
3
3
  //#region src/utils/testing/runnables.d.ts
4
- declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {
4
+ export declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {
5
5
  lc_namespace: string[];
6
6
  returnOptions?: boolean;
7
7
  constructor(fields: {
@@ -10,5 +10,4 @@ declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {
10
10
  invoke(input: string, options?: Partial<BaseCallbackConfig>): Promise<Record<string, unknown>>;
11
11
  }
12
12
  //#endregion
13
- export { FakeRunnable };
14
13
  //# sourceMappingURL=runnables.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runnables.d.ts","names":[],"sources":["../../../src/utils/testing/runnables.ts"],"mappings":";;;cAGa,qBAAqB,iBAAiB;EACjD;EAEA;EAEA,YAAY;IAAU;;EAKhB,OACJ,eACA,UAAU,QAAQ,sBACjB,QAAQ"}
1
+ {"version":3,"file":"runnables.d.ts","names":[],"sources":["../../../src/utils/testing/runnables.ts"],"mappings":";;;qBAGa,qBAAqB,iBAAiB;EACjD;EAEA;EAEA,YAAY;IAAU;;EAKhB,OACJ,eACA,UAAU,QAAQ,sBACjB,QAAQ"}
@@ -20,31 +20,31 @@ interface ExpectationResult {
20
20
  actual?: unknown;
21
21
  expected?: unknown;
22
22
  }
23
- declare function toHaveStreamText(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
24
- declare function toHaveStreamReasoning(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
25
- type StreamToolCallExpectation = {
23
+ export declare function toHaveStreamText(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
24
+ export declare function toHaveStreamReasoning(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
25
+ export type StreamToolCallExpectation = {
26
26
  name: string;
27
27
  args: Record<string, unknown>;
28
28
  };
29
- type StreamUsageExpectation = {
29
+ export type StreamUsageExpectation = {
30
30
  input_tokens?: number;
31
31
  output_tokens?: number;
32
32
  total_tokens?: number;
33
33
  input_token_details?: Record<string, unknown>;
34
34
  output_token_details?: Record<string, unknown>;
35
35
  };
36
- type StreamOutputExpectation = {
36
+ export type StreamOutputExpectation = {
37
37
  id?: string;
38
38
  text?: string;
39
39
  toolCalls?: StreamToolCallExpectation[];
40
40
  usage?: StreamUsageExpectation;
41
41
  responseMetadata?: Record<string, unknown>;
42
42
  };
43
- declare function toHaveStreamToolCalls(this: ExpectExtendThis, received: unknown, expected: StreamToolCallExpectation[]): Promise<ExpectationResult>;
44
- declare function toHaveStreamUsage(this: ExpectExtendThis, received: unknown, expected: StreamUsageExpectation): Promise<ExpectationResult>;
45
- declare function toHaveStreamOutput(this: ExpectExtendThis, received: unknown, expected: StreamOutputExpectation): Promise<ExpectationResult>;
43
+ export declare function toHaveStreamToolCalls(this: ExpectExtendThis, received: unknown, expected: StreamToolCallExpectation[]): Promise<ExpectationResult>;
44
+ export declare function toHaveStreamUsage(this: ExpectExtendThis, received: unknown, expected: StreamUsageExpectation): Promise<ExpectationResult>;
45
+ export declare function toHaveStreamOutput(this: ExpectExtendThis, received: unknown, expected: StreamOutputExpectation): Promise<ExpectationResult>;
46
46
  /** Stream matchers for `expect.extend()`. */
47
- declare const streamMatchers: {
47
+ export declare const streamMatchers: {
48
48
  toHaveStreamText: typeof toHaveStreamText;
49
49
  toHaveStreamReasoning: typeof toHaveStreamReasoning;
50
50
  toHaveStreamToolCalls: typeof toHaveStreamToolCalls;
@@ -59,7 +59,7 @@ declare const streamMatchers: {
59
59
  *
60
60
  * @typeParam R - The assertion return type provided by the test framework.
61
61
  */
62
- interface StreamMatchers<R = unknown> {
62
+ export interface StreamMatchers<R = unknown> {
63
63
  /**
64
64
  * Asserts that the stream resolves to the expected concatenated text.
65
65
  *
@@ -92,5 +92,4 @@ interface StreamMatchers<R = unknown> {
92
92
  toHaveStreamOutput(expected: StreamOutputExpectation): R;
93
93
  }
94
94
  //#endregion
95
- export { StreamMatchers, StreamOutputExpectation, StreamToolCallExpectation, StreamUsageExpectation, streamMatchers, toHaveStreamOutput, toHaveStreamReasoning, toHaveStreamText, toHaveStreamToolCalls, toHaveStreamUsage };
96
95
  //# sourceMappingURL=stream.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stream.d.cts","names":[],"sources":["../../../src/utils/testing/stream.ts"],"mappings":";;;;;UAQU;EACR;EACA,OAAO,YAAY;EACnB;IACE,YACE,cACA,mBACA,mBACA;MAAY;;IAEd,cAAc;IACd,cAAc;;;UAIR;EACR;EACA;EACA;EACA;;iBAkHoB,iBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;iBAsBW,sBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;KAsBC;EACV;EACA,MAAM;;KAGI;EACV;EACA;EACA;EACA,sBAAsB;EACtB,uBAAuB;;KAGb;EACV;EACA;EACA,YAAY;EACZ,QAAQ;EACR,mBAAmB;;iBAGC,sBACpB,MAAM,kBACN,mBACA,UAAU,8BACT,QAAQ;iBA+BW,kBACpB,MAAM,kBACN,mBACA,UAAU,yBACT,QAAQ;iBAyBW,mBACpB,MAAM,kBACN,mBACA,UAAU,0BACT,QAAQ;;cAmCE;;;;;;;;;;;;;;;UAgBI,eAAe;;;;;;EAM9B,iBAAiB,mBAAmB;;;;;;EAOpC,sBAAsB,mBAAmB;;;;;;EAOzC,sBAAsB,UAAU,8BAA8B;;;;;;EAO9D,kBAAkB,UAAU,yBAAyB;;;;;;EAOrD,mBAAmB,UAAU,0BAA0B"}
1
+ {"version":3,"file":"stream.d.cts","names":[],"sources":["../../../src/utils/testing/stream.ts"],"mappings":";;;;;UAQU;EACR;EACA,OAAO,YAAY;EACnB;IACE,YACE,cACA,mBACA,mBACA;MAAY;;IAEd,cAAc;IACd,cAAc;;;UAIR;EACR;EACA;EACA;EACA;;wBAkHoB,iBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;wBAsBW,sBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;YAsBC;EACV;EACA,MAAM;;YAGI;EACV;EACA;EACA;EACA,sBAAsB;EACtB,uBAAuB;;YAGb;EACV;EACA;EACA,YAAY;EACZ,QAAQ;EACR,mBAAmB;;wBAGC,sBACpB,MAAM,kBACN,mBACA,UAAU,8BACT,QAAQ;wBA+BW,kBACpB,MAAM,kBACN,mBACA,UAAU,yBACT,QAAQ;wBAyBW,mBACpB,MAAM,kBACN,mBACA,UAAU,0BACT,QAAQ;;qBAmCE;;;;;;;;;;;;;;;iBAgBI,eAAe;;;;;;EAM9B,iBAAiB,mBAAmB;;;;;;EAOpC,sBAAsB,mBAAmB;;;;;;EAOzC,sBAAsB,UAAU,8BAA8B;;;;;;EAO9D,kBAAkB,UAAU,yBAAyB;;;;;;EAOrD,mBAAmB,UAAU,0BAA0B"}
@@ -20,31 +20,31 @@ interface ExpectationResult {
20
20
  actual?: unknown;
21
21
  expected?: unknown;
22
22
  }
23
- declare function toHaveStreamText(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
24
- declare function toHaveStreamReasoning(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
25
- type StreamToolCallExpectation = {
23
+ export declare function toHaveStreamText(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
24
+ export declare function toHaveStreamReasoning(this: ExpectExtendThis, received: unknown, expected: string): Promise<ExpectationResult>;
25
+ export type StreamToolCallExpectation = {
26
26
  name: string;
27
27
  args: Record<string, unknown>;
28
28
  };
29
- type StreamUsageExpectation = {
29
+ export type StreamUsageExpectation = {
30
30
  input_tokens?: number;
31
31
  output_tokens?: number;
32
32
  total_tokens?: number;
33
33
  input_token_details?: Record<string, unknown>;
34
34
  output_token_details?: Record<string, unknown>;
35
35
  };
36
- type StreamOutputExpectation = {
36
+ export type StreamOutputExpectation = {
37
37
  id?: string;
38
38
  text?: string;
39
39
  toolCalls?: StreamToolCallExpectation[];
40
40
  usage?: StreamUsageExpectation;
41
41
  responseMetadata?: Record<string, unknown>;
42
42
  };
43
- declare function toHaveStreamToolCalls(this: ExpectExtendThis, received: unknown, expected: StreamToolCallExpectation[]): Promise<ExpectationResult>;
44
- declare function toHaveStreamUsage(this: ExpectExtendThis, received: unknown, expected: StreamUsageExpectation): Promise<ExpectationResult>;
45
- declare function toHaveStreamOutput(this: ExpectExtendThis, received: unknown, expected: StreamOutputExpectation): Promise<ExpectationResult>;
43
+ export declare function toHaveStreamToolCalls(this: ExpectExtendThis, received: unknown, expected: StreamToolCallExpectation[]): Promise<ExpectationResult>;
44
+ export declare function toHaveStreamUsage(this: ExpectExtendThis, received: unknown, expected: StreamUsageExpectation): Promise<ExpectationResult>;
45
+ export declare function toHaveStreamOutput(this: ExpectExtendThis, received: unknown, expected: StreamOutputExpectation): Promise<ExpectationResult>;
46
46
  /** Stream matchers for `expect.extend()`. */
47
- declare const streamMatchers: {
47
+ export declare const streamMatchers: {
48
48
  toHaveStreamText: typeof toHaveStreamText;
49
49
  toHaveStreamReasoning: typeof toHaveStreamReasoning;
50
50
  toHaveStreamToolCalls: typeof toHaveStreamToolCalls;
@@ -59,7 +59,7 @@ declare const streamMatchers: {
59
59
  *
60
60
  * @typeParam R - The assertion return type provided by the test framework.
61
61
  */
62
- interface StreamMatchers<R = unknown> {
62
+ export interface StreamMatchers<R = unknown> {
63
63
  /**
64
64
  * Asserts that the stream resolves to the expected concatenated text.
65
65
  *
@@ -92,5 +92,4 @@ interface StreamMatchers<R = unknown> {
92
92
  toHaveStreamOutput(expected: StreamOutputExpectation): R;
93
93
  }
94
94
  //#endregion
95
- export { StreamMatchers, StreamOutputExpectation, StreamToolCallExpectation, StreamUsageExpectation, streamMatchers, toHaveStreamOutput, toHaveStreamReasoning, toHaveStreamText, toHaveStreamToolCalls, toHaveStreamUsage };
96
95
  //# sourceMappingURL=stream.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stream.d.ts","names":[],"sources":["../../../src/utils/testing/stream.ts"],"mappings":";;;;;UAQU;EACR;EACA,OAAO,YAAY;EACnB;IACE,YACE,cACA,mBACA,mBACA;MAAY;;IAEd,cAAc;IACd,cAAc;;;UAIR;EACR;EACA;EACA;EACA;;iBAkHoB,iBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;iBAsBW,sBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;KAsBC;EACV;EACA,MAAM;;KAGI;EACV;EACA;EACA;EACA,sBAAsB;EACtB,uBAAuB;;KAGb;EACV;EACA;EACA,YAAY;EACZ,QAAQ;EACR,mBAAmB;;iBAGC,sBACpB,MAAM,kBACN,mBACA,UAAU,8BACT,QAAQ;iBA+BW,kBACpB,MAAM,kBACN,mBACA,UAAU,yBACT,QAAQ;iBAyBW,mBACpB,MAAM,kBACN,mBACA,UAAU,0BACT,QAAQ;;cAmCE;;;;;;;;;;;;;;;UAgBI,eAAe;;;;;;EAM9B,iBAAiB,mBAAmB;;;;;;EAOpC,sBAAsB,mBAAmB;;;;;;EAOzC,sBAAsB,UAAU,8BAA8B;;;;;;EAO9D,kBAAkB,UAAU,yBAAyB;;;;;;EAOrD,mBAAmB,UAAU,0BAA0B"}
1
+ {"version":3,"file":"stream.d.ts","names":[],"sources":["../../../src/utils/testing/stream.ts"],"mappings":";;;;;UAQU;EACR;EACA,OAAO,YAAY;EACnB;IACE,YACE,cACA,mBACA,mBACA;MAAY;;IAEd,cAAc;IACd,cAAc;;;UAIR;EACR;EACA;EACA;EACA;;wBAkHoB,iBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;wBAsBW,sBACpB,MAAM,kBACN,mBACA,mBACC,QAAQ;YAsBC;EACV;EACA,MAAM;;YAGI;EACV;EACA;EACA;EACA,sBAAsB;EACtB,uBAAuB;;YAGb;EACV;EACA;EACA,YAAY;EACZ,QAAQ;EACR,mBAAmB;;wBAGC,sBACpB,MAAM,kBACN,mBACA,UAAU,8BACT,QAAQ;wBA+BW,kBACpB,MAAM,kBACN,mBACA,UAAU,yBACT,QAAQ;wBAyBW,mBACpB,MAAM,kBACN,mBACA,UAAU,0BACT,QAAQ;;qBAmCE;;;;;;;;;;;;;;;iBAgBI,eAAe;;;;;;EAM9B,iBAAiB,mBAAmB;;;;;;EAOpC,sBAAsB,mBAAmB;;;;;;EAOzC,sBAAsB,UAAU,8BAA8B;;;;;;EAO9D,kBAAkB,UAAU,yBAAyB;;;;;;EAOrD,mBAAmB,UAAU,0BAA0B"}
@@ -3,12 +3,12 @@ import { CallbackManagerForToolRun } from "../../callbacks/manager.cjs";
3
3
  import { ToolInputSchemaOutputType, ToolParams } from "../../tools/types.cjs";
4
4
  import { StructuredTool } from "../../tools/index.cjs";
5
5
  //#region src/utils/testing/tools.d.ts
6
- interface FakeToolParams<T extends InteropZodObject = InteropZodObject> extends ToolParams {
6
+ export interface FakeToolParams<T extends InteropZodObject = InteropZodObject> extends ToolParams {
7
7
  name: string;
8
8
  description: string;
9
9
  schema: T;
10
10
  }
11
- declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends StructuredTool<T> {
11
+ export declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends StructuredTool<T> {
12
12
  name: string;
13
13
  description: string;
14
14
  schema: T;
@@ -16,5 +16,4 @@ declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends St
16
16
  protected _call(arg: ToolInputSchemaOutputType<T>, _runManager?: CallbackManagerForToolRun): Promise<string>;
17
17
  }
18
18
  //#endregion
19
- export { FakeTool, FakeToolParams };
20
19
  //# sourceMappingURL=tools.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.cts","names":[],"sources":["../../../src/utils/testing/tools.ts"],"mappings":";;;;;UAKiB,eACf,UAAU,mBAAmB,0BACrB;EACR;EACA;EACA,QAAQ;;cAGG,SACX,UAAU,mBAAmB,0BACrB,eAAe;EACvB;EAEA;EAEA,QAAQ;EAER,YAAY,QAAQ,eAAe;YAOnB,MACd,KAAK,0BAA0B,IAC/B,cAAc,4BACb"}
1
+ {"version":3,"file":"tools.d.cts","names":[],"sources":["../../../src/utils/testing/tools.ts"],"mappings":";;;;;iBAKiB,eACf,UAAU,mBAAmB,0BACrB;EACR;EACA;EACA,QAAQ;;qBAGG,SACX,UAAU,mBAAmB,0BACrB,eAAe;EACvB;EAEA;EAEA,QAAQ;EAER,YAAY,QAAQ,eAAe;YAOnB,MACd,KAAK,0BAA0B,IAC/B,cAAc,4BACb"}
@@ -3,12 +3,12 @@ import { CallbackManagerForToolRun } from "../../callbacks/manager.js";
3
3
  import { ToolInputSchemaOutputType, ToolParams } from "../../tools/types.js";
4
4
  import { StructuredTool } from "../../tools/index.js";
5
5
  //#region src/utils/testing/tools.d.ts
6
- interface FakeToolParams<T extends InteropZodObject = InteropZodObject> extends ToolParams {
6
+ export interface FakeToolParams<T extends InteropZodObject = InteropZodObject> extends ToolParams {
7
7
  name: string;
8
8
  description: string;
9
9
  schema: T;
10
10
  }
11
- declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends StructuredTool<T> {
11
+ export declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends StructuredTool<T> {
12
12
  name: string;
13
13
  description: string;
14
14
  schema: T;
@@ -16,5 +16,4 @@ declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends St
16
16
  protected _call(arg: ToolInputSchemaOutputType<T>, _runManager?: CallbackManagerForToolRun): Promise<string>;
17
17
  }
18
18
  //#endregion
19
- export { FakeTool, FakeToolParams };
20
19
  //# sourceMappingURL=tools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","names":[],"sources":["../../../src/utils/testing/tools.ts"],"mappings":";;;;;UAKiB,eACf,UAAU,mBAAmB,0BACrB;EACR;EACA;EACA,QAAQ;;cAGG,SACX,UAAU,mBAAmB,0BACrB,eAAe;EACvB;EAEA;EAEA,QAAQ;EAER,YAAY,QAAQ,eAAe;YAOnB,MACd,KAAK,0BAA0B,IAC/B,cAAc,4BACb"}
1
+ {"version":3,"file":"tools.d.ts","names":[],"sources":["../../../src/utils/testing/tools.ts"],"mappings":";;;;;iBAKiB,eACf,UAAU,mBAAmB,0BACrB;EACR;EACA;EACA,QAAQ;;qBAGG,SACX,UAAU,mBAAmB,0BACrB,eAAe;EACvB;EAEA;EAEA,QAAQ;EAER,YAAY,QAAQ,eAAe;YAOnB,MACd,KAAK,0BAA0B,IAC/B,cAAc,4BACb"}
@@ -1,6 +1,6 @@
1
1
  import { BaseTracer, Run } from "../../tracers/base.cjs";
2
2
  //#region src/utils/testing/tracers.d.ts
3
- declare class SingleRunExtractor extends BaseTracer {
3
+ export declare class SingleRunExtractor extends BaseTracer {
4
4
  runPromiseResolver: (run: Run) => void;
5
5
  runPromise: Promise<Run>;
6
6
  /** The name of the callback handler. */
@@ -10,5 +10,4 @@ declare class SingleRunExtractor extends BaseTracer {
10
10
  extract(): Promise<Run>;
11
11
  }
12
12
  //#endregion
13
- export { SingleRunExtractor };
14
13
  //# sourceMappingURL=tracers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracers.d.cts","names":[],"sources":["../../../src/utils/testing/tracers.ts"],"mappings":";;cAEa,2BAA2B;EACtC,qBAAqB,KAAK;EAE1B,YAAY,QAAQ;;EAGpB;EAEA;EAOM,WAAW,KAAK,MAAG;EAInB,WAAW,QAAQ"}
1
+ {"version":3,"file":"tracers.d.cts","names":[],"sources":["../../../src/utils/testing/tracers.ts"],"mappings":";;qBAEa,2BAA2B;EACtC,qBAAqB,KAAK;EAE1B,YAAY,QAAQ;;EAGpB;EAEA;EAOM,WAAW,KAAK,MAAG;EAInB,WAAW,QAAQ"}
@@ -1,6 +1,6 @@
1
1
  import { BaseTracer, Run } from "../../tracers/base.js";
2
2
  //#region src/utils/testing/tracers.d.ts
3
- declare class SingleRunExtractor extends BaseTracer {
3
+ export declare class SingleRunExtractor extends BaseTracer {
4
4
  runPromiseResolver: (run: Run) => void;
5
5
  runPromise: Promise<Run>;
6
6
  /** The name of the callback handler. */
@@ -10,5 +10,4 @@ declare class SingleRunExtractor extends BaseTracer {
10
10
  extract(): Promise<Run>;
11
11
  }
12
12
  //#endregion
13
- export { SingleRunExtractor };
14
13
  //# sourceMappingURL=tracers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracers.d.ts","names":[],"sources":["../../../src/utils/testing/tracers.ts"],"mappings":";;cAEa,2BAA2B;EACtC,qBAAqB,KAAK;EAE1B,YAAY,QAAQ;;EAGpB;EAEA;EAOM,WAAW,KAAK,MAAG;EAInB,WAAW,QAAQ"}
1
+ {"version":3,"file":"tracers.d.ts","names":[],"sources":["../../../src/utils/testing/tracers.ts"],"mappings":";;qBAEa,2BAA2B;EACtC,qBAAqB,KAAK;EAE1B,YAAY,QAAQ;;EAGpB;EAEA;EAOM,WAAW,KAAK,MAAG;EAInB,WAAW,QAAQ"}
@@ -18,7 +18,7 @@ interface MemoryVector {
18
18
  * `FakeVectorStore` constructor. It includes an optional `similarity`
19
19
  * function.
20
20
  */
21
- interface FakeVectorStoreArgs {
21
+ export interface FakeVectorStoreArgs {
22
22
  similarity?: typeof cosine;
23
23
  }
24
24
  /**
@@ -26,7 +26,7 @@ interface FakeVectorStoreArgs {
26
26
  * methods for adding documents, performing similarity searches, and
27
27
  * creating instances from texts, documents, or an existing index.
28
28
  */
29
- declare class FakeVectorStore extends VectorStore {
29
+ export declare class FakeVectorStore extends VectorStore {
30
30
  FilterType: (doc: Document) => boolean;
31
31
  memoryVectors: MemoryVector[];
32
32
  similarity: typeof cosine;
@@ -91,5 +91,4 @@ declare class FakeVectorStore extends VectorStore {
91
91
  static fromExistingIndex(embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;
92
92
  }
93
93
  //#endregion
94
- export { FakeVectorStore, FakeVectorStoreArgs };
95
94
  //# sourceMappingURL=vectorstores.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vectorstores.d.cts","names":[],"sources":["../../../src/utils/testing/vectorstores.ts"],"mappings":";;;;;;;;;;UAUU;EACR;EACA;EAEA,UAAU;;;;;;;UAQK;EACf,oBAAoB;;;;;;;cAQT,wBAAwB;EAC3B,aAAa,KAAK;EAE1B,eAAe;EAEf,mBAAmB;EAEnB;EAIA,YACE,YAAY,uBACV,eAAe,SAAQ;;;;;;;;EAcrB,aAAa,WAAW,aAAa;;;;;;;;;EAgBrC,WAAW,qBAAqB,WAAW,aAAa;;;;;;;;;;;EAoBxD,gCACJ,iBACA,WACA,8BACC,SAAS;;;;;;;;;;;SA0CC,UACX,iBACA,8BACA,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAqBE,cACX,MAAM,YACN,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAcE,kBACX,YAAY,qBACZ,WAAW,sBACV,QAAQ"}
1
+ {"version":3,"file":"vectorstores.d.cts","names":[],"sources":["../../../src/utils/testing/vectorstores.ts"],"mappings":";;;;;;;;;;UAUU;EACR;EACA;EAEA,UAAU;;;;;;;iBAQK;EACf,oBAAoB;;;;;;;qBAQT,wBAAwB;EAC3B,aAAa,KAAK;EAE1B,eAAe;EAEf,mBAAmB;EAEnB;EAIA,YACE,YAAY,uBACV,eAAe,SAAQ;;;;;;;;EAcrB,aAAa,WAAW,aAAa;;;;;;;;;EAgBrC,WAAW,qBAAqB,WAAW,aAAa;;;;;;;;;;;EAoBxD,gCACJ,iBACA,WACA,8BACC,SAAS;;;;;;;;;;;SA0CC,UACX,iBACA,8BACA,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAqBE,cACX,MAAM,YACN,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAcE,kBACX,YAAY,qBACZ,WAAW,sBACV,QAAQ"}
@@ -18,7 +18,7 @@ interface MemoryVector {
18
18
  * `FakeVectorStore` constructor. It includes an optional `similarity`
19
19
  * function.
20
20
  */
21
- interface FakeVectorStoreArgs {
21
+ export interface FakeVectorStoreArgs {
22
22
  similarity?: typeof cosine;
23
23
  }
24
24
  /**
@@ -26,7 +26,7 @@ interface FakeVectorStoreArgs {
26
26
  * methods for adding documents, performing similarity searches, and
27
27
  * creating instances from texts, documents, or an existing index.
28
28
  */
29
- declare class FakeVectorStore extends VectorStore {
29
+ export declare class FakeVectorStore extends VectorStore {
30
30
  FilterType: (doc: Document) => boolean;
31
31
  memoryVectors: MemoryVector[];
32
32
  similarity: typeof cosine;
@@ -91,5 +91,4 @@ declare class FakeVectorStore extends VectorStore {
91
91
  static fromExistingIndex(embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;
92
92
  }
93
93
  //#endregion
94
- export { FakeVectorStore, FakeVectorStoreArgs };
95
94
  //# sourceMappingURL=vectorstores.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vectorstores.d.ts","names":[],"sources":["../../../src/utils/testing/vectorstores.ts"],"mappings":";;;;;;;;;;UAUU;EACR;EACA;EAEA,UAAU;;;;;;;UAQK;EACf,oBAAoB;;;;;;;cAQT,wBAAwB;EAC3B,aAAa,KAAK;EAE1B,eAAe;EAEf,mBAAmB;EAEnB;EAIA,YACE,YAAY,uBACV,eAAe,SAAQ;;;;;;;;EAcrB,aAAa,WAAW,aAAa;;;;;;;;;EAgBrC,WAAW,qBAAqB,WAAW,aAAa;;;;;;;;;;;EAoBxD,gCACJ,iBACA,WACA,8BACC,SAAS;;;;;;;;;;;SA0CC,UACX,iBACA,8BACA,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAqBE,cACX,MAAM,YACN,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAcE,kBACX,YAAY,qBACZ,WAAW,sBACV,QAAQ"}
1
+ {"version":3,"file":"vectorstores.d.ts","names":[],"sources":["../../../src/utils/testing/vectorstores.ts"],"mappings":";;;;;;;;;;UAUU;EACR;EACA;EAEA,UAAU;;;;;;;iBAQK;EACf,oBAAoB;;;;;;;qBAQT,wBAAwB;EAC3B,aAAa,KAAK;EAE1B,eAAe;EAEf,mBAAmB;EAEnB;EAIA,YACE,YAAY,uBACV,eAAe,SAAQ;;;;;;;;EAcrB,aAAa,WAAW,aAAa;;;;;;;;;EAgBrC,WAAW,qBAAqB,WAAW,aAAa;;;;;;;;;;;EAoBxD,gCACJ,iBACA,WACA,8BACC,SAAS;;;;;;;;;;;SA0CC,UACX,iBACA,8BACA,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAqBE,cACX,MAAM,YACN,YAAY,qBACZ,WAAW,sBACV,QAAQ;;;;;;;;;SAcE,kBACX,YAAY,qBACZ,WAAW,sBACV,QAAQ"}
@@ -1,7 +1,6 @@
1
1
  import { Tiktoken, TiktokenEncoding, TiktokenModel } from "js-tiktoken/lite";
2
2
  //#region src/utils/tiktoken.d.ts
3
- declare function getEncoding(encoding: TiktokenEncoding): Promise<Tiktoken>;
4
- declare function encodingForModel(model: TiktokenModel): Promise<Tiktoken>;
3
+ export declare function getEncoding(encoding: TiktokenEncoding): Promise<Tiktoken>;
4
+ export declare function encodingForModel(model: TiktokenModel): Promise<Tiktoken>;
5
5
  //#endregion
6
- export { encodingForModel, getEncoding };
7
6
  //# sourceMappingURL=tiktoken.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tiktoken.d.cts","names":[],"sources":["../../src/utils/tiktoken.ts"],"mappings":";;iBAYsB,YAAY,UAAU,mBAAgB,QAAA;iBAetC,iBAAiB,OAAO,gBAAa,QAAA"}
1
+ {"version":3,"file":"tiktoken.d.cts","names":[],"sources":["../../src/utils/tiktoken.ts"],"mappings":";;wBAYsB,YAAY,UAAU,mBAAgB,QAAA;wBAetC,iBAAiB,OAAO,gBAAa,QAAA"}
@@ -1,7 +1,6 @@
1
1
  import { Tiktoken, TiktokenEncoding, TiktokenModel } from "js-tiktoken/lite";
2
2
  //#region src/utils/tiktoken.d.ts
3
- declare function getEncoding(encoding: TiktokenEncoding): Promise<Tiktoken>;
4
- declare function encodingForModel(model: TiktokenModel): Promise<Tiktoken>;
3
+ export declare function getEncoding(encoding: TiktokenEncoding): Promise<Tiktoken>;
4
+ export declare function encodingForModel(model: TiktokenModel): Promise<Tiktoken>;
5
5
  //#endregion
6
- export { encodingForModel, getEncoding };
7
6
  //# sourceMappingURL=tiktoken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tiktoken.d.ts","names":[],"sources":["../../src/utils/tiktoken.ts"],"mappings":";;iBAYsB,YAAY,UAAU,mBAAgB,QAAA;iBAetC,iBAAiB,OAAO,gBAAa,QAAA"}
1
+ {"version":3,"file":"tiktoken.d.ts","names":[],"sources":["../../src/utils/tiktoken.ts"],"mappings":";;wBAYsB,YAAY,UAAU,mBAAgB,QAAA;wBAetC,iBAAiB,OAAO,gBAAa,QAAA"}
@@ -3,10 +3,10 @@ import { InferInteropZodInput, InferInteropZodOutput, InteropZodDefault, Interop
3
3
  /**
4
4
  * Represents a string value with autocompleted, but not required, suggestions.
5
5
  */
6
- type StringWithAutocomplete<T> = T | (string & Record<never, never>);
7
- type InputValues<K extends string = string> = Record<K, any>;
8
- type PartialValues<K extends string = string> = Record<K, string | (() => Promise<string>) | (() => string)>;
9
- type ChainValues = Record<string, any>;
6
+ export type StringWithAutocomplete<T> = T | (string & Record<never, never>);
7
+ export type InputValues<K extends string = string> = Record<K, any>;
8
+ export type PartialValues<K extends string = string> = Record<K, string | (() => Promise<string>) | (() => string)>;
9
+ export type ChainValues = Record<string, any>;
10
10
  //#endregion
11
- export { ChainValues, InferInteropZodInput, InferInteropZodOutput, InputValues, InteropZodDefault, InteropZodError, InteropZodIssue, InteropZodLiteral, InteropZodObject, InteropZodObjectShape, InteropZodOptional, InteropZodType, Mutable, PartialValues, StringWithAutocomplete, ZodDefaultV3, ZodDefaultV4, ZodNullableV4, ZodObjectMain, ZodObjectV3, ZodObjectV4, ZodObjectV4Classic, ZodOptionalV3, ZodOptionalV4, ZodStringV3, ZodStringV4, ZodV3EffectsLike, ZodV3Like, ZodV3ObjectLike, ZodV3TypeDef, ZodV4ArrayLike, ZodV4Internals, ZodV4Like, ZodV4NullableLike, ZodV4ObjectLike, ZodV4OptionalLike, ZodV4PipeLike, extendInteropZodObject, getInteropZodDefaultGetter, getInteropZodObjectShape, getSchemaDescription, interopParse, interopParseAsync, interopSafeParse, interopSafeParseAsync, interopZodObjectMakeFieldsOptional, interopZodObjectPartial, interopZodObjectPassthrough, interopZodObjectStrict, interopZodTransformInputSchema, isInteropZodError, isInteropZodLiteral, isInteropZodObject, isInteropZodSchema, isShapelessZodSchema, isSimpleStringZodSchema, isZodArrayV4, isZodLiteralV3, isZodLiteralV4, isZodNullableV4, isZodObjectV3, isZodObjectV4, isZodOptionalV4, isZodSchema, isZodSchemaV3, isZodSchemaV4 };
11
+ export { InferInteropZodInput, InferInteropZodOutput, InteropZodDefault, InteropZodError, InteropZodIssue, InteropZodLiteral, InteropZodObject, InteropZodObjectShape, InteropZodOptional, InteropZodType, Mutable, ZodDefaultV3, ZodDefaultV4, ZodNullableV4, ZodObjectMain, ZodObjectV3, ZodObjectV4, ZodObjectV4Classic, ZodOptionalV3, ZodOptionalV4, ZodStringV3, ZodStringV4, ZodV3EffectsLike, ZodV3Like, ZodV3ObjectLike, ZodV3TypeDef, ZodV4ArrayLike, ZodV4Internals, ZodV4Like, ZodV4NullableLike, ZodV4ObjectLike, ZodV4OptionalLike, ZodV4PipeLike, extendInteropZodObject, getInteropZodDefaultGetter, getInteropZodObjectShape, getSchemaDescription, interopParse, interopParseAsync, interopSafeParse, interopSafeParseAsync, interopZodObjectMakeFieldsOptional, interopZodObjectPartial, interopZodObjectPassthrough, interopZodObjectStrict, interopZodTransformInputSchema, isInteropZodError, isInteropZodLiteral, isInteropZodObject, isInteropZodSchema, isShapelessZodSchema, isSimpleStringZodSchema, isZodArrayV4, isZodLiteralV3, isZodLiteralV4, isZodNullableV4, isZodObjectV3, isZodObjectV4, isZodOptionalV4, isZodSchema, isZodSchemaV3, isZodSchemaV4 };
12
12
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/utils/types/index.ts"],"mappings":";;;;;KAMY,uBAAuB,KAAK,cAAc;KAG1C,YAAY,6BAA6B,OAAO;KAEhD,cAAc,6BAA6B,OACrD,mBACgB;KAIN,cAAc"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/utils/types/index.ts"],"mappings":";;;;;YAMY,uBAAuB,KAAK,cAAc;YAG1C,YAAY,6BAA6B,OAAO;YAEhD,cAAc,6BAA6B,OACrD,mBACgB;YAIN,cAAc"}
@@ -3,10 +3,10 @@ import { InferInteropZodInput, InferInteropZodOutput, InteropZodDefault, Interop
3
3
  /**
4
4
  * Represents a string value with autocompleted, but not required, suggestions.
5
5
  */
6
- type StringWithAutocomplete<T> = T | (string & Record<never, never>);
7
- type InputValues<K extends string = string> = Record<K, any>;
8
- type PartialValues<K extends string = string> = Record<K, string | (() => Promise<string>) | (() => string)>;
9
- type ChainValues = Record<string, any>;
6
+ export type StringWithAutocomplete<T> = T | (string & Record<never, never>);
7
+ export type InputValues<K extends string = string> = Record<K, any>;
8
+ export type PartialValues<K extends string = string> = Record<K, string | (() => Promise<string>) | (() => string)>;
9
+ export type ChainValues = Record<string, any>;
10
10
  //#endregion
11
- export { ChainValues, InferInteropZodInput, InferInteropZodOutput, InputValues, InteropZodDefault, InteropZodError, InteropZodIssue, InteropZodLiteral, InteropZodObject, InteropZodObjectShape, InteropZodOptional, InteropZodType, Mutable, PartialValues, StringWithAutocomplete, ZodDefaultV3, ZodDefaultV4, ZodNullableV4, ZodObjectMain, ZodObjectV3, ZodObjectV4, ZodObjectV4Classic, ZodOptionalV3, ZodOptionalV4, ZodStringV3, ZodStringV4, ZodV3EffectsLike, ZodV3Like, ZodV3ObjectLike, ZodV3TypeDef, ZodV4ArrayLike, ZodV4Internals, ZodV4Like, ZodV4NullableLike, ZodV4ObjectLike, ZodV4OptionalLike, ZodV4PipeLike, extendInteropZodObject, getInteropZodDefaultGetter, getInteropZodObjectShape, getSchemaDescription, interopParse, interopParseAsync, interopSafeParse, interopSafeParseAsync, interopZodObjectMakeFieldsOptional, interopZodObjectPartial, interopZodObjectPassthrough, interopZodObjectStrict, interopZodTransformInputSchema, isInteropZodError, isInteropZodLiteral, isInteropZodObject, isInteropZodSchema, isShapelessZodSchema, isSimpleStringZodSchema, isZodArrayV4, isZodLiteralV3, isZodLiteralV4, isZodNullableV4, isZodObjectV3, isZodObjectV4, isZodOptionalV4, isZodSchema, isZodSchemaV3, isZodSchemaV4 };
11
+ export { InferInteropZodInput, InferInteropZodOutput, InteropZodDefault, InteropZodError, InteropZodIssue, InteropZodLiteral, InteropZodObject, InteropZodObjectShape, InteropZodOptional, InteropZodType, Mutable, ZodDefaultV3, ZodDefaultV4, ZodNullableV4, ZodObjectMain, ZodObjectV3, ZodObjectV4, ZodObjectV4Classic, ZodOptionalV3, ZodOptionalV4, ZodStringV3, ZodStringV4, ZodV3EffectsLike, ZodV3Like, ZodV3ObjectLike, ZodV3TypeDef, ZodV4ArrayLike, ZodV4Internals, ZodV4Like, ZodV4NullableLike, ZodV4ObjectLike, ZodV4OptionalLike, ZodV4PipeLike, extendInteropZodObject, getInteropZodDefaultGetter, getInteropZodObjectShape, getSchemaDescription, interopParse, interopParseAsync, interopSafeParse, interopSafeParseAsync, interopZodObjectMakeFieldsOptional, interopZodObjectPartial, interopZodObjectPassthrough, interopZodObjectStrict, interopZodTransformInputSchema, isInteropZodError, isInteropZodLiteral, isInteropZodObject, isInteropZodSchema, isShapelessZodSchema, isSimpleStringZodSchema, isZodArrayV4, isZodLiteralV3, isZodLiteralV4, isZodNullableV4, isZodObjectV3, isZodObjectV4, isZodOptionalV4, isZodSchema, isZodSchemaV3, isZodSchemaV4 };
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/utils/types/index.ts"],"mappings":";;;;;KAMY,uBAAuB,KAAK,cAAc;KAG1C,YAAY,6BAA6B,OAAO;KAEhD,cAAc,6BAA6B,OACrD,mBACgB;KAIN,cAAc"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/utils/types/index.ts"],"mappings":";;;;;YAMY,uBAAuB,KAAK,cAAc;YAG1C,YAAY,6BAA6B,OAAO;YAEhD,cAAc,6BAA6B,OACrD,mBACgB;YAIN,cAAc"}