@langchain/core 1.2.13 → 1.2.16

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 (718) hide show
  1. package/CHANGELOG.md +19 -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.cjs.map +1 -1
  117. package/dist/language_models/profile.d.cts +16 -2
  118. package/dist/language_models/profile.d.cts.map +1 -1
  119. package/dist/language_models/profile.d.ts +16 -2
  120. package/dist/language_models/profile.d.ts.map +1 -1
  121. package/dist/language_models/profile.js.map +1 -1
  122. package/dist/language_models/stream.d.cts +5 -6
  123. package/dist/language_models/stream.d.cts.map +1 -1
  124. package/dist/language_models/stream.d.ts +5 -6
  125. package/dist/language_models/stream.d.ts.map +1 -1
  126. package/dist/language_models/structured_output.d.cts +3 -4
  127. package/dist/language_models/structured_output.d.cts.map +1 -1
  128. package/dist/language_models/structured_output.d.ts +3 -4
  129. package/dist/language_models/structured_output.d.ts.map +1 -1
  130. package/dist/load/import_type.d.cts +2 -3
  131. package/dist/load/import_type.d.cts.map +1 -1
  132. package/dist/load/import_type.d.ts +2 -3
  133. package/dist/load/import_type.d.ts.map +1 -1
  134. package/dist/load/index.d.cts +2 -3
  135. package/dist/load/index.d.cts.map +1 -1
  136. package/dist/load/index.d.ts +2 -3
  137. package/dist/load/index.d.ts.map +1 -1
  138. package/dist/load/map_keys.d.cts +1 -2
  139. package/dist/load/map_keys.d.cts.map +1 -1
  140. package/dist/load/map_keys.d.ts +1 -2
  141. package/dist/load/map_keys.d.ts.map +1 -1
  142. package/dist/load/serializable.d.cts +9 -10
  143. package/dist/load/serializable.d.cts.map +1 -1
  144. package/dist/load/serializable.d.ts +9 -10
  145. package/dist/load/serializable.d.ts.map +1 -1
  146. package/dist/memory.d.cts +7 -8
  147. package/dist/memory.d.cts.map +1 -1
  148. package/dist/memory.d.ts +7 -8
  149. package/dist/memory.d.ts.map +1 -1
  150. package/dist/messages/ai.d.cts +6 -7
  151. package/dist/messages/ai.d.cts.map +1 -1
  152. package/dist/messages/ai.d.ts +6 -7
  153. package/dist/messages/ai.d.ts.map +1 -1
  154. package/dist/messages/base.d.cts +23 -24
  155. package/dist/messages/base.d.cts.map +1 -1
  156. package/dist/messages/base.d.ts +23 -24
  157. package/dist/messages/base.d.ts.map +1 -1
  158. package/dist/messages/chat.d.cts +5 -6
  159. package/dist/messages/chat.d.cts.map +1 -1
  160. package/dist/messages/chat.d.ts +5 -6
  161. package/dist/messages/chat.d.ts.map +1 -1
  162. package/dist/messages/content/base.d.cts +1 -2
  163. package/dist/messages/content/base.d.cts.map +1 -1
  164. package/dist/messages/content/base.d.ts +1 -2
  165. package/dist/messages/content/base.d.ts.map +1 -1
  166. package/dist/messages/content/data.d.cts +18 -19
  167. package/dist/messages/content/data.d.cts.map +1 -1
  168. package/dist/messages/content/data.d.ts +18 -19
  169. package/dist/messages/content/data.d.ts.map +1 -1
  170. package/dist/messages/content/index.d.cts +4 -5
  171. package/dist/messages/content/index.d.cts.map +1 -1
  172. package/dist/messages/content/index.d.ts +4 -5
  173. package/dist/messages/content/index.d.ts.map +1 -1
  174. package/dist/messages/content/multimodal.d.cts +2 -3
  175. package/dist/messages/content/multimodal.d.cts.map +1 -1
  176. package/dist/messages/content/multimodal.d.ts +2 -3
  177. package/dist/messages/content/multimodal.d.ts.map +1 -1
  178. package/dist/messages/content/tools.d.cts +2 -3
  179. package/dist/messages/content/tools.d.cts.map +1 -1
  180. package/dist/messages/content/tools.d.ts +2 -3
  181. package/dist/messages/content/tools.d.ts.map +1 -1
  182. package/dist/messages/format.d.cts +1 -2
  183. package/dist/messages/format.d.cts.map +1 -1
  184. package/dist/messages/format.d.ts +1 -2
  185. package/dist/messages/format.d.ts.map +1 -1
  186. package/dist/messages/function.d.cts +5 -6
  187. package/dist/messages/function.d.cts.map +1 -1
  188. package/dist/messages/function.d.ts +5 -6
  189. package/dist/messages/function.d.ts.map +1 -1
  190. package/dist/messages/human.d.cts +5 -6
  191. package/dist/messages/human.d.cts.map +1 -1
  192. package/dist/messages/human.d.ts +5 -6
  193. package/dist/messages/human.d.ts.map +1 -1
  194. package/dist/messages/message.d.cts +20 -21
  195. package/dist/messages/message.d.cts.map +1 -1
  196. package/dist/messages/message.d.ts +20 -21
  197. package/dist/messages/message.d.ts.map +1 -1
  198. package/dist/messages/metadata.d.cts +7 -8
  199. package/dist/messages/metadata.d.cts.map +1 -1
  200. package/dist/messages/metadata.d.ts +7 -8
  201. package/dist/messages/metadata.d.ts.map +1 -1
  202. package/dist/messages/modifier.d.cts +2 -3
  203. package/dist/messages/modifier.d.cts.map +1 -1
  204. package/dist/messages/modifier.d.ts +2 -3
  205. package/dist/messages/modifier.d.ts.map +1 -1
  206. package/dist/messages/system.d.cts +5 -6
  207. package/dist/messages/system.d.cts.map +1 -1
  208. package/dist/messages/system.d.ts +5 -6
  209. package/dist/messages/system.d.ts.map +1 -1
  210. package/dist/messages/tool.d.cts +11 -12
  211. package/dist/messages/tool.d.cts.map +1 -1
  212. package/dist/messages/tool.d.ts +11 -12
  213. package/dist/messages/tool.d.ts.map +1 -1
  214. package/dist/messages/transformers.d.cts +12 -13
  215. package/dist/messages/transformers.d.cts.map +1 -1
  216. package/dist/messages/transformers.d.ts +12 -13
  217. package/dist/messages/transformers.d.ts.map +1 -1
  218. package/dist/messages/utils.d.cts +13 -14
  219. package/dist/messages/utils.d.cts.map +1 -1
  220. package/dist/messages/utils.d.ts +13 -14
  221. package/dist/messages/utils.d.ts.map +1 -1
  222. package/dist/output_parsers/base.d.cts +4 -5
  223. package/dist/output_parsers/base.d.cts.map +1 -1
  224. package/dist/output_parsers/base.d.ts +4 -5
  225. package/dist/output_parsers/base.d.ts.map +1 -1
  226. package/dist/output_parsers/bytes.d.cts +1 -2
  227. package/dist/output_parsers/bytes.d.cts.map +1 -1
  228. package/dist/output_parsers/bytes.d.ts +1 -2
  229. package/dist/output_parsers/bytes.d.ts.map +1 -1
  230. package/dist/output_parsers/json.d.cts +2 -2
  231. package/dist/output_parsers/json.d.cts.map +1 -1
  232. package/dist/output_parsers/json.d.ts +2 -2
  233. package/dist/output_parsers/json.d.ts.map +1 -1
  234. package/dist/output_parsers/list.d.cts +5 -6
  235. package/dist/output_parsers/list.d.cts.map +1 -1
  236. package/dist/output_parsers/list.d.ts +5 -6
  237. package/dist/output_parsers/list.d.ts.map +1 -1
  238. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.cts +4 -5
  239. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.cts.map +1 -1
  240. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts +4 -5
  241. package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts.map +1 -1
  242. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.cts +12 -13
  243. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.cts.map +1 -1
  244. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts +12 -13
  245. package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts.map +1 -1
  246. package/dist/output_parsers/standard_schema.d.cts +1 -2
  247. package/dist/output_parsers/standard_schema.d.cts.map +1 -1
  248. package/dist/output_parsers/standard_schema.d.ts +1 -2
  249. package/dist/output_parsers/standard_schema.d.ts.map +1 -1
  250. package/dist/output_parsers/string.d.cts +1 -2
  251. package/dist/output_parsers/string.d.cts.map +1 -1
  252. package/dist/output_parsers/string.d.ts +1 -2
  253. package/dist/output_parsers/string.d.ts.map +1 -1
  254. package/dist/output_parsers/structured.d.cts +6 -7
  255. package/dist/output_parsers/structured.d.cts.map +1 -1
  256. package/dist/output_parsers/structured.d.ts +6 -7
  257. package/dist/output_parsers/structured.d.ts.map +1 -1
  258. package/dist/output_parsers/transform.d.cts +3 -4
  259. package/dist/output_parsers/transform.d.cts.map +1 -1
  260. package/dist/output_parsers/transform.d.ts +3 -4
  261. package/dist/output_parsers/transform.d.ts.map +1 -1
  262. package/dist/output_parsers/xml.d.cts +6 -7
  263. package/dist/output_parsers/xml.d.cts.map +1 -1
  264. package/dist/output_parsers/xml.d.ts +6 -7
  265. package/dist/output_parsers/xml.d.ts.map +1 -1
  266. package/dist/outputs.d.cts +9 -10
  267. package/dist/outputs.d.cts.map +1 -1
  268. package/dist/outputs.d.ts +9 -10
  269. package/dist/outputs.d.ts.map +1 -1
  270. package/dist/prompt_values.d.cts +10 -11
  271. package/dist/prompt_values.d.cts.map +1 -1
  272. package/dist/prompt_values.d.ts +10 -11
  273. package/dist/prompt_values.d.ts.map +1 -1
  274. package/dist/prompts/base.d.cts +4 -5
  275. package/dist/prompts/base.d.cts.map +1 -1
  276. package/dist/prompts/base.d.ts +4 -5
  277. package/dist/prompts/base.d.ts.map +1 -1
  278. package/dist/prompts/chat.d.cts +14 -15
  279. package/dist/prompts/chat.d.cts.map +1 -1
  280. package/dist/prompts/chat.d.ts +14 -15
  281. package/dist/prompts/chat.d.ts.map +1 -1
  282. package/dist/prompts/dict.d.cts +1 -2
  283. package/dist/prompts/dict.d.cts.map +1 -1
  284. package/dist/prompts/dict.d.ts +1 -2
  285. package/dist/prompts/dict.d.ts.map +1 -1
  286. package/dist/prompts/few_shot.d.cts +4 -5
  287. package/dist/prompts/few_shot.d.cts.map +1 -1
  288. package/dist/prompts/few_shot.d.ts +4 -5
  289. package/dist/prompts/few_shot.d.ts.map +1 -1
  290. package/dist/prompts/image.d.cts +2 -3
  291. package/dist/prompts/image.d.cts.map +1 -1
  292. package/dist/prompts/image.d.ts +2 -3
  293. package/dist/prompts/image.d.ts.map +1 -1
  294. package/dist/prompts/pipeline.d.cts +3 -4
  295. package/dist/prompts/pipeline.d.cts.map +1 -1
  296. package/dist/prompts/pipeline.d.ts +3 -4
  297. package/dist/prompts/pipeline.d.ts.map +1 -1
  298. package/dist/prompts/prompt.d.cts +4 -5
  299. package/dist/prompts/prompt.d.cts.map +1 -1
  300. package/dist/prompts/prompt.d.ts +4 -5
  301. package/dist/prompts/prompt.d.ts.map +1 -1
  302. package/dist/prompts/serde.d.cts +3 -4
  303. package/dist/prompts/serde.d.cts.map +1 -1
  304. package/dist/prompts/serde.d.ts +3 -4
  305. package/dist/prompts/serde.d.ts.map +1 -1
  306. package/dist/prompts/string.d.cts +1 -2
  307. package/dist/prompts/string.d.cts.map +1 -1
  308. package/dist/prompts/string.d.ts +1 -2
  309. package/dist/prompts/string.d.ts.map +1 -1
  310. package/dist/prompts/structured.d.cts +2 -3
  311. package/dist/prompts/structured.d.cts.map +1 -1
  312. package/dist/prompts/structured.d.ts +2 -3
  313. package/dist/prompts/structured.d.ts.map +1 -1
  314. package/dist/prompts/template.d.cts +12 -13
  315. package/dist/prompts/template.d.cts.map +1 -1
  316. package/dist/prompts/template.d.ts +12 -13
  317. package/dist/prompts/template.d.ts.map +1 -1
  318. package/dist/retrievers/document_compressors/index.d.cts +1 -2
  319. package/dist/retrievers/document_compressors/index.d.cts.map +1 -1
  320. package/dist/retrievers/document_compressors/index.d.ts +1 -2
  321. package/dist/retrievers/document_compressors/index.d.ts.map +1 -1
  322. package/dist/retrievers/index.d.cts +3 -4
  323. package/dist/retrievers/index.d.cts.map +1 -1
  324. package/dist/retrievers/index.d.ts +3 -4
  325. package/dist/retrievers/index.d.ts.map +1 -1
  326. package/dist/runnables/base.d.cts +23 -23
  327. package/dist/runnables/base.d.cts.map +1 -1
  328. package/dist/runnables/base.d.ts +23 -23
  329. package/dist/runnables/base.d.ts.map +1 -1
  330. package/dist/runnables/branch.d.cts +3 -4
  331. package/dist/runnables/branch.d.cts.map +1 -1
  332. package/dist/runnables/branch.d.ts +3 -4
  333. package/dist/runnables/branch.d.ts.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/graph.d.cts +2 -2
  339. package/dist/runnables/graph.d.cts.map +1 -1
  340. package/dist/runnables/graph.d.ts +2 -2
  341. package/dist/runnables/graph.d.ts.map +1 -1
  342. package/dist/runnables/history.d.cts +2 -3
  343. package/dist/runnables/history.d.cts.map +1 -1
  344. package/dist/runnables/history.d.ts +2 -3
  345. package/dist/runnables/history.d.ts.map +1 -1
  346. package/dist/runnables/passthrough.d.cts +1 -2
  347. package/dist/runnables/passthrough.d.cts.map +1 -1
  348. package/dist/runnables/passthrough.d.ts +1 -2
  349. package/dist/runnables/passthrough.d.ts.map +1 -1
  350. package/dist/runnables/router.d.cts +2 -3
  351. package/dist/runnables/router.d.cts.map +1 -1
  352. package/dist/runnables/router.d.ts +2 -3
  353. package/dist/runnables/router.d.ts.map +1 -1
  354. package/dist/runnables/types.d.cts +6 -7
  355. package/dist/runnables/types.d.cts.map +1 -1
  356. package/dist/runnables/types.d.ts +6 -7
  357. package/dist/runnables/types.d.ts.map +1 -1
  358. package/dist/singletons/async_local_storage/context.d.cts +4 -5
  359. package/dist/singletons/async_local_storage/context.d.cts.map +1 -1
  360. package/dist/singletons/async_local_storage/context.d.ts +4 -5
  361. package/dist/singletons/async_local_storage/context.d.ts.map +1 -1
  362. package/dist/singletons/async_local_storage/globals.d.cts +2 -3
  363. package/dist/singletons/async_local_storage/globals.d.cts.map +1 -1
  364. package/dist/singletons/async_local_storage/globals.d.ts +2 -3
  365. package/dist/singletons/async_local_storage/globals.d.ts.map +1 -1
  366. package/dist/singletons/async_local_storage/index.d.cts +2 -2
  367. package/dist/singletons/async_local_storage/index.d.cts.map +1 -1
  368. package/dist/singletons/async_local_storage/index.d.ts +2 -2
  369. package/dist/singletons/async_local_storage/index.d.ts.map +1 -1
  370. package/dist/singletons/callbacks.d.cts +2 -3
  371. package/dist/singletons/callbacks.d.cts.map +1 -1
  372. package/dist/singletons/callbacks.d.ts +2 -3
  373. package/dist/singletons/callbacks.d.ts.map +1 -1
  374. package/dist/stores.d.cts +2 -3
  375. package/dist/stores.d.cts.map +1 -1
  376. package/dist/stores.d.ts +2 -3
  377. package/dist/stores.d.ts.map +1 -1
  378. package/dist/structured_query/base.d.cts +3 -4
  379. package/dist/structured_query/base.d.cts.map +1 -1
  380. package/dist/structured_query/base.d.ts +3 -4
  381. package/dist/structured_query/base.d.ts.map +1 -1
  382. package/dist/structured_query/functional.d.cts +2 -3
  383. package/dist/structured_query/functional.d.cts.map +1 -1
  384. package/dist/structured_query/functional.d.ts +2 -3
  385. package/dist/structured_query/functional.d.ts.map +1 -1
  386. package/dist/structured_query/ir.d.cts +23 -24
  387. package/dist/structured_query/ir.d.cts.map +1 -1
  388. package/dist/structured_query/ir.d.ts +23 -24
  389. package/dist/structured_query/ir.d.ts.map +1 -1
  390. package/dist/structured_query/utils.d.cts +7 -8
  391. package/dist/structured_query/utils.d.cts.map +1 -1
  392. package/dist/structured_query/utils.d.ts +7 -8
  393. package/dist/structured_query/utils.d.ts.map +1 -1
  394. package/dist/testing/fake_model_builder.d.cts +2 -3
  395. package/dist/testing/fake_model_builder.d.cts.map +1 -1
  396. package/dist/testing/fake_model_builder.d.ts +2 -3
  397. package/dist/testing/fake_model_builder.d.ts.map +1 -1
  398. package/dist/testing/index.d.cts +1 -0
  399. package/dist/testing/index.d.ts +1 -0
  400. package/dist/testing/matchers.d.cts +12 -13
  401. package/dist/testing/matchers.d.cts.map +1 -1
  402. package/dist/testing/matchers.d.ts +12 -13
  403. package/dist/testing/matchers.d.ts.map +1 -1
  404. package/dist/testing/vitest-expect.d.cts +8 -0
  405. package/dist/testing/vitest-expect.d.cts.map +1 -0
  406. package/dist/testing/vitest-expect.d.ts +8 -0
  407. package/dist/testing/vitest-expect.d.ts.map +1 -0
  408. package/dist/tools/index.d.cts +21 -21
  409. package/dist/tools/index.d.cts.map +1 -1
  410. package/dist/tools/index.d.ts +21 -21
  411. package/dist/tools/index.d.ts.map +1 -1
  412. package/dist/tools/types.d.cts +25 -26
  413. package/dist/tools/types.d.cts.map +1 -1
  414. package/dist/tools/types.d.ts +25 -26
  415. package/dist/tools/types.d.ts.map +1 -1
  416. package/dist/tools/utils.d.cts +1 -2
  417. package/dist/tools/utils.d.cts.map +1 -1
  418. package/dist/tools/utils.d.ts +1 -2
  419. package/dist/tools/utils.d.ts.map +1 -1
  420. package/dist/tracers/base.cjs +7 -4
  421. package/dist/tracers/base.cjs.map +1 -1
  422. package/dist/tracers/base.d.cts +7 -8
  423. package/dist/tracers/base.d.cts.map +1 -1
  424. package/dist/tracers/base.d.ts +7 -8
  425. package/dist/tracers/base.d.ts.map +1 -1
  426. package/dist/tracers/base.js +7 -4
  427. package/dist/tracers/base.js.map +1 -1
  428. package/dist/tracers/console.d.cts +1 -2
  429. package/dist/tracers/console.d.cts.map +1 -1
  430. package/dist/tracers/console.d.ts +1 -2
  431. package/dist/tracers/console.d.ts.map +1 -1
  432. package/dist/tracers/event_stream.d.cts +3 -4
  433. package/dist/tracers/event_stream.d.cts.map +1 -1
  434. package/dist/tracers/event_stream.d.ts +3 -4
  435. package/dist/tracers/event_stream.d.ts.map +1 -1
  436. package/dist/tracers/log_stream.d.cts +9 -9
  437. package/dist/tracers/log_stream.d.cts.map +1 -1
  438. package/dist/tracers/log_stream.d.ts +9 -9
  439. package/dist/tracers/log_stream.d.ts.map +1 -1
  440. package/dist/tracers/run_collector.d.cts +1 -2
  441. package/dist/tracers/run_collector.d.cts.map +1 -1
  442. package/dist/tracers/run_collector.d.ts +1 -2
  443. package/dist/tracers/run_collector.d.ts.map +1 -1
  444. package/dist/tracers/tracer_langchain.d.cts +6 -7
  445. package/dist/tracers/tracer_langchain.d.cts.map +1 -1
  446. package/dist/tracers/tracer_langchain.d.ts +6 -7
  447. package/dist/tracers/tracer_langchain.d.ts.map +1 -1
  448. package/dist/types/_internal.d.cts +1 -2
  449. package/dist/types/_internal.d.cts.map +1 -1
  450. package/dist/types/_internal.d.ts +1 -2
  451. package/dist/types/_internal.d.ts.map +1 -1
  452. package/dist/types/type-utils.d.cts +2 -3
  453. package/dist/types/type-utils.d.cts.map +1 -1
  454. package/dist/types/type-utils.d.ts +2 -3
  455. package/dist/types/type-utils.d.ts.map +1 -1
  456. package/dist/utils/async_caller.d.cts +6 -7
  457. package/dist/utils/async_caller.d.cts.map +1 -1
  458. package/dist/utils/async_caller.d.ts +6 -7
  459. package/dist/utils/async_caller.d.ts.map +1 -1
  460. package/dist/utils/chunk_array.d.cts +1 -2
  461. package/dist/utils/chunk_array.d.cts.map +1 -1
  462. package/dist/utils/chunk_array.d.ts +1 -2
  463. package/dist/utils/chunk_array.d.ts.map +1 -1
  464. package/dist/utils/context.d.cts +1 -2
  465. package/dist/utils/context.d.cts.map +1 -1
  466. package/dist/utils/context.d.ts +1 -2
  467. package/dist/utils/context.d.ts.map +1 -1
  468. package/dist/utils/env.d.cts +9 -10
  469. package/dist/utils/env.d.cts.map +1 -1
  470. package/dist/utils/env.d.ts +9 -10
  471. package/dist/utils/env.d.ts.map +1 -1
  472. package/dist/utils/event_source_parse.d.cts +6 -7
  473. package/dist/utils/event_source_parse.d.cts.map +1 -1
  474. package/dist/utils/event_source_parse.d.ts +6 -7
  475. package/dist/utils/event_source_parse.d.ts.map +1 -1
  476. package/dist/utils/fast-json-patch/src/core.d.cts +13 -14
  477. package/dist/utils/fast-json-patch/src/core.d.cts.map +1 -1
  478. package/dist/utils/fast-json-patch/src/core.d.ts +13 -14
  479. package/dist/utils/fast-json-patch/src/core.d.ts.map +1 -1
  480. package/dist/utils/fast-json-patch/src/duplex.d.cts +1 -2
  481. package/dist/utils/fast-json-patch/src/duplex.d.cts.map +1 -1
  482. package/dist/utils/fast-json-patch/src/duplex.d.ts +1 -2
  483. package/dist/utils/fast-json-patch/src/duplex.d.ts.map +1 -1
  484. package/dist/utils/format.d.cts +2 -3
  485. package/dist/utils/format.d.cts.map +1 -1
  486. package/dist/utils/format.d.ts +2 -3
  487. package/dist/utils/format.d.ts.map +1 -1
  488. package/dist/utils/function_calling.d.cts +3 -3
  489. package/dist/utils/function_calling.d.cts.map +1 -1
  490. package/dist/utils/function_calling.d.ts +3 -3
  491. package/dist/utils/function_calling.d.ts.map +1 -1
  492. package/dist/utils/gateway.d.cts +4 -5
  493. package/dist/utils/gateway.d.cts.map +1 -1
  494. package/dist/utils/gateway.d.ts +4 -5
  495. package/dist/utils/gateway.d.ts.map +1 -1
  496. package/dist/utils/hash.d.cts +2 -2
  497. package/dist/utils/hash.d.cts.map +1 -1
  498. package/dist/utils/hash.d.ts +2 -2
  499. package/dist/utils/hash.d.ts.map +1 -1
  500. package/dist/utils/js-sha256/hash.cjs +2 -2
  501. package/dist/utils/js-sha256/hash.cjs.map +1 -1
  502. package/dist/utils/js-sha256/hash.d.cts +1 -2
  503. package/dist/utils/js-sha256/hash.d.cts.map +1 -1
  504. package/dist/utils/js-sha256/hash.d.ts +1 -2
  505. package/dist/utils/js-sha256/hash.d.ts.map +1 -1
  506. package/dist/utils/js-sha256/hash.js +2 -2
  507. package/dist/utils/js-sha256/hash.js.map +1 -1
  508. package/dist/utils/json.d.cts +2 -3
  509. package/dist/utils/json.d.cts.map +1 -1
  510. package/dist/utils/json.d.ts +2 -3
  511. package/dist/utils/json.d.ts.map +1 -1
  512. package/dist/utils/json_schema.d.cts +4 -4
  513. package/dist/utils/json_schema.d.cts.map +1 -1
  514. package/dist/utils/json_schema.d.ts +4 -4
  515. package/dist/utils/json_schema.d.ts.map +1 -1
  516. package/dist/utils/math.d.cts +6 -7
  517. package/dist/utils/math.d.cts.map +1 -1
  518. package/dist/utils/math.d.ts +6 -7
  519. package/dist/utils/math.d.ts.map +1 -1
  520. package/dist/utils/ml-distance/similarities.d.cts +1 -2
  521. package/dist/utils/ml-distance/similarities.d.cts.map +1 -1
  522. package/dist/utils/ml-distance/similarities.d.ts +1 -2
  523. package/dist/utils/ml-distance/similarities.d.ts.map +1 -1
  524. package/dist/utils/namespace.cjs.map +1 -1
  525. package/dist/utils/namespace.d.cts +2 -3
  526. package/dist/utils/namespace.d.cts.map +1 -1
  527. package/dist/utils/namespace.d.ts +2 -3
  528. package/dist/utils/namespace.d.ts.map +1 -1
  529. package/dist/utils/namespace.js.map +1 -1
  530. package/dist/utils/signal.d.cts +1 -2
  531. package/dist/utils/signal.d.cts.map +1 -1
  532. package/dist/utils/signal.d.ts +1 -2
  533. package/dist/utils/signal.d.ts.map +1 -1
  534. package/dist/utils/ssrf.d.cts +6 -7
  535. package/dist/utils/ssrf.d.cts.map +1 -1
  536. package/dist/utils/ssrf.d.ts +6 -7
  537. package/dist/utils/ssrf.d.ts.map +1 -1
  538. package/dist/utils/standard_schema.d.cts +4 -5
  539. package/dist/utils/standard_schema.d.cts.map +1 -1
  540. package/dist/utils/standard_schema.d.ts +4 -5
  541. package/dist/utils/standard_schema.d.ts.map +1 -1
  542. package/dist/utils/stream.d.cts +6 -6
  543. package/dist/utils/stream.d.cts.map +1 -1
  544. package/dist/utils/stream.d.ts +6 -6
  545. package/dist/utils/stream.d.ts.map +1 -1
  546. package/dist/utils/testing/chat_models.d.cts +8 -9
  547. package/dist/utils/testing/chat_models.d.cts.map +1 -1
  548. package/dist/utils/testing/chat_models.d.ts +8 -9
  549. package/dist/utils/testing/chat_models.d.ts.map +1 -1
  550. package/dist/utils/testing/embeddings.d.cts +2 -3
  551. package/dist/utils/testing/embeddings.d.cts.map +1 -1
  552. package/dist/utils/testing/embeddings.d.ts +2 -3
  553. package/dist/utils/testing/embeddings.d.ts.map +1 -1
  554. package/dist/utils/testing/llms.d.cts +2 -3
  555. package/dist/utils/testing/llms.d.cts.map +1 -1
  556. package/dist/utils/testing/llms.d.ts +2 -3
  557. package/dist/utils/testing/llms.d.ts.map +1 -1
  558. package/dist/utils/testing/message_history.d.cts +3 -4
  559. package/dist/utils/testing/message_history.d.cts.map +1 -1
  560. package/dist/utils/testing/message_history.d.ts +3 -4
  561. package/dist/utils/testing/message_history.d.ts.map +1 -1
  562. package/dist/utils/testing/openai_stream_fixtures.d.cts +6 -7
  563. package/dist/utils/testing/openai_stream_fixtures.d.cts.map +1 -1
  564. package/dist/utils/testing/openai_stream_fixtures.d.ts +6 -7
  565. package/dist/utils/testing/openai_stream_fixtures.d.ts.map +1 -1
  566. package/dist/utils/testing/output_parsers.d.cts +1 -2
  567. package/dist/utils/testing/output_parsers.d.cts.map +1 -1
  568. package/dist/utils/testing/output_parsers.d.ts +1 -2
  569. package/dist/utils/testing/output_parsers.d.ts.map +1 -1
  570. package/dist/utils/testing/retrievers.d.cts +1 -2
  571. package/dist/utils/testing/retrievers.d.cts.map +1 -1
  572. package/dist/utils/testing/retrievers.d.ts +1 -2
  573. package/dist/utils/testing/retrievers.d.ts.map +1 -1
  574. package/dist/utils/testing/runnables.d.cts +1 -2
  575. package/dist/utils/testing/runnables.d.cts.map +1 -1
  576. package/dist/utils/testing/runnables.d.ts +1 -2
  577. package/dist/utils/testing/runnables.d.ts.map +1 -1
  578. package/dist/utils/testing/stream.d.cts +10 -11
  579. package/dist/utils/testing/stream.d.cts.map +1 -1
  580. package/dist/utils/testing/stream.d.ts +10 -11
  581. package/dist/utils/testing/stream.d.ts.map +1 -1
  582. package/dist/utils/testing/tools.d.cts +2 -3
  583. package/dist/utils/testing/tools.d.cts.map +1 -1
  584. package/dist/utils/testing/tools.d.ts +2 -3
  585. package/dist/utils/testing/tools.d.ts.map +1 -1
  586. package/dist/utils/testing/tracers.d.cts +1 -2
  587. package/dist/utils/testing/tracers.d.cts.map +1 -1
  588. package/dist/utils/testing/tracers.d.ts +1 -2
  589. package/dist/utils/testing/tracers.d.ts.map +1 -1
  590. package/dist/utils/testing/vectorstores.d.cts +2 -3
  591. package/dist/utils/testing/vectorstores.d.cts.map +1 -1
  592. package/dist/utils/testing/vectorstores.d.ts +2 -3
  593. package/dist/utils/testing/vectorstores.d.ts.map +1 -1
  594. package/dist/utils/tiktoken.d.cts +2 -3
  595. package/dist/utils/tiktoken.d.cts.map +1 -1
  596. package/dist/utils/tiktoken.d.ts +2 -3
  597. package/dist/utils/tiktoken.d.ts.map +1 -1
  598. package/dist/utils/types/index.d.cts +5 -5
  599. package/dist/utils/types/index.d.cts.map +1 -1
  600. package/dist/utils/types/index.d.ts +5 -5
  601. package/dist/utils/types/index.d.ts.map +1 -1
  602. package/dist/utils/types/zod.d.cts +62 -63
  603. package/dist/utils/types/zod.d.cts.map +1 -1
  604. package/dist/utils/types/zod.d.ts +62 -63
  605. package/dist/utils/types/zod.d.ts.map +1 -1
  606. package/dist/utils/uuid/index.d.cts +12 -12
  607. package/dist/utils/uuid/index.d.cts.map +1 -1
  608. package/dist/utils/uuid/index.d.ts +12 -12
  609. package/dist/utils/uuid/index.d.ts.map +1 -1
  610. package/dist/utils/uuid/types.d.cts +6 -7
  611. package/dist/utils/uuid/types.d.cts.map +1 -1
  612. package/dist/utils/uuid/types.d.ts +6 -7
  613. package/dist/utils/uuid/types.d.ts.map +1 -1
  614. package/dist/utils/uuid/v35.d.cts +2 -3
  615. package/dist/utils/uuid/v35.d.cts.map +1 -1
  616. package/dist/utils/uuid/v35.d.ts +2 -3
  617. package/dist/utils/uuid/v35.d.ts.map +1 -1
  618. package/dist/utils/zod-to-json-schema/errorMessages.d.cts +1 -2
  619. package/dist/utils/zod-to-json-schema/errorMessages.d.cts.map +1 -1
  620. package/dist/utils/zod-to-json-schema/errorMessages.d.ts +1 -2
  621. package/dist/utils/zod-to-json-schema/errorMessages.d.ts.map +1 -1
  622. package/dist/utils/zod-to-json-schema/parseTypes.d.cts +2 -3
  623. package/dist/utils/zod-to-json-schema/parseTypes.d.cts.map +1 -1
  624. package/dist/utils/zod-to-json-schema/parseTypes.d.ts +2 -3
  625. package/dist/utils/zod-to-json-schema/parseTypes.d.ts.map +1 -1
  626. package/dist/utils/zod-to-json-schema/parsers/any.d.cts +1 -2
  627. package/dist/utils/zod-to-json-schema/parsers/any.d.cts.map +1 -1
  628. package/dist/utils/zod-to-json-schema/parsers/any.d.ts +1 -2
  629. package/dist/utils/zod-to-json-schema/parsers/any.d.ts.map +1 -1
  630. package/dist/utils/zod-to-json-schema/parsers/array.d.cts +1 -2
  631. package/dist/utils/zod-to-json-schema/parsers/array.d.cts.map +1 -1
  632. package/dist/utils/zod-to-json-schema/parsers/array.d.ts +1 -2
  633. package/dist/utils/zod-to-json-schema/parsers/array.d.ts.map +1 -1
  634. package/dist/utils/zod-to-json-schema/parsers/bigint.d.cts +1 -2
  635. package/dist/utils/zod-to-json-schema/parsers/bigint.d.cts.map +1 -1
  636. package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts +1 -2
  637. package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts.map +1 -1
  638. package/dist/utils/zod-to-json-schema/parsers/boolean.d.cts +1 -2
  639. package/dist/utils/zod-to-json-schema/parsers/boolean.d.cts.map +1 -1
  640. package/dist/utils/zod-to-json-schema/parsers/boolean.d.ts +1 -2
  641. package/dist/utils/zod-to-json-schema/parsers/boolean.d.ts.map +1 -1
  642. package/dist/utils/zod-to-json-schema/parsers/date.d.cts +1 -2
  643. package/dist/utils/zod-to-json-schema/parsers/date.d.cts.map +1 -1
  644. package/dist/utils/zod-to-json-schema/parsers/date.d.ts +1 -2
  645. package/dist/utils/zod-to-json-schema/parsers/date.d.ts.map +1 -1
  646. package/dist/utils/zod-to-json-schema/parsers/enum.d.cts +1 -2
  647. package/dist/utils/zod-to-json-schema/parsers/enum.d.cts.map +1 -1
  648. package/dist/utils/zod-to-json-schema/parsers/enum.d.ts +1 -2
  649. package/dist/utils/zod-to-json-schema/parsers/enum.d.ts.map +1 -1
  650. package/dist/utils/zod-to-json-schema/parsers/intersection.d.cts +1 -2
  651. package/dist/utils/zod-to-json-schema/parsers/intersection.d.cts.map +1 -1
  652. package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts +1 -2
  653. package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts.map +1 -1
  654. package/dist/utils/zod-to-json-schema/parsers/literal.d.cts +1 -2
  655. package/dist/utils/zod-to-json-schema/parsers/literal.d.cts.map +1 -1
  656. package/dist/utils/zod-to-json-schema/parsers/literal.d.ts +1 -2
  657. package/dist/utils/zod-to-json-schema/parsers/literal.d.ts.map +1 -1
  658. package/dist/utils/zod-to-json-schema/parsers/map.d.cts +1 -2
  659. package/dist/utils/zod-to-json-schema/parsers/map.d.cts.map +1 -1
  660. package/dist/utils/zod-to-json-schema/parsers/map.d.ts +1 -2
  661. package/dist/utils/zod-to-json-schema/parsers/map.d.ts.map +1 -1
  662. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.cts +1 -2
  663. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.cts.map +1 -1
  664. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts +1 -2
  665. package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts.map +1 -1
  666. package/dist/utils/zod-to-json-schema/parsers/never.d.cts +1 -2
  667. package/dist/utils/zod-to-json-schema/parsers/never.d.cts.map +1 -1
  668. package/dist/utils/zod-to-json-schema/parsers/never.d.ts +1 -2
  669. package/dist/utils/zod-to-json-schema/parsers/never.d.ts.map +1 -1
  670. package/dist/utils/zod-to-json-schema/parsers/null.d.cts +1 -2
  671. package/dist/utils/zod-to-json-schema/parsers/null.d.cts.map +1 -1
  672. package/dist/utils/zod-to-json-schema/parsers/null.d.ts +1 -2
  673. package/dist/utils/zod-to-json-schema/parsers/null.d.ts.map +1 -1
  674. package/dist/utils/zod-to-json-schema/parsers/nullable.d.cts +1 -2
  675. package/dist/utils/zod-to-json-schema/parsers/nullable.d.cts.map +1 -1
  676. package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts +1 -2
  677. package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts.map +1 -1
  678. package/dist/utils/zod-to-json-schema/parsers/number.d.cts +1 -2
  679. package/dist/utils/zod-to-json-schema/parsers/number.d.cts.map +1 -1
  680. package/dist/utils/zod-to-json-schema/parsers/number.d.ts +1 -2
  681. package/dist/utils/zod-to-json-schema/parsers/number.d.ts.map +1 -1
  682. package/dist/utils/zod-to-json-schema/parsers/object.d.cts +1 -2
  683. package/dist/utils/zod-to-json-schema/parsers/object.d.cts.map +1 -1
  684. package/dist/utils/zod-to-json-schema/parsers/object.d.ts +1 -2
  685. package/dist/utils/zod-to-json-schema/parsers/object.d.ts.map +1 -1
  686. package/dist/utils/zod-to-json-schema/parsers/record.d.cts +1 -2
  687. package/dist/utils/zod-to-json-schema/parsers/record.d.cts.map +1 -1
  688. package/dist/utils/zod-to-json-schema/parsers/record.d.ts +1 -2
  689. package/dist/utils/zod-to-json-schema/parsers/record.d.ts.map +1 -1
  690. package/dist/utils/zod-to-json-schema/parsers/set.d.cts +1 -2
  691. package/dist/utils/zod-to-json-schema/parsers/set.d.cts.map +1 -1
  692. package/dist/utils/zod-to-json-schema/parsers/set.d.ts +1 -2
  693. package/dist/utils/zod-to-json-schema/parsers/set.d.ts.map +1 -1
  694. package/dist/utils/zod-to-json-schema/parsers/string.d.cts +1 -2
  695. package/dist/utils/zod-to-json-schema/parsers/string.d.cts.map +1 -1
  696. package/dist/utils/zod-to-json-schema/parsers/string.d.ts +1 -2
  697. package/dist/utils/zod-to-json-schema/parsers/string.d.ts.map +1 -1
  698. package/dist/utils/zod-to-json-schema/parsers/tuple.d.cts +1 -2
  699. package/dist/utils/zod-to-json-schema/parsers/tuple.d.cts.map +1 -1
  700. package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts +1 -2
  701. package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts.map +1 -1
  702. package/dist/utils/zod-to-json-schema/parsers/undefined.d.cts +1 -2
  703. package/dist/utils/zod-to-json-schema/parsers/undefined.d.cts.map +1 -1
  704. package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts +1 -2
  705. package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts.map +1 -1
  706. package/dist/utils/zod-to-json-schema/parsers/union.d.cts +2 -3
  707. package/dist/utils/zod-to-json-schema/parsers/union.d.cts.map +1 -1
  708. package/dist/utils/zod-to-json-schema/parsers/union.d.ts +2 -3
  709. package/dist/utils/zod-to-json-schema/parsers/union.d.ts.map +1 -1
  710. package/dist/utils/zod-to-json-schema/parsers/unknown.d.cts +1 -2
  711. package/dist/utils/zod-to-json-schema/parsers/unknown.d.cts.map +1 -1
  712. package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts +1 -2
  713. package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts.map +1 -1
  714. package/dist/vectorstores.d.cts +8 -9
  715. package/dist/vectorstores.d.cts.map +1 -1
  716. package/dist/vectorstores.d.ts +8 -9
  717. package/dist/vectorstores.d.ts.map +1 -1
  718. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"type-utils.d.cts","names":[],"sources":["../../src/types/type-utils.ts"],"mappings":";KAEY,SAAS,GAAG,gBAAgB,KAAK,KAAK,GAAG,KAAK,QAAQ,KAAK,GAAG;KAG9D,YAAY,QACrB,WAAW,KAAK,EAAE,oBAAoB,YAAY,EAAE,MAAM,EAAE"}
1
+ {"version":3,"file":"type-utils.d.cts","names":[],"sources":["../../src/types/type-utils.ts"],"mappings":";YAEY,SAAS,GAAG,gBAAgB,KAAK,KAAK,GAAG,KAAK,QAAQ,KAAK,GAAG;YAG9D,YAAY,QACrB,WAAW,KAAK,EAAE,oBAAoB,YAAY,EAAE,MAAM,EAAE"}
@@ -1,6 +1,5 @@
1
1
  //#region src/types/type-utils.d.ts
2
- type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
3
- type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P]; };
2
+ export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
3
+ export type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P]; };
4
4
  //#endregion
5
- export { DeepPartial, Optional };
6
5
  //# sourceMappingURL=type-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type-utils.d.ts","names":[],"sources":["../../src/types/type-utils.ts"],"mappings":";KAEY,SAAS,GAAG,gBAAgB,KAAK,KAAK,GAAG,KAAK,QAAQ,KAAK,GAAG;KAG9D,YAAY,QACrB,WAAW,KAAK,EAAE,oBAAoB,YAAY,EAAE,MAAM,EAAE"}
1
+ {"version":3,"file":"type-utils.d.ts","names":[],"sources":["../../src/types/type-utils.ts"],"mappings":";YAEY,SAAS,GAAG,gBAAgB,KAAK,KAAK,GAAG,KAAK,QAAQ,KAAK,GAAG;YAG9D,YAAY,QACrB,WAAW,KAAK,EAAE,oBAAoB,YAAY,EAAE,MAAM,EAAE"}
@@ -5,10 +5,10 @@ type RateLimitClassification = {
5
5
  retryAfterMs?: number;
6
6
  reason: string;
7
7
  };
8
- declare function parseRetryAfterMs(headerValue: string | null | undefined): number | undefined;
9
- declare function classifyRateLimitError(error: unknown): RateLimitClassification | undefined;
10
- type FailedAttemptHandler = (error: any) => any;
11
- interface AsyncCallerParams {
8
+ export declare function parseRetryAfterMs(headerValue: string | null | undefined): number | undefined;
9
+ export declare function classifyRateLimitError(error: unknown): RateLimitClassification | undefined;
10
+ export type FailedAttemptHandler = (error: any) => any;
11
+ export interface AsyncCallerParams {
12
12
  /**
13
13
  * The maximum number of concurrent calls that can be made.
14
14
  * Defaults to `Infinity`, which means no limit.
@@ -26,7 +26,7 @@ interface AsyncCallerParams {
26
26
  */
27
27
  onFailedAttempt?: FailedAttemptHandler;
28
28
  }
29
- interface AsyncCallerCallOptions {
29
+ export interface AsyncCallerCallOptions {
30
30
  signal?: AbortSignal;
31
31
  maxRetries?: number;
32
32
  }
@@ -43,7 +43,7 @@ interface AsyncCallerCallOptions {
43
43
  * means that by default, each call will be retried up to 6 times, with an
44
44
  * exponential backoff between each attempt.
45
45
  */
46
- declare class AsyncCaller {
46
+ export declare class AsyncCaller {
47
47
  protected maxConcurrency: AsyncCallerParams["maxConcurrency"];
48
48
  protected maxRetries: AsyncCallerParams["maxRetries"];
49
49
  protected onFailedAttempt: AsyncCallerParams["onFailedAttempt"];
@@ -55,5 +55,4 @@ declare class AsyncCaller {
55
55
  fetch(...args: Parameters<typeof fetch>): ReturnType<typeof fetch>;
56
56
  }
57
57
  //#endregion
58
- export { AsyncCaller, AsyncCallerCallOptions, AsyncCallerParams, FailedAttemptHandler, classifyRateLimitError, parseRetryAfterMs };
59
58
  //# sourceMappingURL=async_caller.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"async_caller.d.cts","names":[],"sources":["../../src/utils/async_caller.ts"],"mappings":";KAmCK;KAEA;EACH,QAAQ;EACR;EACA;;iBA8Ic,kBACd;iBAyBc,uBACd,iBACC;KA0HS,wBAAwB;UAEnB;;;;;EAKf;;;;;EAKA;;;;;;EAMA,kBAAkB;;UAGH;EACf,SAAS;EACT;;;;;;;;;;;;;;;cAgBW;YACD,gBAAgB;YAEhB,YAAY;YAEZ,iBAAiB;UAEnB;EAER,YAAY,QAAQ;EAad,KAAK,iBAAiB,cAAc,MAAM,MAAM,cACpD,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;UAItB;EAmCR,gBAAgB,iBAAiB,cAAc,MAAM,MAAM,cACzD,SAAS,wBACT,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;EAuB9B,SAAS,MAAM,kBAAkB,SAAS,kBAAkB"}
1
+ {"version":3,"file":"async_caller.d.cts","names":[],"sources":["../../src/utils/async_caller.ts"],"mappings":";KAmCK;KAEA;EACH,QAAQ;EACR;EACA;;wBA8Ic,kBACd;wBAyBc,uBACd,iBACC;YA0HS,wBAAwB;iBAEnB;;;;;EAKf;;;;;EAKA;;;;;;EAMA,kBAAkB;;iBAGH;EACf,SAAS;EACT;;;;;;;;;;;;;;;qBAgBW;YACD,gBAAgB;YAEhB,YAAY;YAEZ,iBAAiB;UAEnB;EAER,YAAY,QAAQ;EAad,KAAK,iBAAiB,cAAc,MAAM,MAAM,cACpD,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;UAItB;EAmCR,gBAAgB,iBAAiB,cAAc,MAAM,MAAM,cACzD,SAAS,wBACT,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;EAuB9B,SAAS,MAAM,kBAAkB,SAAS,kBAAkB"}
@@ -5,10 +5,10 @@ type RateLimitClassification = {
5
5
  retryAfterMs?: number;
6
6
  reason: string;
7
7
  };
8
- declare function parseRetryAfterMs(headerValue: string | null | undefined): number | undefined;
9
- declare function classifyRateLimitError(error: unknown): RateLimitClassification | undefined;
10
- type FailedAttemptHandler = (error: any) => any;
11
- interface AsyncCallerParams {
8
+ export declare function parseRetryAfterMs(headerValue: string | null | undefined): number | undefined;
9
+ export declare function classifyRateLimitError(error: unknown): RateLimitClassification | undefined;
10
+ export type FailedAttemptHandler = (error: any) => any;
11
+ export interface AsyncCallerParams {
12
12
  /**
13
13
  * The maximum number of concurrent calls that can be made.
14
14
  * Defaults to `Infinity`, which means no limit.
@@ -26,7 +26,7 @@ interface AsyncCallerParams {
26
26
  */
27
27
  onFailedAttempt?: FailedAttemptHandler;
28
28
  }
29
- interface AsyncCallerCallOptions {
29
+ export interface AsyncCallerCallOptions {
30
30
  signal?: AbortSignal;
31
31
  maxRetries?: number;
32
32
  }
@@ -43,7 +43,7 @@ interface AsyncCallerCallOptions {
43
43
  * means that by default, each call will be retried up to 6 times, with an
44
44
  * exponential backoff between each attempt.
45
45
  */
46
- declare class AsyncCaller {
46
+ export declare class AsyncCaller {
47
47
  protected maxConcurrency: AsyncCallerParams["maxConcurrency"];
48
48
  protected maxRetries: AsyncCallerParams["maxRetries"];
49
49
  protected onFailedAttempt: AsyncCallerParams["onFailedAttempt"];
@@ -55,5 +55,4 @@ declare class AsyncCaller {
55
55
  fetch(...args: Parameters<typeof fetch>): ReturnType<typeof fetch>;
56
56
  }
57
57
  //#endregion
58
- export { AsyncCaller, AsyncCallerCallOptions, AsyncCallerParams, FailedAttemptHandler, classifyRateLimitError, parseRetryAfterMs };
59
58
  //# sourceMappingURL=async_caller.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"async_caller.d.ts","names":[],"sources":["../../src/utils/async_caller.ts"],"mappings":";KAmCK;KAEA;EACH,QAAQ;EACR;EACA;;iBA8Ic,kBACd;iBAyBc,uBACd,iBACC;KA0HS,wBAAwB;UAEnB;;;;;EAKf;;;;;EAKA;;;;;;EAMA,kBAAkB;;UAGH;EACf,SAAS;EACT;;;;;;;;;;;;;;;cAgBW;YACD,gBAAgB;YAEhB,YAAY;YAEZ,iBAAiB;UAEnB;EAER,YAAY,QAAQ;EAad,KAAK,iBAAiB,cAAc,MAAM,MAAM,cACpD,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;UAItB;EAmCR,gBAAgB,iBAAiB,cAAc,MAAM,MAAM,cACzD,SAAS,wBACT,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;EAuB9B,SAAS,MAAM,kBAAkB,SAAS,kBAAkB"}
1
+ {"version":3,"file":"async_caller.d.ts","names":[],"sources":["../../src/utils/async_caller.ts"],"mappings":";KAmCK;KAEA;EACH,QAAQ;EACR;EACA;;wBA8Ic,kBACd;wBAyBc,uBACd,iBACC;YA0HS,wBAAwB;iBAEnB;;;;;EAKf;;;;;EAKA;;;;;;EAMA,kBAAkB;;iBAGH;EACf,SAAS;EACT;;;;;;;;;;;;;;;qBAgBW;YACD,gBAAgB;YAEhB,YAAY;YAEZ,iBAAiB;UAEnB;EAER,YAAY,QAAQ;EAad,KAAK,iBAAiB,cAAc,MAAM,MAAM,cACpD,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;UAItB;EAmCR,gBAAgB,iBAAiB,cAAc,MAAM,MAAM,cACzD,SAAS,wBACT,UAAU,MACP,MAAM,WAAW,KACnB,QAAQ,QAAQ,WAAW;EAuB9B,SAAS,MAAM,kBAAkB,SAAS,kBAAkB"}
@@ -1,5 +1,4 @@
1
1
  //#region src/utils/chunk_array.d.ts
2
- declare const chunkArray: <T>(arr: T[], chunkSize: number) => T[][];
2
+ export declare const chunkArray: <T>(arr: T[], chunkSize: number) => T[][];
3
3
  //#endregion
4
- export { chunkArray };
5
4
  //# sourceMappingURL=chunk_array.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chunk_array.d.cts","names":[],"sources":["../../src/utils/chunk_array.ts"],"mappings":";cAAa,aAAc,GAAC,KAAO,KAAG,sBAAmB"}
1
+ {"version":3,"file":"chunk_array.d.cts","names":[],"sources":["../../src/utils/chunk_array.ts"],"mappings":";qBAAa,aAAc,GAAC,KAAO,KAAG,sBAAmB"}
@@ -1,5 +1,4 @@
1
1
  //#region src/utils/chunk_array.d.ts
2
- declare const chunkArray: <T>(arr: T[], chunkSize: number) => T[][];
2
+ export declare const chunkArray: <T>(arr: T[], chunkSize: number) => T[][];
3
3
  //#endregion
4
- export { chunkArray };
5
4
  //# sourceMappingURL=chunk_array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chunk_array.d.ts","names":[],"sources":["../../src/utils/chunk_array.ts"],"mappings":";cAAa,aAAc,GAAC,KAAO,KAAG,sBAAmB"}
1
+ {"version":3,"file":"chunk_array.d.ts","names":[],"sources":["../../src/utils/chunk_array.ts"],"mappings":";qBAAa,aAAc,GAAC,KAAO,KAAG,sBAAmB"}
@@ -38,7 +38,6 @@
38
38
  * // The items will be indented to match " " (4 spaces)
39
39
  * ```
40
40
  */
41
- declare function context(strings: TemplateStringsArray, ...values: unknown[]): string;
41
+ export declare function context(strings: TemplateStringsArray, ...values: unknown[]): string;
42
42
  //#endregion
43
- export { context };
44
43
  //# sourceMappingURL=context.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.cts","names":[],"sources":["../../src/utils/context.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCgB,QACd,SAAS,yBACN"}
1
+ {"version":3,"file":"context.d.cts","names":[],"sources":["../../src/utils/context.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuCgB,QACd,SAAS,yBACN"}
@@ -38,7 +38,6 @@
38
38
  * // The items will be indented to match " " (4 spaces)
39
39
  * ```
40
40
  */
41
- declare function context(strings: TemplateStringsArray, ...values: unknown[]): string;
41
+ export declare function context(strings: TemplateStringsArray, ...values: unknown[]): string;
42
42
  //#endregion
43
- export { context };
44
43
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","names":[],"sources":["../../src/utils/context.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCgB,QACd,SAAS,yBACN"}
1
+ {"version":3,"file":"context.d.ts","names":[],"sources":["../../src/utils/context.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuCgB,QACd,SAAS,yBACN"}
@@ -9,20 +9,19 @@ declare global {
9
9
  };
10
10
  } | undefined;
11
11
  }
12
- declare const isBrowser: () => boolean;
13
- declare const isWebWorker: () => boolean;
14
- declare const isJsDom: () => boolean;
15
- declare const isDeno: () => boolean;
16
- declare const isNode: () => boolean;
17
- declare const getEnv: () => string;
18
- type RuntimeEnvironment = {
12
+ export declare const isBrowser: () => boolean;
13
+ export declare const isWebWorker: () => boolean;
14
+ export declare const isJsDom: () => boolean;
15
+ export declare const isDeno: () => boolean;
16
+ export declare const isNode: () => boolean;
17
+ export declare const getEnv: () => string;
18
+ export type RuntimeEnvironment = {
19
19
  library: string;
20
20
  libraryVersion?: string;
21
21
  runtime: string;
22
22
  runtimeVersion?: string;
23
23
  };
24
- declare function getRuntimeEnvironment(): RuntimeEnvironment;
25
- declare function getEnvironmentVariable(name: string): string | undefined;
24
+ export declare function getRuntimeEnvironment(): RuntimeEnvironment;
25
+ export declare function getEnvironmentVariable(name: string): string | undefined;
26
26
  //#endregion
27
- export { RuntimeEnvironment, getEnv, getEnvironmentVariable, getRuntimeEnvironment, isBrowser, isDeno, isJsDom, isNode, isWebWorker };
28
27
  //# sourceMappingURL=env.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.cts","names":[],"sources":["../../src/utils/env.ts"],"mappings":";QACQ;QACA;IAEA;MACE;;IAEF;MACE,MAAM;;;;cAMH;cAGA;cAKA;cAMA;cAGA;cAMA;KAmBD;EACV;EACA;EACA;EACA;;iBAKc,yBAAyB;iBAYzB,uBAAuB"}
1
+ {"version":3,"file":"env.d.cts","names":[],"sources":["../../src/utils/env.ts"],"mappings":";QACQ;QACA;IAEA;MACE;;IAEF;MACE,MAAM;;;;qBAMH;qBAGA;qBAKA;qBAMA;qBAGA;qBAMA;YAmBD;EACV;EACA;EACA;EACA;;wBAKc,yBAAyB;wBAYzB,uBAAuB"}
@@ -9,20 +9,19 @@ declare global {
9
9
  };
10
10
  } | undefined;
11
11
  }
12
- declare const isBrowser: () => boolean;
13
- declare const isWebWorker: () => boolean;
14
- declare const isJsDom: () => boolean;
15
- declare const isDeno: () => boolean;
16
- declare const isNode: () => boolean;
17
- declare const getEnv: () => string;
18
- type RuntimeEnvironment = {
12
+ export declare const isBrowser: () => boolean;
13
+ export declare const isWebWorker: () => boolean;
14
+ export declare const isJsDom: () => boolean;
15
+ export declare const isDeno: () => boolean;
16
+ export declare const isNode: () => boolean;
17
+ export declare const getEnv: () => string;
18
+ export type RuntimeEnvironment = {
19
19
  library: string;
20
20
  libraryVersion?: string;
21
21
  runtime: string;
22
22
  runtimeVersion?: string;
23
23
  };
24
- declare function getRuntimeEnvironment(): RuntimeEnvironment;
25
- declare function getEnvironmentVariable(name: string): string | undefined;
24
+ export declare function getRuntimeEnvironment(): RuntimeEnvironment;
25
+ export declare function getEnvironmentVariable(name: string): string | undefined;
26
26
  //#endregion
27
- export { RuntimeEnvironment, getEnv, getEnvironmentVariable, getRuntimeEnvironment, isBrowser, isDeno, isJsDom, isNode, isWebWorker };
28
27
  //# sourceMappingURL=env.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.ts","names":[],"sources":["../../src/utils/env.ts"],"mappings":";QACQ;QACA;IAEA;MACE;;IAEF;MACE,MAAM;;;;cAMH;cAGA;cAKA;cAMA;cAGA;cAMA;KAmBD;EACV;EACA;EACA;EACA;;iBAKc,yBAAyB;iBAYzB,uBAAuB"}
1
+ {"version":3,"file":"env.d.ts","names":[],"sources":["../../src/utils/env.ts"],"mappings":";QACQ;QACA;IAEA;MACE;;IAEF;MACE,MAAM;;;;qBAMH;qBAGA;qBAKA;qBAMA;qBAGA;qBAMA;YAmBD;EACV;EACA;EACA;EACA;;wBAKc,yBAAyB;wBAYzB,uBAAuB"}
@@ -1,11 +1,11 @@
1
1
  import { IterableReadableStream } from "./stream.cjs";
2
2
  //#region src/utils/event_source_parse.d.ts
3
- declare const EventStreamContentType = "text/event-stream";
3
+ export declare const EventStreamContentType = "text/event-stream";
4
4
  /**
5
5
  * Represents a message sent in an event stream
6
6
  * https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format
7
7
  */
8
- interface EventSourceMessage {
8
+ export interface EventSourceMessage {
9
9
  /** The event ID to set the EventSource object's last event ID value. */
10
10
  id: string;
11
11
  /** A string identifying the type of event described. */
@@ -21,14 +21,14 @@ interface EventSourceMessage {
21
21
  * @param onChunk A function that will be called on each new byte chunk in the stream.
22
22
  * @returns {Promise<void>} A promise that will be resolved when the stream closes.
23
23
  */
24
- declare function getBytes(stream: ReadableStream<Uint8Array> | AsyncIterable<any>, onChunk: (arr: Uint8Array, flush?: boolean) => void): Promise<void>;
24
+ export declare function getBytes(stream: ReadableStream<Uint8Array> | AsyncIterable<any>, onChunk: (arr: Uint8Array, flush?: boolean) => void): Promise<void>;
25
25
  /**
26
26
  * Parses arbitary byte chunks into EventSource line buffers.
27
27
  * Each line should be of the format "field: value" and ends with \r, \n, or \r\n.
28
28
  * @param onLine A function that will be called on each new EventSource line.
29
29
  * @returns A function that should be called for each incoming byte chunk.
30
30
  */
31
- declare function getLines(onLine: (line: Uint8Array, fieldLength: number, flush?: boolean) => void): (arr: Uint8Array, flush?: boolean) => void;
31
+ export declare function getLines(onLine: (line: Uint8Array, fieldLength: number, flush?: boolean) => void): (arr: Uint8Array, flush?: boolean) => void;
32
32
  /**
33
33
  * Parses line buffers into EventSourceMessages.
34
34
  * @param onId A function that will be called on each `id` field.
@@ -36,8 +36,7 @@ declare function getLines(onLine: (line: Uint8Array, fieldLength: number, flush?
36
36
  * @param onMessage A function that will be called on each message.
37
37
  * @returns A function that should be called for each incoming line buffer.
38
38
  */
39
- declare function getMessages(onMessage?: (msg: EventSourceMessage) => void, onId?: (id: string) => void, onRetry?: (retry: number) => void): (line: Uint8Array, fieldLength: number, flush?: boolean) => void;
40
- declare function convertEventStreamToIterableReadableDataStream(stream: ReadableStream, onMetadataEvent?: (e: unknown) => unknown): IterableReadableStream<any>;
39
+ export declare function getMessages(onMessage?: (msg: EventSourceMessage) => void, onId?: (id: string) => void, onRetry?: (retry: number) => void): (line: Uint8Array, fieldLength: number, flush?: boolean) => void;
40
+ export declare function convertEventStreamToIterableReadableDataStream(stream: ReadableStream, onMetadataEvent?: (e: unknown) => unknown): IterableReadableStream<any>;
41
41
  //#endregion
42
- export { EventSourceMessage, EventStreamContentType, convertEventStreamToIterableReadableDataStream, getBytes, getLines, getMessages };
43
42
  //# sourceMappingURL=event_source_parse.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"event_source_parse.d.cts","names":[],"sources":["../../src/utils/event_source_parse.ts"],"mappings":";;cAOa;;;;;UAMI;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;iBASoB,SAEpB,QAAQ,eAAe,cAAc,oBACrC,UAAU,KAAK,YAAY,2BAAwB;;;;;;;iBAoDrC,SACd,SAAS,MAAM,YAAY,qBAAqB,4BAAwB,KAQ3C,YAAU;;;;;;;;iBA4EzB,YACd,aAAa,KAAK,6BAClB,QAAQ,qBACR,WAAW,0BAAsB,MAOzB,YAAU,qBACG;iBAqEP,+CACd,QAAQ,gBACR,mBAAmB,yBAAsB"}
1
+ {"version":3,"file":"event_source_parse.d.cts","names":[],"sources":["../../src/utils/event_source_parse.ts"],"mappings":";;qBAOa;;;;;iBAMI;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;wBASoB,SAEpB,QAAQ,eAAe,cAAc,oBACrC,UAAU,KAAK,YAAY,2BAAwB;;;;;;;wBAoDrC,SACd,SAAS,MAAM,YAAY,qBAAqB,4BAAwB,KAQ3C,YAAU;;;;;;;;wBA4EzB,YACd,aAAa,KAAK,6BAClB,QAAQ,qBACR,WAAW,0BAAsB,MAOzB,YAAU,qBACG;wBAqEP,+CACd,QAAQ,gBACR,mBAAmB,yBAAsB"}
@@ -1,11 +1,11 @@
1
1
  import { IterableReadableStream } from "./stream.js";
2
2
  //#region src/utils/event_source_parse.d.ts
3
- declare const EventStreamContentType = "text/event-stream";
3
+ export declare const EventStreamContentType = "text/event-stream";
4
4
  /**
5
5
  * Represents a message sent in an event stream
6
6
  * https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format
7
7
  */
8
- interface EventSourceMessage {
8
+ export interface EventSourceMessage {
9
9
  /** The event ID to set the EventSource object's last event ID value. */
10
10
  id: string;
11
11
  /** A string identifying the type of event described. */
@@ -21,14 +21,14 @@ interface EventSourceMessage {
21
21
  * @param onChunk A function that will be called on each new byte chunk in the stream.
22
22
  * @returns {Promise<void>} A promise that will be resolved when the stream closes.
23
23
  */
24
- declare function getBytes(stream: ReadableStream<Uint8Array> | AsyncIterable<any>, onChunk: (arr: Uint8Array, flush?: boolean) => void): Promise<void>;
24
+ export declare function getBytes(stream: ReadableStream<Uint8Array> | AsyncIterable<any>, onChunk: (arr: Uint8Array, flush?: boolean) => void): Promise<void>;
25
25
  /**
26
26
  * Parses arbitary byte chunks into EventSource line buffers.
27
27
  * Each line should be of the format "field: value" and ends with \r, \n, or \r\n.
28
28
  * @param onLine A function that will be called on each new EventSource line.
29
29
  * @returns A function that should be called for each incoming byte chunk.
30
30
  */
31
- declare function getLines(onLine: (line: Uint8Array, fieldLength: number, flush?: boolean) => void): (arr: Uint8Array, flush?: boolean) => void;
31
+ export declare function getLines(onLine: (line: Uint8Array, fieldLength: number, flush?: boolean) => void): (arr: Uint8Array, flush?: boolean) => void;
32
32
  /**
33
33
  * Parses line buffers into EventSourceMessages.
34
34
  * @param onId A function that will be called on each `id` field.
@@ -36,8 +36,7 @@ declare function getLines(onLine: (line: Uint8Array, fieldLength: number, flush?
36
36
  * @param onMessage A function that will be called on each message.
37
37
  * @returns A function that should be called for each incoming line buffer.
38
38
  */
39
- declare function getMessages(onMessage?: (msg: EventSourceMessage) => void, onId?: (id: string) => void, onRetry?: (retry: number) => void): (line: Uint8Array, fieldLength: number, flush?: boolean) => void;
40
- declare function convertEventStreamToIterableReadableDataStream(stream: ReadableStream, onMetadataEvent?: (e: unknown) => unknown): IterableReadableStream<any>;
39
+ export declare function getMessages(onMessage?: (msg: EventSourceMessage) => void, onId?: (id: string) => void, onRetry?: (retry: number) => void): (line: Uint8Array, fieldLength: number, flush?: boolean) => void;
40
+ export declare function convertEventStreamToIterableReadableDataStream(stream: ReadableStream, onMetadataEvent?: (e: unknown) => unknown): IterableReadableStream<any>;
41
41
  //#endregion
42
- export { EventSourceMessage, EventStreamContentType, convertEventStreamToIterableReadableDataStream, getBytes, getLines, getMessages };
43
42
  //# sourceMappingURL=event_source_parse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"event_source_parse.d.ts","names":[],"sources":["../../src/utils/event_source_parse.ts"],"mappings":";;cAOa;;;;;UAMI;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;iBASoB,SAEpB,QAAQ,eAAe,cAAc,oBACrC,UAAU,KAAK,YAAY,2BAAwB;;;;;;;iBAoDrC,SACd,SAAS,MAAM,YAAY,qBAAqB,4BAAwB,KAQ3C,YAAU;;;;;;;;iBA4EzB,YACd,aAAa,KAAK,6BAClB,QAAQ,qBACR,WAAW,0BAAsB,MAOzB,YAAU,qBACG;iBAqEP,+CACd,QAAQ,gBACR,mBAAmB,yBAAsB"}
1
+ {"version":3,"file":"event_source_parse.d.ts","names":[],"sources":["../../src/utils/event_source_parse.ts"],"mappings":";;qBAOa;;;;;iBAMI;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;wBASoB,SAEpB,QAAQ,eAAe,cAAc,oBACrC,UAAU,KAAK,YAAY,2BAAwB;;;;;;;wBAoDrC,SACd,SAAS,MAAM,YAAY,qBAAqB,4BAAwB,KAQ3C,YAAU;;;;;;;;wBA4EzB,YACd,aAAa,KAAK,6BAClB,QAAQ,qBACR,WAAW,0BAAsB,MAOzB,YAAU,qBACG;wBAqEP,+CACd,QAAQ,gBACR,mBAAmB,yBAAsB"}
@@ -1,44 +1,44 @@
1
1
  //#region src/utils/fast-json-patch/src/core.d.ts
2
- type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
3
- interface Validator<T> {
2
+ export type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
3
+ export interface Validator<T> {
4
4
  (operation: Operation, index: number, document: T, existingPathFragment: string): void;
5
5
  }
6
- interface OperationResult<T> {
6
+ export interface OperationResult<T> {
7
7
  removed?: any;
8
8
  test?: boolean;
9
9
  newDocument: T;
10
10
  }
11
- interface BaseOperation {
11
+ export interface BaseOperation {
12
12
  path: string;
13
13
  }
14
- interface AddOperation<T> extends BaseOperation {
14
+ export interface AddOperation<T> extends BaseOperation {
15
15
  op: "add";
16
16
  value: T;
17
17
  }
18
- interface RemoveOperation extends BaseOperation {
18
+ export interface RemoveOperation extends BaseOperation {
19
19
  op: "remove";
20
20
  }
21
- interface ReplaceOperation<T> extends BaseOperation {
21
+ export interface ReplaceOperation<T> extends BaseOperation {
22
22
  op: "replace";
23
23
  value: T;
24
24
  }
25
- interface MoveOperation extends BaseOperation {
25
+ export interface MoveOperation extends BaseOperation {
26
26
  op: "move";
27
27
  from: string;
28
28
  }
29
- interface CopyOperation extends BaseOperation {
29
+ export interface CopyOperation extends BaseOperation {
30
30
  op: "copy";
31
31
  from: string;
32
32
  }
33
- interface TestOperation<T> extends BaseOperation {
33
+ export interface TestOperation<T> extends BaseOperation {
34
34
  op: "test";
35
35
  value: T;
36
36
  }
37
- interface GetOperation<T> extends BaseOperation {
37
+ export interface GetOperation<T> extends BaseOperation {
38
38
  op: "_get";
39
39
  value: T;
40
40
  }
41
- interface PatchResult<T> extends Array<OperationResult<T>> {
41
+ export interface PatchResult<T> extends Array<OperationResult<T>> {
42
42
  newDocument: T;
43
43
  }
44
44
  /**
@@ -55,7 +55,6 @@ interface PatchResult<T> extends Array<OperationResult<T>> {
55
55
  * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`.
56
56
  * @return An array of `{newDocument, result}` after the patch
57
57
  */
58
- declare function applyPatch<T>(document: T, patch: ReadonlyArray<Operation>, validateOperation?: boolean | Validator<T>, mutateDocument?: boolean, banPrototypeModifications?: boolean): PatchResult<T>;
58
+ export declare function applyPatch<T>(document: T, patch: ReadonlyArray<Operation>, validateOperation?: boolean | Validator<T>, mutateDocument?: boolean, banPrototypeModifications?: boolean): PatchResult<T>;
59
59
  //#endregion
60
- export { AddOperation, BaseOperation, CopyOperation, GetOperation, MoveOperation, Operation, OperationResult, PatchResult, RemoveOperation, ReplaceOperation, TestOperation, Validator, applyPatch };
61
60
  //# sourceMappingURL=core.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.cts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/core.ts"],"mappings":";KAsBY,YACR,oBACA,kBACA,wBACA,gBACA,gBACA,qBACA;UAEa,UAAU;GAEvB,WAAW,WACX,eACA,UAAU,GACV;;UAIa,gBAAgB;EAC/B;EACA;EACA,aAAa;;UAGE;EACf;;UAGe,aAAa,WAAW;EACvC;EACA,OAAO;;UAGQ,wBAAwB;EACvC;;UAGe,iBAAiB,WAAW;EAC3C;EACA,OAAO;;UAGQ,sBAAsB;EACrC;EACA;;UAGe,sBAAsB;EACrC;EACA;;UAGe,cAAc,WAAW;EACxC;EACA,OAAO;;UAGQ,aAAa,WAAW;EACvC;EACA,OAAO;;UAEQ,YAAY,WAAW,MAAM,gBAAgB;EAC5D,aAAa;;;;;;;;;;;;;;;;iBA4VC,WAAW,GACzB,UAAU,GACV,OAAO,cAAc,YACrB,8BAA8B,UAAU,IACxC,0BACA,sCACC,YAAY"}
1
+ {"version":3,"file":"core.d.cts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/core.ts"],"mappings":";YAsBY,YACR,oBACA,kBACA,wBACA,gBACA,gBACA,qBACA;iBAEa,UAAU;GAEvB,WAAW,WACX,eACA,UAAU,GACV;;iBAIa,gBAAgB;EAC/B;EACA;EACA,aAAa;;iBAGE;EACf;;iBAGe,aAAa,WAAW;EACvC;EACA,OAAO;;iBAGQ,wBAAwB;EACvC;;iBAGe,iBAAiB,WAAW;EAC3C;EACA,OAAO;;iBAGQ,sBAAsB;EACrC;EACA;;iBAGe,sBAAsB;EACrC;EACA;;iBAGe,cAAc,WAAW;EACxC;EACA,OAAO;;iBAGQ,aAAa,WAAW;EACvC;EACA,OAAO;;iBAEQ,YAAY,WAAW,MAAM,gBAAgB;EAC5D,aAAa;;;;;;;;;;;;;;;;wBA4VC,WAAW,GACzB,UAAU,GACV,OAAO,cAAc,YACrB,8BAA8B,UAAU,IACxC,0BACA,sCACC,YAAY"}
@@ -1,44 +1,44 @@
1
1
  //#region src/utils/fast-json-patch/src/core.d.ts
2
- type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
3
- interface Validator<T> {
2
+ export type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
3
+ export interface Validator<T> {
4
4
  (operation: Operation, index: number, document: T, existingPathFragment: string): void;
5
5
  }
6
- interface OperationResult<T> {
6
+ export interface OperationResult<T> {
7
7
  removed?: any;
8
8
  test?: boolean;
9
9
  newDocument: T;
10
10
  }
11
- interface BaseOperation {
11
+ export interface BaseOperation {
12
12
  path: string;
13
13
  }
14
- interface AddOperation<T> extends BaseOperation {
14
+ export interface AddOperation<T> extends BaseOperation {
15
15
  op: "add";
16
16
  value: T;
17
17
  }
18
- interface RemoveOperation extends BaseOperation {
18
+ export interface RemoveOperation extends BaseOperation {
19
19
  op: "remove";
20
20
  }
21
- interface ReplaceOperation<T> extends BaseOperation {
21
+ export interface ReplaceOperation<T> extends BaseOperation {
22
22
  op: "replace";
23
23
  value: T;
24
24
  }
25
- interface MoveOperation extends BaseOperation {
25
+ export interface MoveOperation extends BaseOperation {
26
26
  op: "move";
27
27
  from: string;
28
28
  }
29
- interface CopyOperation extends BaseOperation {
29
+ export interface CopyOperation extends BaseOperation {
30
30
  op: "copy";
31
31
  from: string;
32
32
  }
33
- interface TestOperation<T> extends BaseOperation {
33
+ export interface TestOperation<T> extends BaseOperation {
34
34
  op: "test";
35
35
  value: T;
36
36
  }
37
- interface GetOperation<T> extends BaseOperation {
37
+ export interface GetOperation<T> extends BaseOperation {
38
38
  op: "_get";
39
39
  value: T;
40
40
  }
41
- interface PatchResult<T> extends Array<OperationResult<T>> {
41
+ export interface PatchResult<T> extends Array<OperationResult<T>> {
42
42
  newDocument: T;
43
43
  }
44
44
  /**
@@ -55,7 +55,6 @@ interface PatchResult<T> extends Array<OperationResult<T>> {
55
55
  * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`.
56
56
  * @return An array of `{newDocument, result}` after the patch
57
57
  */
58
- declare function applyPatch<T>(document: T, patch: ReadonlyArray<Operation>, validateOperation?: boolean | Validator<T>, mutateDocument?: boolean, banPrototypeModifications?: boolean): PatchResult<T>;
58
+ export declare function applyPatch<T>(document: T, patch: ReadonlyArray<Operation>, validateOperation?: boolean | Validator<T>, mutateDocument?: boolean, banPrototypeModifications?: boolean): PatchResult<T>;
59
59
  //#endregion
60
- export { AddOperation, BaseOperation, CopyOperation, GetOperation, MoveOperation, Operation, OperationResult, PatchResult, RemoveOperation, ReplaceOperation, TestOperation, Validator, applyPatch };
61
60
  //# sourceMappingURL=core.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/core.ts"],"mappings":";KAsBY,YACR,oBACA,kBACA,wBACA,gBACA,gBACA,qBACA;UAEa,UAAU;GAEvB,WAAW,WACX,eACA,UAAU,GACV;;UAIa,gBAAgB;EAC/B;EACA;EACA,aAAa;;UAGE;EACf;;UAGe,aAAa,WAAW;EACvC;EACA,OAAO;;UAGQ,wBAAwB;EACvC;;UAGe,iBAAiB,WAAW;EAC3C;EACA,OAAO;;UAGQ,sBAAsB;EACrC;EACA;;UAGe,sBAAsB;EACrC;EACA;;UAGe,cAAc,WAAW;EACxC;EACA,OAAO;;UAGQ,aAAa,WAAW;EACvC;EACA,OAAO;;UAEQ,YAAY,WAAW,MAAM,gBAAgB;EAC5D,aAAa;;;;;;;;;;;;;;;;iBA4VC,WAAW,GACzB,UAAU,GACV,OAAO,cAAc,YACrB,8BAA8B,UAAU,IACxC,0BACA,sCACC,YAAY"}
1
+ {"version":3,"file":"core.d.ts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/core.ts"],"mappings":";YAsBY,YACR,oBACA,kBACA,wBACA,gBACA,gBACA,qBACA;iBAEa,UAAU;GAEvB,WAAW,WACX,eACA,UAAU,GACV;;iBAIa,gBAAgB;EAC/B;EACA;EACA,aAAa;;iBAGE;EACf;;iBAGe,aAAa,WAAW;EACvC;EACA,OAAO;;iBAGQ,wBAAwB;EACvC;;iBAGe,iBAAiB,WAAW;EAC3C;EACA,OAAO;;iBAGQ,sBAAsB;EACrC;EACA;;iBAGe,sBAAsB;EACrC;EACA;;iBAGe,cAAc,WAAW;EACxC;EACA,OAAO;;iBAGQ,aAAa,WAAW;EACvC;EACA,OAAO;;iBAEQ,YAAY,WAAW,MAAM,gBAAgB;EAC5D,aAAa;;;;;;;;;;;;;;;;wBA4VC,WAAW,GACzB,UAAU,GACV,OAAO,cAAc,YACrB,8BAA8B,UAAU,IACxC,0BACA,sCACC,YAAY"}
@@ -3,7 +3,6 @@ import { Operation } from "./core.cjs";
3
3
  /**
4
4
  * Create an array of patches from the differences in two objects
5
5
  */
6
- declare function compare(tree1: Object | Array<any>, tree2: Object | Array<any>, invertible?: boolean): Operation[];
6
+ export declare function compare(tree1: Object | Array<any>, tree2: Object | Array<any>, invertible?: boolean): Operation[];
7
7
  //#endregion
8
- export { compare };
9
8
  //# sourceMappingURL=duplex.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"duplex.d.cts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/duplex.ts"],"mappings":";;;;;iBAmQgB,QACd,OAAO,SAAS,YAChB,OAAO,SAAS,YAChB,uBACC"}
1
+ {"version":3,"file":"duplex.d.cts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/duplex.ts"],"mappings":";;;;;wBAmQgB,QACd,OAAO,SAAS,YAChB,OAAO,SAAS,YAChB,uBACC"}
@@ -3,7 +3,6 @@ import { Operation } from "./core.js";
3
3
  /**
4
4
  * Create an array of patches from the differences in two objects
5
5
  */
6
- declare function compare(tree1: Object | Array<any>, tree2: Object | Array<any>, invertible?: boolean): Operation[];
6
+ export declare function compare(tree1: Object | Array<any>, tree2: Object | Array<any>, invertible?: boolean): Operation[];
7
7
  //#endregion
8
- export { compare };
9
8
  //# sourceMappingURL=duplex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"duplex.d.ts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/duplex.ts"],"mappings":";;;;;iBAmQgB,QACd,OAAO,SAAS,YAChB,OAAO,SAAS,YAChB,uBACC"}
1
+ {"version":3,"file":"duplex.d.ts","names":[],"sources":["../../../../src/utils/fast-json-patch/src/duplex.ts"],"mappings":";;;;;wBAmQgB,QACd,OAAO,SAAS,YAChB,OAAO,SAAS,YAChB,uBACC"}
@@ -19,7 +19,7 @@
19
19
  * };
20
20
  * ```
21
21
  */
22
- type Converter<T, U> = (input: T) => U;
22
+ export type Converter<T, U> = (input: T) => U;
23
23
  /**
24
24
  * A pair of bidirectional conversion functions for transforming data between two formats.
25
25
  *
@@ -49,10 +49,9 @@ type Converter<T, U> = (input: T) => U;
49
49
  * const backToStandard = openAIConverter.decode(openaiBlock);
50
50
  * ```
51
51
  */
52
- type ConverterPair<T, U> = {
52
+ export type ConverterPair<T, U> = {
53
53
  encode: Converter<T, U>;
54
54
  decode: Converter<U, T>;
55
55
  };
56
56
  //#endregion
57
- export { Converter, ConverterPair };
58
57
  //# sourceMappingURL=format.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"format.d.cts","names":[],"sources":["../../src/utils/format.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;KAoBY,UAAU,GAAG,MAAM,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+BhC,cAAc,GAAG;EAC3B,QAAQ,UAAU,GAAG;EACrB,QAAQ,UAAU,GAAG"}
1
+ {"version":3,"file":"format.d.cts","names":[],"sources":["../../src/utils/format.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;YAoBY,UAAU,GAAG,MAAM,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA+BhC,cAAc,GAAG;EAC3B,QAAQ,UAAU,GAAG;EACrB,QAAQ,UAAU,GAAG"}
@@ -19,7 +19,7 @@
19
19
  * };
20
20
  * ```
21
21
  */
22
- type Converter<T, U> = (input: T) => U;
22
+ export type Converter<T, U> = (input: T) => U;
23
23
  /**
24
24
  * A pair of bidirectional conversion functions for transforming data between two formats.
25
25
  *
@@ -49,10 +49,9 @@ type Converter<T, U> = (input: T) => U;
49
49
  * const backToStandard = openAIConverter.decode(openaiBlock);
50
50
  * ```
51
51
  */
52
- type ConverterPair<T, U> = {
52
+ export type ConverterPair<T, U> = {
53
53
  encode: Converter<T, U>;
54
54
  decode: Converter<U, T>;
55
55
  };
56
56
  //#endregion
57
- export { Converter, ConverterPair };
58
57
  //# sourceMappingURL=format.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"format.d.ts","names":[],"sources":["../../src/utils/format.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;KAoBY,UAAU,GAAG,MAAM,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+BhC,cAAc,GAAG;EAC3B,QAAQ,UAAU,GAAG;EACrB,QAAQ,UAAU,GAAG"}
1
+ {"version":3,"file":"format.d.ts","names":[],"sources":["../../src/utils/format.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;YAoBY,UAAU,GAAG,MAAM,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA+BhC,cAAc,GAAG;EAC3B,QAAQ,UAAU,GAAG;EACrB,QAAQ,UAAU,GAAG"}
@@ -11,7 +11,7 @@ import { StructuredToolInterface, StructuredToolParams, isLangChainTool, isRunna
11
11
  * @param {StructuredToolInterface | RunnableToolLike} tool The tool to convert to an OpenAI function.
12
12
  * @returns {FunctionDefinition} The inputted tool in OpenAI function format.
13
13
  */
14
- declare function convertToOpenAIFunction(tool: StructuredToolInterface | RunnableToolLike | StructuredToolParams, fields?: {
14
+ export declare function convertToOpenAIFunction(tool: StructuredToolInterface | RunnableToolLike | StructuredToolParams, fields?: {
15
15
  /**
16
16
  * If `true`, model output is guaranteed to exactly match the JSON Schema
17
17
  * provided in the function definition.
@@ -27,7 +27,7 @@ declare function convertToOpenAIFunction(tool: StructuredToolInterface | Runnabl
27
27
  * @param {StructuredToolInterface | Record<string, any> | RunnableToolLike} tool The tool to convert to an OpenAI tool.
28
28
  * @returns {ToolDefinition} The inputted tool in OpenAI tool format.
29
29
  */
30
- declare function convertToOpenAITool(tool: StructuredToolInterface | Record<string, any> | RunnableToolLike, fields?: {
30
+ export declare function convertToOpenAITool(tool: StructuredToolInterface | Record<string, any> | RunnableToolLike, fields?: {
31
31
  /**
32
32
  * If `true`, model output is guaranteed to exactly match the JSON Schema
33
33
  * provided in the function definition.
@@ -35,5 +35,5 @@ declare function convertToOpenAITool(tool: StructuredToolInterface | Record<stri
35
35
  strict?: boolean;
36
36
  } | number): ToolDefinition;
37
37
  //#endregion
38
- export { convertToOpenAIFunction, convertToOpenAITool, isLangChainTool, isRunnableToolLike, isStructuredTool, isStructuredToolParams };
38
+ export { isLangChainTool, isRunnableToolLike, isStructuredTool, isStructuredToolParams };
39
39
  //# sourceMappingURL=function_calling.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"function_calling.d.cts","names":[],"sources":["../../src/utils/function_calling.ts"],"mappings":";;;;;;;;;;;;;iBA2BgB,wBACd,MAAM,0BAA0B,mBAAmB,sBACnD;;;;;EAMM;aAGL;;;;;;;;;;iBAsBa,oBAEd,MAAM,0BAA0B,sBAAsB,kBACtD;;;;;EAMM;aAGL"}
1
+ {"version":3,"file":"function_calling.d.cts","names":[],"sources":["../../src/utils/function_calling.ts"],"mappings":";;;;;;;;;;;;;wBA2BgB,wBACd,MAAM,0BAA0B,mBAAmB,sBACnD;;;;;EAMM;aAGL;;;;;;;;;;wBAsBa,oBAEd,MAAM,0BAA0B,sBAAsB,kBACtD;;;;;EAMM;aAGL"}