@langchain/classic 1.0.5 → 1.0.6-dev-1765432861398

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 (1274) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +0 -4
  2. package/dist/_virtual/rolldown_runtime.js +1 -10
  3. package/dist/agents/agent.d.cts +3 -17
  4. package/dist/agents/agent.d.cts.map +1 -0
  5. package/dist/agents/agent.d.ts +3 -17
  6. package/dist/agents/agent.d.ts.map +1 -0
  7. package/dist/agents/chat/index.d.cts.map +1 -0
  8. package/dist/agents/chat/index.d.ts.map +1 -0
  9. package/dist/agents/chat/outputParser.d.cts.map +1 -0
  10. package/dist/agents/chat/outputParser.d.ts +2 -2
  11. package/dist/agents/chat/outputParser.d.ts.map +1 -0
  12. package/dist/agents/chat_convo/index.d.cts.map +1 -0
  13. package/dist/agents/chat_convo/index.d.ts.map +1 -0
  14. package/dist/agents/chat_convo/outputParser.d.cts.map +1 -0
  15. package/dist/agents/chat_convo/outputParser.d.ts.map +1 -0
  16. package/dist/agents/executor.d.cts +1 -5
  17. package/dist/agents/executor.d.cts.map +1 -0
  18. package/dist/agents/executor.d.ts +1 -5
  19. package/dist/agents/executor.d.ts.map +1 -0
  20. package/dist/agents/format_scratchpad/log.d.cts.map +1 -0
  21. package/dist/agents/format_scratchpad/log.d.ts.map +1 -0
  22. package/dist/agents/format_scratchpad/log_to_message.d.cts.map +1 -0
  23. package/dist/agents/format_scratchpad/log_to_message.d.ts.map +1 -0
  24. package/dist/agents/format_scratchpad/openai_functions.d.cts.map +1 -0
  25. package/dist/agents/format_scratchpad/openai_functions.d.ts.map +1 -0
  26. package/dist/agents/format_scratchpad/tool_calling.d.cts.map +1 -0
  27. package/dist/agents/format_scratchpad/tool_calling.d.ts.map +1 -0
  28. package/dist/agents/format_scratchpad/xml.d.cts.map +1 -0
  29. package/dist/agents/format_scratchpad/xml.d.ts.map +1 -0
  30. package/dist/agents/initialize.d.cts +1 -10
  31. package/dist/agents/initialize.d.cts.map +1 -0
  32. package/dist/agents/initialize.d.ts +1 -10
  33. package/dist/agents/initialize.d.ts.map +1 -0
  34. package/dist/agents/load.d.cts +2 -10
  35. package/dist/agents/load.d.cts.map +1 -0
  36. package/dist/agents/load.d.ts +2 -10
  37. package/dist/agents/load.d.ts.map +1 -0
  38. package/dist/agents/mrkl/index.d.cts.map +1 -0
  39. package/dist/agents/mrkl/index.d.ts.map +1 -0
  40. package/dist/agents/mrkl/outputParser.d.cts +1 -1
  41. package/dist/agents/mrkl/outputParser.d.cts.map +1 -0
  42. package/dist/agents/mrkl/outputParser.d.ts +1 -1
  43. package/dist/agents/mrkl/outputParser.d.ts.map +1 -0
  44. package/dist/agents/openai_functions/index.d.cts.map +1 -0
  45. package/dist/agents/openai_functions/index.d.ts.map +1 -0
  46. package/dist/agents/openai_functions/output_parser.d.cts.map +1 -0
  47. package/dist/agents/openai_functions/output_parser.d.ts.map +1 -0
  48. package/dist/agents/openai_tools/index.d.cts +3 -5
  49. package/dist/agents/openai_tools/index.d.cts.map +1 -0
  50. package/dist/agents/openai_tools/index.d.ts +3 -5
  51. package/dist/agents/openai_tools/index.d.ts.map +1 -0
  52. package/dist/agents/openai_tools/output_parser.d.cts.map +1 -0
  53. package/dist/agents/openai_tools/output_parser.d.ts.map +1 -0
  54. package/dist/agents/react/index.d.cts +2 -2
  55. package/dist/agents/react/index.d.cts.map +1 -0
  56. package/dist/agents/react/index.d.ts +2 -2
  57. package/dist/agents/react/index.d.ts.map +1 -0
  58. package/dist/agents/react/output_parser.d.cts.map +1 -0
  59. package/dist/agents/react/output_parser.d.ts.map +1 -0
  60. package/dist/agents/structured_chat/index.d.cts +2 -2
  61. package/dist/agents/structured_chat/index.d.cts.map +1 -0
  62. package/dist/agents/structured_chat/index.d.ts.map +1 -0
  63. package/dist/agents/structured_chat/outputParser.d.cts.map +1 -0
  64. package/dist/agents/structured_chat/outputParser.d.ts.map +1 -0
  65. package/dist/agents/tool_calling/index.d.cts +2 -2
  66. package/dist/agents/tool_calling/index.d.cts.map +1 -0
  67. package/dist/agents/tool_calling/index.d.ts +2 -2
  68. package/dist/agents/tool_calling/index.d.ts.map +1 -0
  69. package/dist/agents/tool_calling/output_parser.d.cts.map +1 -0
  70. package/dist/agents/tool_calling/output_parser.d.ts.map +1 -0
  71. package/dist/agents/toolkits/conversational_retrieval/openai_functions.d.cts.map +1 -0
  72. package/dist/agents/toolkits/conversational_retrieval/openai_functions.d.ts.map +1 -0
  73. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.cts +2 -2
  74. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.cts.map +1 -0
  75. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.ts +2 -2
  76. package/dist/agents/toolkits/conversational_retrieval/token_buffer_memory.d.ts.map +1 -0
  77. package/dist/agents/toolkits/conversational_retrieval/tool.d.cts.map +1 -0
  78. package/dist/agents/toolkits/conversational_retrieval/tool.d.ts.map +1 -0
  79. package/dist/agents/toolkits/json/json.d.cts.map +1 -0
  80. package/dist/agents/toolkits/json/json.d.ts.map +1 -0
  81. package/dist/agents/toolkits/openapi/openapi.d.cts.map +1 -0
  82. package/dist/agents/toolkits/openapi/openapi.d.ts.map +1 -0
  83. package/dist/agents/toolkits/sql/prompt.d.cts.map +1 -0
  84. package/dist/agents/toolkits/sql/prompt.d.ts.map +1 -0
  85. package/dist/agents/toolkits/sql/sql.d.cts.map +1 -0
  86. package/dist/agents/toolkits/sql/sql.d.ts.map +1 -0
  87. package/dist/agents/toolkits/vectorstore/vectorstore.d.cts.map +1 -0
  88. package/dist/agents/toolkits/vectorstore/vectorstore.d.ts.map +1 -0
  89. package/dist/agents/types.d.cts.map +1 -0
  90. package/dist/agents/types.d.ts.map +1 -0
  91. package/dist/agents/xml/index.d.cts.map +1 -0
  92. package/dist/agents/xml/index.d.ts.map +1 -0
  93. package/dist/agents/xml/output_parser.d.cts.map +1 -0
  94. package/dist/agents/xml/output_parser.d.ts.map +1 -0
  95. package/dist/cache/file_system.d.cts.map +1 -0
  96. package/dist/cache/file_system.d.ts.map +1 -0
  97. package/dist/callbacks/handlers/console.d.cts.map +1 -0
  98. package/dist/callbacks/handlers/console.d.ts.map +1 -0
  99. package/dist/callbacks/handlers/run_collector.d.cts.map +1 -0
  100. package/dist/callbacks/handlers/run_collector.d.ts.map +1 -0
  101. package/dist/callbacks/handlers/tracer.d.cts.map +1 -0
  102. package/dist/callbacks/handlers/tracer.d.ts.map +1 -0
  103. package/dist/callbacks/handlers/tracer_langchain.d.cts.map +1 -0
  104. package/dist/callbacks/handlers/tracer_langchain.d.ts.map +1 -0
  105. package/dist/callbacks/promises.d.cts.map +1 -0
  106. package/dist/callbacks/promises.d.ts.map +1 -0
  107. package/dist/chains/analyze_documents_chain.d.cts +0 -1
  108. package/dist/chains/analyze_documents_chain.d.cts.map +1 -0
  109. package/dist/chains/analyze_documents_chain.d.ts +0 -1
  110. package/dist/chains/analyze_documents_chain.d.ts.map +1 -0
  111. package/dist/chains/api/api_chain.d.cts.map +1 -0
  112. package/dist/chains/api/api_chain.d.ts.map +1 -0
  113. package/dist/chains/base.d.cts +1 -4
  114. package/dist/chains/base.d.cts.map +1 -0
  115. package/dist/chains/base.d.ts +1 -4
  116. package/dist/chains/base.d.ts.map +1 -0
  117. package/dist/chains/chat_vector_db_chain.d.cts +0 -1
  118. package/dist/chains/chat_vector_db_chain.d.cts.map +1 -0
  119. package/dist/chains/chat_vector_db_chain.d.ts +0 -1
  120. package/dist/chains/chat_vector_db_chain.d.ts.map +1 -0
  121. package/dist/chains/combine_docs_chain.d.cts +2 -2
  122. package/dist/chains/combine_docs_chain.d.cts.map +1 -0
  123. package/dist/chains/combine_docs_chain.d.ts +2 -2
  124. package/dist/chains/combine_docs_chain.d.ts.map +1 -0
  125. package/dist/chains/combine_documents/reduce.d.cts +1 -3
  126. package/dist/chains/combine_documents/reduce.d.cts.map +1 -0
  127. package/dist/chains/combine_documents/reduce.d.ts +1 -3
  128. package/dist/chains/combine_documents/reduce.d.ts.map +1 -0
  129. package/dist/chains/combine_documents/stuff.d.cts.map +1 -0
  130. package/dist/chains/combine_documents/stuff.d.ts.map +1 -0
  131. package/dist/chains/constitutional_ai/constitutional_chain.d.cts.map +1 -0
  132. package/dist/chains/constitutional_ai/constitutional_chain.d.ts.map +1 -0
  133. package/dist/chains/constitutional_ai/constitutional_principle.d.cts.map +1 -0
  134. package/dist/chains/constitutional_ai/constitutional_principle.d.ts.map +1 -0
  135. package/dist/chains/conversation.d.cts.map +1 -0
  136. package/dist/chains/conversation.d.ts.map +1 -0
  137. package/dist/chains/conversational_retrieval_chain.d.cts +1 -2
  138. package/dist/chains/conversational_retrieval_chain.d.cts.map +1 -0
  139. package/dist/chains/conversational_retrieval_chain.d.ts +1 -2
  140. package/dist/chains/conversational_retrieval_chain.d.ts.map +1 -0
  141. package/dist/chains/graph_qa/cypher.d.cts +0 -3
  142. package/dist/chains/graph_qa/cypher.d.cts.map +1 -0
  143. package/dist/chains/graph_qa/cypher.d.ts +0 -3
  144. package/dist/chains/graph_qa/cypher.d.ts.map +1 -0
  145. package/dist/chains/history_aware_retriever.d.cts.map +1 -0
  146. package/dist/chains/history_aware_retriever.d.ts.map +1 -0
  147. package/dist/chains/llm_chain.d.cts +0 -1
  148. package/dist/chains/llm_chain.d.cts.map +1 -0
  149. package/dist/chains/llm_chain.d.ts +0 -1
  150. package/dist/chains/llm_chain.d.ts.map +1 -0
  151. package/dist/chains/load.d.cts +2 -2
  152. package/dist/chains/load.d.cts.map +1 -0
  153. package/dist/chains/load.d.ts +2 -2
  154. package/dist/chains/load.d.ts.map +1 -0
  155. package/dist/chains/openai_functions/base.d.cts +4 -16
  156. package/dist/chains/openai_functions/base.d.cts.map +1 -0
  157. package/dist/chains/openai_functions/base.d.ts +4 -16
  158. package/dist/chains/openai_functions/base.d.ts.map +1 -0
  159. package/dist/chains/openai_functions/extraction.d.cts.map +1 -0
  160. package/dist/chains/openai_functions/extraction.d.ts.map +1 -0
  161. package/dist/chains/openai_functions/openapi.d.cts +1 -4
  162. package/dist/chains/openai_functions/openapi.d.cts.map +1 -0
  163. package/dist/chains/openai_functions/openapi.d.ts +1 -4
  164. package/dist/chains/openai_functions/openapi.d.ts.map +1 -0
  165. package/dist/chains/openai_functions/tagging.d.cts.map +1 -0
  166. package/dist/chains/openai_functions/tagging.d.ts.map +1 -0
  167. package/dist/chains/openai_moderation.d.cts.map +1 -0
  168. package/dist/chains/openai_moderation.d.ts.map +1 -0
  169. package/dist/chains/query_constructor/index.d.cts +1 -3
  170. package/dist/chains/query_constructor/index.d.cts.map +1 -0
  171. package/dist/chains/query_constructor/index.d.ts +1 -3
  172. package/dist/chains/query_constructor/index.d.ts.map +1 -0
  173. package/dist/chains/query_constructor/parser.d.cts.map +1 -0
  174. package/dist/chains/query_constructor/parser.d.ts.map +1 -0
  175. package/dist/chains/query_constructor/prompt.d.cts.map +1 -0
  176. package/dist/chains/query_constructor/prompt.d.ts.map +1 -0
  177. package/dist/chains/question_answering/load.d.cts +2 -2
  178. package/dist/chains/question_answering/load.d.cts.map +1 -0
  179. package/dist/chains/question_answering/load.d.ts +2 -2
  180. package/dist/chains/question_answering/load.d.ts.map +1 -0
  181. package/dist/chains/retrieval.d.cts +1 -4
  182. package/dist/chains/retrieval.d.cts.map +1 -0
  183. package/dist/chains/retrieval.d.ts +1 -4
  184. package/dist/chains/retrieval.d.ts.map +1 -0
  185. package/dist/chains/retrieval_qa.d.cts +0 -1
  186. package/dist/chains/retrieval_qa.d.cts.map +1 -0
  187. package/dist/chains/retrieval_qa.d.ts +0 -1
  188. package/dist/chains/retrieval_qa.d.ts.map +1 -0
  189. package/dist/chains/router/llm_router.d.cts.map +1 -0
  190. package/dist/chains/router/llm_router.d.ts.map +1 -0
  191. package/dist/chains/router/multi_prompt.d.cts.map +1 -0
  192. package/dist/chains/router/multi_prompt.d.ts.map +1 -0
  193. package/dist/chains/router/multi_retrieval_qa.d.cts.map +1 -0
  194. package/dist/chains/router/multi_retrieval_qa.d.ts.map +1 -0
  195. package/dist/chains/router/multi_route.d.cts.map +1 -0
  196. package/dist/chains/router/multi_route.d.ts.map +1 -0
  197. package/dist/chains/sequential_chain.d.cts.map +1 -0
  198. package/dist/chains/sequential_chain.d.ts.map +1 -0
  199. package/dist/chains/serde.d.cts.map +1 -0
  200. package/dist/chains/serde.d.ts.map +1 -0
  201. package/dist/chains/sql_db/sql_db_chain.d.cts +0 -5
  202. package/dist/chains/sql_db/sql_db_chain.d.cts.map +1 -0
  203. package/dist/chains/sql_db/sql_db_chain.d.ts +0 -5
  204. package/dist/chains/sql_db/sql_db_chain.d.ts.map +1 -0
  205. package/dist/chains/sql_db/sql_db_prompt.d.cts.map +1 -0
  206. package/dist/chains/sql_db/sql_db_prompt.d.ts.map +1 -0
  207. package/dist/chains/summarization/load.d.cts.map +1 -0
  208. package/dist/chains/summarization/load.d.ts +2 -2
  209. package/dist/chains/summarization/load.d.ts.map +1 -0
  210. package/dist/chains/transform.d.cts.map +1 -0
  211. package/dist/chains/transform.d.ts.map +1 -0
  212. package/dist/chains/vector_db_qa.d.cts +0 -1
  213. package/dist/chains/vector_db_qa.d.cts.map +1 -0
  214. package/dist/chains/vector_db_qa.d.ts +0 -1
  215. package/dist/chains/vector_db_qa.d.ts.map +1 -0
  216. package/dist/chat_models/universal.d.cts +4 -21
  217. package/dist/chat_models/universal.d.cts.map +1 -0
  218. package/dist/chat_models/universal.d.ts +4 -21
  219. package/dist/chat_models/universal.d.ts.map +1 -0
  220. package/dist/document_loaders/fs/buffer.d.cts.map +1 -0
  221. package/dist/document_loaders/fs/buffer.d.ts.map +1 -0
  222. package/dist/document_loaders/fs/directory.d.cts +0 -2
  223. package/dist/document_loaders/fs/directory.d.cts.map +1 -0
  224. package/dist/document_loaders/fs/directory.d.ts +0 -2
  225. package/dist/document_loaders/fs/directory.d.ts.map +1 -0
  226. package/dist/document_loaders/fs/json.d.cts.map +1 -0
  227. package/dist/document_loaders/fs/json.d.ts.map +1 -0
  228. package/dist/document_loaders/fs/multi_file.d.cts.map +1 -0
  229. package/dist/document_loaders/fs/multi_file.d.ts.map +1 -0
  230. package/dist/document_loaders/fs/text.d.cts.map +1 -0
  231. package/dist/document_loaders/fs/text.d.ts.map +1 -0
  232. package/dist/document_transformers/openai_functions.d.cts.map +1 -0
  233. package/dist/document_transformers/openai_functions.d.ts.map +1 -0
  234. package/dist/embeddings/cache_backed.d.cts.map +1 -0
  235. package/dist/embeddings/cache_backed.d.ts.map +1 -0
  236. package/dist/evaluation/agents/trajectory.d.cts +2 -2
  237. package/dist/evaluation/agents/trajectory.d.cts.map +1 -0
  238. package/dist/evaluation/agents/trajectory.d.ts +2 -2
  239. package/dist/evaluation/agents/trajectory.d.ts.map +1 -0
  240. package/dist/evaluation/base.d.cts +1 -3
  241. package/dist/evaluation/base.d.cts.map +1 -0
  242. package/dist/evaluation/base.d.ts +1 -3
  243. package/dist/evaluation/base.d.ts.map +1 -0
  244. package/dist/evaluation/comparison/pairwise.d.cts +3 -3
  245. package/dist/evaluation/comparison/pairwise.d.cts.map +1 -0
  246. package/dist/evaluation/comparison/pairwise.d.ts +3 -3
  247. package/dist/evaluation/comparison/pairwise.d.ts.map +1 -0
  248. package/dist/evaluation/criteria/criteria.d.cts +3 -5
  249. package/dist/evaluation/criteria/criteria.d.cts.map +1 -0
  250. package/dist/evaluation/criteria/criteria.d.ts +3 -5
  251. package/dist/evaluation/criteria/criteria.d.ts.map +1 -0
  252. package/dist/evaluation/embedding_distance/base.d.cts.map +1 -0
  253. package/dist/evaluation/embedding_distance/base.d.ts.map +1 -0
  254. package/dist/evaluation/loader.d.cts.map +1 -0
  255. package/dist/evaluation/loader.d.ts.map +1 -0
  256. package/dist/evaluation/qa/eval_chain.d.cts.map +1 -0
  257. package/dist/evaluation/qa/eval_chain.d.ts.map +1 -0
  258. package/dist/evaluation/types.d.cts.map +1 -0
  259. package/dist/evaluation/types.d.ts.map +1 -0
  260. package/dist/experimental/autogpt/agent.d.cts +0 -2
  261. package/dist/experimental/autogpt/agent.d.cts.map +1 -0
  262. package/dist/experimental/autogpt/agent.d.ts +0 -2
  263. package/dist/experimental/autogpt/agent.d.ts.map +1 -0
  264. package/dist/experimental/autogpt/output_parser.d.cts.map +1 -0
  265. package/dist/experimental/autogpt/output_parser.d.ts.map +1 -0
  266. package/dist/experimental/autogpt/prompt.d.cts +2 -2
  267. package/dist/experimental/autogpt/prompt.d.cts.map +1 -0
  268. package/dist/experimental/autogpt/prompt.d.ts +2 -2
  269. package/dist/experimental/autogpt/prompt.d.ts.map +1 -0
  270. package/dist/experimental/autogpt/schema.d.cts +0 -1
  271. package/dist/experimental/autogpt/schema.d.cts.map +1 -0
  272. package/dist/experimental/autogpt/schema.d.ts +0 -1
  273. package/dist/experimental/autogpt/schema.d.ts.map +1 -0
  274. package/dist/experimental/babyagi/agent.d.cts.map +1 -0
  275. package/dist/experimental/babyagi/agent.d.ts.map +1 -0
  276. package/dist/experimental/babyagi/task_creation.d.cts.map +1 -0
  277. package/dist/experimental/babyagi/task_creation.d.ts.map +1 -0
  278. package/dist/experimental/babyagi/task_execution.d.cts.map +1 -0
  279. package/dist/experimental/babyagi/task_execution.d.ts.map +1 -0
  280. package/dist/experimental/babyagi/task_prioritization.d.cts.map +1 -0
  281. package/dist/experimental/babyagi/task_prioritization.d.ts.map +1 -0
  282. package/dist/experimental/chains/violation_of_expectations/types.d.cts.map +1 -0
  283. package/dist/experimental/chains/violation_of_expectations/types.d.ts.map +1 -0
  284. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_chain.d.cts.map +1 -0
  285. package/dist/experimental/chains/violation_of_expectations/violation_of_expectations_chain.d.ts.map +1 -0
  286. package/dist/experimental/generative_agents/generative_agent.d.cts +8 -16
  287. package/dist/experimental/generative_agents/generative_agent.d.cts.map +1 -0
  288. package/dist/experimental/generative_agents/generative_agent.d.ts +8 -16
  289. package/dist/experimental/generative_agents/generative_agent.d.ts.map +1 -0
  290. package/dist/experimental/generative_agents/generative_agent_memory.d.cts +0 -1
  291. package/dist/experimental/generative_agents/generative_agent_memory.d.cts.map +1 -0
  292. package/dist/experimental/generative_agents/generative_agent_memory.d.ts +0 -1
  293. package/dist/experimental/generative_agents/generative_agent_memory.d.ts.map +1 -0
  294. package/dist/experimental/masking/parser.d.cts.map +1 -0
  295. package/dist/experimental/masking/parser.d.ts.map +1 -0
  296. package/dist/experimental/masking/regex_masking_transformer.d.cts.map +1 -0
  297. package/dist/experimental/masking/regex_masking_transformer.d.ts.map +1 -0
  298. package/dist/experimental/masking/transformer.d.cts.map +1 -0
  299. package/dist/experimental/masking/transformer.d.ts.map +1 -0
  300. package/dist/experimental/masking/types.d.cts.map +1 -0
  301. package/dist/experimental/masking/types.d.ts.map +1 -0
  302. package/dist/experimental/openai_assistant/index.d.cts +1 -5
  303. package/dist/experimental/openai_assistant/index.d.cts.map +1 -0
  304. package/dist/experimental/openai_assistant/index.d.ts +1 -5
  305. package/dist/experimental/openai_assistant/index.d.ts.map +1 -0
  306. package/dist/experimental/openai_assistant/schema.d.cts +0 -1
  307. package/dist/experimental/openai_assistant/schema.d.cts.map +1 -0
  308. package/dist/experimental/openai_assistant/schema.d.ts +0 -1
  309. package/dist/experimental/openai_assistant/schema.d.ts.map +1 -0
  310. package/dist/experimental/openai_files/index.d.cts.map +1 -0
  311. package/dist/experimental/openai_files/index.d.ts.map +1 -0
  312. package/dist/experimental/plan_and_execute/agent_executor.d.cts.map +1 -0
  313. package/dist/experimental/plan_and_execute/agent_executor.d.ts.map +1 -0
  314. package/dist/experimental/plan_and_execute/base.d.cts.map +1 -0
  315. package/dist/experimental/plan_and_execute/base.d.ts.map +1 -0
  316. package/dist/experimental/plan_and_execute/outputParser.d.cts.map +1 -0
  317. package/dist/experimental/plan_and_execute/outputParser.d.ts.map +1 -0
  318. package/dist/experimental/prompts/custom_format.d.cts +2 -8
  319. package/dist/experimental/prompts/custom_format.d.cts.map +1 -0
  320. package/dist/experimental/prompts/custom_format.d.ts +2 -8
  321. package/dist/experimental/prompts/custom_format.d.ts.map +1 -0
  322. package/dist/experimental/prompts/handlebars.d.cts +2 -6
  323. package/dist/experimental/prompts/handlebars.d.cts.map +1 -0
  324. package/dist/experimental/prompts/handlebars.d.ts +2 -6
  325. package/dist/experimental/prompts/handlebars.d.ts.map +1 -0
  326. package/dist/hub/base.cjs +1 -1
  327. package/dist/hub/base.cjs.map +1 -1
  328. package/dist/hub/base.d.cts.map +1 -0
  329. package/dist/hub/base.d.ts.map +1 -0
  330. package/dist/hub/base.js +1 -1
  331. package/dist/hub/index.d.cts +0 -1
  332. package/dist/hub/index.d.cts.map +1 -0
  333. package/dist/hub/index.d.ts +0 -1
  334. package/dist/hub/index.d.ts.map +1 -0
  335. package/dist/hub/node.d.cts.map +1 -0
  336. package/dist/hub/node.d.ts.map +1 -0
  337. package/dist/load/import_type.d.cts +0 -1
  338. package/dist/load/import_type.d.cts.map +1 -0
  339. package/dist/load/import_type.d.ts +0 -1
  340. package/dist/load/import_type.d.ts.map +1 -0
  341. package/dist/load/index.d.cts +1 -7
  342. package/dist/load/index.d.cts.map +1 -0
  343. package/dist/load/index.d.ts +1 -7
  344. package/dist/load/index.d.ts.map +1 -0
  345. package/dist/load/map_keys.d.cts +0 -1
  346. package/dist/load/map_keys.d.cts.map +1 -0
  347. package/dist/load/map_keys.d.ts +0 -1
  348. package/dist/load/map_keys.d.ts.map +1 -0
  349. package/dist/load/serializable.d.cts +1 -8
  350. package/dist/load/serializable.d.ts +1 -8
  351. package/dist/memory/buffer_memory.d.cts.map +1 -0
  352. package/dist/memory/buffer_memory.d.ts.map +1 -0
  353. package/dist/memory/buffer_token_memory.d.cts +1 -6
  354. package/dist/memory/buffer_token_memory.d.cts.map +1 -0
  355. package/dist/memory/buffer_token_memory.d.ts +1 -6
  356. package/dist/memory/buffer_token_memory.d.ts.map +1 -0
  357. package/dist/memory/buffer_window_memory.d.cts.map +1 -0
  358. package/dist/memory/buffer_window_memory.d.ts.map +1 -0
  359. package/dist/memory/chat_memory.d.cts.map +1 -0
  360. package/dist/memory/chat_memory.d.ts.map +1 -0
  361. package/dist/memory/combined_memory.d.cts.map +1 -0
  362. package/dist/memory/combined_memory.d.ts.map +1 -0
  363. package/dist/memory/entity_memory.d.cts +0 -5
  364. package/dist/memory/entity_memory.d.cts.map +1 -0
  365. package/dist/memory/entity_memory.d.ts +0 -5
  366. package/dist/memory/entity_memory.d.ts.map +1 -0
  367. package/dist/memory/prompt.d.cts.map +1 -0
  368. package/dist/memory/prompt.d.ts.map +1 -0
  369. package/dist/memory/stores/entity/base.d.cts.map +1 -0
  370. package/dist/memory/stores/entity/base.d.ts.map +1 -0
  371. package/dist/memory/summary.d.cts.map +1 -0
  372. package/dist/memory/summary.d.ts.map +1 -0
  373. package/dist/memory/summary_buffer.d.cts.map +1 -0
  374. package/dist/memory/summary_buffer.d.ts.map +1 -0
  375. package/dist/memory/vector_store.d.cts.map +1 -0
  376. package/dist/memory/vector_store.d.ts.map +1 -0
  377. package/dist/output_parsers/combining.d.cts +0 -1
  378. package/dist/output_parsers/combining.d.cts.map +1 -0
  379. package/dist/output_parsers/combining.d.ts +0 -1
  380. package/dist/output_parsers/combining.d.ts.map +1 -0
  381. package/dist/output_parsers/datetime.d.cts.map +1 -0
  382. package/dist/output_parsers/datetime.d.ts.map +1 -0
  383. package/dist/output_parsers/expression.d.cts.map +1 -0
  384. package/dist/output_parsers/expression.d.ts.map +1 -0
  385. package/dist/output_parsers/expression_type_handlers/base.d.cts +0 -1
  386. package/dist/output_parsers/expression_type_handlers/base.d.cts.map +1 -0
  387. package/dist/output_parsers/expression_type_handlers/base.d.ts +0 -1
  388. package/dist/output_parsers/expression_type_handlers/base.d.ts.map +1 -0
  389. package/dist/output_parsers/expression_type_handlers/factory.d.cts.map +1 -0
  390. package/dist/output_parsers/expression_type_handlers/factory.d.ts.map +1 -0
  391. package/dist/output_parsers/expression_type_handlers/types.d.cts.map +1 -0
  392. package/dist/output_parsers/expression_type_handlers/types.d.ts.map +1 -0
  393. package/dist/output_parsers/fix.d.cts.map +1 -0
  394. package/dist/output_parsers/fix.d.ts.map +1 -0
  395. package/dist/output_parsers/http_response.d.cts.map +1 -0
  396. package/dist/output_parsers/http_response.d.ts.map +1 -0
  397. package/dist/output_parsers/openai_functions.d.cts.map +1 -0
  398. package/dist/output_parsers/openai_functions.d.ts.map +1 -0
  399. package/dist/output_parsers/openai_tools.d.cts +1 -4
  400. package/dist/output_parsers/openai_tools.d.cts.map +1 -0
  401. package/dist/output_parsers/openai_tools.d.ts +1 -4
  402. package/dist/output_parsers/openai_tools.d.ts.map +1 -0
  403. package/dist/output_parsers/regex.d.cts.map +1 -0
  404. package/dist/output_parsers/regex.d.ts.map +1 -0
  405. package/dist/output_parsers/router.d.cts.map +1 -0
  406. package/dist/output_parsers/router.d.ts.map +1 -0
  407. package/dist/output_parsers/structured.d.cts +2 -2
  408. package/dist/output_parsers/structured.d.cts.map +1 -0
  409. package/dist/output_parsers/structured.d.ts +2 -2
  410. package/dist/output_parsers/structured.d.ts.map +1 -0
  411. package/dist/retrievers/contextual_compression.d.cts.map +1 -0
  412. package/dist/retrievers/contextual_compression.d.ts.map +1 -0
  413. package/dist/retrievers/document_compressors/chain_extract.d.cts.map +1 -0
  414. package/dist/retrievers/document_compressors/chain_extract.d.ts.map +1 -0
  415. package/dist/retrievers/document_compressors/embeddings_filter.d.cts.map +1 -0
  416. package/dist/retrievers/document_compressors/embeddings_filter.d.ts.map +1 -0
  417. package/dist/retrievers/document_compressors/index.d.cts +0 -1
  418. package/dist/retrievers/document_compressors/index.d.cts.map +1 -0
  419. package/dist/retrievers/document_compressors/index.d.ts +0 -1
  420. package/dist/retrievers/document_compressors/index.d.ts.map +1 -0
  421. package/dist/retrievers/ensemble.d.cts.map +1 -0
  422. package/dist/retrievers/ensemble.d.ts.map +1 -0
  423. package/dist/retrievers/hyde.d.cts.map +1 -0
  424. package/dist/retrievers/hyde.d.ts.map +1 -0
  425. package/dist/retrievers/matryoshka_retriever.d.cts +0 -1
  426. package/dist/retrievers/matryoshka_retriever.d.cts.map +1 -0
  427. package/dist/retrievers/matryoshka_retriever.d.ts +0 -1
  428. package/dist/retrievers/matryoshka_retriever.d.ts.map +1 -0
  429. package/dist/retrievers/multi_query.d.cts +0 -2
  430. package/dist/retrievers/multi_query.d.cts.map +1 -0
  431. package/dist/retrievers/multi_query.d.ts +0 -2
  432. package/dist/retrievers/multi_query.d.ts.map +1 -0
  433. package/dist/retrievers/multi_vector.d.cts.map +1 -0
  434. package/dist/retrievers/multi_vector.d.ts.map +1 -0
  435. package/dist/retrievers/parent_document.d.cts +0 -1
  436. package/dist/retrievers/parent_document.d.cts.map +1 -0
  437. package/dist/retrievers/parent_document.d.ts +0 -1
  438. package/dist/retrievers/parent_document.d.ts.map +1 -0
  439. package/dist/retrievers/score_threshold.d.cts.map +1 -0
  440. package/dist/retrievers/score_threshold.d.ts.map +1 -0
  441. package/dist/retrievers/self_query/index.d.cts.map +1 -0
  442. package/dist/retrievers/self_query/index.d.ts.map +1 -0
  443. package/dist/retrievers/time_weighted.d.cts.map +1 -0
  444. package/dist/retrievers/time_weighted.d.ts.map +1 -0
  445. package/dist/schema/prompt_template.d.cts +2 -2
  446. package/dist/schema/prompt_template.d.cts.map +1 -0
  447. package/dist/schema/prompt_template.d.ts +2 -2
  448. package/dist/schema/prompt_template.d.ts.map +1 -0
  449. package/dist/schema/query_constructor.d.cts.map +1 -0
  450. package/dist/schema/query_constructor.d.ts.map +1 -0
  451. package/dist/smith/config.d.cts +1 -11
  452. package/dist/smith/config.d.cts.map +1 -0
  453. package/dist/smith/config.d.ts +1 -11
  454. package/dist/smith/config.d.ts.map +1 -0
  455. package/dist/smith/runner_utils.cjs +4 -6
  456. package/dist/smith/runner_utils.cjs.map +1 -1
  457. package/dist/smith/runner_utils.d.cts +2 -7
  458. package/dist/smith/runner_utils.d.cts.map +1 -0
  459. package/dist/smith/runner_utils.d.ts +2 -7
  460. package/dist/smith/runner_utils.d.ts.map +1 -0
  461. package/dist/smith/runner_utils.js +1 -3
  462. package/dist/smith/runner_utils.js.map +1 -1
  463. package/dist/sql_db.d.cts.map +1 -0
  464. package/dist/sql_db.d.ts.map +1 -0
  465. package/dist/storage/encoder_backed.d.cts +0 -1
  466. package/dist/storage/encoder_backed.d.cts.map +1 -0
  467. package/dist/storage/encoder_backed.d.ts +0 -1
  468. package/dist/storage/encoder_backed.d.ts.map +1 -0
  469. package/dist/storage/file_system.d.cts.map +1 -0
  470. package/dist/storage/file_system.d.ts.map +1 -0
  471. package/dist/stores/doc/base.d.cts.map +1 -0
  472. package/dist/stores/doc/base.d.ts.map +1 -0
  473. package/dist/stores/doc/in_memory.d.cts +0 -1
  474. package/dist/stores/doc/in_memory.d.cts.map +1 -0
  475. package/dist/stores/doc/in_memory.d.ts +0 -1
  476. package/dist/stores/doc/in_memory.d.ts.map +1 -0
  477. package/dist/stores/file/base.d.cts.map +1 -0
  478. package/dist/stores/file/base.d.ts.map +1 -0
  479. package/dist/stores/file/in_memory.d.cts.map +1 -0
  480. package/dist/stores/file/in_memory.d.ts.map +1 -0
  481. package/dist/stores/file/node.d.cts.map +1 -0
  482. package/dist/stores/file/node.d.ts.map +1 -0
  483. package/dist/text_splitter.d.cts.map +1 -0
  484. package/dist/text_splitter.d.ts.map +1 -0
  485. package/dist/tools/chain.d.cts.map +1 -0
  486. package/dist/tools/chain.d.ts.map +1 -0
  487. package/dist/tools/fs.d.cts.map +1 -0
  488. package/dist/tools/fs.d.ts.map +1 -0
  489. package/dist/tools/json.d.cts.map +1 -0
  490. package/dist/tools/json.d.ts.map +1 -0
  491. package/dist/tools/render.d.cts.map +1 -0
  492. package/dist/tools/render.d.ts.map +1 -0
  493. package/dist/tools/requests.d.cts.map +1 -0
  494. package/dist/tools/requests.d.ts.map +1 -0
  495. package/dist/tools/retriever.d.cts.map +1 -0
  496. package/dist/tools/retriever.d.ts.map +1 -0
  497. package/dist/tools/sql.d.cts.map +1 -0
  498. package/dist/tools/sql.d.ts.map +1 -0
  499. package/dist/tools/vectorstore.d.cts.map +1 -0
  500. package/dist/tools/vectorstore.d.ts.map +1 -0
  501. package/dist/tools/webbrowser.d.cts +0 -1
  502. package/dist/tools/webbrowser.d.cts.map +1 -0
  503. package/dist/tools/webbrowser.d.ts +0 -1
  504. package/dist/tools/webbrowser.d.ts.map +1 -0
  505. package/dist/types/expression-parser.d.cts +0 -3
  506. package/dist/types/expression-parser.d.cts.map +1 -0
  507. package/dist/types/expression-parser.d.ts +0 -3
  508. package/dist/types/expression-parser.d.ts.map +1 -0
  509. package/dist/types/type-utils.d.cts +0 -2
  510. package/dist/types/type-utils.d.cts.map +1 -0
  511. package/dist/types/type-utils.d.ts +0 -2
  512. package/dist/types/type-utils.d.ts.map +1 -0
  513. package/dist/util/document.d.cts.map +1 -0
  514. package/dist/util/document.d.ts.map +1 -0
  515. package/dist/util/hub.cjs +2 -2
  516. package/dist/util/hub.cjs.map +1 -1
  517. package/dist/util/hub.js +1 -1
  518. package/dist/util/hub.js.map +1 -1
  519. package/dist/util/is-network-error/index.cjs +27 -0
  520. package/dist/util/is-network-error/index.cjs.map +1 -0
  521. package/dist/util/is-network-error/index.js +26 -0
  522. package/dist/util/is-network-error/index.js.map +1 -0
  523. package/dist/util/load.d.cts +0 -1
  524. package/dist/util/load.d.cts.map +1 -0
  525. package/dist/util/load.d.ts +0 -1
  526. package/dist/util/load.d.ts.map +1 -0
  527. package/dist/util/ml-distance/similarities.d.cts.map +1 -0
  528. package/dist/util/ml-distance/similarities.d.ts.map +1 -0
  529. package/dist/util/openapi.d.cts +0 -2
  530. package/dist/util/openapi.d.cts.map +1 -0
  531. package/dist/util/openapi.d.ts +0 -2
  532. package/dist/util/openapi.d.ts.map +1 -0
  533. package/dist/util/p-retry/index.cjs +141 -0
  534. package/dist/util/p-retry/index.cjs.map +1 -0
  535. package/dist/util/p-retry/index.js +141 -0
  536. package/dist/util/p-retry/index.js.map +1 -0
  537. package/dist/util/sql_utils.d.cts.map +1 -0
  538. package/dist/util/sql_utils.d.ts.map +1 -0
  539. package/dist/util/time.d.cts.map +1 -0
  540. package/dist/util/time.d.ts.map +1 -0
  541. package/dist/vectorstores/memory.d.cts +0 -1
  542. package/dist/vectorstores/memory.d.cts.map +1 -0
  543. package/dist/vectorstores/memory.d.ts +0 -1
  544. package/dist/vectorstores/memory.d.ts.map +1 -0
  545. package/package.json +19 -19
  546. package/agents/format_scratchpad/log.cjs +0 -1
  547. package/agents/format_scratchpad/log.d.cts +0 -1
  548. package/agents/format_scratchpad/log.d.ts +0 -1
  549. package/agents/format_scratchpad/log.js +0 -1
  550. package/agents/format_scratchpad/log_to_message.cjs +0 -1
  551. package/agents/format_scratchpad/log_to_message.d.cts +0 -1
  552. package/agents/format_scratchpad/log_to_message.d.ts +0 -1
  553. package/agents/format_scratchpad/log_to_message.js +0 -1
  554. package/agents/format_scratchpad/openai_functions.cjs +0 -1
  555. package/agents/format_scratchpad/openai_functions.d.cts +0 -1
  556. package/agents/format_scratchpad/openai_functions.d.ts +0 -1
  557. package/agents/format_scratchpad/openai_functions.js +0 -1
  558. package/agents/format_scratchpad/openai_tools.cjs +0 -1
  559. package/agents/format_scratchpad/openai_tools.d.cts +0 -1
  560. package/agents/format_scratchpad/openai_tools.d.ts +0 -1
  561. package/agents/format_scratchpad/openai_tools.js +0 -1
  562. package/agents/format_scratchpad/xml.cjs +0 -1
  563. package/agents/format_scratchpad/xml.d.cts +0 -1
  564. package/agents/format_scratchpad/xml.d.ts +0 -1
  565. package/agents/format_scratchpad/xml.js +0 -1
  566. package/agents/load.cjs +0 -1
  567. package/agents/load.d.cts +0 -1
  568. package/agents/load.d.ts +0 -1
  569. package/agents/load.js +0 -1
  570. package/agents/openai/output_parser.cjs +0 -1
  571. package/agents/openai/output_parser.d.cts +0 -1
  572. package/agents/openai/output_parser.d.ts +0 -1
  573. package/agents/openai/output_parser.js +0 -1
  574. package/agents/react/output_parser.cjs +0 -1
  575. package/agents/react/output_parser.d.cts +0 -1
  576. package/agents/react/output_parser.d.ts +0 -1
  577. package/agents/react/output_parser.js +0 -1
  578. package/agents/toolkits/sql.cjs +0 -1
  579. package/agents/toolkits/sql.d.cts +0 -1
  580. package/agents/toolkits/sql.d.ts +0 -1
  581. package/agents/toolkits/sql.js +0 -1
  582. package/agents/toolkits.cjs +0 -1
  583. package/agents/toolkits.d.cts +0 -1
  584. package/agents/toolkits.d.ts +0 -1
  585. package/agents/toolkits.js +0 -1
  586. package/agents/xml/output_parser.cjs +0 -1
  587. package/agents/xml/output_parser.d.cts +0 -1
  588. package/agents/xml/output_parser.d.ts +0 -1
  589. package/agents/xml/output_parser.js +0 -1
  590. package/agents.cjs +0 -1
  591. package/agents.d.cts +0 -1
  592. package/agents.d.ts +0 -1
  593. package/agents.js +0 -1
  594. package/cache/file_system.cjs +0 -1
  595. package/cache/file_system.d.cts +0 -1
  596. package/cache/file_system.d.ts +0 -1
  597. package/cache/file_system.js +0 -1
  598. package/callbacks.cjs +0 -1
  599. package/callbacks.d.cts +0 -1
  600. package/callbacks.d.ts +0 -1
  601. package/callbacks.js +0 -1
  602. package/chains/combine_documents/reduce.cjs +0 -1
  603. package/chains/combine_documents/reduce.d.cts +0 -1
  604. package/chains/combine_documents/reduce.d.ts +0 -1
  605. package/chains/combine_documents/reduce.js +0 -1
  606. package/chains/combine_documents.cjs +0 -1
  607. package/chains/combine_documents.d.cts +0 -1
  608. package/chains/combine_documents.d.ts +0 -1
  609. package/chains/combine_documents.js +0 -1
  610. package/chains/graph_qa/cypher.cjs +0 -1
  611. package/chains/graph_qa/cypher.d.cts +0 -1
  612. package/chains/graph_qa/cypher.d.ts +0 -1
  613. package/chains/graph_qa/cypher.js +0 -1
  614. package/chains/history_aware_retriever.cjs +0 -1
  615. package/chains/history_aware_retriever.d.cts +0 -1
  616. package/chains/history_aware_retriever.d.ts +0 -1
  617. package/chains/history_aware_retriever.js +0 -1
  618. package/chains/load.cjs +0 -1
  619. package/chains/load.d.cts +0 -1
  620. package/chains/load.d.ts +0 -1
  621. package/chains/load.js +0 -1
  622. package/chains/openai_functions.cjs +0 -1
  623. package/chains/openai_functions.d.cts +0 -1
  624. package/chains/openai_functions.d.ts +0 -1
  625. package/chains/openai_functions.js +0 -1
  626. package/chains/query_constructor/ir.cjs +0 -1
  627. package/chains/query_constructor/ir.d.cts +0 -1
  628. package/chains/query_constructor/ir.d.ts +0 -1
  629. package/chains/query_constructor/ir.js +0 -1
  630. package/chains/query_constructor.cjs +0 -1
  631. package/chains/query_constructor.d.cts +0 -1
  632. package/chains/query_constructor.d.ts +0 -1
  633. package/chains/query_constructor.js +0 -1
  634. package/chains/retrieval.cjs +0 -1
  635. package/chains/retrieval.d.cts +0 -1
  636. package/chains/retrieval.d.ts +0 -1
  637. package/chains/retrieval.js +0 -1
  638. package/chains/sql_db.cjs +0 -1
  639. package/chains/sql_db.d.cts +0 -1
  640. package/chains/sql_db.d.ts +0 -1
  641. package/chains/sql_db.js +0 -1
  642. package/chains.cjs +0 -1
  643. package/chains.d.cts +0 -1
  644. package/chains.d.ts +0 -1
  645. package/chains.js +0 -1
  646. package/chat_models/universal.cjs +0 -1
  647. package/chat_models/universal.d.cts +0 -1
  648. package/chat_models/universal.d.ts +0 -1
  649. package/chat_models/universal.js +0 -1
  650. package/dist/langchain-core/dist/load/map_keys.d.cts +0 -10
  651. package/dist/langchain-core/dist/load/serializable.d.cts +0 -82
  652. package/dist/langchain-core/dist/messages/base.d.cts +0 -127
  653. package/dist/langchain-core/dist/messages/content/base.d.cts +0 -22
  654. package/dist/langchain-core/dist/messages/content/data.d.cts +0 -96
  655. package/dist/langchain-core/dist/messages/content/index.d.cts +0 -121
  656. package/dist/langchain-core/dist/messages/content/multimodal.d.cts +0 -110
  657. package/dist/langchain-core/dist/messages/content/tools.d.cts +0 -130
  658. package/dist/langchain-core/dist/messages/format.d.cts +0 -8
  659. package/dist/langchain-core/dist/messages/message.d.cts +0 -598
  660. package/dist/langchain-core/dist/messages/metadata.d.cts +0 -100
  661. package/dist/langchain-core/dist/messages/utils.d.cts +0 -75
  662. package/dist/langchain-core/dist/prompt_values.d.cts +0 -13
  663. package/dist/langchain-core/dist/tools/types.d.cts +0 -28
  664. package/dist/langchain-core/dist/utils/types/index.d.cts +0 -8
  665. package/dist/libs/langchain-core/dist/callbacks/base.d.ts +0 -1
  666. package/dist/libs/langchain-core/dist/callbacks/manager.d.ts +0 -2
  667. package/dist/libs/langchain-core/dist/language_models/base.d.ts +0 -8
  668. package/dist/libs/langchain-core/dist/load/map_keys.d.ts +0 -10
  669. package/dist/libs/langchain-core/dist/load/serializable.d.ts +0 -82
  670. package/dist/libs/langchain-core/dist/messages/base.d.ts +0 -127
  671. package/dist/libs/langchain-core/dist/messages/content/base.d.ts +0 -22
  672. package/dist/libs/langchain-core/dist/messages/content/data.d.ts +0 -96
  673. package/dist/libs/langchain-core/dist/messages/content/index.d.ts +0 -121
  674. package/dist/libs/langchain-core/dist/messages/content/multimodal.d.ts +0 -110
  675. package/dist/libs/langchain-core/dist/messages/content/tools.d.ts +0 -130
  676. package/dist/libs/langchain-core/dist/messages/format.d.ts +0 -8
  677. package/dist/libs/langchain-core/dist/messages/message.d.ts +0 -598
  678. package/dist/libs/langchain-core/dist/messages/metadata.d.ts +0 -100
  679. package/dist/libs/langchain-core/dist/messages/utils.d.ts +0 -75
  680. package/dist/libs/langchain-core/dist/prompt_values.d.ts +0 -13
  681. package/dist/libs/langchain-core/dist/runnables/base.d.ts +0 -8
  682. package/dist/libs/langchain-core/dist/runnables/config.d.ts +0 -2
  683. package/dist/libs/langchain-core/dist/runnables/graph.d.ts +0 -1
  684. package/dist/libs/langchain-core/dist/runnables/types.d.ts +0 -2
  685. package/dist/libs/langchain-core/dist/tools/types.d.ts +0 -36
  686. package/dist/libs/langchain-core/dist/tracers/base.d.ts +0 -2
  687. package/dist/libs/langchain-core/dist/tracers/event_stream.d.ts +0 -2
  688. package/dist/libs/langchain-core/dist/tracers/log_stream.d.ts +0 -3
  689. package/dist/libs/langchain-core/dist/utils/json_schema.d.ts +0 -8
  690. package/dist/libs/langchain-core/dist/utils/types/index.d.ts +0 -10
  691. package/dist/libs/langchain-core/dist/utils/types/zod.d.ts +0 -1
  692. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/Options.d.ts +0 -3
  693. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/Refs.d.ts +0 -3
  694. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/errorMessages.d.ts +0 -2
  695. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/index.d.ts +0 -13
  696. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parseDef.d.ts +0 -3
  697. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parseTypes.d.ts +0 -21
  698. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/any.d.ts +0 -1
  699. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/array.d.ts +0 -4
  700. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/bigint.d.ts +0 -3
  701. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/branded.d.ts +0 -3
  702. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/catch.d.ts +0 -3
  703. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/date.d.ts +0 -5
  704. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/default.d.ts +0 -3
  705. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/effects.d.ts +0 -3
  706. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/enum.d.ts +0 -1
  707. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/intersection.d.ts +0 -3
  708. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/literal.d.ts +0 -2
  709. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/map.d.ts +0 -4
  710. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts +0 -1
  711. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/never.d.ts +0 -2
  712. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/null.d.ts +0 -1
  713. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/nullable.d.ts +0 -4
  714. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/number.d.ts +0 -3
  715. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/object.d.ts +0 -3
  716. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/optional.d.ts +0 -3
  717. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/pipeline.d.ts +0 -4
  718. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/promise.d.ts +0 -3
  719. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/readonly.d.ts +0 -3
  720. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/record.d.ts +0 -5
  721. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/set.d.ts +0 -4
  722. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/string.d.ts +0 -3
  723. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/tuple.d.ts +0 -3
  724. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/undefined.d.ts +0 -2
  725. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/union.d.ts +0 -3
  726. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/parsers/unknown.d.ts +0 -2
  727. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/selectParser.d.ts +0 -2
  728. package/dist/libs/langchain-core/dist/utils/zod-to-json-schema/zodToJsonSchema.d.ts +0 -3
  729. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs +0 -248
  730. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.map +0 -1
  731. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +0 -244
  732. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/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/client.cjs +0 -3096
  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/client.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/client.js +0 -3095
  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/client.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/env.cjs +0 -12
  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/env.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/env.js +0 -12
  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/env.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/experimental/otel/constants.cjs +0 -71
  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/experimental/otel/constants.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/experimental/otel/constants.js +0 -38
  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/experimental/otel/constants.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/experimental/otel/translator.cjs +0 -221
  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/experimental/otel/translator.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/experimental/otel/translator.js +0 -221
  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/experimental/otel/translator.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/dist/index.cjs +0 -11
  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/dist/index.cjs.map +0 -1
  751. 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
  752. 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
  753. 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
  754. 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
  755. 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
  756. 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
  757. 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
  758. 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
  759. 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
  760. 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
  761. 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
  762. 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
  763. 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
  764. 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
  765. 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
  766. 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
  767. 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
  768. 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
  769. 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
  770. 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
  771. 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
  772. 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
  773. 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
  774. 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
  775. 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
  776. 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
  777. 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
  778. 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
  779. 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
  780. 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
  781. 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
  782. 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
  783. 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
  784. 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
  785. 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
  786. 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
  787. 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
  788. 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
  789. 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
  790. 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
  791. 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
  792. 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
  793. 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
  794. 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
  795. 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
  796. 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
  797. 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
  798. 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
  799. 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
  800. 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
  801. 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
  802. 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
  803. 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
  804. 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
  805. 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
  806. 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
  807. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs +0 -27
  808. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.map +0 -1
  809. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js +0 -23
  810. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js.map +0 -1
  811. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs +0 -267
  812. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.map +0 -1
  813. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js +0 -263
  814. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js.map +0 -1
  815. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs +0 -32
  816. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.map +0 -1
  817. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js +0 -28
  818. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js.map +0 -1
  819. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs +0 -49
  820. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.map +0 -1
  821. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js +0 -45
  822. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js.map +0 -1
  823. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs +0 -52
  824. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.map +0 -1
  825. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js +0 -48
  826. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js.map +0 -1
  827. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs +0 -90
  828. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs.map +0 -1
  829. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js +0 -86
  830. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js.map +0 -1
  831. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs +0 -294
  832. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs.map +0 -1
  833. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js +0 -290
  834. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js.map +0 -1
  835. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs +0 -191
  836. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs.map +0 -1
  837. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js +0 -187
  838. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js.map +0 -1
  839. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs +0 -24
  840. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs.map +0 -1
  841. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js +0 -20
  842. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js.map +0 -1
  843. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs +0 -51
  844. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs.map +0 -1
  845. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js +0 -47
  846. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js.map +0 -1
  847. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs +0 -48
  848. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs.map +0 -1
  849. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js +0 -44
  850. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js.map +0 -1
  851. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs +0 -25
  852. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs.map +0 -1
  853. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js +0 -21
  854. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js.map +0 -1
  855. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs +0 -21
  856. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs.map +0 -1
  857. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js +0 -17
  858. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js.map +0 -1
  859. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs +0 -21
  860. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs.map +0 -1
  861. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js +0 -17
  862. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js.map +0 -1
  863. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs +0 -43
  864. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs.map +0 -1
  865. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js +0 -39
  866. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js.map +0 -1
  867. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs +0 -21
  868. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs.map +0 -1
  869. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js +0 -17
  870. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js.map +0 -1
  871. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs +0 -21
  872. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs.map +0 -1
  873. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js +0 -17
  874. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js.map +0 -1
  875. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs +0 -21
  876. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs.map +0 -1
  877. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js +0 -17
  878. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js.map +0 -1
  879. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs +0 -32
  880. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs.map +0 -1
  881. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js +0 -28
  882. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js.map +0 -1
  883. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs +0 -21
  884. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs.map +0 -1
  885. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js +0 -17
  886. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js.map +0 -1
  887. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs +0 -21
  888. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs.map +0 -1
  889. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js +0 -17
  890. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js.map +0 -1
  891. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs +0 -21
  892. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs.map +0 -1
  893. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js +0 -17
  894. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js.map +0 -1
  895. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs +0 -21
  896. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs.map +0 -1
  897. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js +0 -17
  898. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js.map +0 -1
  899. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs +0 -21
  900. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs.map +0 -1
  901. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js +0 -17
  902. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js.map +0 -1
  903. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs +0 -29
  904. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs.map +0 -1
  905. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js +0 -25
  906. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js.map +0 -1
  907. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs +0 -21
  908. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs.map +0 -1
  909. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js +0 -17
  910. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js.map +0 -1
  911. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs +0 -24
  912. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs.map +0 -1
  913. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js +0 -20
  914. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js.map +0 -1
  915. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs +0 -21
  916. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs.map +0 -1
  917. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js +0 -17
  918. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js.map +0 -1
  919. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs +0 -21
  920. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs.map +0 -1
  921. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js +0 -17
  922. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js.map +0 -1
  923. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs +0 -28
  924. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs.map +0 -1
  925. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js +0 -24
  926. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js.map +0 -1
  927. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs +0 -21
  928. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs.map +0 -1
  929. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js +0 -17
  930. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js.map +0 -1
  931. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs +0 -24
  932. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs.map +0 -1
  933. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js +0 -20
  934. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js.map +0 -1
  935. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs +0 -146
  936. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs.map +0 -1
  937. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js +0 -142
  938. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js.map +0 -1
  939. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs +0 -41
  940. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs.map +0 -1
  941. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js +0 -37
  942. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js.map +0 -1
  943. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs +0 -19
  944. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs.map +0 -1
  945. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js +0 -15
  946. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js.map +0 -1
  947. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs +0 -32
  948. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs.map +0 -1
  949. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js +0 -28
  950. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js.map +0 -1
  951. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs +0 -47
  952. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs.map +0 -1
  953. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js +0 -43
  954. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js.map +0 -1
  955. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs +0 -25
  956. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs.map +0 -1
  957. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js +0 -21
  958. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js.map +0 -1
  959. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs +0 -94
  960. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs.map +0 -1
  961. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js +0 -90
  962. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js.map +0 -1
  963. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs +0 -21
  964. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs.map +0 -1
  965. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js +0 -17
  966. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js.map +0 -1
  967. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs +0 -25
  968. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs.map +0 -1
  969. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js +0 -21
  970. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js.map +0 -1
  971. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs +0 -21
  972. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs.map +0 -1
  973. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js +0 -17
  974. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js.map +0 -1
  975. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs +0 -41
  976. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs.map +0 -1
  977. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js +0 -37
  978. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js.map +0 -1
  979. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs +0 -41
  980. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs.map +0 -1
  981. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js +0 -37
  982. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js.map +0 -1
  983. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs +0 -55
  984. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs.map +0 -1
  985. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js +0 -51
  986. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js.map +0 -1
  987. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs +0 -74
  988. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs.map +0 -1
  989. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js +0 -70
  990. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js.map +0 -1
  991. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs +0 -48
  992. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs.map +0 -1
  993. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js +0 -44
  994. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js.map +0 -1
  995. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs +0 -112
  996. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs.map +0 -1
  997. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js +0 -108
  998. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js.map +0 -1
  999. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs +0 -21
  1000. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs.map +0 -1
  1001. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js +0 -17
  1002. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js.map +0 -1
  1003. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs +0 -27
  1004. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs.map +0 -1
  1005. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js +0 -23
  1006. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js.map +0 -1
  1007. package/document.cjs +0 -1
  1008. package/document.d.cts +0 -1
  1009. package/document.d.ts +0 -1
  1010. package/document.js +0 -1
  1011. package/document_loaders/base.cjs +0 -1
  1012. package/document_loaders/base.d.cts +0 -1
  1013. package/document_loaders/base.d.ts +0 -1
  1014. package/document_loaders/base.js +0 -1
  1015. package/document_loaders/fs/buffer.cjs +0 -1
  1016. package/document_loaders/fs/buffer.d.cts +0 -1
  1017. package/document_loaders/fs/buffer.d.ts +0 -1
  1018. package/document_loaders/fs/buffer.js +0 -1
  1019. package/document_loaders/fs/directory.cjs +0 -1
  1020. package/document_loaders/fs/directory.d.cts +0 -1
  1021. package/document_loaders/fs/directory.d.ts +0 -1
  1022. package/document_loaders/fs/directory.js +0 -1
  1023. package/document_loaders/fs/json.cjs +0 -1
  1024. package/document_loaders/fs/json.d.cts +0 -1
  1025. package/document_loaders/fs/json.d.ts +0 -1
  1026. package/document_loaders/fs/json.js +0 -1
  1027. package/document_loaders/fs/multi_file.cjs +0 -1
  1028. package/document_loaders/fs/multi_file.d.cts +0 -1
  1029. package/document_loaders/fs/multi_file.d.ts +0 -1
  1030. package/document_loaders/fs/multi_file.js +0 -1
  1031. package/document_loaders/fs/text.cjs +0 -1
  1032. package/document_loaders/fs/text.d.cts +0 -1
  1033. package/document_loaders/fs/text.d.ts +0 -1
  1034. package/document_loaders/fs/text.js +0 -1
  1035. package/document_transformers/openai_functions.cjs +0 -1
  1036. package/document_transformers/openai_functions.d.cts +0 -1
  1037. package/document_transformers/openai_functions.d.ts +0 -1
  1038. package/document_transformers/openai_functions.js +0 -1
  1039. package/embeddings/cache_backed.cjs +0 -1
  1040. package/embeddings/cache_backed.d.cts +0 -1
  1041. package/embeddings/cache_backed.d.ts +0 -1
  1042. package/embeddings/cache_backed.js +0 -1
  1043. package/embeddings/fake.cjs +0 -1
  1044. package/embeddings/fake.d.cts +0 -1
  1045. package/embeddings/fake.d.ts +0 -1
  1046. package/embeddings/fake.js +0 -1
  1047. package/evaluation.cjs +0 -1
  1048. package/evaluation.d.cts +0 -1
  1049. package/evaluation.d.ts +0 -1
  1050. package/evaluation.js +0 -1
  1051. package/experimental/autogpt.cjs +0 -1
  1052. package/experimental/autogpt.d.cts +0 -1
  1053. package/experimental/autogpt.d.ts +0 -1
  1054. package/experimental/autogpt.js +0 -1
  1055. package/experimental/babyagi.cjs +0 -1
  1056. package/experimental/babyagi.d.cts +0 -1
  1057. package/experimental/babyagi.d.ts +0 -1
  1058. package/experimental/babyagi.js +0 -1
  1059. package/experimental/chains/violation_of_expectations.cjs +0 -1
  1060. package/experimental/chains/violation_of_expectations.d.cts +0 -1
  1061. package/experimental/chains/violation_of_expectations.d.ts +0 -1
  1062. package/experimental/chains/violation_of_expectations.js +0 -1
  1063. package/experimental/generative_agents.cjs +0 -1
  1064. package/experimental/generative_agents.d.cts +0 -1
  1065. package/experimental/generative_agents.d.ts +0 -1
  1066. package/experimental/generative_agents.js +0 -1
  1067. package/experimental/masking.cjs +0 -1
  1068. package/experimental/masking.d.cts +0 -1
  1069. package/experimental/masking.d.ts +0 -1
  1070. package/experimental/masking.js +0 -1
  1071. package/experimental/openai_assistant.cjs +0 -1
  1072. package/experimental/openai_assistant.d.cts +0 -1
  1073. package/experimental/openai_assistant.d.ts +0 -1
  1074. package/experimental/openai_assistant.js +0 -1
  1075. package/experimental/openai_files.cjs +0 -1
  1076. package/experimental/openai_files.d.cts +0 -1
  1077. package/experimental/openai_files.d.ts +0 -1
  1078. package/experimental/openai_files.js +0 -1
  1079. package/experimental/plan_and_execute.cjs +0 -1
  1080. package/experimental/plan_and_execute.d.cts +0 -1
  1081. package/experimental/plan_and_execute.d.ts +0 -1
  1082. package/experimental/plan_and_execute.js +0 -1
  1083. package/experimental/prompts/custom_format.cjs +0 -1
  1084. package/experimental/prompts/custom_format.d.cts +0 -1
  1085. package/experimental/prompts/custom_format.d.ts +0 -1
  1086. package/experimental/prompts/custom_format.js +0 -1
  1087. package/experimental/prompts/handlebars.cjs +0 -1
  1088. package/experimental/prompts/handlebars.d.cts +0 -1
  1089. package/experimental/prompts/handlebars.d.ts +0 -1
  1090. package/experimental/prompts/handlebars.js +0 -1
  1091. package/hub/node.cjs +0 -1
  1092. package/hub/node.d.cts +0 -1
  1093. package/hub/node.d.ts +0 -1
  1094. package/hub/node.js +0 -1
  1095. package/hub.cjs +0 -1
  1096. package/hub.d.cts +0 -1
  1097. package/hub.d.ts +0 -1
  1098. package/hub.js +0 -1
  1099. package/indexes.cjs +0 -1
  1100. package/indexes.d.cts +0 -1
  1101. package/indexes.d.ts +0 -1
  1102. package/indexes.js +0 -1
  1103. package/load/serializable.cjs +0 -1
  1104. package/load/serializable.d.cts +0 -1
  1105. package/load/serializable.d.ts +0 -1
  1106. package/load/serializable.js +0 -1
  1107. package/load.cjs +0 -1
  1108. package/load.d.cts +0 -1
  1109. package/load.d.ts +0 -1
  1110. package/load.js +0 -1
  1111. package/memory/chat_memory.cjs +0 -1
  1112. package/memory/chat_memory.d.cts +0 -1
  1113. package/memory/chat_memory.d.ts +0 -1
  1114. package/memory/chat_memory.js +0 -1
  1115. package/memory.cjs +0 -1
  1116. package/memory.d.cts +0 -1
  1117. package/memory.d.ts +0 -1
  1118. package/memory.js +0 -1
  1119. package/output_parsers/expression.cjs +0 -1
  1120. package/output_parsers/expression.d.cts +0 -1
  1121. package/output_parsers/expression.d.ts +0 -1
  1122. package/output_parsers/expression.js +0 -1
  1123. package/output_parsers.cjs +0 -1
  1124. package/output_parsers.d.cts +0 -1
  1125. package/output_parsers.d.ts +0 -1
  1126. package/output_parsers.js +0 -1
  1127. package/retrievers/contextual_compression.cjs +0 -1
  1128. package/retrievers/contextual_compression.d.cts +0 -1
  1129. package/retrievers/contextual_compression.d.ts +0 -1
  1130. package/retrievers/contextual_compression.js +0 -1
  1131. package/retrievers/document_compressors/chain_extract.cjs +0 -1
  1132. package/retrievers/document_compressors/chain_extract.d.cts +0 -1
  1133. package/retrievers/document_compressors/chain_extract.d.ts +0 -1
  1134. package/retrievers/document_compressors/chain_extract.js +0 -1
  1135. package/retrievers/document_compressors/embeddings_filter.cjs +0 -1
  1136. package/retrievers/document_compressors/embeddings_filter.d.cts +0 -1
  1137. package/retrievers/document_compressors/embeddings_filter.d.ts +0 -1
  1138. package/retrievers/document_compressors/embeddings_filter.js +0 -1
  1139. package/retrievers/document_compressors.cjs +0 -1
  1140. package/retrievers/document_compressors.d.cts +0 -1
  1141. package/retrievers/document_compressors.d.ts +0 -1
  1142. package/retrievers/document_compressors.js +0 -1
  1143. package/retrievers/ensemble.cjs +0 -1
  1144. package/retrievers/ensemble.d.cts +0 -1
  1145. package/retrievers/ensemble.d.ts +0 -1
  1146. package/retrievers/ensemble.js +0 -1
  1147. package/retrievers/hyde.cjs +0 -1
  1148. package/retrievers/hyde.d.cts +0 -1
  1149. package/retrievers/hyde.d.ts +0 -1
  1150. package/retrievers/hyde.js +0 -1
  1151. package/retrievers/matryoshka_retriever.cjs +0 -1
  1152. package/retrievers/matryoshka_retriever.d.cts +0 -1
  1153. package/retrievers/matryoshka_retriever.d.ts +0 -1
  1154. package/retrievers/matryoshka_retriever.js +0 -1
  1155. package/retrievers/multi_query.cjs +0 -1
  1156. package/retrievers/multi_query.d.cts +0 -1
  1157. package/retrievers/multi_query.d.ts +0 -1
  1158. package/retrievers/multi_query.js +0 -1
  1159. package/retrievers/multi_vector.cjs +0 -1
  1160. package/retrievers/multi_vector.d.cts +0 -1
  1161. package/retrievers/multi_vector.d.ts +0 -1
  1162. package/retrievers/multi_vector.js +0 -1
  1163. package/retrievers/parent_document.cjs +0 -1
  1164. package/retrievers/parent_document.d.cts +0 -1
  1165. package/retrievers/parent_document.d.ts +0 -1
  1166. package/retrievers/parent_document.js +0 -1
  1167. package/retrievers/score_threshold.cjs +0 -1
  1168. package/retrievers/score_threshold.d.cts +0 -1
  1169. package/retrievers/score_threshold.d.ts +0 -1
  1170. package/retrievers/score_threshold.js +0 -1
  1171. package/retrievers/self_query/functional.cjs +0 -1
  1172. package/retrievers/self_query/functional.d.cts +0 -1
  1173. package/retrievers/self_query/functional.d.ts +0 -1
  1174. package/retrievers/self_query/functional.js +0 -1
  1175. package/retrievers/self_query.cjs +0 -1
  1176. package/retrievers/self_query.d.cts +0 -1
  1177. package/retrievers/self_query.d.ts +0 -1
  1178. package/retrievers/self_query.js +0 -1
  1179. package/retrievers/time_weighted.cjs +0 -1
  1180. package/retrievers/time_weighted.d.cts +0 -1
  1181. package/retrievers/time_weighted.d.ts +0 -1
  1182. package/retrievers/time_weighted.js +0 -1
  1183. package/schema/prompt_template.cjs +0 -1
  1184. package/schema/prompt_template.d.cts +0 -1
  1185. package/schema/prompt_template.d.ts +0 -1
  1186. package/schema/prompt_template.js +0 -1
  1187. package/schema/query_constructor.cjs +0 -1
  1188. package/schema/query_constructor.d.cts +0 -1
  1189. package/schema/query_constructor.d.ts +0 -1
  1190. package/schema/query_constructor.js +0 -1
  1191. package/smith.cjs +0 -1
  1192. package/smith.d.cts +0 -1
  1193. package/smith.d.ts +0 -1
  1194. package/smith.js +0 -1
  1195. package/sql_db.cjs +0 -1
  1196. package/sql_db.d.cts +0 -1
  1197. package/sql_db.d.ts +0 -1
  1198. package/sql_db.js +0 -1
  1199. package/storage/encoder_backed.cjs +0 -1
  1200. package/storage/encoder_backed.d.cts +0 -1
  1201. package/storage/encoder_backed.d.ts +0 -1
  1202. package/storage/encoder_backed.js +0 -1
  1203. package/storage/file_system.cjs +0 -1
  1204. package/storage/file_system.d.cts +0 -1
  1205. package/storage/file_system.d.ts +0 -1
  1206. package/storage/file_system.js +0 -1
  1207. package/storage/in_memory.cjs +0 -1
  1208. package/storage/in_memory.d.cts +0 -1
  1209. package/storage/in_memory.d.ts +0 -1
  1210. package/storage/in_memory.js +0 -1
  1211. package/stores/doc/base.cjs +0 -1
  1212. package/stores/doc/base.d.cts +0 -1
  1213. package/stores/doc/base.d.ts +0 -1
  1214. package/stores/doc/base.js +0 -1
  1215. package/stores/doc/in_memory.cjs +0 -1
  1216. package/stores/doc/in_memory.d.cts +0 -1
  1217. package/stores/doc/in_memory.d.ts +0 -1
  1218. package/stores/doc/in_memory.js +0 -1
  1219. package/stores/file/in_memory.cjs +0 -1
  1220. package/stores/file/in_memory.d.cts +0 -1
  1221. package/stores/file/in_memory.d.ts +0 -1
  1222. package/stores/file/in_memory.js +0 -1
  1223. package/stores/file/node.cjs +0 -1
  1224. package/stores/file/node.d.cts +0 -1
  1225. package/stores/file/node.d.ts +0 -1
  1226. package/stores/file/node.js +0 -1
  1227. package/stores/message/in_memory.cjs +0 -1
  1228. package/stores/message/in_memory.d.cts +0 -1
  1229. package/stores/message/in_memory.d.ts +0 -1
  1230. package/stores/message/in_memory.js +0 -1
  1231. package/text_splitter.cjs +0 -1
  1232. package/text_splitter.d.cts +0 -1
  1233. package/text_splitter.d.ts +0 -1
  1234. package/text_splitter.js +0 -1
  1235. package/tools/chain.cjs +0 -1
  1236. package/tools/chain.d.cts +0 -1
  1237. package/tools/chain.d.ts +0 -1
  1238. package/tools/chain.js +0 -1
  1239. package/tools/render.cjs +0 -1
  1240. package/tools/render.d.cts +0 -1
  1241. package/tools/render.d.ts +0 -1
  1242. package/tools/render.js +0 -1
  1243. package/tools/retriever.cjs +0 -1
  1244. package/tools/retriever.d.cts +0 -1
  1245. package/tools/retriever.d.ts +0 -1
  1246. package/tools/retriever.js +0 -1
  1247. package/tools/sql.cjs +0 -1
  1248. package/tools/sql.d.cts +0 -1
  1249. package/tools/sql.d.ts +0 -1
  1250. package/tools/sql.js +0 -1
  1251. package/tools/webbrowser.cjs +0 -1
  1252. package/tools/webbrowser.d.cts +0 -1
  1253. package/tools/webbrowser.d.ts +0 -1
  1254. package/tools/webbrowser.js +0 -1
  1255. package/tools.cjs +0 -1
  1256. package/tools.d.cts +0 -1
  1257. package/tools.d.ts +0 -1
  1258. package/tools.js +0 -1
  1259. package/util/document.cjs +0 -1
  1260. package/util/document.d.cts +0 -1
  1261. package/util/document.d.ts +0 -1
  1262. package/util/document.js +0 -1
  1263. package/util/math.cjs +0 -1
  1264. package/util/math.d.cts +0 -1
  1265. package/util/math.d.ts +0 -1
  1266. package/util/math.js +0 -1
  1267. package/util/time.cjs +0 -1
  1268. package/util/time.d.cts +0 -1
  1269. package/util/time.d.ts +0 -1
  1270. package/util/time.js +0 -1
  1271. package/vectorstores/memory.cjs +0 -1
  1272. package/vectorstores/memory.d.cts +0 -1
  1273. package/vectorstores/memory.d.ts +0 -1
  1274. package/vectorstores/memory.js +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"run_trees.js","names":["value","uuid"],"sources":["../../../../../../../../../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"],"sourcesContent":["import * as uuid from \"uuid\";\nimport { Client } from \"./client.js\";\nimport { isTracingEnabled } from \"./env.js\";\nimport { isConflictingEndpointsError, ConflictingEndpointsError, } from \"./utils/error.js\";\nimport { _LC_CONTEXT_VARIABLES_KEY } from \"./singletons/constants.js\";\nimport { getEnvironmentVariable, getRuntimeEnvironment, } from \"./utils/env.js\";\nimport { getDefaultProjectName } from \"./utils/project.js\";\nimport { getLangSmithEnvironmentVariable } from \"./utils/env.js\";\nimport { warnOnce } from \"./utils/warn.js\";\nfunction stripNonAlphanumeric(input) {\n return input.replace(/[-:.]/g, \"\");\n}\nexport function convertToDottedOrderFormat(epoch, runId, executionOrder = 1) {\n // Date only has millisecond precision, so we use the microseconds to break\n // possible ties, avoiding incorrect run order\n const paddedOrder = executionOrder.toFixed(0).slice(0, 3).padStart(3, \"0\");\n const microsecondPrecisionDatestring = `${new Date(epoch)\n .toISOString()\n .slice(0, -1)}${paddedOrder}Z`;\n return {\n dottedOrder: stripNonAlphanumeric(microsecondPrecisionDatestring) + runId,\n microsecondPrecisionDatestring,\n };\n}\n/**\n * Baggage header information\n */\nclass Baggage {\n constructor(metadata, tags, project_name, replicas) {\n Object.defineProperty(this, \"metadata\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"tags\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"project_name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"replicas\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.metadata = metadata;\n this.tags = tags;\n this.project_name = project_name;\n this.replicas = replicas;\n }\n static fromHeader(value) {\n const items = value.split(\",\");\n let metadata = {};\n let tags = [];\n let project_name;\n let replicas;\n for (const item of items) {\n const [key, uriValue] = item.split(\"=\");\n const value = decodeURIComponent(uriValue);\n if (key === \"langsmith-metadata\") {\n metadata = JSON.parse(value);\n }\n else if (key === \"langsmith-tags\") {\n tags = value.split(\",\");\n }\n else if (key === \"langsmith-project\") {\n project_name = value;\n }\n else if (key === \"langsmith-replicas\") {\n replicas = JSON.parse(value);\n }\n }\n return new Baggage(metadata, tags, project_name, replicas);\n }\n toHeader() {\n const items = [];\n if (this.metadata && Object.keys(this.metadata).length > 0) {\n items.push(`langsmith-metadata=${encodeURIComponent(JSON.stringify(this.metadata))}`);\n }\n if (this.tags && this.tags.length > 0) {\n items.push(`langsmith-tags=${encodeURIComponent(this.tags.join(\",\"))}`);\n }\n if (this.project_name) {\n items.push(`langsmith-project=${encodeURIComponent(this.project_name)}`);\n }\n return items.join(\",\");\n }\n}\nexport class RunTree {\n constructor(originalConfig) {\n Object.defineProperty(this, \"id\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"run_type\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"project_name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"parent_run\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"parent_run_id\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"child_runs\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"start_time\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"end_time\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"extra\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"tags\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"error\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"serialized\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"inputs\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"outputs\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"reference_example_id\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"client\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"events\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"trace_id\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"dotted_order\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"tracingEnabled\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"execution_order\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"child_execution_order\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n /**\n * Attachments associated with the run.\n * Each entry is a tuple of [mime_type, bytes]\n */\n Object.defineProperty(this, \"attachments\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n /**\n * Projects to replicate this run to with optional updates.\n */\n Object.defineProperty(this, \"replicas\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"_serialized_start_time\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n // If you pass in a run tree directly, return a shallow clone\n if (isRunTree(originalConfig)) {\n Object.assign(this, { ...originalConfig });\n return;\n }\n const defaultConfig = RunTree.getDefaultConfig();\n const { metadata, ...config } = originalConfig;\n const client = config.client ?? RunTree.getSharedClient();\n const dedupedMetadata = {\n ...metadata,\n ...config?.extra?.metadata,\n };\n config.extra = { ...config.extra, metadata: dedupedMetadata };\n Object.assign(this, { ...defaultConfig, ...config, client });\n if (!this.trace_id) {\n if (this.parent_run) {\n this.trace_id = this.parent_run.trace_id ?? this.id;\n }\n else {\n this.trace_id = this.id;\n }\n }\n this.replicas = _ensureWriteReplicas(this.replicas);\n this.execution_order ??= 1;\n this.child_execution_order ??= 1;\n if (!this.dotted_order) {\n const { dottedOrder, microsecondPrecisionDatestring } = convertToDottedOrderFormat(this.start_time, this.id, this.execution_order);\n if (this.parent_run) {\n this.dotted_order = this.parent_run.dotted_order + \".\" + dottedOrder;\n }\n else {\n this.dotted_order = dottedOrder;\n }\n this._serialized_start_time = microsecondPrecisionDatestring;\n }\n }\n set metadata(metadata) {\n this.extra = {\n ...this.extra,\n metadata: {\n ...this.extra?.metadata,\n ...metadata,\n },\n };\n }\n get metadata() {\n return this.extra?.metadata;\n }\n static getDefaultConfig() {\n return {\n id: uuid.v4(),\n run_type: \"chain\",\n project_name: getDefaultProjectName(),\n child_runs: [],\n api_url: getEnvironmentVariable(\"LANGCHAIN_ENDPOINT\") ?? \"http://localhost:1984\",\n api_key: getEnvironmentVariable(\"LANGCHAIN_API_KEY\"),\n caller_options: {},\n start_time: Date.now(),\n serialized: {},\n inputs: {},\n extra: {},\n };\n }\n static getSharedClient() {\n if (!RunTree.sharedClient) {\n RunTree.sharedClient = new Client();\n }\n return RunTree.sharedClient;\n }\n createChild(config) {\n const child_execution_order = this.child_execution_order + 1;\n const child = new RunTree({\n ...config,\n parent_run: this,\n project_name: this.project_name,\n replicas: this.replicas,\n client: this.client,\n tracingEnabled: this.tracingEnabled,\n execution_order: child_execution_order,\n child_execution_order: child_execution_order,\n });\n // Copy context vars over into the new run tree.\n if (_LC_CONTEXT_VARIABLES_KEY in this) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n child[_LC_CONTEXT_VARIABLES_KEY] =\n this[_LC_CONTEXT_VARIABLES_KEY];\n }\n const LC_CHILD = Symbol.for(\"lc:child_config\");\n const presentConfig = config.extra?.[LC_CHILD] ??\n this.extra[LC_CHILD];\n // tracing for LangChain is defined by the _parentRunId and runMap of the tracer\n if (isRunnableConfigLike(presentConfig)) {\n const newConfig = { ...presentConfig };\n const callbacks = isCallbackManagerLike(newConfig.callbacks)\n ? newConfig.callbacks.copy?.()\n : undefined;\n if (callbacks) {\n // update the parent run id\n Object.assign(callbacks, { _parentRunId: child.id });\n // only populate if we're in a newer LC.JS version\n callbacks.handlers\n ?.find(isLangChainTracerLike)\n ?.updateFromRunTree?.(child);\n newConfig.callbacks = callbacks;\n }\n child.extra[LC_CHILD] = newConfig;\n }\n // propagate child_execution_order upwards\n const visited = new Set();\n let current = this;\n while (current != null && !visited.has(current.id)) {\n visited.add(current.id);\n current.child_execution_order = Math.max(current.child_execution_order, child_execution_order);\n current = current.parent_run;\n }\n this.child_runs.push(child);\n return child;\n }\n async end(outputs, error, endTime = Date.now(), metadata) {\n this.outputs = this.outputs ?? outputs;\n this.error = this.error ?? error;\n this.end_time = this.end_time ?? endTime;\n if (metadata && Object.keys(metadata).length > 0) {\n this.extra = this.extra\n ? { ...this.extra, metadata: { ...this.extra.metadata, ...metadata } }\n : { metadata };\n }\n }\n _convertToCreate(run, runtimeEnv, excludeChildRuns = true) {\n const runExtra = run.extra ?? {};\n // Avoid overwriting the runtime environment if it's already set\n if (runExtra?.runtime?.library === undefined) {\n if (!runExtra.runtime) {\n runExtra.runtime = {};\n }\n if (runtimeEnv) {\n for (const [k, v] of Object.entries(runtimeEnv)) {\n if (!runExtra.runtime[k]) {\n runExtra.runtime[k] = v;\n }\n }\n }\n }\n let child_runs;\n let parent_run_id;\n if (!excludeChildRuns) {\n child_runs = run.child_runs.map((child_run) => this._convertToCreate(child_run, runtimeEnv, excludeChildRuns));\n parent_run_id = undefined;\n }\n else {\n parent_run_id = run.parent_run?.id ?? run.parent_run_id;\n child_runs = [];\n }\n return {\n id: run.id,\n name: run.name,\n start_time: run._serialized_start_time ?? run.start_time,\n end_time: run.end_time,\n run_type: run.run_type,\n reference_example_id: run.reference_example_id,\n extra: runExtra,\n serialized: run.serialized,\n error: run.error,\n inputs: run.inputs,\n outputs: run.outputs,\n session_name: run.project_name,\n child_runs: child_runs,\n parent_run_id: parent_run_id,\n trace_id: run.trace_id,\n dotted_order: run.dotted_order,\n tags: run.tags,\n attachments: run.attachments,\n events: run.events,\n };\n }\n _remapForProject(projectName, runtimeEnv, excludeChildRuns = true) {\n const baseRun = this._convertToCreate(this, runtimeEnv, excludeChildRuns);\n if (projectName === this.project_name) {\n return baseRun;\n }\n // Create a deterministic UUID mapping for this project\n const createRemappedId = (originalId) => {\n return uuid.v5(`${originalId}:${projectName}`, uuid.v5.DNS);\n };\n // Remap the current run's ID\n const newId = createRemappedId(baseRun.id);\n const newTraceId = baseRun.trace_id\n ? createRemappedId(baseRun.trace_id)\n : undefined;\n const newParentRunId = baseRun.parent_run_id\n ? createRemappedId(baseRun.parent_run_id)\n : undefined;\n let newDottedOrder;\n if (baseRun.dotted_order) {\n const segments = _parseDottedOrder(baseRun.dotted_order);\n const rebuilt = [];\n // Process all segments except the last one\n for (let i = 0; i < segments.length - 1; i++) {\n const [timestamp, segmentId] = segments[i];\n const remappedId = createRemappedId(segmentId);\n rebuilt.push(timestamp.toISOString().replace(/[-:]/g, \"\").replace(\".\", \"\") +\n remappedId);\n }\n // Process the last segment with the new run ID\n const [lastTimestamp] = segments[segments.length - 1];\n rebuilt.push(lastTimestamp.toISOString().replace(/[-:]/g, \"\").replace(\".\", \"\") +\n newId);\n newDottedOrder = rebuilt.join(\".\");\n }\n else {\n newDottedOrder = undefined;\n }\n const remappedRun = {\n ...baseRun,\n id: newId,\n trace_id: newTraceId,\n parent_run_id: newParentRunId,\n dotted_order: newDottedOrder,\n session_name: projectName,\n };\n return remappedRun;\n }\n async postRun(excludeChildRuns = true) {\n try {\n const runtimeEnv = getRuntimeEnvironment();\n if (this.replicas && this.replicas.length > 0) {\n for (const { projectName, apiKey, apiUrl, workspaceId } of this\n .replicas) {\n const runCreate = this._remapForProject(projectName ?? this.project_name, runtimeEnv, true);\n await this.client.createRun(runCreate, {\n apiKey,\n apiUrl,\n workspaceId,\n });\n }\n }\n else {\n const runCreate = this._convertToCreate(this, runtimeEnv, excludeChildRuns);\n await this.client.createRun(runCreate);\n }\n if (!excludeChildRuns) {\n warnOnce(\"Posting with excludeChildRuns=false is deprecated and will be removed in a future version.\");\n for (const childRun of this.child_runs) {\n await childRun.postRun(false);\n }\n }\n }\n catch (error) {\n console.error(`Error in postRun for run ${this.id}:`, error);\n }\n }\n async patchRun(options) {\n if (this.replicas && this.replicas.length > 0) {\n for (const { projectName, apiKey, apiUrl, workspaceId, updates } of this\n .replicas) {\n const runData = this._remapForProject(projectName ?? this.project_name);\n const updatePayload = {\n id: runData.id,\n outputs: runData.outputs,\n error: runData.error,\n parent_run_id: runData.parent_run_id,\n session_name: runData.session_name,\n reference_example_id: runData.reference_example_id,\n end_time: runData.end_time,\n dotted_order: runData.dotted_order,\n trace_id: runData.trace_id,\n events: runData.events,\n tags: runData.tags,\n extra: runData.extra,\n attachments: this.attachments,\n ...updates,\n };\n // Important that inputs is not a key in the run update\n // if excluded because it will overwrite the run create if the\n // two operations are merged during batching\n if (!options?.excludeInputs) {\n updatePayload.inputs = runData.inputs;\n }\n await this.client.updateRun(runData.id, updatePayload, {\n apiKey,\n apiUrl,\n workspaceId,\n });\n }\n }\n else {\n try {\n const runUpdate = {\n end_time: this.end_time,\n error: this.error,\n outputs: this.outputs,\n parent_run_id: this.parent_run?.id ?? this.parent_run_id,\n reference_example_id: this.reference_example_id,\n extra: this.extra,\n events: this.events,\n dotted_order: this.dotted_order,\n trace_id: this.trace_id,\n tags: this.tags,\n attachments: this.attachments,\n session_name: this.project_name,\n };\n // Important that inputs is not a key in the run update\n // if excluded because it will overwrite the run create if the\n // two operations are merged during batching\n if (!options?.excludeInputs) {\n runUpdate.inputs = this.inputs;\n }\n await this.client.updateRun(this.id, runUpdate);\n }\n catch (error) {\n console.error(`Error in patchRun for run ${this.id}`, error);\n }\n }\n }\n toJSON() {\n return this._convertToCreate(this, undefined, false);\n }\n /**\n * Add an event to the run tree.\n * @param event - A single event or string to add\n */\n addEvent(event) {\n if (!this.events) {\n this.events = [];\n }\n if (typeof event === \"string\") {\n this.events.push({\n name: \"event\",\n time: new Date().toISOString(),\n message: event,\n });\n }\n else {\n this.events.push({\n ...event,\n time: event.time ?? new Date().toISOString(),\n });\n }\n }\n static fromRunnableConfig(parentConfig, props) {\n // We only handle the callback manager case for now\n const callbackManager = parentConfig?.callbacks;\n let parentRun;\n let projectName;\n let client;\n let tracingEnabled = isTracingEnabled();\n if (callbackManager) {\n const parentRunId = callbackManager?.getParentRunId?.() ?? \"\";\n const langChainTracer = callbackManager?.handlers?.find((handler) => handler?.name == \"langchain_tracer\");\n parentRun = langChainTracer?.getRun?.(parentRunId);\n projectName = langChainTracer?.projectName;\n client = langChainTracer?.client;\n tracingEnabled = tracingEnabled || !!langChainTracer;\n }\n if (!parentRun) {\n return new RunTree({\n ...props,\n client,\n tracingEnabled,\n project_name: projectName,\n });\n }\n const parentRunTree = new RunTree({\n name: parentRun.name,\n id: parentRun.id,\n trace_id: parentRun.trace_id,\n dotted_order: parentRun.dotted_order,\n client,\n tracingEnabled,\n project_name: projectName,\n tags: [\n ...new Set((parentRun?.tags ?? []).concat(parentConfig?.tags ?? [])),\n ],\n extra: {\n metadata: {\n ...parentRun?.extra?.metadata,\n ...parentConfig?.metadata,\n },\n },\n });\n return parentRunTree.createChild(props);\n }\n static fromDottedOrder(dottedOrder) {\n return this.fromHeaders({ \"langsmith-trace\": dottedOrder });\n }\n static fromHeaders(headers, inheritArgs) {\n const rawHeaders = \"get\" in headers && typeof headers.get === \"function\"\n ? {\n \"langsmith-trace\": headers.get(\"langsmith-trace\"),\n baggage: headers.get(\"baggage\"),\n }\n : headers;\n const headerTrace = rawHeaders[\"langsmith-trace\"];\n if (!headerTrace || typeof headerTrace !== \"string\")\n return undefined;\n const parentDottedOrder = headerTrace.trim();\n const parsedDottedOrder = parentDottedOrder.split(\".\").map((part) => {\n const [strTime, uuid] = part.split(\"Z\");\n return { strTime, time: Date.parse(strTime + \"Z\"), uuid };\n });\n const traceId = parsedDottedOrder[0].uuid;\n const config = {\n ...inheritArgs,\n name: inheritArgs?.[\"name\"] ?? \"parent\",\n run_type: inheritArgs?.[\"run_type\"] ?? \"chain\",\n start_time: inheritArgs?.[\"start_time\"] ?? Date.now(),\n id: parsedDottedOrder.at(-1)?.uuid,\n trace_id: traceId,\n dotted_order: parentDottedOrder,\n };\n if (rawHeaders[\"baggage\"] && typeof rawHeaders[\"baggage\"] === \"string\") {\n const baggage = Baggage.fromHeader(rawHeaders[\"baggage\"]);\n config.metadata = baggage.metadata;\n config.tags = baggage.tags;\n config.project_name = baggage.project_name;\n config.replicas = baggage.replicas;\n }\n return new RunTree(config);\n }\n toHeaders(headers) {\n const result = {\n \"langsmith-trace\": this.dotted_order,\n baggage: new Baggage(this.extra?.metadata, this.tags, this.project_name, this.replicas).toHeader(),\n };\n if (headers) {\n for (const [key, value] of Object.entries(result)) {\n headers.set(key, value);\n }\n }\n return result;\n }\n}\nObject.defineProperty(RunTree, \"sharedClient\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: null\n});\nexport function isRunTree(x) {\n return (x != null &&\n typeof x.createChild === \"function\" &&\n typeof x.postRun === \"function\");\n}\nfunction isLangChainTracerLike(x) {\n return (typeof x === \"object\" &&\n x != null &&\n typeof x.name === \"string\" &&\n x.name === \"langchain_tracer\");\n}\nfunction containsLangChainTracerLike(x) {\n return (Array.isArray(x) && x.some((callback) => isLangChainTracerLike(callback)));\n}\nfunction isCallbackManagerLike(x) {\n return (typeof x === \"object\" &&\n x != null &&\n Array.isArray(x.handlers));\n}\nexport function isRunnableConfigLike(x) {\n // Check that it's an object with a callbacks arg\n // that has either a CallbackManagerLike object with a langchain tracer within it\n // or an array with a LangChainTracerLike object within it\n return (x != null &&\n typeof x.callbacks === \"object\" &&\n // Callback manager with a langchain tracer\n (containsLangChainTracerLike(x.callbacks?.handlers) ||\n // Or it's an array with a LangChainTracerLike object within it\n containsLangChainTracerLike(x.callbacks)));\n}\nfunction _parseDottedOrder(dottedOrder) {\n const parts = dottedOrder.split(\".\");\n return parts.map((part) => {\n const timestampStr = part.slice(0, -36);\n const uuidStr = part.slice(-36);\n // Parse timestamp: \"%Y%m%dT%H%M%S%fZ\" format\n // Example: \"20231215T143045123456Z\"\n const year = parseInt(timestampStr.slice(0, 4));\n const month = parseInt(timestampStr.slice(4, 6)) - 1; // JS months are 0-indexed\n const day = parseInt(timestampStr.slice(6, 8));\n const hour = parseInt(timestampStr.slice(9, 11));\n const minute = parseInt(timestampStr.slice(11, 13));\n const second = parseInt(timestampStr.slice(13, 15));\n const microsecond = parseInt(timestampStr.slice(15, 21));\n const timestamp = new Date(year, month, day, hour, minute, second, microsecond / 1000);\n return [timestamp, uuidStr];\n });\n}\nfunction _getWriteReplicasFromEnv() {\n const envVar = getEnvironmentVariable(\"LANGSMITH_RUNS_ENDPOINTS\");\n if (!envVar)\n return [];\n try {\n const parsed = JSON.parse(envVar);\n if (Array.isArray(parsed)) {\n const replicas = [];\n for (const item of parsed) {\n if (typeof item !== \"object\" || item === null) {\n console.warn(`Invalid item type in LANGSMITH_RUNS_ENDPOINTS: ` +\n `expected object, got ${typeof item}`);\n continue;\n }\n if (typeof item.api_url !== \"string\") {\n console.warn(`Invalid api_url type in LANGSMITH_RUNS_ENDPOINTS: ` +\n `expected string, got ${typeof item.api_url}`);\n continue;\n }\n if (typeof item.api_key !== \"string\") {\n console.warn(`Invalid api_key type in LANGSMITH_RUNS_ENDPOINTS: ` +\n `expected string, got ${typeof item.api_key}`);\n continue;\n }\n replicas.push({\n apiUrl: item.api_url.replace(/\\/$/, \"\"),\n apiKey: item.api_key,\n });\n }\n return replicas;\n }\n else if (typeof parsed === \"object\" && parsed !== null) {\n _checkEndpointEnvUnset(parsed);\n const replicas = [];\n for (const [url, key] of Object.entries(parsed)) {\n const cleanUrl = url.replace(/\\/$/, \"\");\n if (typeof key === \"string\") {\n replicas.push({\n apiUrl: cleanUrl,\n apiKey: key,\n });\n }\n else {\n console.warn(`Invalid value type in LANGSMITH_RUNS_ENDPOINTS for URL ${url}: ` +\n `expected string, got ${typeof key}`);\n continue;\n }\n }\n return replicas;\n }\n else {\n console.warn(\"Invalid LANGSMITH_RUNS_ENDPOINTS – must be valid JSON array of \" +\n `objects with api_url and api_key properties, or object mapping url->apiKey, got ${typeof parsed}`);\n return [];\n }\n }\n catch (e) {\n if (isConflictingEndpointsError(e)) {\n throw e;\n }\n console.warn(\"Invalid LANGSMITH_RUNS_ENDPOINTS – must be valid JSON array of \" +\n \"objects with api_url and api_key properties, or object mapping url->apiKey\");\n return [];\n }\n}\nfunction _ensureWriteReplicas(replicas) {\n // If null -> fetch from env\n if (replicas) {\n return replicas.map((replica) => {\n if (Array.isArray(replica)) {\n return {\n projectName: replica[0],\n updates: replica[1],\n };\n }\n return replica;\n });\n }\n return _getWriteReplicasFromEnv();\n}\nfunction _checkEndpointEnvUnset(parsed) {\n if (Object.keys(parsed).length > 0 &&\n getLangSmithEnvironmentVariable(\"ENDPOINT\")) {\n throw new ConflictingEndpointsError();\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;AASA,SAAS,qBAAqB,OAAO;AACjC,QAAO,MAAM,QAAQ,UAAU,GAAG;AACrC;AACD,SAAgB,2BAA2B,OAAO,OAAO,iBAAiB,GAAG;CAGzE,MAAM,cAAc,eAAe,QAAQ,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,SAAS,GAAG,IAAI;CAC1E,MAAM,iCAAiC,GAAG,IAAI,KAAK,OAC9C,aAAa,CACb,MAAM,GAAG,GAAG,GAAG,YAAY,CAAC,CAAC;AAClC,QAAO;EACH,aAAa,qBAAqB,+BAA+B,GAAG;EACpE;CACH;AACJ;;;;AAID,IAAM,UAAN,MAAM,QAAQ;CACV,YAAY,UAAU,MAAM,cAAc,UAAU;EAChD,OAAO,eAAe,MAAM,YAAY;GACpC,Y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,EACjD,OAAO,KAAK,CAAC;AACzC;IACH;GACJ;AACD,UAAO;EACV,OACI;GACD,QAAQ,KAAK,CACR,+IAAgF,EAAE,OAAO,QAAQ,CAAC;AACvG,UAAO,CAAE;EACZ;CACJ,SACM,GAAG;AACN,MAAI,4BAA4B,EAAE,CAC9B,OAAM;EAEV,QAAQ,KAAK,4IACoE;AACjF,SAAO,CAAE;CACZ;AACJ;AACD,SAAS,qBAAqB,UAAU;AAEpC,KAAI,SACA,QAAO,SAAS,IAAI,CAAC,YAAY;AAC7B,MAAI,MAAM,QAAQ,QAAQ,CACtB,QAAO;GACH,aAAa,QAAQ;GACrB,SAAS,QAAQ;EACpB;AAEL,SAAO;CACV,EAAC;AAEN,QAAO,0BAA0B;AACpC;AACD,SAAS,uBAAuB,QAAQ;AACpC,KAAI,OAAO,KAAK,OAAO,CAAC,SAAS,KAC7B,gCAAgC,WAAW,CAC3C,OAAM,IAAI;AAEjB"}
@@ -1,7 +0,0 @@
1
-
2
- //#region ../../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
3
- const _LC_CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
4
-
5
- //#endregion
6
- exports._LC_CONTEXT_VARIABLES_KEY = _LC_CONTEXT_VARIABLES_KEY;
7
- //# sourceMappingURL=constants.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.cjs","names":[],"sources":["../../../../../../../../../../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"],"sourcesContent":["export const _LC_CONTEXT_VARIABLES_KEY = Symbol.for(\"lc:context_variables\");\n"],"x_google_ignoreList":[0],"mappings":";;AAAA,MAAa,4BAA4B,OAAO,IAAI,uBAAuB"}
@@ -1,6 +0,0 @@
1
- //#region ../../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
2
- const _LC_CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
3
-
4
- //#endregion
5
- export { _LC_CONTEXT_VARIABLES_KEY };
6
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","names":[],"sources":["../../../../../../../../../../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"],"sourcesContent":["export const _LC_CONTEXT_VARIABLES_KEY = Symbol.for(\"lc:context_variables\");\n"],"x_google_ignoreList":[0],"mappings":";AAAA,MAAa,4BAA4B,OAAO,IAAI,uBAAuB"}
@@ -1,29 +0,0 @@
1
- const require_env = require('../utils/env.cjs');
2
-
3
- //#region ../../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
4
- const DEFAULT_FETCH_IMPLEMENTATION = (...args) => fetch(...args);
5
- const LANGSMITH_FETCH_IMPLEMENTATION_KEY = Symbol.for("ls:fetch_implementation");
6
- const _globalFetchImplementationIsNodeFetch = () => {
7
- const fetchImpl = globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];
8
- if (!fetchImpl) return false;
9
- return typeof fetchImpl === "function" && "Headers" in fetchImpl && "Request" in fetchImpl && "Response" in fetchImpl;
10
- };
11
- /**
12
- * @internal
13
- */
14
- const _getFetchImplementation = (debug) => {
15
- return async (...args) => {
16
- if (debug || require_env.getLangSmithEnvironmentVariable("DEBUG") === "true") {
17
- const [url, options] = args;
18
- console.log(`→ ${options?.method || "GET"} ${url}`);
19
- }
20
- const res = await (globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY] ?? DEFAULT_FETCH_IMPLEMENTATION)(...args);
21
- if (debug || require_env.getLangSmithEnvironmentVariable("DEBUG") === "true") console.log(`← ${res.status} ${res.statusText} ${res.url}`);
22
- return res;
23
- };
24
- };
25
-
26
- //#endregion
27
- exports._getFetchImplementation = _getFetchImplementation;
28
- exports._globalFetchImplementationIsNodeFetch = _globalFetchImplementationIsNodeFetch;
29
- //# sourceMappingURL=fetch.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetch.cjs","names":["getLangSmithEnvironmentVariable"],"sources":["../../../../../../../../../../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"],"sourcesContent":["import { getLangSmithEnvironmentVariable } from \"../utils/env.js\";\n// Wrap the default fetch call due to issues with illegal invocations\n// in some environments:\n// https://stackoverflow.com/questions/69876859/why-does-bind-fix-failed-to-execute-fetch-on-window-illegal-invocation-err\n// @ts-expect-error Broad typing to support a range of fetch implementations\nconst DEFAULT_FETCH_IMPLEMENTATION = (...args) => fetch(...args);\nconst LANGSMITH_FETCH_IMPLEMENTATION_KEY = Symbol.for(\"ls:fetch_implementation\");\n/**\n * Overrides the fetch implementation used for LangSmith calls.\n * You should use this if you need to use an implementation of fetch\n * other than the default global (e.g. for dealing with proxies).\n * @param fetch The new fetch functino to use.\n */\nexport const overrideFetchImplementation = (fetch) => {\n globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY] = fetch;\n};\nexport const clearFetchImplementation = () => {\n delete globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];\n};\nexport const _globalFetchImplementationIsNodeFetch = () => {\n const fetchImpl = globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];\n if (!fetchImpl)\n return false;\n // Check if the implementation has node-fetch specific properties\n return (typeof fetchImpl === \"function\" &&\n \"Headers\" in fetchImpl &&\n \"Request\" in fetchImpl &&\n \"Response\" in fetchImpl);\n};\n/**\n * @internal\n */\nexport const _getFetchImplementation = (debug) => {\n return async (...args) => {\n if (debug || getLangSmithEnvironmentVariable(\"DEBUG\") === \"true\") {\n const [url, options] = args;\n console.log(`→ ${options?.method || \"GET\"} ${url}`);\n }\n const res = await (globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY] ??\n DEFAULT_FETCH_IMPLEMENTATION)(...args);\n if (debug || getLangSmithEnvironmentVariable(\"DEBUG\") === \"true\") {\n console.log(`← ${res.status} ${res.statusText} ${res.url}`);\n }\n return res;\n };\n};\n"],"x_google_ignoreList":[0],"mappings":";;;AAKA,MAAM,+BAA+B,CAAC,GAAG,SAAS,MAAM,GAAG,KAAK;AAChE,MAAM,qCAAqC,OAAO,IAAI,0BAA0B;AAahF,MAAa,wCAAwC,MAAM;CACvD,MAAM,YAAY,WAAW;AAC7B,KAAI,CAAC,UACD,QAAO;AAEX,QAAQ,OAAO,cAAc,cACzB,aAAa,aACb,aAAa,aACb,cAAc;AACrB;;;;AAID,MAAa,0BAA0B,CAAC,UAAU;AAC9C,QAAO,OAAO,GAAG,SAAS;AACtB,MAAI,SAASA,4CAAgC,QAAQ,KAAK,QAAQ;GAC9D,MAAM,CAAC,KAAK,QAAQ,GAAG;GACvB,QAAQ,IAAI,CAAC,EAAE,EAAE,SAAS,UAAU,MAAM,CAAC,EAAE,KAAK,CAAC;EACtD;EACD,MAAM,MAAM,OAAO,WAAW,uCAC1B,8BAA8B,GAAG,KAAK;AAC1C,MAAI,SAASA,4CAAgC,QAAQ,KAAK,QACtD,QAAQ,IAAI,CAAC,EAAE,EAAE,IAAI,OAAO,CAAC,EAAE,IAAI,WAAW,CAAC,EAAE,IAAI,KAAK,CAAC;AAE/D,SAAO;CACV;AACJ"}
@@ -1,28 +0,0 @@
1
- import { getLangSmithEnvironmentVariable } from "../utils/env.js";
2
-
3
- //#region ../../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
4
- const DEFAULT_FETCH_IMPLEMENTATION = (...args) => fetch(...args);
5
- const LANGSMITH_FETCH_IMPLEMENTATION_KEY = Symbol.for("ls:fetch_implementation");
6
- const _globalFetchImplementationIsNodeFetch = () => {
7
- const fetchImpl = globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];
8
- if (!fetchImpl) return false;
9
- return typeof fetchImpl === "function" && "Headers" in fetchImpl && "Request" in fetchImpl && "Response" in fetchImpl;
10
- };
11
- /**
12
- * @internal
13
- */
14
- const _getFetchImplementation = (debug) => {
15
- return async (...args) => {
16
- if (debug || getLangSmithEnvironmentVariable("DEBUG") === "true") {
17
- const [url, options] = args;
18
- console.log(`→ ${options?.method || "GET"} ${url}`);
19
- }
20
- const res = await (globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY] ?? DEFAULT_FETCH_IMPLEMENTATION)(...args);
21
- if (debug || getLangSmithEnvironmentVariable("DEBUG") === "true") console.log(`← ${res.status} ${res.statusText} ${res.url}`);
22
- return res;
23
- };
24
- };
25
-
26
- //#endregion
27
- export { _getFetchImplementation, _globalFetchImplementationIsNodeFetch };
28
- //# sourceMappingURL=fetch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetch.js","names":[],"sources":["../../../../../../../../../../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"],"sourcesContent":["import { getLangSmithEnvironmentVariable } from \"../utils/env.js\";\n// Wrap the default fetch call due to issues with illegal invocations\n// in some environments:\n// https://stackoverflow.com/questions/69876859/why-does-bind-fix-failed-to-execute-fetch-on-window-illegal-invocation-err\n// @ts-expect-error Broad typing to support a range of fetch implementations\nconst DEFAULT_FETCH_IMPLEMENTATION = (...args) => fetch(...args);\nconst LANGSMITH_FETCH_IMPLEMENTATION_KEY = Symbol.for(\"ls:fetch_implementation\");\n/**\n * Overrides the fetch implementation used for LangSmith calls.\n * You should use this if you need to use an implementation of fetch\n * other than the default global (e.g. for dealing with proxies).\n * @param fetch The new fetch functino to use.\n */\nexport const overrideFetchImplementation = (fetch) => {\n globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY] = fetch;\n};\nexport const clearFetchImplementation = () => {\n delete globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];\n};\nexport const _globalFetchImplementationIsNodeFetch = () => {\n const fetchImpl = globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];\n if (!fetchImpl)\n return false;\n // Check if the implementation has node-fetch specific properties\n return (typeof fetchImpl === \"function\" &&\n \"Headers\" in fetchImpl &&\n \"Request\" in fetchImpl &&\n \"Response\" in fetchImpl);\n};\n/**\n * @internal\n */\nexport const _getFetchImplementation = (debug) => {\n return async (...args) => {\n if (debug || getLangSmithEnvironmentVariable(\"DEBUG\") === \"true\") {\n const [url, options] = args;\n console.log(`→ ${options?.method || \"GET\"} ${url}`);\n }\n const res = await (globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY] ??\n DEFAULT_FETCH_IMPLEMENTATION)(...args);\n if (debug || getLangSmithEnvironmentVariable(\"DEBUG\") === \"true\") {\n console.log(`← ${res.status} ${res.statusText} ${res.url}`);\n }\n return res;\n };\n};\n"],"x_google_ignoreList":[0],"mappings":";;;AAKA,MAAM,+BAA+B,CAAC,GAAG,SAAS,MAAM,GAAG,KAAK;AAChE,MAAM,qCAAqC,OAAO,IAAI,0BAA0B;AAahF,MAAa,wCAAwC,MAAM;CACvD,MAAM,YAAY,WAAW;AAC7B,KAAI,CAAC,UACD,QAAO;AAEX,QAAQ,OAAO,cAAc,cACzB,aAAa,aACb,aAAa,aACb,cAAc;AACrB;;;;AAID,MAAa,0BAA0B,CAAC,UAAU;AAC9C,QAAO,OAAO,GAAG,SAAS;AACtB,MAAI,SAAS,gCAAgC,QAAQ,KAAK,QAAQ;GAC9D,MAAM,CAAC,KAAK,QAAQ,GAAG;GACvB,QAAQ,IAAI,CAAC,EAAE,EAAE,SAAS,UAAU,MAAM,CAAC,EAAE,KAAK,CAAC;EACtD;EACD,MAAM,MAAM,OAAO,WAAW,uCAC1B,8BAA8B,GAAG,KAAK;AAC1C,MAAI,SAAS,gCAAgC,QAAQ,KAAK,QACtD,QAAQ,IAAI,CAAC,EAAE,EAAE,IAAI,OAAO,CAAC,EAAE,IAAI,WAAW,CAAC,EAAE,IAAI,KAAK,CAAC;AAE/D,SAAO;CACV;AACJ"}
@@ -1,115 +0,0 @@
1
- const require_env = require('../utils/env.cjs');
2
-
3
- //#region ../../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
4
- var MockTracer = class {
5
- constructor() {
6
- Object.defineProperty(this, "hasWarned", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: false
11
- });
12
- }
13
- startActiveSpan(_name, ...args) {
14
- if (!this.hasWarned && require_env.getOtelEnabled()) {
15
- console.warn("You have enabled OTEL export via the `OTEL_ENABLED` or `LANGSMITH_OTEL_ENABLED` environment variable, but have not initialized the required OTEL instances. Please add:\n```\nimport { initializeOTEL } from \"langsmith/experimental/otel/setup\";\ninitializeOTEL();\n```\nat the beginning of your code.");
16
- this.hasWarned = true;
17
- }
18
- let fn;
19
- if (args.length === 1 && typeof args[0] === "function") fn = args[0];
20
- else if (args.length === 2 && typeof args[1] === "function") fn = args[1];
21
- else if (args.length === 3 && typeof args[2] === "function") fn = args[2];
22
- if (typeof fn === "function") return fn();
23
- return void 0;
24
- }
25
- };
26
- var MockOTELTrace = class {
27
- constructor() {
28
- Object.defineProperty(this, "mockTracer", {
29
- enumerable: true,
30
- configurable: true,
31
- writable: true,
32
- value: new MockTracer()
33
- });
34
- }
35
- getTracer(_name, _version) {
36
- return this.mockTracer;
37
- }
38
- getActiveSpan() {
39
- return void 0;
40
- }
41
- setSpan(context, _span) {
42
- return context;
43
- }
44
- getSpan(_context) {
45
- return void 0;
46
- }
47
- setSpanContext(context, _spanContext) {
48
- return context;
49
- }
50
- getTracerProvider() {
51
- return void 0;
52
- }
53
- setGlobalTracerProvider(_tracerProvider) {
54
- return false;
55
- }
56
- };
57
- var MockOTELContext = class {
58
- active() {
59
- return {};
60
- }
61
- with(_context, fn) {
62
- return fn();
63
- }
64
- };
65
- const OTEL_TRACE_KEY = Symbol.for("ls:otel_trace");
66
- const OTEL_CONTEXT_KEY = Symbol.for("ls:otel_context");
67
- const OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY = Symbol.for("ls:otel_get_default_otlp_tracer_provider");
68
- const mockOTELTrace = new MockOTELTrace();
69
- const mockOTELContext = new MockOTELContext();
70
- var OTELProvider = class {
71
- getTraceInstance() {
72
- return globalThis[OTEL_TRACE_KEY] ?? mockOTELTrace;
73
- }
74
- getContextInstance() {
75
- return globalThis[OTEL_CONTEXT_KEY] ?? mockOTELContext;
76
- }
77
- initializeGlobalInstances(otel) {
78
- if (globalThis[OTEL_TRACE_KEY] === void 0) globalThis[OTEL_TRACE_KEY] = otel.trace;
79
- if (globalThis[OTEL_CONTEXT_KEY] === void 0) globalThis[OTEL_CONTEXT_KEY] = otel.context;
80
- }
81
- setDefaultOTLPTracerComponents(components) {
82
- globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] = components;
83
- }
84
- getDefaultOTLPTracerComponents() {
85
- return globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] ?? void 0;
86
- }
87
- };
88
- const OTELProviderSingleton = new OTELProvider();
89
- /**
90
- * Get the current OTEL trace instance.
91
- * Returns a mock implementation if OTEL is not available.
92
- */
93
- function getOTELTrace() {
94
- return OTELProviderSingleton.getTraceInstance();
95
- }
96
- /**
97
- * Get the current OTEL context instance.
98
- * Returns a mock implementation if OTEL is not available.
99
- */
100
- function getOTELContext() {
101
- return OTELProviderSingleton.getContextInstance();
102
- }
103
- /**
104
- * Get the default OTLP tracer provider instance.
105
- * Returns undefined if not set.
106
- */
107
- function getDefaultOTLPTracerComponents() {
108
- return OTELProviderSingleton.getDefaultOTLPTracerComponents();
109
- }
110
-
111
- //#endregion
112
- exports.getDefaultOTLPTracerComponents = getDefaultOTLPTracerComponents;
113
- exports.getOTELContext = getOTELContext;
114
- exports.getOTELTrace = getOTELTrace;
115
- //# sourceMappingURL=otel.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"otel.cjs","names":["getOtelEnabled"],"sources":["../../../../../../../../../../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"],"sourcesContent":["// Should not import any OTEL packages to avoid pulling in optional deps.\nimport { getOtelEnabled } from \"../utils/env.js\";\nclass MockTracer {\n constructor() {\n Object.defineProperty(this, \"hasWarned\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: false\n });\n }\n startActiveSpan(_name, ...args) {\n if (!this.hasWarned && getOtelEnabled()) {\n console.warn(\"You have enabled OTEL export via the `OTEL_ENABLED` or `LANGSMITH_OTEL_ENABLED` environment variable, but have not initialized the required OTEL instances. \" +\n 'Please add:\\n```\\nimport { initializeOTEL } from \"langsmith/experimental/otel/setup\";\\ninitializeOTEL();\\n```\\nat the beginning of your code.');\n this.hasWarned = true;\n }\n // Handle different overloads:\n // startActiveSpan(name, fn)\n // startActiveSpan(name, options, fn)\n // startActiveSpan(name, options, context, fn)\n let fn;\n if (args.length === 1 && typeof args[0] === \"function\") {\n fn = args[0];\n }\n else if (args.length === 2 && typeof args[1] === \"function\") {\n fn = args[1];\n }\n else if (args.length === 3 && typeof args[2] === \"function\") {\n fn = args[2];\n }\n if (typeof fn === \"function\") {\n return fn();\n }\n return undefined;\n }\n}\nclass MockOTELTrace {\n constructor() {\n Object.defineProperty(this, \"mockTracer\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: new MockTracer()\n });\n }\n getTracer(_name, _version) {\n return this.mockTracer;\n }\n getActiveSpan() {\n return undefined;\n }\n setSpan(context, _span) {\n return context;\n }\n getSpan(_context) {\n return undefined;\n }\n setSpanContext(context, _spanContext) {\n return context;\n }\n getTracerProvider() {\n return undefined;\n }\n setGlobalTracerProvider(_tracerProvider) {\n return false;\n }\n}\nclass MockOTELContext {\n active() {\n return {};\n }\n with(_context, fn) {\n return fn();\n }\n}\nconst OTEL_TRACE_KEY = Symbol.for(\"ls:otel_trace\");\nconst OTEL_CONTEXT_KEY = Symbol.for(\"ls:otel_context\");\nconst OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY = Symbol.for(\"ls:otel_get_default_otlp_tracer_provider\");\nconst mockOTELTrace = new MockOTELTrace();\nconst mockOTELContext = new MockOTELContext();\nclass OTELProvider {\n getTraceInstance() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return globalThis[OTEL_TRACE_KEY] ?? mockOTELTrace;\n }\n getContextInstance() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return globalThis[OTEL_CONTEXT_KEY] ?? mockOTELContext;\n }\n initializeGlobalInstances(otel) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (globalThis[OTEL_TRACE_KEY] === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n globalThis[OTEL_TRACE_KEY] = otel.trace;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (globalThis[OTEL_CONTEXT_KEY] === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n globalThis[OTEL_CONTEXT_KEY] = otel.context;\n }\n }\n setDefaultOTLPTracerComponents(components) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] = components;\n }\n getDefaultOTLPTracerComponents() {\n return (globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] ??\n undefined);\n }\n}\nexport const OTELProviderSingleton = new OTELProvider();\n/**\n * Get the current OTEL trace instance.\n * Returns a mock implementation if OTEL is not available.\n */\nexport function getOTELTrace() {\n return OTELProviderSingleton.getTraceInstance();\n}\n/**\n * Get the current OTEL context instance.\n * Returns a mock implementation if OTEL is not available.\n */\nexport function getOTELContext() {\n return OTELProviderSingleton.getContextInstance();\n}\n/**\n * Initialize the global OTEL instances.\n * Should be called once when OTEL packages are available.\n */\nexport function setOTELInstances(otel) {\n OTELProviderSingleton.initializeGlobalInstances(otel);\n}\n/**\n * Set a getter function for the default OTLP tracer provider.\n * This allows lazy initialization of the tracer provider.\n */\nexport function setDefaultOTLPTracerComponents(components) {\n OTELProviderSingleton.setDefaultOTLPTracerComponents(components);\n}\n/**\n * Get the default OTLP tracer provider instance.\n * Returns undefined if not set.\n */\nexport function getDefaultOTLPTracerComponents() {\n return OTELProviderSingleton.getDefaultOTLPTracerComponents();\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAM,aAAN,MAAiB;CACb,cAAc;EACV,OAAO,eAAe,MAAM,aAAa;GACrC,YAAY;GACZ,cAAc;GACd,UAAU;GACV,OAAO;EACV,EAAC;CACL;CACD,gBAAgB,OAAO,GAAG,MAAM;AAC5B,MAAI,CAAC,KAAK,aAAaA,4BAAgB,EAAE;GACrC,QAAQ,KAAK,8SACuI;GACpJ,KAAK,YAAY;EACpB;EAKD,IAAI;AACJ,MAAI,KAAK,WAAW,KAAK,OAAO,KAAK,OAAO,YACxC,KAAK,KAAK;WAEL,KAAK,WAAW,KAAK,OAAO,KAAK,OAAO,YAC7C,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3B,QAAO,sBAAsB,kBAAkB;AAClD;;;;;AAKD,SAAgB,iBAAiB;AAC7B,QAAO,sBAAsB,oBAAoB;AACpD;;;;;AAmBD,SAAgB,iCAAiC;AAC7C,QAAO,sBAAsB,gCAAgC;AAChE"}
@@ -1,113 +0,0 @@
1
- import { getOtelEnabled } from "../utils/env.js";
2
-
3
- //#region ../../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
4
- var MockTracer = class {
5
- constructor() {
6
- Object.defineProperty(this, "hasWarned", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: false
11
- });
12
- }
13
- startActiveSpan(_name, ...args) {
14
- if (!this.hasWarned && getOtelEnabled()) {
15
- console.warn("You have enabled OTEL export via the `OTEL_ENABLED` or `LANGSMITH_OTEL_ENABLED` environment variable, but have not initialized the required OTEL instances. Please add:\n```\nimport { initializeOTEL } from \"langsmith/experimental/otel/setup\";\ninitializeOTEL();\n```\nat the beginning of your code.");
16
- this.hasWarned = true;
17
- }
18
- let fn;
19
- if (args.length === 1 && typeof args[0] === "function") fn = args[0];
20
- else if (args.length === 2 && typeof args[1] === "function") fn = args[1];
21
- else if (args.length === 3 && typeof args[2] === "function") fn = args[2];
22
- if (typeof fn === "function") return fn();
23
- return void 0;
24
- }
25
- };
26
- var MockOTELTrace = class {
27
- constructor() {
28
- Object.defineProperty(this, "mockTracer", {
29
- enumerable: true,
30
- configurable: true,
31
- writable: true,
32
- value: new MockTracer()
33
- });
34
- }
35
- getTracer(_name, _version) {
36
- return this.mockTracer;
37
- }
38
- getActiveSpan() {
39
- return void 0;
40
- }
41
- setSpan(context, _span) {
42
- return context;
43
- }
44
- getSpan(_context) {
45
- return void 0;
46
- }
47
- setSpanContext(context, _spanContext) {
48
- return context;
49
- }
50
- getTracerProvider() {
51
- return void 0;
52
- }
53
- setGlobalTracerProvider(_tracerProvider) {
54
- return false;
55
- }
56
- };
57
- var MockOTELContext = class {
58
- active() {
59
- return {};
60
- }
61
- with(_context, fn) {
62
- return fn();
63
- }
64
- };
65
- const OTEL_TRACE_KEY = Symbol.for("ls:otel_trace");
66
- const OTEL_CONTEXT_KEY = Symbol.for("ls:otel_context");
67
- const OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY = Symbol.for("ls:otel_get_default_otlp_tracer_provider");
68
- const mockOTELTrace = new MockOTELTrace();
69
- const mockOTELContext = new MockOTELContext();
70
- var OTELProvider = class {
71
- getTraceInstance() {
72
- return globalThis[OTEL_TRACE_KEY] ?? mockOTELTrace;
73
- }
74
- getContextInstance() {
75
- return globalThis[OTEL_CONTEXT_KEY] ?? mockOTELContext;
76
- }
77
- initializeGlobalInstances(otel) {
78
- if (globalThis[OTEL_TRACE_KEY] === void 0) globalThis[OTEL_TRACE_KEY] = otel.trace;
79
- if (globalThis[OTEL_CONTEXT_KEY] === void 0) globalThis[OTEL_CONTEXT_KEY] = otel.context;
80
- }
81
- setDefaultOTLPTracerComponents(components) {
82
- globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] = components;
83
- }
84
- getDefaultOTLPTracerComponents() {
85
- return globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] ?? void 0;
86
- }
87
- };
88
- const OTELProviderSingleton = new OTELProvider();
89
- /**
90
- * Get the current OTEL trace instance.
91
- * Returns a mock implementation if OTEL is not available.
92
- */
93
- function getOTELTrace() {
94
- return OTELProviderSingleton.getTraceInstance();
95
- }
96
- /**
97
- * Get the current OTEL context instance.
98
- * Returns a mock implementation if OTEL is not available.
99
- */
100
- function getOTELContext() {
101
- return OTELProviderSingleton.getContextInstance();
102
- }
103
- /**
104
- * Get the default OTLP tracer provider instance.
105
- * Returns undefined if not set.
106
- */
107
- function getDefaultOTLPTracerComponents() {
108
- return OTELProviderSingleton.getDefaultOTLPTracerComponents();
109
- }
110
-
111
- //#endregion
112
- export { getDefaultOTLPTracerComponents, getOTELContext, getOTELTrace };
113
- //# sourceMappingURL=otel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"otel.js","names":[],"sources":["../../../../../../../../../../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"],"sourcesContent":["// Should not import any OTEL packages to avoid pulling in optional deps.\nimport { getOtelEnabled } from \"../utils/env.js\";\nclass MockTracer {\n constructor() {\n Object.defineProperty(this, \"hasWarned\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: false\n });\n }\n startActiveSpan(_name, ...args) {\n if (!this.hasWarned && getOtelEnabled()) {\n console.warn(\"You have enabled OTEL export via the `OTEL_ENABLED` or `LANGSMITH_OTEL_ENABLED` environment variable, but have not initialized the required OTEL instances. \" +\n 'Please add:\\n```\\nimport { initializeOTEL } from \"langsmith/experimental/otel/setup\";\\ninitializeOTEL();\\n```\\nat the beginning of your code.');\n this.hasWarned = true;\n }\n // Handle different overloads:\n // startActiveSpan(name, fn)\n // startActiveSpan(name, options, fn)\n // startActiveSpan(name, options, context, fn)\n let fn;\n if (args.length === 1 && typeof args[0] === \"function\") {\n fn = args[0];\n }\n else if (args.length === 2 && typeof args[1] === \"function\") {\n fn = args[1];\n }\n else if (args.length === 3 && typeof args[2] === \"function\") {\n fn = args[2];\n }\n if (typeof fn === \"function\") {\n return fn();\n }\n return undefined;\n }\n}\nclass MockOTELTrace {\n constructor() {\n Object.defineProperty(this, \"mockTracer\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: new MockTracer()\n });\n }\n getTracer(_name, _version) {\n return this.mockTracer;\n }\n getActiveSpan() {\n return undefined;\n }\n setSpan(context, _span) {\n return context;\n }\n getSpan(_context) {\n return undefined;\n }\n setSpanContext(context, _spanContext) {\n return context;\n }\n getTracerProvider() {\n return undefined;\n }\n setGlobalTracerProvider(_tracerProvider) {\n return false;\n }\n}\nclass MockOTELContext {\n active() {\n return {};\n }\n with(_context, fn) {\n return fn();\n }\n}\nconst OTEL_TRACE_KEY = Symbol.for(\"ls:otel_trace\");\nconst OTEL_CONTEXT_KEY = Symbol.for(\"ls:otel_context\");\nconst OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY = Symbol.for(\"ls:otel_get_default_otlp_tracer_provider\");\nconst mockOTELTrace = new MockOTELTrace();\nconst mockOTELContext = new MockOTELContext();\nclass OTELProvider {\n getTraceInstance() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return globalThis[OTEL_TRACE_KEY] ?? mockOTELTrace;\n }\n getContextInstance() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return globalThis[OTEL_CONTEXT_KEY] ?? mockOTELContext;\n }\n initializeGlobalInstances(otel) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (globalThis[OTEL_TRACE_KEY] === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n globalThis[OTEL_TRACE_KEY] = otel.trace;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (globalThis[OTEL_CONTEXT_KEY] === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n globalThis[OTEL_CONTEXT_KEY] = otel.context;\n }\n }\n setDefaultOTLPTracerComponents(components) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] = components;\n }\n getDefaultOTLPTracerComponents() {\n return (globalThis[OTEL_GET_DEFAULT_OTLP_TRACER_PROVIDER_KEY] ??\n undefined);\n }\n}\nexport const OTELProviderSingleton = new OTELProvider();\n/**\n * Get the current OTEL trace instance.\n * Returns a mock implementation if OTEL is not available.\n */\nexport function getOTELTrace() {\n return OTELProviderSingleton.getTraceInstance();\n}\n/**\n * Get the current OTEL context instance.\n * Returns a mock implementation if OTEL is not available.\n */\nexport function getOTELContext() {\n return OTELProviderSingleton.getContextInstance();\n}\n/**\n * Initialize the global OTEL instances.\n * Should be called once when OTEL packages are available.\n */\nexport function setOTELInstances(otel) {\n OTELProviderSingleton.initializeGlobalInstances(otel);\n}\n/**\n * Set a getter function for the default OTLP tracer provider.\n * This allows lazy initialization of the tracer provider.\n */\nexport function setDefaultOTLPTracerComponents(components) {\n OTELProviderSingleton.setDefaultOTLPTracerComponents(components);\n}\n/**\n * Get the default OTLP tracer provider instance.\n * Returns undefined if not set.\n */\nexport function getDefaultOTLPTracerComponents() {\n return OTELProviderSingleton.getDefaultOTLPTracerComponents();\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAM,aAAN,MAAiB;CACb,cAAc;EACV,OAAO,eAAe,MAAM,aAAa;GACrC,YAAY;GACZ,cAAc;GACd,UAAU;GACV,OAAO;EACV,EAAC;CACL;CACD,gBAAgB,OAAO,GAAG,MAAM;AAC5B,MAAI,CAAC,KAAK,aAAa,gBAAgB,EAAE;GACrC,QAAQ,KAAK,8SACuI;GACpJ,KAAK,YAAY;EACpB;EAKD,IAAI;AACJ,MAAI,KAAK,WAAW,KAAK,OAAO,KAAK,OAAO,YACxC,KAAK,KAAK;WAEL,KAAK,WAAW,KAAK,OAAO,KAAK,OAAO,YAC7C,KAAK,KAAK;WAEL,KAAK,WAAW,KAAK,OAAO,KAAK,OAAO,YAC7C,KAAK,KAAK;AAEd,MAAI,OAAO,OAAO,WACd,QAAO,IAAI;AAEf,SAAO;CACV;AACJ;AACD,IAAM,gBAAN,MAAoB;CAChB,cAAc;EACV,OAAO,eAAe,MAAM,cAAc;GACtC,YAAY;GACZ,cAAc;GACd,UAAU;GACV,OAAO,IAAI;EACd,EAAC;CACL;CACD,UAAU,OAAO,UAAU;AACvB,SAAO,KAAK;CACf;CACD,gBAAgB;AACZ,SAAO;CACV;CACD,QAAQ,SAAS,OAAO;AACpB,SAAO;CACV;CACD,QAAQ,UAAU;AACd,SAAO;CACV;CACD,eAAe,SAAS,cAAc;AAClC,SAAO;CACV;CACD,oBAAoB;AAChB,SAAO;CACV;CACD,wBAAwB,iBAAiB;AACrC,SAAO;CACV;AACJ;AACD,IAAM,kBAAN,MAAsB;CAClB,SAAS;AACL,SAAO,CAAE;CACZ;CACD,KAAK,UAAU,IAAI;AACf,SAAO,IAAI;CACd;AACJ;AACD,MAAM,iBAAiB,OAAO,IAAI,gBAAgB;AAClD,MAAM,mBAAmB,OAAO,IAAI,kBAAkB;AACtD,MAAM,4CAA4C,OAAO,IAAI,2CAA2C;AACxG,MAAM,gBAAgB,IAAI;AAC1B,MAAM,kBAAkB,IAAI;AAC5B,IAAM,eAAN,MAAmB;CACf,mBAAmB;AAEf,SAAO,WAAW,mBAAmB;CACxC;CACD,qBAAqB;AAEjB,SAAO,WAAW,qBAAqB;CAC1C;CACD,0BAA0B,MAAM;AAE5B,MAAI,WAAW,oBAAoB,QAE/B,WAAW,kBAAkB,KAAK;AAGtC,MAAI,WAAW,sBAAsB,QAEjC,WAAW,oBAAoB,KAAK;CAE3C;CACD,+BAA+B,YAAY;EAEvC,WAAW,6CAA6C;CAC3D;CACD,iCAAiC;AAC7B,SAAQ,WAAW,8CACf;CACP;AACJ;AACD,MAAa,wBAAwB,IAAI;;;;;AAKzC,SAAgB,eAAe;AAC3B,QAAO,sBAAsB,kBAAkB;AAClD;;;;;AAKD,SAAgB,iBAAiB;AAC7B,QAAO,sBAAsB,oBAAoB;AACpD;;;;;AAmBD,SAAgB,iCAAiC;AAC7C,QAAO,sBAAsB,gCAAgC;AAChE"}
@@ -1,14 +0,0 @@
1
-
2
- //#region ../../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
3
- const UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
4
- function assertUuid(str, which) {
5
- if (!UUID_REGEX.test(str)) {
6
- const msg = which !== void 0 ? `Invalid UUID for ${which}: ${str}` : `Invalid UUID: ${str}`;
7
- throw new Error(msg);
8
- }
9
- return str;
10
- }
11
-
12
- //#endregion
13
- exports.assertUuid = assertUuid;
14
- //# sourceMappingURL=_uuid.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_uuid.cjs","names":[],"sources":["../../../../../../../../../../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"],"sourcesContent":["// Relaxed UUID validation regex (allows any valid UUID format including nil UUIDs)\nconst UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;\nexport function assertUuid(str, which) {\n // Use relaxed regex validation instead of strict uuid.validate()\n // This allows edge cases like nil UUIDs or test UUIDs that might not pass strict validation\n if (!UUID_REGEX.test(str)) {\n const msg = which !== undefined\n ? `Invalid UUID for ${which}: ${str}`\n : `Invalid UUID: ${str}`;\n throw new Error(msg);\n }\n return str;\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,MAAM,aAAa;AACnB,SAAgB,WAAW,KAAK,OAAO;AAGnC,KAAI,CAAC,WAAW,KAAK,IAAI,EAAE;EACvB,MAAM,MAAM,UAAU,SAChB,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,KAAK,GACnC,CAAC,cAAc,EAAE,KAAK;AAC5B,QAAM,IAAI,MAAM;CACnB;AACD,QAAO;AACV"}
@@ -1,13 +0,0 @@
1
- //#region ../../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
2
- const UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
3
- function assertUuid(str, which) {
4
- if (!UUID_REGEX.test(str)) {
5
- const msg = which !== void 0 ? `Invalid UUID for ${which}: ${str}` : `Invalid UUID: ${str}`;
6
- throw new Error(msg);
7
- }
8
- return str;
9
- }
10
-
11
- //#endregion
12
- export { assertUuid };
13
- //# sourceMappingURL=_uuid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_uuid.js","names":[],"sources":["../../../../../../../../../../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"],"sourcesContent":["// Relaxed UUID validation regex (allows any valid UUID format including nil UUIDs)\nconst UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;\nexport function assertUuid(str, which) {\n // Use relaxed regex validation instead of strict uuid.validate()\n // This allows edge cases like nil UUIDs or test UUIDs that might not pass strict validation\n if (!UUID_REGEX.test(str)) {\n const msg = which !== undefined\n ? `Invalid UUID for ${which}: ${str}`\n : `Invalid UUID: ${str}`;\n throw new Error(msg);\n }\n return str;\n}\n"],"x_google_ignoreList":[0],"mappings":";AACA,MAAM,aAAa;AACnB,SAAgB,WAAW,KAAK,OAAO;AAGnC,KAAI,CAAC,WAAW,KAAK,IAAI,EAAE;EACvB,MAAM,MAAM,UAAU,SAChB,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,KAAK,GACnC,CAAC,cAAc,EAAE,KAAK;AAC5B,QAAM,IAAI,MAAM;CACnB;AACD,QAAO;AACV"}
@@ -1,94 +0,0 @@
1
- const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_index = require('../../../../../p-queue@6.6.2/node_modules/p-queue/dist/index.cjs');
3
- const p_retry = require_rolldown_runtime.__toESM(require("p-retry"));
4
-
5
- //#region ../../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
6
- var import_dist = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_index.require_dist(), 1);
7
- const STATUS_RETRYABLE = [
8
- 429,
9
- 500,
10
- 502,
11
- 503,
12
- 504
13
- ];
14
- /**
15
- * A class that can be used to make async calls with concurrency and retry logic.
16
- *
17
- * This is useful for making calls to any kind of "expensive" external resource,
18
- * be it because it's rate-limited, subject to network issues, etc.
19
- *
20
- * Concurrent calls are limited by the `maxConcurrency` parameter, which defaults
21
- * to `Infinity`. This means that by default, all calls will be made in parallel.
22
- *
23
- * Retries are limited by the `maxRetries` parameter, which defaults to 6. This
24
- * means that by default, each call will be retried up to 6 times, with an
25
- * exponential backoff between each attempt.
26
- */
27
- var AsyncCaller = class {
28
- constructor(params) {
29
- Object.defineProperty(this, "maxConcurrency", {
30
- enumerable: true,
31
- configurable: true,
32
- writable: true,
33
- value: void 0
34
- });
35
- Object.defineProperty(this, "maxRetries", {
36
- enumerable: true,
37
- configurable: true,
38
- writable: true,
39
- value: void 0
40
- });
41
- Object.defineProperty(this, "queue", {
42
- enumerable: true,
43
- configurable: true,
44
- writable: true,
45
- value: void 0
46
- });
47
- Object.defineProperty(this, "onFailedResponseHook", {
48
- enumerable: true,
49
- configurable: true,
50
- writable: true,
51
- value: void 0
52
- });
53
- this.maxConcurrency = params.maxConcurrency ?? Infinity;
54
- this.maxRetries = params.maxRetries ?? 6;
55
- if ("default" in import_dist.default) this.queue = new import_dist.default.default({ concurrency: this.maxConcurrency });
56
- else this.queue = new import_dist.default({ concurrency: this.maxConcurrency });
57
- this.onFailedResponseHook = params?.onFailedResponseHook;
58
- }
59
- call(callable, ...args) {
60
- const onFailedResponseHook = this.onFailedResponseHook;
61
- return this.queue.add(() => (0, p_retry.default)(() => callable(...args).catch((error) => {
62
- if (error instanceof Error) throw error;
63
- else throw new Error(error);
64
- }), {
65
- async onFailedAttempt(error) {
66
- if (error.message.startsWith("Cancel") || error.message.startsWith("TimeoutError") || error.name === "TimeoutError" || error.message.startsWith("AbortError")) throw error;
67
- if (error?.code === "ECONNABORTED") throw error;
68
- const response = error?.response;
69
- if (onFailedResponseHook) {
70
- const handled = await onFailedResponseHook(response);
71
- if (handled) return;
72
- }
73
- const status = response?.status ?? error?.status;
74
- if (status) {
75
- if (!STATUS_RETRYABLE.includes(+status)) throw error;
76
- }
77
- },
78
- retries: this.maxRetries,
79
- randomize: true
80
- }), { throwOnTimeout: true });
81
- }
82
- callWithOptions(options, callable, ...args) {
83
- if (options.signal) return Promise.race([this.call(callable, ...args), new Promise((_, reject) => {
84
- options.signal?.addEventListener("abort", () => {
85
- reject(/* @__PURE__ */ new Error("AbortError"));
86
- });
87
- })]);
88
- return this.call(callable, ...args);
89
- }
90
- };
91
-
92
- //#endregion
93
- exports.AsyncCaller = AsyncCaller;
94
- //# sourceMappingURL=async_caller.cjs.map