langgraph-ui-components 0.0.23 → 0.0.25

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 (942) hide show
  1. package/README.md +71 -25
  2. package/dist/_virtual/index.cjs.js +1 -1
  3. package/dist/_virtual/index.cjs12.js +1 -1
  4. package/dist/_virtual/index.cjs2.js +1 -1
  5. package/dist/_virtual/index.cjs3.js +1 -1
  6. package/dist/_virtual/index.cjs4.js +1 -1
  7. package/dist/_virtual/index.cjs5.js +1 -1
  8. package/dist/_virtual/index.cjs6.js +1 -1
  9. package/dist/_virtual/index.cjs7.js +1 -1
  10. package/dist/_virtual/index.cjs8.js +1 -1
  11. package/dist/_virtual/index.es.js +2 -5
  12. package/dist/_virtual/index.es12.js +5 -2
  13. package/dist/_virtual/index.es12.js.map +1 -1
  14. package/dist/_virtual/index.es2.js +2 -7
  15. package/dist/_virtual/index.es2.js.map +1 -1
  16. package/dist/_virtual/index.es3.js +7 -2
  17. package/dist/_virtual/index.es3.js.map +1 -1
  18. package/dist/_virtual/index.es4.js +3 -5
  19. package/dist/_virtual/index.es4.js.map +1 -1
  20. package/dist/_virtual/index.es5.js +4 -2
  21. package/dist/_virtual/index.es5.js.map +1 -1
  22. package/dist/_virtual/index.es6.js +2 -2
  23. package/dist/_virtual/index.es7.js +2 -2
  24. package/dist/_virtual/index.es8.js +2 -2
  25. package/dist/assets/langgraph-ui-components.css +1 -1
  26. package/dist/components/ChatBody.cjs.js +2 -2
  27. package/dist/components/ChatBody.cjs.js.map +1 -1
  28. package/dist/components/ChatBody.d.ts.map +1 -1
  29. package/dist/components/ChatBody.es.js +130 -116
  30. package/dist/components/ChatBody.es.js.map +1 -1
  31. package/dist/components/Thinking.cjs.js +1 -1
  32. package/dist/components/Thinking.cjs.js.map +1 -1
  33. package/dist/components/Thinking.d.ts.map +1 -1
  34. package/dist/components/Thinking.es.js +10 -13
  35. package/dist/components/Thinking.es.js.map +1 -1
  36. package/dist/components/messages/AgentMessage.cjs.js +1 -1
  37. package/dist/components/messages/AgentMessage.cjs.js.map +1 -1
  38. package/dist/components/messages/AgentMessage.d.ts.map +1 -1
  39. package/dist/components/messages/AgentMessage.es.js +60 -51
  40. package/dist/components/messages/AgentMessage.es.js.map +1 -1
  41. package/dist/components/sidebar/ChatInput.cjs.js +1 -1
  42. package/dist/components/sidebar/ChatInput.cjs.js.map +1 -1
  43. package/dist/components/sidebar/ChatInput.es.js +30 -30
  44. package/dist/components/sidebar/ChatInput.es.js.map +1 -1
  45. package/dist/components/ui/syntax-highlighter.cjs.js +1 -1
  46. package/dist/components/ui/syntax-highlighter.cjs.js.map +1 -1
  47. package/dist/components/ui/syntax-highlighter.es.js +1 -1
  48. package/dist/entries/components.cjs.js +1 -1
  49. package/dist/entries/components.d.ts.map +1 -1
  50. package/dist/entries/components.es.js +5 -4
  51. package/dist/entries/components.es.js.map +1 -1
  52. package/dist/entries/hooks.cjs.js +1 -1
  53. package/dist/entries/hooks.d.ts.map +1 -1
  54. package/dist/entries/hooks.es.js +6 -5
  55. package/dist/entries/hooks.es.js.map +1 -1
  56. package/dist/entries/providers.cjs.js +1 -1
  57. package/dist/entries/providers.d.ts.map +1 -1
  58. package/dist/entries/providers.es.js +19 -18
  59. package/dist/entries/providers.es.js.map +1 -1
  60. package/dist/index.cjs.js +1 -1
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.es.js +29 -28
  63. package/dist/index.es.js.map +1 -1
  64. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.cjs.js +2 -0
  65. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.cjs.js.map +1 -0
  66. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.es.js +12 -0
  67. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.es.js.map +1 -0
  68. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.cjs.js +2 -0
  69. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.cjs.js.map +1 -0
  70. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.es.js +66 -0
  71. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.es.js.map +1 -0
  72. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.cjs.js +2 -0
  73. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.cjs.js.map +1 -0
  74. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/anthropic.es.js +77 -89
  75. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.es.js.map +1 -0
  76. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.cjs.js +2 -0
  77. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.cjs.js.map +1 -0
  78. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.es.js +50 -54
  79. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.es.js.map +1 -0
  80. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.cjs.js +2 -0
  81. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.cjs.js.map +1 -0
  82. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.es.js +42 -0
  83. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.es.js.map +1 -0
  84. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.cjs.js.map +1 -0
  85. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.es.js.map +1 -0
  86. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.cjs.js +2 -0
  87. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.cjs.js.map +1 -0
  88. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.es.js +77 -0
  89. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.es.js.map +1 -0
  90. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.cjs.js.map +1 -0
  91. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.es.js.map +1 -0
  92. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.cjs.js +2 -0
  93. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.cjs.js.map +1 -0
  94. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.es.js +11 -11
  95. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.es.js.map +1 -0
  96. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.cjs.js.map +1 -0
  97. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.es.js.map +1 -0
  98. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.cjs.js +2 -0
  99. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.cjs.js.map +1 -0
  100. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.es.js +23 -0
  101. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.es.js.map +1 -0
  102. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.cjs.js.map +1 -0
  103. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.es.js.map +1 -0
  104. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.cjs.js +2 -0
  105. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.cjs.js.map +1 -0
  106. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/openai.es.js +81 -39
  107. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.es.js.map +1 -0
  108. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.cjs.js.map +1 -0
  109. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/utils.es.js +4 -4
  110. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.es.js.map +1 -0
  111. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.cjs.js.map +1 -0
  112. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.es.js.map +1 -0
  113. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.cjs.js +2 -0
  114. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.cjs.js.map +1 -0
  115. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.es.js +16 -0
  116. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.es.js.map +1 -0
  117. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.cjs.js +2 -0
  118. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.cjs.js.map +1 -0
  119. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.es.js +9 -0
  120. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.es.js.map +1 -0
  121. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.cjs.js.map +1 -0
  122. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/utils/fast-json-patch/index.es.js +1 -3
  123. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.es.js.map +1 -0
  124. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.cjs.js +2 -0
  125. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.cjs.js.map +1 -0
  126. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.es.js +230 -0
  127. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.es.js.map +1 -0
  128. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.cjs.js +3 -0
  129. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.cjs.js.map +1 -0
  130. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.es.js +7 -11
  131. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.es.js.map +1 -0
  132. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.cjs.js +3 -0
  133. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/utils/json.cjs.js.map +1 -1
  134. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.es.js +133 -0
  135. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/utils/json.es.js.map +1 -1
  136. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.cjs.js +2 -0
  137. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.cjs.js.map +1 -0
  138. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.es.js +29 -0
  139. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.es.js.map +1 -0
  140. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/utils/sax-js/sax.cjs.js +5 -5
  141. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.cjs.js.map +1 -0
  142. package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/utils/sax-js/sax.es.js +81 -90
  143. package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.es.js.map +1 -0
  144. package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.cjs.js +1 -1
  145. package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.es.js +1 -1
  146. package/dist/node_modules/.pnpm/camelcase@6.3.0/node_modules/camelcase/index.cjs.js +1 -1
  147. package/dist/node_modules/.pnpm/camelcase@6.3.0/node_modules/camelcase/index.cjs.js.map +1 -1
  148. package/dist/node_modules/.pnpm/camelcase@6.3.0/node_modules/camelcase/index.es.js +1 -1
  149. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.js +1 -1
  150. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.es.js +1 -1
  151. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.cjs.js +2 -0
  152. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.cjs.js.map +1 -0
  153. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.es.js +3 -0
  154. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.es.js.map +1 -0
  155. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.js +2 -0
  156. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.js.map +1 -0
  157. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.es.js +6 -0
  158. package/dist/node_modules/.pnpm/{langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.js.map → langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.es.js.map} +1 -1
  159. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.cjs.js +2 -0
  160. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.cjs.js.map +1 -0
  161. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.es.js +14 -0
  162. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.es.js.map +1 -0
  163. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.cjs.js +2 -0
  164. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.cjs.js.map +1 -0
  165. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.es.js +3 -0
  166. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.es.js.map +1 -0
  167. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.cjs.js +2 -0
  168. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.cjs.js.map +1 -0
  169. package/dist/node_modules/.pnpm/{langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache.es.js → langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.es.js} +53 -57
  170. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.es.js.map +1 -0
  171. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.cjs.js +2 -0
  172. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.cjs.js.map +1 -0
  173. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.es.js +22 -0
  174. package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.es.js.map +1 -0
  175. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.js +1 -1
  176. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.es.js +1 -1
  177. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.js +1 -1
  178. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.es.js +1 -1
  179. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.cjs.js +1 -1
  180. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.es.js +1 -1
  181. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.cjs.js +1 -1
  182. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.es.js +1 -1
  183. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.cjs.js +1 -1
  184. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.es.js +1 -1
  185. package/dist/pages/Sidebar/sidebar.cjs.js +1 -1
  186. package/dist/pages/Sidebar/sidebar.cjs.js.map +1 -1
  187. package/dist/pages/Sidebar/sidebar.es.js +32 -32
  188. package/dist/pages/Sidebar/sidebar.es.js.map +1 -1
  189. package/dist/providers/ChatRuntime.es.js +4 -4
  190. package/dist/providers/Stream.cjs.js +1 -1
  191. package/dist/providers/Stream.cjs.js.map +1 -1
  192. package/dist/providers/Stream.d.ts.map +1 -1
  193. package/dist/providers/Stream.es.js +103 -86
  194. package/dist/providers/Stream.es.js.map +1 -1
  195. package/dist/styles.css +1 -1
  196. package/package.json +20 -7
  197. package/src/components/ChatBody.tsx +45 -26
  198. package/src/components/Thinking.tsx +0 -1
  199. package/src/components/messages/AgentMessage.tsx +27 -9
  200. package/src/components/sidebar/ChatInput.tsx +5 -5
  201. package/src/entries/components.ts +2 -0
  202. package/src/entries/hooks.ts +2 -0
  203. package/src/entries/providers.ts +2 -0
  204. package/src/index.css +3 -0
  205. package/src/index.ts +2 -0
  206. package/src/pages/Sidebar/sidebar.tsx +1 -1
  207. package/src/providers/Stream.tsx +41 -0
  208. package/dist/_virtual/index.cjs13.js +0 -2
  209. package/dist/_virtual/index.cjs13.js.map +0 -1
  210. package/dist/_virtual/index.es13.js +0 -8
  211. package/dist/_virtual/index.es13.js.map +0 -1
  212. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/deep-compare-strict.cjs.js +0 -2
  213. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/deep-compare-strict.cjs.js.map +0 -1
  214. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/deep-compare-strict.es.js +0 -32
  215. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/deep-compare-strict.es.js.map +0 -1
  216. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/dereference.cjs.js +0 -2
  217. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/dereference.cjs.js.map +0 -1
  218. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/dereference.es.js +0 -103
  219. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/dereference.es.js.map +0 -1
  220. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/format.cjs.js +0 -2
  221. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/format.cjs.js.map +0 -1
  222. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/format.es.js +0 -68
  223. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/format.es.js.map +0 -1
  224. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/pointer.cjs.js +0 -2
  225. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/pointer.cjs.js.map +0 -1
  226. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/pointer.es.js +0 -11
  227. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/pointer.es.js.map +0 -1
  228. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/ucs2-length.cjs.js +0 -2
  229. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/ucs2-length.cjs.js.map +0 -1
  230. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/ucs2-length.es.js +0 -10
  231. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/ucs2-length.es.js.map +0 -1
  232. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validate.cjs.js +0 -5
  233. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validate.cjs.js.map +0 -1
  234. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validate.es.js +0 -526
  235. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validate.es.js.map +0 -1
  236. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validator.cjs.js +0 -2
  237. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validator.cjs.js.map +0 -1
  238. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validator.es.js +0 -21
  239. package/dist/node_modules/.pnpm/@cfworker_json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/validator.es.js.map +0 -1
  240. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/rolldown_runtime.cjs.js +0 -2
  241. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/rolldown_runtime.cjs.js.map +0 -1
  242. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/rolldown_runtime.es.js +0 -10
  243. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/rolldown_runtime.es.js.map +0 -1
  244. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/base.cjs.js +0 -2
  245. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/base.cjs.js.map +0 -1
  246. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/base.es.js +0 -88
  247. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/base.es.js.map +0 -1
  248. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/manager.cjs.js +0 -2
  249. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/manager.cjs.js.map +0 -1
  250. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/manager.es.js +0 -376
  251. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/manager.es.js.map +0 -1
  252. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/promises.cjs.js +0 -2
  253. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/promises.cjs.js.map +0 -1
  254. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/promises.es.js +0 -13
  255. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/callbacks/promises.es.js.map +0 -1
  256. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.cjs.js +0 -5
  257. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.cjs.js.map +0 -1
  258. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.es.js +0 -10
  259. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.es.js.map +0 -1
  260. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/map_keys.cjs.js +0 -2
  261. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/map_keys.cjs.js.map +0 -1
  262. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/map_keys.es.js +0 -15
  263. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/map_keys.es.js.map +0 -1
  264. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/serializable.cjs.js +0 -2
  265. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/serializable.cjs.js.map +0 -1
  266. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/serializable.es.js +0 -122
  267. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/serializable.es.js.map +0 -1
  268. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/validation.cjs.js +0 -2
  269. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/validation.cjs.js.map +0 -1
  270. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/validation.es.js +0 -36
  271. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/load/validation.es.js.map +0 -1
  272. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/ai.cjs.js +0 -4
  273. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/ai.cjs.js.map +0 -1
  274. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/ai.es.js +0 -201
  275. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/ai.es.js.map +0 -1
  276. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/base.cjs.js +0 -6
  277. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/base.cjs.js.map +0 -1
  278. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/base.es.js +0 -232
  279. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/base.es.js.map +0 -1
  280. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.cjs.js +0 -2
  281. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.cjs.js.map +0 -1
  282. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.es.js.map +0 -1
  283. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.cjs.js +0 -2
  284. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.cjs.js.map +0 -1
  285. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.es.js.map +0 -1
  286. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.cjs.js +0 -2
  287. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.cjs.js.map +0 -1
  288. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.es.js +0 -64
  289. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.es.js.map +0 -1
  290. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.cjs.js.map +0 -1
  291. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.es.js.map +0 -1
  292. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.cjs.js.map +0 -1
  293. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.es.js.map +0 -1
  294. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.cjs.js +0 -2
  295. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.cjs.js.map +0 -1
  296. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.es.js.map +0 -1
  297. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.cjs.js.map +0 -1
  298. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.es.js.map +0 -1
  299. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.cjs.js +0 -2
  300. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.cjs.js.map +0 -1
  301. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.es.js +0 -27
  302. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.es.js.map +0 -1
  303. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.cjs.js.map +0 -1
  304. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.es.js.map +0 -1
  305. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.cjs.js +0 -2
  306. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.cjs.js.map +0 -1
  307. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.es.js.map +0 -1
  308. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.cjs.js.map +0 -1
  309. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.es.js.map +0 -1
  310. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.cjs.js.map +0 -1
  311. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.es.js.map +0 -1
  312. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/chat.cjs.js +0 -2
  313. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/chat.cjs.js.map +0 -1
  314. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/chat.es.js +0 -70
  315. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/chat.es.js.map +0 -1
  316. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.cjs.js +0 -2
  317. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.cjs.js.map +0 -1
  318. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.es.js +0 -93
  319. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.es.js.map +0 -1
  320. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/index.cjs.js +0 -2
  321. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/index.cjs.js.map +0 -1
  322. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/index.es.js +0 -12
  323. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/index.es.js.map +0 -1
  324. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/multimodal.cjs.js +0 -2
  325. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/multimodal.cjs.js.map +0 -1
  326. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/multimodal.es.js +0 -11
  327. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/multimodal.es.js.map +0 -1
  328. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/tools.cjs.js +0 -2
  329. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/tools.cjs.js.map +0 -1
  330. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/tools.es.js +0 -12
  331. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/tools.es.js.map +0 -1
  332. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/format.cjs.js +0 -3
  333. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/format.cjs.js.map +0 -1
  334. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/format.es.js +0 -26
  335. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/format.es.js.map +0 -1
  336. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/function.cjs.js +0 -2
  337. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/function.cjs.js.map +0 -1
  338. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/function.es.js +0 -39
  339. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/function.es.js.map +0 -1
  340. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/human.cjs.js +0 -2
  341. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/human.cjs.js.map +0 -1
  342. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/human.es.js +0 -46
  343. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/human.es.js.map +0 -1
  344. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/index.cjs.js +0 -2
  345. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/index.cjs.js.map +0 -1
  346. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/index.es.js +0 -148
  347. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/index.es.js.map +0 -1
  348. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/message.cjs.js +0 -2
  349. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/message.cjs.js.map +0 -1
  350. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/message.es.js +0 -7
  351. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/message.es.js.map +0 -1
  352. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/metadata.cjs.js +0 -2
  353. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/metadata.cjs.js.map +0 -1
  354. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/metadata.es.js +0 -30
  355. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/metadata.es.js.map +0 -1
  356. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/modifier.cjs.js +0 -2
  357. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/modifier.cjs.js.map +0 -1
  358. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/modifier.es.js +0 -27
  359. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/modifier.es.js.map +0 -1
  360. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/system.cjs.js +0 -2
  361. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/system.cjs.js.map +0 -1
  362. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/system.es.js +0 -70
  363. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/system.es.js.map +0 -1
  364. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/tool.cjs.js +0 -2
  365. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/tool.cjs.js.map +0 -1
  366. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/tool.es.js +0 -137
  367. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/tool.es.js.map +0 -1
  368. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/transformers.cjs.js +0 -5
  369. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/transformers.cjs.js.map +0 -1
  370. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/transformers.es.js +0 -266
  371. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/transformers.es.js.map +0 -1
  372. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/utils.cjs.js +0 -5
  373. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/utils.cjs.js.map +0 -1
  374. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/utils.es.js +0 -210
  375. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/utils.es.js.map +0 -1
  376. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/base.cjs.js +0 -2
  377. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/base.cjs.js.map +0 -1
  378. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/base.es.js +0 -72
  379. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/base.es.js.map +0 -1
  380. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/bytes.cjs.js +0 -2
  381. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/bytes.cjs.js.map +0 -1
  382. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/bytes.es.js +0 -23
  383. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/bytes.es.js.map +0 -1
  384. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/index.cjs.js +0 -2
  385. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/index.cjs.js.map +0 -1
  386. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/index.es.js +0 -59
  387. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/index.es.js.map +0 -1
  388. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/json.cjs.js +0 -2
  389. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/json.cjs.js.map +0 -1
  390. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/json.es.js +0 -46
  391. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/json.es.js.map +0 -1
  392. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/list.cjs.js +0 -14
  393. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/list.cjs.js.map +0 -1
  394. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/list.es.js +0 -146
  395. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/list.es.js.map +0 -1
  396. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/string.cjs.js +0 -2
  397. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/string.cjs.js.map +0 -1
  398. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/string.es.js +0 -53
  399. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/string.es.js.map +0 -1
  400. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/structured.cjs.js +0 -25
  401. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/structured.cjs.js.map +0 -1
  402. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/structured.es.js +0 -147
  403. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/structured.es.js.map +0 -1
  404. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/transform.cjs.js +0 -2
  405. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/transform.cjs.js.map +0 -1
  406. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/transform.es.js +0 -62
  407. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/transform.es.js.map +0 -1
  408. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/xml.cjs.js +0 -26
  409. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/xml.cjs.js.map +0 -1
  410. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/xml.es.js +0 -100
  411. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/output_parsers/xml.es.js.map +0 -1
  412. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/outputs.cjs.js +0 -2
  413. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/outputs.cjs.js.map +0 -1
  414. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/outputs.es.js +0 -46
  415. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/outputs.es.js.map +0 -1
  416. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/base.cjs.js +0 -3
  417. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/base.cjs.js.map +0 -1
  418. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/base.es.js +0 -1237
  419. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/base.es.js.map +0 -1
  420. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/branch.cjs.js +0 -2
  421. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/branch.cjs.js.map +0 -1
  422. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/branch.es.js +0 -99
  423. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/branch.es.js.map +0 -1
  424. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/config.cjs.js +0 -2
  425. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/config.cjs.js.map +0 -1
  426. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/config.es.js +0 -110
  427. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/config.es.js.map +0 -1
  428. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph.cjs.js +0 -2
  429. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph.cjs.js.map +0 -1
  430. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph.es.js +0 -184
  431. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph.es.js.map +0 -1
  432. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph_mermaid.cjs.js +0 -12
  433. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph_mermaid.cjs.js.map +0 -1
  434. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph_mermaid.es.js +0 -89
  435. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/graph_mermaid.es.js.map +0 -1
  436. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/history.cjs.js +0 -4
  437. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/history.cjs.js.map +0 -1
  438. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/history.es.js +0 -79
  439. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/history.es.js.map +0 -1
  440. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/index.cjs.js +0 -2
  441. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/index.cjs.js.map +0 -1
  442. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/index.es.js +0 -61
  443. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/index.es.js.map +0 -1
  444. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/iter.cjs.js +0 -2
  445. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/iter.cjs.js.map +0 -1
  446. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/iter.es.js +0 -33
  447. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/iter.es.js.map +0 -1
  448. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/passthrough.cjs.js +0 -2
  449. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/passthrough.cjs.js.map +0 -1
  450. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/passthrough.es.js +0 -65
  451. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/passthrough.es.js.map +0 -1
  452. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/router.cjs.js +0 -2
  453. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/router.cjs.js.map +0 -1
  454. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/router.es.js +0 -37
  455. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/router.es.js.map +0 -1
  456. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/utils.cjs.js +0 -2
  457. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/utils.cjs.js.map +0 -1
  458. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/utils.es.js +0 -26
  459. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/utils.es.js.map +0 -1
  460. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/wrappers.cjs.js +0 -7
  461. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/wrappers.cjs.js.map +0 -1
  462. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/wrappers.es.js +0 -17
  463. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/wrappers.es.js.map +0 -1
  464. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/context.cjs.js +0 -2
  465. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/context.cjs.js.map +0 -1
  466. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/context.es.js +0 -12
  467. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/context.es.js.map +0 -1
  468. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.cjs.js +0 -2
  469. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.cjs.js.map +0 -1
  470. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.es.js +0 -9
  471. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.es.js.map +0 -1
  472. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/index.cjs.js +0 -2
  473. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/index.cjs.js.map +0 -1
  474. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/index.es.js +0 -44
  475. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/async_local_storage/index.es.js.map +0 -1
  476. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/callbacks.cjs.js +0 -2
  477. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/callbacks.cjs.js.map +0 -1
  478. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/callbacks.es.js +0 -33
  479. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/callbacks.es.js.map +0 -1
  480. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/index.cjs.js +0 -2
  481. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/index.cjs.js.map +0 -1
  482. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/index.es.js +0 -16
  483. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/index.es.js.map +0 -1
  484. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/tracer.cjs.js +0 -2
  485. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/tracer.cjs.js.map +0 -1
  486. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/tracer.es.js +0 -15
  487. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/singletons/tracer.es.js.map +0 -1
  488. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tools/utils.cjs.js +0 -2
  489. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tools/utils.cjs.js.map +0 -1
  490. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tools/utils.es.js +0 -14
  491. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tools/utils.es.js.map +0 -1
  492. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/base.cjs.js +0 -4
  493. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/base.cjs.js.map +0 -1
  494. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/base.es.js +0 -347
  495. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/base.es.js.map +0 -1
  496. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.cjs.js +0 -2
  497. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.cjs.js.map +0 -1
  498. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.es.js +0 -187
  499. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.es.js.map +0 -1
  500. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/event_stream.cjs.js +0 -2
  501. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/event_stream.cjs.js.map +0 -1
  502. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/event_stream.es.js +0 -293
  503. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/event_stream.es.js.map +0 -1
  504. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/log_stream.cjs.js +0 -2
  505. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/log_stream.cjs.js.map +0 -1
  506. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/log_stream.es.js +0 -209
  507. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/log_stream.es.js.map +0 -1
  508. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/root_listener.cjs.js +0 -2
  509. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/root_listener.cjs.js.map +0 -1
  510. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/root_listener.es.js +0 -31
  511. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/root_listener.es.js.map +0 -1
  512. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/tracer_langchain.cjs.js +0 -2
  513. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/tracer_langchain.cjs.js.map +0 -1
  514. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/tracer_langchain.es.js +0 -94
  515. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/tracer_langchain.es.js.map +0 -1
  516. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/async_caller.cjs.js +0 -2
  517. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/async_caller.cjs.js.map +0 -1
  518. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/async_caller.es.js +0 -66
  519. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/async_caller.es.js.map +0 -1
  520. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/callbacks.cjs.js +0 -2
  521. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/callbacks.cjs.js.map +0 -1
  522. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/callbacks.es.js +0 -11
  523. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/callbacks.es.js.map +0 -1
  524. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/env.cjs.js +0 -2
  525. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/env.cjs.js.map +0 -1
  526. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/env.es.js +0 -42
  527. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/env.es.js.map +0 -1
  528. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.cjs.js.map +0 -1
  529. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.es.js.map +0 -1
  530. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.cjs.js +0 -2
  531. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.cjs.js.map +0 -1
  532. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.es.js +0 -236
  533. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.es.js.map +0 -1
  534. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.cjs.js +0 -2
  535. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.cjs.js.map +0 -1
  536. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.es.js +0 -54
  537. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.es.js.map +0 -1
  538. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.cjs.js +0 -3
  539. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.cjs.js.map +0 -1
  540. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.es.js.map +0 -1
  541. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/is-network-error/index.cjs.js +0 -2
  542. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/is-network-error/index.cjs.js.map +0 -1
  543. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/is-network-error/index.es.js +0 -20
  544. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/is-network-error/index.es.js.map +0 -1
  545. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.cjs.js +0 -5
  546. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.es.js +0 -146
  547. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_patch.cjs.js +0 -2
  548. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_patch.cjs.js.map +0 -1
  549. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_patch.es.js +0 -15
  550. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_patch.es.js.map +0 -1
  551. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_schema.cjs.js +0 -2
  552. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_schema.cjs.js.map +0 -1
  553. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_schema.es.js +0 -50
  554. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json_schema.es.js.map +0 -1
  555. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/p-retry/index.cjs.js +0 -2
  556. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/p-retry/index.cjs.js.map +0 -1
  557. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/p-retry/index.es.js +0 -96
  558. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/p-retry/index.es.js.map +0 -1
  559. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.cjs.js.map +0 -1
  560. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.es.js.map +0 -1
  561. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/signal.cjs.js +0 -2
  562. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/signal.cjs.js.map +0 -1
  563. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/signal.es.js +0 -20
  564. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/signal.es.js.map +0 -1
  565. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/stream.cjs.js +0 -2
  566. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/stream.cjs.js.map +0 -1
  567. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/stream.es.js +0 -161
  568. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/stream.es.js.map +0 -1
  569. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/types/zod.cjs.js +0 -2
  570. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/types/zod.cjs.js.map +0 -1
  571. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/types/zod.es.js +0 -137
  572. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/types/zod.es.js.map +0 -1
  573. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.cjs.js +0 -2
  574. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.cjs.js.map +0 -1
  575. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.es.js +0 -33
  576. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.es.js.map +0 -1
  577. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.cjs.js +0 -2
  578. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.cjs.js.map +0 -1
  579. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.es.js +0 -27
  580. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.es.js.map +0 -1
  581. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.cjs.js +0 -2
  582. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.cjs.js.map +0 -1
  583. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.es.js +0 -14
  584. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.es.js.map +0 -1
  585. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.cjs.js +0 -2
  586. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.cjs.js.map +0 -1
  587. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.es.js +0 -9
  588. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.es.js.map +0 -1
  589. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.cjs.js +0 -2
  590. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.cjs.js.map +0 -1
  591. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.es.js +0 -42
  592. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.es.js.map +0 -1
  593. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.cjs.js +0 -2
  594. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.cjs.js.map +0 -1
  595. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.es.js +0 -14
  596. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.es.js.map +0 -1
  597. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.cjs.js +0 -2
  598. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.cjs.js.map +0 -1
  599. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.es.js +0 -14
  600. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.es.js.map +0 -1
  601. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.cjs.js +0 -2
  602. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.cjs.js.map +0 -1
  603. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.es.js +0 -24
  604. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.es.js.map +0 -1
  605. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.cjs.js +0 -2
  606. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.cjs.js.map +0 -1
  607. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.es.js +0 -7
  608. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.es.js.map +0 -1
  609. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.cjs.js +0 -2
  610. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.cjs.js.map +0 -1
  611. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.es.js +0 -8
  612. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.es.js.map +0 -1
  613. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.cjs.js +0 -2
  614. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.cjs.js.map +0 -1
  615. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.es.js +0 -6
  616. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.es.js.map +0 -1
  617. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.cjs.js +0 -2
  618. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.cjs.js.map +0 -1
  619. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.es.js +0 -40
  620. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.es.js.map +0 -1
  621. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.cjs.js +0 -2
  622. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.cjs.js.map +0 -1
  623. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.es.js +0 -11
  624. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.es.js.map +0 -1
  625. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.cjs.js +0 -2
  626. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.cjs.js.map +0 -1
  627. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.es.js +0 -9
  628. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.es.js.map +0 -1
  629. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.cjs.js +0 -2
  630. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.cjs.js.map +0 -1
  631. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.es.js +0 -10
  632. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.es.js.map +0 -1
  633. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.cjs.js +0 -2
  634. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.cjs.js.map +0 -1
  635. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.es.js +0 -40
  636. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.es.js.map +0 -1
  637. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.cjs.js +0 -2
  638. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.cjs.js.map +0 -1
  639. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.es.js +0 -14
  640. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.es.js.map +0 -1
  641. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.cjs.js +0 -2
  642. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.cjs.js.map +0 -1
  643. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.es.js +0 -37
  644. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.es.js.map +0 -1
  645. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.cjs.js +0 -2
  646. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.cjs.js.map +0 -1
  647. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.es.js +0 -11
  648. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.es.js.map +0 -1
  649. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.cjs.js +0 -2
  650. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.cjs.js.map +0 -1
  651. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.es.js +0 -11
  652. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.es.js.map +0 -1
  653. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.cjs.js +0 -2
  654. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.cjs.js.map +0 -1
  655. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.es.js +0 -10
  656. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.es.js.map +0 -1
  657. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.cjs.js +0 -2
  658. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.cjs.js.map +0 -1
  659. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.es.js +0 -41
  660. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.es.js.map +0 -1
  661. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.cjs.js +0 -2
  662. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.cjs.js.map +0 -1
  663. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.es.js +0 -24
  664. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.es.js.map +0 -1
  665. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.cjs.js +0 -2
  666. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.cjs.js.map +0 -1
  667. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.es.js +0 -55
  668. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.es.js.map +0 -1
  669. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.cjs.js +0 -2
  670. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.cjs.js.map +0 -1
  671. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.es.js +0 -18
  672. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.es.js.map +0 -1
  673. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.cjs.js +0 -2
  674. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.cjs.js.map +0 -1
  675. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.es.js +0 -25
  676. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.es.js.map +0 -1
  677. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.cjs.js +0 -2
  678. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.cjs.js.map +0 -1
  679. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.es.js +0 -8
  680. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.es.js.map +0 -1
  681. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.cjs.js +0 -2
  682. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.cjs.js.map +0 -1
  683. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.es.js +0 -6
  684. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.es.js.map +0 -1
  685. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.cjs.js +0 -2
  686. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.cjs.js.map +0 -1
  687. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.es.js +0 -55
  688. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.es.js.map +0 -1
  689. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.cjs.js +0 -2
  690. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.cjs.js.map +0 -1
  691. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.es.js +0 -17
  692. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.es.js.map +0 -1
  693. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.cjs.js +0 -6
  694. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.cjs.js.map +0 -1
  695. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.es.js +0 -199
  696. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.es.js.map +0 -1
  697. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.cjs.js +0 -2
  698. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.cjs.js.map +0 -1
  699. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.es.js +0 -35
  700. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.es.js.map +0 -1
  701. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.cjs.js +0 -2
  702. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.cjs.js.map +0 -1
  703. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.es.js +0 -8
  704. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.es.js.map +0 -1
  705. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.cjs.js +0 -2
  706. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.cjs.js.map +0 -1
  707. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.es.js +0 -62
  708. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.es.js.map +0 -1
  709. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.cjs.js +0 -2
  710. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.cjs.js.map +0 -1
  711. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.es.js +0 -8
  712. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.es.js.map +0 -1
  713. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.cjs.js +0 -2
  714. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.cjs.js.map +0 -1
  715. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.es.js +0 -110
  716. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.es.js.map +0 -1
  717. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.cjs.js +0 -2
  718. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.cjs.js.map +0 -1
  719. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.es.js +0 -32
  720. package/dist/node_modules/.pnpm/@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.es.js.map +0 -1
  721. package/dist/node_modules/.pnpm/decamelize@1.2.0/node_modules/decamelize/index.cjs.js +0 -2
  722. package/dist/node_modules/.pnpm/decamelize@1.2.0/node_modules/decamelize/index.cjs.js.map +0 -1
  723. package/dist/node_modules/.pnpm/decamelize@1.2.0/node_modules/decamelize/index.es.js +0 -12
  724. package/dist/node_modules/.pnpm/decamelize@1.2.0/node_modules/decamelize/index.es.js.map +0 -1
  725. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/client.cjs.js +0 -32
  726. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/client.cjs.js.map +0 -1
  727. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/client.es.js +0 -2737
  728. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/client.es.js.map +0 -1
  729. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/env.cjs.js +0 -2
  730. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/env.cjs.js.map +0 -1
  731. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/env.es.js +0 -6
  732. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/env.es.js.map +0 -1
  733. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/constants.cjs.js +0 -2
  734. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/constants.cjs.js.map +0 -1
  735. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/constants.es.js +0 -37
  736. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/constants.es.js.map +0 -1
  737. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/translator.cjs.js +0 -2
  738. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/translator.cjs.js.map +0 -1
  739. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/translator.es.js +0 -167
  740. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/experimental/otel/translator.es.js.map +0 -1
  741. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/index.cjs.js +0 -2
  742. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/index.cjs.js.map +0 -1
  743. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/index.es.js +0 -10
  744. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/index.es.js.map +0 -1
  745. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/run_trees.cjs.js +0 -2
  746. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/run_trees.cjs.js.map +0 -1
  747. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/run_trees.es.js +0 -683
  748. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/run_trees.es.js.map +0 -1
  749. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/constants.cjs.js +0 -2
  750. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/constants.cjs.js.map +0 -1
  751. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/constants.es.js +0 -6
  752. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/constants.es.js.map +0 -1
  753. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/fetch.cjs.js +0 -2
  754. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/fetch.cjs.js.map +0 -1
  755. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/fetch.es.js +0 -17
  756. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/fetch.es.js.map +0 -1
  757. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/otel.cjs.js +0 -2
  758. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/otel.cjs.js.map +0 -1
  759. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/otel.es.js +0 -88
  760. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/otel.es.js.map +0 -1
  761. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/traceable.cjs.js +0 -4
  762. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/traceable.cjs.js.map +0 -1
  763. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/traceable.es.js +0 -34
  764. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/singletons/traceable.es.js.map +0 -1
  765. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.cjs.js +0 -2
  766. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.cjs.js.map +0 -1
  767. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.es.js +0 -18
  768. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.es.js.map +0 -1
  769. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/async_caller.cjs.js +0 -2
  770. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/async_caller.cjs.js.map +0 -1
  771. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/async_caller.es.js +0 -98
  772. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/async_caller.es.js.map +0 -1
  773. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/context_vars.cjs.js +0 -2
  774. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/context_vars.cjs.js.map +0 -1
  775. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/context_vars.es.js +0 -17
  776. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/context_vars.es.js.map +0 -1
  777. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/env.cjs.js +0 -2
  778. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/env.cjs.js.map +0 -1
  779. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/env.es.js +0 -107
  780. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/env.es.js.map +0 -1
  781. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/error.cjs.js +0 -2
  782. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/error.cjs.js.map +0 -1
  783. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/error.es.js +0 -73
  784. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/error.es.js.map +0 -1
  785. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.js +0 -4
  786. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.es.js +0 -114
  787. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.es.js.map +0 -1
  788. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/is-network-error/index.cjs.js +0 -2
  789. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/is-network-error/index.cjs.js.map +0 -1
  790. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/is-network-error/index.es.js +0 -31
  791. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/is-network-error/index.es.js.map +0 -1
  792. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/messages.cjs.js +0 -2
  793. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/messages.cjs.js.map +0 -1
  794. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/messages.es.js +0 -15
  795. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/messages.es.js.map +0 -1
  796. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-retry/index.cjs.js +0 -2
  797. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-retry/index.cjs.js.map +0 -1
  798. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-retry/index.es.js +0 -109
  799. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-retry/index.es.js.map +0 -1
  800. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/project.cjs.js +0 -2
  801. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/project.cjs.js.map +0 -1
  802. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/project.es.js +0 -7
  803. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/project.es.js.map +0 -1
  804. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts.cjs.js +0 -2
  805. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts.cjs.js.map +0 -1
  806. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts.es.js +0 -20
  807. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts.es.js.map +0 -1
  808. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache.cjs.js +0 -2
  809. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache.cjs.js.map +0 -1
  810. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache.es.js.map +0 -1
  811. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache_fs.browser.cjs.js +0 -2
  812. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache_fs.browser.cjs.js.map +0 -1
  813. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache_fs.browser.es.js +0 -11
  814. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompts_cache_fs.browser.es.js.map +0 -1
  815. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/warn.cjs.js +0 -2
  816. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/warn.cjs.js.map +0 -1
  817. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/warn.es.js +0 -8
  818. package/dist/node_modules/.pnpm/langsmith@0.4.6_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/warn.es.js.map +0 -1
  819. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/native.cjs.js +0 -2
  820. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/native.cjs.js.map +0 -1
  821. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/native.es.js +0 -8
  822. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/native.es.js.map +0 -1
  823. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/parse.cjs.js +0 -2
  824. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/parse.cjs.js.map +0 -1
  825. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/parse.es.js +0 -11
  826. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/parse.es.js.map +0 -1
  827. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/regex.cjs.js +0 -2
  828. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/regex.cjs.js.map +0 -1
  829. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/regex.es.js +0 -5
  830. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/regex.es.js.map +0 -1
  831. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/rng.cjs.js +0 -2
  832. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/rng.cjs.js.map +0 -1
  833. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/rng.es.js +0 -10
  834. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/rng.es.js.map +0 -1
  835. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/sha1.cjs.js +0 -2
  836. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/sha1.cjs.js.map +0 -1
  837. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/sha1.es.js +0 -47
  838. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/sha1.es.js.map +0 -1
  839. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/stringify.cjs.js +0 -2
  840. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/stringify.cjs.js.map +0 -1
  841. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/stringify.es.js +0 -10
  842. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/stringify.es.js.map +0 -1
  843. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v35.cjs.js +0 -2
  844. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v35.cjs.js.map +0 -1
  845. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v35.es.js +0 -35
  846. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v35.es.js.map +0 -1
  847. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v4.cjs.js +0 -2
  848. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v4.cjs.js.map +0 -1
  849. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v4.es.js +0 -14
  850. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v4.es.js.map +0 -1
  851. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v5.cjs.js +0 -2
  852. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v5.cjs.js.map +0 -1
  853. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v5.es.js +0 -7
  854. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v5.es.js.map +0 -1
  855. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v7.cjs.js +0 -2
  856. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v7.cjs.js.map +0 -1
  857. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v7.es.js +0 -12
  858. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/v7.es.js.map +0 -1
  859. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/validate.cjs.js +0 -2
  860. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/validate.cjs.js.map +0 -1
  861. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/validate.es.js +0 -8
  862. package/dist/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-browser/validate.es.js.map +0 -1
  863. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.cjs.js +0 -2
  864. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.cjs.js.map +0 -1
  865. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.es.js +0 -88
  866. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.es.js.map +0 -1
  867. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/errors.cjs.js +0 -2
  868. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/errors.cjs.js.map +0 -1
  869. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/errors.es.js +0 -10
  870. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/errors.es.js.map +0 -1
  871. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.cjs.js +0 -2
  872. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.cjs.js.map +0 -1
  873. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.es.js +0 -8
  874. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.es.js.map +0 -1
  875. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.cjs.js +0 -2
  876. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.cjs.js.map +0 -1
  877. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.es.js +0 -98
  878. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.es.js.map +0 -1
  879. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.cjs.js +0 -2
  880. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.cjs.js.map +0 -1
  881. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.es.js +0 -95
  882. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.es.js.map +0 -1
  883. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/locales/en.cjs.js +0 -2
  884. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/locales/en.cjs.js.map +0 -1
  885. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/locales/en.es.js +0 -62
  886. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/locales/en.es.js.map +0 -1
  887. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.cjs.js +0 -2
  888. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.cjs.js.map +0 -1
  889. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.es.js +0 -2337
  890. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.es.js.map +0 -1
  891. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.cjs.js +0 -2
  892. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.cjs.js.map +0 -1
  893. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.es.js +0 -13
  894. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.es.js.map +0 -1
  895. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.cjs.js +0 -2
  896. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.cjs.js.map +0 -1
  897. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.es.js +0 -50
  898. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.es.js.map +0 -1
  899. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.cjs.js +0 -2
  900. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.cjs.js.map +0 -1
  901. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.es.js +0 -19
  902. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.es.js.map +0 -1
  903. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema-processors.cjs.js +0 -2
  904. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema-processors.cjs.js.map +0 -1
  905. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema-processors.es.js +0 -346
  906. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema-processors.es.js.map +0 -1
  907. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/parse.cjs.js +0 -2
  908. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/parse.cjs.js.map +0 -1
  909. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/parse.es.js +0 -36
  910. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/parse.es.js.map +0 -1
  911. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.cjs.js +0 -2
  912. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.cjs.js.map +0 -1
  913. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.es.js +0 -41
  914. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.es.js.map +0 -1
  915. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.cjs.js +0 -2
  916. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.cjs.js.map +0 -1
  917. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.es.js +0 -93
  918. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.es.js.map +0 -1
  919. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.cjs.js +0 -4
  920. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.cjs.js.map +0 -1
  921. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.es.js +0 -240
  922. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.es.js.map +0 -1
  923. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.cjs.js +0 -2
  924. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.cjs.js.map +0 -1
  925. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.es.js +0 -64
  926. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.es.js.map +0 -1
  927. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.cjs.js +0 -2
  928. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.cjs.js.map +0 -1
  929. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.es.js +0 -9
  930. package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.es.js.map +0 -1
  931. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/deepseek.cjs.js +0 -0
  932. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/deepseek.es.js +0 -0
  933. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/google_genai.cjs.js +0 -0
  934. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/google_genai.es.js +0 -0
  935. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/groq.cjs.js +0 -0
  936. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/groq.es.js +0 -0
  937. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/ollama.cjs.js +0 -0
  938. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/ollama.es.js +0 -0
  939. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/utils.cjs.js +0 -0
  940. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/xai.cjs.js +0 -0
  941. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/messages/block_translators/xai.es.js +0 -0
  942. /package/dist/node_modules/.pnpm/{@langchain_core@1.1.13_openai@6.16.0_zod@4.3.5_ → @langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_}/node_modules/@langchain/core/dist/utils/fast-json-patch/index.cjs.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.es.js","sources":["../../../../../../../../../node_modules/.pnpm/@langchain+core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/base.js"],"sourcesContent":["import { Serializable } from \"../load/serializable.js\";\nimport { ToolInputParsingException, _isToolCall } from \"../tools/utils.js\";\nimport { AsyncLocalStorageProviderSingleton } from \"../singletons/async_local_storage/index.js\";\nimport \"../singletons/index.js\";\nimport { DEFAULT_RECURSION_LIMIT, ensureConfig, getCallbackManagerForConfig, mergeConfigs, patchConfig, pickRunnableConfigKeys } from \"./config.js\";\nimport { getAbortSignalError, raceWithSignal } from \"../utils/signal.js\";\nimport { AsyncGeneratorWithSetup, IterableReadableStream, atee, concat, pipeGeneratorWithSetup } from \"../utils/stream.js\";\nimport { LogStreamCallbackHandler, RunLog, RunLogPatch, isLogStreamHandler } from \"../tracers/log_stream.js\";\nimport { EventStreamCallbackHandler, isStreamEventsHandler } from \"../tracers/event_stream.js\";\nimport { pRetry } from \"../utils/p-retry/index.js\";\nimport { AsyncCaller } from \"../utils/async_caller.js\";\nimport { RootListenersTracer } from \"../tracers/root_listener.js\";\nimport { _RootEventFilter, isRunnableInterface } from \"./utils.js\";\nimport { getSchemaDescription, interopParseAsync, isSimpleStringZodSchema } from \"../utils/types/zod.js\";\nimport { Graph } from \"./graph.js\";\nimport { convertToHttpEventStream } from \"./wrappers.js\";\nimport { consumeAsyncIterableInContext, consumeIteratorInContext, isAsyncIterable, isIterableIterator, isIterator } from \"./iter.js\";\nimport { z } from \"zod/v3\";\nimport { v4 } from \"uuid\";\nimport { isTraceableFunction } from \"langsmith/singletons/traceable\";\n\n//#region src/runnables/base.ts\nfunction _coerceToDict(value, defaultKey) {\n\treturn value && !Array.isArray(value) && !(value instanceof Date) && typeof value === \"object\" ? value : { [defaultKey]: value };\n}\n/**\n* A Runnable is a generic unit of work that can be invoked, batched, streamed, and/or\n* transformed.\n*/\nvar Runnable = class extends Serializable {\n\tlc_runnable = true;\n\tname;\n\tgetName(suffix) {\n\t\tconst name = this.name ?? this.constructor.lc_name() ?? this.constructor.name;\n\t\treturn suffix ? `${name}${suffix}` : name;\n\t}\n\t/**\n\t* Add retry logic to an existing runnable.\n\t* @param fields.stopAfterAttempt The number of attempts to retry.\n\t* @param fields.onFailedAttempt A function that is called when a retry fails.\n\t* @returns A new RunnableRetry that, when invoked, will retry according to the parameters.\n\t*/\n\twithRetry(fields) {\n\t\treturn new RunnableRetry({\n\t\t\tbound: this,\n\t\t\tkwargs: {},\n\t\t\tconfig: {},\n\t\t\tmaxAttemptNumber: fields?.stopAfterAttempt,\n\t\t\t...fields\n\t\t});\n\t}\n\t/**\n\t* Bind config to a Runnable, returning a new Runnable.\n\t* @param config New configuration parameters to attach to the new runnable.\n\t* @returns A new RunnableBinding with a config matching what's passed.\n\t*/\n\twithConfig(config) {\n\t\treturn new RunnableBinding({\n\t\t\tbound: this,\n\t\t\tconfig,\n\t\t\tkwargs: {}\n\t\t});\n\t}\n\t/**\n\t* Create a new runnable from the current one that will try invoking\n\t* other passed fallback runnables if the initial invocation fails.\n\t* @param fields.fallbacks Other runnables to call if the runnable errors.\n\t* @returns A new RunnableWithFallbacks.\n\t*/\n\twithFallbacks(fields) {\n\t\tconst fallbacks = Array.isArray(fields) ? fields : fields.fallbacks;\n\t\treturn new RunnableWithFallbacks({\n\t\t\trunnable: this,\n\t\t\tfallbacks\n\t\t});\n\t}\n\t_getOptionsList(options, length = 0) {\n\t\tif (Array.isArray(options) && options.length !== length) throw new Error(`Passed \"options\" must be an array with the same length as the inputs, but got ${options.length} options for ${length} inputs`);\n\t\tif (Array.isArray(options)) return options.map(ensureConfig);\n\t\tif (length > 1 && !Array.isArray(options) && options.runId) {\n\t\t\tconsole.warn(\"Provided runId will be used only for the first element of the batch.\");\n\t\t\tconst subsequent = Object.fromEntries(Object.entries(options).filter(([key]) => key !== \"runId\"));\n\t\t\treturn Array.from({ length }, (_, i) => ensureConfig(i === 0 ? options : subsequent));\n\t\t}\n\t\treturn Array.from({ length }, () => ensureConfig(options));\n\t}\n\tasync batch(inputs, options, batchOptions) {\n\t\tconst configList = this._getOptionsList(options ?? {}, inputs.length);\n\t\tconst maxConcurrency = configList[0]?.maxConcurrency ?? batchOptions?.maxConcurrency;\n\t\tconst caller = new AsyncCaller({\n\t\t\tmaxConcurrency,\n\t\t\tonFailedAttempt: (e) => {\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t});\n\t\tconst batchCalls = inputs.map((input, i) => caller.call(async () => {\n\t\t\ttry {\n\t\t\t\tconst result = await this.invoke(input, configList[i]);\n\t\t\t\treturn result;\n\t\t\t} catch (e) {\n\t\t\t\tif (batchOptions?.returnExceptions) return e;\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t}));\n\t\treturn Promise.all(batchCalls);\n\t}\n\t/**\n\t* Default streaming implementation.\n\t* Subclasses should override this method if they support streaming output.\n\t* @param input\n\t* @param options\n\t*/\n\tasync *_streamIterator(input, options) {\n\t\tyield this.invoke(input, options);\n\t}\n\t/**\n\t* Stream output in chunks.\n\t* @param input\n\t* @param options\n\t* @returns A readable stream that is also an iterable.\n\t*/\n\tasync stream(input, options) {\n\t\tconst config = ensureConfig(options);\n\t\tconst wrappedGenerator = new AsyncGeneratorWithSetup({\n\t\t\tgenerator: this._streamIterator(input, config),\n\t\t\tconfig\n\t\t});\n\t\tawait wrappedGenerator.setup;\n\t\treturn IterableReadableStream.fromAsyncGenerator(wrappedGenerator);\n\t}\n\t_separateRunnableConfigFromCallOptions(options) {\n\t\tlet runnableConfig;\n\t\tif (options === void 0) runnableConfig = ensureConfig(options);\n\t\telse runnableConfig = ensureConfig({\n\t\t\tcallbacks: options.callbacks,\n\t\t\ttags: options.tags,\n\t\t\tmetadata: options.metadata,\n\t\t\trunName: options.runName,\n\t\t\tconfigurable: options.configurable,\n\t\t\trecursionLimit: options.recursionLimit,\n\t\t\tmaxConcurrency: options.maxConcurrency,\n\t\t\trunId: options.runId,\n\t\t\ttimeout: options.timeout,\n\t\t\tsignal: options.signal\n\t\t});\n\t\tconst callOptions = { ...options };\n\t\tdelete callOptions.callbacks;\n\t\tdelete callOptions.tags;\n\t\tdelete callOptions.metadata;\n\t\tdelete callOptions.runName;\n\t\tdelete callOptions.configurable;\n\t\tdelete callOptions.recursionLimit;\n\t\tdelete callOptions.maxConcurrency;\n\t\tdelete callOptions.runId;\n\t\tdelete callOptions.timeout;\n\t\tdelete callOptions.signal;\n\t\treturn [runnableConfig, callOptions];\n\t}\n\tasync _callWithConfig(func, input, options) {\n\t\tconst config = ensureConfig(options);\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), _coerceToDict(input, \"input\"), config.runId, config?.runType, void 0, void 0, config?.runName ?? this.getName());\n\t\tdelete config.runId;\n\t\tlet output;\n\t\ttry {\n\t\t\tconst promise = func.call(this, input, config, runManager);\n\t\t\toutput = await raceWithSignal(promise, options?.signal);\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e);\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(_coerceToDict(output, \"output\"));\n\t\treturn output;\n\t}\n\t/**\n\t* Internal method that handles batching and configuration for a runnable\n\t* It takes a function, input values, and optional configuration, and\n\t* returns a promise that resolves to the output values.\n\t* @param func The function to be executed for each input value.\n\t* @param input The input values to be processed.\n\t* @param config Optional configuration for the function execution.\n\t* @returns A promise that resolves to the output values.\n\t*/\n\tasync _batchWithConfig(func, inputs, options, batchOptions) {\n\t\tconst optionsList = this._getOptionsList(options ?? {}, inputs.length);\n\t\tconst callbackManagers = await Promise.all(optionsList.map(getCallbackManagerForConfig));\n\t\tconst runManagers = await Promise.all(callbackManagers.map(async (callbackManager, i) => {\n\t\t\tconst handleStartRes = await callbackManager?.handleChainStart(this.toJSON(), _coerceToDict(inputs[i], \"input\"), optionsList[i].runId, optionsList[i].runType, void 0, void 0, optionsList[i].runName ?? this.getName());\n\t\t\tdelete optionsList[i].runId;\n\t\t\treturn handleStartRes;\n\t\t}));\n\t\tlet outputs;\n\t\ttry {\n\t\t\tconst promise = func.call(this, inputs, optionsList, runManagers, batchOptions);\n\t\t\toutputs = await raceWithSignal(promise, optionsList?.[0]?.signal);\n\t\t} catch (e) {\n\t\t\tawait Promise.all(runManagers.map((runManager) => runManager?.handleChainError(e)));\n\t\t\tthrow e;\n\t\t}\n\t\tawait Promise.all(runManagers.map((runManager) => runManager?.handleChainEnd(_coerceToDict(outputs, \"output\"))));\n\t\treturn outputs;\n\t}\n\t/** @internal */\n\t_concatOutputChunks(first, second) {\n\t\treturn concat(first, second);\n\t}\n\t/**\n\t* Helper method to transform an Iterator of Input values into an Iterator of\n\t* Output values, with callbacks.\n\t* Use this to implement `stream()` or `transform()` in Runnable subclasses.\n\t*/\n\tasync *_transformStreamWithConfig(inputGenerator, transformer, options) {\n\t\tlet finalInput;\n\t\tlet finalInputSupported = true;\n\t\tlet finalOutput;\n\t\tlet finalOutputSupported = true;\n\t\tconst config = ensureConfig(options);\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst outerThis = this;\n\t\tasync function* wrapInputForTracing() {\n\t\t\tfor await (const chunk of inputGenerator) {\n\t\t\t\tif (finalInputSupported) if (finalInput === void 0) finalInput = chunk;\n\t\t\t\telse try {\n\t\t\t\t\tfinalInput = outerThis._concatOutputChunks(finalInput, chunk);\n\t\t\t\t} catch {\n\t\t\t\t\tfinalInput = void 0;\n\t\t\t\t\tfinalInputSupported = false;\n\t\t\t\t}\n\t\t\t\tyield chunk;\n\t\t\t}\n\t\t}\n\t\tlet runManager;\n\t\ttry {\n\t\t\tconst pipe = await pipeGeneratorWithSetup(transformer.bind(this), wrapInputForTracing(), async () => callbackManager_?.handleChainStart(this.toJSON(), { input: \"\" }, config.runId, config.runType, void 0, void 0, config.runName ?? this.getName(), void 0, { lc_defers_inputs: true }), options?.signal, config);\n\t\t\tdelete config.runId;\n\t\t\trunManager = pipe.setup;\n\t\t\tconst streamEventsHandler = runManager?.handlers.find(isStreamEventsHandler);\n\t\t\tlet iterator = pipe.output;\n\t\t\tif (streamEventsHandler !== void 0 && runManager !== void 0) iterator = streamEventsHandler.tapOutputIterable(runManager.runId, iterator);\n\t\t\tconst streamLogHandler = runManager?.handlers.find(isLogStreamHandler);\n\t\t\tif (streamLogHandler !== void 0 && runManager !== void 0) iterator = streamLogHandler.tapOutputIterable(runManager.runId, iterator);\n\t\t\tfor await (const chunk of iterator) {\n\t\t\t\tyield chunk;\n\t\t\t\tif (finalOutputSupported) if (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\telse try {\n\t\t\t\t\tfinalOutput = this._concatOutputChunks(finalOutput, chunk);\n\t\t\t\t} catch {\n\t\t\t\t\tfinalOutput = void 0;\n\t\t\t\t\tfinalOutputSupported = false;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e, void 0, void 0, void 0, { inputs: _coerceToDict(finalInput, \"input\") });\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(finalOutput ?? {}, void 0, void 0, void 0, { inputs: _coerceToDict(finalInput, \"input\") });\n\t}\n\tgetGraph(_) {\n\t\tconst graph = new Graph();\n\t\tconst inputNode = graph.addNode({\n\t\t\tname: `${this.getName()}Input`,\n\t\t\tschema: z.any()\n\t\t});\n\t\tconst runnableNode = graph.addNode(this);\n\t\tconst outputNode = graph.addNode({\n\t\t\tname: `${this.getName()}Output`,\n\t\t\tschema: z.any()\n\t\t});\n\t\tgraph.addEdge(inputNode, runnableNode);\n\t\tgraph.addEdge(runnableNode, outputNode);\n\t\treturn graph;\n\t}\n\t/**\n\t* Create a new runnable sequence that runs each individual runnable in series,\n\t* piping the output of one runnable into another runnable or runnable-like.\n\t* @param coerceable A runnable, function, or object whose values are functions or runnables.\n\t* @returns A new runnable sequence.\n\t*/\n\tpipe(coerceable) {\n\t\treturn new RunnableSequence({\n\t\t\tfirst: this,\n\t\t\tlast: _coerceToRunnable(coerceable)\n\t\t});\n\t}\n\t/**\n\t* Pick keys from the dict output of this runnable. Returns a new runnable.\n\t*/\n\tpick(keys) {\n\t\treturn this.pipe(new RunnablePick(keys));\n\t}\n\t/**\n\t* Assigns new fields to the dict output of this runnable. Returns a new runnable.\n\t*/\n\tassign(mapping) {\n\t\treturn this.pipe(new RunnableAssign(new RunnableMap({ steps: mapping })));\n\t}\n\t/**\n\t* Default implementation of transform, which buffers input and then calls stream.\n\t* Subclasses should override this method if they can start producing output while\n\t* input is still being generated.\n\t* @param generator\n\t* @param options\n\t*/\n\tasync *transform(generator, options) {\n\t\tlet finalChunk;\n\t\tfor await (const chunk of generator) if (finalChunk === void 0) finalChunk = chunk;\n\t\telse finalChunk = this._concatOutputChunks(finalChunk, chunk);\n\t\tyield* this._streamIterator(finalChunk, ensureConfig(options));\n\t}\n\t/**\n\t* Stream all output from a runnable, as reported to the callback system.\n\t* This includes all inner runs of LLMs, Retrievers, Tools, etc.\n\t* Output is streamed as Log objects, which include a list of\n\t* jsonpatch ops that describe how the state of the run has changed in each\n\t* step, and the final state of the run.\n\t* The jsonpatch ops can be applied in order to construct state.\n\t* @param input\n\t* @param options\n\t* @param streamOptions\n\t*/\n\tasync *streamLog(input, options, streamOptions) {\n\t\tconst logStreamCallbackHandler = new LogStreamCallbackHandler({\n\t\t\t...streamOptions,\n\t\t\tautoClose: false,\n\t\t\t_schemaFormat: \"original\"\n\t\t});\n\t\tconst config = ensureConfig(options);\n\t\tyield* this._streamLog(input, logStreamCallbackHandler, config);\n\t}\n\tasync *_streamLog(input, logStreamCallbackHandler, config) {\n\t\tconst { callbacks } = config;\n\t\tif (callbacks === void 0) config.callbacks = [logStreamCallbackHandler];\n\t\telse if (Array.isArray(callbacks)) config.callbacks = callbacks.concat([logStreamCallbackHandler]);\n\t\telse {\n\t\t\tconst copiedCallbacks = callbacks.copy();\n\t\t\tcopiedCallbacks.addHandler(logStreamCallbackHandler, true);\n\t\t\tconfig.callbacks = copiedCallbacks;\n\t\t}\n\t\tconst runnableStreamPromise = this.stream(input, config);\n\t\tasync function consumeRunnableStream() {\n\t\t\ttry {\n\t\t\t\tconst runnableStream = await runnableStreamPromise;\n\t\t\t\tfor await (const chunk of runnableStream) {\n\t\t\t\t\tconst patch = new RunLogPatch({ ops: [{\n\t\t\t\t\t\top: \"add\",\n\t\t\t\t\t\tpath: \"/streamed_output/-\",\n\t\t\t\t\t\tvalue: chunk\n\t\t\t\t\t}] });\n\t\t\t\t\tawait logStreamCallbackHandler.writer.write(patch);\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tawait logStreamCallbackHandler.writer.close();\n\t\t\t}\n\t\t}\n\t\tconst runnableStreamConsumePromise = consumeRunnableStream();\n\t\ttry {\n\t\t\tfor await (const log of logStreamCallbackHandler) yield log;\n\t\t} finally {\n\t\t\tawait runnableStreamConsumePromise;\n\t\t}\n\t}\n\tstreamEvents(input, options, streamOptions) {\n\t\tlet stream;\n\t\tif (options.version === \"v1\") stream = this._streamEventsV1(input, options, streamOptions);\n\t\telse if (options.version === \"v2\") stream = this._streamEventsV2(input, options, streamOptions);\n\t\telse throw new Error(`Only versions \"v1\" and \"v2\" of the schema are currently supported.`);\n\t\tif (options.encoding === \"text/event-stream\") return convertToHttpEventStream(stream);\n\t\telse return IterableReadableStream.fromAsyncGenerator(stream);\n\t}\n\tasync *_streamEventsV2(input, options, streamOptions) {\n\t\tconst eventStreamer = new EventStreamCallbackHandler({\n\t\t\t...streamOptions,\n\t\t\tautoClose: false\n\t\t});\n\t\tconst config = ensureConfig(options);\n\t\tconst runId = config.runId ?? v4();\n\t\tconfig.runId = runId;\n\t\tconst callbacks = config.callbacks;\n\t\tif (callbacks === void 0) config.callbacks = [eventStreamer];\n\t\telse if (Array.isArray(callbacks)) config.callbacks = callbacks.concat(eventStreamer);\n\t\telse {\n\t\t\tconst copiedCallbacks = callbacks.copy();\n\t\t\tcopiedCallbacks.addHandler(eventStreamer, true);\n\t\t\tconfig.callbacks = copiedCallbacks;\n\t\t}\n\t\tconst abortController = new AbortController();\n\t\tconst outerThis = this;\n\t\tasync function consumeRunnableStream() {\n\t\t\tlet signal;\n\t\t\tlet listener = null;\n\t\t\ttry {\n\t\t\t\tif (options?.signal) if (\"any\" in AbortSignal) signal = AbortSignal.any([abortController.signal, options.signal]);\n\t\t\t\telse {\n\t\t\t\t\tsignal = options.signal;\n\t\t\t\t\tlistener = () => {\n\t\t\t\t\t\tabortController.abort();\n\t\t\t\t\t};\n\t\t\t\t\toptions.signal.addEventListener(\"abort\", listener, { once: true });\n\t\t\t\t}\n\t\t\t\telse signal = abortController.signal;\n\t\t\t\tconst runnableStream = await outerThis.stream(input, {\n\t\t\t\t\t...config,\n\t\t\t\t\tsignal\n\t\t\t\t});\n\t\t\t\tconst tappedStream = eventStreamer.tapOutputIterable(runId, runnableStream);\n\t\t\t\tfor await (const _ of tappedStream) if (abortController.signal.aborted) break;\n\t\t\t} finally {\n\t\t\t\tawait eventStreamer.finish();\n\t\t\t\tif (signal && listener) signal.removeEventListener(\"abort\", listener);\n\t\t\t}\n\t\t}\n\t\tconst runnableStreamConsumePromise = consumeRunnableStream();\n\t\tlet firstEventSent = false;\n\t\tlet firstEventRunId;\n\t\ttry {\n\t\t\tfor await (const event of eventStreamer) {\n\t\t\t\tif (!firstEventSent) {\n\t\t\t\t\tevent.data.input = input;\n\t\t\t\t\tfirstEventSent = true;\n\t\t\t\t\tfirstEventRunId = event.run_id;\n\t\t\t\t\tyield event;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (event.run_id === firstEventRunId && event.event.endsWith(\"_end\")) {\n\t\t\t\t\tif (event.data?.input) delete event.data.input;\n\t\t\t\t}\n\t\t\t\tyield event;\n\t\t\t}\n\t\t} finally {\n\t\t\tabortController.abort();\n\t\t\tawait runnableStreamConsumePromise;\n\t\t}\n\t}\n\tasync *_streamEventsV1(input, options, streamOptions) {\n\t\tlet runLog;\n\t\tlet hasEncounteredStartEvent = false;\n\t\tconst config = ensureConfig(options);\n\t\tconst rootTags = config.tags ?? [];\n\t\tconst rootMetadata = config.metadata ?? {};\n\t\tconst rootName = config.runName ?? this.getName();\n\t\tconst logStreamCallbackHandler = new LogStreamCallbackHandler({\n\t\t\t...streamOptions,\n\t\t\tautoClose: false,\n\t\t\t_schemaFormat: \"streaming_events\"\n\t\t});\n\t\tconst rootEventFilter = new _RootEventFilter({ ...streamOptions });\n\t\tconst logStream = this._streamLog(input, logStreamCallbackHandler, config);\n\t\tfor await (const log of logStream) {\n\t\t\tif (!runLog) runLog = RunLog.fromRunLogPatch(log);\n\t\t\telse runLog = runLog.concat(log);\n\t\t\tif (runLog.state === void 0) throw new Error(`Internal error: \"streamEvents\" state is missing. Please open a bug report.`);\n\t\t\tif (!hasEncounteredStartEvent) {\n\t\t\t\thasEncounteredStartEvent = true;\n\t\t\t\tconst state$2 = { ...runLog.state };\n\t\t\t\tconst event = {\n\t\t\t\t\trun_id: state$2.id,\n\t\t\t\t\tevent: `on_${state$2.type}_start`,\n\t\t\t\t\tname: rootName,\n\t\t\t\t\ttags: rootTags,\n\t\t\t\t\tmetadata: rootMetadata,\n\t\t\t\t\tdata: { input }\n\t\t\t\t};\n\t\t\t\tif (rootEventFilter.includeEvent(event, state$2.type)) yield event;\n\t\t\t}\n\t\t\tconst paths = log.ops.filter((op) => op.path.startsWith(\"/logs/\")).map((op) => op.path.split(\"/\")[2]);\n\t\t\tconst dedupedPaths = [...new Set(paths)];\n\t\t\tfor (const path of dedupedPaths) {\n\t\t\t\tlet eventType;\n\t\t\t\tlet data = {};\n\t\t\t\tconst logEntry = runLog.state.logs[path];\n\t\t\t\tif (logEntry.end_time === void 0) if (logEntry.streamed_output.length > 0) eventType = \"stream\";\n\t\t\t\telse eventType = \"start\";\n\t\t\t\telse eventType = \"end\";\n\t\t\t\tif (eventType === \"start\") {\n\t\t\t\t\tif (logEntry.inputs !== void 0) data.input = logEntry.inputs;\n\t\t\t\t} else if (eventType === \"end\") {\n\t\t\t\t\tif (logEntry.inputs !== void 0) data.input = logEntry.inputs;\n\t\t\t\t\tdata.output = logEntry.final_output;\n\t\t\t\t} else if (eventType === \"stream\") {\n\t\t\t\t\tconst chunkCount = logEntry.streamed_output.length;\n\t\t\t\t\tif (chunkCount !== 1) throw new Error(`Expected exactly one chunk of streamed output, got ${chunkCount} instead. Encountered in: \"${logEntry.name}\"`);\n\t\t\t\t\tdata = { chunk: logEntry.streamed_output[0] };\n\t\t\t\t\tlogEntry.streamed_output = [];\n\t\t\t\t}\n\t\t\t\tyield {\n\t\t\t\t\tevent: `on_${logEntry.type}_${eventType}`,\n\t\t\t\t\tname: logEntry.name,\n\t\t\t\t\trun_id: logEntry.id,\n\t\t\t\t\ttags: logEntry.tags,\n\t\t\t\t\tmetadata: logEntry.metadata,\n\t\t\t\t\tdata\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst { state: state$1 } = runLog;\n\t\t\tif (state$1.streamed_output.length > 0) {\n\t\t\t\tconst chunkCount = state$1.streamed_output.length;\n\t\t\t\tif (chunkCount !== 1) throw new Error(`Expected exactly one chunk of streamed output, got ${chunkCount} instead. Encountered in: \"${state$1.name}\"`);\n\t\t\t\tconst data = { chunk: state$1.streamed_output[0] };\n\t\t\t\tstate$1.streamed_output = [];\n\t\t\t\tconst event = {\n\t\t\t\t\tevent: `on_${state$1.type}_stream`,\n\t\t\t\t\trun_id: state$1.id,\n\t\t\t\t\ttags: rootTags,\n\t\t\t\t\tmetadata: rootMetadata,\n\t\t\t\t\tname: rootName,\n\t\t\t\t\tdata\n\t\t\t\t};\n\t\t\t\tif (rootEventFilter.includeEvent(event, state$1.type)) yield event;\n\t\t\t}\n\t\t}\n\t\tconst state = runLog?.state;\n\t\tif (state !== void 0) {\n\t\t\tconst event = {\n\t\t\t\tevent: `on_${state.type}_end`,\n\t\t\t\tname: rootName,\n\t\t\t\trun_id: state.id,\n\t\t\t\ttags: rootTags,\n\t\t\t\tmetadata: rootMetadata,\n\t\t\t\tdata: { output: state.final_output }\n\t\t\t};\n\t\t\tif (rootEventFilter.includeEvent(event, state.type)) yield event;\n\t\t}\n\t}\n\tstatic isRunnable(thing) {\n\t\treturn isRunnableInterface(thing);\n\t}\n\t/**\n\t* Bind lifecycle listeners to a Runnable, returning a new Runnable.\n\t* The Run object contains information about the run, including its id,\n\t* type, input, output, error, startTime, endTime, and any tags or metadata\n\t* added to the run.\n\t*\n\t* @param {Object} params - The object containing the callback functions.\n\t* @param {(run: Run) => void} params.onStart - Called before the runnable starts running, with the Run object.\n\t* @param {(run: Run) => void} params.onEnd - Called after the runnable finishes running, with the Run object.\n\t* @param {(run: Run) => void} params.onError - Called if the runnable throws an error, with the Run object.\n\t*/\n\twithListeners({ onStart, onEnd, onError }) {\n\t\treturn new RunnableBinding({\n\t\t\tbound: this,\n\t\t\tconfig: {},\n\t\t\tconfigFactories: [(config) => ({ callbacks: [new RootListenersTracer({\n\t\t\t\tconfig,\n\t\t\t\tonStart,\n\t\t\t\tonEnd,\n\t\t\t\tonError\n\t\t\t})] })]\n\t\t});\n\t}\n\t/**\n\t* Convert a runnable to a tool. Return a new instance of `RunnableToolLike`\n\t* which contains the runnable, name, description and schema.\n\t*\n\t* @template {T extends RunInput = RunInput} RunInput - The input type of the runnable. Should be the same as the `RunInput` type of the runnable.\n\t*\n\t* @param fields\n\t* @param {string | undefined} [fields.name] The name of the tool. If not provided, it will default to the name of the runnable.\n\t* @param {string | undefined} [fields.description] The description of the tool. Falls back to the description on the Zod schema if not provided, or undefined if neither are provided.\n\t* @param {z.ZodType<T>} [fields.schema] The Zod schema for the input of the tool. Infers the Zod type from the input type of the runnable.\n\t* @returns {RunnableToolLike<z.ZodType<T>, RunOutput>} An instance of `RunnableToolLike` which is a runnable that can be used as a tool.\n\t*/\n\tasTool(fields) {\n\t\treturn convertRunnableToTool(this, fields);\n\t}\n};\n/**\n* Wraps a runnable and applies partial config upon invocation.\n*\n* @example\n* ```typescript\n* import {\n* type RunnableConfig,\n* RunnableLambda,\n* } from \"@langchain/core/runnables\";\n*\n* const enhanceProfile = (\n* profile: Record<string, any>,\n* config?: RunnableConfig\n* ) => {\n* if (config?.configurable?.role) {\n* return { ...profile, role: config.configurable.role };\n* }\n* return profile;\n* };\n*\n* const runnable = RunnableLambda.from(enhanceProfile);\n*\n* // Bind configuration to the runnable to set the user's role dynamically\n* const adminRunnable = runnable.withConfig({ configurable: { role: \"Admin\" } });\n* const userRunnable = runnable.withConfig({ configurable: { role: \"User\" } });\n*\n* const result1 = await adminRunnable.invoke({\n* name: \"Alice\",\n* email: \"alice@example.com\"\n* });\n*\n* // { name: \"Alice\", email: \"alice@example.com\", role: \"Admin\" }\n*\n* const result2 = await userRunnable.invoke({\n* name: \"Bob\",\n* email: \"bob@example.com\"\n* });\n*\n* // { name: \"Bob\", email: \"bob@example.com\", role: \"User\" }\n* ```\n*/\nvar RunnableBinding = class RunnableBinding extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableBinding\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tlc_serializable = true;\n\tbound;\n\tconfig;\n\tkwargs;\n\tconfigFactories;\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.bound = fields.bound;\n\t\tthis.kwargs = fields.kwargs;\n\t\tthis.config = fields.config;\n\t\tthis.configFactories = fields.configFactories;\n\t}\n\tgetName(suffix) {\n\t\treturn this.bound.getName(suffix);\n\t}\n\tasync _mergeConfig(...options) {\n\t\tconst config = mergeConfigs(this.config, ...options);\n\t\treturn mergeConfigs(config, ...this.configFactories ? await Promise.all(this.configFactories.map(async (configFactory) => await configFactory(config))) : []);\n\t}\n\twithConfig(config) {\n\t\treturn new this.constructor({\n\t\t\tbound: this.bound,\n\t\t\tkwargs: this.kwargs,\n\t\t\tconfig: {\n\t\t\t\t...this.config,\n\t\t\t\t...config\n\t\t\t}\n\t\t});\n\t}\n\twithRetry(fields) {\n\t\treturn new RunnableRetry({\n\t\t\tbound: this.bound,\n\t\t\tkwargs: this.kwargs,\n\t\t\tconfig: this.config,\n\t\t\tmaxAttemptNumber: fields?.stopAfterAttempt,\n\t\t\t...fields\n\t\t});\n\t}\n\tasync invoke(input, options) {\n\t\treturn this.bound.invoke(input, await this._mergeConfig(options, this.kwargs));\n\t}\n\tasync batch(inputs, options, batchOptions) {\n\t\tconst mergedOptions = Array.isArray(options) ? await Promise.all(options.map(async (individualOption) => this._mergeConfig(ensureConfig(individualOption), this.kwargs))) : await this._mergeConfig(ensureConfig(options), this.kwargs);\n\t\treturn this.bound.batch(inputs, mergedOptions, batchOptions);\n\t}\n\t/** @internal */\n\t_concatOutputChunks(first, second) {\n\t\treturn this.bound._concatOutputChunks(first, second);\n\t}\n\tasync *_streamIterator(input, options) {\n\t\tyield* this.bound._streamIterator(input, await this._mergeConfig(ensureConfig(options), this.kwargs));\n\t}\n\tasync stream(input, options) {\n\t\treturn this.bound.stream(input, await this._mergeConfig(ensureConfig(options), this.kwargs));\n\t}\n\tasync *transform(generator, options) {\n\t\tyield* this.bound.transform(generator, await this._mergeConfig(ensureConfig(options), this.kwargs));\n\t}\n\tstreamEvents(input, options, streamOptions) {\n\t\tconst outerThis = this;\n\t\tconst generator = async function* () {\n\t\t\tyield* outerThis.bound.streamEvents(input, {\n\t\t\t\t...await outerThis._mergeConfig(ensureConfig(options), outerThis.kwargs),\n\t\t\t\tversion: options.version\n\t\t\t}, streamOptions);\n\t\t};\n\t\treturn IterableReadableStream.fromAsyncGenerator(generator());\n\t}\n\tstatic isRunnableBinding(thing) {\n\t\treturn thing.bound && Runnable.isRunnable(thing.bound);\n\t}\n\t/**\n\t* Bind lifecycle listeners to a Runnable, returning a new Runnable.\n\t* The Run object contains information about the run, including its id,\n\t* type, input, output, error, startTime, endTime, and any tags or metadata\n\t* added to the run.\n\t*\n\t* @param {Object} params - The object containing the callback functions.\n\t* @param {(run: Run) => void} params.onStart - Called before the runnable starts running, with the Run object.\n\t* @param {(run: Run) => void} params.onEnd - Called after the runnable finishes running, with the Run object.\n\t* @param {(run: Run) => void} params.onError - Called if the runnable throws an error, with the Run object.\n\t*/\n\twithListeners({ onStart, onEnd, onError }) {\n\t\treturn new RunnableBinding({\n\t\t\tbound: this.bound,\n\t\t\tkwargs: this.kwargs,\n\t\t\tconfig: this.config,\n\t\t\tconfigFactories: [(config) => ({ callbacks: [new RootListenersTracer({\n\t\t\t\tconfig,\n\t\t\t\tonStart,\n\t\t\t\tonEnd,\n\t\t\t\tonError\n\t\t\t})] })]\n\t\t});\n\t}\n};\n/**\n* A runnable that delegates calls to another runnable\n* with each element of the input sequence.\n* @example\n* ```typescript\n* import { RunnableEach, RunnableLambda } from \"@langchain/core/runnables\";\n*\n* const toUpperCase = (input: string): string => input.toUpperCase();\n* const addGreeting = (input: string): string => `Hello, ${input}!`;\n*\n* const upperCaseLambda = RunnableLambda.from(toUpperCase);\n* const greetingLambda = RunnableLambda.from(addGreeting);\n*\n* const chain = new RunnableEach({\n* bound: upperCaseLambda.pipe(greetingLambda),\n* });\n*\n* const result = await chain.invoke([\"alice\", \"bob\", \"carol\"])\n*\n* // [\"Hello, ALICE!\", \"Hello, BOB!\", \"Hello, CAROL!\"]\n* ```\n*/\nvar RunnableEach = class RunnableEach extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableEach\";\n\t}\n\tlc_serializable = true;\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tbound;\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.bound = fields.bound;\n\t}\n\t/**\n\t* Invokes the runnable with the specified input and configuration.\n\t* @param input The input to invoke the runnable with.\n\t* @param config The configuration to invoke the runnable with.\n\t* @returns A promise that resolves to the output of the runnable.\n\t*/\n\tasync invoke(inputs, config) {\n\t\treturn this._callWithConfig(this._invoke.bind(this), inputs, config);\n\t}\n\t/**\n\t* A helper method that is used to invoke the runnable with the specified input and configuration.\n\t* @param input The input to invoke the runnable with.\n\t* @param config The configuration to invoke the runnable with.\n\t* @returns A promise that resolves to the output of the runnable.\n\t*/\n\tasync _invoke(inputs, config, runManager) {\n\t\treturn this.bound.batch(inputs, patchConfig(config, { callbacks: runManager?.getChild() }));\n\t}\n\t/**\n\t* Bind lifecycle listeners to a Runnable, returning a new Runnable.\n\t* The Run object contains information about the run, including its id,\n\t* type, input, output, error, startTime, endTime, and any tags or metadata\n\t* added to the run.\n\t*\n\t* @param {Object} params - The object containing the callback functions.\n\t* @param {(run: Run) => void} params.onStart - Called before the runnable starts running, with the Run object.\n\t* @param {(run: Run) => void} params.onEnd - Called after the runnable finishes running, with the Run object.\n\t* @param {(run: Run) => void} params.onError - Called if the runnable throws an error, with the Run object.\n\t*/\n\twithListeners({ onStart, onEnd, onError }) {\n\t\treturn new RunnableEach({ bound: this.bound.withListeners({\n\t\t\tonStart,\n\t\t\tonEnd,\n\t\t\tonError\n\t\t}) });\n\t}\n};\n/**\n* Base class for runnables that can be retried a\n* specified number of times.\n* @example\n* ```typescript\n* import {\n* RunnableLambda,\n* RunnableRetry,\n* } from \"@langchain/core/runnables\";\n*\n* // Simulate an API call that fails\n* const simulateApiCall = (input: string): string => {\n* console.log(`Attempting API call with input: ${input}`);\n* throw new Error(\"API call failed due to network issue\");\n* };\n*\n* const apiCallLambda = RunnableLambda.from(simulateApiCall);\n*\n* // Apply retry logic using the .withRetry() method\n* const apiCallWithRetry = apiCallLambda.withRetry({ stopAfterAttempt: 3 });\n*\n* // Alternatively, create a RunnableRetry instance manually\n* const manualRetry = new RunnableRetry({\n* bound: apiCallLambda,\n* maxAttemptNumber: 3,\n* config: {},\n* });\n*\n* // Example invocation using the .withRetry() method\n* const res = await apiCallWithRetry\n* .invoke(\"Request 1\")\n* .catch((error) => {\n* console.error(\"Failed after multiple retries:\", error.message);\n* });\n*\n* // Example invocation using the manual retry instance\n* const res2 = await manualRetry\n* .invoke(\"Request 2\")\n* .catch((error) => {\n* console.error(\"Failed after multiple retries:\", error.message);\n* });\n* ```\n*/\nvar RunnableRetry = class extends RunnableBinding {\n\tstatic lc_name() {\n\t\treturn \"RunnableRetry\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tmaxAttemptNumber = 3;\n\tonFailedAttempt = () => {};\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.maxAttemptNumber = fields.maxAttemptNumber ?? this.maxAttemptNumber;\n\t\tthis.onFailedAttempt = fields.onFailedAttempt ?? this.onFailedAttempt;\n\t}\n\t_patchConfigForRetry(attempt, config, runManager) {\n\t\tconst tag = attempt > 1 ? `retry:attempt:${attempt}` : void 0;\n\t\treturn patchConfig(config, { callbacks: runManager?.getChild(tag) });\n\t}\n\tasync _invoke(input, config, runManager) {\n\t\treturn pRetry((attemptNumber) => super.invoke(input, this._patchConfigForRetry(attemptNumber, config, runManager)), {\n\t\t\tonFailedAttempt: ({ error }) => this.onFailedAttempt(error, input),\n\t\t\tretries: Math.max(this.maxAttemptNumber - 1, 0),\n\t\t\trandomize: true\n\t\t});\n\t}\n\t/**\n\t* Method that invokes the runnable with the specified input, run manager,\n\t* and config. It handles the retry logic by catching any errors and\n\t* recursively invoking itself with the updated config for the next retry\n\t* attempt.\n\t* @param input The input for the runnable.\n\t* @param runManager The run manager for the runnable.\n\t* @param config The config for the runnable.\n\t* @returns A promise that resolves to the output of the runnable.\n\t*/\n\tasync invoke(input, config) {\n\t\treturn this._callWithConfig(this._invoke.bind(this), input, config);\n\t}\n\tasync _batch(inputs, configs, runManagers, batchOptions) {\n\t\tconst resultsMap = {};\n\t\ttry {\n\t\t\tawait pRetry(async (attemptNumber) => {\n\t\t\t\tconst remainingIndexes = inputs.map((_, i) => i).filter((i) => resultsMap[i.toString()] === void 0 || resultsMap[i.toString()] instanceof Error);\n\t\t\t\tconst remainingInputs = remainingIndexes.map((i) => inputs[i]);\n\t\t\t\tconst patchedConfigs = remainingIndexes.map((i) => this._patchConfigForRetry(attemptNumber, configs?.[i], runManagers?.[i]));\n\t\t\t\tconst results = await super.batch(remainingInputs, patchedConfigs, {\n\t\t\t\t\t...batchOptions,\n\t\t\t\t\treturnExceptions: true\n\t\t\t\t});\n\t\t\t\tlet firstException;\n\t\t\t\tfor (let i = 0; i < results.length; i += 1) {\n\t\t\t\t\tconst result = results[i];\n\t\t\t\t\tconst resultMapIndex = remainingIndexes[i];\n\t\t\t\t\tif (result instanceof Error) {\n\t\t\t\t\t\tif (firstException === void 0) {\n\t\t\t\t\t\t\tfirstException = result;\n\t\t\t\t\t\t\tfirstException.input = remainingInputs[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tresultsMap[resultMapIndex.toString()] = result;\n\t\t\t\t}\n\t\t\t\tif (firstException) throw firstException;\n\t\t\t\treturn results;\n\t\t\t}, {\n\t\t\t\tonFailedAttempt: ({ error }) => this.onFailedAttempt(error, error.input),\n\t\t\t\tretries: Math.max(this.maxAttemptNumber - 1, 0),\n\t\t\t\trandomize: true\n\t\t\t});\n\t\t} catch (e) {\n\t\t\tif (batchOptions?.returnExceptions !== true) throw e;\n\t\t}\n\t\treturn Object.keys(resultsMap).sort((a, b) => parseInt(a, 10) - parseInt(b, 10)).map((key) => resultsMap[parseInt(key, 10)]);\n\t}\n\tasync batch(inputs, options, batchOptions) {\n\t\treturn this._batchWithConfig(this._batch.bind(this), inputs, options, batchOptions);\n\t}\n};\n/**\n* A sequence of runnables, where the output of each is the input of the next.\n* @example\n* ```typescript\n* const promptTemplate = PromptTemplate.fromTemplate(\n* \"Tell me a joke about {topic}\",\n* );\n* const chain = RunnableSequence.from([promptTemplate, new ChatOpenAI({ model: \"gpt-4o-mini\" })]);\n* const result = await chain.invoke({ topic: \"bears\" });\n* ```\n*/\nvar RunnableSequence = class RunnableSequence extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableSequence\";\n\t}\n\tfirst;\n\tmiddle = [];\n\tlast;\n\tomitSequenceTags = false;\n\tlc_serializable = true;\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.first = fields.first;\n\t\tthis.middle = fields.middle ?? this.middle;\n\t\tthis.last = fields.last;\n\t\tthis.name = fields.name;\n\t\tthis.omitSequenceTags = fields.omitSequenceTags ?? this.omitSequenceTags;\n\t}\n\tget steps() {\n\t\treturn [\n\t\t\tthis.first,\n\t\t\t...this.middle,\n\t\t\tthis.last\n\t\t];\n\t}\n\tasync invoke(input, options) {\n\t\tconst config = ensureConfig(options);\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), _coerceToDict(input, \"input\"), config.runId, void 0, void 0, void 0, config?.runName);\n\t\tdelete config.runId;\n\t\tlet nextStepInput = input;\n\t\tlet finalOutput;\n\t\ttry {\n\t\t\tconst initialSteps = [this.first, ...this.middle];\n\t\t\tfor (let i = 0; i < initialSteps.length; i += 1) {\n\t\t\t\tconst step = initialSteps[i];\n\t\t\t\tconst promise = step.invoke(nextStepInput, patchConfig(config, { callbacks: runManager?.getChild(this.omitSequenceTags ? void 0 : `seq:step:${i + 1}`) }));\n\t\t\t\tnextStepInput = await raceWithSignal(promise, options?.signal);\n\t\t\t}\n\t\t\tif (options?.signal?.aborted) throw getAbortSignalError(options.signal);\n\t\t\tfinalOutput = await this.last.invoke(nextStepInput, patchConfig(config, { callbacks: runManager?.getChild(this.omitSequenceTags ? void 0 : `seq:step:${this.steps.length}`) }));\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e);\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(_coerceToDict(finalOutput, \"output\"));\n\t\treturn finalOutput;\n\t}\n\tasync batch(inputs, options, batchOptions) {\n\t\tconst configList = this._getOptionsList(options ?? {}, inputs.length);\n\t\tconst callbackManagers = await Promise.all(configList.map(getCallbackManagerForConfig));\n\t\tconst runManagers = await Promise.all(callbackManagers.map(async (callbackManager, i) => {\n\t\t\tconst handleStartRes = await callbackManager?.handleChainStart(this.toJSON(), _coerceToDict(inputs[i], \"input\"), configList[i].runId, void 0, void 0, void 0, configList[i].runName);\n\t\t\tdelete configList[i].runId;\n\t\t\treturn handleStartRes;\n\t\t}));\n\t\tlet nextStepInputs = inputs;\n\t\ttry {\n\t\t\tfor (let i = 0; i < this.steps.length; i += 1) {\n\t\t\t\tconst step = this.steps[i];\n\t\t\t\tconst promise = step.batch(nextStepInputs, runManagers.map((runManager, j) => {\n\t\t\t\t\tconst childRunManager = runManager?.getChild(this.omitSequenceTags ? void 0 : `seq:step:${i + 1}`);\n\t\t\t\t\treturn patchConfig(configList[j], { callbacks: childRunManager });\n\t\t\t\t}), batchOptions);\n\t\t\t\tnextStepInputs = await raceWithSignal(promise, configList[0]?.signal);\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tawait Promise.all(runManagers.map((runManager) => runManager?.handleChainError(e)));\n\t\t\tthrow e;\n\t\t}\n\t\tawait Promise.all(runManagers.map((runManager) => runManager?.handleChainEnd(_coerceToDict(nextStepInputs, \"output\"))));\n\t\treturn nextStepInputs;\n\t}\n\t/** @internal */\n\t_concatOutputChunks(first, second) {\n\t\treturn this.last._concatOutputChunks(first, second);\n\t}\n\tasync *_streamIterator(input, options) {\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(options);\n\t\tconst { runId,...otherOptions } = options ?? {};\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), _coerceToDict(input, \"input\"), runId, void 0, void 0, void 0, otherOptions?.runName);\n\t\tconst steps = [\n\t\t\tthis.first,\n\t\t\t...this.middle,\n\t\t\tthis.last\n\t\t];\n\t\tlet concatSupported = true;\n\t\tlet finalOutput;\n\t\tasync function* inputGenerator() {\n\t\t\tyield input;\n\t\t}\n\t\ttry {\n\t\t\tlet finalGenerator = steps[0].transform(inputGenerator(), patchConfig(otherOptions, { callbacks: runManager?.getChild(this.omitSequenceTags ? void 0 : `seq:step:1`) }));\n\t\t\tfor (let i = 1; i < steps.length; i += 1) {\n\t\t\t\tconst step = steps[i];\n\t\t\t\tfinalGenerator = await step.transform(finalGenerator, patchConfig(otherOptions, { callbacks: runManager?.getChild(this.omitSequenceTags ? void 0 : `seq:step:${i + 1}`) }));\n\t\t\t}\n\t\t\tfor await (const chunk of finalGenerator) {\n\t\t\t\toptions?.signal?.throwIfAborted();\n\t\t\t\tyield chunk;\n\t\t\t\tif (concatSupported) if (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\telse try {\n\t\t\t\t\tfinalOutput = this._concatOutputChunks(finalOutput, chunk);\n\t\t\t\t} catch {\n\t\t\t\t\tfinalOutput = void 0;\n\t\t\t\t\tconcatSupported = false;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e);\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(_coerceToDict(finalOutput, \"output\"));\n\t}\n\tgetGraph(config) {\n\t\tconst graph = new Graph();\n\t\tlet currentLastNode = null;\n\t\tthis.steps.forEach((step, index) => {\n\t\t\tconst stepGraph = step.getGraph(config);\n\t\t\tif (index !== 0) stepGraph.trimFirstNode();\n\t\t\tif (index !== this.steps.length - 1) stepGraph.trimLastNode();\n\t\t\tgraph.extend(stepGraph);\n\t\t\tconst stepFirstNode = stepGraph.firstNode();\n\t\t\tif (!stepFirstNode) throw new Error(`Runnable ${step} has no first node`);\n\t\t\tif (currentLastNode) graph.addEdge(currentLastNode, stepFirstNode);\n\t\t\tcurrentLastNode = stepGraph.lastNode();\n\t\t});\n\t\treturn graph;\n\t}\n\tpipe(coerceable) {\n\t\tif (RunnableSequence.isRunnableSequence(coerceable)) return new RunnableSequence({\n\t\t\tfirst: this.first,\n\t\t\tmiddle: this.middle.concat([\n\t\t\t\tthis.last,\n\t\t\t\tcoerceable.first,\n\t\t\t\t...coerceable.middle\n\t\t\t]),\n\t\t\tlast: coerceable.last,\n\t\t\tname: this.name ?? coerceable.name\n\t\t});\n\t\telse return new RunnableSequence({\n\t\t\tfirst: this.first,\n\t\t\tmiddle: [...this.middle, this.last],\n\t\t\tlast: _coerceToRunnable(coerceable),\n\t\t\tname: this.name\n\t\t});\n\t}\n\tstatic isRunnableSequence(thing) {\n\t\treturn Array.isArray(thing.middle) && Runnable.isRunnable(thing);\n\t}\n\tstatic from([first, ...runnables], nameOrFields) {\n\t\tlet extra = {};\n\t\tif (typeof nameOrFields === \"string\") extra.name = nameOrFields;\n\t\telse if (nameOrFields !== void 0) extra = nameOrFields;\n\t\treturn new RunnableSequence({\n\t\t\t...extra,\n\t\t\tfirst: _coerceToRunnable(first),\n\t\t\tmiddle: runnables.slice(0, -1).map(_coerceToRunnable),\n\t\t\tlast: _coerceToRunnable(runnables[runnables.length - 1])\n\t\t});\n\t}\n};\n/**\n* A runnable that runs a mapping of runnables in parallel,\n* and returns a mapping of their outputs.\n* @example\n* ```typescript\n* const mapChain = RunnableMap.from({\n* joke: PromptTemplate.fromTemplate(\"Tell me a joke about {topic}\").pipe(\n* new ChatAnthropic({}),\n* ),\n* poem: PromptTemplate.fromTemplate(\"write a 2-line poem about {topic}\").pipe(\n* new ChatAnthropic({}),\n* ),\n* });\n* const result = await mapChain.invoke({ topic: \"bear\" });\n* ```\n*/\nvar RunnableMap = class RunnableMap extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableMap\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tlc_serializable = true;\n\tsteps;\n\tgetStepsKeys() {\n\t\treturn Object.keys(this.steps);\n\t}\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.steps = {};\n\t\tfor (const [key, value] of Object.entries(fields.steps)) this.steps[key] = _coerceToRunnable(value);\n\t}\n\tstatic from(steps) {\n\t\treturn new RunnableMap({ steps });\n\t}\n\tasync invoke(input, options) {\n\t\tconst config = ensureConfig(options);\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), { input }, config.runId, void 0, void 0, void 0, config?.runName);\n\t\tdelete config.runId;\n\t\tconst output = {};\n\t\ttry {\n\t\t\tconst promises = Object.entries(this.steps).map(async ([key, runnable]) => {\n\t\t\t\toutput[key] = await runnable.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(`map:key:${key}`) }));\n\t\t\t});\n\t\t\tawait raceWithSignal(Promise.all(promises), options?.signal);\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e);\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(output);\n\t\treturn output;\n\t}\n\tasync *_transform(generator, runManager, options) {\n\t\tconst steps = { ...this.steps };\n\t\tconst inputCopies = atee(generator, Object.keys(steps).length);\n\t\tconst tasks = new Map(Object.entries(steps).map(([key, runnable], i) => {\n\t\t\tconst gen = runnable.transform(inputCopies[i], patchConfig(options, { callbacks: runManager?.getChild(`map:key:${key}`) }));\n\t\t\treturn [key, gen.next().then((result) => ({\n\t\t\t\tkey,\n\t\t\t\tgen,\n\t\t\t\tresult\n\t\t\t}))];\n\t\t}));\n\t\twhile (tasks.size) {\n\t\t\tconst promise = Promise.race(tasks.values());\n\t\t\tconst { key, result, gen } = await raceWithSignal(promise, options?.signal);\n\t\t\ttasks.delete(key);\n\t\t\tif (!result.done) {\n\t\t\t\tyield { [key]: result.value };\n\t\t\t\ttasks.set(key, gen.next().then((result$1) => ({\n\t\t\t\t\tkey,\n\t\t\t\t\tgen,\n\t\t\t\t\tresult: result$1\n\t\t\t\t})));\n\t\t\t}\n\t\t}\n\t}\n\ttransform(generator, options) {\n\t\treturn this._transformStreamWithConfig(generator, this._transform.bind(this), options);\n\t}\n\tasync stream(input, options) {\n\t\tasync function* generator() {\n\t\t\tyield input;\n\t\t}\n\t\tconst config = ensureConfig(options);\n\t\tconst wrappedGenerator = new AsyncGeneratorWithSetup({\n\t\t\tgenerator: this.transform(generator(), config),\n\t\t\tconfig\n\t\t});\n\t\tawait wrappedGenerator.setup;\n\t\treturn IterableReadableStream.fromAsyncGenerator(wrappedGenerator);\n\t}\n};\n/**\n* A runnable that wraps a traced LangSmith function.\n*/\nvar RunnableTraceable = class RunnableTraceable extends Runnable {\n\tlc_serializable = false;\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tfunc;\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tif (!isTraceableFunction(fields.func)) throw new Error(\"RunnableTraceable requires a function that is wrapped in traceable higher-order function\");\n\t\tthis.func = fields.func;\n\t}\n\tasync invoke(input, options) {\n\t\tconst [config] = this._getOptionsList(options ?? {}, 1);\n\t\tconst callbacks = await getCallbackManagerForConfig(config);\n\t\tconst promise = this.func(patchConfig(config, { callbacks }), input);\n\t\treturn raceWithSignal(promise, config?.signal);\n\t}\n\tasync *_streamIterator(input, options) {\n\t\tconst [config] = this._getOptionsList(options ?? {}, 1);\n\t\tconst result = await this.invoke(input, options);\n\t\tif (isAsyncIterable(result)) {\n\t\t\tfor await (const item of result) {\n\t\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\t\tyield item;\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tif (isIterator(result)) {\n\t\t\twhile (true) {\n\t\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\t\tconst state = result.next();\n\t\t\t\tif (state.done) break;\n\t\t\t\tyield state.value;\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tyield result;\n\t}\n\tstatic from(func) {\n\t\treturn new RunnableTraceable({ func });\n\t}\n};\nfunction assertNonTraceableFunction(func) {\n\tif (isTraceableFunction(func)) throw new Error(\"RunnableLambda requires a function that is not wrapped in traceable higher-order function. This shouldn't happen.\");\n}\n/**\n* A runnable that wraps an arbitrary function that takes a single argument.\n* @example\n* ```typescript\n* import { RunnableLambda } from \"@langchain/core/runnables\";\n*\n* const add = (input: { x: number; y: number }) => input.x + input.y;\n*\n* const multiply = (input: { value: number; multiplier: number }) =>\n* input.value * input.multiplier;\n*\n* // Create runnables for the functions\n* const addLambda = RunnableLambda.from(add);\n* const multiplyLambda = RunnableLambda.from(multiply);\n*\n* // Chain the lambdas for a mathematical operation\n* const chainedLambda = addLambda.pipe((result) =>\n* multiplyLambda.invoke({ value: result, multiplier: 2 })\n* );\n*\n* // Example invocation of the chainedLambda\n* const result = await chainedLambda.invoke({ x: 2, y: 3 });\n*\n* // Will log \"10\" (since (2 + 3) * 2 = 10)\n* ```\n*/\nvar RunnableLambda = class RunnableLambda extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableLambda\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tfunc;\n\tconstructor(fields) {\n\t\tif (isTraceableFunction(fields.func)) return RunnableTraceable.from(fields.func);\n\t\tsuper(fields);\n\t\tassertNonTraceableFunction(fields.func);\n\t\tthis.func = fields.func;\n\t}\n\tstatic from(func) {\n\t\treturn new RunnableLambda({ func });\n\t}\n\tasync _invoke(input, config, runManager) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tconst childConfig = patchConfig(config, {\n\t\t\t\tcallbacks: runManager?.getChild(),\n\t\t\t\trecursionLimit: (config?.recursionLimit ?? DEFAULT_RECURSION_LIMIT) - 1\n\t\t\t});\n\t\t\tAsyncLocalStorageProviderSingleton.runWithConfig(pickRunnableConfigKeys(childConfig), async () => {\n\t\t\t\ttry {\n\t\t\t\t\tlet output = await this.func(input, { ...childConfig });\n\t\t\t\t\tif (output && Runnable.isRunnable(output)) {\n\t\t\t\t\t\tif (config?.recursionLimit === 0) throw new Error(\"Recursion limit reached.\");\n\t\t\t\t\t\toutput = await output.invoke(input, {\n\t\t\t\t\t\t\t...childConfig,\n\t\t\t\t\t\t\trecursionLimit: (childConfig.recursionLimit ?? DEFAULT_RECURSION_LIMIT) - 1\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (isAsyncIterable(output)) {\n\t\t\t\t\t\tlet finalOutput;\n\t\t\t\t\t\tfor await (const chunk of consumeAsyncIterableInContext(childConfig, output)) {\n\t\t\t\t\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\t\t\t\t\tif (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\t\t\t\telse try {\n\t\t\t\t\t\t\t\tfinalOutput = this._concatOutputChunks(finalOutput, chunk);\n\t\t\t\t\t\t\t} catch {\n\t\t\t\t\t\t\t\tfinalOutput = chunk;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput = finalOutput;\n\t\t\t\t\t} else if (isIterableIterator(output)) {\n\t\t\t\t\t\tlet finalOutput;\n\t\t\t\t\t\tfor (const chunk of consumeIteratorInContext(childConfig, output)) {\n\t\t\t\t\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\t\t\t\t\tif (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\t\t\t\telse try {\n\t\t\t\t\t\t\t\tfinalOutput = this._concatOutputChunks(finalOutput, chunk);\n\t\t\t\t\t\t\t} catch {\n\t\t\t\t\t\t\t\tfinalOutput = chunk;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput = finalOutput;\n\t\t\t\t\t}\n\t\t\t\t\tresolve(output);\n\t\t\t\t} catch (e) {\n\t\t\t\t\treject(e);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\tasync invoke(input, options) {\n\t\treturn this._callWithConfig(this._invoke.bind(this), input, options);\n\t}\n\tasync *_transform(generator, runManager, config) {\n\t\tlet finalChunk;\n\t\tfor await (const chunk of generator) if (finalChunk === void 0) finalChunk = chunk;\n\t\telse try {\n\t\t\tfinalChunk = this._concatOutputChunks(finalChunk, chunk);\n\t\t} catch {\n\t\t\tfinalChunk = chunk;\n\t\t}\n\t\tconst childConfig = patchConfig(config, {\n\t\t\tcallbacks: runManager?.getChild(),\n\t\t\trecursionLimit: (config?.recursionLimit ?? DEFAULT_RECURSION_LIMIT) - 1\n\t\t});\n\t\tconst output = await new Promise((resolve, reject) => {\n\t\t\tAsyncLocalStorageProviderSingleton.runWithConfig(pickRunnableConfigKeys(childConfig), async () => {\n\t\t\t\ttry {\n\t\t\t\t\tconst res = await this.func(finalChunk, {\n\t\t\t\t\t\t...childConfig,\n\t\t\t\t\t\tconfig: childConfig\n\t\t\t\t\t});\n\t\t\t\t\tresolve(res);\n\t\t\t\t} catch (e) {\n\t\t\t\t\treject(e);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\tif (output && Runnable.isRunnable(output)) {\n\t\t\tif (config?.recursionLimit === 0) throw new Error(\"Recursion limit reached.\");\n\t\t\tconst stream = await output.stream(finalChunk, childConfig);\n\t\t\tfor await (const chunk of stream) yield chunk;\n\t\t} else if (isAsyncIterable(output)) for await (const chunk of consumeAsyncIterableInContext(childConfig, output)) {\n\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\tyield chunk;\n\t\t}\n\t\telse if (isIterableIterator(output)) for (const chunk of consumeIteratorInContext(childConfig, output)) {\n\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\tyield chunk;\n\t\t}\n\t\telse yield output;\n\t}\n\ttransform(generator, options) {\n\t\treturn this._transformStreamWithConfig(generator, this._transform.bind(this), options);\n\t}\n\tasync stream(input, options) {\n\t\tasync function* generator() {\n\t\t\tyield input;\n\t\t}\n\t\tconst config = ensureConfig(options);\n\t\tconst wrappedGenerator = new AsyncGeneratorWithSetup({\n\t\t\tgenerator: this.transform(generator(), config),\n\t\t\tconfig\n\t\t});\n\t\tawait wrappedGenerator.setup;\n\t\treturn IterableReadableStream.fromAsyncGenerator(wrappedGenerator);\n\t}\n};\n/**\n* A runnable that runs a mapping of runnables in parallel,\n* and returns a mapping of their outputs.\n* @example\n* ```typescript\n* import {\n* RunnableLambda,\n* RunnableParallel,\n* } from \"@langchain/core/runnables\";\n*\n* const addYears = (age: number): number => age + 5;\n* const yearsToFifty = (age: number): number => 50 - age;\n* const yearsToHundred = (age: number): number => 100 - age;\n*\n* const addYearsLambda = RunnableLambda.from(addYears);\n* const milestoneFiftyLambda = RunnableLambda.from(yearsToFifty);\n* const milestoneHundredLambda = RunnableLambda.from(yearsToHundred);\n*\n* // Pipe will coerce objects into RunnableParallel by default, but we\n* // explicitly instantiate one here to demonstrate\n* const sequence = addYearsLambda.pipe(\n* RunnableParallel.from({\n* years_to_fifty: milestoneFiftyLambda,\n* years_to_hundred: milestoneHundredLambda,\n* })\n* );\n*\n* // Invoke the sequence with a single age input\n* const res = await sequence.invoke(25);\n*\n* // { years_to_fifty: 20, years_to_hundred: 70 }\n* ```\n*/\nvar RunnableParallel = class extends RunnableMap {};\n/**\n* A Runnable that can fallback to other Runnables if it fails.\n* External APIs (e.g., APIs for a language model) may at times experience\n* degraded performance or even downtime.\n*\n* In these cases, it can be useful to have a fallback Runnable that can be\n* used in place of the original Runnable (e.g., fallback to another LLM provider).\n*\n* Fallbacks can be defined at the level of a single Runnable, or at the level\n* of a chain of Runnables. Fallbacks are tried in order until one succeeds or\n* all fail.\n*\n* While you can instantiate a `RunnableWithFallbacks` directly, it is usually\n* more convenient to use the `withFallbacks` method on an existing Runnable.\n*\n* When streaming, fallbacks will only be called on failures during the initial\n* stream creation. Errors that occur after a stream starts will not fallback\n* to the next Runnable.\n*\n* @example\n* ```typescript\n* import {\n* RunnableLambda,\n* RunnableWithFallbacks,\n* } from \"@langchain/core/runnables\";\n*\n* const primaryOperation = (input: string): string => {\n* if (input !== \"safe\") {\n* throw new Error(\"Primary operation failed due to unsafe input\");\n* }\n* return `Processed: ${input}`;\n* };\n*\n* // Define a fallback operation that processes the input differently\n* const fallbackOperation = (input: string): string =>\n* `Fallback processed: ${input}`;\n*\n* const primaryRunnable = RunnableLambda.from(primaryOperation);\n* const fallbackRunnable = RunnableLambda.from(fallbackOperation);\n*\n* // Apply the fallback logic using the .withFallbacks() method\n* const runnableWithFallback = primaryRunnable.withFallbacks([fallbackRunnable]);\n*\n* // Alternatively, create a RunnableWithFallbacks instance manually\n* const manualFallbackChain = new RunnableWithFallbacks({\n* runnable: primaryRunnable,\n* fallbacks: [fallbackRunnable],\n* });\n*\n* // Example invocation using .withFallbacks()\n* const res = await runnableWithFallback\n* .invoke(\"unsafe input\")\n* .catch((error) => {\n* console.error(\"Failed after all attempts:\", error.message);\n* });\n*\n* // \"Fallback processed: unsafe input\"\n*\n* // Example invocation using manual instantiation\n* const res = await manualFallbackChain\n* .invoke(\"safe\")\n* .catch((error) => {\n* console.error(\"Failed after all attempts:\", error.message);\n* });\n*\n* // \"Processed: safe\"\n* ```\n*/\nvar RunnableWithFallbacks = class extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableWithFallbacks\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tlc_serializable = true;\n\trunnable;\n\tfallbacks;\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.runnable = fields.runnable;\n\t\tthis.fallbacks = fields.fallbacks;\n\t}\n\t*runnables() {\n\t\tyield this.runnable;\n\t\tfor (const fallback of this.fallbacks) yield fallback;\n\t}\n\tasync invoke(input, options) {\n\t\tconst config = ensureConfig(options);\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst { runId,...otherConfigFields } = config;\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), _coerceToDict(input, \"input\"), runId, void 0, void 0, void 0, otherConfigFields?.runName);\n\t\tconst childConfig = patchConfig(otherConfigFields, { callbacks: runManager?.getChild() });\n\t\tconst res = await AsyncLocalStorageProviderSingleton.runWithConfig(childConfig, async () => {\n\t\t\tlet firstError;\n\t\t\tfor (const runnable of this.runnables()) {\n\t\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\t\ttry {\n\t\t\t\t\tconst output = await runnable.invoke(input, childConfig);\n\t\t\t\t\tawait runManager?.handleChainEnd(_coerceToDict(output, \"output\"));\n\t\t\t\t\treturn output;\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (firstError === void 0) firstError = e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (firstError === void 0) throw new Error(\"No error stored at end of fallback.\");\n\t\t\tawait runManager?.handleChainError(firstError);\n\t\t\tthrow firstError;\n\t\t});\n\t\treturn res;\n\t}\n\tasync *_streamIterator(input, options) {\n\t\tconst config = ensureConfig(options);\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst { runId,...otherConfigFields } = config;\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), _coerceToDict(input, \"input\"), runId, void 0, void 0, void 0, otherConfigFields?.runName);\n\t\tlet firstError;\n\t\tlet stream;\n\t\tfor (const runnable of this.runnables()) {\n\t\t\tconfig?.signal?.throwIfAborted();\n\t\t\tconst childConfig = patchConfig(otherConfigFields, { callbacks: runManager?.getChild() });\n\t\t\ttry {\n\t\t\t\tconst originalStream = await runnable.stream(input, childConfig);\n\t\t\t\tstream = consumeAsyncIterableInContext(childConfig, originalStream);\n\t\t\t\tbreak;\n\t\t\t} catch (e) {\n\t\t\t\tif (firstError === void 0) firstError = e;\n\t\t\t}\n\t\t}\n\t\tif (stream === void 0) {\n\t\t\tconst error = firstError ?? /* @__PURE__ */ new Error(\"No error stored at end of fallback.\");\n\t\t\tawait runManager?.handleChainError(error);\n\t\t\tthrow error;\n\t\t}\n\t\tlet output;\n\t\ttry {\n\t\t\tfor await (const chunk of stream) {\n\t\t\t\tyield chunk;\n\t\t\t\ttry {\n\t\t\t\t\toutput = output === void 0 ? output : this._concatOutputChunks(output, chunk);\n\t\t\t\t} catch {\n\t\t\t\t\toutput = void 0;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e);\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(_coerceToDict(output, \"output\"));\n\t}\n\tasync batch(inputs, options, batchOptions) {\n\t\tif (batchOptions?.returnExceptions) throw new Error(\"Not implemented.\");\n\t\tconst configList = this._getOptionsList(options ?? {}, inputs.length);\n\t\tconst callbackManagers = await Promise.all(configList.map((config) => getCallbackManagerForConfig(config)));\n\t\tconst runManagers = await Promise.all(callbackManagers.map(async (callbackManager, i) => {\n\t\t\tconst handleStartRes = await callbackManager?.handleChainStart(this.toJSON(), _coerceToDict(inputs[i], \"input\"), configList[i].runId, void 0, void 0, void 0, configList[i].runName);\n\t\t\tdelete configList[i].runId;\n\t\t\treturn handleStartRes;\n\t\t}));\n\t\tlet firstError;\n\t\tfor (const runnable of this.runnables()) {\n\t\t\tconfigList[0].signal?.throwIfAborted();\n\t\t\ttry {\n\t\t\t\tconst outputs = await runnable.batch(inputs, runManagers.map((runManager, j) => patchConfig(configList[j], { callbacks: runManager?.getChild() })), batchOptions);\n\t\t\t\tawait Promise.all(runManagers.map((runManager, i) => runManager?.handleChainEnd(_coerceToDict(outputs[i], \"output\"))));\n\t\t\t\treturn outputs;\n\t\t\t} catch (e) {\n\t\t\t\tif (firstError === void 0) firstError = e;\n\t\t\t}\n\t\t}\n\t\tif (!firstError) throw new Error(\"No error stored at end of fallbacks.\");\n\t\tawait Promise.all(runManagers.map((runManager) => runManager?.handleChainError(firstError)));\n\t\tthrow firstError;\n\t}\n};\nfunction _coerceToRunnable(coerceable) {\n\tif (typeof coerceable === \"function\") return new RunnableLambda({ func: coerceable });\n\telse if (Runnable.isRunnable(coerceable)) return coerceable;\n\telse if (!Array.isArray(coerceable) && typeof coerceable === \"object\") {\n\t\tconst runnables = {};\n\t\tfor (const [key, value] of Object.entries(coerceable)) runnables[key] = _coerceToRunnable(value);\n\t\treturn new RunnableMap({ steps: runnables });\n\t} else throw new Error(`Expected a Runnable, function or object.\\nInstead got an unsupported type.`);\n}\n/**\n* A runnable that assigns key-value pairs to inputs of type `Record<string, unknown>`.\n* @example\n* ```typescript\n* import {\n* RunnableAssign,\n* RunnableLambda,\n* RunnableParallel,\n* } from \"@langchain/core/runnables\";\n*\n* const calculateAge = (x: { birthYear: number }): { age: number } => {\n* const currentYear = new Date().getFullYear();\n* return { age: currentYear - x.birthYear };\n* };\n*\n* const createGreeting = (x: { name: string }): { greeting: string } => {\n* return { greeting: `Hello, ${x.name}!` };\n* };\n*\n* const mapper = RunnableParallel.from({\n* age_step: RunnableLambda.from(calculateAge),\n* greeting_step: RunnableLambda.from(createGreeting),\n* });\n*\n* const runnableAssign = new RunnableAssign({ mapper });\n*\n* const res = await runnableAssign.invoke({ name: \"Alice\", birthYear: 1990 });\n*\n* // { name: \"Alice\", birthYear: 1990, age_step: { age: 34 }, greeting_step: { greeting: \"Hello, Alice!\" } }\n* ```\n*/\nvar RunnableAssign = class extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableAssign\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tlc_serializable = true;\n\tmapper;\n\tconstructor(fields) {\n\t\tif (fields instanceof RunnableMap) fields = { mapper: fields };\n\t\tsuper(fields);\n\t\tthis.mapper = fields.mapper;\n\t}\n\tasync invoke(input, options) {\n\t\tconst mapperResult = await this.mapper.invoke(input, options);\n\t\treturn {\n\t\t\t...input,\n\t\t\t...mapperResult\n\t\t};\n\t}\n\tasync *_transform(generator, runManager, options) {\n\t\tconst mapperKeys = this.mapper.getStepsKeys();\n\t\tconst [forPassthrough, forMapper] = atee(generator);\n\t\tconst mapperOutput = this.mapper.transform(forMapper, patchConfig(options, { callbacks: runManager?.getChild() }));\n\t\tconst firstMapperChunkPromise = mapperOutput.next();\n\t\tfor await (const chunk of forPassthrough) {\n\t\t\tif (typeof chunk !== \"object\" || Array.isArray(chunk)) throw new Error(`RunnableAssign can only be used with objects as input, got ${typeof chunk}`);\n\t\t\tconst filtered = Object.fromEntries(Object.entries(chunk).filter(([key]) => !mapperKeys.includes(key)));\n\t\t\tif (Object.keys(filtered).length > 0) yield filtered;\n\t\t}\n\t\tyield (await firstMapperChunkPromise).value;\n\t\tfor await (const chunk of mapperOutput) yield chunk;\n\t}\n\ttransform(generator, options) {\n\t\treturn this._transformStreamWithConfig(generator, this._transform.bind(this), options);\n\t}\n\tasync stream(input, options) {\n\t\tasync function* generator() {\n\t\t\tyield input;\n\t\t}\n\t\tconst config = ensureConfig(options);\n\t\tconst wrappedGenerator = new AsyncGeneratorWithSetup({\n\t\t\tgenerator: this.transform(generator(), config),\n\t\t\tconfig\n\t\t});\n\t\tawait wrappedGenerator.setup;\n\t\treturn IterableReadableStream.fromAsyncGenerator(wrappedGenerator);\n\t}\n};\n/**\n* A runnable that assigns key-value pairs to inputs of type `Record<string, unknown>`.\n* Useful for streaming, can be automatically created and chained by calling `runnable.pick();`.\n* @example\n* ```typescript\n* import { RunnablePick } from \"@langchain/core/runnables\";\n*\n* const inputData = {\n* name: \"John\",\n* age: 30,\n* city: \"New York\",\n* country: \"USA\",\n* email: \"john.doe@example.com\",\n* phone: \"+1234567890\",\n* };\n*\n* const basicInfoRunnable = new RunnablePick([\"name\", \"city\"]);\n*\n* // Example invocation\n* const res = await basicInfoRunnable.invoke(inputData);\n*\n* // { name: 'John', city: 'New York' }\n* ```\n*/\nvar RunnablePick = class extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnablePick\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tlc_serializable = true;\n\tkeys;\n\tconstructor(fields) {\n\t\tif (typeof fields === \"string\" || Array.isArray(fields)) fields = { keys: fields };\n\t\tsuper(fields);\n\t\tthis.keys = fields.keys;\n\t}\n\tasync _pick(input) {\n\t\tif (typeof this.keys === \"string\") return input[this.keys];\n\t\telse {\n\t\t\tconst picked = this.keys.map((key) => [key, input[key]]).filter((v) => v[1] !== void 0);\n\t\t\treturn picked.length === 0 ? void 0 : Object.fromEntries(picked);\n\t\t}\n\t}\n\tasync invoke(input, options) {\n\t\treturn this._callWithConfig(this._pick.bind(this), input, options);\n\t}\n\tasync *_transform(generator) {\n\t\tfor await (const chunk of generator) {\n\t\t\tconst picked = await this._pick(chunk);\n\t\t\tif (picked !== void 0) yield picked;\n\t\t}\n\t}\n\ttransform(generator, options) {\n\t\treturn this._transformStreamWithConfig(generator, this._transform.bind(this), options);\n\t}\n\tasync stream(input, options) {\n\t\tasync function* generator() {\n\t\t\tyield input;\n\t\t}\n\t\tconst config = ensureConfig(options);\n\t\tconst wrappedGenerator = new AsyncGeneratorWithSetup({\n\t\t\tgenerator: this.transform(generator(), config),\n\t\t\tconfig\n\t\t});\n\t\tawait wrappedGenerator.setup;\n\t\treturn IterableReadableStream.fromAsyncGenerator(wrappedGenerator);\n\t}\n};\nvar RunnableToolLike = class extends RunnableBinding {\n\tname;\n\tdescription;\n\tschema;\n\tconstructor(fields) {\n\t\tconst sequence = RunnableSequence.from([RunnableLambda.from(async (input) => {\n\t\t\tlet toolInput;\n\t\t\tif (_isToolCall(input)) try {\n\t\t\t\ttoolInput = await interopParseAsync(this.schema, input.args);\n\t\t\t} catch {\n\t\t\t\tthrow new ToolInputParsingException(`Received tool input did not match expected schema`, JSON.stringify(input.args));\n\t\t\t}\n\t\t\telse toolInput = input;\n\t\t\treturn toolInput;\n\t\t}).withConfig({ runName: `${fields.name}:parse_input` }), fields.bound]).withConfig({ runName: fields.name });\n\t\tsuper({\n\t\t\tbound: sequence,\n\t\t\tconfig: fields.config ?? {}\n\t\t});\n\t\tthis.name = fields.name;\n\t\tthis.description = fields.description;\n\t\tthis.schema = fields.schema;\n\t}\n\tstatic lc_name() {\n\t\treturn \"RunnableToolLike\";\n\t}\n};\n/**\n* Given a runnable and a Zod schema, convert the runnable to a tool.\n*\n* @template RunInput The input type for the runnable.\n* @template RunOutput The output type for the runnable.\n*\n* @param {Runnable<RunInput, RunOutput>} runnable The runnable to convert to a tool.\n* @param fields\n* @param {string | undefined} [fields.name] The name of the tool. If not provided, it will default to the name of the runnable.\n* @param {string | undefined} [fields.description] The description of the tool. Falls back to the description on the Zod schema if not provided, or undefined if neither are provided.\n* @param {InteropZodType<RunInput>} [fields.schema] The Zod schema for the input of the tool. Infers the Zod type from the input type of the runnable.\n* @returns {RunnableToolLike<InteropZodType<RunInput>, RunOutput>} An instance of `RunnableToolLike` which is a runnable that can be used as a tool.\n*/\nfunction convertRunnableToTool(runnable, fields) {\n\tconst name = fields.name ?? runnable.getName();\n\tconst description = fields.description ?? getSchemaDescription(fields.schema);\n\tif (isSimpleStringZodSchema(fields.schema)) return new RunnableToolLike({\n\t\tname,\n\t\tdescription,\n\t\tschema: z.object({ input: z.string() }).transform((input) => input.input),\n\t\tbound: runnable\n\t});\n\treturn new RunnableToolLike({\n\t\tname,\n\t\tdescription,\n\t\tschema: fields.schema,\n\t\tbound: runnable\n\t});\n}\n\n//#endregion\nexport { Runnable, RunnableAssign, RunnableBinding, RunnableEach, RunnableLambda, RunnableMap, RunnableParallel, RunnablePick, RunnableRetry, RunnableSequence, RunnableToolLike, RunnableWithFallbacks, _coerceToDict, _coerceToRunnable };\n//# sourceMappingURL=base.js.map"],"names":["_coerceToDict","value","defaultKey","Runnable","Serializable","suffix","name","fields","RunnableRetry","config","RunnableBinding","fallbacks","RunnableWithFallbacks","options","length","ensureConfig","subsequent","key","_","i","inputs","batchOptions","configList","maxConcurrency","caller","AsyncCaller","e","batchCalls","input","wrappedGenerator","AsyncGeneratorWithSetup","IterableReadableStream","runnableConfig","callOptions","func","runManager","getCallbackManagerForConfig","output","promise","raceWithSignal","optionsList","callbackManagers","runManagers","callbackManager","handleStartRes","outputs","first","second","concat","inputGenerator","transformer","finalInput","finalInputSupported","finalOutput","finalOutputSupported","callbackManager_","outerThis","wrapInputForTracing","chunk","pipe","pipeGeneratorWithSetup","streamEventsHandler","isStreamEventsHandler","iterator","streamLogHandler","isLogStreamHandler","graph","Graph","inputNode","z.any","runnableNode","outputNode","coerceable","RunnableSequence","_coerceToRunnable","keys","RunnablePick","mapping","RunnableAssign","RunnableMap","generator","finalChunk","streamOptions","logStreamCallbackHandler","LogStreamCallbackHandler","callbacks","copiedCallbacks","runnableStreamPromise","consumeRunnableStream","runnableStream","patch","RunLogPatch","runnableStreamConsumePromise","log","stream","convertToHttpEventStream","eventStreamer","EventStreamCallbackHandler","runId","v4","abortController","signal","listener","tappedStream","firstEventSent","firstEventRunId","event","runLog","hasEncounteredStartEvent","rootTags","rootMetadata","rootName","rootEventFilter","_RootEventFilter","logStream","RunLog","state$2","paths","op","dedupedPaths","path","eventType","data","logEntry","chunkCount","state$1","state","thing","isRunnableInterface","onStart","onEnd","onError","RootListenersTracer","convertRunnableToTool","mergeConfigs","configFactory","mergedOptions","individualOption","RunnableEach","patchConfig","attempt","tag","pRetry","attemptNumber","error","configs","resultsMap","remainingIndexes","remainingInputs","patchedConfigs","results","firstException","result","resultMapIndex","a","b","nextStepInput","initialSteps","getAbortSignalError","nextStepInputs","j","childRunManager","otherOptions","steps","concatSupported","finalGenerator","currentLastNode","step","index","stepGraph","stepFirstNode","runnables","nameOrFields","extra","promises","runnable","inputCopies","atee","tasks","gen","result$1","RunnableTraceable","isTraceableFunction","isAsyncIterable","item","isIterator","assertNonTraceableFunction","RunnableLambda","resolve","reject","childConfig","DEFAULT_RECURSION_LIMIT","AsyncLocalStorageProviderSingleton","pickRunnableConfigKeys","consumeAsyncIterableInContext","isIterableIterator","consumeIteratorInContext","res","RunnableParallel","fallback","otherConfigFields","firstError","originalStream","mapperResult","mapperKeys","forPassthrough","forMapper","mapperOutput","firstMapperChunkPromise","filtered","picked","v","RunnableToolLike","sequence","toolInput","_isToolCall","interopParseAsync","ToolInputParsingException","description","getSchemaDescription","isSimpleStringZodSchema","z.object","z.string"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA,SAASA,EAAcC,GAAOC,GAAY;AACzC,SAAOD,KAAS,CAAC,MAAM,QAAQA,CAAK,KAAK,EAAEA,aAAiB,SAAS,OAAOA,KAAU,WAAWA,IAAQ,EAAE,CAACC,CAAU,GAAGD,EAAK;AAC/H;AAKG,IAACE,IAAW,cAAcC,GAAa;AAAA,EACzC,cAAc;AAAA,EACd;AAAA,EACA,QAAQC,GAAQ;AACf,UAAMC,IAAO,KAAK,QAAQ,KAAK,YAAY,QAAO,KAAM,KAAK,YAAY;AACzE,WAAOD,IAAS,GAAGC,CAAI,GAAGD,CAAM,KAAKC;AAAA,EACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,UAAUC,GAAQ;AACjB,WAAO,IAAIC,EAAc;AAAA,MACxB,O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CAAK,EAAG,KAAI;AAC3B,QAAA0L,IAAY,MAAME,GAAkB,KAAK,QAAQ5L,EAAM,IAAI;AAAA,MAC5D,QAAQ;AACP,cAAM,IAAI6L,GAA0B,qDAAqD,KAAK,UAAU7L,EAAM,IAAI,CAAC;AAAA,MACpH;AAAA,UACK,CAAA0L,IAAY1L;AACjB,aAAO0L;AAAA,IACR,CAAC,EAAE,WAAW,EAAE,SAAS,GAAG/M,EAAO,IAAI,eAAc,CAAE,GAAGA,EAAO,KAAK,CAAC,EAAE,WAAW,EAAE,SAASA,EAAO,MAAM;AAC5G,UAAM;AAAA,MACL,OAAO8M;AAAA,MACP,QAAQ9M,EAAO,UAAU,CAAA;AAAA,IAC5B,CAAG,GACD,KAAK,OAAOA,EAAO,MACnB,KAAK,cAAcA,EAAO,aAC1B,KAAK,SAASA,EAAO;AAAA,EACtB;AAAA,EACA,OAAO,UAAU;AAChB,WAAO;AAAA,EACR;AACD;AAcA,SAAS8H,GAAsB0C,GAAUxK,GAAQ;AAChD,QAAMD,IAAOC,EAAO,QAAQwK,EAAS,QAAO,GACtC2C,IAAcnN,EAAO,eAAeoN,GAAqBpN,EAAO,MAAM;AAC5E,SAAIqN,GAAwBrN,EAAO,MAAM,IAAU,IAAI6M,EAAiB;AAAA,IACvE,MAAA9M;AAAA,IACA,aAAAoN;AAAA,IACA,QAAQG,GAAS,EAAE,OAAOC,GAAQ,EAAE,CAAE,EAAE,UAAU,CAAClM,MAAUA,EAAM,KAAK;AAAA,IACxE,OAAOmJ;AAAA,EACT,CAAE,IACM,IAAIqC,EAAiB;AAAA,IAC3B,MAAA9M;AAAA,IACA,aAAAoN;AAAA,IACA,QAAQnN,EAAO;AAAA,IACf,OAAOwK;AAAA,EACT,CAAE;AACF;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./config.cjs.js"),u=require("../utils/stream.cjs.js"),s=require("./base.cjs.js");var f=class extends s.Runnable{static lc_name(){return"RunnableBranch"}lc_namespace=["langchain_core","runnables"];lc_serializable=!0;default;branches;constructor(a){super(a),this.branches=a.branches,this.default=a.default}static from(a){if(a.length<1)throw new Error("RunnableBranch requires at least one branch");const o=a.slice(0,-1).map(([e,i])=>[s._coerceToRunnable(e),s._coerceToRunnable(i)]),c=s._coerceToRunnable(a[a.length-1]);return new this({branches:o,default:c})}async _invoke(a,t,o){let c;for(let e=0;e<this.branches.length;e+=1){const[i,r]=this.branches[e];if(await i.invoke(a,l.patchConfig(t,{callbacks:o?.getChild(`condition:${e+1}`)}))){c=await r.invoke(a,l.patchConfig(t,{callbacks:o?.getChild(`branch:${e+1}`)}));break}}return c||(c=await this.default.invoke(a,l.patchConfig(t,{callbacks:o?.getChild("branch:default")}))),c}async invoke(a,t={}){return this._callWithConfig(this._invoke,a,t)}async*_streamIterator(a,t){const c=await(await l.getCallbackManagerForConfig(t))?.handleChainStart(this.toJSON(),s._coerceToDict(a,"input"),t?.runId,void 0,void 0,void 0,t?.runName);let e,i=!0,r;try{for(let n=0;n<this.branches.length;n+=1){const[d,b]=this.branches[n];if(await d.invoke(a,l.patchConfig(t,{callbacks:c?.getChild(`condition:${n+1}`)}))){r=await b.stream(a,l.patchConfig(t,{callbacks:c?.getChild(`branch:${n+1}`)}));for await(const h of r)if(yield h,i)if(e===void 0)e=h;else try{e=u.concat(e,h)}catch{e=void 0,i=!1}break}}if(r===void 0){r=await this.default.stream(a,l.patchConfig(t,{callbacks:c?.getChild("branch:default")}));for await(const n of r)if(yield n,i)if(e===void 0)e=n;else try{e=u.concat(e,n)}catch{e=void 0,i=!1}}}catch(n){throw await c?.handleChainError(n),n}await c?.handleChainEnd(e??{})}};exports.RunnableBranch=f;
2
- //# sourceMappingURL=branch.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"branch.cjs.js","sources":["../../../../../../../../../node_modules/.pnpm/@langchain+core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/branch.js"],"sourcesContent":["import { getCallbackManagerForConfig, patchConfig } from \"./config.js\";\nimport { concat } from \"../utils/stream.js\";\nimport { Runnable, _coerceToDict, _coerceToRunnable } from \"./base.js\";\n\n//#region src/runnables/branch.ts\n/**\n* Class that represents a runnable branch. The RunnableBranch is\n* initialized with an array of branches and a default branch. When invoked,\n* it evaluates the condition of each branch in order and executes the\n* corresponding branch if the condition is true. If none of the conditions\n* are true, it executes the default branch.\n* @example\n* ```typescript\n* const branch = RunnableBranch.from([\n* [\n* (x: { topic: string; question: string }) =>\n* x.topic.toLowerCase().includes(\"anthropic\"),\n* anthropicChain,\n* ],\n* [\n* (x: { topic: string; question: string }) =>\n* x.topic.toLowerCase().includes(\"langchain\"),\n* langChainChain,\n* ],\n* generalChain,\n* ]);\n*\n* const fullChain = RunnableSequence.from([\n* {\n* topic: classificationChain,\n* question: (input: { question: string }) => input.question,\n* },\n* branch,\n* ]);\n*\n* const result = await fullChain.invoke({\n* question: \"how do I use LangChain?\",\n* });\n* ```\n*/\nvar RunnableBranch = class extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableBranch\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tlc_serializable = true;\n\tdefault;\n\tbranches;\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.branches = fields.branches;\n\t\tthis.default = fields.default;\n\t}\n\t/**\n\t* Convenience method for instantiating a RunnableBranch from\n\t* RunnableLikes (objects, functions, or Runnables).\n\t*\n\t* Each item in the input except for the last one should be a\n\t* tuple with two items. The first is a \"condition\" RunnableLike that\n\t* returns \"true\" if the second RunnableLike in the tuple should run.\n\t*\n\t* The final item in the input should be a RunnableLike that acts as a\n\t* default branch if no other branches match.\n\t*\n\t* @example\n\t* ```ts\n\t* import { RunnableBranch } from \"@langchain/core/runnables\";\n\t*\n\t* const branch = RunnableBranch.from([\n\t* [(x: number) => x > 0, (x: number) => x + 1],\n\t* [(x: number) => x < 0, (x: number) => x - 1],\n\t* (x: number) => x\n\t* ]);\n\t* ```\n\t* @param branches An array where the every item except the last is a tuple of [condition, runnable]\n\t* pairs. The last item is a default runnable which is invoked if no other condition matches.\n\t* @returns A new RunnableBranch.\n\t*/\n\tstatic from(branches) {\n\t\tif (branches.length < 1) throw new Error(\"RunnableBranch requires at least one branch\");\n\t\tconst branchLikes = branches.slice(0, -1);\n\t\tconst coercedBranches = branchLikes.map(([condition, runnable]) => [_coerceToRunnable(condition), _coerceToRunnable(runnable)]);\n\t\tconst defaultBranch = _coerceToRunnable(branches[branches.length - 1]);\n\t\treturn new this({\n\t\t\tbranches: coercedBranches,\n\t\t\tdefault: defaultBranch\n\t\t});\n\t}\n\tasync _invoke(input, config, runManager) {\n\t\tlet result;\n\t\tfor (let i = 0; i < this.branches.length; i += 1) {\n\t\t\tconst [condition, branchRunnable] = this.branches[i];\n\t\t\tconst conditionValue = await condition.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(`condition:${i + 1}`) }));\n\t\t\tif (conditionValue) {\n\t\t\t\tresult = await branchRunnable.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(`branch:${i + 1}`) }));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (!result) result = await this.default.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(\"branch:default\") }));\n\t\treturn result;\n\t}\n\tasync invoke(input, config = {}) {\n\t\treturn this._callWithConfig(this._invoke, input, config);\n\t}\n\tasync *_streamIterator(input, config) {\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), _coerceToDict(input, \"input\"), config?.runId, void 0, void 0, void 0, config?.runName);\n\t\tlet finalOutput;\n\t\tlet finalOutputSupported = true;\n\t\tlet stream;\n\t\ttry {\n\t\t\tfor (let i = 0; i < this.branches.length; i += 1) {\n\t\t\t\tconst [condition, branchRunnable] = this.branches[i];\n\t\t\t\tconst conditionValue = await condition.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(`condition:${i + 1}`) }));\n\t\t\t\tif (conditionValue) {\n\t\t\t\t\tstream = await branchRunnable.stream(input, patchConfig(config, { callbacks: runManager?.getChild(`branch:${i + 1}`) }));\n\t\t\t\t\tfor await (const chunk of stream) {\n\t\t\t\t\t\tyield chunk;\n\t\t\t\t\t\tif (finalOutputSupported) if (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\t\t\telse try {\n\t\t\t\t\t\t\tfinalOutput = concat(finalOutput, chunk);\n\t\t\t\t\t\t} catch {\n\t\t\t\t\t\t\tfinalOutput = void 0;\n\t\t\t\t\t\t\tfinalOutputSupported = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (stream === void 0) {\n\t\t\t\tstream = await this.default.stream(input, patchConfig(config, { callbacks: runManager?.getChild(\"branch:default\") }));\n\t\t\t\tfor await (const chunk of stream) {\n\t\t\t\t\tyield chunk;\n\t\t\t\t\tif (finalOutputSupported) if (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\t\telse try {\n\t\t\t\t\t\tfinalOutput = concat(finalOutput, chunk);\n\t\t\t\t\t} catch {\n\t\t\t\t\t\tfinalOutput = void 0;\n\t\t\t\t\t\tfinalOutputSupported = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e);\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(finalOutput ?? {});\n\t}\n};\n\n//#endregion\nexport { RunnableBranch };\n//# sourceMappingURL=branch.js.map"],"names":["RunnableBranch","Runnable","fields","branches","coercedBranches","condition","runnable","_coerceToRunnable","defaultBranch","input","config","runManager","result","i","branchRunnable","patchConfig","getCallbackManagerForConfig","_coerceToDict","finalOutput","finalOutputSupported","stream","chunk","concat","e"],"mappings":"kLAwCG,IAACA,EAAiB,cAAcC,EAAAA,QAAS,CAC3C,OAAO,SAAU,CAChB,M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AAMZ,GAAY,eAAeO,GAAe,EAAE,CACnD,CACD","x_google_ignoreList":[0]}
@@ -1,99 +0,0 @@
1
- import { patchConfig as o, getCallbackManagerForConfig as f } from "./config.es.js";
2
- import { concat as d } from "../utils/stream.es.js";
3
- import { Runnable as k, _coerceToRunnable as h, _coerceToDict as v } from "./base.es.js";
4
- var g = class extends k {
5
- static lc_name() {
6
- return "RunnableBranch";
7
- }
8
- lc_namespace = ["langchain_core", "runnables"];
9
- lc_serializable = !0;
10
- default;
11
- branches;
12
- constructor(a) {
13
- super(a), this.branches = a.branches, this.default = a.default;
14
- }
15
- /**
16
- * Convenience method for instantiating a RunnableBranch from
17
- * RunnableLikes (objects, functions, or Runnables).
18
- *
19
- * Each item in the input except for the last one should be a
20
- * tuple with two items. The first is a "condition" RunnableLike that
21
- * returns "true" if the second RunnableLike in the tuple should run.
22
- *
23
- * The final item in the input should be a RunnableLike that acts as a
24
- * default branch if no other branches match.
25
- *
26
- * @example
27
- * ```ts
28
- * import { RunnableBranch } from "@langchain/core/runnables";
29
- *
30
- * const branch = RunnableBranch.from([
31
- * [(x: number) => x > 0, (x: number) => x + 1],
32
- * [(x: number) => x < 0, (x: number) => x - 1],
33
- * (x: number) => x
34
- * ]);
35
- * ```
36
- * @param branches An array where the every item except the last is a tuple of [condition, runnable]
37
- * pairs. The last item is a default runnable which is invoked if no other condition matches.
38
- * @returns A new RunnableBranch.
39
- */
40
- static from(a) {
41
- if (a.length < 1) throw new Error("RunnableBranch requires at least one branch");
42
- const l = a.slice(0, -1).map(([t, c]) => [h(t), h(c)]), i = h(a[a.length - 1]);
43
- return new this({
44
- branches: l,
45
- default: i
46
- });
47
- }
48
- async _invoke(a, e, l) {
49
- let i;
50
- for (let t = 0; t < this.branches.length; t += 1) {
51
- const [c, r] = this.branches[t];
52
- if (await c.invoke(a, o(e, { callbacks: l?.getChild(`condition:${t + 1}`) }))) {
53
- i = await r.invoke(a, o(e, { callbacks: l?.getChild(`branch:${t + 1}`) }));
54
- break;
55
- }
56
- }
57
- return i || (i = await this.default.invoke(a, o(e, { callbacks: l?.getChild("branch:default") }))), i;
58
- }
59
- async invoke(a, e = {}) {
60
- return this._callWithConfig(this._invoke, a, e);
61
- }
62
- async *_streamIterator(a, e) {
63
- const i = await (await f(e))?.handleChainStart(this.toJSON(), v(a, "input"), e?.runId, void 0, void 0, void 0, e?.runName);
64
- let t, c = !0, r;
65
- try {
66
- for (let n = 0; n < this.branches.length; n += 1) {
67
- const [u, b] = this.branches[n];
68
- if (await u.invoke(a, o(e, { callbacks: i?.getChild(`condition:${n + 1}`) }))) {
69
- r = await b.stream(a, o(e, { callbacks: i?.getChild(`branch:${n + 1}`) }));
70
- for await (const s of r)
71
- if (yield s, c) if (t === void 0) t = s;
72
- else try {
73
- t = d(t, s);
74
- } catch {
75
- t = void 0, c = !1;
76
- }
77
- break;
78
- }
79
- }
80
- if (r === void 0) {
81
- r = await this.default.stream(a, o(e, { callbacks: i?.getChild("branch:default") }));
82
- for await (const n of r)
83
- if (yield n, c) if (t === void 0) t = n;
84
- else try {
85
- t = d(t, n);
86
- } catch {
87
- t = void 0, c = !1;
88
- }
89
- }
90
- } catch (n) {
91
- throw await i?.handleChainError(n), n;
92
- }
93
- await i?.handleChainEnd(t ?? {});
94
- }
95
- };
96
- export {
97
- g as RunnableBranch
98
- };
99
- //# sourceMappingURL=branch.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"branch.es.js","sources":["../../../../../../../../../node_modules/.pnpm/@langchain+core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/branch.js"],"sourcesContent":["import { getCallbackManagerForConfig, patchConfig } from \"./config.js\";\nimport { concat } from \"../utils/stream.js\";\nimport { Runnable, _coerceToDict, _coerceToRunnable } from \"./base.js\";\n\n//#region src/runnables/branch.ts\n/**\n* Class that represents a runnable branch. The RunnableBranch is\n* initialized with an array of branches and a default branch. When invoked,\n* it evaluates the condition of each branch in order and executes the\n* corresponding branch if the condition is true. If none of the conditions\n* are true, it executes the default branch.\n* @example\n* ```typescript\n* const branch = RunnableBranch.from([\n* [\n* (x: { topic: string; question: string }) =>\n* x.topic.toLowerCase().includes(\"anthropic\"),\n* anthropicChain,\n* ],\n* [\n* (x: { topic: string; question: string }) =>\n* x.topic.toLowerCase().includes(\"langchain\"),\n* langChainChain,\n* ],\n* generalChain,\n* ]);\n*\n* const fullChain = RunnableSequence.from([\n* {\n* topic: classificationChain,\n* question: (input: { question: string }) => input.question,\n* },\n* branch,\n* ]);\n*\n* const result = await fullChain.invoke({\n* question: \"how do I use LangChain?\",\n* });\n* ```\n*/\nvar RunnableBranch = class extends Runnable {\n\tstatic lc_name() {\n\t\treturn \"RunnableBranch\";\n\t}\n\tlc_namespace = [\"langchain_core\", \"runnables\"];\n\tlc_serializable = true;\n\tdefault;\n\tbranches;\n\tconstructor(fields) {\n\t\tsuper(fields);\n\t\tthis.branches = fields.branches;\n\t\tthis.default = fields.default;\n\t}\n\t/**\n\t* Convenience method for instantiating a RunnableBranch from\n\t* RunnableLikes (objects, functions, or Runnables).\n\t*\n\t* Each item in the input except for the last one should be a\n\t* tuple with two items. The first is a \"condition\" RunnableLike that\n\t* returns \"true\" if the second RunnableLike in the tuple should run.\n\t*\n\t* The final item in the input should be a RunnableLike that acts as a\n\t* default branch if no other branches match.\n\t*\n\t* @example\n\t* ```ts\n\t* import { RunnableBranch } from \"@langchain/core/runnables\";\n\t*\n\t* const branch = RunnableBranch.from([\n\t* [(x: number) => x > 0, (x: number) => x + 1],\n\t* [(x: number) => x < 0, (x: number) => x - 1],\n\t* (x: number) => x\n\t* ]);\n\t* ```\n\t* @param branches An array where the every item except the last is a tuple of [condition, runnable]\n\t* pairs. The last item is a default runnable which is invoked if no other condition matches.\n\t* @returns A new RunnableBranch.\n\t*/\n\tstatic from(branches) {\n\t\tif (branches.length < 1) throw new Error(\"RunnableBranch requires at least one branch\");\n\t\tconst branchLikes = branches.slice(0, -1);\n\t\tconst coercedBranches = branchLikes.map(([condition, runnable]) => [_coerceToRunnable(condition), _coerceToRunnable(runnable)]);\n\t\tconst defaultBranch = _coerceToRunnable(branches[branches.length - 1]);\n\t\treturn new this({\n\t\t\tbranches: coercedBranches,\n\t\t\tdefault: defaultBranch\n\t\t});\n\t}\n\tasync _invoke(input, config, runManager) {\n\t\tlet result;\n\t\tfor (let i = 0; i < this.branches.length; i += 1) {\n\t\t\tconst [condition, branchRunnable] = this.branches[i];\n\t\t\tconst conditionValue = await condition.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(`condition:${i + 1}`) }));\n\t\t\tif (conditionValue) {\n\t\t\t\tresult = await branchRunnable.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(`branch:${i + 1}`) }));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (!result) result = await this.default.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(\"branch:default\") }));\n\t\treturn result;\n\t}\n\tasync invoke(input, config = {}) {\n\t\treturn this._callWithConfig(this._invoke, input, config);\n\t}\n\tasync *_streamIterator(input, config) {\n\t\tconst callbackManager_ = await getCallbackManagerForConfig(config);\n\t\tconst runManager = await callbackManager_?.handleChainStart(this.toJSON(), _coerceToDict(input, \"input\"), config?.runId, void 0, void 0, void 0, config?.runName);\n\t\tlet finalOutput;\n\t\tlet finalOutputSupported = true;\n\t\tlet stream;\n\t\ttry {\n\t\t\tfor (let i = 0; i < this.branches.length; i += 1) {\n\t\t\t\tconst [condition, branchRunnable] = this.branches[i];\n\t\t\t\tconst conditionValue = await condition.invoke(input, patchConfig(config, { callbacks: runManager?.getChild(`condition:${i + 1}`) }));\n\t\t\t\tif (conditionValue) {\n\t\t\t\t\tstream = await branchRunnable.stream(input, patchConfig(config, { callbacks: runManager?.getChild(`branch:${i + 1}`) }));\n\t\t\t\t\tfor await (const chunk of stream) {\n\t\t\t\t\t\tyield chunk;\n\t\t\t\t\t\tif (finalOutputSupported) if (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\t\t\telse try {\n\t\t\t\t\t\t\tfinalOutput = concat(finalOutput, chunk);\n\t\t\t\t\t\t} catch {\n\t\t\t\t\t\t\tfinalOutput = void 0;\n\t\t\t\t\t\t\tfinalOutputSupported = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (stream === void 0) {\n\t\t\t\tstream = await this.default.stream(input, patchConfig(config, { callbacks: runManager?.getChild(\"branch:default\") }));\n\t\t\t\tfor await (const chunk of stream) {\n\t\t\t\t\tyield chunk;\n\t\t\t\t\tif (finalOutputSupported) if (finalOutput === void 0) finalOutput = chunk;\n\t\t\t\t\telse try {\n\t\t\t\t\t\tfinalOutput = concat(finalOutput, chunk);\n\t\t\t\t\t} catch {\n\t\t\t\t\t\tfinalOutput = void 0;\n\t\t\t\t\t\tfinalOutputSupported = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tawait runManager?.handleChainError(e);\n\t\t\tthrow e;\n\t\t}\n\t\tawait runManager?.handleChainEnd(finalOutput ?? {});\n\t}\n};\n\n//#endregion\nexport { RunnableBranch };\n//# sourceMappingURL=branch.js.map"],"names":["RunnableBranch","Runnable","fields","branches","coercedBranches","condition","runnable","_coerceToRunnable","defaultBranch","input","config","runManager","result","i","branchRunnable","patchConfig","getCallbackManagerForConfig","_coerceToDict","finalOutput","finalOutputSupported","stream","chunk","concat","e"],"mappings":";;;AAwCG,IAACA,IAAiB,cAAcC,EAAS;AAAA,EAC3C,OAAO,UAAU;AAChB,WAAO;AAAA,EACR;AAAA,EACA,eAAe,CAAC,kBAAkB,WAAW;AAAA,EAC7C,kBAAkB;AAAA,EAClB;AAAA,EACA;AAAA,EACA,YAAYC,GAAQ;AACnB,UAAMA,CAAM,GACZ,KAAK,WAAWA,EAAO,UACvB,KAAK,UAAUA,EAAO;AAAA,EACvB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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BAAiBY,CAAC,GAC9BA;AAAA,IACP;AACA,UAAMZ,GAAY,eAAeO,KAAe,EAAE;AAAA,EACnD;AACD;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../callbacks/manager.cjs.js"),d=require("../singletons/async_local_storage/index.cjs.js");require("../singletons/index.cjs.js");const f=25;async function g(n){return l.CallbackManager._configureSync(n?.callbacks,void 0,n?.tags,void 0,n?.metadata)}function m(...n){const t={};for(const e of n.filter(a=>!!a))for(const a of Object.keys(e))if(a==="metadata")t[a]={...t[a],...e[a]};else if(a==="tags"){const i=t[a]??[];t[a]=[...new Set(i.concat(e[a]??[]))]}else if(a==="configurable")t[a]={...t[a],...e[a]};else if(a==="timeout")t.timeout===void 0?t.timeout=e.timeout:e.timeout!==void 0&&(t.timeout=Math.min(t.timeout,e.timeout));else if(a==="signal")t.signal===void 0?t.signal=e.signal:e.signal!==void 0&&("any"in AbortSignal?t.signal=AbortSignal.any([t.signal,e.signal]):t.signal=e.signal);else if(a==="callbacks"){const i=t.callbacks,r=e.callbacks;if(Array.isArray(r))if(!i)t.callbacks=r;else if(Array.isArray(i))t.callbacks=i.concat(r);else{const s=i.copy();for(const o of r)s.addHandler(l.ensureHandler(o),!0);t.callbacks=s}else if(r)if(!i)t.callbacks=r;else if(Array.isArray(i)){const s=r.copy();for(const o of i)s.addHandler(l.ensureHandler(o),!0);t.callbacks=s}else t.callbacks=new l.CallbackManager(r._parentRunId,{handlers:i.handlers.concat(r.handlers),inheritableHandlers:i.inheritableHandlers.concat(r.inheritableHandlers),tags:Array.from(new Set(i.tags.concat(r.tags))),inheritableTags:Array.from(new Set(i.inheritableTags.concat(r.inheritableTags))),metadata:{...i.metadata,...r.metadata}})}else{const i=a;t[i]=e[i]??t[i]}return t}const b=new Set(["string","number","boolean"]);function u(n){const t=d.AsyncLocalStorageProviderSingleton.getRunnableConfig();let e={tags:[],metadata:{},recursionLimit:25,runId:void 0};if(t){const{runId:a,runName:i,...r}=t;e=Object.entries(r).reduce((s,[o,c])=>(c!==void 0&&(s[o]=c),s),e)}if(n&&(e=Object.entries(n).reduce((a,[i,r])=>(r!==void 0&&(a[i]=r),a),e)),e?.configurable)for(const a of Object.keys(e.configurable))b.has(typeof e.configurable[a])&&!e.metadata?.[a]&&(e.metadata||(e.metadata={}),e.metadata[a]=e.configurable[a]);if(e.timeout!==void 0){if(e.timeout<=0)throw new Error("Timeout must be a positive number");const a=e.timeout,i=AbortSignal.timeout(a);e.metadata||(e.metadata={}),e.metadata.timeoutMs===void 0&&(e.metadata.timeoutMs=a),e.signal!==void 0?"any"in AbortSignal&&(e.signal=AbortSignal.any([e.signal,i])):e.signal=i,delete e.timeout}return e}function y(n={},{callbacks:t,maxConcurrency:e,recursionLimit:a,runName:i,configurable:r,runId:s}={}){const o=u(n);return t!==void 0&&(delete o.runName,o.callbacks=t),a!==void 0&&(o.recursionLimit=a),e!==void 0&&(o.maxConcurrency=e),i!==void 0&&(o.runName=i),r!==void 0&&(o.configurable={...o.configurable,...r}),s!==void 0&&delete o.runId,o}function k(n){if(n)return{configurable:n.configurable,recursionLimit:n.recursionLimit,callbacks:n.callbacks,tags:n.tags,metadata:n.metadata,maxConcurrency:n.maxConcurrency,timeout:n.timeout,signal:n.signal,store:n.store}}exports.DEFAULT_RECURSION_LIMIT=f;exports.ensureConfig=u;exports.getCallbackManagerForConfig=g;exports.mergeConfigs=m;exports.patchConfig=y;exports.pickRunnableConfigKeys=k;
2
- //# sourceMappingURL=config.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.cjs.js","sources":["../../../../../../../../../node_modules/.pnpm/@langchain+core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/config.js"],"sourcesContent":["import { CallbackManager, ensureHandler } from \"../callbacks/manager.js\";\nimport { AsyncLocalStorageProviderSingleton } from \"../singletons/async_local_storage/index.js\";\nimport \"../singletons/index.js\";\n\n//#region src/runnables/config.ts\nconst DEFAULT_RECURSION_LIMIT = 25;\nasync function getCallbackManagerForConfig(config) {\n\treturn CallbackManager._configureSync(config?.callbacks, void 0, config?.tags, void 0, config?.metadata);\n}\nfunction mergeConfigs(...configs) {\n\tconst copy = {};\n\tfor (const options of configs.filter((c) => !!c)) for (const key of Object.keys(options)) if (key === \"metadata\") copy[key] = {\n\t\t...copy[key],\n\t\t...options[key]\n\t};\n\telse if (key === \"tags\") {\n\t\tconst baseKeys = copy[key] ?? [];\n\t\tcopy[key] = [...new Set(baseKeys.concat(options[key] ?? []))];\n\t} else if (key === \"configurable\") copy[key] = {\n\t\t...copy[key],\n\t\t...options[key]\n\t};\n\telse if (key === \"timeout\") {\n\t\tif (copy.timeout === void 0) copy.timeout = options.timeout;\n\t\telse if (options.timeout !== void 0) copy.timeout = Math.min(copy.timeout, options.timeout);\n\t} else if (key === \"signal\") {\n\t\tif (copy.signal === void 0) copy.signal = options.signal;\n\t\telse if (options.signal !== void 0) if (\"any\" in AbortSignal) copy.signal = AbortSignal.any([copy.signal, options.signal]);\n\t\telse copy.signal = options.signal;\n\t} else if (key === \"callbacks\") {\n\t\tconst baseCallbacks = copy.callbacks;\n\t\tconst providedCallbacks = options.callbacks;\n\t\tif (Array.isArray(providedCallbacks)) if (!baseCallbacks) copy.callbacks = providedCallbacks;\n\t\telse if (Array.isArray(baseCallbacks)) copy.callbacks = baseCallbacks.concat(providedCallbacks);\n\t\telse {\n\t\t\tconst manager = baseCallbacks.copy();\n\t\t\tfor (const callback of providedCallbacks) manager.addHandler(ensureHandler(callback), true);\n\t\t\tcopy.callbacks = manager;\n\t\t}\n\t\telse if (providedCallbacks) if (!baseCallbacks) copy.callbacks = providedCallbacks;\n\t\telse if (Array.isArray(baseCallbacks)) {\n\t\t\tconst manager = providedCallbacks.copy();\n\t\t\tfor (const callback of baseCallbacks) manager.addHandler(ensureHandler(callback), true);\n\t\t\tcopy.callbacks = manager;\n\t\t} else copy.callbacks = new CallbackManager(providedCallbacks._parentRunId, {\n\t\t\thandlers: baseCallbacks.handlers.concat(providedCallbacks.handlers),\n\t\t\tinheritableHandlers: baseCallbacks.inheritableHandlers.concat(providedCallbacks.inheritableHandlers),\n\t\t\ttags: Array.from(new Set(baseCallbacks.tags.concat(providedCallbacks.tags))),\n\t\t\tinheritableTags: Array.from(new Set(baseCallbacks.inheritableTags.concat(providedCallbacks.inheritableTags))),\n\t\t\tmetadata: {\n\t\t\t\t...baseCallbacks.metadata,\n\t\t\t\t...providedCallbacks.metadata\n\t\t\t}\n\t\t});\n\t} else {\n\t\tconst typedKey = key;\n\t\tcopy[typedKey] = options[typedKey] ?? copy[typedKey];\n\t}\n\treturn copy;\n}\nconst PRIMITIVES = new Set([\n\t\"string\",\n\t\"number\",\n\t\"boolean\"\n]);\n/**\n* Ensure that a passed config is an object with all required keys present.\n*/\nfunction ensureConfig(config) {\n\tconst implicitConfig = AsyncLocalStorageProviderSingleton.getRunnableConfig();\n\tlet empty = {\n\t\ttags: [],\n\t\tmetadata: {},\n\t\trecursionLimit: 25,\n\t\trunId: void 0\n\t};\n\tif (implicitConfig) {\n\t\tconst { runId, runName,...rest } = implicitConfig;\n\t\tempty = Object.entries(rest).reduce((currentConfig, [key, value]) => {\n\t\t\tif (value !== void 0) currentConfig[key] = value;\n\t\t\treturn currentConfig;\n\t\t}, empty);\n\t}\n\tif (config) empty = Object.entries(config).reduce((currentConfig, [key, value]) => {\n\t\tif (value !== void 0) currentConfig[key] = value;\n\t\treturn currentConfig;\n\t}, empty);\n\tif (empty?.configurable) {\n\t\tfor (const key of Object.keys(empty.configurable)) if (PRIMITIVES.has(typeof empty.configurable[key]) && !empty.metadata?.[key]) {\n\t\t\tif (!empty.metadata) empty.metadata = {};\n\t\t\tempty.metadata[key] = empty.configurable[key];\n\t\t}\n\t}\n\tif (empty.timeout !== void 0) {\n\t\tif (empty.timeout <= 0) throw new Error(\"Timeout must be a positive number\");\n\t\tconst originalTimeoutMs = empty.timeout;\n\t\tconst timeoutSignal = AbortSignal.timeout(originalTimeoutMs);\n\t\tif (!empty.metadata) empty.metadata = {};\n\t\tif (empty.metadata.timeoutMs === void 0) empty.metadata.timeoutMs = originalTimeoutMs;\n\t\tif (empty.signal !== void 0) {\n\t\t\tif (\"any\" in AbortSignal) empty.signal = AbortSignal.any([empty.signal, timeoutSignal]);\n\t\t} else empty.signal = timeoutSignal;\n\t\t/**\n\t\t* We are deleting the timeout key for the following reasons:\n\t\t* - Idempotent normalization: ensureConfig may be called multiple times down the stack. If timeout remains,\n\t\t* each call would synthesize new timeout signals and combine them, changing the effective timeout unpredictably.\n\t\t* - Single enforcement path: downstream code relies on signal to enforce cancellation. Leaving timeout means two\n\t\t* competing mechanisms (numeric timeout and signal) can be applied, sometimes with different semantics.\n\t\t* - Propagation to children: pickRunnableConfigKeys would keep forwarding timeout to nested runnables, causing\n\t\t* repeated re-normalization and stacked timeouts.\n\t\t* - Backward compatibility: a lot of components and tests assume ensureConfig removes timeout post-normalization;\n\t\t* changing that would be a breaking change.\n\t\t*/\n\t\tdelete empty.timeout;\n\t}\n\treturn empty;\n}\n/**\n* Helper function that patches runnable configs with updated properties.\n*/\nfunction patchConfig(config = {}, { callbacks, maxConcurrency, recursionLimit, runName, configurable, runId } = {}) {\n\tconst newConfig = ensureConfig(config);\n\tif (callbacks !== void 0) {\n\t\t/**\n\t\t* If we're replacing callbacks we need to unset runName\n\t\t* since that should apply only to the same run as the original callbacks\n\t\t*/\n\t\tdelete newConfig.runName;\n\t\tnewConfig.callbacks = callbacks;\n\t}\n\tif (recursionLimit !== void 0) newConfig.recursionLimit = recursionLimit;\n\tif (maxConcurrency !== void 0) newConfig.maxConcurrency = maxConcurrency;\n\tif (runName !== void 0) newConfig.runName = runName;\n\tif (configurable !== void 0) newConfig.configurable = {\n\t\t...newConfig.configurable,\n\t\t...configurable\n\t};\n\tif (runId !== void 0) delete newConfig.runId;\n\treturn newConfig;\n}\nfunction pickRunnableConfigKeys(config) {\n\tif (!config) return void 0;\n\treturn {\n\t\tconfigurable: config.configurable,\n\t\trecursionLimit: config.recursionLimit,\n\t\tcallbacks: config.callbacks,\n\t\ttags: config.tags,\n\t\tmetadata: config.metadata,\n\t\tmaxConcurrency: config.maxConcurrency,\n\t\ttimeout: config.timeout,\n\t\tsignal: config.signal,\n\t\tstore: config.store\n\t};\n}\n\n//#endregion\nexport { DEFAULT_RECURSION_LIMIT, ensureConfig, getCallbackManagerForConfig, mergeConfigs, patchConfig, pickRunnableConfigKeys };\n//# sourceMappingURL=config.js.map"],"names":["DEFAULT_RECURSION_LIMIT","getCallbackManagerForConfig","config","CallbackManager","mergeConfigs","configs","copy","options","c","key","baseKeys","baseCallbacks","providedCallbacks","manager","callback","ensureHandler","typedKey","PRIMITIVES","ensureConfig","implicitConfig","AsyncLocalStorageProviderSingleton","empty","runId","runName","rest","currentConfig","value","originalTimeoutMs","timeoutSignal","patchConfig","callbacks","maxConcurrency","recursionLimit","configurable","newConfig","pickRunnableConfigKeys"],"mappings":"iOAKK,MAACA,EAA0B,GAChC,eAAeC,EAA4BC,EAAQ,CAClD,OAAOC,kBAAgB,eAAeD,GAAQ,UAAW,OAAQA,GAAQ,KAAM,OAAQA,GAAQ,QAAQ,CACxG,CACA,SAASE,KAAgBC,EAAS,CACjC,MAAMC,EAAO,CAAA,EACb,UAAWC,KAAWF,EAAQ,OAAQG,GAAM,CAAC,CAACA,CAAC,EAAG,UAAWC,KAAO,OAAO,KAAKF,CAAO,EAAG,GAAIE,IAAQ,WAAYH,EAAKG,CAAG,EAAI,CAC7H,GAAGH,EAAKG,CAAG,EACX,GAAGF,EAAQE,CAAG,CAChB,UACUA,IAAQ,OAAQ,CACxB,MAAMC,EAAWJ,EAAKG,CAAG,GAAK,CAAA,EAC9BH,EAAKG,CAAG,EAAI,CAAC,GAAG,IAAI,IAAIC,EAAS,OAAOH,EAAQE,CAAG,GAAK,CAAA,CAAE,CAAC,CAAC,CAC7D,SAAWA,IAAQ,eAAgBH,EAAKG,CAAG,E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AM,WAAUA,EAAM,SAAW,CAAA,GAClCA,EAAM,SAAS,YAAc,SAAQA,EAAM,SAAS,UAAYM,GAChEN,EAAM,SAAW,OAChB,QAAS,cAAaA,EAAM,OAAS,YAAY,IAAI,CAACA,EAAM,OAAQO,CAAa,CAAC,GAChFP,EAAM,OAASO,EAYtB,OAAOP,EAAM,OACd,CACA,OAAOA,CACR,CAIA,SAASQ,EAAY3B,EAAS,GAAI,CAAE,UAAA4B,EAAW,eAAAC,EAAgB,eAAAC,EAAgB,QAAAT,EAAS,aAAAU,EAAc,MAAAX,CAAK,EAAK,CAAA,EAAI,CACnH,MAAMY,EAAYhB,EAAahB,CAAM,EACrC,OAAI4B,IAAc,SAKjB,OAAOI,EAAU,QACjBA,EAAU,UAAYJ,GAEnBE,IAAmB,SAAQE,EAAU,eAAiBF,GACtDD,IAAmB,SAAQG,EAAU,eAAiBH,GACtDR,IAAY,SAAQW,EAAU,QAAUX,GACxCU,IAAiB,SAAQC,EAAU,aAAe,CACrD,GAAGA,EAAU,aACb,GAAGD,CACL,GACKX,IAAU,QAAQ,OAAOY,EAAU,MAChCA,CACR,CACA,SAASC,EAAuBjC,EAAQ,CACvC,GAAKA,EACL,MAAO,CACN,aAAcA,EAAO,aACrB,eAAgBA,EAAO,eACvB,UAAWA,EAAO,UAClB,KAAMA,EAAO,KACb,SAAUA,EAAO,SACjB,eAAgBA,EAAO,eACvB,QAASA,EAAO,QAChB,OAAQA,EAAO,OACf,MAAOA,EAAO,KAChB,CACA","x_google_ignoreList":[0]}
@@ -1,110 +0,0 @@
1
- import { CallbackManager as d, ensureHandler as c } from "../callbacks/manager.es.js";
2
- import { AsyncLocalStorageProviderSingleton as f } from "../singletons/async_local_storage/index.es.js";
3
- import "../singletons/index.es.js";
4
- const k = 25;
5
- async function v(n) {
6
- return d._configureSync(n?.callbacks, void 0, n?.tags, void 0, n?.metadata);
7
- }
8
- function p(...n) {
9
- const t = {};
10
- for (const a of n.filter((e) => !!e)) for (const e of Object.keys(a)) if (e === "metadata") t[e] = {
11
- ...t[e],
12
- ...a[e]
13
- };
14
- else if (e === "tags") {
15
- const i = t[e] ?? [];
16
- t[e] = [...new Set(i.concat(a[e] ?? []))];
17
- } else if (e === "configurable") t[e] = {
18
- ...t[e],
19
- ...a[e]
20
- };
21
- else if (e === "timeout")
22
- t.timeout === void 0 ? t.timeout = a.timeout : a.timeout !== void 0 && (t.timeout = Math.min(t.timeout, a.timeout));
23
- else if (e === "signal")
24
- t.signal === void 0 ? t.signal = a.signal : a.signal !== void 0 && ("any" in AbortSignal ? t.signal = AbortSignal.any([t.signal, a.signal]) : t.signal = a.signal);
25
- else if (e === "callbacks") {
26
- const i = t.callbacks, o = a.callbacks;
27
- if (Array.isArray(o)) if (!i) t.callbacks = o;
28
- else if (Array.isArray(i)) t.callbacks = i.concat(o);
29
- else {
30
- const s = i.copy();
31
- for (const r of o) s.addHandler(c(r), !0);
32
- t.callbacks = s;
33
- }
34
- else if (o) if (!i) t.callbacks = o;
35
- else if (Array.isArray(i)) {
36
- const s = o.copy();
37
- for (const r of i) s.addHandler(c(r), !0);
38
- t.callbacks = s;
39
- } else t.callbacks = new d(o._parentRunId, {
40
- handlers: i.handlers.concat(o.handlers),
41
- inheritableHandlers: i.inheritableHandlers.concat(o.inheritableHandlers),
42
- tags: Array.from(new Set(i.tags.concat(o.tags))),
43
- inheritableTags: Array.from(new Set(i.inheritableTags.concat(o.inheritableTags))),
44
- metadata: {
45
- ...i.metadata,
46
- ...o.metadata
47
- }
48
- });
49
- } else {
50
- const i = e;
51
- t[i] = a[i] ?? t[i];
52
- }
53
- return t;
54
- }
55
- const u = /* @__PURE__ */ new Set([
56
- "string",
57
- "number",
58
- "boolean"
59
- ]);
60
- function m(n) {
61
- const t = f.getRunnableConfig();
62
- let a = {
63
- tags: [],
64
- metadata: {},
65
- recursionLimit: 25,
66
- runId: void 0
67
- };
68
- if (t) {
69
- const { runId: e, runName: i, ...o } = t;
70
- a = Object.entries(o).reduce((s, [r, l]) => (l !== void 0 && (s[r] = l), s), a);
71
- }
72
- if (n && (a = Object.entries(n).reduce((e, [i, o]) => (o !== void 0 && (e[i] = o), e), a)), a?.configurable)
73
- for (const e of Object.keys(a.configurable)) u.has(typeof a.configurable[e]) && !a.metadata?.[e] && (a.metadata || (a.metadata = {}), a.metadata[e] = a.configurable[e]);
74
- if (a.timeout !== void 0) {
75
- if (a.timeout <= 0) throw new Error("Timeout must be a positive number");
76
- const e = a.timeout, i = AbortSignal.timeout(e);
77
- a.metadata || (a.metadata = {}), a.metadata.timeoutMs === void 0 && (a.metadata.timeoutMs = e), a.signal !== void 0 ? "any" in AbortSignal && (a.signal = AbortSignal.any([a.signal, i])) : a.signal = i, delete a.timeout;
78
- }
79
- return a;
80
- }
81
- function A(n = {}, { callbacks: t, maxConcurrency: a, recursionLimit: e, runName: i, configurable: o, runId: s } = {}) {
82
- const r = m(n);
83
- return t !== void 0 && (delete r.runName, r.callbacks = t), e !== void 0 && (r.recursionLimit = e), a !== void 0 && (r.maxConcurrency = a), i !== void 0 && (r.runName = i), o !== void 0 && (r.configurable = {
84
- ...r.configurable,
85
- ...o
86
- }), s !== void 0 && delete r.runId, r;
87
- }
88
- function S(n) {
89
- if (n)
90
- return {
91
- configurable: n.configurable,
92
- recursionLimit: n.recursionLimit,
93
- callbacks: n.callbacks,
94
- tags: n.tags,
95
- metadata: n.metadata,
96
- maxConcurrency: n.maxConcurrency,
97
- timeout: n.timeout,
98
- signal: n.signal,
99
- store: n.store
100
- };
101
- }
102
- export {
103
- k as DEFAULT_RECURSION_LIMIT,
104
- m as ensureConfig,
105
- v as getCallbackManagerForConfig,
106
- p as mergeConfigs,
107
- A as patchConfig,
108
- S as pickRunnableConfigKeys
109
- };
110
- //# sourceMappingURL=config.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.es.js","sources":["../../../../../../../../../node_modules/.pnpm/@langchain+core@1.1.13_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/runnables/config.js"],"sourcesContent":["import { CallbackManager, ensureHandler } from \"../callbacks/manager.js\";\nimport { AsyncLocalStorageProviderSingleton } from \"../singletons/async_local_storage/index.js\";\nimport \"../singletons/index.js\";\n\n//#region src/runnables/config.ts\nconst DEFAULT_RECURSION_LIMIT = 25;\nasync function getCallbackManagerForConfig(config) {\n\treturn CallbackManager._configureSync(config?.callbacks, void 0, config?.tags, void 0, config?.metadata);\n}\nfunction mergeConfigs(...configs) {\n\tconst copy = {};\n\tfor (const options of configs.filter((c) => !!c)) for (const key of Object.keys(options)) if (key === \"metadata\") copy[key] = {\n\t\t...copy[key],\n\t\t...options[key]\n\t};\n\telse if (key === \"tags\") {\n\t\tconst baseKeys = copy[key] ?? [];\n\t\tcopy[key] = [...new Set(baseKeys.concat(options[key] ?? []))];\n\t} else if (key === \"configurable\") copy[key] = {\n\t\t...copy[key],\n\t\t...options[key]\n\t};\n\telse if (key === \"timeout\") {\n\t\tif (copy.timeout === void 0) copy.timeout = options.timeout;\n\t\telse if (options.timeout !== void 0) copy.timeout = Math.min(copy.timeout, options.timeout);\n\t} else if (key === \"signal\") {\n\t\tif (copy.signal === void 0) copy.signal = options.signal;\n\t\telse if (options.signal !== void 0) if (\"any\" in AbortSignal) copy.signal = AbortSignal.any([copy.signal, options.signal]);\n\t\telse copy.signal = options.signal;\n\t} else if (key === \"callbacks\") {\n\t\tconst baseCallbacks = copy.callbacks;\n\t\tconst providedCallbacks = options.callbacks;\n\t\tif (Array.isArray(providedCallbacks)) if (!baseCallbacks) copy.callbacks = providedCallbacks;\n\t\telse if (Array.isArray(baseCallbacks)) copy.callbacks = baseCallbacks.concat(providedCallbacks);\n\t\telse {\n\t\t\tconst manager = baseCallbacks.copy();\n\t\t\tfor (const callback of providedCallbacks) manager.addHandler(ensureHandler(callback), true);\n\t\t\tcopy.callbacks = manager;\n\t\t}\n\t\telse if (providedCallbacks) if (!baseCallbacks) copy.callbacks = providedCallbacks;\n\t\telse if (Array.isArray(baseCallbacks)) {\n\t\t\tconst manager = providedCallbacks.copy();\n\t\t\tfor (const callback of baseCallbacks) manager.addHandler(ensureHandler(callback), true);\n\t\t\tcopy.callbacks = manager;\n\t\t} else copy.callbacks = new CallbackManager(providedCallbacks._parentRunId, {\n\t\t\thandlers: baseCallbacks.handlers.concat(providedCallbacks.handlers),\n\t\t\tinheritableHandlers: baseCallbacks.inheritableHandlers.concat(providedCallbacks.inheritableHandlers),\n\t\t\ttags: Array.from(new Set(baseCallbacks.tags.concat(providedCallbacks.tags))),\n\t\t\tinheritableTags: Array.from(new Set(baseCallbacks.inheritableTags.concat(providedCallbacks.inheritableTags))),\n\t\t\tmetadata: {\n\t\t\t\t...baseCallbacks.metadata,\n\t\t\t\t...providedCallbacks.metadata\n\t\t\t}\n\t\t});\n\t} else {\n\t\tconst typedKey = key;\n\t\tcopy[typedKey] = options[typedKey] ?? copy[typedKey];\n\t}\n\treturn copy;\n}\nconst PRIMITIVES = new Set([\n\t\"string\",\n\t\"number\",\n\t\"boolean\"\n]);\n/**\n* Ensure that a passed config is an object with all required keys present.\n*/\nfunction ensureConfig(config) {\n\tconst implicitConfig = AsyncLocalStorageProviderSingleton.getRunnableConfig();\n\tlet empty = {\n\t\ttags: [],\n\t\tmetadata: {},\n\t\trecursionLimit: 25,\n\t\trunId: void 0\n\t};\n\tif (implicitConfig) {\n\t\tconst { runId, runName,...rest } = implicitConfig;\n\t\tempty = Object.entries(rest).reduce((currentConfig, [key, value]) => {\n\t\t\tif (value !== void 0) currentConfig[key] = value;\n\t\t\treturn currentConfig;\n\t\t}, empty);\n\t}\n\tif (config) empty = Object.entries(config).reduce((currentConfig, [key, value]) => {\n\t\tif (value !== void 0) currentConfig[key] = value;\n\t\treturn currentConfig;\n\t}, empty);\n\tif (empty?.configurable) {\n\t\tfor (const key of Object.keys(empty.configurable)) if (PRIMITIVES.has(typeof empty.configurable[key]) && !empty.metadata?.[key]) {\n\t\t\tif (!empty.metadata) empty.metadata = {};\n\t\t\tempty.metadata[key] = empty.configurable[key];\n\t\t}\n\t}\n\tif (empty.timeout !== void 0) {\n\t\tif (empty.timeout <= 0) throw new Error(\"Timeout must be a positive number\");\n\t\tconst originalTimeoutMs = empty.timeout;\n\t\tconst timeoutSignal = AbortSignal.timeout(originalTimeoutMs);\n\t\tif (!empty.metadata) empty.metadata = {};\n\t\tif (empty.metadata.timeoutMs === void 0) empty.metadata.timeoutMs = originalTimeoutMs;\n\t\tif (empty.signal !== void 0) {\n\t\t\tif (\"any\" in AbortSignal) empty.signal = AbortSignal.any([empty.signal, timeoutSignal]);\n\t\t} else empty.signal = timeoutSignal;\n\t\t/**\n\t\t* We are deleting the timeout key for the following reasons:\n\t\t* - Idempotent normalization: ensureConfig may be called multiple times down the stack. If timeout remains,\n\t\t* each call would synthesize new timeout signals and combine them, changing the effective timeout unpredictably.\n\t\t* - Single enforcement path: downstream code relies on signal to enforce cancellation. Leaving timeout means two\n\t\t* competing mechanisms (numeric timeout and signal) can be applied, sometimes with different semantics.\n\t\t* - Propagation to children: pickRunnableConfigKeys would keep forwarding timeout to nested runnables, causing\n\t\t* repeated re-normalization and stacked timeouts.\n\t\t* - Backward compatibility: a lot of components and tests assume ensureConfig removes timeout post-normalization;\n\t\t* changing that would be a breaking change.\n\t\t*/\n\t\tdelete empty.timeout;\n\t}\n\treturn empty;\n}\n/**\n* Helper function that patches runnable configs with updated properties.\n*/\nfunction patchConfig(config = {}, { callbacks, maxConcurrency, recursionLimit, runName, configurable, runId } = {}) {\n\tconst newConfig = ensureConfig(config);\n\tif (callbacks !== void 0) {\n\t\t/**\n\t\t* If we're replacing callbacks we need to unset runName\n\t\t* since that should apply only to the same run as the original callbacks\n\t\t*/\n\t\tdelete newConfig.runName;\n\t\tnewConfig.callbacks = callbacks;\n\t}\n\tif (recursionLimit !== void 0) newConfig.recursionLimit = recursionLimit;\n\tif (maxConcurrency !== void 0) newConfig.maxConcurrency = maxConcurrency;\n\tif (runName !== void 0) newConfig.runName = runName;\n\tif (configurable !== void 0) newConfig.configurable = {\n\t\t...newConfig.configurable,\n\t\t...configurable\n\t};\n\tif (runId !== void 0) delete newConfig.runId;\n\treturn newConfig;\n}\nfunction pickRunnableConfigKeys(config) {\n\tif (!config) return void 0;\n\treturn {\n\t\tconfigurable: config.configurable,\n\t\trecursionLimit: config.recursionLimit,\n\t\tcallbacks: config.callbacks,\n\t\ttags: config.tags,\n\t\tmetadata: config.metadata,\n\t\tmaxConcurrency: config.maxConcurrency,\n\t\ttimeout: config.timeout,\n\t\tsignal: config.signal,\n\t\tstore: config.store\n\t};\n}\n\n//#endregion\nexport { DEFAULT_RECURSION_LIMIT, ensureConfig, getCallbackManagerForConfig, mergeConfigs, patchConfig, pickRunnableConfigKeys };\n//# sourceMappingURL=config.js.map"],"names":["DEFAULT_RECURSION_LIMIT","getCallbackManagerForConfig","config","CallbackManager","mergeConfigs","configs","copy","options","c","key","baseKeys","baseCallbacks","providedCallbacks","manager","callback","ensureHandler","typedKey","PRIMITIVES","ensureConfig","implicitConfig","AsyncLocalStorageProviderSingleton","empty","runId","runName","rest","currentConfig","value","originalTimeoutMs","timeoutSignal","patchConfig","callbacks","maxConcurrency","recursionLimit","configurable","newConfig","pickRunnableConfigKeys"],"mappings":";;;AAKK,MAACA,IAA0B;AAChC,eAAeC,EAA4BC,GAAQ;AAClD,SAAOC,EAAgB,eAAeD,GAAQ,WAAW,QAAQA,GAAQ,MAAM,QAAQA,GAAQ,QAAQ;AACxG;AACA,SAASE,KAAgBC,GAAS;AACjC,QAAMC,IAAO,CAAA;AACb,aAAWC,KAAWF,EAAQ,OAAO,CAACG,MAAM,CAAC,CAACA,CAAC,EAAG,YAAWC,KAAO,OAAO,KAAKF,CAAO,EAAG,KAAIE,MAAQ,WAAY,CAAAH,EAAKG,CAAG,IAAI;AAAA,IAC7H,GAAGH,EAAKG,CAAG;AAAA,IACX,GAAGF,EAAQE,CAAG;AAAA,EAChB;AAAA,WACUA,MAAQ,QAAQ;AACxB,UAAMC,IAAWJ,EAAKG,CAAG,KAAK,CAAA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,EAAO;AAAA,MACrB,gBAAgBA,EAAO;AAAA,MACvB,WAAWA,EAAO;AAAA,MAClB,MAAMA,EAAO;AAAA,MACb,UAAUA,EAAO;AAAA,MACjB,gBAAgBA,EAAO;AAAA,MACvB,SAASA,EAAO;AAAA,MAChB,QAAQA,EAAO;AAAA,MACf,OAAOA,EAAO;AAAA,IAChB;AACA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../_virtual/rolldown_runtime.cjs.js"),m=require("./utils.cjs.js"),l=require("./graph_mermaid.cjs.js"),w=require("../utils/json_schema.cjs.js"),u=require("../../../../../../uuid@10.0.0/node_modules/uuid/dist/esm-browser/validate.cjs.js"),j=require("../../../../../../uuid@10.0.0/node_modules/uuid/dist/esm-browser/v4.cjs.js");var g={};b.__export(g,{Graph:()=>N});function y(i,e){if(i!==void 0&&!u(i))return i;if(m.isRunnableInterface(e))try{let t=e.getName();return t=t.startsWith("Runnable")?t.slice(8):t,t}catch{return e.getName()}else return e.name??"UnknownSchema"}function O(i){return m.isRunnableInterface(i.data)?{type:"runnable",data:{id:i.data.lc_id,name:i.data.getName()}}:{type:"schema",data:{...w.toJsonSchema(i.data.schema),title:i.data.name}}}var N=class p{nodes={};edges=[];constructor(e){this.nodes=e?.nodes??this.nodes,this.edges=e?.edges??this.edges}toJSON(){const e={};return Object.values(this.nodes).forEach((t,r)=>{e[t.id]=u(t.id)?r:t.id}),{nodes:Object.values(this.nodes).map(t=>({id:e[t.id],...O(t)})),edges:this.edges.map(t=>{const r={source:e[t.source],target:e[t.target]};return typeof t.data<"u"&&(r.data=t.data),typeof t.conditional<"u"&&(r.conditional=t.conditional),r})}}addNode(e,t,r){if(t!==void 0&&this.nodes[t]!==void 0)throw new Error(`Node with id ${t} already exists`);const s=t??j(),o={id:s,data:e,name:y(t,e),metadata:r};return this.nodes[s]=o,o}removeNode(e){delete this.nodes[e.id],this.edges=this.edges.filter(t=>t.source!==e.id&&t.target!==e.id)}addEdge(e,t,r,s){if(this.nodes[e.id]===void 0)throw new Error(`Source node ${e.id} not in graph`);if(this.nodes[t.id]===void 0)throw new Error(`Target node ${t.id} not in graph`);const o={source:e.id,target:t.id,data:r,conditional:s};return this.edges.push(o),o}firstNode(){return f(this)}lastNode(){return h(this)}extend(e,t=""){let r=t;Object.values(e.nodes).map(n=>n.id).every(u)&&(r="");const o=n=>r?`${r}:${n}`:n;Object.entries(e.nodes).forEach(([n,v])=>{this.nodes[o(n)]={...v,id:o(n)}});const d=e.edges.map(n=>({...n,source:o(n.source),target:o(n.target)}));this.edges=[...this.edges,...d];const a=e.firstNode(),c=e.lastNode();return[a?{id:o(a.id),data:a.data}:void 0,c?{id:o(c.id),data:c.data}:void 0]}trimFirstNode(){const e=this.firstNode();e&&f(this,[e.id])&&this.removeNode(e)}trimLastNode(){const e=this.lastNode();e&&h(this,[e.id])&&this.removeNode(e)}reid(){const e=Object.fromEntries(Object.values(this.nodes).map(s=>[s.id,s.name])),t=new Map;Object.values(e).forEach(s=>{t.set(s,(t.get(s)||0)+1)});const r=s=>{const o=e[s];return u(s)&&t.get(o)===1?o:s};return new p({nodes:Object.fromEntries(Object.entries(this.nodes).map(([s,o])=>[r(s),{...o,id:r(s)}])),edges:this.edges.map(s=>({...s,source:r(s.source),target:r(s.target)}))})}drawMermaid(e){const{withStyles:t,curveStyle:r,nodeColors:s={default:"fill:#f2f0ff,line-height:1.2",first:"fill-opacity:0",last:"fill:#bfb6fc"},wrapLabelNWords:o}=e??{},d=this.reid(),a=d.firstNode(),c=d.lastNode();return l.drawMermaid(d.nodes,d.edges,{firstNode:a?.id,lastNode:c?.id,withStyles:t,curveStyle:r,nodeColors:s,wrapLabelNWords:o})}async drawMermaidPng(e){const t=this.drawMermaid(e);return l.drawMermaidImage(t,{backgroundColor:e?.backgroundColor})}};function f(i,e=[]){const t=new Set(i.edges.filter(s=>!e.includes(s.source)).map(s=>s.target)),r=[];for(const s of Object.values(i.nodes))!e.includes(s.id)&&!t.has(s.id)&&r.push(s);return r.length===1?r[0]:void 0}function h(i,e=[]){const t=new Set(i.edges.filter(s=>!e.includes(s.target)).map(s=>s.source)),r=[];for(const s of Object.values(i.nodes))!e.includes(s.id)&&!t.has(s.id)&&r.push(s);return r.length===1?r[0]:void 0}exports.Graph=N;exports.graph_exports=g;
2
- //# sourceMappingURL=graph.cjs.js.map