@langchain/classic 1.0.4 → 1.0.6-dev-1765431816670

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 (950) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/_virtual/rolldown_runtime.cjs +0 -4
  3. package/dist/_virtual/rolldown_runtime.js +1 -10
  4. package/dist/agents/agent.d.cts +3 -23
  5. package/dist/agents/agent.d.cts.map +1 -1
  6. package/dist/agents/agent.d.ts +3 -23
  7. package/dist/agents/agent.d.ts.map +1 -1
  8. package/dist/agents/chat/index.d.cts.map +1 -1
  9. package/dist/agents/chat/index.d.ts.map +1 -1
  10. package/dist/agents/chat/outputParser.d.cts +2 -2
  11. package/dist/agents/chat/outputParser.d.cts.map +1 -1
  12. package/dist/agents/chat/outputParser.d.ts.map +1 -1
  13. package/dist/agents/chat_convo/index.d.cts.map +1 -1
  14. package/dist/agents/chat_convo/index.d.ts.map +1 -1
  15. package/dist/agents/chat_convo/outputParser.d.cts.map +1 -1
  16. package/dist/agents/chat_convo/outputParser.d.ts.map +1 -1
  17. package/dist/agents/executor.d.cts +1 -10
  18. package/dist/agents/executor.d.cts.map +1 -1
  19. package/dist/agents/executor.d.ts +1 -10
  20. package/dist/agents/executor.d.ts.map +1 -1
  21. package/dist/agents/format_scratchpad/log.d.cts.map +1 -1
  22. package/dist/agents/format_scratchpad/log.d.ts.map +1 -1
  23. package/dist/agents/format_scratchpad/log_to_message.d.cts.map +1 -1
  24. package/dist/agents/format_scratchpad/log_to_message.d.ts.map +1 -1
  25. package/dist/agents/format_scratchpad/openai_functions.d.cts.map +1 -1
  26. package/dist/agents/format_scratchpad/openai_functions.d.ts.map +1 -1
  27. package/dist/agents/format_scratchpad/tool_calling.d.cts.map +1 -1
  28. package/dist/agents/format_scratchpad/tool_calling.d.ts.map +1 -1
  29. package/dist/agents/format_scratchpad/xml.d.cts.map +1 -1
  30. package/dist/agents/format_scratchpad/xml.d.ts.map +1 -1
  31. package/dist/agents/index.d.ts +1 -0
  32. package/dist/agents/initialize.d.cts +1 -10
  33. package/dist/agents/initialize.d.cts.map +1 -1
  34. package/dist/agents/initialize.d.ts +1 -10
  35. package/dist/agents/initialize.d.ts.map +1 -1
  36. package/dist/agents/load.d.cts +2 -10
  37. package/dist/agents/load.d.cts.map +1 -1
  38. package/dist/agents/load.d.ts +2 -10
  39. package/dist/agents/load.d.ts.map +1 -1
  40. package/dist/agents/mrkl/index.d.cts.map +1 -1
  41. package/dist/agents/mrkl/index.d.ts.map +1 -1
  42. package/dist/agents/mrkl/outputParser.d.cts +1 -1
  43. package/dist/agents/mrkl/outputParser.d.cts.map +1 -1
  44. package/dist/agents/mrkl/outputParser.d.ts.map +1 -1
  45. package/dist/agents/openai_functions/index.d.cts.map +1 -1
  46. package/dist/agents/openai_functions/index.d.ts +1 -0
  47. package/dist/agents/openai_functions/index.d.ts.map +1 -1
  48. package/dist/agents/openai_functions/output_parser.d.cts.map +1 -1
  49. package/dist/agents/openai_functions/output_parser.d.ts.map +1 -1
  50. package/dist/agents/openai_tools/index.d.cts +3 -5
  51. package/dist/agents/openai_tools/index.d.cts.map +1 -1
  52. package/dist/agents/openai_tools/index.d.ts +3 -5
  53. package/dist/agents/openai_tools/index.d.ts.map +1 -1
  54. package/dist/agents/openai_tools/output_parser.d.cts.map +1 -1
  55. package/dist/agents/openai_tools/output_parser.d.ts.map +1 -1
  56. package/dist/agents/react/index.d.cts +2 -2
  57. package/dist/agents/react/index.d.cts.map +1 -1
  58. package/dist/agents/react/index.d.ts +2 -2
  59. package/dist/agents/react/index.d.ts.map +1 -1
  60. package/dist/agents/react/output_parser.d.cts.map +1 -1
  61. package/dist/agents/react/output_parser.d.ts.map +1 -1
  62. package/dist/agents/structured_chat/index.d.cts +2 -2
  63. package/dist/agents/structured_chat/index.d.cts.map +1 -1
  64. package/dist/agents/structured_chat/index.d.ts +2 -2
  65. package/dist/agents/structured_chat/index.d.ts.map +1 -1
  66. package/dist/agents/structured_chat/outputParser.d.cts.map +1 -1
  67. package/dist/agents/structured_chat/outputParser.d.ts.map +1 -1
  68. package/dist/agents/tool_calling/index.d.cts +2 -2
  69. package/dist/agents/tool_calling/index.d.cts.map +1 -1
  70. package/dist/agents/tool_calling/index.d.ts +2 -2
  71. package/dist/agents/tool_calling/index.d.ts.map +1 -1
  72. package/dist/agents/tool_calling/output_parser.d.cts.map +1 -1
  73. package/dist/agents/tool_calling/output_parser.d.ts +1 -0
  74. package/dist/agents/tool_calling/output_parser.d.ts.map +1 -1
  75. package/dist/agents/toolkits/conversational_retrieval/openai_functions.d.cts.map +1 -1
  76. package/dist/agents/toolkits/conversational_retrieval/openai_functions.d.ts.map +1 -1
  77. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.cts.map +1 -1
  78. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.ts.map +1 -1
  79. package/dist/agents/toolkits/conversational_retrieval/tool.d.cts.map +1 -1
  80. package/dist/agents/toolkits/conversational_retrieval/tool.d.ts.map +1 -1
  81. package/dist/agents/toolkits/json/json.d.cts.map +1 -1
  82. package/dist/agents/toolkits/json/json.d.ts.map +1 -1
  83. package/dist/agents/toolkits/openapi/openapi.d.cts.map +1 -1
  84. package/dist/agents/toolkits/openapi/openapi.d.ts.map +1 -1
  85. package/dist/agents/toolkits/sql/prompt.d.cts.map +1 -1
  86. package/dist/agents/toolkits/sql/prompt.d.ts.map +1 -1
  87. package/dist/agents/toolkits/sql/sql.d.cts.map +1 -1
  88. package/dist/agents/toolkits/sql/sql.d.ts.map +1 -1
  89. package/dist/agents/toolkits/vectorstore/vectorstore.d.cts.map +1 -1
  90. package/dist/agents/toolkits/vectorstore/vectorstore.d.ts.map +1 -1
  91. package/dist/agents/types.d.cts +0 -7
  92. package/dist/agents/types.d.cts.map +1 -1
  93. package/dist/agents/types.d.ts +0 -7
  94. package/dist/agents/types.d.ts.map +1 -1
  95. package/dist/agents/xml/index.d.cts.map +1 -1
  96. package/dist/agents/xml/index.d.ts.map +1 -1
  97. package/dist/agents/xml/output_parser.d.cts.map +1 -1
  98. package/dist/agents/xml/output_parser.d.ts.map +1 -1
  99. package/dist/cache/file_system.d.cts.map +1 -1
  100. package/dist/cache/file_system.d.ts.map +1 -1
  101. package/dist/callbacks/handlers/console.d.cts +1 -3
  102. package/dist/callbacks/handlers/console.d.cts.map +1 -1
  103. package/dist/callbacks/handlers/console.d.ts +1 -3
  104. package/dist/callbacks/handlers/console.d.ts.map +1 -1
  105. package/dist/callbacks/handlers/run_collector.d.cts +1 -3
  106. package/dist/callbacks/handlers/run_collector.d.cts.map +1 -1
  107. package/dist/callbacks/handlers/run_collector.d.ts +1 -3
  108. package/dist/callbacks/handlers/run_collector.d.ts.map +1 -1
  109. package/dist/callbacks/handlers/tracer.d.cts +1 -3
  110. package/dist/callbacks/handlers/tracer.d.cts.map +1 -1
  111. package/dist/callbacks/handlers/tracer.d.ts +1 -3
  112. package/dist/callbacks/handlers/tracer.d.ts.map +1 -1
  113. package/dist/callbacks/handlers/tracer_langchain.d.cts +1 -3
  114. package/dist/callbacks/handlers/tracer_langchain.d.cts.map +1 -1
  115. package/dist/callbacks/handlers/tracer_langchain.d.ts +1 -3
  116. package/dist/callbacks/handlers/tracer_langchain.d.ts.map +1 -1
  117. package/dist/callbacks/index.d.cts +8 -0
  118. package/dist/callbacks/index.d.ts +8 -0
  119. package/dist/callbacks/promises.d.cts +1 -3
  120. package/dist/callbacks/promises.d.cts.map +1 -1
  121. package/dist/callbacks/promises.d.ts +1 -3
  122. package/dist/callbacks/promises.d.ts.map +1 -1
  123. package/dist/chains/analyze_documents_chain.d.cts +0 -1
  124. package/dist/chains/analyze_documents_chain.d.cts.map +1 -1
  125. package/dist/chains/analyze_documents_chain.d.ts +0 -1
  126. package/dist/chains/analyze_documents_chain.d.ts.map +1 -1
  127. package/dist/chains/api/api_chain.d.cts.map +1 -1
  128. package/dist/chains/api/api_chain.d.ts.map +1 -1
  129. package/dist/chains/base.d.cts +1 -4
  130. package/dist/chains/base.d.cts.map +1 -1
  131. package/dist/chains/base.d.ts +1 -4
  132. package/dist/chains/base.d.ts.map +1 -1
  133. package/dist/chains/chat_vector_db_chain.d.cts +0 -1
  134. package/dist/chains/chat_vector_db_chain.d.cts.map +1 -1
  135. package/dist/chains/chat_vector_db_chain.d.ts +0 -1
  136. package/dist/chains/chat_vector_db_chain.d.ts.map +1 -1
  137. package/dist/chains/combine_docs_chain.d.cts +2 -2
  138. package/dist/chains/combine_docs_chain.d.cts.map +1 -1
  139. package/dist/chains/combine_docs_chain.d.ts +2 -2
  140. package/dist/chains/combine_docs_chain.d.ts.map +1 -1
  141. package/dist/chains/combine_documents/reduce.d.cts +1 -3
  142. package/dist/chains/combine_documents/reduce.d.cts.map +1 -1
  143. package/dist/chains/combine_documents/reduce.d.ts +1 -3
  144. package/dist/chains/combine_documents/reduce.d.ts.map +1 -1
  145. package/dist/chains/combine_documents/stuff.d.cts.map +1 -1
  146. package/dist/chains/combine_documents/stuff.d.ts.map +1 -1
  147. package/dist/chains/constitutional_ai/constitutional_chain.d.cts.map +1 -1
  148. package/dist/chains/constitutional_ai/constitutional_chain.d.ts.map +1 -1
  149. package/dist/chains/constitutional_ai/constitutional_principle.d.cts.map +1 -1
  150. package/dist/chains/constitutional_ai/constitutional_principle.d.ts.map +1 -1
  151. package/dist/chains/conversation.d.cts.map +1 -1
  152. package/dist/chains/conversation.d.ts.map +1 -1
  153. package/dist/chains/conversational_retrieval_chain.d.cts +1 -2
  154. package/dist/chains/conversational_retrieval_chain.d.cts.map +1 -1
  155. package/dist/chains/conversational_retrieval_chain.d.ts +1 -2
  156. package/dist/chains/conversational_retrieval_chain.d.ts.map +1 -1
  157. package/dist/chains/graph_qa/cypher.d.cts +0 -3
  158. package/dist/chains/graph_qa/cypher.d.cts.map +1 -1
  159. package/dist/chains/graph_qa/cypher.d.ts +0 -3
  160. package/dist/chains/graph_qa/cypher.d.ts.map +1 -1
  161. package/dist/chains/history_aware_retriever.d.cts.map +1 -1
  162. package/dist/chains/history_aware_retriever.d.ts.map +1 -1
  163. package/dist/chains/llm_chain.d.cts +0 -1
  164. package/dist/chains/llm_chain.d.cts.map +1 -1
  165. package/dist/chains/llm_chain.d.ts +0 -1
  166. package/dist/chains/llm_chain.d.ts.map +1 -1
  167. package/dist/chains/load.d.cts +2 -2
  168. package/dist/chains/load.d.cts.map +1 -1
  169. package/dist/chains/load.d.ts +2 -2
  170. package/dist/chains/load.d.ts.map +1 -1
  171. package/dist/chains/openai_functions/base.d.cts +4 -16
  172. package/dist/chains/openai_functions/base.d.cts.map +1 -1
  173. package/dist/chains/openai_functions/base.d.ts +4 -16
  174. package/dist/chains/openai_functions/base.d.ts.map +1 -1
  175. package/dist/chains/openai_functions/extraction.d.cts.map +1 -1
  176. package/dist/chains/openai_functions/extraction.d.ts.map +1 -1
  177. package/dist/chains/openai_functions/openapi.d.cts +1 -4
  178. package/dist/chains/openai_functions/openapi.d.cts.map +1 -1
  179. package/dist/chains/openai_functions/openapi.d.ts +1 -4
  180. package/dist/chains/openai_functions/openapi.d.ts.map +1 -1
  181. package/dist/chains/openai_functions/tagging.d.cts.map +1 -1
  182. package/dist/chains/openai_functions/tagging.d.ts.map +1 -1
  183. package/dist/chains/openai_moderation.d.cts.map +1 -1
  184. package/dist/chains/openai_moderation.d.ts.map +1 -1
  185. package/dist/chains/query_constructor/index.d.cts +1 -3
  186. package/dist/chains/query_constructor/index.d.cts.map +1 -1
  187. package/dist/chains/query_constructor/index.d.ts +1 -3
  188. package/dist/chains/query_constructor/index.d.ts.map +1 -1
  189. package/dist/chains/query_constructor/parser.d.cts.map +1 -1
  190. package/dist/chains/query_constructor/parser.d.ts.map +1 -1
  191. package/dist/chains/query_constructor/prompt.d.cts.map +1 -1
  192. package/dist/chains/query_constructor/prompt.d.ts.map +1 -1
  193. package/dist/chains/question_answering/load.d.cts +2 -2
  194. package/dist/chains/question_answering/load.d.cts.map +1 -1
  195. package/dist/chains/question_answering/load.d.ts +2 -2
  196. package/dist/chains/question_answering/load.d.ts.map +1 -1
  197. package/dist/chains/retrieval.d.cts +1 -4
  198. package/dist/chains/retrieval.d.cts.map +1 -1
  199. package/dist/chains/retrieval.d.ts +1 -4
  200. package/dist/chains/retrieval.d.ts.map +1 -1
  201. package/dist/chains/retrieval_qa.d.cts +0 -1
  202. package/dist/chains/retrieval_qa.d.cts.map +1 -1
  203. package/dist/chains/retrieval_qa.d.ts +0 -1
  204. package/dist/chains/retrieval_qa.d.ts.map +1 -1
  205. package/dist/chains/router/llm_router.d.cts.map +1 -1
  206. package/dist/chains/router/llm_router.d.ts.map +1 -1
  207. package/dist/chains/router/multi_prompt.d.cts.map +1 -1
  208. package/dist/chains/router/multi_prompt.d.ts.map +1 -1
  209. package/dist/chains/router/multi_retrieval_qa.d.cts.map +1 -1
  210. package/dist/chains/router/multi_retrieval_qa.d.ts.map +1 -1
  211. package/dist/chains/router/multi_route.d.cts.map +1 -1
  212. package/dist/chains/router/multi_route.d.ts.map +1 -1
  213. package/dist/chains/sequential_chain.d.cts.map +1 -1
  214. package/dist/chains/sequential_chain.d.ts.map +1 -1
  215. package/dist/chains/serde.d.cts.map +1 -1
  216. package/dist/chains/serde.d.ts.map +1 -1
  217. package/dist/chains/sql_db/sql_db_chain.d.cts +0 -5
  218. package/dist/chains/sql_db/sql_db_chain.d.cts.map +1 -1
  219. package/dist/chains/sql_db/sql_db_chain.d.ts +0 -5
  220. package/dist/chains/sql_db/sql_db_chain.d.ts.map +1 -1
  221. package/dist/chains/sql_db/sql_db_prompt.d.cts.map +1 -1
  222. package/dist/chains/sql_db/sql_db_prompt.d.ts.map +1 -1
  223. package/dist/chains/summarization/load.d.cts +2 -2
  224. package/dist/chains/summarization/load.d.cts.map +1 -1
  225. package/dist/chains/summarization/load.d.ts +2 -2
  226. package/dist/chains/summarization/load.d.ts.map +1 -1
  227. package/dist/chains/transform.d.cts.map +1 -1
  228. package/dist/chains/transform.d.ts.map +1 -1
  229. package/dist/chains/vector_db_qa.d.cts +0 -1
  230. package/dist/chains/vector_db_qa.d.cts.map +1 -1
  231. package/dist/chains/vector_db_qa.d.ts +0 -1
  232. package/dist/chains/vector_db_qa.d.ts.map +1 -1
  233. package/dist/chat_models/universal.d.cts +4 -21
  234. package/dist/chat_models/universal.d.cts.map +1 -1
  235. package/dist/chat_models/universal.d.ts +4 -21
  236. package/dist/chat_models/universal.d.ts.map +1 -1
  237. package/dist/document_loaders/fs/buffer.d.cts.map +1 -1
  238. package/dist/document_loaders/fs/buffer.d.ts.map +1 -1
  239. package/dist/document_loaders/fs/directory.d.cts +0 -2
  240. package/dist/document_loaders/fs/directory.d.cts.map +1 -1
  241. package/dist/document_loaders/fs/directory.d.ts +0 -2
  242. package/dist/document_loaders/fs/directory.d.ts.map +1 -1
  243. package/dist/document_loaders/fs/json.d.cts.map +1 -1
  244. package/dist/document_loaders/fs/json.d.ts.map +1 -1
  245. package/dist/document_loaders/fs/multi_file.d.cts.map +1 -1
  246. package/dist/document_loaders/fs/multi_file.d.ts.map +1 -1
  247. package/dist/document_loaders/fs/text.d.cts.map +1 -1
  248. package/dist/document_loaders/fs/text.d.ts.map +1 -1
  249. package/dist/document_transformers/openai_functions.d.cts.map +1 -1
  250. package/dist/document_transformers/openai_functions.d.ts +1 -1
  251. package/dist/document_transformers/openai_functions.d.ts.map +1 -1
  252. package/dist/embeddings/cache_backed.d.cts.map +1 -1
  253. package/dist/embeddings/cache_backed.d.ts.map +1 -1
  254. package/dist/evaluation/agents/index.d.ts +1 -0
  255. package/dist/evaluation/agents/trajectory.d.cts +2 -2
  256. package/dist/evaluation/agents/trajectory.d.cts.map +1 -1
  257. package/dist/evaluation/agents/trajectory.d.ts +2 -2
  258. package/dist/evaluation/agents/trajectory.d.ts.map +1 -1
  259. package/dist/evaluation/base.d.cts +1 -10
  260. package/dist/evaluation/base.d.cts.map +1 -1
  261. package/dist/evaluation/base.d.ts +2 -10
  262. package/dist/evaluation/base.d.ts.map +1 -1
  263. package/dist/evaluation/comparison/index.d.ts +1 -0
  264. package/dist/evaluation/comparison/pairwise.d.cts +3 -3
  265. package/dist/evaluation/comparison/pairwise.d.cts.map +1 -1
  266. package/dist/evaluation/comparison/pairwise.d.ts +3 -3
  267. package/dist/evaluation/comparison/pairwise.d.ts.map +1 -1
  268. package/dist/evaluation/criteria/criteria.d.cts +3 -5
  269. package/dist/evaluation/criteria/criteria.d.cts.map +1 -1
  270. package/dist/evaluation/criteria/criteria.d.ts +3 -5
  271. package/dist/evaluation/criteria/criteria.d.ts.map +1 -1
  272. package/dist/evaluation/criteria/index.d.ts +1 -0
  273. package/dist/evaluation/embedding_distance/base.d.cts.map +1 -1
  274. package/dist/evaluation/embedding_distance/base.d.ts.map +1 -1
  275. package/dist/evaluation/embedding_distance/index.d.ts +1 -0
  276. package/dist/evaluation/index.d.ts +5 -0
  277. package/dist/evaluation/loader.d.cts.map +1 -1
  278. package/dist/evaluation/loader.d.ts +2 -0
  279. package/dist/evaluation/loader.d.ts.map +1 -1
  280. package/dist/evaluation/qa/eval_chain.d.cts.map +1 -1
  281. package/dist/evaluation/qa/eval_chain.d.ts.map +1 -1
  282. package/dist/evaluation/qa/index.d.ts +1 -0
  283. package/dist/evaluation/types.d.cts.map +1 -1
  284. package/dist/evaluation/types.d.ts.map +1 -1
  285. package/dist/experimental/autogpt/agent.d.cts +0 -2
  286. package/dist/experimental/autogpt/agent.d.cts.map +1 -1
  287. package/dist/experimental/autogpt/agent.d.ts +0 -2
  288. package/dist/experimental/autogpt/agent.d.ts.map +1 -1
  289. package/dist/experimental/autogpt/output_parser.d.cts.map +1 -1
  290. package/dist/experimental/autogpt/output_parser.d.ts.map +1 -1
  291. package/dist/experimental/autogpt/prompt.d.cts.map +1 -1
  292. package/dist/experimental/autogpt/prompt.d.ts.map +1 -1
  293. package/dist/experimental/autogpt/schema.d.cts +0 -1
  294. package/dist/experimental/autogpt/schema.d.cts.map +1 -1
  295. package/dist/experimental/autogpt/schema.d.ts +0 -1
  296. package/dist/experimental/autogpt/schema.d.ts.map +1 -1
  297. package/dist/experimental/babyagi/agent.d.cts.map +1 -1
  298. package/dist/experimental/babyagi/agent.d.ts.map +1 -1
  299. package/dist/experimental/babyagi/task_creation.d.cts.map +1 -1
  300. package/dist/experimental/babyagi/task_creation.d.ts.map +1 -1
  301. package/dist/experimental/babyagi/task_execution.d.cts.map +1 -1
  302. package/dist/experimental/babyagi/task_execution.d.ts.map +1 -1
  303. package/dist/experimental/babyagi/task_prioritization.d.cts.map +1 -1
  304. package/dist/experimental/babyagi/task_prioritization.d.ts.map +1 -1
  305. package/dist/experimental/chains/violation_of_expectations/types.d.cts.map +1 -1
  306. package/dist/experimental/chains/violation_of_expectations/types.d.ts.map +1 -1
  307. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_chain.d.cts.map +1 -1
  308. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_chain.d.ts.map +1 -1
  309. package/dist/experimental/generative_agents/generative_agent.d.cts +8 -16
  310. package/dist/experimental/generative_agents/generative_agent.d.cts.map +1 -1
  311. package/dist/experimental/generative_agents/generative_agent.d.ts +8 -16
  312. package/dist/experimental/generative_agents/generative_agent.d.ts.map +1 -1
  313. package/dist/experimental/generative_agents/generative_agent_memory.d.cts +0 -1
  314. package/dist/experimental/generative_agents/generative_agent_memory.d.cts.map +1 -1
  315. package/dist/experimental/generative_agents/generative_agent_memory.d.ts +0 -1
  316. package/dist/experimental/generative_agents/generative_agent_memory.d.ts.map +1 -1
  317. package/dist/experimental/masking/parser.d.cts.map +1 -1
  318. package/dist/experimental/masking/parser.d.ts.map +1 -1
  319. package/dist/experimental/masking/regex_masking_transformer.d.cts.map +1 -1
  320. package/dist/experimental/masking/regex_masking_transformer.d.ts.map +1 -1
  321. package/dist/experimental/masking/transformer.d.cts.map +1 -1
  322. package/dist/experimental/masking/transformer.d.ts.map +1 -1
  323. package/dist/experimental/masking/types.d.cts.map +1 -1
  324. package/dist/experimental/masking/types.d.ts.map +1 -1
  325. package/dist/experimental/openai_assistant/index.d.cts +1 -5
  326. package/dist/experimental/openai_assistant/index.d.cts.map +1 -1
  327. package/dist/experimental/openai_assistant/index.d.ts +1 -5
  328. package/dist/experimental/openai_assistant/index.d.ts.map +1 -1
  329. package/dist/experimental/openai_assistant/schema.d.cts +0 -1
  330. package/dist/experimental/openai_assistant/schema.d.cts.map +1 -1
  331. package/dist/experimental/openai_assistant/schema.d.ts +0 -1
  332. package/dist/experimental/openai_assistant/schema.d.ts.map +1 -1
  333. package/dist/experimental/openai_files/index.d.cts.map +1 -1
  334. package/dist/experimental/openai_files/index.d.ts.map +1 -1
  335. package/dist/experimental/plan_and_execute/agent_executor.d.cts.map +1 -1
  336. package/dist/experimental/plan_and_execute/agent_executor.d.ts.map +1 -1
  337. package/dist/experimental/plan_and_execute/base.d.cts.map +1 -1
  338. package/dist/experimental/plan_and_execute/base.d.ts.map +1 -1
  339. package/dist/experimental/plan_and_execute/outputParser.d.cts.map +1 -1
  340. package/dist/experimental/plan_and_execute/outputParser.d.ts.map +1 -1
  341. package/dist/experimental/prompts/custom_format.d.cts +2 -8
  342. package/dist/experimental/prompts/custom_format.d.cts.map +1 -1
  343. package/dist/experimental/prompts/custom_format.d.ts +2 -8
  344. package/dist/experimental/prompts/custom_format.d.ts.map +1 -1
  345. package/dist/experimental/prompts/handlebars.d.cts +2 -6
  346. package/dist/experimental/prompts/handlebars.d.cts.map +1 -1
  347. package/dist/experimental/prompts/handlebars.d.ts +2 -6
  348. package/dist/experimental/prompts/handlebars.d.ts.map +1 -1
  349. package/dist/hub/base.cjs +1 -1
  350. package/dist/hub/base.cjs.map +1 -1
  351. package/dist/hub/base.d.cts.map +1 -1
  352. package/dist/hub/base.d.ts.map +1 -1
  353. package/dist/hub/base.js +1 -1
  354. package/dist/hub/index.d.cts +0 -1
  355. package/dist/hub/index.d.cts.map +1 -1
  356. package/dist/hub/index.d.ts +0 -1
  357. package/dist/hub/index.d.ts.map +1 -1
  358. package/dist/hub/node.d.cts.map +1 -1
  359. package/dist/hub/node.d.ts.map +1 -1
  360. package/dist/load/import_constants.cjs +25 -24
  361. package/dist/load/import_constants.cjs.map +1 -1
  362. package/dist/load/import_constants.js +25 -24
  363. package/dist/load/import_constants.js.map +1 -1
  364. package/dist/load/import_map.cjs +47 -47
  365. package/dist/load/import_map.cjs.map +1 -1
  366. package/dist/load/import_map.js +54 -54
  367. package/dist/load/import_map.js.map +1 -1
  368. package/dist/load/import_type.d.cts +0 -1
  369. package/dist/load/import_type.d.cts.map +1 -1
  370. package/dist/load/import_type.d.ts +0 -1
  371. package/dist/load/import_type.d.ts.map +1 -1
  372. package/dist/load/index.d.cts +1 -7
  373. package/dist/load/index.d.cts.map +1 -1
  374. package/dist/load/index.d.ts +1 -7
  375. package/dist/load/index.d.ts.map +1 -1
  376. package/dist/load/map_keys.d.cts +0 -1
  377. package/dist/load/map_keys.d.cts.map +1 -1
  378. package/dist/load/map_keys.d.ts +0 -1
  379. package/dist/load/map_keys.d.ts.map +1 -1
  380. package/dist/load/serializable.d.cts +1 -10
  381. package/dist/load/serializable.d.ts +1 -10
  382. package/dist/memory/buffer_memory.d.cts.map +1 -1
  383. package/dist/memory/buffer_memory.d.ts.map +1 -1
  384. package/dist/memory/buffer_token_memory.d.cts +1 -6
  385. package/dist/memory/buffer_token_memory.d.cts.map +1 -1
  386. package/dist/memory/buffer_token_memory.d.ts +1 -6
  387. package/dist/memory/buffer_token_memory.d.ts.map +1 -1
  388. package/dist/memory/buffer_window_memory.d.cts.map +1 -1
  389. package/dist/memory/buffer_window_memory.d.ts.map +1 -1
  390. package/dist/memory/chat_memory.d.cts.map +1 -1
  391. package/dist/memory/chat_memory.d.ts.map +1 -1
  392. package/dist/memory/combined_memory.d.cts.map +1 -1
  393. package/dist/memory/combined_memory.d.ts.map +1 -1
  394. package/dist/memory/entity_memory.d.cts +0 -5
  395. package/dist/memory/entity_memory.d.cts.map +1 -1
  396. package/dist/memory/entity_memory.d.ts +0 -5
  397. package/dist/memory/entity_memory.d.ts.map +1 -1
  398. package/dist/memory/prompt.d.cts.map +1 -1
  399. package/dist/memory/prompt.d.ts.map +1 -1
  400. package/dist/memory/stores/entity/base.d.cts.map +1 -1
  401. package/dist/memory/stores/entity/base.d.ts.map +1 -1
  402. package/dist/memory/summary.d.cts.map +1 -1
  403. package/dist/memory/summary.d.ts.map +1 -1
  404. package/dist/memory/summary_buffer.d.cts.map +1 -1
  405. package/dist/memory/summary_buffer.d.ts.map +1 -1
  406. package/dist/memory/vector_store.d.cts.map +1 -1
  407. package/dist/memory/vector_store.d.ts.map +1 -1
  408. package/dist/output_parsers/combining.d.cts +0 -1
  409. package/dist/output_parsers/combining.d.cts.map +1 -1
  410. package/dist/output_parsers/combining.d.ts +0 -1
  411. package/dist/output_parsers/combining.d.ts.map +1 -1
  412. package/dist/output_parsers/datetime.d.cts.map +1 -1
  413. package/dist/output_parsers/datetime.d.ts.map +1 -1
  414. package/dist/output_parsers/expression.d.cts.map +1 -1
  415. package/dist/output_parsers/expression.d.ts.map +1 -1
  416. package/dist/output_parsers/expression_type_handlers/base.d.cts +0 -1
  417. package/dist/output_parsers/expression_type_handlers/base.d.cts.map +1 -1
  418. package/dist/output_parsers/expression_type_handlers/base.d.ts +0 -1
  419. package/dist/output_parsers/expression_type_handlers/base.d.ts.map +1 -1
  420. package/dist/output_parsers/expression_type_handlers/factory.d.cts.map +1 -1
  421. package/dist/output_parsers/expression_type_handlers/factory.d.ts.map +1 -1
  422. package/dist/output_parsers/expression_type_handlers/types.d.cts.map +1 -1
  423. package/dist/output_parsers/expression_type_handlers/types.d.ts.map +1 -1
  424. package/dist/output_parsers/fix.d.cts.map +1 -1
  425. package/dist/output_parsers/fix.d.ts.map +1 -1
  426. package/dist/output_parsers/http_response.d.cts.map +1 -1
  427. package/dist/output_parsers/http_response.d.ts.map +1 -1
  428. package/dist/output_parsers/openai_functions.d.cts.map +1 -1
  429. package/dist/output_parsers/openai_functions.d.ts.map +1 -1
  430. package/dist/output_parsers/openai_tools.d.cts +1 -4
  431. package/dist/output_parsers/openai_tools.d.cts.map +1 -1
  432. package/dist/output_parsers/openai_tools.d.ts +1 -4
  433. package/dist/output_parsers/openai_tools.d.ts.map +1 -1
  434. package/dist/output_parsers/regex.d.cts.map +1 -1
  435. package/dist/output_parsers/regex.d.ts.map +1 -1
  436. package/dist/output_parsers/router.d.cts.map +1 -1
  437. package/dist/output_parsers/router.d.ts.map +1 -1
  438. package/dist/output_parsers/structured.d.cts +2 -2
  439. package/dist/output_parsers/structured.d.cts.map +1 -1
  440. package/dist/output_parsers/structured.d.ts +2 -2
  441. package/dist/output_parsers/structured.d.ts.map +1 -1
  442. package/dist/retrievers/contextual_compression.d.cts.map +1 -1
  443. package/dist/retrievers/contextual_compression.d.ts.map +1 -1
  444. package/dist/retrievers/document_compressors/chain_extract.d.cts.map +1 -1
  445. package/dist/retrievers/document_compressors/chain_extract.d.ts.map +1 -1
  446. package/dist/retrievers/document_compressors/embeddings_filter.d.cts.map +1 -1
  447. package/dist/retrievers/document_compressors/embeddings_filter.d.ts.map +1 -1
  448. package/dist/retrievers/document_compressors/index.d.cts +0 -1
  449. package/dist/retrievers/document_compressors/index.d.cts.map +1 -1
  450. package/dist/retrievers/document_compressors/index.d.ts +0 -1
  451. package/dist/retrievers/document_compressors/index.d.ts.map +1 -1
  452. package/dist/retrievers/ensemble.d.cts.map +1 -1
  453. package/dist/retrievers/ensemble.d.ts.map +1 -1
  454. package/dist/retrievers/hyde.d.cts.map +1 -1
  455. package/dist/retrievers/hyde.d.ts.map +1 -1
  456. package/dist/retrievers/matryoshka_retriever.d.cts +0 -1
  457. package/dist/retrievers/matryoshka_retriever.d.cts.map +1 -1
  458. package/dist/retrievers/matryoshka_retriever.d.ts +0 -1
  459. package/dist/retrievers/matryoshka_retriever.d.ts.map +1 -1
  460. package/dist/retrievers/multi_query.d.cts +0 -2
  461. package/dist/retrievers/multi_query.d.cts.map +1 -1
  462. package/dist/retrievers/multi_query.d.ts +0 -2
  463. package/dist/retrievers/multi_query.d.ts.map +1 -1
  464. package/dist/retrievers/multi_vector.d.cts.map +1 -1
  465. package/dist/retrievers/multi_vector.d.ts +1 -1
  466. package/dist/retrievers/multi_vector.d.ts.map +1 -1
  467. package/dist/retrievers/parent_document.d.cts +0 -1
  468. package/dist/retrievers/parent_document.d.cts.map +1 -1
  469. package/dist/retrievers/parent_document.d.ts +0 -1
  470. package/dist/retrievers/parent_document.d.ts.map +1 -1
  471. package/dist/retrievers/score_threshold.d.cts.map +1 -1
  472. package/dist/retrievers/score_threshold.d.ts.map +1 -1
  473. package/dist/retrievers/self_query/index.cjs +1 -1
  474. package/dist/retrievers/self_query/index.d.cts.map +1 -1
  475. package/dist/retrievers/self_query/index.d.ts +1 -1
  476. package/dist/retrievers/self_query/index.d.ts.map +1 -1
  477. package/dist/retrievers/self_query/index.js +1 -1
  478. package/dist/retrievers/time_weighted.d.cts.map +1 -1
  479. package/dist/retrievers/time_weighted.d.ts +1 -1
  480. package/dist/retrievers/time_weighted.d.ts.map +1 -1
  481. package/dist/schema/prompt_template.d.cts +2 -2
  482. package/dist/schema/prompt_template.d.cts.map +1 -1
  483. package/dist/schema/prompt_template.d.ts +2 -2
  484. package/dist/schema/prompt_template.d.ts.map +1 -1
  485. package/dist/schema/query_constructor.d.cts.map +1 -1
  486. package/dist/schema/query_constructor.d.ts.map +1 -1
  487. package/dist/smith/config.d.cts +1 -11
  488. package/dist/smith/config.d.cts.map +1 -1
  489. package/dist/smith/config.d.ts +2 -11
  490. package/dist/smith/config.d.ts.map +1 -1
  491. package/dist/smith/runner_utils.cjs +4 -6
  492. package/dist/smith/runner_utils.cjs.map +1 -1
  493. package/dist/smith/runner_utils.d.cts +2 -7
  494. package/dist/smith/runner_utils.d.cts.map +1 -1
  495. package/dist/smith/runner_utils.d.ts +2 -7
  496. package/dist/smith/runner_utils.d.ts.map +1 -1
  497. package/dist/smith/runner_utils.js +1 -3
  498. package/dist/smith/runner_utils.js.map +1 -1
  499. package/dist/sql_db.d.cts.map +1 -1
  500. package/dist/sql_db.d.ts.map +1 -1
  501. package/dist/storage/encoder_backed.d.cts +0 -1
  502. package/dist/storage/encoder_backed.d.cts.map +1 -1
  503. package/dist/storage/encoder_backed.d.ts +0 -1
  504. package/dist/storage/encoder_backed.d.ts.map +1 -1
  505. package/dist/storage/file_system.d.cts.map +1 -1
  506. package/dist/storage/file_system.d.ts.map +1 -1
  507. package/dist/stores/doc/base.d.cts.map +1 -1
  508. package/dist/stores/doc/base.d.ts.map +1 -1
  509. package/dist/stores/doc/in_memory.d.cts +0 -1
  510. package/dist/stores/doc/in_memory.d.cts.map +1 -1
  511. package/dist/stores/doc/in_memory.d.ts +0 -1
  512. package/dist/stores/doc/in_memory.d.ts.map +1 -1
  513. package/dist/stores/file/base.d.cts.map +1 -1
  514. package/dist/stores/file/base.d.ts.map +1 -1
  515. package/dist/stores/file/in_memory.d.cts.map +1 -1
  516. package/dist/stores/file/in_memory.d.ts.map +1 -1
  517. package/dist/stores/file/node.d.cts.map +1 -1
  518. package/dist/stores/file/node.d.ts.map +1 -1
  519. package/dist/text_splitter.d.cts +1 -3
  520. package/dist/text_splitter.d.cts.map +1 -1
  521. package/dist/text_splitter.d.ts +1 -3
  522. package/dist/text_splitter.d.ts.map +1 -1
  523. package/dist/tools/chain.d.cts.map +1 -1
  524. package/dist/tools/chain.d.ts.map +1 -1
  525. package/dist/tools/fs.d.cts.map +1 -1
  526. package/dist/tools/fs.d.ts.map +1 -1
  527. package/dist/tools/json.d.cts.map +1 -1
  528. package/dist/tools/json.d.ts.map +1 -1
  529. package/dist/tools/render.d.cts.map +1 -1
  530. package/dist/tools/render.d.ts.map +1 -1
  531. package/dist/tools/requests.d.cts.map +1 -1
  532. package/dist/tools/requests.d.ts.map +1 -1
  533. package/dist/tools/retriever.d.cts.map +1 -1
  534. package/dist/tools/retriever.d.ts.map +1 -1
  535. package/dist/tools/sql.d.cts.map +1 -1
  536. package/dist/tools/sql.d.ts.map +1 -1
  537. package/dist/tools/vectorstore.d.cts.map +1 -1
  538. package/dist/tools/vectorstore.d.ts.map +1 -1
  539. package/dist/tools/webbrowser.d.cts +0 -1
  540. package/dist/tools/webbrowser.d.cts.map +1 -1
  541. package/dist/tools/webbrowser.d.ts +0 -1
  542. package/dist/tools/webbrowser.d.ts.map +1 -1
  543. package/dist/types/expression-parser.d.cts +0 -3
  544. package/dist/types/expression-parser.d.cts.map +1 -1
  545. package/dist/types/expression-parser.d.ts +0 -3
  546. package/dist/types/expression-parser.d.ts.map +1 -1
  547. package/dist/types/type-utils.d.cts +0 -2
  548. package/dist/types/type-utils.d.cts.map +1 -1
  549. package/dist/types/type-utils.d.ts +0 -2
  550. package/dist/types/type-utils.d.ts.map +1 -1
  551. package/dist/util/document.d.cts.map +1 -1
  552. package/dist/util/document.d.ts.map +1 -1
  553. package/dist/util/hub.cjs +2 -2
  554. package/dist/util/hub.cjs.map +1 -1
  555. package/dist/util/hub.js +1 -1
  556. package/dist/util/hub.js.map +1 -1
  557. package/dist/util/is-network-error/index.cjs +27 -0
  558. package/dist/util/is-network-error/index.cjs.map +1 -0
  559. package/dist/util/is-network-error/index.js +26 -0
  560. package/dist/util/is-network-error/index.js.map +1 -0
  561. package/dist/util/load.d.cts +0 -1
  562. package/dist/util/load.d.cts.map +1 -1
  563. package/dist/util/load.d.ts +0 -1
  564. package/dist/util/load.d.ts.map +1 -1
  565. package/dist/util/ml-distance/similarities.d.cts.map +1 -1
  566. package/dist/util/ml-distance/similarities.d.ts.map +1 -1
  567. package/dist/util/openapi.d.cts +0 -2
  568. package/dist/util/openapi.d.cts.map +1 -1
  569. package/dist/util/openapi.d.ts +0 -2
  570. package/dist/util/openapi.d.ts.map +1 -1
  571. package/dist/util/p-retry/index.cjs +141 -0
  572. package/dist/util/p-retry/index.cjs.map +1 -0
  573. package/dist/util/p-retry/index.js +141 -0
  574. package/dist/util/p-retry/index.js.map +1 -0
  575. package/dist/util/sql_utils.d.cts.map +1 -1
  576. package/dist/util/sql_utils.d.ts.map +1 -1
  577. package/dist/util/time.d.cts.map +1 -1
  578. package/dist/util/time.d.ts.map +1 -1
  579. package/dist/vectorstores/memory.d.cts +0 -1
  580. package/dist/vectorstores/memory.d.cts.map +1 -1
  581. package/dist/vectorstores/memory.d.ts +0 -1
  582. package/dist/vectorstores/memory.d.ts.map +1 -1
  583. package/package.json +766 -690
  584. package/dist/langchain-core/dist/load/map_keys.d.cts +0 -10
  585. package/dist/langchain-core/dist/load/map_keys.d.cts.map +0 -1
  586. package/dist/langchain-core/dist/load/serializable.d.cts +0 -82
  587. package/dist/langchain-core/dist/load/serializable.d.cts.map +0 -1
  588. package/dist/langchain-core/dist/messages/base.d.cts +0 -127
  589. package/dist/langchain-core/dist/messages/base.d.cts.map +0 -1
  590. package/dist/langchain-core/dist/messages/content/base.d.cts +0 -22
  591. package/dist/langchain-core/dist/messages/content/base.d.cts.map +0 -1
  592. package/dist/langchain-core/dist/messages/content/data.d.cts +0 -96
  593. package/dist/langchain-core/dist/messages/content/data.d.cts.map +0 -1
  594. package/dist/langchain-core/dist/messages/content/index.d.cts +0 -121
  595. package/dist/langchain-core/dist/messages/content/index.d.cts.map +0 -1
  596. package/dist/langchain-core/dist/messages/content/multimodal.d.cts +0 -110
  597. package/dist/langchain-core/dist/messages/content/multimodal.d.cts.map +0 -1
  598. package/dist/langchain-core/dist/messages/content/tools.d.cts +0 -130
  599. package/dist/langchain-core/dist/messages/content/tools.d.cts.map +0 -1
  600. package/dist/langchain-core/dist/messages/format.d.cts +0 -8
  601. package/dist/langchain-core/dist/messages/format.d.cts.map +0 -1
  602. package/dist/langchain-core/dist/messages/message.d.cts +0 -598
  603. package/dist/langchain-core/dist/messages/message.d.cts.map +0 -1
  604. package/dist/langchain-core/dist/messages/metadata.d.cts +0 -100
  605. package/dist/langchain-core/dist/messages/metadata.d.cts.map +0 -1
  606. package/dist/langchain-core/dist/messages/utils.d.cts +0 -75
  607. package/dist/langchain-core/dist/messages/utils.d.cts.map +0 -1
  608. package/dist/langchain-core/dist/prompt_values.d.cts +0 -13
  609. package/dist/langchain-core/dist/prompt_values.d.cts.map +0 -1
  610. package/dist/langchain-core/dist/tools/types.d.cts +0 -41
  611. package/dist/langchain-core/dist/tools/types.d.cts.map +0 -1
  612. package/dist/langchain-core/dist/utils/types/index.d.cts +0 -8
  613. package/dist/langchain-core/dist/utils/types/index.d.cts.map +0 -1
  614. package/dist/libs/langchain-core/dist/callbacks/base.d.ts +0 -1
  615. package/dist/libs/langchain-core/dist/callbacks/manager.d.ts +0 -2
  616. package/dist/libs/langchain-core/dist/language_models/base.d.ts +0 -6
  617. package/dist/libs/langchain-core/dist/load/map_keys.d.ts +0 -10
  618. package/dist/libs/langchain-core/dist/load/map_keys.d.ts.map +0 -1
  619. package/dist/libs/langchain-core/dist/load/serializable.d.ts +0 -82
  620. package/dist/libs/langchain-core/dist/load/serializable.d.ts.map +0 -1
  621. package/dist/libs/langchain-core/dist/messages/base.d.ts +0 -127
  622. package/dist/libs/langchain-core/dist/messages/base.d.ts.map +0 -1
  623. package/dist/libs/langchain-core/dist/messages/content/base.d.ts +0 -22
  624. package/dist/libs/langchain-core/dist/messages/content/base.d.ts.map +0 -1
  625. package/dist/libs/langchain-core/dist/messages/content/data.d.ts +0 -96
  626. package/dist/libs/langchain-core/dist/messages/content/data.d.ts.map +0 -1
  627. package/dist/libs/langchain-core/dist/messages/content/index.d.ts +0 -121
  628. package/dist/libs/langchain-core/dist/messages/content/index.d.ts.map +0 -1
  629. package/dist/libs/langchain-core/dist/messages/content/multimodal.d.ts +0 -110
  630. package/dist/libs/langchain-core/dist/messages/content/multimodal.d.ts.map +0 -1
  631. package/dist/libs/langchain-core/dist/messages/content/tools.d.ts +0 -130
  632. package/dist/libs/langchain-core/dist/messages/content/tools.d.ts.map +0 -1
  633. package/dist/libs/langchain-core/dist/messages/format.d.ts +0 -8
  634. package/dist/libs/langchain-core/dist/messages/format.d.ts.map +0 -1
  635. package/dist/libs/langchain-core/dist/messages/message.d.ts +0 -598
  636. package/dist/libs/langchain-core/dist/messages/message.d.ts.map +0 -1
  637. package/dist/libs/langchain-core/dist/messages/metadata.d.ts +0 -100
  638. package/dist/libs/langchain-core/dist/messages/metadata.d.ts.map +0 -1
  639. package/dist/libs/langchain-core/dist/messages/utils.d.ts +0 -75
  640. package/dist/libs/langchain-core/dist/messages/utils.d.ts.map +0 -1
  641. package/dist/libs/langchain-core/dist/prompt_values.d.ts +0 -13
  642. package/dist/libs/langchain-core/dist/prompt_values.d.ts.map +0 -1
  643. package/dist/libs/langchain-core/dist/runnables/base.d.ts +0 -8
  644. package/dist/libs/langchain-core/dist/runnables/graph.d.ts +0 -1
  645. package/dist/libs/langchain-core/dist/runnables/types.d.ts +0 -2
  646. package/dist/libs/langchain-core/dist/tools/types.d.ts +0 -47
  647. package/dist/libs/langchain-core/dist/tools/types.d.ts.map +0 -1
  648. package/dist/libs/langchain-core/dist/tracers/base.d.ts +0 -2
  649. package/dist/libs/langchain-core/dist/tracers/event_stream.d.ts +0 -1
  650. package/dist/libs/langchain-core/dist/tracers/log_stream.d.ts +0 -3
  651. package/dist/libs/langchain-core/dist/utils/types/index.d.ts +0 -10
  652. package/dist/libs/langchain-core/dist/utils/types/index.d.ts.map +0 -1
  653. package/dist/libs/langchain-core/dist/utils/types/zod.d.ts +0 -1
  654. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parseTypes.d.ts +0 -16
  655. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/array.d.ts +0 -2
  656. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/bigint.d.ts +0 -1
  657. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/date.d.ts +0 -2
  658. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/enum.d.ts +0 -1
  659. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/intersection.d.ts +0 -2
  660. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/literal.d.ts +0 -1
  661. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/map.d.ts +0 -2
  662. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts +0 -1
  663. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/nullable.d.ts +0 -2
  664. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/number.d.ts +0 -1
  665. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/object.d.ts +0 -2
  666. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/record.d.ts +0 -4
  667. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/set.d.ts +0 -2
  668. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/string.d.ts +0 -1
  669. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/tuple.d.ts +0 -2
  670. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/union.d.ts +0 -2
  671. package/dist/load/serializable.d.cts.map +0 -1
  672. package/dist/load/serializable.d.ts.map +0 -1
  673. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs +0 -248
  674. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.map +0 -1
  675. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +0 -244
  676. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js.map +0 -1
  677. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.cjs +0 -3096
  678. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.cjs.map +0 -1
  679. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.js +0 -3095
  680. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.js.map +0 -1
  681. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.cjs +0 -12
  682. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.cjs.map +0 -1
  683. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.js +0 -12
  684. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.js.map +0 -1
  685. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.cjs +0 -71
  686. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.cjs.map +0 -1
  687. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.js +0 -38
  688. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.js.map +0 -1
  689. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.cjs +0 -221
  690. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.cjs.map +0 -1
  691. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.js +0 -221
  692. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.js.map +0 -1
  693. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.cjs +0 -11
  694. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.cjs.map +0 -1
  695. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.js +0 -11
  696. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.js.map +0 -1
  697. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.cjs +0 -703
  698. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.cjs.map +0 -1
  699. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.js +0 -702
  700. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.js.map +0 -1
  701. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.cjs +0 -7
  702. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.cjs.map +0 -1
  703. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.js +0 -6
  704. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.js.map +0 -1
  705. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.cjs +0 -29
  706. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.cjs.map +0 -1
  707. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.js +0 -28
  708. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.js.map +0 -1
  709. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.cjs +0 -115
  710. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.cjs.map +0 -1
  711. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.js +0 -113
  712. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.js.map +0 -1
  713. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.cjs +0 -14
  714. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.cjs.map +0 -1
  715. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.js +0 -13
  716. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.js.map +0 -1
  717. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.cjs +0 -94
  718. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.cjs.map +0 -1
  719. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.js +0 -94
  720. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.js.map +0 -1
  721. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.cjs +0 -136
  722. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.cjs.map +0 -1
  723. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.js +0 -131
  724. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.js.map +0 -1
  725. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.cjs +0 -102
  726. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.cjs.map +0 -1
  727. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.js +0 -99
  728. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.js.map +0 -1
  729. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs +0 -140
  730. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.map +0 -1
  731. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js +0 -140
  732. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js.map +0 -1
  733. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.cjs +0 -18
  734. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.cjs.map +0 -1
  735. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.js +0 -16
  736. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.js.map +0 -1
  737. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.cjs +0 -10
  738. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.cjs.map +0 -1
  739. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.js +0 -10
  740. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.js.map +0 -1
  741. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.cjs +0 -30
  742. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.cjs.map +0 -1
  743. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.js +0 -30
  744. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.js.map +0 -1
  745. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.cjs +0 -13
  746. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.cjs.map +0 -1
  747. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.js +0 -12
  748. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.js.map +0 -1
  749. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/index.cjs +0 -6
  750. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/index.js +0 -6
  751. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs +0 -27
  752. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.map +0 -1
  753. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js +0 -23
  754. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js.map +0 -1
  755. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs +0 -267
  756. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.map +0 -1
  757. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js +0 -263
  758. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js.map +0 -1
  759. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs +0 -32
  760. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.map +0 -1
  761. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js +0 -28
  762. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js.map +0 -1
  763. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs +0 -49
  764. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.map +0 -1
  765. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js +0 -45
  766. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js.map +0 -1
  767. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs +0 -52
  768. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.map +0 -1
  769. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js +0 -48
  770. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js.map +0 -1
  771. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs +0 -90
  772. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs.map +0 -1
  773. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js +0 -86
  774. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js.map +0 -1
  775. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs +0 -294
  776. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs.map +0 -1
  777. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js +0 -290
  778. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js.map +0 -1
  779. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs +0 -191
  780. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs.map +0 -1
  781. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js +0 -187
  782. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js.map +0 -1
  783. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs +0 -24
  784. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs.map +0 -1
  785. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js +0 -20
  786. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js.map +0 -1
  787. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs +0 -51
  788. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs.map +0 -1
  789. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js +0 -47
  790. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js.map +0 -1
  791. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs +0 -48
  792. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs.map +0 -1
  793. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js +0 -44
  794. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js.map +0 -1
  795. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs +0 -25
  796. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs.map +0 -1
  797. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js +0 -21
  798. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js.map +0 -1
  799. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs +0 -21
  800. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs.map +0 -1
  801. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js +0 -17
  802. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js.map +0 -1
  803. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs +0 -21
  804. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs.map +0 -1
  805. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js +0 -17
  806. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js.map +0 -1
  807. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs +0 -43
  808. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs.map +0 -1
  809. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js +0 -39
  810. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js.map +0 -1
  811. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs +0 -21
  812. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs.map +0 -1
  813. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js +0 -17
  814. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js.map +0 -1
  815. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs +0 -21
  816. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs.map +0 -1
  817. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js +0 -17
  818. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js.map +0 -1
  819. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs +0 -21
  820. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs.map +0 -1
  821. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js +0 -17
  822. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js.map +0 -1
  823. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs +0 -32
  824. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs.map +0 -1
  825. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js +0 -28
  826. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js.map +0 -1
  827. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs +0 -21
  828. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs.map +0 -1
  829. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js +0 -17
  830. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js.map +0 -1
  831. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs +0 -21
  832. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs.map +0 -1
  833. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js +0 -17
  834. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js.map +0 -1
  835. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs +0 -21
  836. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs.map +0 -1
  837. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js +0 -17
  838. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js.map +0 -1
  839. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs +0 -21
  840. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs.map +0 -1
  841. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js +0 -17
  842. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js.map +0 -1
  843. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs +0 -21
  844. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs.map +0 -1
  845. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js +0 -17
  846. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js.map +0 -1
  847. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs +0 -29
  848. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs.map +0 -1
  849. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js +0 -25
  850. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js.map +0 -1
  851. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs +0 -21
  852. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs.map +0 -1
  853. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js +0 -17
  854. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js.map +0 -1
  855. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs +0 -24
  856. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs.map +0 -1
  857. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js +0 -20
  858. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js.map +0 -1
  859. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs +0 -21
  860. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs.map +0 -1
  861. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js +0 -17
  862. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js.map +0 -1
  863. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs +0 -21
  864. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs.map +0 -1
  865. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js +0 -17
  866. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js.map +0 -1
  867. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs +0 -28
  868. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs.map +0 -1
  869. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js +0 -24
  870. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js.map +0 -1
  871. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs +0 -21
  872. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs.map +0 -1
  873. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js +0 -17
  874. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js.map +0 -1
  875. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs +0 -24
  876. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs.map +0 -1
  877. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js +0 -20
  878. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js.map +0 -1
  879. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs +0 -146
  880. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs.map +0 -1
  881. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js +0 -142
  882. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js.map +0 -1
  883. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs +0 -41
  884. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs.map +0 -1
  885. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js +0 -37
  886. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js.map +0 -1
  887. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs +0 -19
  888. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs.map +0 -1
  889. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js +0 -15
  890. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js.map +0 -1
  891. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs +0 -32
  892. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs.map +0 -1
  893. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js +0 -28
  894. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js.map +0 -1
  895. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs +0 -47
  896. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs.map +0 -1
  897. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js +0 -43
  898. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js.map +0 -1
  899. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs +0 -25
  900. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs.map +0 -1
  901. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js +0 -21
  902. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js.map +0 -1
  903. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs +0 -94
  904. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs.map +0 -1
  905. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js +0 -90
  906. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js.map +0 -1
  907. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs +0 -21
  908. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs.map +0 -1
  909. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js +0 -17
  910. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js.map +0 -1
  911. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs +0 -25
  912. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs.map +0 -1
  913. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js +0 -21
  914. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js.map +0 -1
  915. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs +0 -21
  916. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs.map +0 -1
  917. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js +0 -17
  918. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js.map +0 -1
  919. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs +0 -41
  920. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs.map +0 -1
  921. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js +0 -37
  922. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js.map +0 -1
  923. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs +0 -41
  924. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs.map +0 -1
  925. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js +0 -37
  926. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js.map +0 -1
  927. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs +0 -55
  928. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs.map +0 -1
  929. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js +0 -51
  930. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js.map +0 -1
  931. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs +0 -74
  932. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs.map +0 -1
  933. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js +0 -70
  934. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js.map +0 -1
  935. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs +0 -48
  936. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs.map +0 -1
  937. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js +0 -44
  938. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js.map +0 -1
  939. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs +0 -112
  940. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs.map +0 -1
  941. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js +0 -108
  942. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js.map +0 -1
  943. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs +0 -21
  944. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs.map +0 -1
  945. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js +0 -17
  946. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js.map +0 -1
  947. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs +0 -27
  948. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs.map +0 -1
  949. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js +0 -23
  950. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js.map +0 -1
@@ -3,8 +3,6 @@ export * from "@langchain/textsplitters";
3
3
  //#region src/text_splitter.d.ts
4
4
 
5
5
  import * as import___langchain_textsplitters from "@langchain/textsplitters";
6
- __reExport(text_splitter_d_exports, import___langchain_textsplitters);
7
-
8
6
  //#endregion
9
- export { text_splitter_d_exports };
7
+ export { import___langchain_textsplitters as text_splitter_d_exports };
10
8
  //# sourceMappingURL=text_splitter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text_splitter.d.ts","names":[],"sources":["../src/text_splitter.d.ts"],"sourcesContent":["export * from \"@langchain/textsplitters\";\n"],"mappings":""}
1
+ {"version":3,"file":"text_splitter.d.ts","names":[],"sources":["../src/text_splitter.d.ts"],"sourcesContent":["export * from \"@langchain/textsplitters\";\n//# sourceMappingURL=text_splitter.d.ts.map"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"chain.d.cts","names":["DynamicTool","DynamicToolInput","BaseChain","ChainToolInput","Omit","ChainTool","chain"],"sources":["../../src/tools/chain.d.ts"],"sourcesContent":["import { DynamicTool, DynamicToolInput } from \"@langchain/core/tools\";\nimport { BaseChain } from \"../chains/base.js\";\n/**\n * Interface for the input parameters of the ChainTool constructor.\n * Extends the DynamicToolInput interface, replacing the 'func' property\n * with a 'chain' property.\n */\nexport interface ChainToolInput extends Omit<DynamicToolInput, \"func\"> {\n chain: BaseChain;\n}\n/**\n * Class that extends DynamicTool for creating tools that can run chains.\n * Takes an instance of a class that extends BaseChain as a parameter in\n * its constructor and uses it to run the chain when its 'func' method is\n * called.\n */\nexport declare class ChainTool extends DynamicTool {\n static lc_name(): string;\n chain: BaseChain;\n constructor({ chain, ...rest }: ChainToolInput);\n}\n"],"mappings":";;;;;;;AAOA;;;AACWE,UADMC,cAAAA,SAAuBC,IAC7BF,CADkCD,gBAClCC,EAAAA,MAAAA,CAAAA,CAAAA;EAAS,KADoBE,EAC7BF,SAD6BE;AAAI;AAS5C;;;;;;AAAkD,cAA7BC,SAAAA,SAAkBL,WAAAA,CAAW;;SAEvCE;;;;KACyBC"}
1
+ {"version":3,"file":"chain.d.cts","names":["DynamicTool","DynamicToolInput","BaseChain","ChainToolInput","Omit","ChainTool","chain"],"sources":["../../src/tools/chain.d.ts"],"sourcesContent":["import { DynamicTool, DynamicToolInput } from \"@langchain/core/tools\";\nimport { BaseChain } from \"../chains/base.js\";\n/**\n * Interface for the input parameters of the ChainTool constructor.\n * Extends the DynamicToolInput interface, replacing the 'func' property\n * with a 'chain' property.\n */\nexport interface ChainToolInput extends Omit<DynamicToolInput, \"func\"> {\n chain: BaseChain;\n}\n/**\n * Class that extends DynamicTool for creating tools that can run chains.\n * Takes an instance of a class that extends BaseChain as a parameter in\n * its constructor and uses it to run the chain when its 'func' method is\n * called.\n */\nexport declare class ChainTool extends DynamicTool {\n static lc_name(): string;\n chain: BaseChain;\n constructor({ chain, ...rest }: ChainToolInput);\n}\n//# sourceMappingURL=chain.d.ts.map"],"mappings":";;;;;;;AAOA;;;AAAwCI,UAAvBD,cAAAA,SAAuBC,IAAAA,CAAKH,gBAALG,EAAAA,MAAAA,CAAAA,CAAAA;EAAI,KAAA,EACjCF,SADiC;AAS5C;;;;;AAAkD;;cAA7BG,SAAAA,SAAkBL,WAAAA;;SAE5BE;;;;KACyBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"chain.d.ts","names":["DynamicTool","DynamicToolInput","BaseChain","ChainToolInput","Omit","ChainTool","chain"],"sources":["../../src/tools/chain.d.ts"],"sourcesContent":["import { DynamicTool, DynamicToolInput } from \"@langchain/core/tools\";\nimport { BaseChain } from \"../chains/base.js\";\n/**\n * Interface for the input parameters of the ChainTool constructor.\n * Extends the DynamicToolInput interface, replacing the 'func' property\n * with a 'chain' property.\n */\nexport interface ChainToolInput extends Omit<DynamicToolInput, \"func\"> {\n chain: BaseChain;\n}\n/**\n * Class that extends DynamicTool for creating tools that can run chains.\n * Takes an instance of a class that extends BaseChain as a parameter in\n * its constructor and uses it to run the chain when its 'func' method is\n * called.\n */\nexport declare class ChainTool extends DynamicTool {\n static lc_name(): string;\n chain: BaseChain;\n constructor({ chain, ...rest }: ChainToolInput);\n}\n"],"mappings":";;;;;;;AAOA;;;AACWE,UADMC,cAAAA,SAAuBC,IAC7BF,CADkCD,gBAClCC,EAAAA,MAAAA,CAAAA,CAAAA;EAAS,KADoBE,EAC7BF,SAD6BE;AAAI;AAS5C;;;;;;AAAkD,cAA7BC,SAAAA,SAAkBL,WAAAA,CAAW;;SAEvCE;;;;KACyBC"}
1
+ {"version":3,"file":"chain.d.ts","names":["DynamicTool","DynamicToolInput","BaseChain","ChainToolInput","Omit","ChainTool","chain"],"sources":["../../src/tools/chain.d.ts"],"sourcesContent":["import { DynamicTool, DynamicToolInput } from \"@langchain/core/tools\";\nimport { BaseChain } from \"../chains/base.js\";\n/**\n * Interface for the input parameters of the ChainTool constructor.\n * Extends the DynamicToolInput interface, replacing the 'func' property\n * with a 'chain' property.\n */\nexport interface ChainToolInput extends Omit<DynamicToolInput, \"func\"> {\n chain: BaseChain;\n}\n/**\n * Class that extends DynamicTool for creating tools that can run chains.\n * Takes an instance of a class that extends BaseChain as a parameter in\n * its constructor and uses it to run the chain when its 'func' method is\n * called.\n */\nexport declare class ChainTool extends DynamicTool {\n static lc_name(): string;\n chain: BaseChain;\n constructor({ chain, ...rest }: ChainToolInput);\n}\n//# sourceMappingURL=chain.d.ts.map"],"mappings":";;;;;;;AAOA;;;AAAwCI,UAAvBD,cAAAA,SAAuBC,IAAAA,CAAKH,gBAALG,EAAAA,MAAAA,CAAAA,CAAAA;EAAI,KAAA,EACjCF,SADiC;AAS5C;;;;;AAAkD;;cAA7BG,SAAAA,SAAkBL,WAAAA;;SAE5BE;;;;KACyBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fs.d.cts","names":["z","StructuredTool","ToolParams","InferInteropZodOutput","BaseFileStore","ReadFileParams","readSchema","ZodString","ZodTypeAny","ZodObject","ReadToolSchema","ReadFileTool","store","file_path","Promise","WriteFileParams","writeSchema","WriteToolSchema","WriteFileTool","text"],"sources":["../../src/tools/fs.d.ts"],"sourcesContent":["import { z } from \"zod/v3\";\nimport { StructuredTool, ToolParams } from \"@langchain/core/tools\";\nimport { InferInteropZodOutput } from \"@langchain/core/utils/types\";\nimport { BaseFileStore } from \"../stores/file/base.js\";\n/**\n * Interface for parameters required by the ReadFileTool class.\n */\ninterface ReadFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const readSchema: z.ZodObject<{\n file_path: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n}, {\n file_path: string;\n}>;\ntype ReadToolSchema = typeof readSchema;\n/**\n * Class for reading files from the disk. Extends the StructuredTool\n * class.\n */\nexport declare class ReadFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n }, {\n file_path: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store }: ReadFileParams);\n _call({ file_path }: InferInteropZodOutput<ReadToolSchema>): Promise<string>;\n}\n/**\n * Interface for parameters required by the WriteFileTool class.\n */\ninterface WriteFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const writeSchema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n}, {\n file_path: string;\n text: string;\n}>;\ntype WriteToolSchema = typeof writeSchema;\n/**\n * Class for writing data to files on the disk. Extends the StructuredTool\n * class.\n */\nexport declare class WriteFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n }, {\n file_path: string;\n text: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store, ...rest }: WriteFileParams);\n _call({ file_path, text }: InferInteropZodOutput<WriteToolSchema>): Promise<string>;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAGuD;UAI7CK,cAAAA,SAAuBH,UAAT,CAAA;EAAA,KACbE,EAAAA,aAAAA;;AADgC,cAG7BE,UAH6B,EAGjBN,CAAAA,CAAES,SAHe,CAAA;EAG7BH,SAAAA,EACCN,CAAAA,CAAEO,SAKf;CAAA,EAAA,OAAA,EAJUP,CAAAA,CAAEQ,UAIZ,EAAA;EAAA,SALeD,EAAAA,MAAAA;CAAS,EAAA;EACF,SAFIE,EAAAA,MAAAA;AAAS,CAAA,CAAA;AAAA,KAOhCC,cAAAA,GAAc,OAAUJ,UAAAA;AAK7B;;;;AAEYN,cAFSW,YAAAA,SAAqBV,cAAAA,CAE5BQ;EAAS,OASZL,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAa,MACNQ,EAVNZ,CAAAA,CAAES,SAUIG,CAAAA;IAASP,SAAAA,EATRL,CAAAA,CAAEO,SASMF;EAAc,CAAA,EAC7BQ,OAAAA,EATIb,CAAAA,CAAEQ,UASNK,EAAAA;IAAmCH,SAAAA,EAAAA,MAAAA;EAAc,CAAA,EAApCP;IAAwCW,SAAAA,EAAAA,MAAAA;EAAO,CAAA,CAAA;EAbhB,IAAA,EAAA,MAAA;EAkB9CC,WAAAA,EAAAA,MAAe;EAAA,KAAA,EAPdX,aAOc;EAAA,WACdA,CAAAA;IAAAA;EAAAA,CAAAA,EAPgBC,cAOhBD;EAAa,KADUF,CAAAA;IAAAA;EAAAA,CAAAA,EALTC,qBAKSD,CALaQ,cAKbR,CAAAA,CAAAA,EAL+BY,OAK/BZ,CAAAA,MAAAA,CAAAA;AAAU;AAAA;;;UAAlCa,eAAAA,SAAwBb,UAKtBK,CAAAA;EAAS,KACPC,EALHJ,aAKGI;;AAHwB,cAAxBQ,WAAwB,EAAXhB,CAAAA,CAAES,SAAS,CAAA;EAUjCQ,SAAAA,EATUjB,CAAAA,CAAEO,SASG;EAKCW,IAAAA,EAbXlB,CAAAA,CAAEO,SAasB;CAAA,EAAA,OAAA,EAZtBP,CAAAA,CAAEQ,UAYoB,EAAA;EAAA,SAGbD,EAAAA,MAAAA;EAAS,IAChBP,EAAEO,MAAAA;CAAS,EAAA;EACG,SAHdE,EAAAA,MAAAA;EAAS,IAYZL,EAAAA,MAAAA;CAAa,CAAA;KAnBnBa,eAAAA,GAoB+BF,OApBNC,WAoBMD;;;;;AACoCD,cAhBnDI,aAAAA,SAAsBjB,cAAAA,CAgB6Ba;EAAO,OAhBpCb,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAc,MAAA,EAE7CD,CAAAA,CAAES,SAF2C,CAAA;eAGtCT,CAAAA,CAAEO;UACPP,CAAAA,CAAEO;cACAP,CAAAA,CAAEQ;;;;;;;;;SASPJ;;;;KACyBW;;;;KACLZ,sBAAsBc,mBAAmBH"}
1
+ {"version":3,"file":"fs.d.cts","names":["z","StructuredTool","ToolParams","InferInteropZodOutput","BaseFileStore","ReadFileParams","readSchema","ZodString","ZodTypeAny","ZodObject","ReadToolSchema","ReadFileTool","store","file_path","Promise","WriteFileParams","writeSchema","WriteToolSchema","WriteFileTool","text"],"sources":["../../src/tools/fs.d.ts"],"sourcesContent":["import { z } from \"zod/v3\";\nimport { StructuredTool, ToolParams } from \"@langchain/core/tools\";\nimport { InferInteropZodOutput } from \"@langchain/core/utils/types\";\nimport { BaseFileStore } from \"../stores/file/base.js\";\n/**\n * Interface for parameters required by the ReadFileTool class.\n */\ninterface ReadFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const readSchema: z.ZodObject<{\n file_path: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n}, {\n file_path: string;\n}>;\ntype ReadToolSchema = typeof readSchema;\n/**\n * Class for reading files from the disk. Extends the StructuredTool\n * class.\n */\nexport declare class ReadFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n }, {\n file_path: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store }: ReadFileParams);\n _call({ file_path }: InferInteropZodOutput<ReadToolSchema>): Promise<string>;\n}\n/**\n * Interface for parameters required by the WriteFileTool class.\n */\ninterface WriteFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const writeSchema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n}, {\n file_path: string;\n text: string;\n}>;\ntype WriteToolSchema = typeof writeSchema;\n/**\n * Class for writing data to files on the disk. Extends the StructuredTool\n * class.\n */\nexport declare class WriteFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n }, {\n file_path: string;\n text: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store, ...rest }: WriteFileParams);\n _call({ file_path, text }: InferInteropZodOutput<WriteToolSchema>): Promise<string>;\n}\nexport {};\n//# sourceMappingURL=fs.d.ts.map"],"mappings":";;;;;;;;;AAGuD;AAIZ,UAAjCK,cAAAA,SAAuBH,UAS/B,CAAA;EALeK,KAAAA,EAHNH,aAGMG;;cADHD,UAAcG,EAAFT,CAAAA,CAAES,SAAAA,CAAAA;EAAS,SAAA,EACtBT,CAAAA,CAAEO,SADoB;AAAA,CAAA,EAAA,OAOhCG,EALOV,CAAAA,CAAEQ,UAKK,EAAA;EAKEG,SAAAA,EAAAA,MAAY;CAGdX,EAAEO;EACHC,SAAAA,EAAAA,MAAAA;CAFNR,CAAAA;KAPPU,cAAAA,GAgBMN,OAhBkBE,UAgBlBF;;;;;AAEcD,cAbJQ,YAAAA,SAAqBV,cAAAA,CAajBE;EAAwCW,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAbvBb,MAAAA,EAE9BD,CAAAA,CAAES,SAF4BR,CAAAA;IAAc,SAAA,EAGrCD,CAAAA,CAAEO,SAHmC;EAkB9CQ,CAAAA,EAAAA,OAAAA,EAdMf,CAAAA,CAAEQ,UAcO,EAAA;IAGXQ,SAAAA,EASZ,MAAA;EAReT,CAAAA,EAAAA;IACLA,SAAAA,EAAAA,MAAAA;EACEC,CAAAA,CAAAA;EAHeC,IAAAA,EAAAA,MAAAA;EAAS,WAAA,EAAA,MAAA;EAUjCQ,KAAAA,EApBMb,aAoBS;EAKCc,WAAAA,CAAAA;IAAAA;EAAa,CAAA,EAxBPb,cAwBO;EAGbE,KAAAA,CAAAA;IAAAA;EAAAA,CAAAA,EA1BIJ,qBA0BJI,CA1B0BG,cA0B1BH,CAAAA,CAAAA,EA1B4CO,OA0B5CP,CAAAA,MAAAA,CAAAA;;;;;UArBXQ,eAAAA,SAAwBb,UAiChBU,CAAAA;EAAkBG,KAAAA,EAhCzBX,aAgCyBW;;cA9BtBC,WA+BSG,EA/BInB,CAAAA,CAAES,SA+BNU,CAAAA;EAA8BF,SAAAA,EA9BtCjB,CAAAA,CAAEO,SA8BoCU;EAAtBd,IAAAA,EA7BrBH,CAAAA,CAAEO,SA6BmBJ;CAAyCW,EAAAA,OAAAA,EA5B5Dd,CAAAA,CAAEQ,UA4B0DM,EAAAA;EAhB7Bb,SAAAA,EAAAA,MAAAA;EAAc,IAAA,EAAA,MAAA;;;;;KALpDgB,eAAAA,UAAyBD;;;;;cAKTE,aAAAA,SAAsBjB,cAAAA;;UAE/BD,CAAAA,CAAES;eACKT,CAAAA,CAAEO;UACPP,CAAAA,CAAEO;cACAP,CAAAA,CAAEQ;;;;;;;;;SASPJ;;;;KACyBW;;;;KACLZ,sBAAsBc,mBAAmBH"}
@@ -1 +1 @@
1
- {"version":3,"file":"fs.d.ts","names":["z","StructuredTool","ToolParams","InferInteropZodOutput","BaseFileStore","ReadFileParams","readSchema","ZodString","ZodTypeAny","ZodObject","ReadToolSchema","ReadFileTool","store","file_path","Promise","WriteFileParams","writeSchema","WriteToolSchema","WriteFileTool","text"],"sources":["../../src/tools/fs.d.ts"],"sourcesContent":["import { z } from \"zod/v3\";\nimport { StructuredTool, ToolParams } from \"@langchain/core/tools\";\nimport { InferInteropZodOutput } from \"@langchain/core/utils/types\";\nimport { BaseFileStore } from \"../stores/file/base.js\";\n/**\n * Interface for parameters required by the ReadFileTool class.\n */\ninterface ReadFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const readSchema: z.ZodObject<{\n file_path: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n}, {\n file_path: string;\n}>;\ntype ReadToolSchema = typeof readSchema;\n/**\n * Class for reading files from the disk. Extends the StructuredTool\n * class.\n */\nexport declare class ReadFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n }, {\n file_path: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store }: ReadFileParams);\n _call({ file_path }: InferInteropZodOutput<ReadToolSchema>): Promise<string>;\n}\n/**\n * Interface for parameters required by the WriteFileTool class.\n */\ninterface WriteFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const writeSchema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n}, {\n file_path: string;\n text: string;\n}>;\ntype WriteToolSchema = typeof writeSchema;\n/**\n * Class for writing data to files on the disk. Extends the StructuredTool\n * class.\n */\nexport declare class WriteFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n }, {\n file_path: string;\n text: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store, ...rest }: WriteFileParams);\n _call({ file_path, text }: InferInteropZodOutput<WriteToolSchema>): Promise<string>;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAGuD;UAI7CK,cAAAA,SAAuBH,UAAT,CAAA;EAAA,KACbE,EAAAA,aAAAA;;AADgC,cAG7BE,UAH6B,EAGjBN,CAAAA,CAAES,SAHe,CAAA;EAG7BH,SAAAA,EACCN,CAAAA,CAAEO,SAKf;CAAA,EAAA,OAAA,EAJUP,CAAAA,CAAEQ,UAIZ,EAAA;EAAA,SALeD,EAAAA,MAAAA;CAAS,EAAA;EACF,SAFIE,EAAAA,MAAAA;AAAS,CAAA,CAAA;AAAA,KAOhCC,cAAAA,GAAc,OAAUJ,UAAAA;AAK7B;;;;AAEYN,cAFSW,YAAAA,SAAqBV,cAAAA,CAE5BQ;EAAS,OASZL,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAa,MACNQ,EAVNZ,CAAAA,CAAES,SAUIG,CAAAA;IAASP,SAAAA,EATRL,CAAAA,CAAEO,SASMF;EAAc,CAAA,EAC7BQ,OAAAA,EATIb,CAAAA,CAAEQ,UASNK,EAAAA;IAAmCH,SAAAA,EAAAA,MAAAA;EAAc,CAAA,EAApCP;IAAwCW,SAAAA,EAAAA,MAAAA;EAAO,CAAA,CAAA;EAbhB,IAAA,EAAA,MAAA;EAkB9CC,WAAAA,EAAAA,MAAe;EAAA,KAAA,EAPdX,aAOc;EAAA,WACdA,CAAAA;IAAAA;EAAAA,CAAAA,EAPgBC,cAOhBD;EAAa,KADUF,CAAAA;IAAAA;EAAAA,CAAAA,EALTC,qBAKSD,CALaQ,cAKbR,CAAAA,CAAAA,EAL+BY,OAK/BZ,CAAAA,MAAAA,CAAAA;AAAU;AAAA;;;UAAlCa,eAAAA,SAAwBb,UAKtBK,CAAAA;EAAS,KACPC,EALHJ,aAKGI;;AAHwB,cAAxBQ,WAAwB,EAAXhB,CAAAA,CAAES,SAAS,CAAA;EAUjCQ,SAAAA,EATUjB,CAAAA,CAAEO,SASG;EAKCW,IAAAA,EAbXlB,CAAAA,CAAEO,SAasB;CAAA,EAAA,OAAA,EAZtBP,CAAAA,CAAEQ,UAYoB,EAAA;EAAA,SAGbD,EAAAA,MAAAA;EAAS,IAChBP,EAAEO,MAAAA;CAAS,EAAA;EACG,SAHdE,EAAAA,MAAAA;EAAS,IAYZL,EAAAA,MAAAA;CAAa,CAAA;KAnBnBa,eAAAA,GAoB+BF,OApBNC,WAoBMD;;;;;AACoCD,cAhBnDI,aAAAA,SAAsBjB,cAAAA,CAgB6Ba;EAAO,OAhBpCb,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAc,MAAA,EAE7CD,CAAAA,CAAES,SAF2C,CAAA;eAGtCT,CAAAA,CAAEO;UACPP,CAAAA,CAAEO;cACAP,CAAAA,CAAEQ;;;;;;;;;SASPJ;;;;KACyBW;;;;KACLZ,sBAAsBc,mBAAmBH"}
1
+ {"version":3,"file":"fs.d.ts","names":["z","StructuredTool","ToolParams","InferInteropZodOutput","BaseFileStore","ReadFileParams","readSchema","ZodString","ZodTypeAny","ZodObject","ReadToolSchema","ReadFileTool","store","file_path","Promise","WriteFileParams","writeSchema","WriteToolSchema","WriteFileTool","text"],"sources":["../../src/tools/fs.d.ts"],"sourcesContent":["import { z } from \"zod/v3\";\nimport { StructuredTool, ToolParams } from \"@langchain/core/tools\";\nimport { InferInteropZodOutput } from \"@langchain/core/utils/types\";\nimport { BaseFileStore } from \"../stores/file/base.js\";\n/**\n * Interface for parameters required by the ReadFileTool class.\n */\ninterface ReadFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const readSchema: z.ZodObject<{\n file_path: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n}, {\n file_path: string;\n}>;\ntype ReadToolSchema = typeof readSchema;\n/**\n * Class for reading files from the disk. Extends the StructuredTool\n * class.\n */\nexport declare class ReadFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n }, {\n file_path: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store }: ReadFileParams);\n _call({ file_path }: InferInteropZodOutput<ReadToolSchema>): Promise<string>;\n}\n/**\n * Interface for parameters required by the WriteFileTool class.\n */\ninterface WriteFileParams extends ToolParams {\n store: BaseFileStore;\n}\ndeclare const writeSchema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n}, {\n file_path: string;\n text: string;\n}>;\ntype WriteToolSchema = typeof writeSchema;\n/**\n * Class for writing data to files on the disk. Extends the StructuredTool\n * class.\n */\nexport declare class WriteFileTool extends StructuredTool {\n static lc_name(): string;\n schema: z.ZodObject<{\n file_path: z.ZodString;\n text: z.ZodString;\n }, \"strip\", z.ZodTypeAny, {\n file_path: string;\n text: string;\n }, {\n file_path: string;\n text: string;\n }>;\n name: string;\n description: string;\n store: BaseFileStore;\n constructor({ store, ...rest }: WriteFileParams);\n _call({ file_path, text }: InferInteropZodOutput<WriteToolSchema>): Promise<string>;\n}\nexport {};\n//# sourceMappingURL=fs.d.ts.map"],"mappings":";;;;;;;;;AAGuD;AAIZ,UAAjCK,cAAAA,SAAuBH,UAS/B,CAAA;EALeK,KAAAA,EAHNH,aAGMG;;cADHD,UAAcG,EAAFT,CAAAA,CAAES,SAAAA,CAAAA;EAAS,SAAA,EACtBT,CAAAA,CAAEO,SADoB;AAAA,CAAA,EAAA,OAOhCG,EALOV,CAAAA,CAAEQ,UAKK,EAAA;EAKEG,SAAAA,EAAAA,MAAY;CAGdX,EAAEO;EACHC,SAAAA,EAAAA,MAAAA;CAFNR,CAAAA;KAPPU,cAAAA,GAgBMN,OAhBkBE,UAgBlBF;;;;;AAEcD,cAbJQ,YAAAA,SAAqBV,cAAAA,CAajBE;EAAwCW,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAbvBb,MAAAA,EAE9BD,CAAAA,CAAES,SAF4BR,CAAAA;IAAc,SAAA,EAGrCD,CAAAA,CAAEO,SAHmC;EAkB9CQ,CAAAA,EAAAA,OAAAA,EAdMf,CAAAA,CAAEQ,UAcO,EAAA;IAGXQ,SAAAA,EASZ,MAAA;EAReT,CAAAA,EAAAA;IACLA,SAAAA,EAAAA,MAAAA;EACEC,CAAAA,CAAAA;EAHeC,IAAAA,EAAAA,MAAAA;EAAS,WAAA,EAAA,MAAA;EAUjCQ,KAAAA,EApBMb,aAoBS;EAKCc,WAAAA,CAAAA;IAAAA;EAAa,CAAA,EAxBPb,cAwBO;EAGbE,KAAAA,CAAAA;IAAAA;EAAAA,CAAAA,EA1BIJ,qBA0BJI,CA1B0BG,cA0B1BH,CAAAA,CAAAA,EA1B4CO,OA0B5CP,CAAAA,MAAAA,CAAAA;;;;;UArBXQ,eAAAA,SAAwBb,UAiChBU,CAAAA;EAAkBG,KAAAA,EAhCzBX,aAgCyBW;;cA9BtBC,WA+BSG,EA/BInB,CAAAA,CAAES,SA+BNU,CAAAA;EAA8BF,SAAAA,EA9BtCjB,CAAAA,CAAEO,SA8BoCU;EAAtBd,IAAAA,EA7BrBH,CAAAA,CAAEO,SA6BmBJ;CAAyCW,EAAAA,OAAAA,EA5B5Dd,CAAAA,CAAEQ,UA4B0DM,EAAAA;EAhB7Bb,SAAAA,EAAAA,MAAAA;EAAc,IAAA,EAAA,MAAA;;;;;KALpDgB,eAAAA,UAAyBD;;;;;cAKTE,aAAAA,SAAsBjB,cAAAA;;UAE/BD,CAAAA,CAAES;eACKT,CAAAA,CAAEO;UACPP,CAAAA,CAAEO;cACAP,CAAAA,CAAEQ;;;;;;;;;SASPJ;;;;KACyBW;;;;KACLZ,sBAAsBc,mBAAmBH"}
@@ -1 +1 @@
1
- {"version":3,"file":"json.d.cts","names":["Serializable","Tool","ToolParams","Json","JsonObject","JsonSpec","JsonToolFields","JsonListKeysTool","Promise","JsonGetValueTool"],"sources":["../../src/tools/json.d.ts"],"sourcesContent":["import { Serializable } from \"@langchain/core/load/serializable\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nexport type Json = string | number | boolean | null | {\n [key: string]: Json;\n} | Json[];\nexport type JsonObject = {\n [key: string]: Json;\n};\n/**\n * Represents a JSON object in the LangChain framework. Provides methods\n * to get keys and values from the JSON object.\n */\nexport declare class JsonSpec extends Serializable {\n lc_namespace: string[];\n obj: JsonObject;\n maxValueLength: number;\n constructor(obj: JsonObject, max_value_length?: number);\n /**\n * Retrieves all keys at a given path in the JSON object.\n * @param input The path to the keys in the JSON object, provided as a string in JSON pointer syntax.\n * @returns A string containing all keys at the given path, separated by commas.\n */\n getKeys(input: string): string;\n /**\n * Retrieves the value at a given path in the JSON object.\n * @param input The path to the value in the JSON object, provided as a string in JSON pointer syntax.\n * @returns The value at the given path in the JSON object, as a string. If the value is a large dictionary or exceeds the maximum length, a message is returned instead.\n */\n getValue(input: string): string;\n}\nexport interface JsonToolFields extends ToolParams {\n jsonSpec: JsonSpec;\n}\n/**\n * A tool in the LangChain framework that lists all keys at a given path\n * in a JSON object.\n */\nexport declare class JsonListKeysTool extends Tool {\n static lc_name(): string;\n name: string;\n jsonSpec: JsonSpec;\n constructor(jsonSpec: JsonSpec);\n constructor(fields: JsonToolFields);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool in the LangChain framework that retrieves the value at a given\n * path in a JSON object.\n */\nexport declare class JsonGetValueTool extends Tool {\n jsonSpec: JsonSpec;\n static lc_name(): string;\n name: string;\n constructor(jsonSpec: JsonSpec);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n"],"mappings":";;;;KAEYG,IAAAA;iBACOA;AADnB,CAAA,GAEIA,IAFQA,EAAAA;AAAI,KAGJC,UAAAA,GAHI;EAAA,CAAA,GACGD,EAAAA,MAAAA,CAAAA,EAGAA,IAHAA;CAAI;AACf;AACR;AAOA;;AAESC,cAFYC,QAAAA,SAAiBL,YAAAA,CAE7BI;EAAU,YAEEA,EAAAA,MAAAA,EAAAA;EAAU,GAJOJ,EAE7BI,UAF6BJ;EAAY,cAAA,EAAA,MAAA;EAkBjCM,WAAAA,CAAAA,GAAAA,EAdIF,UAcU,EAAA,gBAAA,CAAA,EAAA,MAAA;EAAA;;;AAAmB;AAOlD;EAAqC,OAAA,CAAA,KAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAA;;;;;EAAa,QAAA,CAAA,KAAA,EAAA,MAAA,CAAA,EAAA,MAAA;AAclD;AAAqC,UArBpBE,cAAAA,SAAuBJ,UAqBH,CAAA;EAAA,QACvBG,EArBAA,QAqBAA;;;;AADoC;;cAd7BE,gBAAAA,SAAyBN,IAAAA;;;YAGhCI;wBACYA;sBACFC;;wBAEEE;;;;;;;cAOLC,gBAAAA,SAAyBR,IAAAA;YAChCI;;;wBAGYA;;wBAEAG"}
1
+ {"version":3,"file":"json.d.cts","names":["Serializable","Tool","ToolParams","Json","JsonObject","JsonSpec","JsonToolFields","JsonListKeysTool","Promise","JsonGetValueTool"],"sources":["../../src/tools/json.d.ts"],"sourcesContent":["import { Serializable } from \"@langchain/core/load/serializable\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nexport type Json = string | number | boolean | null | {\n [key: string]: Json;\n} | Json[];\nexport type JsonObject = {\n [key: string]: Json;\n};\n/**\n * Represents a JSON object in the LangChain framework. Provides methods\n * to get keys and values from the JSON object.\n */\nexport declare class JsonSpec extends Serializable {\n lc_namespace: string[];\n obj: JsonObject;\n maxValueLength: number;\n constructor(obj: JsonObject, max_value_length?: number);\n /**\n * Retrieves all keys at a given path in the JSON object.\n * @param input The path to the keys in the JSON object, provided as a string in JSON pointer syntax.\n * @returns A string containing all keys at the given path, separated by commas.\n */\n getKeys(input: string): string;\n /**\n * Retrieves the value at a given path in the JSON object.\n * @param input The path to the value in the JSON object, provided as a string in JSON pointer syntax.\n * @returns The value at the given path in the JSON object, as a string. If the value is a large dictionary or exceeds the maximum length, a message is returned instead.\n */\n getValue(input: string): string;\n}\nexport interface JsonToolFields extends ToolParams {\n jsonSpec: JsonSpec;\n}\n/**\n * A tool in the LangChain framework that lists all keys at a given path\n * in a JSON object.\n */\nexport declare class JsonListKeysTool extends Tool {\n static lc_name(): string;\n name: string;\n jsonSpec: JsonSpec;\n constructor(jsonSpec: JsonSpec);\n constructor(fields: JsonToolFields);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool in the LangChain framework that retrieves the value at a given\n * path in a JSON object.\n */\nexport declare class JsonGetValueTool extends Tool {\n jsonSpec: JsonSpec;\n static lc_name(): string;\n name: string;\n constructor(jsonSpec: JsonSpec);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n//# sourceMappingURL=json.d.ts.map"],"mappings":";;;;KAEYG,IAAAA;iBACOA;AADnB,CAAA,GAEIA,IAFQA,EAAAA;AAGAC,KAAAA,UAAAA,GAAU;EAODC,CAAAA,GAAAA,EAAAA,MAAQ,CAAA,EANVF,IAMU;CAEpBC;;;AAFyC;AAkBlD;AAOqBG,cAzBAF,QAAAA,SAAiBL,YAAAA,CAyBD;EAGvBK,YAAAA,EAAAA,MAAAA,EAAAA;EACYA,GAAAA,EA3BjBD,UA2BiBC;EACFC,cAAAA,EAAAA,MAAAA;EAEEE,WAAAA,CAAAA,GAAAA,EA5BLJ,UA4BKI,EAAAA,gBAAAA,CAAAA,EAAAA,MAAAA;EAPoBP;AAAI;AAclD;;;EAM0BO,OAAAA,CAAAA,KAAAA,EAAAA,MAAAA,CAAAA,EAAAA,MAAAA;EANoBP;AAAI;;;;;;UArBjCK,cAAAA,SAAuBJ;YAC1BG;;;;;;cAMOE,gBAAAA,SAAyBN,IAAAA;;;YAGhCI;wBACYA;sBACFC;;wBAEEE;;;;;;;cAOLC,gBAAAA,SAAyBR,IAAAA;YAChCI;;;wBAGYA;;wBAEAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"json.d.ts","names":["Serializable","Tool","ToolParams","Json","JsonObject","JsonSpec","JsonToolFields","JsonListKeysTool","Promise","JsonGetValueTool"],"sources":["../../src/tools/json.d.ts"],"sourcesContent":["import { Serializable } from \"@langchain/core/load/serializable\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nexport type Json = string | number | boolean | null | {\n [key: string]: Json;\n} | Json[];\nexport type JsonObject = {\n [key: string]: Json;\n};\n/**\n * Represents a JSON object in the LangChain framework. Provides methods\n * to get keys and values from the JSON object.\n */\nexport declare class JsonSpec extends Serializable {\n lc_namespace: string[];\n obj: JsonObject;\n maxValueLength: number;\n constructor(obj: JsonObject, max_value_length?: number);\n /**\n * Retrieves all keys at a given path in the JSON object.\n * @param input The path to the keys in the JSON object, provided as a string in JSON pointer syntax.\n * @returns A string containing all keys at the given path, separated by commas.\n */\n getKeys(input: string): string;\n /**\n * Retrieves the value at a given path in the JSON object.\n * @param input The path to the value in the JSON object, provided as a string in JSON pointer syntax.\n * @returns The value at the given path in the JSON object, as a string. If the value is a large dictionary or exceeds the maximum length, a message is returned instead.\n */\n getValue(input: string): string;\n}\nexport interface JsonToolFields extends ToolParams {\n jsonSpec: JsonSpec;\n}\n/**\n * A tool in the LangChain framework that lists all keys at a given path\n * in a JSON object.\n */\nexport declare class JsonListKeysTool extends Tool {\n static lc_name(): string;\n name: string;\n jsonSpec: JsonSpec;\n constructor(jsonSpec: JsonSpec);\n constructor(fields: JsonToolFields);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool in the LangChain framework that retrieves the value at a given\n * path in a JSON object.\n */\nexport declare class JsonGetValueTool extends Tool {\n jsonSpec: JsonSpec;\n static lc_name(): string;\n name: string;\n constructor(jsonSpec: JsonSpec);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n"],"mappings":";;;;KAEYG,IAAAA;iBACOA;AADnB,CAAA,GAEIA,IAFQA,EAAAA;AAAI,KAGJC,UAAAA,GAHI;EAAA,CAAA,GACGD,EAAAA,MAAAA,CAAAA,EAGAA,IAHAA;CAAI;AACf;AACR;AAOA;;AAESC,cAFYC,QAAAA,SAAiBL,YAAAA,CAE7BI;EAAU,YAEEA,EAAAA,MAAAA,EAAAA;EAAU,GAJOJ,EAE7BI,UAF6BJ;EAAY,cAAA,EAAA,MAAA;EAkBjCM,WAAAA,CAAAA,GAAAA,EAdIF,UAcU,EAAA,gBAAA,CAAA,EAAA,MAAA;EAAA;;;AAAmB;AAOlD;EAAqC,OAAA,CAAA,KAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAA;;;;;EAAa,QAAA,CAAA,KAAA,EAAA,MAAA,CAAA,EAAA,MAAA;AAclD;AAAqC,UArBpBE,cAAAA,SAAuBJ,UAqBH,CAAA;EAAA,QACvBG,EArBAA,QAqBAA;;;;AADoC;;cAd7BE,gBAAAA,SAAyBN,IAAAA;;;YAGhCI;wBACYA;sBACFC;;wBAEEE;;;;;;;cAOLC,gBAAAA,SAAyBR,IAAAA;YAChCI;;;wBAGYA;;wBAEAG"}
1
+ {"version":3,"file":"json.d.ts","names":["Serializable","Tool","ToolParams","Json","JsonObject","JsonSpec","JsonToolFields","JsonListKeysTool","Promise","JsonGetValueTool"],"sources":["../../src/tools/json.d.ts"],"sourcesContent":["import { Serializable } from \"@langchain/core/load/serializable\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nexport type Json = string | number | boolean | null | {\n [key: string]: Json;\n} | Json[];\nexport type JsonObject = {\n [key: string]: Json;\n};\n/**\n * Represents a JSON object in the LangChain framework. Provides methods\n * to get keys and values from the JSON object.\n */\nexport declare class JsonSpec extends Serializable {\n lc_namespace: string[];\n obj: JsonObject;\n maxValueLength: number;\n constructor(obj: JsonObject, max_value_length?: number);\n /**\n * Retrieves all keys at a given path in the JSON object.\n * @param input The path to the keys in the JSON object, provided as a string in JSON pointer syntax.\n * @returns A string containing all keys at the given path, separated by commas.\n */\n getKeys(input: string): string;\n /**\n * Retrieves the value at a given path in the JSON object.\n * @param input The path to the value in the JSON object, provided as a string in JSON pointer syntax.\n * @returns The value at the given path in the JSON object, as a string. If the value is a large dictionary or exceeds the maximum length, a message is returned instead.\n */\n getValue(input: string): string;\n}\nexport interface JsonToolFields extends ToolParams {\n jsonSpec: JsonSpec;\n}\n/**\n * A tool in the LangChain framework that lists all keys at a given path\n * in a JSON object.\n */\nexport declare class JsonListKeysTool extends Tool {\n static lc_name(): string;\n name: string;\n jsonSpec: JsonSpec;\n constructor(jsonSpec: JsonSpec);\n constructor(fields: JsonToolFields);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool in the LangChain framework that retrieves the value at a given\n * path in a JSON object.\n */\nexport declare class JsonGetValueTool extends Tool {\n jsonSpec: JsonSpec;\n static lc_name(): string;\n name: string;\n constructor(jsonSpec: JsonSpec);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n//# sourceMappingURL=json.d.ts.map"],"mappings":";;;;KAEYG,IAAAA;iBACOA;AADnB,CAAA,GAEIA,IAFQA,EAAAA;AAGAC,KAAAA,UAAAA,GAAU;EAODC,CAAAA,GAAAA,EAAAA,MAAQ,CAAA,EANVF,IAMU;CAEpBC;;;AAFyC;AAkBlD;AAOqBG,cAzBAF,QAAAA,SAAiBL,YAAAA,CAyBD;EAGvBK,YAAAA,EAAAA,MAAAA,EAAAA;EACYA,GAAAA,EA3BjBD,UA2BiBC;EACFC,cAAAA,EAAAA,MAAAA;EAEEE,WAAAA,CAAAA,GAAAA,EA5BLJ,UA4BKI,EAAAA,gBAAAA,CAAAA,EAAAA,MAAAA;EAPoBP;AAAI;AAclD;;;EAM0BO,OAAAA,CAAAA,KAAAA,EAAAA,MAAAA,CAAAA,EAAAA,MAAAA;EANoBP;AAAI;;;;;;UArBjCK,cAAAA,SAAuBJ;YAC1BG;;;;;;cAMOE,gBAAAA,SAAyBN,IAAAA;;;YAGhCI;wBACYA;sBACFC;;wBAEEE;;;;;;;cAOLC,gBAAAA,SAAyBR,IAAAA;YAChCI;;;wBAGYA;;wBAEAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"render.d.cts","names":["StructuredToolInterface","ToolDefinition","renderTextDescription","renderTextDescriptionAndArgs"],"sources":["../../src/tools/render.d.ts"],"sourcesContent":["import { StructuredToolInterface } from \"@langchain/core/tools\";\nimport { ToolDefinition } from \"@langchain/core/language_models/base\";\n/**\n * Render the tool name and description in plain text.\n *\n * Output will be in the format of:\n * ```\n * search: This tool is used for search\n * calculator: This tool is used for math\n * ```\n * @param tools\n * @returns a string of all tools and their descriptions\n */\nexport declare function renderTextDescription(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n/**\n * Render the tool name, description, and args in plain text.\n * Output will be in the format of:'\n * ```\n * search: This tool is used for search, args: {\"query\": {\"type\": \"string\"}}\n * calculator: This tool is used for math,\n * args: {\"expression\": {\"type\": \"string\"}}\n * ```\n * @param tools\n * @returns a string of all tools, their descriptions and a stringified version of their schemas\n */\nexport declare function renderTextDescriptionAndArgs(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n"],"mappings":";;;;;;;AAaA;;;;AAA+F;AAY/F;;;;AAAsG,iBAZ9EE,qBAAAA,CAY8E,KAAA,EAZjDF,uBAYiD,EAAA,GAZrBC,cAYqB,EAAA,CAAA,EAAA,MAAA;;;;;;;;;;;;iBAA9EE,4BAAAA,QAAoCH,4BAA4BC"}
1
+ {"version":3,"file":"render.d.cts","names":["StructuredToolInterface","ToolDefinition","renderTextDescription","renderTextDescriptionAndArgs"],"sources":["../../src/tools/render.d.ts"],"sourcesContent":["import { StructuredToolInterface } from \"@langchain/core/tools\";\nimport { ToolDefinition } from \"@langchain/core/language_models/base\";\n/**\n * Render the tool name and description in plain text.\n *\n * Output will be in the format of:\n * ```\n * search: This tool is used for search\n * calculator: This tool is used for math\n * ```\n * @param tools\n * @returns a string of all tools and their descriptions\n */\nexport declare function renderTextDescription(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n/**\n * Render the tool name, description, and args in plain text.\n * Output will be in the format of:'\n * ```\n * search: This tool is used for search, args: {\"query\": {\"type\": \"string\"}}\n * calculator: This tool is used for math,\n * args: {\"expression\": {\"type\": \"string\"}}\n * ```\n * @param tools\n * @returns a string of all tools, their descriptions and a stringified version of their schemas\n */\nexport declare function renderTextDescriptionAndArgs(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n//# sourceMappingURL=render.d.ts.map"],"mappings":";;;;;;;AAaA;AAYA;;;;;;;;iBAZwBE,qBAAAA,QAA6BF,4BAA4BC;;;;;;;;;;;;iBAYzDE,4BAAAA,QAAoCH,4BAA4BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"render.d.ts","names":["StructuredToolInterface","ToolDefinition","renderTextDescription","renderTextDescriptionAndArgs"],"sources":["../../src/tools/render.d.ts"],"sourcesContent":["import { StructuredToolInterface } from \"@langchain/core/tools\";\nimport { ToolDefinition } from \"@langchain/core/language_models/base\";\n/**\n * Render the tool name and description in plain text.\n *\n * Output will be in the format of:\n * ```\n * search: This tool is used for search\n * calculator: This tool is used for math\n * ```\n * @param tools\n * @returns a string of all tools and their descriptions\n */\nexport declare function renderTextDescription(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n/**\n * Render the tool name, description, and args in plain text.\n * Output will be in the format of:'\n * ```\n * search: This tool is used for search, args: {\"query\": {\"type\": \"string\"}}\n * calculator: This tool is used for math,\n * args: {\"expression\": {\"type\": \"string\"}}\n * ```\n * @param tools\n * @returns a string of all tools, their descriptions and a stringified version of their schemas\n */\nexport declare function renderTextDescriptionAndArgs(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n"],"mappings":";;;;;;;AAaA;;;;AAA+F;AAY/F;;;;AAAsG,iBAZ9EE,qBAAAA,CAY8E,KAAA,EAZjDF,uBAYiD,EAAA,GAZrBC,cAYqB,EAAA,CAAA,EAAA,MAAA;;;;;;;;;;;;iBAA9EE,4BAAAA,QAAoCH,4BAA4BC"}
1
+ {"version":3,"file":"render.d.ts","names":["StructuredToolInterface","ToolDefinition","renderTextDescription","renderTextDescriptionAndArgs"],"sources":["../../src/tools/render.d.ts"],"sourcesContent":["import { StructuredToolInterface } from \"@langchain/core/tools\";\nimport { ToolDefinition } from \"@langchain/core/language_models/base\";\n/**\n * Render the tool name and description in plain text.\n *\n * Output will be in the format of:\n * ```\n * search: This tool is used for search\n * calculator: This tool is used for math\n * ```\n * @param tools\n * @returns a string of all tools and their descriptions\n */\nexport declare function renderTextDescription(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n/**\n * Render the tool name, description, and args in plain text.\n * Output will be in the format of:'\n * ```\n * search: This tool is used for search, args: {\"query\": {\"type\": \"string\"}}\n * calculator: This tool is used for math,\n * args: {\"expression\": {\"type\": \"string\"}}\n * ```\n * @param tools\n * @returns a string of all tools, their descriptions and a stringified version of their schemas\n */\nexport declare function renderTextDescriptionAndArgs(tools: StructuredToolInterface[] | ToolDefinition[]): string;\n//# sourceMappingURL=render.d.ts.map"],"mappings":";;;;;;;AAaA;AAYA;;;;;;;;iBAZwBE,qBAAAA,QAA6BF,4BAA4BC;;;;;;;;;;;;iBAYzDE,4BAAAA,QAAoCH,4BAA4BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"requests.d.cts","names":["Tool","Headers","RequestTool","RequestsGetTool","maxOutputLength","Promise","RequestsPostTool"],"sources":["../../src/tools/requests.d.ts"],"sourcesContent":["import { Tool } from \"@langchain/core/tools\";\nexport interface Headers {\n [key: string]: string;\n}\n/**\n * Interface for HTTP request tools. Contains properties for headers and\n * maximum output length.\n */\nexport interface RequestTool {\n headers: Headers;\n maxOutputLength: number;\n}\n/**\n * Class for making GET requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a URL string, and the\n * output will be the text response of the GET request.\n */\nexport declare class RequestsGetTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * Class for making POST requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a JSON string with two\n * keys: 'url' and 'data'. The output will be the text response of the\n * POST request.\n */\nexport declare class RequestsPostTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n"],"mappings":";;;UACiBC,OAAAA;;AAAjB;AAOA;AASA;;;AAK0BA,UAdTC,WAAAA,CAcSD;EAAO,OAAIG,EAbxBH,OAawBG;EAAe,eAI1BC,EAAAA,MAAAA;;;AAT8C;AAkBxE;;;AAK0BJ,cAvBLE,eAAAA,SAAwBH,IAAAA,YAAgBE,WAuBnCD,CAAAA;EAAO,OAAIG,EAtBxBH,OAsBwBG;EAAe,OAI1BC,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAO,IATaL,EAAAA,MAAAA;EAAI,eAAYE,EAAAA,MAAAA;EAAW,WAAA,CAAA,OAAA,CAAA,EAb/CD,OAa+C,EAAA;IAAA;IAAA,EAAA;;;;wBAT/CI;;;;;;;;;cASLC,gBAAAA,SAAyBN,IAAAA,YAAgBE;WACjDD;;;;wBAIaA;;;;;;wBAIAI"}
1
+ {"version":3,"file":"requests.d.cts","names":["Tool","Headers","RequestTool","RequestsGetTool","maxOutputLength","Promise","RequestsPostTool"],"sources":["../../src/tools/requests.d.ts"],"sourcesContent":["import { Tool } from \"@langchain/core/tools\";\nexport interface Headers {\n [key: string]: string;\n}\n/**\n * Interface for HTTP request tools. Contains properties for headers and\n * maximum output length.\n */\nexport interface RequestTool {\n headers: Headers;\n maxOutputLength: number;\n}\n/**\n * Class for making GET requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a URL string, and the\n * output will be the text response of the GET request.\n */\nexport declare class RequestsGetTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * Class for making POST requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a JSON string with two\n * keys: 'url' and 'data'. The output will be the text response of the\n * POST request.\n */\nexport declare class RequestsPostTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n//# sourceMappingURL=requests.d.ts.map"],"mappings":";;;UACiBC,OAAAA;;AAAjB;AAOA;AASA;;;AAKqCG,UAdpBF,WAAAA,CAcoBE;EAIXC,OAAAA,EAjBbJ,OAiBaI;EATmBL,eAAAA,EAAAA,MAAAA;;AAA2B;AAkBxE;;;;AAS0BK,cA3BLF,eAAAA,SAAwBH,IAAAA,YAAgBE,WA2BnCG,CAAAA;EAToBL,OAAAA,EAjBjCC,OAiBiCD;EAAgBE,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAW,IAAA,EAAA,MAAA;;wBAb/CD;;;;;;wBAIAI;;;;;;;;;cASLC,gBAAAA,SAAyBN,IAAAA,YAAgBE;WACjDD;;;;wBAIaA;;;;;;wBAIAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"requests.d.ts","names":["Tool","Headers","RequestTool","RequestsGetTool","maxOutputLength","Promise","RequestsPostTool"],"sources":["../../src/tools/requests.d.ts"],"sourcesContent":["import { Tool } from \"@langchain/core/tools\";\nexport interface Headers {\n [key: string]: string;\n}\n/**\n * Interface for HTTP request tools. Contains properties for headers and\n * maximum output length.\n */\nexport interface RequestTool {\n headers: Headers;\n maxOutputLength: number;\n}\n/**\n * Class for making GET requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a URL string, and the\n * output will be the text response of the GET request.\n */\nexport declare class RequestsGetTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * Class for making POST requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a JSON string with two\n * keys: 'url' and 'data'. The output will be the text response of the\n * POST request.\n */\nexport declare class RequestsPostTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n"],"mappings":";;;UACiBC,OAAAA;;AAAjB;AAOA;AASA;;;AAK0BA,UAdTC,WAAAA,CAcSD;EAAO,OAAIG,EAbxBH,OAawBG;EAAe,eAI1BC,EAAAA,MAAAA;;;AAT8C;AAkBxE;;;AAK0BJ,cAvBLE,eAAAA,SAAwBH,IAAAA,YAAgBE,WAuBnCD,CAAAA;EAAO,OAAIG,EAtBxBH,OAsBwBG;EAAe,OAI1BC,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAO,IATaL,EAAAA,MAAAA;EAAI,eAAYE,EAAAA,MAAAA;EAAW,WAAA,CAAA,OAAA,CAAA,EAb/CD,OAa+C,EAAA;IAAA;IAAA,EAAA;;;;wBAT/CI;;;;;;;;;cASLC,gBAAAA,SAAyBN,IAAAA,YAAgBE;WACjDD;;;;wBAIaA;;;;;;wBAIAI"}
1
+ {"version":3,"file":"requests.d.ts","names":["Tool","Headers","RequestTool","RequestsGetTool","maxOutputLength","Promise","RequestsPostTool"],"sources":["../../src/tools/requests.d.ts"],"sourcesContent":["import { Tool } from \"@langchain/core/tools\";\nexport interface Headers {\n [key: string]: string;\n}\n/**\n * Interface for HTTP request tools. Contains properties for headers and\n * maximum output length.\n */\nexport interface RequestTool {\n headers: Headers;\n maxOutputLength: number;\n}\n/**\n * Class for making GET requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a URL string, and the\n * output will be the text response of the GET request.\n */\nexport declare class RequestsGetTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * Class for making POST requests. Extends the Tool class and implements\n * the RequestTool interface. The input should be a JSON string with two\n * keys: 'url' and 'data'. The output will be the text response of the\n * POST request.\n */\nexport declare class RequestsPostTool extends Tool implements RequestTool {\n headers: Headers;\n static lc_name(): string;\n name: string;\n maxOutputLength: number;\n constructor(headers?: Headers, { maxOutputLength }?: {\n maxOutputLength?: number;\n });\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n//# sourceMappingURL=requests.d.ts.map"],"mappings":";;;UACiBC,OAAAA;;AAAjB;AAOA;AASA;;;AAKqCG,UAdpBF,WAAAA,CAcoBE;EAIXC,OAAAA,EAjBbJ,OAiBaI;EATmBL,eAAAA,EAAAA,MAAAA;;AAA2B;AAkBxE;;;;AAS0BK,cA3BLF,eAAAA,SAAwBH,IAAAA,YAAgBE,WA2BnCG,CAAAA;EAToBL,OAAAA,EAjBjCC,OAiBiCD;EAAgBE,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAW,IAAA,EAAA,MAAA;;wBAb/CD;;;;;;wBAIAI;;;;;;;;;cASLC,gBAAAA,SAAyBN,IAAAA,YAAgBE;WACjDD;;;;wBAIaA;;;;;;wBAIAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"retriever.d.cts","names":["BaseRetrieverInterface","z","DynamicStructuredTool","DynamicStructuredToolInput","createRetrieverTool","Omit","ZodString","ZodTypeAny","ZodObject"],"sources":["../../src/tools/retriever.d.ts"],"sourcesContent":["import type { BaseRetrieverInterface } from \"@langchain/core/retrievers\";\nimport { z } from \"zod/v3\";\nimport { DynamicStructuredTool, type DynamicStructuredToolInput } from \"@langchain/core/tools\";\nexport declare function createRetrieverTool(retriever: BaseRetrieverInterface, input: Omit<DynamicStructuredToolInput, \"func\" | \"schema\">): DynamicStructuredTool<z.ZodObject<{\n query: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n query: string;\n}, {\n query: string;\n}>, {\n query: string;\n}, {\n query: string;\n}, string>;\n"],"mappings":";;;;;iBAGwBI,mBAAAA,YAA+BJ,+BAA+BK,KAAKF,iDAAiDD,sBAAsBD,CAAAA,CAAEO;SACzJP,CAAAA,CAAEK;AADb,CAAA,EAAA,OAAwBF,EAEZH,CAAAA,CAAEM,UAFUH,EAAmB;EAAA,KAAA,EAAA,MAAA;CAAA,EAAA;EAAkC,KAAcD,EAAAA,MAAAA;CAA0B,CAAA,EAAA;EAA3B,KAC7EG,EAAAA,MAAAA;CAAS,EAAA;EACE,KAF4IE,EAAAA,MAAAA;CAAS,EAAA,MAAjCN,CAAAA"}
1
+ {"version":3,"file":"retriever.d.cts","names":["BaseRetrieverInterface","z","DynamicStructuredTool","DynamicStructuredToolInput","createRetrieverTool","Omit","ZodString","ZodTypeAny","ZodObject"],"sources":["../../src/tools/retriever.d.ts"],"sourcesContent":["import type { BaseRetrieverInterface } from \"@langchain/core/retrievers\";\nimport { z } from \"zod/v3\";\nimport { DynamicStructuredTool, type DynamicStructuredToolInput } from \"@langchain/core/tools\";\nexport declare function createRetrieverTool(retriever: BaseRetrieverInterface, input: Omit<DynamicStructuredToolInput, \"func\" | \"schema\">): DynamicStructuredTool<z.ZodObject<{\n query: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n query: string;\n}, {\n query: string;\n}>, {\n query: string;\n}, {\n query: string;\n}, string>;\n//# sourceMappingURL=retriever.d.ts.map"],"mappings":";;;;;iBAGwBI,mBAAAA,YAA+BJ,+BAA+BK,KAAKF,iDAAiDD,sBAAsBD,CAAAA,CAAEO;SACzJP,CAAAA,CAAEK;AADb,CAAA,EAAA,OAAwBF,EAEZH,CAAAA,CAAEM,UAFUH,EAAmB;EAAYJ,KAAAA,EAAAA,MAAAA;CAAoCG,EAAAA;EAALE,KAAAA,EAAAA,MAAAA;CAC3EJ,CAAAA,EAAEK;EACCC,KAAAA,EAAAA,MAAAA;CAFoJN,EAAEO;EAAxBN,KAAAA,EAAAA,MAAAA;AAAqB,CAAA,EAAA,MAAA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"retriever.d.ts","names":["BaseRetrieverInterface","z","DynamicStructuredTool","DynamicStructuredToolInput","createRetrieverTool","Omit","ZodString","ZodTypeAny","ZodObject"],"sources":["../../src/tools/retriever.d.ts"],"sourcesContent":["import type { BaseRetrieverInterface } from \"@langchain/core/retrievers\";\nimport { z } from \"zod/v3\";\nimport { DynamicStructuredTool, type DynamicStructuredToolInput } from \"@langchain/core/tools\";\nexport declare function createRetrieverTool(retriever: BaseRetrieverInterface, input: Omit<DynamicStructuredToolInput, \"func\" | \"schema\">): DynamicStructuredTool<z.ZodObject<{\n query: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n query: string;\n}, {\n query: string;\n}>, {\n query: string;\n}, {\n query: string;\n}, string>;\n"],"mappings":";;;;;iBAGwBI,mBAAAA,YAA+BJ,+BAA+BK,KAAKF,iDAAiDD,sBAAsBD,CAAAA,CAAEO;SACzJP,CAAAA,CAAEK;AADb,CAAA,EAAA,OAAwBF,EAEZH,CAAAA,CAAEM,UAFUH,EAAmB;EAAA,KAAA,EAAA,MAAA;CAAA,EAAA;EAAkC,KAAcD,EAAAA,MAAAA;CAA0B,CAAA,EAAA;EAA3B,KAC7EG,EAAAA,MAAAA;CAAS,EAAA;EACE,KAF4IE,EAAAA,MAAAA;CAAS,EAAA,MAAjCN,CAAAA"}
1
+ {"version":3,"file":"retriever.d.ts","names":["BaseRetrieverInterface","z","DynamicStructuredTool","DynamicStructuredToolInput","createRetrieverTool","Omit","ZodString","ZodTypeAny","ZodObject"],"sources":["../../src/tools/retriever.d.ts"],"sourcesContent":["import type { BaseRetrieverInterface } from \"@langchain/core/retrievers\";\nimport { z } from \"zod/v3\";\nimport { DynamicStructuredTool, type DynamicStructuredToolInput } from \"@langchain/core/tools\";\nexport declare function createRetrieverTool(retriever: BaseRetrieverInterface, input: Omit<DynamicStructuredToolInput, \"func\" | \"schema\">): DynamicStructuredTool<z.ZodObject<{\n query: z.ZodString;\n}, \"strip\", z.ZodTypeAny, {\n query: string;\n}, {\n query: string;\n}>, {\n query: string;\n}, {\n query: string;\n}, string>;\n//# sourceMappingURL=retriever.d.ts.map"],"mappings":";;;;;iBAGwBI,mBAAAA,YAA+BJ,+BAA+BK,KAAKF,iDAAiDD,sBAAsBD,CAAAA,CAAEO;SACzJP,CAAAA,CAAEK;AADb,CAAA,EAAA,OAAwBF,EAEZH,CAAAA,CAAEM,UAFUH,EAAmB;EAAYJ,KAAAA,EAAAA,MAAAA;CAAoCG,EAAAA;EAALE,KAAAA,EAAAA,MAAAA;CAC3EJ,CAAAA,EAAEK;EACCC,KAAAA,EAAAA,MAAAA;CAFoJN,EAAEO;EAAxBN,KAAAA,EAAAA,MAAAA;AAAqB,CAAA,EAAA,MAAA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql.d.cts","names":["BaseLanguageModelInterface","Tool","LLMChain","SqlDatabase","SqlTool","QuerySqlTool","Promise","InfoSqlTool","ListTablesSqlTool","QueryCheckerToolArgs","QueryCheckerTool"],"sources":["../../src/tools/sql.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { LLMChain } from \"../chains/llm_chain.js\";\nimport type { SqlDatabase } from \"../sql_db.js\";\n/**\n * Interface for SQL tools. It has a `db` property which is a SQL\n * database.\n */\ninterface SqlTool {\n db: SqlDatabase;\n}\n/**\n * A tool for executing SQL queries. It takes a SQL database as a\n * parameter and assigns it to the `db` property. The `_call` method is\n * used to run the SQL query and return the result. If the query is\n * incorrect, an error message is returned.\n */\nexport declare class QuerySqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for retrieving information about SQL tables. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to retrieve the schema and sample rows for the\n * specified tables. If the tables do not exist, an error message is\n * returned.\n */\nexport declare class InfoSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for listing all tables in a SQL database. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to return a comma-separated list of all tables\n * in the database.\n */\nexport declare class ListTablesSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n _call(_: string): Promise<string>;\n description: string;\n}\n/**\n * Arguments for the QueryCheckerTool class.\n */\ntype QueryCheckerToolArgs = {\n llmChain?: LLMChain;\n llm: BaseLanguageModelInterface;\n _chainType?: never;\n};\n/**\n * A tool for checking SQL queries for common mistakes. It takes a\n * LLMChain or QueryCheckerToolArgs as a parameter. The `_call` method is\n * used to check the input query for common mistakes and returns a\n * prediction.\n */\nexport declare class QueryCheckerTool extends Tool {\n static lc_name(): string;\n name: string;\n template: string;\n llmChain: LLMChain;\n constructor(llmChainOrOptions?: LLMChain | QueryCheckerToolArgs);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAGgD;AAchD;UATUI,OAAAA,CASuB;EAAA,EAAA,EARzBD,WAWAA;;;;;AAHyD;AAgBjE;;AAGQA,cAnBaE,YAAAA,SAAqBJ,IAAAA,YAAgBG,OAmBlDD,CAAAA;EAAW,OACCA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAW,IAELG,EAAAA,MAAAA;EAAO,EAAA,EAnBzBH,WAaiCF;EAAI,WAAYG,CAAAA,EAAAA,EAZrCD,WAYqCC;EAAO;EAe3CI,KAAAA,CAAAA,KAAAA,EAAAA,MAAAA,CAAiB,EAzBZF,OAyBY,CAAA,MAAA,CAAA;EAAA,WAAA,EAAA,MAAA;;;;;;AAAgC;AAOrE;;AAKcJ,cA3BMK,WAAAA,SAAoBN,IAAAA,YAAgBG,OA2B1CF,CAAAA;EAAQ,OACdF,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA0B,IAAA,EAAA,MAAA;EASdU,EAAAA,EAlCbP,WAkCaO;EAAgB,WAAA,CAAA,EAAA,EAjCjBP,WAiCiB;EAAA;EAIf,KACcD,CAAAA,KAAAA,EAAAA,MAAAA,CAAAA,EApCVI,OAoCUJ,CAAAA,MAAAA,CAAAA;EAAQ,WAAGO,EAAAA,MAAAA;;;AALG;;;;;cAtB7BD,iBAAAA,SAA0BP,IAAAA,YAAgBG;;;MAGvDD;kBACYA;oBACEG;;;;;;KAMjBG,oBAAAA;aACUP;OACNF;;;;;;;;;cASYU,gBAAAA,SAAyBT,IAAAA;;;;YAIhCC;kCACsBA,WAAWO;;wBAErBH"}
1
+ {"version":3,"file":"sql.d.cts","names":["BaseLanguageModelInterface","Tool","LLMChain","SqlDatabase","SqlTool","QuerySqlTool","Promise","InfoSqlTool","ListTablesSqlTool","QueryCheckerToolArgs","QueryCheckerTool"],"sources":["../../src/tools/sql.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { LLMChain } from \"../chains/llm_chain.js\";\nimport type { SqlDatabase } from \"../sql_db.js\";\n/**\n * Interface for SQL tools. It has a `db` property which is a SQL\n * database.\n */\ninterface SqlTool {\n db: SqlDatabase;\n}\n/**\n * A tool for executing SQL queries. It takes a SQL database as a\n * parameter and assigns it to the `db` property. The `_call` method is\n * used to run the SQL query and return the result. If the query is\n * incorrect, an error message is returned.\n */\nexport declare class QuerySqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for retrieving information about SQL tables. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to retrieve the schema and sample rows for the\n * specified tables. If the tables do not exist, an error message is\n * returned.\n */\nexport declare class InfoSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for listing all tables in a SQL database. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to return a comma-separated list of all tables\n * in the database.\n */\nexport declare class ListTablesSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n _call(_: string): Promise<string>;\n description: string;\n}\n/**\n * Arguments for the QueryCheckerTool class.\n */\ntype QueryCheckerToolArgs = {\n llmChain?: LLMChain;\n llm: BaseLanguageModelInterface;\n _chainType?: never;\n};\n/**\n * A tool for checking SQL queries for common mistakes. It takes a\n * LLMChain or QueryCheckerToolArgs as a parameter. The `_call` method is\n * used to check the input query for common mistakes and returns a\n * prediction.\n */\nexport declare class QueryCheckerTool extends Tool {\n static lc_name(): string;\n name: string;\n template: string;\n llmChain: LLMChain;\n constructor(llmChainOrOptions?: LLMChain | QueryCheckerToolArgs);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\nexport {};\n//# sourceMappingURL=sql.d.ts.map"],"mappings":";;;;;;;;;AAGgD;AAchD;UATUI,OAAAA,CAYFD;EACYA,EAAAA,EAZZA,WAYYA;;;;AAJ6C;AAgBjE;;;AAM0BG,cAtBLD,YAAAA,SAAqBJ,IAAAA,YAAgBG,OAsBhCE,CAAAA;EANeL,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAgBG,IAAAA,EAAAA,MAAAA;EAAO,EAAA,EAbxDD,WAawD;EAe3CK,WAAAA,CAAAA,EAAAA,EA3BDL,WA2BkB;EAG9BA;EACYA,KAAAA,CAAAA,KAAAA,EAAAA,MAAAA,CAAAA,EA7BMG,OA6BNH,CAAAA,MAAAA,CAAAA;EACEG,WAAAA,EAAAA,MAAAA;;;AALgD;AAOrE;AAeD;;;;AAO0BA,cA5CLC,WAAAA,SAAoBN,IAAAA,YAAgBG,OA4C/BE,CAAAA;EAPoBL,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAI,IAAA,EAAA,MAAA;MAlC1CE;kBACYA;;wBAEMG;;;;;;;;;cASLE,iBAAAA,SAA0BP,IAAAA,YAAgBG;;;MAGvDD;kBACYA;oBACEG;;;;;;KAMjBG,oBAAAA;aACUP;OACNF;;;;;;;;;cASYU,gBAAAA,SAAyBT,IAAAA;;;;YAIhCC;kCACsBA,WAAWO;;wBAErBH"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql.d.ts","names":["BaseLanguageModelInterface","Tool","LLMChain","SqlDatabase","SqlTool","QuerySqlTool","Promise","InfoSqlTool","ListTablesSqlTool","QueryCheckerToolArgs","QueryCheckerTool"],"sources":["../../src/tools/sql.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { LLMChain } from \"../chains/llm_chain.js\";\nimport type { SqlDatabase } from \"../sql_db.js\";\n/**\n * Interface for SQL tools. It has a `db` property which is a SQL\n * database.\n */\ninterface SqlTool {\n db: SqlDatabase;\n}\n/**\n * A tool for executing SQL queries. It takes a SQL database as a\n * parameter and assigns it to the `db` property. The `_call` method is\n * used to run the SQL query and return the result. If the query is\n * incorrect, an error message is returned.\n */\nexport declare class QuerySqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for retrieving information about SQL tables. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to retrieve the schema and sample rows for the\n * specified tables. If the tables do not exist, an error message is\n * returned.\n */\nexport declare class InfoSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for listing all tables in a SQL database. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to return a comma-separated list of all tables\n * in the database.\n */\nexport declare class ListTablesSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n _call(_: string): Promise<string>;\n description: string;\n}\n/**\n * Arguments for the QueryCheckerTool class.\n */\ntype QueryCheckerToolArgs = {\n llmChain?: LLMChain;\n llm: BaseLanguageModelInterface;\n _chainType?: never;\n};\n/**\n * A tool for checking SQL queries for common mistakes. It takes a\n * LLMChain or QueryCheckerToolArgs as a parameter. The `_call` method is\n * used to check the input query for common mistakes and returns a\n * prediction.\n */\nexport declare class QueryCheckerTool extends Tool {\n static lc_name(): string;\n name: string;\n template: string;\n llmChain: LLMChain;\n constructor(llmChainOrOptions?: LLMChain | QueryCheckerToolArgs);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAGgD;AAchD;UATUI,OAAAA,CASuB;EAAA,EAAA,EARzBD,WAWAA;;;;;AAHyD;AAgBjE;;AAGQA,cAnBaE,YAAAA,SAAqBJ,IAAAA,YAAgBG,OAmBlDD,CAAAA;EAAW,OACCA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAW,IAELG,EAAAA,MAAAA;EAAO,EAAA,EAnBzBH,WAaiCF;EAAI,WAAYG,CAAAA,EAAAA,EAZrCD,WAYqCC;EAAO;EAe3CI,KAAAA,CAAAA,KAAAA,EAAAA,MAAAA,CAAiB,EAzBZF,OAyBY,CAAA,MAAA,CAAA;EAAA,WAAA,EAAA,MAAA;;;;;;AAAgC;AAOrE;;AAKcJ,cA3BMK,WAAAA,SAAoBN,IAAAA,YAAgBG,OA2B1CF,CAAAA;EAAQ,OACdF,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA0B,IAAA,EAAA,MAAA;EASdU,EAAAA,EAlCbP,WAkCaO;EAAgB,WAAA,CAAA,EAAA,EAjCjBP,WAiCiB;EAAA;EAIf,KACcD,CAAAA,KAAAA,EAAAA,MAAAA,CAAAA,EApCVI,OAoCUJ,CAAAA,MAAAA,CAAAA;EAAQ,WAAGO,EAAAA,MAAAA;;;AALG;;;;;cAtB7BD,iBAAAA,SAA0BP,IAAAA,YAAgBG;;;MAGvDD;kBACYA;oBACEG;;;;;;KAMjBG,oBAAAA;aACUP;OACNF;;;;;;;;;cASYU,gBAAAA,SAAyBT,IAAAA;;;;YAIhCC;kCACsBA,WAAWO;;wBAErBH"}
1
+ {"version":3,"file":"sql.d.ts","names":["BaseLanguageModelInterface","Tool","LLMChain","SqlDatabase","SqlTool","QuerySqlTool","Promise","InfoSqlTool","ListTablesSqlTool","QueryCheckerToolArgs","QueryCheckerTool"],"sources":["../../src/tools/sql.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { LLMChain } from \"../chains/llm_chain.js\";\nimport type { SqlDatabase } from \"../sql_db.js\";\n/**\n * Interface for SQL tools. It has a `db` property which is a SQL\n * database.\n */\ninterface SqlTool {\n db: SqlDatabase;\n}\n/**\n * A tool for executing SQL queries. It takes a SQL database as a\n * parameter and assigns it to the `db` property. The `_call` method is\n * used to run the SQL query and return the result. If the query is\n * incorrect, an error message is returned.\n */\nexport declare class QuerySqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for retrieving information about SQL tables. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to retrieve the schema and sample rows for the\n * specified tables. If the tables do not exist, an error message is\n * returned.\n */\nexport declare class InfoSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\n/**\n * A tool for listing all tables in a SQL database. It takes a SQL\n * database as a parameter and assigns it to the `db` property. The\n * `_call` method is used to return a comma-separated list of all tables\n * in the database.\n */\nexport declare class ListTablesSqlTool extends Tool implements SqlTool {\n static lc_name(): string;\n name: string;\n db: SqlDatabase;\n constructor(db: SqlDatabase);\n _call(_: string): Promise<string>;\n description: string;\n}\n/**\n * Arguments for the QueryCheckerTool class.\n */\ntype QueryCheckerToolArgs = {\n llmChain?: LLMChain;\n llm: BaseLanguageModelInterface;\n _chainType?: never;\n};\n/**\n * A tool for checking SQL queries for common mistakes. It takes a\n * LLMChain or QueryCheckerToolArgs as a parameter. The `_call` method is\n * used to check the input query for common mistakes and returns a\n * prediction.\n */\nexport declare class QueryCheckerTool extends Tool {\n static lc_name(): string;\n name: string;\n template: string;\n llmChain: LLMChain;\n constructor(llmChainOrOptions?: LLMChain | QueryCheckerToolArgs);\n /** @ignore */\n _call(input: string): Promise<string>;\n description: string;\n}\nexport {};\n//# sourceMappingURL=sql.d.ts.map"],"mappings":";;;;;;;;;AAGgD;AAchD;UATUI,OAAAA,CAYFD;EACYA,EAAAA,EAZZA,WAYYA;;;;AAJ6C;AAgBjE;;;AAM0BG,cAtBLD,YAAAA,SAAqBJ,IAAAA,YAAgBG,OAsBhCE,CAAAA;EANeL,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAgBG,IAAAA,EAAAA,MAAAA;EAAO,EAAA,EAbxDD,WAawD;EAe3CK,WAAAA,CAAAA,EAAAA,EA3BDL,WA2BkB;EAG9BA;EACYA,KAAAA,CAAAA,KAAAA,EAAAA,MAAAA,CAAAA,EA7BMG,OA6BNH,CAAAA,MAAAA,CAAAA;EACEG,WAAAA,EAAAA,MAAAA;;;AALgD;AAOrE;AAeD;;;;AAO0BA,cA5CLC,WAAAA,SAAoBN,IAAAA,YAAgBG,OA4C/BE,CAAAA;EAPoBL,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAI,IAAA,EAAA,MAAA;MAlC1CE;kBACYA;;wBAEMG;;;;;;;;;cASLE,iBAAAA,SAA0BP,IAAAA,YAAgBG;;;MAGvDD;kBACYA;oBACEG;;;;;;KAMjBG,oBAAAA;aACUP;OACNF;;;;;;;;;cASYU,gBAAAA,SAAyBT,IAAAA;;;;YAIhCC;kCACsBA,WAAWO;;wBAErBH"}
@@ -1 +1 @@
1
- {"version":3,"file":"vectorstore.d.cts","names":["BaseLanguageModelInterface","VectorStoreInterface","Tool","VectorDBQAChain","VectorStoreTool","VectorStoreQATool","Promise"],"sources":["../../src/tools/vectorstore.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { VectorStoreInterface } from \"@langchain/core/vectorstores\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { VectorDBQAChain } from \"../chains/vector_db_qa.js\";\n/**\n * Interface for tools that interact with a Vector Store.\n */\ninterface VectorStoreTool {\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n}\n/**\n * A tool for the VectorDBQA chain to interact with a Vector Store. It is\n * used to answer questions about a specific topic. The input to this tool\n * should be a fully formed question.\n */\nexport declare class VectorStoreQATool extends Tool implements VectorStoreTool {\n static lc_name(): string;\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n name: string;\n description: string;\n chain: VectorDBQAChain;\n constructor(name: string, description: string, fields: VectorStoreTool);\n /**\n * Returns a string that describes what the tool does.\n * @param name The name of the tool.\n * @param description A description of what the tool does.\n * @returns A string that describes what the tool does.\n */\n static getDescription(name: string, description: string): string;\n /** @ignore */\n _call(input: string): Promise<string>;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAG4D;UAIlDI,eAAAA,CAAe;EAAA,WACRH,EAAAA,oBAAAA;EAAoB,GAC5BD,EAAAA,0BAAAA;AAA0B;AAOnC;;;;;AAO2DI,cAPtCC,iBAAAA,SAA0BH,IAAAA,YAAgBE,eAOJA,CAAAA;EAAe,OAShDE,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAO,WAhBcJ,EAE9BD,oBAF8BC;EAAI,GAAYE,EAGtDJ,0BAHsDI;EAAe,IAAA,EAAA,MAAA;;SAMnED;yDACgDC;;;;;;;;;wBASjCE"}
1
+ {"version":3,"file":"vectorstore.d.cts","names":["BaseLanguageModelInterface","VectorStoreInterface","Tool","VectorDBQAChain","VectorStoreTool","VectorStoreQATool","Promise"],"sources":["../../src/tools/vectorstore.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { VectorStoreInterface } from \"@langchain/core/vectorstores\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { VectorDBQAChain } from \"../chains/vector_db_qa.js\";\n/**\n * Interface for tools that interact with a Vector Store.\n */\ninterface VectorStoreTool {\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n}\n/**\n * A tool for the VectorDBQA chain to interact with a Vector Store. It is\n * used to answer questions about a specific topic. The input to this tool\n * should be a fully formed question.\n */\nexport declare class VectorStoreQATool extends Tool implements VectorStoreTool {\n static lc_name(): string;\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n name: string;\n description: string;\n chain: VectorDBQAChain;\n constructor(name: string, description: string, fields: VectorStoreTool);\n /**\n * Returns a string that describes what the tool does.\n * @param name The name of the tool.\n * @param description A description of what the tool does.\n * @returns A string that describes what the tool does.\n */\n static getDescription(name: string, description: string): string;\n /** @ignore */\n _call(input: string): Promise<string>;\n}\nexport {};\n//# sourceMappingURL=vectorstore.d.ts.map"],"mappings":";;;;;;;;;AAG4D;AAa5D,UATUI,eAAAA,CAS4B;EAErBH,WAAAA,EAVAA,oBAUAA;EACRD,GAAAA,EAVAA,0BAUAA;;;;;;AAHqE;cAAzDK,iBAAAA,SAA0BH,IAAAA,YAAgBE;;eAE9CH;OACRD;;;SAGEG;yDACgDC;;;;;;;;;wBASjCE"}
@@ -1 +1 @@
1
- {"version":3,"file":"vectorstore.d.ts","names":["BaseLanguageModelInterface","VectorStoreInterface","Tool","VectorDBQAChain","VectorStoreTool","VectorStoreQATool","Promise"],"sources":["../../src/tools/vectorstore.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { VectorStoreInterface } from \"@langchain/core/vectorstores\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { VectorDBQAChain } from \"../chains/vector_db_qa.js\";\n/**\n * Interface for tools that interact with a Vector Store.\n */\ninterface VectorStoreTool {\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n}\n/**\n * A tool for the VectorDBQA chain to interact with a Vector Store. It is\n * used to answer questions about a specific topic. The input to this tool\n * should be a fully formed question.\n */\nexport declare class VectorStoreQATool extends Tool implements VectorStoreTool {\n static lc_name(): string;\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n name: string;\n description: string;\n chain: VectorDBQAChain;\n constructor(name: string, description: string, fields: VectorStoreTool);\n /**\n * Returns a string that describes what the tool does.\n * @param name The name of the tool.\n * @param description A description of what the tool does.\n * @returns A string that describes what the tool does.\n */\n static getDescription(name: string, description: string): string;\n /** @ignore */\n _call(input: string): Promise<string>;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAG4D;UAIlDI,eAAAA,CAAe;EAAA,WACRH,EAAAA,oBAAAA;EAAoB,GAC5BD,EAAAA,0BAAAA;AAA0B;AAOnC;;;;;AAO2DI,cAPtCC,iBAAAA,SAA0BH,IAAAA,YAAgBE,eAOJA,CAAAA;EAAe,OAShDE,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAO,WAhBcJ,EAE9BD,oBAF8BC;EAAI,GAAYE,EAGtDJ,0BAHsDI;EAAe,IAAA,EAAA,MAAA;;SAMnED;yDACgDC;;;;;;;;;wBASjCE"}
1
+ {"version":3,"file":"vectorstore.d.ts","names":["BaseLanguageModelInterface","VectorStoreInterface","Tool","VectorDBQAChain","VectorStoreTool","VectorStoreQATool","Promise"],"sources":["../../src/tools/vectorstore.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { VectorStoreInterface } from \"@langchain/core/vectorstores\";\nimport { Tool } from \"@langchain/core/tools\";\nimport { VectorDBQAChain } from \"../chains/vector_db_qa.js\";\n/**\n * Interface for tools that interact with a Vector Store.\n */\ninterface VectorStoreTool {\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n}\n/**\n * A tool for the VectorDBQA chain to interact with a Vector Store. It is\n * used to answer questions about a specific topic. The input to this tool\n * should be a fully formed question.\n */\nexport declare class VectorStoreQATool extends Tool implements VectorStoreTool {\n static lc_name(): string;\n vectorStore: VectorStoreInterface;\n llm: BaseLanguageModelInterface;\n name: string;\n description: string;\n chain: VectorDBQAChain;\n constructor(name: string, description: string, fields: VectorStoreTool);\n /**\n * Returns a string that describes what the tool does.\n * @param name The name of the tool.\n * @param description A description of what the tool does.\n * @returns A string that describes what the tool does.\n */\n static getDescription(name: string, description: string): string;\n /** @ignore */\n _call(input: string): Promise<string>;\n}\nexport {};\n//# sourceMappingURL=vectorstore.d.ts.map"],"mappings":";;;;;;;;;AAG4D;AAa5D,UATUI,eAAAA,CAS4B;EAErBH,WAAAA,EAVAA,oBAUAA;EACRD,GAAAA,EAVAA,0BAUAA;;;;;;AAHqE;cAAzDK,iBAAAA,SAA0BH,IAAAA,YAAgBE;;eAE9CH;OACRD;;;SAGEG;yDACgDC;;;;;;;;;wBASjCE"}
@@ -7,7 +7,6 @@ import { EmbeddingsInterface } from "@langchain/core/embeddings";
7
7
  //#region src/tools/webbrowser.d.ts
8
8
  declare const parseInputs: (inputs: string) => [string, string];
9
9
  declare const getText: (html: string, baseUrl: string, summary: boolean) => string;
10
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
10
  type Headers = Record<string, any>;
12
11
  /**
13
12
  * Configuration options for fetch requests, similar to axios config but for fetch
@@ -1 +1 @@
1
- {"version":3,"file":"webbrowser.d.cts","names":["BaseLanguageModelInterface","EmbeddingsInterface","CallbackManager","CallbackManagerForToolRun","Tool","ToolParams","TextSplitter","parseInputs","getText","Headers","Record","RequestConfig","RequestInit","Omit","WebBrowserArgs","WebBrowser","model","headers","embeddings","requestConfig","textSplitter","Promise"],"sources":["../../src/tools/webbrowser.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { EmbeddingsInterface } from \"@langchain/core/embeddings\";\nimport { CallbackManager, CallbackManagerForToolRun } from \"@langchain/core/callbacks/manager\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nimport { TextSplitter } from \"@langchain/textsplitters\";\nexport declare const parseInputs: (inputs: string) => [string, string];\nexport declare const getText: (html: string, baseUrl: string, summary: boolean) => string;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype Headers = Record<string, any>;\n/**\n * Configuration options for fetch requests, similar to axios config but for fetch\n */\nexport interface RequestConfig extends Omit<RequestInit, \"headers\"> {\n withCredentials?: boolean;\n}\n/**\n * Defines the arguments that can be passed to the WebBrowser constructor.\n * It extends the ToolParams interface and includes properties for a\n * language model, embeddings, HTTP headers, an Axios configuration, a\n * callback manager, and a text splitter.\n */\nexport interface WebBrowserArgs extends ToolParams {\n model: BaseLanguageModelInterface;\n embeddings: EmbeddingsInterface;\n headers?: Headers;\n requestConfig?: RequestConfig;\n /** @deprecated */\n callbackManager?: CallbackManager;\n textSplitter?: TextSplitter;\n}\n/**\n * A class designed to interact with web pages, either to extract\n * information from them or to summarize their content. It uses the native\n * fetch API to send HTTP requests and the cheerio library to parse the\n * returned HTML.\n * @example\n * ```typescript\n * const browser = new WebBrowser({\n * model: new ChatOpenAI({ model: \"gpt-4o-mini\", temperature: 0 }),\n * embeddings: new OpenAIEmbeddings({}),\n * });\n * const result = await browser.invoke(\"https:exampleurl.com\");\n * ```\n */\nexport declare class WebBrowser extends Tool {\n static lc_name(): string;\n get lc_namespace(): string[];\n private model;\n private embeddings;\n private headers;\n private requestConfig;\n private textSplitter;\n constructor({ model, headers, embeddings, requestConfig, textSplitter }: WebBrowserArgs);\n /** @ignore */\n _call(inputs: string, runManager?: CallbackManagerForToolRun): Promise<string>;\n name: string;\n description: string;\n}\nexport {};\n"],"mappings":";;;;;;;cAKqBO;cACAC;AADrB;AACA,KAEKC,OAAAA,GAAUC,MAF0E,CAAA,MAAA,EAAA,GAAA,CAAA;AAAC;AAM1F;;AAA4CE,UAA3BD,aAAAA,SAAsBE,IAAKD,CAAAA,WAAAA,EAAAA,SAAAA,CAAAA,CAAAA;EAAW,eAAhBC,CAAAA,EAAAA,OAAAA;AAAI;AAS3C;;;;;;AAMsBX,UANLY,cAAAA,SAAuBT,UAMlBH,CAAAA;EAAe,KAClBI,EANRN,0BAMQM;EAAY,UAPSD,EAExBJ,mBAFwBI;EAAU,OAAA,CAAA,EAGpCI,OAHoC;EAuB7BM,aAAU,CAAA,EAnBXJ,aAmBW;EAAA;EAAA,eAQbK,CAAAA,EAzBId,eAyBJc;EAAK,YAAEC,CAAAA,EAxBNX,YAwBMW;;;;;;;;AARmB;;;;;;;;cAAvBF,UAAAA,SAAmBX,IAAAA;;;;;;;;;;;;;;KAQqCU;;qCAEtCX,4BAA4BkB"}
1
+ {"version":3,"file":"webbrowser.d.cts","names":["BaseLanguageModelInterface","EmbeddingsInterface","CallbackManager","CallbackManagerForToolRun","Tool","ToolParams","TextSplitter","parseInputs","getText","Headers","Record","RequestConfig","RequestInit","Omit","WebBrowserArgs","WebBrowser","model","headers","embeddings","requestConfig","textSplitter","Promise"],"sources":["../../src/tools/webbrowser.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { EmbeddingsInterface } from \"@langchain/core/embeddings\";\nimport { CallbackManager, CallbackManagerForToolRun } from \"@langchain/core/callbacks/manager\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nimport { TextSplitter } from \"@langchain/textsplitters\";\nexport declare const parseInputs: (inputs: string) => [string, string];\nexport declare const getText: (html: string, baseUrl: string, summary: boolean) => string;\ntype Headers = Record<string, any>;\n/**\n * Configuration options for fetch requests, similar to axios config but for fetch\n */\nexport interface RequestConfig extends Omit<RequestInit, \"headers\"> {\n withCredentials?: boolean;\n}\n/**\n * Defines the arguments that can be passed to the WebBrowser constructor.\n * It extends the ToolParams interface and includes properties for a\n * language model, embeddings, HTTP headers, an Axios configuration, a\n * callback manager, and a text splitter.\n */\nexport interface WebBrowserArgs extends ToolParams {\n model: BaseLanguageModelInterface;\n embeddings: EmbeddingsInterface;\n headers?: Headers;\n requestConfig?: RequestConfig;\n /** @deprecated */\n callbackManager?: CallbackManager;\n textSplitter?: TextSplitter;\n}\n/**\n * A class designed to interact with web pages, either to extract\n * information from them or to summarize their content. It uses the native\n * fetch API to send HTTP requests and the cheerio library to parse the\n * returned HTML.\n * @example\n * ```typescript\n * const browser = new WebBrowser({\n * model: new ChatOpenAI({ model: \"gpt-4o-mini\", temperature: 0 }),\n * embeddings: new OpenAIEmbeddings({}),\n * });\n * const result = await browser.invoke(\"https:exampleurl.com\");\n * ```\n */\nexport declare class WebBrowser extends Tool {\n static lc_name(): string;\n get lc_namespace(): string[];\n private model;\n private embeddings;\n private headers;\n private requestConfig;\n private textSplitter;\n constructor({ model, headers, embeddings, requestConfig, textSplitter }: WebBrowserArgs);\n /** @ignore */\n _call(inputs: string, runManager?: CallbackManagerForToolRun): Promise<string>;\n name: string;\n description: string;\n}\nexport {};\n//# sourceMappingURL=webbrowser.d.ts.map"],"mappings":";;;;;;;cAKqBO;cACAC;AADrB,KAEKC,OAAAA,GAAUC,MAFuD,CAAA,MAAA,EAAA,GAAA,CAAA;AACtE;AAA0F;AAK1F;AASiBI,UATAH,aAAAA,SAAsBE,IASR,CATaD,WASb,EAAA,SAAA,CAAA,CAAA;EACpBZ,eAAAA,CAAAA,EAAAA,OAAAA;;;;;;;AADuC;AAuB7Be,UAvBJD,cAAAA,SAAuBT,UAuBT,CAAA;EAQbW,KAAAA,EA9BPhB,0BA8BOgB;EAAOC,UAAAA,EA7BThB,mBA6BSgB;EAASC,OAAAA,CAAAA,EA5BpBT,OA4BoBS;EAAYC,aAAAA,CAAAA,EA3B1BR,aA2B0BQ;EAAeC;EAAgBN,eAAAA,CAAAA,EAzBvDZ,eAyBuDY;EAEtCX,YAAAA,CAAAA,EA1BpBG,YA0BoBH;;;AAVK;;;;;;;;;;;;;cAAvBY,UAAAA,SAAmBX,IAAAA;;;;;;;;;;;;;;KAQqCU;;qCAEtCX,4BAA4BkB"}
@@ -7,7 +7,6 @@ import { EmbeddingsInterface } from "@langchain/core/embeddings";
7
7
  //#region src/tools/webbrowser.d.ts
8
8
  declare const parseInputs: (inputs: string) => [string, string];
9
9
  declare const getText: (html: string, baseUrl: string, summary: boolean) => string;
10
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
10
  type Headers = Record<string, any>;
12
11
  /**
13
12
  * Configuration options for fetch requests, similar to axios config but for fetch
@@ -1 +1 @@
1
- {"version":3,"file":"webbrowser.d.ts","names":["BaseLanguageModelInterface","EmbeddingsInterface","CallbackManager","CallbackManagerForToolRun","Tool","ToolParams","TextSplitter","parseInputs","getText","Headers","Record","RequestConfig","RequestInit","Omit","WebBrowserArgs","WebBrowser","model","headers","embeddings","requestConfig","textSplitter","Promise"],"sources":["../../src/tools/webbrowser.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { EmbeddingsInterface } from \"@langchain/core/embeddings\";\nimport { CallbackManager, CallbackManagerForToolRun } from \"@langchain/core/callbacks/manager\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nimport { TextSplitter } from \"@langchain/textsplitters\";\nexport declare const parseInputs: (inputs: string) => [string, string];\nexport declare const getText: (html: string, baseUrl: string, summary: boolean) => string;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype Headers = Record<string, any>;\n/**\n * Configuration options for fetch requests, similar to axios config but for fetch\n */\nexport interface RequestConfig extends Omit<RequestInit, \"headers\"> {\n withCredentials?: boolean;\n}\n/**\n * Defines the arguments that can be passed to the WebBrowser constructor.\n * It extends the ToolParams interface and includes properties for a\n * language model, embeddings, HTTP headers, an Axios configuration, a\n * callback manager, and a text splitter.\n */\nexport interface WebBrowserArgs extends ToolParams {\n model: BaseLanguageModelInterface;\n embeddings: EmbeddingsInterface;\n headers?: Headers;\n requestConfig?: RequestConfig;\n /** @deprecated */\n callbackManager?: CallbackManager;\n textSplitter?: TextSplitter;\n}\n/**\n * A class designed to interact with web pages, either to extract\n * information from them or to summarize their content. It uses the native\n * fetch API to send HTTP requests and the cheerio library to parse the\n * returned HTML.\n * @example\n * ```typescript\n * const browser = new WebBrowser({\n * model: new ChatOpenAI({ model: \"gpt-4o-mini\", temperature: 0 }),\n * embeddings: new OpenAIEmbeddings({}),\n * });\n * const result = await browser.invoke(\"https:exampleurl.com\");\n * ```\n */\nexport declare class WebBrowser extends Tool {\n static lc_name(): string;\n get lc_namespace(): string[];\n private model;\n private embeddings;\n private headers;\n private requestConfig;\n private textSplitter;\n constructor({ model, headers, embeddings, requestConfig, textSplitter }: WebBrowserArgs);\n /** @ignore */\n _call(inputs: string, runManager?: CallbackManagerForToolRun): Promise<string>;\n name: string;\n description: string;\n}\nexport {};\n"],"mappings":";;;;;;;cAKqBO;cACAC;AADrB;AACA,KAEKC,OAAAA,GAAUC,MAF0E,CAAA,MAAA,EAAA,GAAA,CAAA;AAAC;AAM1F;;AAA4CE,UAA3BD,aAAAA,SAAsBE,IAAKD,CAAAA,WAAAA,EAAAA,SAAAA,CAAAA,CAAAA;EAAW,eAAhBC,CAAAA,EAAAA,OAAAA;AAAI;AAS3C;;;;;;AAMsBX,UANLY,cAAAA,SAAuBT,UAMlBH,CAAAA;EAAe,KAClBI,EANRN,0BAMQM;EAAY,UAPSD,EAExBJ,mBAFwBI;EAAU,OAAA,CAAA,EAGpCI,OAHoC;EAuB7BM,aAAU,CAAA,EAnBXJ,aAmBW;EAAA;EAAA,eAQbK,CAAAA,EAzBId,eAyBJc;EAAK,YAAEC,CAAAA,EAxBNX,YAwBMW;;;;;;;;AARmB;;;;;;;;cAAvBF,UAAAA,SAAmBX,IAAAA;;;;;;;;;;;;;;KAQqCU;;qCAEtCX,4BAA4BkB"}
1
+ {"version":3,"file":"webbrowser.d.ts","names":["BaseLanguageModelInterface","EmbeddingsInterface","CallbackManager","CallbackManagerForToolRun","Tool","ToolParams","TextSplitter","parseInputs","getText","Headers","Record","RequestConfig","RequestInit","Omit","WebBrowserArgs","WebBrowser","model","headers","embeddings","requestConfig","textSplitter","Promise"],"sources":["../../src/tools/webbrowser.d.ts"],"sourcesContent":["import type { BaseLanguageModelInterface } from \"@langchain/core/language_models/base\";\nimport type { EmbeddingsInterface } from \"@langchain/core/embeddings\";\nimport { CallbackManager, CallbackManagerForToolRun } from \"@langchain/core/callbacks/manager\";\nimport { Tool, ToolParams } from \"@langchain/core/tools\";\nimport { TextSplitter } from \"@langchain/textsplitters\";\nexport declare const parseInputs: (inputs: string) => [string, string];\nexport declare const getText: (html: string, baseUrl: string, summary: boolean) => string;\ntype Headers = Record<string, any>;\n/**\n * Configuration options for fetch requests, similar to axios config but for fetch\n */\nexport interface RequestConfig extends Omit<RequestInit, \"headers\"> {\n withCredentials?: boolean;\n}\n/**\n * Defines the arguments that can be passed to the WebBrowser constructor.\n * It extends the ToolParams interface and includes properties for a\n * language model, embeddings, HTTP headers, an Axios configuration, a\n * callback manager, and a text splitter.\n */\nexport interface WebBrowserArgs extends ToolParams {\n model: BaseLanguageModelInterface;\n embeddings: EmbeddingsInterface;\n headers?: Headers;\n requestConfig?: RequestConfig;\n /** @deprecated */\n callbackManager?: CallbackManager;\n textSplitter?: TextSplitter;\n}\n/**\n * A class designed to interact with web pages, either to extract\n * information from them or to summarize their content. It uses the native\n * fetch API to send HTTP requests and the cheerio library to parse the\n * returned HTML.\n * @example\n * ```typescript\n * const browser = new WebBrowser({\n * model: new ChatOpenAI({ model: \"gpt-4o-mini\", temperature: 0 }),\n * embeddings: new OpenAIEmbeddings({}),\n * });\n * const result = await browser.invoke(\"https:exampleurl.com\");\n * ```\n */\nexport declare class WebBrowser extends Tool {\n static lc_name(): string;\n get lc_namespace(): string[];\n private model;\n private embeddings;\n private headers;\n private requestConfig;\n private textSplitter;\n constructor({ model, headers, embeddings, requestConfig, textSplitter }: WebBrowserArgs);\n /** @ignore */\n _call(inputs: string, runManager?: CallbackManagerForToolRun): Promise<string>;\n name: string;\n description: string;\n}\nexport {};\n//# sourceMappingURL=webbrowser.d.ts.map"],"mappings":";;;;;;;cAKqBO;cACAC;AADrB,KAEKC,OAAAA,GAAUC,MAFuD,CAAA,MAAA,EAAA,GAAA,CAAA;AACtE;AAA0F;AAK1F;AASiBI,UATAH,aAAAA,SAAsBE,IASR,CATaD,WASb,EAAA,SAAA,CAAA,CAAA;EACpBZ,eAAAA,CAAAA,EAAAA,OAAAA;;;;;;;AADuC;AAuB7Be,UAvBJD,cAAAA,SAAuBT,UAuBT,CAAA;EAQbW,KAAAA,EA9BPhB,0BA8BOgB;EAAOC,UAAAA,EA7BThB,mBA6BSgB;EAASC,OAAAA,CAAAA,EA5BpBT,OA4BoBS;EAAYC,aAAAA,CAAAA,EA3B1BR,aA2B0BQ;EAAeC;EAAgBN,eAAAA,CAAAA,EAzBvDZ,eAyBuDY;EAEtCX,YAAAA,CAAAA,EA1BpBG,YA0BoBH;;;AAVK;;;;;;;;;;;;;cAAvBY,UAAAA,SAAmBX,IAAAA;;;;;;;;;;;;;;KAQqCU;;qCAEtCX,4BAA4BkB"}
@@ -2,15 +2,12 @@
2
2
  interface ParseOptions {
3
3
  filename?: string;
4
4
  startRule?: "Start";
5
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
5
  tracer?: any;
7
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
6
  [key: string]: any;
9
7
  }
10
8
  type ParseFunction = <Options extends ParseOptions>(input: string, options?: Options) => Options extends {
11
9
  startRule: infer StartRule;
12
10
  } ? StartRule extends "Start" ? Start : Start : Start;
13
- // These types were autogenerated by ts-pegjs
14
11
  type Start = Program;
15
12
  type Identifier = IdentifierName;
16
13
  type IdentifierName = {
@@ -1 +1 @@
1
- {"version":3,"file":"expression-parser.d.cts","names":["ParseOptions","ParseFunction","Options","StartRule","Start","Program","Identifier","IdentifierName","Literal","NullLiteral","BooleanLiteral","NumericLiteral","StringLiteral","DecimalLiteral","PrimaryExpression","ArrayExpression","ObjectExpression","Expression","ElementList","PropertyNameAndValueList","PropertyAssignment","PropertyName","MemberExpression","CallExpression","Arguments","ExpressionStatement","ExpressionNode"],"sources":["../../src/types/expression-parser.d.ts"],"sourcesContent":["export interface ParseOptions {\n filename?: string;\n startRule?: \"Start\";\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n tracer?: any;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n}\nexport type ParseFunction = <Options extends ParseOptions>(input: string, options?: Options) => Options extends {\n startRule: infer StartRule;\n} ? StartRule extends \"Start\" ? Start : Start : Start;\n// These types were autogenerated by ts-pegjs\nexport type Start = Program;\nexport type Identifier = IdentifierName;\nexport type IdentifierName = {\n type: \"Identifier\";\n name: string;\n};\nexport type Literal = NullLiteral | BooleanLiteral | NumericLiteral | StringLiteral;\nexport type NullLiteral = {\n type: \"NullLiteral\";\n value: null;\n};\nexport type BooleanLiteral = {\n type: \"BooleanLiteral\";\n value: true;\n} | {\n type: \"BooleanLiteral\";\n value: false;\n};\nexport type NumericLiteral = DecimalLiteral;\nexport type DecimalLiteral = {\n type: \"NumericLiteral\";\n value: number;\n};\nexport type StringLiteral = {\n type: \"StringLiteral\";\n value: string;\n};\nexport type PrimaryExpression = Identifier | Literal | ArrayExpression | ObjectExpression | Expression;\nexport type ArrayExpression = {\n type: \"ArrayExpression\";\n elements: ElementList;\n};\nexport type ElementList = PrimaryExpression[];\nexport type ObjectExpression = {\n type: \"ObjectExpression\";\n properties: [];\n} | {\n type: \"ObjectExpression\";\n properties: PropertyNameAndValueList;\n};\nexport type PropertyNameAndValueList = PrimaryExpression[];\nexport type PropertyAssignment = {\n type: \"PropertyAssignment\";\n key: PropertyName;\n value: Expression;\n kind: \"init\";\n};\nexport type PropertyName = IdentifierName | StringLiteral | NumericLiteral;\nexport type MemberExpression = {\n type: \"MemberExpression\";\n property: StringLiteral;\n computed: true;\n object: MemberExpression | Identifier | StringLiteral;\n} | {\n type: \"MemberExpression\";\n property: Identifier;\n computed: false;\n object: MemberExpression | Identifier | StringLiteral;\n};\nexport type CallExpression = {\n type: \"CallExpression\";\n arguments: Arguments;\n callee: MemberExpression | Identifier;\n};\nexport type Arguments = PrimaryExpression[];\nexport type Expression = CallExpression | MemberExpression;\nexport type ExpressionStatement = {\n type: \"ExpressionStatement\";\n expression: Expression;\n};\nexport type Program = {\n type: \"Program\";\n body: ExpressionStatement;\n};\nexport type ExpressionNode = Program | ExpressionStatement | ArrayExpression | BooleanLiteral | CallExpression | Identifier | MemberExpression | NumericLiteral | ObjectExpression | PropertyAssignment | NullLiteral | StringLiteral;\n"],"mappings":"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"}
1
+ {"version":3,"file":"expression-parser.d.cts","names":["ParseOptions","ParseFunction","Options","StartRule","Start","Program","Identifier","IdentifierName","Literal","NullLiteral","BooleanLiteral","NumericLiteral","StringLiteral","DecimalLiteral","PrimaryExpression","ArrayExpression","ObjectExpression","Expression","ElementList","PropertyNameAndValueList","PropertyAssignment","PropertyName","MemberExpression","CallExpression","Arguments","ExpressionStatement","ExpressionNode"],"sources":["../../src/types/expression-parser.d.ts"],"sourcesContent":["export interface ParseOptions {\n filename?: string;\n startRule?: \"Start\";\n tracer?: any;\n [key: string]: any;\n}\nexport type ParseFunction = <Options extends ParseOptions>(input: string, options?: Options) => Options extends {\n startRule: infer StartRule;\n} ? StartRule extends \"Start\" ? Start : Start : Start;\nexport type Start = Program;\nexport type Identifier = IdentifierName;\nexport type IdentifierName = {\n type: \"Identifier\";\n name: string;\n};\nexport type Literal = NullLiteral | BooleanLiteral | NumericLiteral | StringLiteral;\nexport type NullLiteral = {\n type: \"NullLiteral\";\n value: null;\n};\nexport type BooleanLiteral = {\n type: \"BooleanLiteral\";\n value: true;\n} | {\n type: \"BooleanLiteral\";\n value: false;\n};\nexport type NumericLiteral = DecimalLiteral;\nexport type DecimalLiteral = {\n type: \"NumericLiteral\";\n value: number;\n};\nexport type StringLiteral = {\n type: \"StringLiteral\";\n value: string;\n};\nexport type PrimaryExpression = Identifier | Literal | ArrayExpression | ObjectExpression | Expression;\nexport type ArrayExpression = {\n type: \"ArrayExpression\";\n elements: ElementList;\n};\nexport type ElementList = PrimaryExpression[];\nexport type ObjectExpression = {\n type: \"ObjectExpression\";\n properties: [];\n} | {\n type: \"ObjectExpression\";\n properties: PropertyNameAndValueList;\n};\nexport type PropertyNameAndValueList = PrimaryExpression[];\nexport type PropertyAssignment = {\n type: \"PropertyAssignment\";\n key: PropertyName;\n value: Expression;\n kind: \"init\";\n};\nexport type PropertyName = IdentifierName | StringLiteral | NumericLiteral;\nexport type MemberExpression = {\n type: \"MemberExpression\";\n property: StringLiteral;\n computed: true;\n object: MemberExpression | Identifier | StringLiteral;\n} | {\n type: \"MemberExpression\";\n property: Identifier;\n computed: false;\n object: MemberExpression | Identifier | StringLiteral;\n};\nexport type CallExpression = {\n type: \"CallExpression\";\n arguments: Arguments;\n callee: MemberExpression | Identifier;\n};\nexport type Arguments = PrimaryExpression[];\nexport type Expression = CallExpression | MemberExpression;\nexport type ExpressionStatement = {\n type: \"ExpressionStatement\";\n expression: Expression;\n};\nexport type Program = {\n type: \"Program\";\n body: ExpressionStatement;\n};\nexport type ExpressionNode = Program | ExpressionStatement | ArrayExpression | BooleanLiteral | CallExpression | Identifier | MemberExpression | NumericLiteral | ObjectExpression | PropertyAssignment | NullLiteral | StringLiteral;\n//# sourceMappingURL=expression-parser.d.ts.map"],"mappings":"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"}
@@ -2,15 +2,12 @@
2
2
  interface ParseOptions {
3
3
  filename?: string;
4
4
  startRule?: "Start";
5
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
5
  tracer?: any;
7
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
6
  [key: string]: any;
9
7
  }
10
8
  type ParseFunction = <Options extends ParseOptions>(input: string, options?: Options) => Options extends {
11
9
  startRule: infer StartRule;
12
10
  } ? StartRule extends "Start" ? Start : Start : Start;
13
- // These types were autogenerated by ts-pegjs
14
11
  type Start = Program;
15
12
  type Identifier = IdentifierName;
16
13
  type IdentifierName = {
@@ -1 +1 @@
1
- {"version":3,"file":"expression-parser.d.ts","names":["ParseOptions","ParseFunction","Options","StartRule","Start","Program","Identifier","IdentifierName","Literal","NullLiteral","BooleanLiteral","NumericLiteral","StringLiteral","DecimalLiteral","PrimaryExpression","ArrayExpression","ObjectExpression","Expression","ElementList","PropertyNameAndValueList","PropertyAssignment","PropertyName","MemberExpression","CallExpression","Arguments","ExpressionStatement","ExpressionNode"],"sources":["../../src/types/expression-parser.d.ts"],"sourcesContent":["export interface ParseOptions {\n filename?: string;\n startRule?: \"Start\";\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n tracer?: any;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n}\nexport type ParseFunction = <Options extends ParseOptions>(input: string, options?: Options) => Options extends {\n startRule: infer StartRule;\n} ? StartRule extends \"Start\" ? Start : Start : Start;\n// These types were autogenerated by ts-pegjs\nexport type Start = Program;\nexport type Identifier = IdentifierName;\nexport type IdentifierName = {\n type: \"Identifier\";\n name: string;\n};\nexport type Literal = NullLiteral | BooleanLiteral | NumericLiteral | StringLiteral;\nexport type NullLiteral = {\n type: \"NullLiteral\";\n value: null;\n};\nexport type BooleanLiteral = {\n type: \"BooleanLiteral\";\n value: true;\n} | {\n type: \"BooleanLiteral\";\n value: false;\n};\nexport type NumericLiteral = DecimalLiteral;\nexport type DecimalLiteral = {\n type: \"NumericLiteral\";\n value: number;\n};\nexport type StringLiteral = {\n type: \"StringLiteral\";\n value: string;\n};\nexport type PrimaryExpression = Identifier | Literal | ArrayExpression | ObjectExpression | Expression;\nexport type ArrayExpression = {\n type: \"ArrayExpression\";\n elements: ElementList;\n};\nexport type ElementList = PrimaryExpression[];\nexport type ObjectExpression = {\n type: \"ObjectExpression\";\n properties: [];\n} | {\n type: \"ObjectExpression\";\n properties: PropertyNameAndValueList;\n};\nexport type PropertyNameAndValueList = PrimaryExpression[];\nexport type PropertyAssignment = {\n type: \"PropertyAssignment\";\n key: PropertyName;\n value: Expression;\n kind: \"init\";\n};\nexport type PropertyName = IdentifierName | StringLiteral | NumericLiteral;\nexport type MemberExpression = {\n type: \"MemberExpression\";\n property: StringLiteral;\n computed: true;\n object: MemberExpression | Identifier | StringLiteral;\n} | {\n type: \"MemberExpression\";\n property: Identifier;\n computed: false;\n object: MemberExpression | Identifier | StringLiteral;\n};\nexport type CallExpression = {\n type: \"CallExpression\";\n arguments: Arguments;\n callee: MemberExpression | Identifier;\n};\nexport type Arguments = PrimaryExpression[];\nexport type Expression = CallExpression | MemberExpression;\nexport type ExpressionStatement = {\n type: \"ExpressionStatement\";\n expression: Expression;\n};\nexport type Program = {\n type: \"Program\";\n body: ExpressionStatement;\n};\nexport type ExpressionNode = Program | ExpressionStatement | ArrayExpression | BooleanLiteral | CallExpression | Identifier | MemberExpression | NumericLiteral | ObjectExpression | PropertyAssignment | NullLiteral | StringLiteral;\n"],"mappings":"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"}
1
+ {"version":3,"file":"expression-parser.d.ts","names":["ParseOptions","ParseFunction","Options","StartRule","Start","Program","Identifier","IdentifierName","Literal","NullLiteral","BooleanLiteral","NumericLiteral","StringLiteral","DecimalLiteral","PrimaryExpression","ArrayExpression","ObjectExpression","Expression","ElementList","PropertyNameAndValueList","PropertyAssignment","PropertyName","MemberExpression","CallExpression","Arguments","ExpressionStatement","ExpressionNode"],"sources":["../../src/types/expression-parser.d.ts"],"sourcesContent":["export interface ParseOptions {\n filename?: string;\n startRule?: \"Start\";\n tracer?: any;\n [key: string]: any;\n}\nexport type ParseFunction = <Options extends ParseOptions>(input: string, options?: Options) => Options extends {\n startRule: infer StartRule;\n} ? StartRule extends \"Start\" ? Start : Start : Start;\nexport type Start = Program;\nexport type Identifier = IdentifierName;\nexport type IdentifierName = {\n type: \"Identifier\";\n name: string;\n};\nexport type Literal = NullLiteral | BooleanLiteral | NumericLiteral | StringLiteral;\nexport type NullLiteral = {\n type: \"NullLiteral\";\n value: null;\n};\nexport type BooleanLiteral = {\n type: \"BooleanLiteral\";\n value: true;\n} | {\n type: \"BooleanLiteral\";\n value: false;\n};\nexport type NumericLiteral = DecimalLiteral;\nexport type DecimalLiteral = {\n type: \"NumericLiteral\";\n value: number;\n};\nexport type StringLiteral = {\n type: \"StringLiteral\";\n value: string;\n};\nexport type PrimaryExpression = Identifier | Literal | ArrayExpression | ObjectExpression | Expression;\nexport type ArrayExpression = {\n type: \"ArrayExpression\";\n elements: ElementList;\n};\nexport type ElementList = PrimaryExpression[];\nexport type ObjectExpression = {\n type: \"ObjectExpression\";\n properties: [];\n} | {\n type: \"ObjectExpression\";\n properties: PropertyNameAndValueList;\n};\nexport type PropertyNameAndValueList = PrimaryExpression[];\nexport type PropertyAssignment = {\n type: \"PropertyAssignment\";\n key: PropertyName;\n value: Expression;\n kind: \"init\";\n};\nexport type PropertyName = IdentifierName | StringLiteral | NumericLiteral;\nexport type MemberExpression = {\n type: \"MemberExpression\";\n property: StringLiteral;\n computed: true;\n object: MemberExpression | Identifier | StringLiteral;\n} | {\n type: \"MemberExpression\";\n property: Identifier;\n computed: false;\n object: MemberExpression | Identifier | StringLiteral;\n};\nexport type CallExpression = {\n type: \"CallExpression\";\n arguments: Arguments;\n callee: MemberExpression | Identifier;\n};\nexport type Arguments = PrimaryExpression[];\nexport type Expression = CallExpression | MemberExpression;\nexport type ExpressionStatement = {\n type: \"ExpressionStatement\";\n expression: Expression;\n};\nexport type Program = {\n type: \"Program\";\n body: ExpressionStatement;\n};\nexport type ExpressionNode = Program | ExpressionStatement | ArrayExpression | BooleanLiteral | CallExpression | Identifier | MemberExpression | NumericLiteral | ObjectExpression | PropertyAssignment | NullLiteral | StringLiteral;\n//# sourceMappingURL=expression-parser.d.ts.map"],"mappings":"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"}
@@ -1,6 +1,4 @@
1
1
  //#region src/types/type-utils.d.ts
2
- // Utility for marking only some keys of an interface as optional
3
- // Compare to Partial<T> which marks all keys as optional
4
2
  type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
5
3
  //#endregion
6
4
  export { Optional };
@@ -1 +1 @@
1
- {"version":3,"file":"type-utils.d.cts","names":["Optional","T","K","Omit","Pick","Partial"],"sources":["../../src/types/type-utils.d.ts"],"sourcesContent":["// Utility for marking only some keys of an interface as optional\n// Compare to Partial<T> which marks all keys as optional\nexport type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;\n"],"mappings":";;AAEA;AAAoB,KAARA,QAAQ,CAAA,CAAA,EAAA,UAAA,MAAoBC,CAApB,CAAA,GAAyBE,IAAzB,CAA8BF,CAA9B,EAAiCC,CAAjC,CAAA,GAAsCG,OAAtC,CAA8CD,IAA9C,CAAmDH,CAAnD,EAAsDC,CAAtD,CAAA,CAAA"}
1
+ {"version":3,"file":"type-utils.d.cts","names":["Optional","T","K","Omit","Pick","Partial"],"sources":["../../src/types/type-utils.d.ts"],"sourcesContent":["export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;\n//# sourceMappingURL=type-utils.d.ts.map"],"mappings":";KAAYA,4BAA4BC,KAAKE,KAAKF,GAAGC,KAAKG,QAAQD,KAAKH,GAAGC"}
@@ -1,6 +1,4 @@
1
1
  //#region src/types/type-utils.d.ts
2
- // Utility for marking only some keys of an interface as optional
3
- // Compare to Partial<T> which marks all keys as optional
4
2
  type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
5
3
  //#endregion
6
4
  export { Optional };
@@ -1 +1 @@
1
- {"version":3,"file":"type-utils.d.ts","names":["Optional","T","K","Omit","Pick","Partial"],"sources":["../../src/types/type-utils.d.ts"],"sourcesContent":["// Utility for marking only some keys of an interface as optional\n// Compare to Partial<T> which marks all keys as optional\nexport type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;\n"],"mappings":";;AAEA;AAAoB,KAARA,QAAQ,CAAA,CAAA,EAAA,UAAA,MAAoBC,CAApB,CAAA,GAAyBE,IAAzB,CAA8BF,CAA9B,EAAiCC,CAAjC,CAAA,GAAsCG,OAAtC,CAA8CD,IAA9C,CAAmDH,CAAnD,EAAsDC,CAAtD,CAAA,CAAA"}
1
+ {"version":3,"file":"type-utils.d.ts","names":["Optional","T","K","Omit","Pick","Partial"],"sources":["../../src/types/type-utils.d.ts"],"sourcesContent":["export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;\n//# sourceMappingURL=type-utils.d.ts.map"],"mappings":";KAAYA,4BAA4BC,KAAKE,KAAKF,GAAGC,KAAKG,QAAQD,KAAKH,GAAGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"document.d.cts","names":["Document","formatDocumentsAsString","Record"],"sources":["../../src/util/document.d.ts"],"sourcesContent":["import { Document } from \"@langchain/core/documents\";\n/**\n * Given a list of documents, this util formats their contents\n * into a string, separated by newlines.\n *\n * @param documents\n * @returns A string of the documents page content, separated by newlines.\n */\nexport declare const formatDocumentsAsString: (documents: Document<Record<string, any>>[]) => string;\n"],"mappings":";;;;;;AAQA;;;;AAAkE;cAA7CC,qCAAqCD,SAASE"}
1
+ {"version":3,"file":"document.d.cts","names":["Document","formatDocumentsAsString","Record"],"sources":["../../src/util/document.d.ts"],"sourcesContent":["import { Document } from \"@langchain/core/documents\";\n/**\n * Given a list of documents, this util formats their contents\n * into a string, separated by newlines.\n *\n * @param documents\n * @returns A string of the documents page content, separated by newlines.\n */\nexport declare const formatDocumentsAsString: (documents: Document<Record<string, any>>[]) => string;\n//# sourceMappingURL=document.d.ts.map"],"mappings":";;;;;;AAQA;;;;;cAAqBC,qCAAqCD,SAASE"}
@@ -1 +1 @@
1
- {"version":3,"file":"document.d.ts","names":["Document","formatDocumentsAsString","Record"],"sources":["../../src/util/document.d.ts"],"sourcesContent":["import { Document } from \"@langchain/core/documents\";\n/**\n * Given a list of documents, this util formats their contents\n * into a string, separated by newlines.\n *\n * @param documents\n * @returns A string of the documents page content, separated by newlines.\n */\nexport declare const formatDocumentsAsString: (documents: Document<Record<string, any>>[]) => string;\n"],"mappings":";;;;;;AAQA;;;;AAAkE;cAA7CC,qCAAqCD,SAASE"}
1
+ {"version":3,"file":"document.d.ts","names":["Document","formatDocumentsAsString","Record"],"sources":["../../src/util/document.d.ts"],"sourcesContent":["import { Document } from \"@langchain/core/documents\";\n/**\n * Given a list of documents, this util formats their contents\n * into a string, separated by newlines.\n *\n * @param documents\n * @returns A string of the documents page content, separated by newlines.\n */\nexport declare const formatDocumentsAsString: (documents: Document<Record<string, any>>[]) => string;\n//# sourceMappingURL=document.d.ts.map"],"mappings":";;;;;;AAQA;;;;;cAAqBC,qCAAqCD,SAASE"}
package/dist/util/hub.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_index = require('./p-retry/index.cjs');
2
3
  const require_extname = require('./extname.cjs');
3
- const p_retry = require_rolldown_runtime.__toESM(require("p-retry"));
4
4
  const __langchain_core_utils_env = require_rolldown_runtime.__toESM(require("@langchain/core/utils/env"));
5
5
 
6
6
  //#region src/util/hub.ts
@@ -29,7 +29,7 @@ const loadFromHub = async (uri, loader, validPrefix, validSuffixes, values = {})
29
29
  ref,
30
30
  remotePath
31
31
  ].join("/");
32
- const res = await (0, p_retry.default)(() => fetchWithTimeout(url, { timeout: 5e3 }), { retries: 6 });
32
+ const res = await require_index.pRetry(() => fetchWithTimeout(url, { timeout: 5e3 }), { retries: 6 });
33
33
  if (res.status !== 200) throw new Error(`Could not find file at ${url}`);
34
34
  return loader(await res.text(), remotePath, values);
35
35
  };
@@ -1 +1 @@
1
- {"version":3,"file":"hub.cjs","names":["url: string","init: Omit<RequestInit, \"signal\"> & { timeout: number }","uri: string","loader: FileLoader<T>","validPrefix: string","validSuffixes: Set<string>","values: LoadValues","extname"],"sources":["../../src/util/hub.ts"],"sourcesContent":["import pRetry from \"p-retry\";\n\nimport { getEnvironmentVariable } from \"@langchain/core/utils/env\";\nimport { FileLoader, LoadValues } from \"./load.js\";\nimport { extname } from \"./extname.js\";\n\nconst fetchWithTimeout = async (\n url: string,\n init: Omit<RequestInit, \"signal\"> & { timeout: number }\n) => {\n const { timeout, ...rest } = init;\n const res = await fetch(url, {\n ...rest,\n signal: AbortSignal.timeout(timeout),\n });\n return res;\n};\n\nconst HUB_PATH_REGEX = /lc(@[^:]+)?:\\/\\/(.*)/;\n\nconst URL_PATH_SEPARATOR = \"/\";\n\nexport const loadFromHub = async <T>(\n uri: string,\n loader: FileLoader<T>,\n validPrefix: string,\n validSuffixes: Set<string>,\n values: LoadValues = {}\n): Promise<T | undefined> => {\n const LANGCHAIN_HUB_DEFAULT_REF =\n getEnvironmentVariable(\"LANGCHAIN_HUB_DEFAULT_REF\") ?? \"master\";\n const LANGCHAIN_HUB_URL_BASE =\n getEnvironmentVariable(\"LANGCHAIN_HUB_URL_BASE\") ??\n \"https://raw.githubusercontent.com/hwchase17/langchain-hub/\";\n\n const match = uri.match(HUB_PATH_REGEX);\n if (!match) {\n return undefined;\n }\n const [rawRef, remotePath] = match.slice(1);\n const ref = rawRef ? rawRef.slice(1) : LANGCHAIN_HUB_DEFAULT_REF;\n const parts = remotePath.split(URL_PATH_SEPARATOR);\n if (parts[0] !== validPrefix) {\n return undefined;\n }\n\n if (!validSuffixes.has(extname(remotePath).slice(1))) {\n throw new Error(\"Unsupported file type.\");\n }\n\n const url = [LANGCHAIN_HUB_URL_BASE, ref, remotePath].join(\"/\");\n const res = await pRetry(() => fetchWithTimeout(url, { timeout: 5000 }), {\n retries: 6,\n });\n if (res.status !== 200) {\n throw new Error(`Could not find file at ${url}`);\n }\n\n return loader(await res.text(), remotePath, values);\n};\n"],"mappings":";;;;;;AAMA,MAAM,mBAAmB,OACvBA,KACAC,SACG;CACH,MAAM,EAAE,QAAS,GAAG,MAAM,GAAG;CAC7B,MAAM,MAAM,MAAM,MAAM,KAAK;EAC3B,GAAG;EACH,QAAQ,YAAY,QAAQ,QAAQ;CACrC,EAAC;AACF,QAAO;AACR;AAED,MAAM,iBAAiB;AAEvB,MAAM,qBAAqB;AAE3B,MAAa,cAAc,OACzBC,KACAC,QACAC,aACAC,eACAC,SAAqB,CAAE,MACI;CAC3B,MAAM,mFACmB,4BAA4B,IAAI;CACzD,MAAM,gFACmB,yBAAyB,IAChD;CAEF,MAAM,QAAQ,IAAI,MAAM,eAAe;AACvC,KAAI,CAAC,MACH,QAAO;CAET,MAAM,CAAC,QAAQ,WAAW,GAAG,MAAM,MAAM,EAAE;CAC3C,MAAM,MAAM,SAAS,OAAO,MAAM,EAAE,GAAG;CACvC,MAAM,QAAQ,WAAW,MAAM,mBAAmB;AAClD,KAAI,MAAM,OAAO,YACf,QAAO;AAGT,KAAI,CAAC,cAAc,IAAIC,wBAAQ,WAAW,CAAC,MAAM,EAAE,CAAC,CAClD,OAAM,IAAI,MAAM;CAGlB,MAAM,MAAM;EAAC;EAAwB;EAAK;CAAW,EAAC,KAAK,IAAI;CAC/D,MAAM,MAAM,2BAAa,MAAM,iBAAiB,KAAK,EAAE,SAAS,IAAM,EAAC,EAAE,EACvE,SAAS,EACV,EAAC;AACF,KAAI,IAAI,WAAW,IACjB,OAAM,IAAI,MAAM,CAAC,uBAAuB,EAAE,KAAK;AAGjD,QAAO,OAAO,MAAM,IAAI,MAAM,EAAE,YAAY,OAAO;AACpD"}
1
+ {"version":3,"file":"hub.cjs","names":["url: string","init: Omit<RequestInit, \"signal\"> & { timeout: number }","uri: string","loader: FileLoader<T>","validPrefix: string","validSuffixes: Set<string>","values: LoadValues","extname","pRetry"],"sources":["../../src/util/hub.ts"],"sourcesContent":["import pRetry from \"./p-retry/index.js\";\nimport { getEnvironmentVariable } from \"@langchain/core/utils/env\";\nimport { FileLoader, LoadValues } from \"./load.js\";\nimport { extname } from \"./extname.js\";\n\nconst fetchWithTimeout = async (\n url: string,\n init: Omit<RequestInit, \"signal\"> & { timeout: number }\n) => {\n const { timeout, ...rest } = init;\n const res = await fetch(url, {\n ...rest,\n signal: AbortSignal.timeout(timeout),\n });\n return res;\n};\n\nconst HUB_PATH_REGEX = /lc(@[^:]+)?:\\/\\/(.*)/;\n\nconst URL_PATH_SEPARATOR = \"/\";\n\nexport const loadFromHub = async <T>(\n uri: string,\n loader: FileLoader<T>,\n validPrefix: string,\n validSuffixes: Set<string>,\n values: LoadValues = {}\n): Promise<T | undefined> => {\n const LANGCHAIN_HUB_DEFAULT_REF =\n getEnvironmentVariable(\"LANGCHAIN_HUB_DEFAULT_REF\") ?? \"master\";\n const LANGCHAIN_HUB_URL_BASE =\n getEnvironmentVariable(\"LANGCHAIN_HUB_URL_BASE\") ??\n \"https://raw.githubusercontent.com/hwchase17/langchain-hub/\";\n\n const match = uri.match(HUB_PATH_REGEX);\n if (!match) {\n return undefined;\n }\n const [rawRef, remotePath] = match.slice(1);\n const ref = rawRef ? rawRef.slice(1) : LANGCHAIN_HUB_DEFAULT_REF;\n const parts = remotePath.split(URL_PATH_SEPARATOR);\n if (parts[0] !== validPrefix) {\n return undefined;\n }\n\n if (!validSuffixes.has(extname(remotePath).slice(1))) {\n throw new Error(\"Unsupported file type.\");\n }\n\n const url = [LANGCHAIN_HUB_URL_BASE, ref, remotePath].join(\"/\");\n const res = await pRetry(() => fetchWithTimeout(url, { timeout: 5000 }), {\n retries: 6,\n });\n if (res.status !== 200) {\n throw new Error(`Could not find file at ${url}`);\n }\n\n return loader(await res.text(), remotePath, values);\n};\n"],"mappings":";;;;;;AAKA,MAAM,mBAAmB,OACvBA,KACAC,SACG;CACH,MAAM,EAAE,QAAS,GAAG,MAAM,GAAG;CAC7B,MAAM,MAAM,MAAM,MAAM,KAAK;EAC3B,GAAG;EACH,QAAQ,YAAY,QAAQ,QAAQ;CACrC,EAAC;AACF,QAAO;AACR;AAED,MAAM,iBAAiB;AAEvB,MAAM,qBAAqB;AAE3B,MAAa,cAAc,OACzBC,KACAC,QACAC,aACAC,eACAC,SAAqB,CAAE,MACI;CAC3B,MAAM,mFACmB,4BAA4B,IAAI;CACzD,MAAM,gFACmB,yBAAyB,IAChD;CAEF,MAAM,QAAQ,IAAI,MAAM,eAAe;AACvC,KAAI,CAAC,MACH,QAAO;CAET,MAAM,CAAC,QAAQ,WAAW,GAAG,MAAM,MAAM,EAAE;CAC3C,MAAM,MAAM,SAAS,OAAO,MAAM,EAAE,GAAG;CACvC,MAAM,QAAQ,WAAW,MAAM,mBAAmB;AAClD,KAAI,MAAM,OAAO,YACf,QAAO;AAGT,KAAI,CAAC,cAAc,IAAIC,wBAAQ,WAAW,CAAC,MAAM,EAAE,CAAC,CAClD,OAAM,IAAI,MAAM;CAGlB,MAAM,MAAM;EAAC;EAAwB;EAAK;CAAW,EAAC,KAAK,IAAI;CAC/D,MAAM,MAAM,MAAMC,qBAAO,MAAM,iBAAiB,KAAK,EAAE,SAAS,IAAM,EAAC,EAAE,EACvE,SAAS,EACV,EAAC;AACF,KAAI,IAAI,WAAW,IACjB,OAAM,IAAI,MAAM,CAAC,uBAAuB,EAAE,KAAK;AAGjD,QAAO,OAAO,MAAM,IAAI,MAAM,EAAE,YAAY,OAAO;AACpD"}
package/dist/util/hub.js CHANGED
@@ -1,5 +1,5 @@
1
+ import { pRetry } from "./p-retry/index.js";
1
2
  import { extname } from "./extname.js";
2
- import pRetry from "p-retry";
3
3
  import { getEnvironmentVariable } from "@langchain/core/utils/env";
4
4
 
5
5
  //#region src/util/hub.ts