@nocobase/plugin-ai 1.9.0-beta.8 → 2.0.0-alpha.10

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 (2799) hide show
  1. package/LICENSE.txt +31 -20
  2. package/dist/client/0a5afa8d393c6149.js +10 -0
  3. package/dist/client/372594b4121f3e21.js +10 -0
  4. package/dist/client/7f550cc4bd6786d8.js +10 -0
  5. package/dist/client/9bedfbea307c6219.js +10 -0
  6. package/dist/client/a0a62fe07b8187c2.js +10 -0
  7. package/dist/client/{llm-providers/components/StructuredOutput.d.ts → admin-settings/AdminSettings.d.ts} +1 -1
  8. package/dist/client/ai-employees/1.x/selector/AIContextCollector.d.ts +15 -0
  9. package/dist/client/ai-employees/1.x/selector/AISelectorProvider.d.ts +33 -0
  10. package/dist/client/ai-employees/1.x/selector/BlockSelector.d.ts +14 -0
  11. package/dist/client/ai-employees/1.x/selector/withAISelectable.d.ts +14 -0
  12. package/dist/client/ai-employees/AIEmployeeListItem.d.ts +14 -0
  13. package/dist/client/ai-employees/AIEmployeesProvider.d.ts +12 -0
  14. package/dist/client/ai-employees/AISelection.d.ts +10 -0
  15. package/dist/client/ai-employees/AISelectionControl.d.ts +10 -0
  16. package/dist/client/ai-employees/AISettingsProvider.d.ts +18 -0
  17. package/dist/client/ai-employees/AddContextButton.d.ts +17 -0
  18. package/dist/client/ai-employees/ContextAwareTooltip.d.ts +10 -0
  19. package/dist/client/ai-employees/ProfileCard.d.ts +14 -0
  20. package/dist/client/ai-employees/admin/AvatarSelect.d.ts +19 -0
  21. package/dist/client/ai-employees/admin/ChatSettings.d.ts +10 -0
  22. package/dist/client/ai-employees/admin/DataSourceSettings.d.ts +10 -0
  23. package/dist/client/ai-employees/admin/Employees.d.ts +10 -0
  24. package/dist/client/ai-employees/admin/InputsFormSettings.d.ts +10 -0
  25. package/dist/client/ai-employees/admin/KnowledgeBaseSettings.d.ts +10 -0
  26. package/dist/client/ai-employees/admin/ModelSettings.d.ts +10 -0
  27. package/dist/client/ai-employees/admin/ProfileSettings.d.ts +12 -0
  28. package/dist/client/ai-employees/admin/SkillSettings.d.ts +17 -0
  29. package/dist/client/ai-employees/admin/Templates.d.ts +10 -0
  30. package/dist/client/ai-employees/admin/datasource/components/DatasourceSettingDetail.d.ts +14 -0
  31. package/dist/client/ai-employees/admin/datasource/components/DatasourceSettingForm.d.ts +10 -0
  32. package/dist/client/ai-employees/admin/datasource/components/DatasourceSettingGrid.d.ts +10 -0
  33. package/dist/client/ai-employees/admin/datasource/components/basic/CollectionCascader.d.ts +14 -0
  34. package/dist/client/ai-employees/admin/datasource/components/basic/FieldsTransfer.d.ts +17 -0
  35. package/dist/client/ai-employees/admin/datasource/components/basic/index.d.ts +10 -0
  36. package/dist/client/ai-employees/admin/datasource/components/form-steps/CollectionSetting.d.ts +17 -0
  37. package/dist/client/ai-employees/admin/datasource/components/form-steps/FieldsSetting.d.ts +15 -0
  38. package/dist/client/ai-employees/admin/datasource/components/form-steps/FilterSetting.d.ts +17 -0
  39. package/dist/client/ai-employees/admin/datasource/components/form-steps/Preview.d.ts +13 -0
  40. package/dist/client/ai-employees/admin/datasource/components/form-steps/SortSetting.d.ts +15 -0
  41. package/dist/client/ai-employees/admin/datasource/components/form-steps/index.d.ts +13 -0
  42. package/dist/{server/llm-providers/handlers/parse-messages.d.ts → client/ai-employees/admin/datasource/components/index.d.ts} +1 -1
  43. package/dist/client/ai-employees/admin/datasource/context.d.ts +17 -0
  44. package/dist/client/ai-employees/admin/datasource/flow-models/DatasourceSettingModel.d.ts +15 -0
  45. package/dist/client/ai-employees/admin/datasource/flow-models/index.d.ts +9 -0
  46. package/dist/client/ai-employees/admin/datasource/index.d.ts +10 -0
  47. package/dist/client/ai-employees/admin/hooks.d.ts +38 -0
  48. package/dist/client/ai-employees/ai-coding/AICodingButton.d.ts +18 -0
  49. package/dist/client/ai-employees/ai-coding/CodeHistory.d.ts +10 -0
  50. package/dist/client/ai-employees/ai-coding/markdown/Code.d.ts +16 -0
  51. package/dist/client/ai-employees/ai-coding/setup.d.ts +9 -0
  52. package/dist/client/ai-employees/avatars.d.ts +783 -0
  53. package/dist/client/ai-employees/built-in/utils.d.ts +14 -0
  54. package/dist/client/ai-employees/chart-generator/tools/index.d.ts +10 -0
  55. package/dist/client/ai-employees/chart-generator/ui/ECharts.d.ts +16 -0
  56. package/dist/client/ai-employees/chatbox/AIThinking.d.ts +12 -0
  57. package/dist/client/ai-employees/chatbox/Actions.d.ts +17 -0
  58. package/dist/client/ai-employees/chatbox/Attachment.d.ts +14 -0
  59. package/dist/client/ai-employees/chatbox/AttachmentsHeader.d.ts +10 -0
  60. package/dist/client/ai-employees/chatbox/ChatBox.d.ts +12 -0
  61. package/dist/client/ai-employees/chatbox/ChatBoxLayout.d.ts +12 -0
  62. package/dist/client/ai-employees/chatbox/ChatButton.d.ts +10 -0
  63. package/dist/client/ai-employees/chatbox/ContextItem.d.ts +16 -0
  64. package/dist/client/ai-employees/chatbox/ContextItemsHeader.d.ts +10 -0
  65. package/dist/client/ai-employees/chatbox/Conversations.d.ts +10 -0
  66. package/dist/client/ai-employees/chatbox/EditMessageHeader.d.ts +10 -0
  67. package/dist/client/ai-employees/chatbox/MessageRenderer.d.ts +30 -0
  68. package/dist/client/ai-employees/chatbox/SearchSwitch.d.ts +10 -0
  69. package/dist/client/ai-employees/chatbox/Sender.d.ts +10 -0
  70. package/dist/client/ai-employees/chatbox/SenderFooter.d.ts +13 -0
  71. package/dist/client/ai-employees/chatbox/SenderHeader.d.ts +10 -0
  72. package/dist/client/ai-employees/chatbox/SenderPrefix.d.ts +10 -0
  73. package/dist/client/ai-employees/chatbox/Upload.d.ts +10 -0
  74. package/dist/client/ai-employees/chatbox/UserPrompt.d.ts +10 -0
  75. package/dist/client/ai-employees/chatbox/generative-ui/DefaultToolCard.d.ts +14 -0
  76. package/dist/client/ai-employees/chatbox/generative-ui/ToolCard.d.ts +14 -0
  77. package/dist/client/ai-employees/chatbox/generative-ui/ToolModal.d.ts +10 -0
  78. package/dist/client/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +16 -0
  79. package/dist/client/ai-employees/chatbox/hooks/useChatBoxEffect.d.ts +9 -0
  80. package/dist/client/ai-employees/chatbox/hooks/useChatConversationActions.d.ts +13 -0
  81. package/dist/client/ai-employees/chatbox/hooks/useChatConversationOptions.d.ts +13 -0
  82. package/dist/client/ai-employees/chatbox/hooks/useChatMessageActions.d.ts +37 -0
  83. package/dist/client/ai-employees/chatbox/hooks/useLoadMoreObserver.d.ts +13 -0
  84. package/dist/client/ai-employees/chatbox/hooks/useUploadFiles.d.ts +12 -0
  85. package/dist/client/ai-employees/chatbox/markdown/Code.d.ts +15 -0
  86. package/dist/client/ai-employees/chatbox/markdown/ECharts.d.ts +11 -0
  87. package/dist/client/ai-employees/chatbox/markdown/Form.d.ts +10 -0
  88. package/dist/client/ai-employees/chatbox/markdown/Generating.d.ts +10 -0
  89. package/dist/client/ai-employees/chatbox/markdown/Markdown.d.ts +13 -0
  90. package/dist/client/ai-employees/chatbox/roles.d.ts +31 -0
  91. package/dist/client/ai-employees/chatbox/stores/chat-box.d.ts +89 -0
  92. package/dist/client/ai-employees/chatbox/stores/chat-conversations.d.ts +37 -0
  93. package/dist/client/ai-employees/chatbox/stores/chat-messages.d.ts +76 -0
  94. package/dist/client/ai-employees/chatbox/stores/chat-tools.d.ts +51 -0
  95. package/dist/client/ai-employees/chatbox/stores/create-selectors.d.ts +18 -0
  96. package/dist/client/ai-employees/chatbox/utils.d.ts +24 -0
  97. package/dist/client/ai-employees/context/classic-pages.d.ts +10 -0
  98. package/dist/client/ai-employees/context/code-editor.d.ts +10 -0
  99. package/dist/client/ai-employees/context/datasource.d.ts +10 -0
  100. package/dist/client/ai-employees/context/flow-models.d.ts +10 -0
  101. package/dist/client/ai-employees/data-modeling/Table.d.ts +12 -0
  102. package/dist/client/ai-employees/data-modeling/setup.d.ts +10 -0
  103. package/dist/client/ai-employees/data-modeling/tools/index.d.ts +10 -0
  104. package/dist/client/ai-employees/data-modeling/types.d.ts +34 -0
  105. package/dist/client/ai-employees/data-modeling/ui/CollectionNode.d.ts +12 -0
  106. package/dist/client/ai-employees/data-modeling/ui/DataModelingCard.d.ts +17 -0
  107. package/dist/client/ai-employees/data-modeling/ui/DataModelingModal.d.ts +17 -0
  108. package/dist/client/ai-employees/data-modeling/ui/Diagram.d.ts +14 -0
  109. package/dist/client/ai-employees/data-modeling/ui/Table.d.ts +15 -0
  110. package/dist/client/ai-employees/data-modeling/ui/useFieldInterfaceOptions.d.ts +14 -0
  111. package/dist/client/ai-employees/datasource/DatasourceList.d.ts +17 -0
  112. package/dist/client/ai-employees/datasource/DatasourceSelector.d.ts +17 -0
  113. package/dist/client/ai-employees/datasource/index.d.ts +9 -0
  114. package/dist/client/ai-employees/flow/context/ai-employees-data.d.ts +10 -0
  115. package/dist/client/ai-employees/flow/context/index.d.ts +9 -0
  116. package/dist/client/ai-employees/flow/events/ai-context-selection.d.ts +9 -0
  117. package/dist/client/ai-employees/flow/events/index.d.ts +9 -0
  118. package/dist/client/ai-employees/flow/index.d.ts +32 -0
  119. package/dist/client/ai-employees/flow/models/AIEmployeeActionModel.d.ts +18 -0
  120. package/dist/client/ai-employees/flow/models/AIEmployeeShortcutListModel.d.ts +21 -0
  121. package/dist/client/ai-employees/flow/models/AIEmployeeShortcutModel.d.ts +24 -0
  122. package/dist/client/ai-employees/flow/models/index.d.ts +11 -0
  123. package/dist/client/ai-employees/form-filler/tools/index.d.ts +10 -0
  124. package/dist/client/ai-employees/hooks/useAIEmployeesData.d.ts +17 -0
  125. package/dist/client/ai-employees/permissions/Permissions.d.ts +12 -0
  126. package/dist/client/ai-employees/permissions/PermissionsTab.d.ts +19 -0
  127. package/dist/client/ai-employees/shortcuts/ShortcutList.d.ts +10 -0
  128. package/dist/client/ai-employees/shortcuts/useShortcuts.d.ts +13 -0
  129. package/dist/client/ai-employees/stores/ai-selection.d.ts +17 -0
  130. package/dist/client/ai-employees/stores/context-aware.d.ts +19 -0
  131. package/dist/client/ai-employees/stores/dialog-controller.d.ts +15 -0
  132. package/dist/client/ai-employees/types.d.ts +195 -0
  133. package/dist/client/chat-settings/StructuredOutput.d.ts +11 -0
  134. package/dist/client/d1c1b405bbcb3d80.js +10 -0
  135. package/dist/client/ec31145b4e3cee69.js +10 -0
  136. package/dist/client/f0053e745af0ad03.svg +50 -0
  137. package/dist/client/f1e112bd46353cd6.js +10 -0
  138. package/dist/client/features/feature-manager.d.ts +17 -0
  139. package/dist/client/features/index.d.ts +17 -0
  140. package/dist/client/features/vector-database-provider.d.ts +18 -0
  141. package/dist/client/index.d.ts +10 -2
  142. package/dist/client/index.js +37 -1
  143. package/dist/client/llm-providers/anthropic/ModelSettings.d.ts +10 -0
  144. package/dist/client/llm-providers/anthropic/ProviderSettings.d.ts +10 -0
  145. package/dist/client/llm-providers/anthropic/index.d.ts +10 -0
  146. package/dist/client/llm-providers/dashscope/ModelSettings.d.ts +10 -0
  147. package/dist/client/llm-providers/dashscope/ProviderSettings.d.ts +10 -0
  148. package/dist/client/llm-providers/dashscope/index.d.ts +10 -0
  149. package/dist/client/llm-providers/google-genai/MessageRenderer.d.ts +13 -0
  150. package/dist/client/llm-providers/google-genai/ModelSettings.d.ts +10 -0
  151. package/dist/client/llm-providers/google-genai/ProviderSettings.d.ts +10 -0
  152. package/dist/client/llm-providers/google-genai/index.d.ts +10 -0
  153. package/dist/client/llm-providers/tongyi/ModelSettings.d.ts +10 -0
  154. package/dist/client/llm-providers/tongyi/ProviderSettings.d.ts +10 -0
  155. package/dist/client/llm-providers/tongyi/index.d.ts +10 -0
  156. package/dist/client/llm-services/component/LLMTestFlight.d.ts +10 -0
  157. package/dist/client/llm-services/llm-providers.d.ts +3 -0
  158. package/dist/client/locale.d.ts +1 -1
  159. package/dist/client/manager/ai-feature-manager.d.ts +14 -0
  160. package/dist/client/manager/ai-manager.d.ts +30 -0
  161. package/dist/client/schemas/llms.d.ts +8 -0
  162. package/dist/client/workflow/nodes/employee/index.d.ts +59 -0
  163. package/dist/client/workflow/nodes/llm/index.d.ts +5 -0
  164. package/dist/client/workflow/triggers/ai-employee/Parameters.d.ts +13 -0
  165. package/dist/client/workflow/triggers/ai-employee/index.d.ts +92 -0
  166. package/dist/collections/ai-context-datasource.d.ts +25 -0
  167. package/dist/collections/ai-context-datasource.js +88 -0
  168. package/dist/collections/ai-employees.d.ts +70 -0
  169. package/dist/collections/ai-employees.js +121 -0
  170. package/dist/externalVersion.js +22 -12
  171. package/dist/locale/en-US.json +162 -1
  172. package/dist/locale/zh-CN.json +163 -1
  173. package/dist/node_modules/@langchain/anthropic/LICENSE +21 -0
  174. package/dist/node_modules/@langchain/anthropic/dist/chat_models.cjs +996 -0
  175. package/dist/node_modules/@langchain/anthropic/dist/chat_models.d.ts +592 -0
  176. package/dist/node_modules/@langchain/anthropic/dist/chat_models.js +991 -0
  177. package/dist/node_modules/@langchain/anthropic/dist/experimental/index.cjs +17 -0
  178. package/dist/node_modules/@langchain/anthropic/dist/experimental/index.d.ts +1 -0
  179. package/dist/node_modules/@langchain/anthropic/dist/experimental/index.js +1 -0
  180. package/dist/node_modules/@langchain/anthropic/dist/experimental/tool_calling.cjs +318 -0
  181. package/dist/node_modules/@langchain/anthropic/dist/experimental/tool_calling.d.ts +57 -0
  182. package/dist/node_modules/@langchain/anthropic/dist/experimental/tool_calling.js +314 -0
  183. package/dist/node_modules/@langchain/anthropic/dist/experimental/utils/tool_calling.cjs +106 -0
  184. package/dist/node_modules/@langchain/anthropic/dist/experimental/utils/tool_calling.d.ts +10 -0
  185. package/dist/node_modules/@langchain/anthropic/dist/experimental/utils/tool_calling.js +101 -0
  186. package/dist/node_modules/@langchain/anthropic/dist/index.cjs +20 -0
  187. package/dist/node_modules/@langchain/anthropic/dist/index.d.ts +2 -0
  188. package/dist/node_modules/@langchain/anthropic/dist/index.js +2 -0
  189. package/dist/node_modules/@langchain/anthropic/dist/load/import_constants.cjs +5 -0
  190. package/dist/node_modules/@langchain/anthropic/dist/load/import_constants.d.ts +1 -0
  191. package/dist/node_modules/@langchain/anthropic/dist/load/import_constants.js +2 -0
  192. package/dist/node_modules/@langchain/anthropic/dist/load/import_map.cjs +39 -0
  193. package/dist/node_modules/@langchain/anthropic/dist/load/import_map.d.ts +2 -0
  194. package/dist/node_modules/@langchain/anthropic/dist/load/import_map.js +3 -0
  195. package/dist/node_modules/@langchain/anthropic/dist/load/import_type.cjs +3 -0
  196. package/dist/node_modules/@langchain/anthropic/dist/load/import_type.d.ts +5 -0
  197. package/dist/node_modules/@langchain/anthropic/dist/load/import_type.js +2 -0
  198. package/dist/node_modules/@langchain/anthropic/dist/load/index.cjs +63 -0
  199. package/dist/node_modules/@langchain/anthropic/dist/load/index.d.ts +14 -0
  200. package/dist/node_modules/@langchain/anthropic/dist/load/index.js +25 -0
  201. package/dist/node_modules/@langchain/anthropic/dist/load/map_keys.d.ts +3 -0
  202. package/dist/node_modules/@langchain/anthropic/dist/load/serializable.cjs +17 -0
  203. package/dist/node_modules/@langchain/anthropic/dist/load/serializable.d.ts +1 -0
  204. package/dist/node_modules/@langchain/anthropic/dist/load/serializable.js +1 -0
  205. package/dist/node_modules/@langchain/anthropic/dist/output_parsers.cjs +116 -0
  206. package/dist/node_modules/@langchain/anthropic/dist/output_parsers.d.ts +22 -0
  207. package/dist/node_modules/@langchain/anthropic/dist/output_parsers.js +111 -0
  208. package/dist/node_modules/@langchain/anthropic/dist/types.cjs +48 -0
  209. package/dist/node_modules/@langchain/anthropic/dist/types.d.ts +33 -0
  210. package/dist/node_modules/@langchain/anthropic/dist/types.js +45 -0
  211. package/dist/node_modules/@langchain/anthropic/dist/utils/errors.cjs +31 -0
  212. package/dist/node_modules/@langchain/anthropic/dist/utils/errors.d.ts +3 -0
  213. package/dist/node_modules/@langchain/anthropic/dist/utils/errors.js +27 -0
  214. package/dist/node_modules/@langchain/anthropic/dist/utils/message_inputs.cjs +516 -0
  215. package/dist/node_modules/@langchain/anthropic/dist/utils/message_inputs.d.ts +14 -0
  216. package/dist/node_modules/@langchain/anthropic/dist/utils/message_inputs.js +512 -0
  217. package/dist/node_modules/@langchain/anthropic/dist/utils/message_outputs.cjs +261 -0
  218. package/dist/node_modules/@langchain/anthropic/dist/utils/message_outputs.d.ts +14 -0
  219. package/dist/node_modules/@langchain/anthropic/dist/utils/message_outputs.js +257 -0
  220. package/dist/node_modules/@langchain/anthropic/dist/utils/prompts.cjs +48 -0
  221. package/dist/node_modules/@langchain/anthropic/dist/utils/prompts.d.ts +39 -0
  222. package/dist/node_modules/@langchain/anthropic/dist/utils/prompts.js +45 -0
  223. package/dist/node_modules/@langchain/anthropic/dist/utils/tools.cjs +27 -0
  224. package/dist/node_modules/@langchain/anthropic/dist/utils/tools.d.ts +3 -0
  225. package/dist/node_modules/@langchain/anthropic/dist/utils/tools.js +24 -0
  226. package/dist/node_modules/@langchain/anthropic/experimental.cjs +1 -0
  227. package/dist/node_modules/@langchain/anthropic/experimental.d.cts +1 -0
  228. package/dist/node_modules/@langchain/anthropic/experimental.d.ts +1 -0
  229. package/dist/node_modules/@langchain/anthropic/experimental.js +1 -0
  230. package/dist/node_modules/@langchain/anthropic/index.cjs +28 -0
  231. package/dist/node_modules/@langchain/anthropic/index.d.cts +1 -0
  232. package/dist/node_modules/@langchain/anthropic/index.d.ts +1 -0
  233. package/dist/node_modules/@langchain/anthropic/index.js +1 -0
  234. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/package.json +72 -0
  235. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/cli/cli.js +93 -0
  236. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/cli/man.js +12 -0
  237. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/cli/read.js +92 -0
  238. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/fxp.d.ts +418 -0
  239. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/fxp.js +11 -0
  240. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/ignoreAttributes.js +20 -0
  241. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/util.js +72 -0
  242. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  243. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  244. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  245. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  246. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  247. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  248. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  249. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
  250. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  251. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  252. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  253. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  254. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  255. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +216 -0
  256. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  257. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  258. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  259. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  260. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  261. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  262. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
  263. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  264. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  265. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  266. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +16 -0
  267. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +104 -0
  268. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +61 -0
  269. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +69 -0
  270. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +103 -0
  271. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +100 -0
  272. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +154 -0
  273. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +94 -0
  274. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  275. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/TagPath.js +81 -0
  276. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +13 -0
  277. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/XMLParser.js +83 -0
  278. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +235 -0
  279. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +210 -0
  280. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +111 -0
  281. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +116 -0
  282. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +121 -0
  283. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
  284. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +22 -0
  285. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +19 -0
  286. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +38 -0
  287. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +13 -0
  288. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +14 -0
  289. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +6 -0
  290. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/validator.js +425 -0
  291. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +286 -0
  292. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +135 -0
  293. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlbuilder/prettifyJs2Xml.js +0 -0
  294. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +153 -0
  295. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +48 -0
  296. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +606 -0
  297. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +58 -0
  298. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlparser/node2json.js +113 -0
  299. package/dist/node_modules/@langchain/anthropic/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +25 -0
  300. package/dist/node_modules/@langchain/anthropic/node_modules/strnum/.vscode/launch.json +25 -0
  301. package/dist/node_modules/@langchain/anthropic/node_modules/strnum/package.json +30 -0
  302. package/dist/node_modules/@langchain/anthropic/node_modules/strnum/strnum.js +111 -0
  303. package/dist/node_modules/@langchain/anthropic/node_modules/strnum/strnum.test.js +165 -0
  304. package/dist/node_modules/@langchain/anthropic/package.json +1 -0
  305. package/dist/node_modules/@langchain/core/dist/caches/base.cjs +28 -5
  306. package/dist/node_modules/@langchain/core/dist/caches/base.d.ts +13 -1
  307. package/dist/node_modules/@langchain/core/dist/caches/base.js +25 -2
  308. package/dist/node_modules/@langchain/core/dist/callbacks/base.cjs +19 -9
  309. package/dist/node_modules/@langchain/core/dist/callbacks/base.d.ts +37 -22
  310. package/dist/node_modules/@langchain/core/dist/callbacks/dispatch/index.cjs +1 -2
  311. package/dist/node_modules/@langchain/core/dist/callbacks/dispatch/web.cjs +1 -2
  312. package/dist/node_modules/@langchain/core/dist/callbacks/manager.cjs +4 -4
  313. package/dist/node_modules/@langchain/core/dist/callbacks/manager.d.ts +2 -2
  314. package/dist/node_modules/@langchain/core/dist/errors/index.cjs +1 -2
  315. package/dist/node_modules/@langchain/core/dist/example_selectors/conditional.cjs +3 -3
  316. package/dist/node_modules/@langchain/core/dist/index.cjs +2 -0
  317. package/dist/node_modules/@langchain/core/dist/index.d.ts +2 -0
  318. package/dist/node_modules/@langchain/core/dist/index.js +2 -0
  319. package/dist/node_modules/@langchain/core/dist/indexing/base.cjs +19 -7
  320. package/dist/node_modules/@langchain/core/dist/indexing/base.d.ts +3 -0
  321. package/dist/node_modules/@langchain/core/dist/indexing/base.js +14 -2
  322. package/dist/node_modules/@langchain/core/dist/language_models/base.cjs +31 -7
  323. package/dist/node_modules/@langchain/core/dist/language_models/base.d.ts +40 -9
  324. package/dist/node_modules/@langchain/core/dist/language_models/base.js +29 -5
  325. package/dist/node_modules/@langchain/core/dist/language_models/chat_models.cjs +37 -10
  326. package/dist/node_modules/@langchain/core/dist/language_models/chat_models.d.ts +9 -3
  327. package/dist/node_modules/@langchain/core/dist/language_models/chat_models.js +36 -9
  328. package/dist/node_modules/@langchain/core/dist/load/import_map.cjs +17 -7
  329. package/dist/node_modules/@langchain/core/dist/load/index.cjs +18 -9
  330. package/dist/node_modules/@langchain/core/dist/load/map_keys.cjs +3 -4
  331. package/dist/node_modules/@langchain/core/dist/load/serializable.cjs +2 -2
  332. package/dist/node_modules/@langchain/core/dist/memory.cjs +2 -2
  333. package/dist/node_modules/@langchain/core/dist/messages/ai.cjs +3 -3
  334. package/dist/node_modules/@langchain/core/dist/messages/ai.d.ts +26 -10
  335. package/dist/node_modules/@langchain/core/dist/messages/base.cjs +51 -15
  336. package/dist/node_modules/@langchain/core/dist/messages/base.d.ts +1 -2
  337. package/dist/node_modules/@langchain/core/dist/messages/base.js +41 -5
  338. package/dist/node_modules/@langchain/core/dist/messages/chat.cjs +3 -3
  339. package/dist/node_modules/@langchain/core/dist/messages/content_blocks.cjs +165 -0
  340. package/dist/node_modules/@langchain/core/dist/messages/content_blocks.d.ts +151 -0
  341. package/dist/node_modules/@langchain/core/dist/messages/content_blocks.js +154 -0
  342. package/dist/node_modules/@langchain/core/dist/messages/function.cjs +3 -3
  343. package/dist/node_modules/@langchain/core/dist/messages/human.cjs +13 -3
  344. package/dist/node_modules/@langchain/core/dist/messages/human.d.ts +13 -1
  345. package/dist/node_modules/@langchain/core/dist/messages/human.js +10 -0
  346. package/dist/node_modules/@langchain/core/dist/messages/index.cjs +1 -0
  347. package/dist/node_modules/@langchain/core/dist/messages/index.d.ts +1 -0
  348. package/dist/node_modules/@langchain/core/dist/messages/index.js +1 -0
  349. package/dist/node_modules/@langchain/core/dist/messages/system.cjs +13 -3
  350. package/dist/node_modules/@langchain/core/dist/messages/system.d.ts +13 -1
  351. package/dist/node_modules/@langchain/core/dist/messages/system.js +10 -0
  352. package/dist/node_modules/@langchain/core/dist/messages/tool.cjs +5 -5
  353. package/dist/node_modules/@langchain/core/dist/messages/tool.d.ts +11 -5
  354. package/dist/node_modules/@langchain/core/dist/messages/transformers.cjs +4 -5
  355. package/dist/node_modules/@langchain/core/dist/messages/utils.cjs +6 -7
  356. package/dist/node_modules/@langchain/core/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts +1 -1
  357. package/dist/node_modules/@langchain/core/dist/output_parsers/openai_tools/json_output_tools_parsers.cjs +7 -6
  358. package/dist/node_modules/@langchain/core/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts +19 -5
  359. package/dist/node_modules/@langchain/core/dist/output_parsers/openai_tools/json_output_tools_parsers.js +3 -2
  360. package/dist/node_modules/@langchain/core/dist/output_parsers/structured.cjs +9 -8
  361. package/dist/node_modules/@langchain/core/dist/output_parsers/structured.d.ts +10 -9
  362. package/dist/node_modules/@langchain/core/dist/output_parsers/structured.js +7 -6
  363. package/dist/node_modules/@langchain/core/dist/output_parsers/xml.cjs +2 -2
  364. package/dist/node_modules/@langchain/core/dist/prompts/base.cjs +36 -3
  365. package/dist/node_modules/@langchain/core/dist/prompts/chat.cjs +50 -10
  366. package/dist/node_modules/@langchain/core/dist/prompts/chat.d.ts +5 -4
  367. package/dist/node_modules/@langchain/core/dist/prompts/chat.js +50 -10
  368. package/dist/node_modules/@langchain/core/dist/prompts/dict.cjs +114 -0
  369. package/dist/node_modules/@langchain/core/dist/prompts/dict.d.ts +18 -0
  370. package/dist/node_modules/@langchain/core/dist/prompts/dict.js +110 -0
  371. package/dist/node_modules/@langchain/core/dist/prompts/index.cjs +1 -0
  372. package/dist/node_modules/@langchain/core/dist/prompts/index.d.ts +1 -0
  373. package/dist/node_modules/@langchain/core/dist/prompts/index.js +1 -0
  374. package/dist/node_modules/@langchain/core/dist/prompts/structured.cjs +16 -6
  375. package/dist/node_modules/@langchain/core/dist/prompts/structured.d.ts +3 -1
  376. package/dist/node_modules/@langchain/core/dist/prompts/structured.js +16 -6
  377. package/dist/node_modules/@langchain/core/dist/runnables/base.cjs +42 -24
  378. package/dist/node_modules/@langchain/core/dist/runnables/base.d.ts +35 -15
  379. package/dist/node_modules/@langchain/core/dist/runnables/base.js +35 -17
  380. package/dist/node_modules/@langchain/core/dist/runnables/config.cjs +6 -6
  381. package/dist/node_modules/@langchain/core/dist/runnables/graph.cjs +2 -2
  382. package/dist/node_modules/@langchain/core/dist/runnables/graph.js +2 -2
  383. package/dist/node_modules/@langchain/core/dist/runnables/graph_mermaid.cjs +2 -3
  384. package/dist/node_modules/@langchain/core/dist/runnables/iter.cjs +5 -5
  385. package/dist/node_modules/@langchain/core/dist/runnables/iter.d.ts +1 -1
  386. package/dist/node_modules/@langchain/core/dist/runnables/passthrough.cjs +1 -1
  387. package/dist/node_modules/@langchain/core/dist/runnables/passthrough.d.ts +1 -1
  388. package/dist/node_modules/@langchain/core/dist/runnables/passthrough.js +1 -1
  389. package/dist/node_modules/@langchain/core/dist/runnables/remote.cjs +2 -0
  390. package/dist/node_modules/@langchain/core/dist/runnables/remote.d.ts +2 -0
  391. package/dist/node_modules/@langchain/core/dist/runnables/remote.js +2 -0
  392. package/dist/node_modules/@langchain/core/dist/runnables/types.d.ts +2 -2
  393. package/dist/node_modules/@langchain/core/dist/runnables/utils.cjs +2 -2
  394. package/dist/node_modules/@langchain/core/dist/runnables/wrappers.cjs +1 -2
  395. package/dist/node_modules/@langchain/core/dist/runnables/wrappers.d.ts +1 -1
  396. package/dist/node_modules/@langchain/core/dist/singletons/async_local_storage/context.cjs +3 -3
  397. package/dist/node_modules/@langchain/core/dist/singletons/async_local_storage/index.cjs +1 -1
  398. package/dist/node_modules/@langchain/core/dist/singletons/async_local_storage/index.js +1 -1
  399. package/dist/node_modules/@langchain/core/dist/singletons/callbacks.cjs +10 -6
  400. package/dist/node_modules/@langchain/core/dist/singletons/callbacks.d.ts +1 -1
  401. package/dist/node_modules/@langchain/core/dist/singletons/callbacks.js +7 -2
  402. package/dist/node_modules/@langchain/core/dist/structured_query/utils.cjs +7 -8
  403. package/dist/node_modules/@langchain/core/dist/tools/index.cjs +80 -42
  404. package/dist/node_modules/@langchain/core/dist/tools/index.d.ts +47 -151
  405. package/dist/node_modules/@langchain/core/dist/tools/index.js +74 -40
  406. package/dist/node_modules/@langchain/core/dist/tools/types.cjs +64 -0
  407. package/dist/node_modules/@langchain/core/dist/tools/types.d.ts +264 -0
  408. package/dist/node_modules/@langchain/core/dist/tools/types.js +58 -0
  409. package/dist/node_modules/@langchain/core/dist/tools/utils.cjs +12 -2
  410. package/dist/node_modules/@langchain/core/dist/tools/utils.d.ts +5 -0
  411. package/dist/node_modules/@langchain/core/dist/tools/utils.js +9 -0
  412. package/dist/node_modules/@langchain/core/dist/tracers/base.cjs +92 -24
  413. package/dist/node_modules/@langchain/core/dist/tracers/base.d.ts +89 -84
  414. package/dist/node_modules/@langchain/core/dist/tracers/base.js +90 -22
  415. package/dist/node_modules/@langchain/core/dist/tracers/initialize.cjs +2 -3
  416. package/dist/node_modules/@langchain/core/dist/tracers/tracer_langchain.cjs +38 -75
  417. package/dist/node_modules/@langchain/core/dist/tracers/tracer_langchain.d.ts +5 -3
  418. package/dist/node_modules/@langchain/core/dist/tracers/tracer_langchain.js +38 -75
  419. package/dist/node_modules/@langchain/core/dist/utils/async_caller.cjs +9 -9
  420. package/dist/node_modules/@langchain/core/dist/utils/async_caller.js +9 -9
  421. package/dist/node_modules/@langchain/core/dist/utils/env.cjs +11 -6
  422. package/dist/node_modules/@langchain/core/dist/utils/env.d.ts +4 -0
  423. package/dist/node_modules/@langchain/core/dist/utils/env.js +7 -3
  424. package/dist/node_modules/@langchain/core/dist/utils/event_source_parse.cjs +5 -5
  425. package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/index.cjs +17 -7
  426. package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/index.d.ts +4 -4
  427. package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.cjs +8 -8
  428. package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.cjs +4 -5
  429. package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.cjs +10 -10
  430. package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.d.ts +3 -3
  431. package/dist/node_modules/@langchain/core/dist/utils/function_calling.cjs +20 -72
  432. package/dist/node_modules/@langchain/core/dist/utils/function_calling.d.ts +8 -38
  433. package/dist/node_modules/@langchain/core/dist/utils/function_calling.js +12 -64
  434. package/dist/node_modules/@langchain/core/dist/utils/hash.cjs +3 -1
  435. package/dist/node_modules/@langchain/core/dist/utils/hash.d.ts +7 -0
  436. package/dist/node_modules/@langchain/core/dist/utils/hash.js +1 -0
  437. package/dist/node_modules/@langchain/core/dist/utils/js-sha1/hash.cjs +17 -0
  438. package/dist/node_modules/@langchain/core/dist/utils/js-sha1/hash.d.ts +4 -0
  439. package/dist/node_modules/@langchain/core/dist/utils/js-sha1/hash.js +17 -0
  440. package/dist/node_modules/@langchain/core/dist/utils/js-sha256/hash.cjs +448 -0
  441. package/dist/node_modules/@langchain/core/dist/utils/js-sha256/hash.d.ts +1 -0
  442. package/dist/node_modules/@langchain/core/dist/utils/js-sha256/hash.js +445 -0
  443. package/dist/node_modules/@langchain/core/dist/utils/json.cjs +19 -7
  444. package/dist/node_modules/@langchain/core/dist/utils/json.js +17 -4
  445. package/dist/node_modules/@langchain/core/dist/utils/json_schema.cjs +95 -3
  446. package/dist/node_modules/@langchain/core/dist/utils/json_schema.d.ts +18 -0
  447. package/dist/node_modules/@langchain/core/dist/utils/json_schema.js +90 -0
  448. package/dist/node_modules/@langchain/core/dist/utils/math.cjs +6 -7
  449. package/dist/node_modules/@langchain/core/dist/utils/ml-distance/distances.cjs +1 -2
  450. package/dist/node_modules/@langchain/core/dist/utils/ml-distance/similarities.cjs +1 -2
  451. package/dist/node_modules/@langchain/core/dist/utils/ml-distance-euclidean/euclidean.cjs +2 -3
  452. package/dist/node_modules/@langchain/core/dist/utils/sax-js/sax.cjs +35 -35
  453. package/dist/node_modules/@langchain/core/dist/utils/sax-js/sax.js +35 -35
  454. package/dist/node_modules/@langchain/core/dist/utils/signal.cjs +1 -2
  455. package/dist/node_modules/@langchain/core/dist/utils/stream.cjs +4 -4
  456. package/dist/node_modules/@langchain/core/dist/utils/testing/helpers.cjs +7 -0
  457. package/dist/node_modules/@langchain/core/dist/utils/testing/helpers.d.ts +3 -0
  458. package/dist/node_modules/@langchain/core/dist/utils/testing/helpers.js +3 -0
  459. package/dist/node_modules/@langchain/core/dist/utils/testing/index.cjs +109 -24
  460. package/dist/node_modules/@langchain/core/dist/utils/testing/index.d.ts +43 -16
  461. package/dist/node_modules/@langchain/core/dist/utils/testing/index.js +109 -24
  462. package/dist/node_modules/@langchain/core/dist/utils/tiktoken.cjs +2 -3
  463. package/dist/node_modules/@langchain/core/dist/utils/types/index.cjs +1 -1
  464. package/dist/node_modules/@langchain/core/dist/utils/types/index.d.ts +1 -1
  465. package/dist/node_modules/@langchain/core/dist/utils/types/index.js +1 -1
  466. package/dist/node_modules/@langchain/core/dist/utils/types/zod.cjs +619 -0
  467. package/dist/node_modules/@langchain/core/dist/utils/types/zod.d.ts +212 -0
  468. package/dist/node_modules/@langchain/core/dist/utils/types/zod.js +595 -0
  469. package/dist/node_modules/@langchain/core/index.cjs +1 -1
  470. package/dist/node_modules/@langchain/core/index.d.cts +2 -0
  471. package/dist/node_modules/@langchain/core/index.d.ts +2 -0
  472. package/dist/node_modules/@langchain/core/index.js +2 -0
  473. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/anonymizer/index.cjs +1 -2
  474. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/client.cjs +406 -162
  475. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/client.d.ts +96 -8
  476. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/client.js +388 -154
  477. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/evaluation/_random_name.cjs +1 -2
  478. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/evaluation/_runner.cjs +4 -2
  479. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/evaluation/_runner.js +2 -0
  480. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/evaluation/evaluate_comparative.cjs +5 -3
  481. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/evaluation/evaluate_comparative.js +4 -1
  482. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/evaluation/evaluator.cjs +2 -2
  483. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/evaluation/langchain.cjs +1 -2
  484. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/constants.cjs +55 -0
  485. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/constants.d.ts +44 -0
  486. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/constants.js +52 -0
  487. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/exporter.cjs +173 -0
  488. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/exporter.d.ts +21 -0
  489. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/exporter.js +136 -0
  490. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/setup.cjs +82 -0
  491. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/setup.d.ts +42 -0
  492. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/setup.js +78 -0
  493. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/translator.cjs +447 -0
  494. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/translator.d.ts +22 -0
  495. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/translator.js +410 -0
  496. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/types.cjs +5 -0
  497. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/types.d.ts +29 -0
  498. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/types.js +4 -0
  499. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/utils.cjs +35 -0
  500. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/utils.d.ts +17 -0
  501. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/experimental/otel/utils.js +30 -0
  502. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/index.cjs +4 -2
  503. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/index.d.ts +2 -1
  504. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/index.js +2 -1
  505. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/jest/index.d.ts +118 -46
  506. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/langchain.cjs +2 -2
  507. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/run_trees.cjs +211 -53
  508. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/run_trees.d.ts +12 -2
  509. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/run_trees.js +185 -37
  510. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/schemas.d.ts +26 -0
  511. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/fetch.cjs +26 -4
  512. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/fetch.d.ts +1 -0
  513. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/fetch.js +24 -3
  514. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/otel.cjs +155 -0
  515. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/otel.d.ts +63 -0
  516. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/otel.js +147 -0
  517. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/traceable.cjs +8 -18
  518. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/traceable.d.ts +3 -1
  519. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/traceable.js +4 -14
  520. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/traceable.cjs +137 -25
  521. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/traceable.d.ts +3 -1
  522. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/traceable.js +135 -23
  523. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/_uuid.cjs +6 -27
  524. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/_uuid.js +5 -2
  525. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/asserts.cjs +3 -3
  526. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/asserts.d.ts +3 -3
  527. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/async_caller.cjs +8 -1
  528. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/async_caller.d.ts +2 -0
  529. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/async_caller.js +8 -1
  530. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/atee.cjs +1 -2
  531. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/env.cjs +10 -12
  532. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/env.js +1 -3
  533. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/error.cjs +13 -4
  534. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/error.d.ts +1 -0
  535. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/error.js +10 -1
  536. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs +7 -5
  537. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/fast-safe-stringify/index.d.ts +1 -1
  538. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js +6 -3
  539. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/globals.cjs +3 -3
  540. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/globals.d.ts +2 -1
  541. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/index.cjs +120 -60
  542. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/index.d.ts +103 -31
  543. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/index.js +98 -48
  544. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/matchers.cjs +3 -4
  545. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/reporter.cjs +18 -9
  546. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/vendor/chain.cjs +1 -2
  547. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/vendor/chain.d.ts +0 -1
  548. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/vendor/evaluatedBy.cjs +3 -6
  549. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/jestlike/vendor/evaluatedBy.js +2 -4
  550. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/messages.cjs +2 -3
  551. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/project.cjs +10 -0
  552. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/project.d.ts +1 -0
  553. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/project.js +6 -0
  554. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/prompts.cjs +2 -3
  555. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/shuffle.cjs +1 -2
  556. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/warn.cjs +1 -2
  557. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/vercel.cjs +192 -46
  558. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/vercel.d.ts +13 -5
  559. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/vercel.js +192 -46
  560. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/vitest/index.d.ts +118 -46
  561. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/wrappers/openai.cjs +1 -1
  562. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/wrappers/openai.d.ts +2 -2
  563. package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/wrappers/openai.js +1 -1
  564. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/exporter.cjs +1 -0
  565. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/exporter.d.cts +1 -0
  566. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/exporter.d.ts +1 -0
  567. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/exporter.js +1 -0
  568. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/setup.cjs +1 -0
  569. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/setup.d.cts +1 -0
  570. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/setup.d.ts +1 -0
  571. package/dist/node_modules/@langchain/core/node_modules/langsmith/experimental/otel/setup.js +1 -0
  572. package/dist/node_modules/@langchain/core/node_modules/langsmith/package.json +47 -7
  573. package/dist/node_modules/@langchain/core/node_modules/zod/LICENSE +1 -1
  574. package/dist/node_modules/@langchain/core/node_modules/zod/README.md +105 -2971
  575. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/index.js +22 -0
  576. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/package.json +3 -0
  577. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/ZodError.js +137 -0
  578. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/datetime.js +54 -0
  579. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/discriminatedUnion.js +79 -0
  580. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/index.js +59 -0
  581. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/object.js +70 -0
  582. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/primitives.js +159 -0
  583. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/realworld.js +56 -0
  584. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/string.js +55 -0
  585. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/benchmarks/union.js +79 -0
  586. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/errors.js +17 -0
  587. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/external.js +22 -0
  588. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/helpers/errorUtil.js +9 -0
  589. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/helpers/parseUtil.js +124 -0
  590. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/helpers/util.js +137 -0
  591. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/index.js +33 -0
  592. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/locales/en.js +109 -0
  593. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/standard-schema.js +2 -0
  594. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v3/types.js +3773 -0
  595. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/checks.js +32 -0
  596. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/coerce.js +47 -0
  597. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/compat.js +63 -0
  598. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/errors.js +67 -0
  599. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/external.js +69 -0
  600. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/index.js +33 -0
  601. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/iso.js +60 -0
  602. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/parse.js +32 -0
  603. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/classic/schemas.js +1100 -0
  604. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/api.js +1021 -0
  605. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/checks.js +580 -0
  606. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/config.js +10 -0
  607. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/core.js +63 -0
  608. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/doc.js +39 -0
  609. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/errors.js +222 -0
  610. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/function.js +102 -0
  611. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/index.js +44 -0
  612. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/json-schema.js +2 -0
  613. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/parse.js +87 -0
  614. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/regexes.js +103 -0
  615. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/registries.js +47 -0
  616. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/schemas.js +1719 -0
  617. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/standard-schema.js +2 -0
  618. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/to-json-schema.js +833 -0
  619. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/util.js +537 -0
  620. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/versions.js +8 -0
  621. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/core/zsf.js +172 -0
  622. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/index.js +22 -0
  623. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ar.js +142 -0
  624. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/az.js +141 -0
  625. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/be.js +190 -0
  626. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ca.js +144 -0
  627. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/cs.js +161 -0
  628. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/de.js +142 -0
  629. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/en.js +145 -0
  630. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/es.js +143 -0
  631. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/fa.js +148 -0
  632. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/fi.js +148 -0
  633. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/fr-CA.js +143 -0
  634. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/fr.js +142 -0
  635. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/he.js +143 -0
  636. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/hu.js +143 -0
  637. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/id.js +142 -0
  638. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/index.js +82 -0
  639. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/it.js +143 -0
  640. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ja.js +141 -0
  641. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/kh.js +143 -0
  642. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ko.js +147 -0
  643. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/mk.js +144 -0
  644. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ms.js +142 -0
  645. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/nl.js +143 -0
  646. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/no.js +142 -0
  647. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ota.js +143 -0
  648. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/pl.js +143 -0
  649. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ps.js +148 -0
  650. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/pt.js +142 -0
  651. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ru.js +190 -0
  652. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/sl.js +143 -0
  653. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/sv.js +144 -0
  654. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ta.js +143 -0
  655. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/th.js +143 -0
  656. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/tr.js +143 -0
  657. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ua.js +143 -0
  658. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/ur.js +143 -0
  659. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/vi.js +142 -0
  660. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/zh-CN.js +142 -0
  661. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/locales/zh-TW.js +143 -0
  662. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/mini/checks.js +34 -0
  663. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/mini/coerce.js +47 -0
  664. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/mini/external.js +61 -0
  665. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/mini/index.js +32 -0
  666. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/mini/iso.js +60 -0
  667. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/mini/parse.js +8 -0
  668. package/dist/node_modules/@langchain/core/node_modules/zod/dist/cjs/v4/mini/schemas.js +831 -0
  669. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/index.js +3 -0
  670. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/package.json +3 -0
  671. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/ZodError.js +132 -0
  672. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/datetime.js +49 -0
  673. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/discriminatedUnion.js +74 -0
  674. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/index.js +54 -0
  675. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/ipv4.js +49 -0
  676. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/object.js +65 -0
  677. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/primitives.js +154 -0
  678. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/realworld.js +51 -0
  679. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/string.js +50 -0
  680. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/benchmarks/union.js +74 -0
  681. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/errors.js +9 -0
  682. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/external.js +6 -0
  683. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/helpers/enumUtil.js +1 -0
  684. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/helpers/errorUtil.js +6 -0
  685. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/helpers/parseUtil.js +109 -0
  686. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/helpers/partialUtil.js +1 -0
  687. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/helpers/typeAliases.js +1 -0
  688. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/helpers/util.js +133 -0
  689. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/index.js +4 -0
  690. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/locales/en.js +107 -0
  691. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/standard-schema.js +1 -0
  692. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v3/tests/Mocker.js +53 -0
  693. package/dist/node_modules/@langchain/core/node_modules/zod/{lib/index.mjs → dist/esm/v3/types.js} +148 -862
  694. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/checks.js +1 -0
  695. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/coerce.js +17 -0
  696. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/compat.js +33 -0
  697. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/errors.js +41 -0
  698. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/external.js +18 -0
  699. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/index.js +4 -0
  700. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/iso.js +30 -0
  701. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/parse.js +6 -0
  702. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/classic/schemas.js +998 -0
  703. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/api.js +889 -0
  704. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/checks.js +554 -0
  705. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/config.js +6 -0
  706. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/core.js +57 -0
  707. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/doc.js +35 -0
  708. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/errors.js +191 -0
  709. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/function.js +75 -0
  710. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/index.js +15 -0
  711. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/json-schema.js +1 -0
  712. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/parse.js +57 -0
  713. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/regexes.js +95 -0
  714. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/registries.js +42 -0
  715. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/schemas.js +1688 -0
  716. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/standard-schema.js +1 -0
  717. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/to-json-schema.js +828 -0
  718. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/util.js +491 -0
  719. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/versions.js +5 -0
  720. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/core/zsf.js +171 -0
  721. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/index.js +3 -0
  722. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ar.js +116 -0
  723. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/az.js +115 -0
  724. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/be.js +164 -0
  725. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ca.js +118 -0
  726. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/cs.js +135 -0
  727. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/de.js +116 -0
  728. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/en.js +117 -0
  729. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/es.js +117 -0
  730. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/fa.js +122 -0
  731. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/fi.js +122 -0
  732. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/fr-CA.js +117 -0
  733. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/fr.js +116 -0
  734. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/he.js +117 -0
  735. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/hu.js +117 -0
  736. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/id.js +116 -0
  737. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/index.js +38 -0
  738. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/it.js +117 -0
  739. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ja.js +115 -0
  740. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/kh.js +117 -0
  741. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ko.js +121 -0
  742. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/mk.js +118 -0
  743. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ms.js +116 -0
  744. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/nl.js +117 -0
  745. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/no.js +116 -0
  746. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ota.js +117 -0
  747. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/pl.js +117 -0
  748. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ps.js +122 -0
  749. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/pt.js +116 -0
  750. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ru.js +164 -0
  751. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/sl.js +117 -0
  752. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/sv.js +118 -0
  753. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ta.js +117 -0
  754. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/th.js +117 -0
  755. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/tr.js +115 -0
  756. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ua.js +117 -0
  757. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/ur.js +117 -0
  758. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/vi.js +116 -0
  759. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/zh-CN.js +116 -0
  760. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/locales/zh-TW.js +117 -0
  761. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/mini/checks.js +1 -0
  762. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/mini/coerce.js +17 -0
  763. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/mini/external.js +13 -0
  764. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/mini/index.js +3 -0
  765. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/mini/iso.js +30 -0
  766. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/mini/parse.js +1 -0
  767. package/dist/node_modules/@langchain/core/node_modules/zod/dist/esm/v4/mini/schemas.js +725 -0
  768. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/index.d.ts +3 -0
  769. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/package.json +3 -0
  770. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/ZodError.d.ts +164 -0
  771. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/benchmarks/index.d.ts +1 -0
  772. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/errors.d.ts +5 -0
  773. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/external.d.ts +6 -0
  774. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/helpers/errorUtil.d.ts +9 -0
  775. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/helpers/parseUtil.d.ts +78 -0
  776. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/helpers/partialUtil.d.ts +8 -0
  777. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/helpers/util.d.ts +85 -0
  778. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/index.d.ts +4 -0
  779. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/locales/en.d.ts +3 -0
  780. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/tests/Mocker.d.ts +17 -0
  781. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v3/types.d.ts +1031 -0
  782. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/checks.d.ts +1 -0
  783. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/coerce.d.ts +17 -0
  784. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/compat.d.ts +48 -0
  785. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/errors.d.ts +30 -0
  786. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/external.d.ts +13 -0
  787. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/index.d.ts +4 -0
  788. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/iso.d.ts +22 -0
  789. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/parse.d.ts +23 -0
  790. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/classic/schemas.d.ts +624 -0
  791. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/api.d.ts +281 -0
  792. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/checks.d.ts +277 -0
  793. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/config.d.ts +9 -0
  794. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/core.d.ts +47 -0
  795. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/doc.d.ts +14 -0
  796. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/errors.d.ts +204 -0
  797. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/function.d.ts +52 -0
  798. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/index.d.ts +15 -0
  799. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/json-schema.d.ts +87 -0
  800. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/parse.d.ts +25 -0
  801. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/regexes.d.ts +62 -0
  802. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/registries.d.ts +39 -0
  803. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/schemas.d.ts +1005 -0
  804. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/standard-schema.d.ts +55 -0
  805. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/to-json-schema.d.ts +84 -0
  806. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/util.d.ts +183 -0
  807. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/versions.d.ts +5 -0
  808. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/core/zsf.d.ts +91 -0
  809. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/index.d.ts +3 -0
  810. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ar.d.ts +4 -0
  811. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/az.d.ts +4 -0
  812. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/be.d.ts +4 -0
  813. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ca.d.ts +4 -0
  814. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/cs.d.ts +4 -0
  815. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/de.d.ts +4 -0
  816. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/en.d.ts +5 -0
  817. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/es.d.ts +4 -0
  818. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/fa.d.ts +4 -0
  819. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/fi.d.ts +4 -0
  820. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/fr-CA.d.ts +4 -0
  821. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/fr.d.ts +4 -0
  822. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/he.d.ts +4 -0
  823. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/hu.d.ts +4 -0
  824. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/id.d.ts +4 -0
  825. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/index.d.ts +38 -0
  826. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/it.d.ts +4 -0
  827. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ja.d.ts +4 -0
  828. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/kh.d.ts +4 -0
  829. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ko.d.ts +4 -0
  830. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/mk.d.ts +4 -0
  831. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ms.d.ts +4 -0
  832. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/nl.d.ts +4 -0
  833. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/no.d.ts +4 -0
  834. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ota.d.ts +4 -0
  835. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/pl.d.ts +4 -0
  836. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ps.d.ts +4 -0
  837. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/pt.d.ts +4 -0
  838. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ru.d.ts +4 -0
  839. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/sl.d.ts +4 -0
  840. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/sv.d.ts +4 -0
  841. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ta.d.ts +4 -0
  842. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/th.d.ts +4 -0
  843. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/tr.d.ts +5 -0
  844. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ua.d.ts +4 -0
  845. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/ur.d.ts +4 -0
  846. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/vi.d.ts +4 -0
  847. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/zh-CN.d.ts +4 -0
  848. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/locales/zh-TW.d.ts +4 -0
  849. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/mini/checks.d.ts +1 -0
  850. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/mini/coerce.d.ts +7 -0
  851. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/mini/external.d.ts +11 -0
  852. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/mini/index.d.ts +3 -0
  853. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/mini/iso.d.ts +22 -0
  854. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/mini/parse.d.ts +1 -0
  855. package/dist/node_modules/@langchain/core/node_modules/zod/dist/types/v4/mini/schemas.d.ts +351 -0
  856. package/dist/node_modules/@langchain/core/node_modules/zod/package.json +105 -107
  857. package/dist/node_modules/@langchain/core/node_modules/zod/v3/index.d.ts +3 -0
  858. package/dist/node_modules/@langchain/core/node_modules/zod/v3/index.js +1 -0
  859. package/dist/node_modules/@langchain/core/node_modules/zod/v4/core/index.d.ts +1 -0
  860. package/dist/node_modules/@langchain/core/node_modules/zod/v4/core/index.js +1 -0
  861. package/dist/node_modules/@langchain/core/node_modules/zod/v4/index.d.ts +3 -0
  862. package/dist/node_modules/@langchain/core/node_modules/zod/v4/index.js +1 -0
  863. package/dist/node_modules/@langchain/core/node_modules/zod/v4/locales/en.d.ts +2 -0
  864. package/dist/node_modules/@langchain/core/node_modules/zod/v4/locales/en.js +2 -0
  865. package/dist/node_modules/@langchain/core/node_modules/zod/v4/locales/index.d.ts +1 -0
  866. package/dist/node_modules/@langchain/core/node_modules/zod/v4/locales/index.js +1 -0
  867. package/dist/node_modules/@langchain/core/node_modules/zod/v4-mini/index.d.ts +1 -0
  868. package/dist/node_modules/@langchain/core/node_modules/zod/v4-mini/index.js +1 -0
  869. package/dist/node_modules/@langchain/core/package.json +1 -1
  870. package/dist/node_modules/@langchain/core/utils/hash/insecure.cjs +1 -0
  871. package/dist/node_modules/@langchain/core/utils/hash/insecure.d.cts +1 -0
  872. package/dist/node_modules/@langchain/core/utils/hash/insecure.d.ts +1 -0
  873. package/dist/node_modules/@langchain/core/utils/hash/insecure.js +1 -0
  874. package/dist/node_modules/@langchain/core/utils/hash/sha256.cjs +1 -0
  875. package/dist/node_modules/@langchain/core/utils/hash/sha256.d.cts +1 -0
  876. package/dist/node_modules/@langchain/core/utils/hash/sha256.d.ts +1 -0
  877. package/dist/node_modules/@langchain/core/utils/hash/sha256.js +1 -0
  878. package/dist/node_modules/@langchain/deepseek/dist/chat_models.cjs +3 -3
  879. package/dist/node_modules/@langchain/deepseek/dist/chat_models.d.ts +7 -7
  880. package/dist/node_modules/@langchain/deepseek/dist/chat_models.js +3 -3
  881. package/dist/node_modules/@langchain/deepseek/index.cjs +13 -22
  882. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/chat_models.cjs +650 -0
  883. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/chat_models.d.ts +456 -0
  884. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/chat_models.js +646 -0
  885. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/embeddings.cjs +131 -0
  886. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/embeddings.d.ts +22 -0
  887. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/embeddings.js +127 -0
  888. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/llms.cjs +169 -0
  889. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/llms.d.ts +27 -0
  890. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/azure/llms.js +165 -0
  891. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/chat_models.cjs +2725 -0
  892. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/chat_models.d.ts +868 -0
  893. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/chat_models.js +2686 -0
  894. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/embeddings.cjs +195 -0
  895. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/embeddings.d.ts +108 -0
  896. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/embeddings.js +191 -0
  897. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/index.cjs +32 -0
  898. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/index.d.ts +12 -0
  899. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/index.js +12 -0
  900. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/llms.cjs +470 -0
  901. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/llms.d.ts +117 -0
  902. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/llms.js +466 -0
  903. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/tools/dalle.cjs +196 -0
  904. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/tools/dalle.d.ts +116 -0
  905. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/tools/dalle.js +192 -0
  906. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/tools/index.cjs +17 -0
  907. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/tools/index.d.ts +1 -0
  908. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/tools/index.js +1 -0
  909. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/types.cjs +2 -0
  910. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/types.d.ts +245 -0
  911. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/types.js +1 -0
  912. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/azure.cjs +50 -0
  913. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/azure.d.ts +34 -0
  914. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/azure.js +47 -0
  915. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/errors.cjs +10 -0
  916. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/errors.d.ts +2 -0
  917. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/errors.js +7 -0
  918. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/headers.cjs +39 -0
  919. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/headers.d.ts +8 -0
  920. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/headers.js +35 -0
  921. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/openai-format-fndef.cjs +80 -0
  922. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/openai-format-fndef.d.ts +44 -0
  923. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/openai-format-fndef.js +77 -0
  924. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/openai.cjs +78 -0
  925. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/openai.d.ts +9 -0
  926. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/openai.js +71 -0
  927. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/prompts.cjs +41 -0
  928. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/prompts.d.ts +36 -0
  929. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/prompts.js +38 -0
  930. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/tools.cjs +31 -0
  931. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/tools.d.ts +20 -0
  932. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/dist/utils/tools.js +28 -0
  933. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/index.cjs +1 -0
  934. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/index.d.cts +1 -0
  935. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/index.d.ts +1 -0
  936. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/index.js +1 -0
  937. package/dist/node_modules/@langchain/deepseek/node_modules/@langchain/openai/package.json +105 -0
  938. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/partial-json-parser/parser.d.mts +7 -0
  939. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/partial-json-parser/parser.d.ts +7 -0
  940. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/partial-json-parser/parser.js +246 -0
  941. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/Options.d.mts +32 -0
  942. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/Options.d.ts +32 -0
  943. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/Options.js +42 -0
  944. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/Refs.d.mts +21 -0
  945. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/Refs.d.ts +21 -0
  946. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/Refs.js +28 -0
  947. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/errorMessages.d.mts +12 -0
  948. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/errorMessages.d.ts +12 -0
  949. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/errorMessages.js +19 -0
  950. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/index.d.mts +38 -0
  951. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/index.d.ts +38 -0
  952. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/index.js +41 -0
  953. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parseDef.d.mts +38 -0
  954. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parseDef.d.ts +38 -0
  955. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parseDef.js +186 -0
  956. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.mts +3 -0
  957. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.d.ts +3 -0
  958. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/any.js +7 -0
  959. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.mts +13 -0
  960. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.d.ts +13 -0
  961. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/array.js +29 -0
  962. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.mts +15 -0
  963. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.d.ts +15 -0
  964. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/bigint.js +53 -0
  965. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.mts +5 -0
  966. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.d.ts +5 -0
  967. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/boolean.js +9 -0
  968. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts +4 -0
  969. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts +4 -0
  970. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.js +8 -0
  971. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts +4 -0
  972. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts +4 -0
  973. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.js +9 -0
  974. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.mts +16 -0
  975. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.d.ts +16 -0
  976. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/date.js +50 -0
  977. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.mts +7 -0
  978. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.d.ts +7 -0
  979. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/default.js +11 -0
  980. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.mts +5 -0
  981. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.d.ts +5 -0
  982. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/effects.js +8 -0
  983. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.mts +7 -0
  984. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.d.ts +7 -0
  985. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/enum.js +10 -0
  986. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.mts +9 -0
  987. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.d.ts +9 -0
  988. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/intersection.js +53 -0
  989. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.mts +10 -0
  990. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.d.ts +10 -0
  991. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/literal.js +25 -0
  992. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.mts +16 -0
  993. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.d.ts +16 -0
  994. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/map.js +29 -0
  995. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.mts +7 -0
  996. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.d.ts +7 -0
  997. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/nativeEnum.js +20 -0
  998. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.mts +5 -0
  999. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.d.ts +5 -0
  1000. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/never.js +9 -0
  1001. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.mts +6 -0
  1002. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.d.ts +6 -0
  1003. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/null.js +14 -0
  1004. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.mts +11 -0
  1005. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.d.ts +11 -0
  1006. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/nullable.js +34 -0
  1007. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.mts +14 -0
  1008. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.d.ts +14 -0
  1009. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/number.js +56 -0
  1010. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.mts +11 -0
  1011. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts +11 -0
  1012. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js +57 -0
  1013. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.mts +5 -0
  1014. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.d.ts +5 -0
  1015. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/optional.js +25 -0
  1016. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.mts +6 -0
  1017. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.d.ts +6 -0
  1018. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/pipeline.js +25 -0
  1019. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.mts +5 -0
  1020. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.d.ts +5 -0
  1021. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/promise.js +8 -0
  1022. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts +4 -0
  1023. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts +4 -0
  1024. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.js +9 -0
  1025. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.mts +14 -0
  1026. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.d.ts +14 -0
  1027. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/record.js +49 -0
  1028. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.mts +14 -0
  1029. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.d.ts +14 -0
  1030. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/set.js +24 -0
  1031. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.mts +70 -0
  1032. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.d.ts +70 -0
  1033. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/string.js +316 -0
  1034. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.mts +14 -0
  1035. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.d.ts +14 -0
  1036. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/tuple.js +36 -0
  1037. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.mts +5 -0
  1038. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.d.ts +5 -0
  1039. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/undefined.js +9 -0
  1040. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.mts +24 -0
  1041. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.d.ts +24 -0
  1042. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/union.js +77 -0
  1043. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.mts +3 -0
  1044. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.d.ts +3 -0
  1045. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/parsers/unknown.js +7 -0
  1046. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/util.d.mts +4 -0
  1047. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/util.d.ts +4 -0
  1048. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/util.js +16 -0
  1049. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.mts +11 -0
  1050. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.d.ts +11 -0
  1051. package/dist/node_modules/@langchain/deepseek/node_modules/openai/_vendor/zod-to-json-schema/zodToJsonSchema.js +82 -0
  1052. package/dist/node_modules/@langchain/deepseek/node_modules/openai/api-promise.d.mts +2 -0
  1053. package/dist/node_modules/@langchain/deepseek/node_modules/openai/api-promise.d.ts +2 -0
  1054. package/dist/node_modules/@langchain/deepseek/node_modules/openai/api-promise.js +6 -0
  1055. package/dist/node_modules/@langchain/deepseek/node_modules/openai/azure.d.mts +66 -0
  1056. package/dist/node_modules/@langchain/deepseek/node_modules/openai/azure.d.ts +66 -0
  1057. package/dist/node_modules/@langchain/deepseek/node_modules/openai/azure.js +131 -0
  1058. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/index.d.mts +2 -0
  1059. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/index.d.ts +2 -0
  1060. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/index.js +6 -0
  1061. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/internal-base.d.mts +45 -0
  1062. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/internal-base.d.ts +45 -0
  1063. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/internal-base.js +55 -0
  1064. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/websocket.d.mts +30 -0
  1065. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/websocket.d.ts +30 -0
  1066. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/websocket.js +103 -0
  1067. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/ws.d.mts +22 -0
  1068. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/ws.d.ts +22 -0
  1069. package/dist/node_modules/@langchain/deepseek/node_modules/openai/beta/realtime/ws.js +85 -0
  1070. package/dist/node_modules/@langchain/deepseek/node_modules/openai/bin/cli +52 -0
  1071. package/dist/node_modules/@langchain/deepseek/node_modules/openai/bin/migration-config.json +939 -0
  1072. package/dist/node_modules/@langchain/deepseek/node_modules/openai/client.d.mts +274 -0
  1073. package/dist/node_modules/@langchain/deepseek/node_modules/openai/client.d.ts +274 -0
  1074. package/dist/node_modules/@langchain/deepseek/node_modules/openai/client.js +528 -0
  1075. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/api-promise.d.mts +49 -0
  1076. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/api-promise.d.ts +49 -0
  1077. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/api-promise.js +76 -0
  1078. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/error.d.mts +59 -0
  1079. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/error.d.ts +59 -0
  1080. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/error.js +136 -0
  1081. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/pagination.d.mts +71 -0
  1082. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/pagination.d.ts +71 -0
  1083. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/pagination.js +125 -0
  1084. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/resource.d.mts +6 -0
  1085. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/resource.d.ts +6 -0
  1086. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/resource.js +11 -0
  1087. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/streaming.d.mts +31 -0
  1088. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/streaming.d.ts +31 -0
  1089. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/streaming.js +289 -0
  1090. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/uploads.d.mts +3 -0
  1091. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/uploads.d.ts +3 -0
  1092. package/dist/node_modules/@langchain/deepseek/node_modules/openai/core/uploads.js +6 -0
  1093. package/dist/node_modules/@langchain/deepseek/node_modules/openai/error.d.mts +2 -0
  1094. package/dist/node_modules/@langchain/deepseek/node_modules/openai/error.d.ts +2 -0
  1095. package/dist/node_modules/@langchain/deepseek/node_modules/openai/error.js +6 -0
  1096. package/dist/node_modules/@langchain/deepseek/node_modules/openai/helpers/audio.d.mts +9 -0
  1097. package/dist/node_modules/@langchain/deepseek/node_modules/openai/helpers/audio.d.ts +9 -0
  1098. package/dist/node_modules/@langchain/deepseek/node_modules/openai/helpers/audio.js +122 -0
  1099. package/dist/node_modules/@langchain/deepseek/node_modules/openai/helpers/zod.d.mts +70 -0
  1100. package/dist/node_modules/@langchain/deepseek/node_modules/openai/helpers/zod.d.ts +70 -0
  1101. package/dist/node_modules/@langchain/deepseek/node_modules/openai/helpers/zod.js +108 -0
  1102. package/dist/node_modules/@langchain/deepseek/node_modules/openai/index.d.mts +8 -0
  1103. package/dist/node_modules/@langchain/deepseek/node_modules/openai/index.d.ts +8 -0
  1104. package/dist/node_modules/@langchain/deepseek/node_modules/openai/index.js +35 -0
  1105. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/builtin-types.d.mts +73 -0
  1106. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/builtin-types.d.ts +73 -0
  1107. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/builtin-types.js +4 -0
  1108. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/decoders/line.d.mts +17 -0
  1109. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/decoders/line.d.ts +17 -0
  1110. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/decoders/line.js +113 -0
  1111. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/detect-platform.d.mts +15 -0
  1112. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/detect-platform.d.ts +15 -0
  1113. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/detect-platform.js +162 -0
  1114. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/errors.d.mts +3 -0
  1115. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/errors.d.ts +3 -0
  1116. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/errors.js +41 -0
  1117. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/headers.d.mts +20 -0
  1118. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/headers.d.ts +20 -0
  1119. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/headers.js +79 -0
  1120. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/parse.d.mts +17 -0
  1121. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/parse.d.ts +17 -0
  1122. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/parse.js +55 -0
  1123. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/formats.d.mts +7 -0
  1124. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/formats.d.ts +7 -0
  1125. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/formats.js +13 -0
  1126. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/index.d.mts +10 -0
  1127. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/index.d.ts +10 -0
  1128. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/index.js +14 -0
  1129. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/stringify.d.mts +3 -0
  1130. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/stringify.d.ts +3 -0
  1131. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/stringify.js +277 -0
  1132. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/types.d.mts +57 -0
  1133. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/types.d.ts +57 -0
  1134. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/types.js +3 -0
  1135. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/utils.d.mts +15 -0
  1136. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/utils.d.ts +15 -0
  1137. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/qs/utils.js +230 -0
  1138. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/request-options.d.mts +36 -0
  1139. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/request-options.d.ts +36 -0
  1140. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/request-options.js +14 -0
  1141. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/shim-types.d.mts +17 -0
  1142. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/shim-types.d.ts +17 -0
  1143. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/shim-types.js +4 -0
  1144. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/shims.d.mts +20 -0
  1145. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/shims.d.ts +20 -0
  1146. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/shims.js +92 -0
  1147. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/stream-utils.d.mts +8 -0
  1148. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/stream-utils.d.ts +8 -0
  1149. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/stream-utils.js +38 -0
  1150. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/to-file.d.mts +45 -0
  1151. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/to-file.d.ts +45 -0
  1152. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/to-file.js +91 -0
  1153. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/tslib.js +81 -0
  1154. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/types.d.mts +69 -0
  1155. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/types.d.ts +69 -0
  1156. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/types.js +4 -0
  1157. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/uploads.d.mts +42 -0
  1158. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/uploads.d.ts +42 -0
  1159. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/uploads.js +141 -0
  1160. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/base64.d.mts +9 -0
  1161. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/base64.d.ts +9 -0
  1162. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/base64.js +61 -0
  1163. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/bytes.d.mts +4 -0
  1164. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/bytes.d.ts +4 -0
  1165. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/bytes.js +31 -0
  1166. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/env.d.mts +9 -0
  1167. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/env.d.ts +9 -0
  1168. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/env.js +22 -0
  1169. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/log.d.mts +37 -0
  1170. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/log.d.ts +37 -0
  1171. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/log.js +85 -0
  1172. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/path.d.mts +15 -0
  1173. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/path.d.ts +15 -0
  1174. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/path.js +58 -0
  1175. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/sleep.d.mts +2 -0
  1176. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/sleep.d.ts +2 -0
  1177. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/sleep.js +7 -0
  1178. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/uuid.d.mts +5 -0
  1179. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/uuid.d.ts +5 -0
  1180. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/uuid.js +19 -0
  1181. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/values.d.mts +18 -0
  1182. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/values.d.ts +18 -0
  1183. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils/values.js +112 -0
  1184. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils.d.mts +7 -0
  1185. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils.d.ts +7 -0
  1186. package/dist/node_modules/@langchain/deepseek/node_modules/openai/internal/utils.js +11 -0
  1187. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/AbstractChatCompletionRunner.d.mts +60 -0
  1188. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/AbstractChatCompletionRunner.d.ts +60 -0
  1189. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/AbstractChatCompletionRunner.js +291 -0
  1190. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/AssistantStream.d.mts +60 -0
  1191. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/AssistantStream.d.ts +60 -0
  1192. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/AssistantStream.js +553 -0
  1193. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionRunner.d.mts +16 -0
  1194. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionRunner.d.ts +16 -0
  1195. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionRunner.js +24 -0
  1196. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionStream.d.mts +208 -0
  1197. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionStream.d.ts +208 -0
  1198. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionStream.js +493 -0
  1199. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionStreamingRunner.d.mts +19 -0
  1200. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts +19 -0
  1201. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ChatCompletionStreamingRunner.js +24 -0
  1202. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/EventEmitter.d.mts +45 -0
  1203. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/EventEmitter.d.ts +45 -0
  1204. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/EventEmitter.js +79 -0
  1205. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/EventStream.d.mts +62 -0
  1206. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/EventStream.d.ts +62 -0
  1207. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/EventStream.js +190 -0
  1208. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ResponsesParser.d.mts +36 -0
  1209. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ResponsesParser.d.ts +36 -0
  1210. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/ResponsesParser.js +170 -0
  1211. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/RunnableFunction.d.mts +83 -0
  1212. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/RunnableFunction.d.ts +83 -0
  1213. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/RunnableFunction.js +19 -0
  1214. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/Util.d.mts +5 -0
  1215. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/Util.d.ts +5 -0
  1216. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/Util.js +26 -0
  1217. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/chatCompletionUtils.d.mts +5 -0
  1218. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/chatCompletionUtils.d.ts +5 -0
  1219. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/chatCompletionUtils.js +16 -0
  1220. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/jsonschema.d.mts +106 -0
  1221. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/jsonschema.d.ts +106 -0
  1222. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/jsonschema.js +11 -0
  1223. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/parser.d.mts +44 -0
  1224. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/parser.d.ts +44 -0
  1225. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/parser.js +159 -0
  1226. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/responses/EventTypes.d.mts +9 -0
  1227. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/responses/EventTypes.d.ts +9 -0
  1228. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/responses/EventTypes.js +3 -0
  1229. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/responses/ResponseStream.d.mts +59 -0
  1230. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/responses/ResponseStream.d.ts +59 -0
  1231. package/dist/node_modules/@langchain/deepseek/node_modules/openai/lib/responses/ResponseStream.js +240 -0
  1232. package/dist/node_modules/@langchain/deepseek/node_modules/openai/package.json +224 -0
  1233. package/dist/node_modules/@langchain/deepseek/node_modules/openai/pagination.d.mts +2 -0
  1234. package/dist/node_modules/@langchain/deepseek/node_modules/openai/pagination.d.ts +2 -0
  1235. package/dist/node_modules/@langchain/deepseek/node_modules/openai/pagination.js +6 -0
  1236. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resource.d.mts +2 -0
  1237. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resource.d.ts +2 -0
  1238. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resource.js +6 -0
  1239. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/audio.d.mts +26 -0
  1240. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/audio.d.ts +26 -0
  1241. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/audio.js +25 -0
  1242. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/index.d.mts +5 -0
  1243. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/index.d.ts +5 -0
  1244. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/index.js +13 -0
  1245. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/speech.d.mts +64 -0
  1246. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/speech.d.ts +64 -0
  1247. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/speech.js +33 -0
  1248. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/transcriptions.d.mts +485 -0
  1249. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/transcriptions.d.ts +485 -0
  1250. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/transcriptions.js +18 -0
  1251. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/translations.d.mts +81 -0
  1252. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/translations.d.ts +81 -0
  1253. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio/translations.js +13 -0
  1254. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio.d.mts +2 -0
  1255. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio.d.ts +2 -0
  1256. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/audio.js +6 -0
  1257. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/batches.d.mts +193 -0
  1258. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/batches.d.ts +193 -0
  1259. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/batches.js +37 -0
  1260. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/assistants.d.mts +1234 -0
  1261. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/assistants.d.ts +1234 -0
  1262. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/assistants.js +95 -0
  1263. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/beta.d.mts +18 -0
  1264. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/beta.d.ts +18 -0
  1265. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/beta.js +25 -0
  1266. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/index.d.mts +5 -0
  1267. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/index.d.ts +5 -0
  1268. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/index.js +13 -0
  1269. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/index.d.mts +4 -0
  1270. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/index.d.ts +4 -0
  1271. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/index.js +11 -0
  1272. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/realtime.d.mts +2245 -0
  1273. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/realtime.d.ts +2245 -0
  1274. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/realtime.js +21 -0
  1275. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/sessions.d.mts +746 -0
  1276. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/sessions.d.ts +746 -0
  1277. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/sessions.js +32 -0
  1278. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts +299 -0
  1279. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/transcription-sessions.d.ts +299 -0
  1280. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime/transcription-sessions.js +32 -0
  1281. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime.d.mts +2 -0
  1282. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime.d.ts +2 -0
  1283. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/realtime.js +6 -0
  1284. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/index.d.mts +4 -0
  1285. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/index.d.ts +4 -0
  1286. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/index.js +11 -0
  1287. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/messages.d.mts +594 -0
  1288. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/messages.d.ts +594 -0
  1289. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/messages.js +76 -0
  1290. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/index.d.mts +3 -0
  1291. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/index.d.ts +3 -0
  1292. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/index.js +9 -0
  1293. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/runs.d.mts +734 -0
  1294. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/runs.d.ts +734 -0
  1295. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/runs.js +182 -0
  1296. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/steps.d.mts +615 -0
  1297. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/steps.d.ts +615 -0
  1298. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs/steps.js +41 -0
  1299. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs.d.mts +2 -0
  1300. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs.d.ts +2 -0
  1301. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/runs.js +6 -0
  1302. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/threads.d.mts +1044 -0
  1303. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/threads.d.ts +1044 -0
  1304. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads/threads.js +96 -0
  1305. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads.d.mts +2 -0
  1306. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads.d.ts +2 -0
  1307. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta/threads.js +6 -0
  1308. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta.d.mts +2 -0
  1309. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta.d.ts +2 -0
  1310. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/beta.js +6 -0
  1311. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/chat.d.mts +13 -0
  1312. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/chat.d.ts +13 -0
  1313. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/chat.js +17 -0
  1314. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/completions.d.mts +1412 -0
  1315. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/completions.d.ts +1412 -0
  1316. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/completions.js +115 -0
  1317. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/index.d.mts +4 -0
  1318. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/index.d.ts +4 -0
  1319. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/index.js +11 -0
  1320. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/messages.d.mts +34 -0
  1321. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/messages.d.ts +34 -0
  1322. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions/messages.js +28 -0
  1323. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions.d.mts +2 -0
  1324. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions.d.ts +2 -0
  1325. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/completions.js +6 -0
  1326. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/index.d.mts +3 -0
  1327. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/index.d.ts +3 -0
  1328. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat/index.js +9 -0
  1329. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat.d.mts +2 -0
  1330. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat.d.ts +2 -0
  1331. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/chat.js +6 -0
  1332. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/completions.d.mts +329 -0
  1333. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/completions.d.ts +329 -0
  1334. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/completions.js +12 -0
  1335. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/containers.d.mts +200 -0
  1336. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/containers.d.ts +200 -0
  1337. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/containers.js +47 -0
  1338. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/content.d.mts +16 -0
  1339. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/content.d.ts +16 -0
  1340. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/content.js +22 -0
  1341. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/files.d.mts +148 -0
  1342. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/files.d.ts +148 -0
  1343. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/files.js +56 -0
  1344. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/index.d.mts +3 -0
  1345. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/index.d.ts +3 -0
  1346. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files/index.js +9 -0
  1347. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files.d.mts +2 -0
  1348. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files.d.ts +2 -0
  1349. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/files.js +6 -0
  1350. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/index.d.mts +3 -0
  1351. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/index.d.ts +3 -0
  1352. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers/index.js +9 -0
  1353. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers.d.mts +2 -0
  1354. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers.d.ts +2 -0
  1355. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/containers.js +6 -0
  1356. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/embeddings.d.mts +113 -0
  1357. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/embeddings.d.ts +113 -0
  1358. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/embeddings.js +56 -0
  1359. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/evals.d.mts +717 -0
  1360. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/evals.d.ts +717 -0
  1361. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/evals.js +54 -0
  1362. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/index.d.mts +3 -0
  1363. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/index.d.ts +3 -0
  1364. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/index.js +9 -0
  1365. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/index.d.mts +3 -0
  1366. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/index.d.ts +3 -0
  1367. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/index.js +9 -0
  1368. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/output-items.d.mts +330 -0
  1369. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/output-items.d.ts +330 -0
  1370. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/output-items.js +25 -0
  1371. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/runs.d.mts +2119 -0
  1372. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/runs.d.ts +2119 -0
  1373. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs/runs.js +57 -0
  1374. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs.d.mts +2 -0
  1375. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs.d.ts +2 -0
  1376. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals/runs.js +6 -0
  1377. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals.d.mts +2 -0
  1378. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals.d.ts +2 -0
  1379. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/evals.js +6 -0
  1380. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/files.d.mts +141 -0
  1381. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/files.d.ts +141 -0
  1382. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/files.js +87 -0
  1383. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts +10 -0
  1384. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/alpha.d.ts +10 -0
  1385. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/alpha.js +17 -0
  1386. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts +119 -0
  1387. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts +119 -0
  1388. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/graders.js +49 -0
  1389. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/index.d.mts +3 -0
  1390. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/index.d.ts +3 -0
  1391. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha/index.js +9 -0
  1392. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha.d.mts +2 -0
  1393. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha.d.ts +2 -0
  1394. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/alpha.js +6 -0
  1395. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts +10 -0
  1396. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts +10 -0
  1397. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js +17 -0
  1398. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts +3 -0
  1399. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts +3 -0
  1400. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/index.js +9 -0
  1401. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts +160 -0
  1402. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts +160 -0
  1403. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js +73 -0
  1404. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints.d.mts +2 -0
  1405. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints.d.ts +2 -0
  1406. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/checkpoints.js +6 -0
  1407. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts +22 -0
  1408. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts +22 -0
  1409. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/fine-tuning.js +29 -0
  1410. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/index.d.mts +6 -0
  1411. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/index.d.ts +6 -0
  1412. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/index.js +15 -0
  1413. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts +74 -0
  1414. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts +74 -0
  1415. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js +27 -0
  1416. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/index.d.mts +3 -0
  1417. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/index.d.ts +3 -0
  1418. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/index.js +9 -0
  1419. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts +528 -0
  1420. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts +528 -0
  1421. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs/jobs.js +123 -0
  1422. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs.d.mts +2 -0
  1423. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs.d.ts +2 -0
  1424. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/jobs.js +6 -0
  1425. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/methods.d.mts +120 -0
  1426. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/methods.d.ts +120 -0
  1427. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning/methods.js +9 -0
  1428. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning.d.mts +2 -0
  1429. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning.d.ts +2 -0
  1430. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/fine-tuning.js +6 -0
  1431. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/grader-models.d.mts +238 -0
  1432. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/grader-models.d.ts +238 -0
  1433. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/grader-models.js +9 -0
  1434. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/graders.d.mts +10 -0
  1435. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/graders.d.ts +10 -0
  1436. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/graders.js +17 -0
  1437. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/index.d.mts +3 -0
  1438. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/index.d.ts +3 -0
  1439. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders/index.js +9 -0
  1440. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders.d.mts +2 -0
  1441. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders.d.ts +2 -0
  1442. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/graders.js +6 -0
  1443. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/images.d.mts +337 -0
  1444. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/images.d.ts +337 -0
  1445. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/images.js +52 -0
  1446. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/index.d.mts +20 -0
  1447. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/index.d.ts +20 -0
  1448. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/index.js +42 -0
  1449. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/models.d.mts +52 -0
  1450. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/models.d.ts +52 -0
  1451. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/models.js +32 -0
  1452. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/moderations.d.mts +295 -0
  1453. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/moderations.d.ts +295 -0
  1454. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/moderations.js +16 -0
  1455. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/index.d.mts +3 -0
  1456. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/index.d.ts +3 -0
  1457. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/index.js +9 -0
  1458. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/input-items.d.mts +69 -0
  1459. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/input-items.d.ts +69 -0
  1460. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/input-items.js +27 -0
  1461. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/responses.d.mts +4024 -0
  1462. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/responses.d.ts +4024 -0
  1463. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses/responses.js +83 -0
  1464. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses.d.mts +2 -0
  1465. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses.d.ts +2 -0
  1466. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/responses.js +6 -0
  1467. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/shared.d.mts +210 -0
  1468. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/shared.d.ts +210 -0
  1469. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/shared.js +4 -0
  1470. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/index.d.mts +3 -0
  1471. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/index.d.ts +3 -0
  1472. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/index.js +9 -0
  1473. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/parts.d.mts +51 -0
  1474. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/parts.d.ts +51 -0
  1475. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/parts.js +27 -0
  1476. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/uploads.d.mts +134 -0
  1477. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/uploads.d.ts +134 -0
  1478. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads/uploads.js +66 -0
  1479. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads.d.mts +2 -0
  1480. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads.d.ts +2 -0
  1481. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/uploads.js +6 -0
  1482. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/file-batches.d.mts +172 -0
  1483. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/file-batches.d.ts +172 -0
  1484. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/file-batches.js +133 -0
  1485. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/files.d.mts +231 -0
  1486. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/files.d.ts +231 -0
  1487. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/files.js +142 -0
  1488. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/index.d.mts +4 -0
  1489. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/index.d.ts +4 -0
  1490. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/index.js +11 -0
  1491. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/vector-stores.d.mts +370 -0
  1492. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/vector-stores.d.ts +370 -0
  1493. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores/vector-stores.js +84 -0
  1494. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores.d.mts +2 -0
  1495. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores.d.ts +2 -0
  1496. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/vector-stores.js +6 -0
  1497. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/webhooks.d.mts +532 -0
  1498. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/webhooks.d.ts +532 -0
  1499. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources/webhooks.js +101 -0
  1500. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources.d.mts +2 -0
  1501. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources.d.ts +2 -0
  1502. package/dist/node_modules/@langchain/deepseek/node_modules/openai/resources.js +5 -0
  1503. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/partial-json-parser/parser.ts +247 -0
  1504. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/Options.ts +80 -0
  1505. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/Refs.ts +47 -0
  1506. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/errorMessages.ts +31 -0
  1507. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/index.ts +37 -0
  1508. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parseDef.ts +258 -0
  1509. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/any.ts +5 -0
  1510. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/array.ts +36 -0
  1511. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/bigint.ts +60 -0
  1512. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/boolean.ts +9 -0
  1513. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/branded.ts +7 -0
  1514. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/catch.ts +7 -0
  1515. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/date.ts +83 -0
  1516. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/default.ts +10 -0
  1517. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/effects.ts +11 -0
  1518. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/enum.ts +13 -0
  1519. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/intersection.ts +64 -0
  1520. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/literal.ts +37 -0
  1521. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/map.ts +42 -0
  1522. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/nativeEnum.ts +27 -0
  1523. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/never.ts +9 -0
  1524. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/null.ts +16 -0
  1525. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/nullable.ts +49 -0
  1526. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/number.ts +62 -0
  1527. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/object.ts +76 -0
  1528. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/optional.ts +25 -0
  1529. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/pipeline.ts +28 -0
  1530. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/promise.ts +7 -0
  1531. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/readonly.ts +7 -0
  1532. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/record.ts +73 -0
  1533. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/set.ts +36 -0
  1534. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/string.ts +400 -0
  1535. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/tuple.ts +54 -0
  1536. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/undefined.ts +9 -0
  1537. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/union.ts +119 -0
  1538. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/parsers/unknown.ts +5 -0
  1539. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/util.ts +11 -0
  1540. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/_vendor/zod-to-json-schema/zodToJsonSchema.ts +120 -0
  1541. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/api-promise.ts +2 -0
  1542. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/azure.ts +198 -0
  1543. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/beta/realtime/index.ts +1 -0
  1544. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/beta/realtime/internal-base.ts +93 -0
  1545. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/beta/realtime/websocket.ts +143 -0
  1546. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/beta/realtime/ws.ts +96 -0
  1547. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/client.ts +1150 -0
  1548. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/core/api-promise.ts +101 -0
  1549. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/core/error.ts +160 -0
  1550. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/core/pagination.ts +204 -0
  1551. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/core/resource.ts +11 -0
  1552. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/core/streaming.ts +338 -0
  1553. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/core/uploads.ts +2 -0
  1554. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/error.ts +2 -0
  1555. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/helpers/audio.ts +146 -0
  1556. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/helpers/zod.ts +154 -0
  1557. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/index.ts +26 -0
  1558. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/builtin-types.ts +93 -0
  1559. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/decoders/line.ts +135 -0
  1560. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/detect-platform.ts +196 -0
  1561. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/errors.ts +33 -0
  1562. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/headers.ts +97 -0
  1563. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/parse.ts +84 -0
  1564. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/qs/formats.ts +10 -0
  1565. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/qs/index.ts +13 -0
  1566. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/qs/stringify.ts +385 -0
  1567. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/qs/types.ts +71 -0
  1568. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/qs/utils.ts +265 -0
  1569. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/request-options.ts +41 -0
  1570. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/shim-types.ts +26 -0
  1571. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/shims.ts +107 -0
  1572. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/stream-utils.ts +32 -0
  1573. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/to-file.ts +154 -0
  1574. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/types.ts +95 -0
  1575. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/uploads.ts +187 -0
  1576. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/base64.ts +64 -0
  1577. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/bytes.ts +32 -0
  1578. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/env.ts +18 -0
  1579. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/log.ts +126 -0
  1580. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/path.ts +63 -0
  1581. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/sleep.ts +3 -0
  1582. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/uuid.ts +17 -0
  1583. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils/values.ts +105 -0
  1584. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/internal/utils.ts +8 -0
  1585. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/.keep +4 -0
  1586. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/AbstractChatCompletionRunner.ts +403 -0
  1587. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/AssistantStream.ts +778 -0
  1588. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/ChatCompletionRunner.ts +54 -0
  1589. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/ChatCompletionStream.ts +871 -0
  1590. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/ChatCompletionStreamingRunner.ts +50 -0
  1591. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/EventEmitter.ts +98 -0
  1592. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/EventStream.ts +239 -0
  1593. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/ResponsesParser.ts +265 -0
  1594. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/RunnableFunction.ts +114 -0
  1595. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/Util.ts +23 -0
  1596. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/chatCompletionUtils.ts +21 -0
  1597. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/jsonschema.ts +148 -0
  1598. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/parser.ts +276 -0
  1599. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/responses/EventTypes.ts +74 -0
  1600. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/lib/responses/ResponseStream.ts +344 -0
  1601. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/pagination.ts +2 -0
  1602. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resource.ts +2 -0
  1603. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/audio/audio.ts +78 -0
  1604. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/audio/index.ts +26 -0
  1605. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/audio/speech.ts +95 -0
  1606. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/audio/transcriptions.ts +617 -0
  1607. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/audio/translations.ts +118 -0
  1608. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/audio.ts +3 -0
  1609. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/batches.ts +260 -0
  1610. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/assistants.ts +1546 -0
  1611. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/beta.ts +193 -0
  1612. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/index.ts +38 -0
  1613. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/realtime/index.ts +9 -0
  1614. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/realtime/realtime.ts +2761 -0
  1615. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/realtime/sessions.ts +907 -0
  1616. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/realtime/transcription-sessions.ts +347 -0
  1617. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/realtime.ts +3 -0
  1618. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads/index.ts +77 -0
  1619. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads/messages.ts +792 -0
  1620. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads/runs/index.ts +48 -0
  1621. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads/runs/runs.ts +1073 -0
  1622. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads/runs/steps.ts +756 -0
  1623. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads/runs.ts +3 -0
  1624. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads/threads.ts +1397 -0
  1625. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta/threads.ts +3 -0
  1626. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/beta.ts +3 -0
  1627. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/chat/chat.ts +96 -0
  1628. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/chat/completions/completions.ts +1764 -0
  1629. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/chat/completions/index.ts +43 -0
  1630. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/chat/completions/messages.ts +50 -0
  1631. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/chat/completions.ts +3 -0
  1632. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/chat/index.ts +42 -0
  1633. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/chat.ts +3 -0
  1634. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/completions.ts +394 -0
  1635. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/containers/containers.ts +284 -0
  1636. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/containers/files/content.ts +29 -0
  1637. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/containers/files/files.ts +228 -0
  1638. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/containers/files/index.ts +14 -0
  1639. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/containers/files.ts +3 -0
  1640. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/containers/index.ts +22 -0
  1641. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/containers.ts +3 -0
  1642. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/embeddings.ts +177 -0
  1643. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/evals/evals.ts +902 -0
  1644. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/evals/index.ts +33 -0
  1645. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/evals/runs/index.ts +27 -0
  1646. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/evals/runs/output-items.ts +413 -0
  1647. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/evals/runs/runs.ts +2543 -0
  1648. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/evals/runs.ts +3 -0
  1649. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/evals.ts +3 -0
  1650. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/files.ts +223 -0
  1651. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/alpha/alpha.ts +27 -0
  1652. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/alpha/graders.ts +171 -0
  1653. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/alpha/index.ts +10 -0
  1654. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/alpha.ts +3 -0
  1655. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/checkpoints/checkpoints.ts +33 -0
  1656. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/checkpoints/index.ts +13 -0
  1657. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/checkpoints/permissions.ts +227 -0
  1658. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/checkpoints.ts +3 -0
  1659. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/fine-tuning.ts +73 -0
  1660. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/index.ts +27 -0
  1661. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/jobs/checkpoints.ts +107 -0
  1662. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/jobs/index.ts +21 -0
  1663. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/jobs/jobs.ts +654 -0
  1664. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/jobs.ts +3 -0
  1665. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning/methods.ts +152 -0
  1666. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/fine-tuning.ts +3 -0
  1667. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/graders/grader-models.ts +297 -0
  1668. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/graders/graders.ts +31 -0
  1669. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/graders/index.ts +12 -0
  1670. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/graders.ts +3 -0
  1671. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/images.ts +418 -0
  1672. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/index.ts +108 -0
  1673. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/models.ts +73 -0
  1674. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/moderations.ts +367 -0
  1675. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/responses/index.ts +4 -0
  1676. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/responses/input-items.ts +92 -0
  1677. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/responses/responses.ts +5069 -0
  1678. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/responses.ts +3 -0
  1679. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/shared.ts +313 -0
  1680. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/uploads/index.ts +4 -0
  1681. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/uploads/parts.ts +66 -0
  1682. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/uploads/uploads.ts +169 -0
  1683. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/uploads.ts +3 -0
  1684. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/vector-stores/file-batches.ts +332 -0
  1685. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/vector-stores/files.ts +394 -0
  1686. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/vector-stores/index.ts +43 -0
  1687. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/vector-stores/vector-stores.ts +553 -0
  1688. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/vector-stores.ts +3 -0
  1689. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources/webhooks.ts +767 -0
  1690. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/resources.ts +1 -0
  1691. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/streaming.ts +2 -0
  1692. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/uploads.ts +2 -0
  1693. package/dist/node_modules/@langchain/deepseek/node_modules/openai/src/version.ts +1 -0
  1694. package/dist/node_modules/@langchain/deepseek/node_modules/openai/streaming.d.mts +2 -0
  1695. package/dist/node_modules/@langchain/deepseek/node_modules/openai/streaming.d.ts +2 -0
  1696. package/dist/node_modules/@langchain/deepseek/node_modules/openai/streaming.js +6 -0
  1697. package/dist/node_modules/@langchain/deepseek/node_modules/openai/uploads.d.mts +2 -0
  1698. package/dist/node_modules/@langchain/deepseek/node_modules/openai/uploads.d.ts +2 -0
  1699. package/dist/node_modules/@langchain/deepseek/node_modules/openai/uploads.js +6 -0
  1700. package/dist/node_modules/@langchain/deepseek/node_modules/openai/version.d.mts +2 -0
  1701. package/dist/node_modules/@langchain/deepseek/node_modules/openai/version.d.ts +2 -0
  1702. package/dist/node_modules/@langchain/deepseek/node_modules/openai/version.js +5 -0
  1703. package/dist/node_modules/@langchain/deepseek/package.json +1 -1
  1704. package/dist/node_modules/@langchain/google-genai/LICENSE +21 -0
  1705. package/dist/node_modules/@langchain/google-genai/dist/chat_models.cjs +844 -0
  1706. package/dist/node_modules/@langchain/google-genai/dist/chat_models.d.ts +542 -0
  1707. package/dist/node_modules/@langchain/google-genai/dist/chat_models.js +840 -0
  1708. package/dist/node_modules/@langchain/google-genai/dist/embeddings.cjs +153 -0
  1709. package/dist/node_modules/@langchain/google-genai/dist/embeddings.d.ts +98 -0
  1710. package/dist/node_modules/@langchain/google-genai/dist/embeddings.js +149 -0
  1711. package/dist/node_modules/@langchain/google-genai/dist/index.cjs +18 -0
  1712. package/dist/node_modules/@langchain/google-genai/dist/index.d.ts +2 -0
  1713. package/dist/node_modules/@langchain/google-genai/dist/index.js +2 -0
  1714. package/dist/node_modules/@langchain/google-genai/dist/output_parsers.cjs +76 -0
  1715. package/dist/node_modules/@langchain/google-genai/dist/output_parsers.d.ts +20 -0
  1716. package/dist/node_modules/@langchain/google-genai/dist/output_parsers.js +72 -0
  1717. package/dist/node_modules/@langchain/google-genai/dist/types.cjs +2 -0
  1718. package/dist/node_modules/@langchain/google-genai/dist/types.d.ts +3 -0
  1719. package/dist/node_modules/@langchain/google-genai/dist/types.js +1 -0
  1720. package/dist/node_modules/@langchain/google-genai/dist/utils/common.cjs +572 -0
  1721. package/dist/node_modules/@langchain/google-genai/dist/utils/common.d.ts +22 -0
  1722. package/dist/node_modules/@langchain/google-genai/dist/utils/common.js +563 -0
  1723. package/dist/node_modules/@langchain/google-genai/dist/utils/tools.cjs +110 -0
  1724. package/dist/node_modules/@langchain/google-genai/dist/utils/tools.d.ts +10 -0
  1725. package/dist/node_modules/@langchain/google-genai/dist/utils/tools.js +107 -0
  1726. package/dist/node_modules/@langchain/google-genai/dist/utils/zod_to_genai_parameters.cjs +53 -0
  1727. package/dist/node_modules/@langchain/google-genai/dist/utils/zod_to_genai_parameters.d.ts +14 -0
  1728. package/dist/node_modules/@langchain/google-genai/dist/utils/zod_to_genai_parameters.js +48 -0
  1729. package/dist/node_modules/@langchain/google-genai/index.cjs +252 -0
  1730. package/dist/node_modules/@langchain/google-genai/index.d.cts +1 -0
  1731. package/dist/node_modules/@langchain/google-genai/index.d.ts +1 -0
  1732. package/dist/node_modules/@langchain/google-genai/index.js +1 -0
  1733. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/index.d.ts +15 -0
  1734. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/index.js +31 -0
  1735. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/max.d.ts +2 -0
  1736. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/max.js +3 -0
  1737. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
  1738. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/md5.js +13 -0
  1739. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/native.d.ts +6 -0
  1740. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/native.js +4 -0
  1741. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
  1742. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/nil.js +3 -0
  1743. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/package.json +1 -0
  1744. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
  1745. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/parse.js +11 -0
  1746. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
  1747. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/regex.js +3 -0
  1748. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
  1749. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/rng.js +13 -0
  1750. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
  1751. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/sha1.js +13 -0
  1752. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
  1753. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/stringify.js +39 -0
  1754. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/types.d.ts +21 -0
  1755. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/types.js +2 -0
  1756. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
  1757. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
  1758. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
  1759. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v1.js +87 -0
  1760. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
  1761. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
  1762. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
  1763. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v3.js +14 -0
  1764. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
  1765. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v35.js +41 -0
  1766. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
  1767. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v4.js +29 -0
  1768. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
  1769. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v5.js +14 -0
  1770. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
  1771. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v6.js +19 -0
  1772. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
  1773. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
  1774. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
  1775. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/v7.js +69 -0
  1776. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
  1777. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/validate.js +7 -0
  1778. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/version.d.ts +2 -0
  1779. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs/version.js +10 -0
  1780. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
  1781. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/index.js +31 -0
  1782. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
  1783. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/max.js +3 -0
  1784. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
  1785. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
  1786. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
  1787. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/native.js +4 -0
  1788. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
  1789. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
  1790. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/package.json +1 -0
  1791. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
  1792. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
  1793. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
  1794. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
  1795. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
  1796. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
  1797. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
  1798. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
  1799. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
  1800. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
  1801. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
  1802. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/types.js +2 -0
  1803. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
  1804. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
  1805. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
  1806. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
  1807. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
  1808. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
  1809. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
  1810. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
  1811. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
  1812. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
  1813. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
  1814. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
  1815. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
  1816. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
  1817. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
  1818. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
  1819. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
  1820. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
  1821. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
  1822. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
  1823. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
  1824. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
  1825. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
  1826. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/cjs-browser/version.js +10 -0
  1827. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/bin/uuid +2 -0
  1828. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/index.d.ts +15 -0
  1829. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/index.js +14 -0
  1830. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/max.d.ts +2 -0
  1831. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/max.js +1 -0
  1832. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/md5.d.ts +4 -0
  1833. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/md5.js +11 -0
  1834. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/native.d.ts +6 -0
  1835. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/native.js +2 -0
  1836. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/nil.d.ts +2 -0
  1837. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/nil.js +1 -0
  1838. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/parse.d.ts +2 -0
  1839. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/parse.js +9 -0
  1840. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/regex.d.ts +2 -0
  1841. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/regex.js +1 -0
  1842. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/rng.d.ts +1 -0
  1843. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/rng.js +10 -0
  1844. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
  1845. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/sha1.js +11 -0
  1846. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
  1847. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/stringify.js +35 -0
  1848. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/types.d.ts +21 -0
  1849. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/types.js +1 -0
  1850. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
  1851. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
  1852. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v1.d.ts +11 -0
  1853. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v1.js +83 -0
  1854. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
  1855. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
  1856. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v3.d.ts +9 -0
  1857. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v3.js +9 -0
  1858. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v35.d.ts +7 -0
  1859. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v35.js +36 -0
  1860. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v4.d.ts +4 -0
  1861. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v4.js +27 -0
  1862. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v5.d.ts +9 -0
  1863. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v5.js +9 -0
  1864. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v6.d.ts +4 -0
  1865. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v6.js +17 -0
  1866. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
  1867. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
  1868. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v7.d.ts +9 -0
  1869. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/v7.js +65 -0
  1870. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/validate.d.ts +2 -0
  1871. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/validate.js +5 -0
  1872. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/version.d.ts +2 -0
  1873. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm/version.js +8 -0
  1874. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
  1875. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/index.js +14 -0
  1876. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
  1877. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/max.js +1 -0
  1878. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
  1879. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/md5.js +135 -0
  1880. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
  1881. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/native.js +2 -0
  1882. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
  1883. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  1884. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
  1885. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/parse.js +9 -0
  1886. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
  1887. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  1888. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
  1889. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/rng.js +11 -0
  1890. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
  1891. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/sha1.js +70 -0
  1892. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
  1893. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/stringify.js +35 -0
  1894. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
  1895. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/types.js +1 -0
  1896. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
  1897. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
  1898. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
  1899. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v1.js +83 -0
  1900. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
  1901. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
  1902. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
  1903. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v3.js +9 -0
  1904. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
  1905. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v35.js +36 -0
  1906. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
  1907. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v4.js +27 -0
  1908. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
  1909. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v5.js +9 -0
  1910. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
  1911. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v6.js +17 -0
  1912. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
  1913. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
  1914. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
  1915. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/v7.js +65 -0
  1916. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
  1917. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/validate.js +5 -0
  1918. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
  1919. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/dist/esm-browser/version.js +8 -0
  1920. package/dist/node_modules/@langchain/google-genai/node_modules/uuid/package.json +132 -0
  1921. package/dist/node_modules/@langchain/google-genai/package.json +1 -0
  1922. package/dist/node_modules/@langchain/openai/dist/azure/chat_models.cjs +337 -164
  1923. package/dist/node_modules/@langchain/openai/dist/azure/chat_models.d.ts +22 -33
  1924. package/dist/node_modules/@langchain/openai/dist/azure/chat_models.js +338 -165
  1925. package/dist/node_modules/@langchain/openai/dist/azure/embeddings.cjs +4 -2
  1926. package/dist/node_modules/@langchain/openai/dist/azure/embeddings.d.ts +1 -1
  1927. package/dist/node_modules/@langchain/openai/dist/azure/embeddings.js +4 -2
  1928. package/dist/node_modules/@langchain/openai/dist/azure/llms.cjs +4 -2
  1929. package/dist/node_modules/@langchain/openai/dist/azure/llms.js +4 -2
  1930. package/dist/node_modules/@langchain/openai/dist/chat_models.cjs +2260 -1236
  1931. package/dist/node_modules/@langchain/openai/dist/chat_models.d.ts +318 -164
  1932. package/dist/node_modules/@langchain/openai/dist/chat_models.js +2259 -1238
  1933. package/dist/node_modules/@langchain/openai/dist/embeddings.cjs +13 -0
  1934. package/dist/node_modules/@langchain/openai/dist/embeddings.d.ts +15 -6
  1935. package/dist/node_modules/@langchain/openai/dist/embeddings.js +13 -0
  1936. package/dist/node_modules/@langchain/openai/dist/index.cjs +3 -1
  1937. package/dist/node_modules/@langchain/openai/dist/index.d.ts +1 -0
  1938. package/dist/node_modules/@langchain/openai/dist/index.js +1 -0
  1939. package/dist/node_modules/@langchain/openai/dist/llms.cjs +1 -1
  1940. package/dist/node_modules/@langchain/openai/dist/llms.js +1 -1
  1941. package/dist/node_modules/@langchain/openai/dist/tools/custom.cjs +28 -0
  1942. package/dist/node_modules/@langchain/openai/dist/tools/custom.d.ts +5 -0
  1943. package/dist/node_modules/@langchain/openai/dist/tools/custom.js +25 -0
  1944. package/dist/node_modules/@langchain/openai/dist/tools/dalle.cjs +14 -11
  1945. package/dist/node_modules/@langchain/openai/dist/tools/dalle.d.ts +7 -2
  1946. package/dist/node_modules/@langchain/openai/dist/tools/dalle.js +14 -11
  1947. package/dist/node_modules/@langchain/openai/dist/types.d.ts +68 -21
  1948. package/dist/node_modules/@langchain/openai/dist/utils/azure.cjs +1 -2
  1949. package/dist/node_modules/@langchain/openai/dist/utils/errors.cjs +1 -2
  1950. package/dist/node_modules/@langchain/openai/dist/utils/headers.cjs +39 -0
  1951. package/dist/node_modules/@langchain/openai/dist/utils/headers.d.ts +8 -0
  1952. package/dist/node_modules/@langchain/openai/dist/utils/headers.js +35 -0
  1953. package/dist/node_modules/@langchain/openai/dist/utils/openai-format-fndef.cjs +1 -2
  1954. package/dist/node_modules/@langchain/openai/dist/utils/openai.cjs +58 -6
  1955. package/dist/node_modules/@langchain/openai/dist/utils/openai.d.ts +8 -13
  1956. package/dist/node_modules/@langchain/openai/dist/utils/openai.js +53 -2
  1957. package/dist/node_modules/@langchain/openai/dist/utils/output.cjs +30 -0
  1958. package/dist/node_modules/@langchain/openai/dist/utils/output.d.ts +9 -0
  1959. package/dist/node_modules/@langchain/openai/dist/utils/output.js +27 -0
  1960. package/dist/node_modules/@langchain/openai/dist/utils/prompts.cjs +2 -3
  1961. package/dist/node_modules/@langchain/openai/dist/utils/prompts.d.ts +1 -1
  1962. package/dist/node_modules/@langchain/openai/dist/utils/prompts.js +1 -1
  1963. package/dist/node_modules/@langchain/openai/dist/utils/tools.cjs +117 -27
  1964. package/dist/node_modules/@langchain/openai/dist/utils/tools.d.ts +24 -0
  1965. package/dist/node_modules/@langchain/openai/dist/utils/tools.js +109 -26
  1966. package/dist/node_modules/@langchain/openai/index.cjs +13 -22
  1967. package/dist/node_modules/@langchain/openai/package.json +1 -1
  1968. package/dist/node_modules/nodejs-snowflake/LICENSE +201 -0
  1969. package/dist/node_modules/nodejs-snowflake/nodejs_snowflake.d.ts +62 -0
  1970. package/dist/node_modules/nodejs-snowflake/nodejs_snowflake.js +1 -0
  1971. package/dist/node_modules/nodejs-snowflake/nodejs_snowflake_bg.wasm +0 -0
  1972. package/dist/node_modules/nodejs-snowflake/package.json +1 -0
  1973. package/dist/node_modules/zod/LICENSE +21 -0
  1974. package/dist/node_modules/zod/dist/cjs/index.js +1 -0
  1975. package/dist/node_modules/zod/dist/cjs/package.json +3 -0
  1976. package/dist/node_modules/zod/dist/cjs/v3/ZodError.js +137 -0
  1977. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/datetime.js +54 -0
  1978. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/discriminatedUnion.js +79 -0
  1979. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/index.js +59 -0
  1980. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/ipv4.js +54 -0
  1981. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/object.js +70 -0
  1982. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/primitives.js +159 -0
  1983. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/realworld.js +56 -0
  1984. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/string.js +55 -0
  1985. package/dist/node_modules/zod/dist/cjs/v3/benchmarks/union.js +79 -0
  1986. package/dist/node_modules/zod/dist/cjs/v3/errors.js +17 -0
  1987. package/dist/node_modules/zod/dist/cjs/v3/external.js +22 -0
  1988. package/dist/node_modules/zod/dist/cjs/v3/helpers/enumUtil.js +2 -0
  1989. package/dist/node_modules/zod/dist/cjs/v3/helpers/errorUtil.js +9 -0
  1990. package/dist/node_modules/zod/dist/cjs/v3/helpers/parseUtil.js +124 -0
  1991. package/dist/node_modules/zod/dist/cjs/v3/helpers/partialUtil.js +2 -0
  1992. package/dist/node_modules/zod/dist/cjs/v3/helpers/typeAliases.js +2 -0
  1993. package/dist/node_modules/zod/dist/cjs/v3/helpers/util.js +137 -0
  1994. package/dist/node_modules/zod/dist/cjs/v3/index.js +33 -0
  1995. package/dist/node_modules/zod/dist/cjs/v3/locales/en.js +109 -0
  1996. package/dist/node_modules/zod/dist/cjs/v3/standard-schema.js +2 -0
  1997. package/dist/node_modules/zod/dist/cjs/v3/tests/Mocker.js +57 -0
  1998. package/dist/node_modules/zod/dist/cjs/v3/types.js +3773 -0
  1999. package/dist/node_modules/zod/dist/cjs/v4/classic/checks.js +32 -0
  2000. package/dist/node_modules/zod/dist/cjs/v4/classic/coerce.js +47 -0
  2001. package/dist/node_modules/zod/dist/cjs/v4/classic/compat.js +63 -0
  2002. package/dist/node_modules/zod/dist/cjs/v4/classic/errors.js +67 -0
  2003. package/dist/node_modules/zod/dist/cjs/v4/classic/external.js +69 -0
  2004. package/dist/node_modules/zod/dist/cjs/v4/classic/index.js +33 -0
  2005. package/dist/node_modules/zod/dist/cjs/v4/classic/iso.js +60 -0
  2006. package/dist/node_modules/zod/dist/cjs/v4/classic/parse.js +32 -0
  2007. package/dist/node_modules/zod/dist/cjs/v4/classic/schemas.js +1100 -0
  2008. package/dist/node_modules/zod/dist/cjs/v4/core/api.js +1021 -0
  2009. package/dist/node_modules/zod/dist/cjs/v4/core/checks.js +580 -0
  2010. package/dist/node_modules/zod/dist/cjs/v4/core/config.js +10 -0
  2011. package/dist/node_modules/zod/dist/cjs/v4/core/core.js +63 -0
  2012. package/dist/node_modules/zod/dist/cjs/v4/core/doc.js +39 -0
  2013. package/dist/node_modules/zod/dist/cjs/v4/core/errors.js +222 -0
  2014. package/dist/node_modules/zod/dist/cjs/v4/core/function.js +102 -0
  2015. package/dist/node_modules/zod/dist/cjs/v4/core/index.js +44 -0
  2016. package/dist/node_modules/zod/dist/cjs/v4/core/json-schema.js +2 -0
  2017. package/dist/node_modules/zod/dist/cjs/v4/core/parse.js +87 -0
  2018. package/dist/node_modules/zod/dist/cjs/v4/core/regexes.js +103 -0
  2019. package/dist/node_modules/zod/dist/cjs/v4/core/registries.js +47 -0
  2020. package/dist/node_modules/zod/dist/cjs/v4/core/schemas.js +1719 -0
  2021. package/dist/node_modules/zod/dist/cjs/v4/core/standard-schema.js +2 -0
  2022. package/dist/node_modules/zod/dist/cjs/v4/core/to-json-schema.js +833 -0
  2023. package/dist/node_modules/zod/dist/cjs/v4/core/util.js +537 -0
  2024. package/dist/node_modules/zod/dist/cjs/v4/core/versions.js +8 -0
  2025. package/dist/node_modules/zod/dist/cjs/v4/core/zsf.js +172 -0
  2026. package/dist/node_modules/zod/dist/cjs/v4/index.js +22 -0
  2027. package/dist/node_modules/zod/dist/cjs/v4/locales/ar.js +142 -0
  2028. package/dist/node_modules/zod/dist/cjs/v4/locales/az.js +141 -0
  2029. package/dist/node_modules/zod/dist/cjs/v4/locales/be.js +190 -0
  2030. package/dist/node_modules/zod/dist/cjs/v4/locales/ca.js +144 -0
  2031. package/dist/node_modules/zod/dist/cjs/v4/locales/cs.js +161 -0
  2032. package/dist/node_modules/zod/dist/cjs/v4/locales/de.js +142 -0
  2033. package/dist/node_modules/zod/dist/cjs/v4/locales/en.js +145 -0
  2034. package/dist/node_modules/zod/dist/cjs/v4/locales/es.js +143 -0
  2035. package/dist/node_modules/zod/dist/cjs/v4/locales/fa.js +148 -0
  2036. package/dist/node_modules/zod/dist/cjs/v4/locales/fi.js +148 -0
  2037. package/dist/node_modules/zod/dist/cjs/v4/locales/fr-CA.js +143 -0
  2038. package/dist/node_modules/zod/dist/cjs/v4/locales/fr.js +142 -0
  2039. package/dist/node_modules/zod/dist/cjs/v4/locales/he.js +143 -0
  2040. package/dist/node_modules/zod/dist/cjs/v4/locales/hu.js +143 -0
  2041. package/dist/node_modules/zod/dist/cjs/v4/locales/id.js +142 -0
  2042. package/dist/node_modules/zod/dist/cjs/v4/locales/index.js +82 -0
  2043. package/dist/node_modules/zod/dist/cjs/v4/locales/it.js +143 -0
  2044. package/dist/node_modules/zod/dist/cjs/v4/locales/ja.js +141 -0
  2045. package/dist/node_modules/zod/dist/cjs/v4/locales/kh.js +143 -0
  2046. package/dist/node_modules/zod/dist/cjs/v4/locales/ko.js +147 -0
  2047. package/dist/node_modules/zod/dist/cjs/v4/locales/mk.js +144 -0
  2048. package/dist/node_modules/zod/dist/cjs/v4/locales/ms.js +142 -0
  2049. package/dist/node_modules/zod/dist/cjs/v4/locales/nl.js +143 -0
  2050. package/dist/node_modules/zod/dist/cjs/v4/locales/no.js +142 -0
  2051. package/dist/node_modules/zod/dist/cjs/v4/locales/ota.js +143 -0
  2052. package/dist/node_modules/zod/dist/cjs/v4/locales/pl.js +143 -0
  2053. package/dist/node_modules/zod/dist/cjs/v4/locales/ps.js +148 -0
  2054. package/dist/node_modules/zod/dist/cjs/v4/locales/pt.js +142 -0
  2055. package/dist/node_modules/zod/dist/cjs/v4/locales/ru.js +190 -0
  2056. package/dist/node_modules/zod/dist/cjs/v4/locales/sl.js +143 -0
  2057. package/dist/node_modules/zod/dist/cjs/v4/locales/sv.js +144 -0
  2058. package/dist/node_modules/zod/dist/cjs/v4/locales/ta.js +143 -0
  2059. package/dist/node_modules/zod/dist/cjs/v4/locales/th.js +143 -0
  2060. package/dist/node_modules/zod/dist/cjs/v4/locales/tr.js +143 -0
  2061. package/dist/node_modules/zod/dist/cjs/v4/locales/ua.js +143 -0
  2062. package/dist/node_modules/zod/dist/cjs/v4/locales/ur.js +143 -0
  2063. package/dist/node_modules/zod/dist/cjs/v4/locales/vi.js +142 -0
  2064. package/dist/node_modules/zod/dist/cjs/v4/locales/zh-CN.js +142 -0
  2065. package/dist/node_modules/zod/dist/cjs/v4/locales/zh-TW.js +143 -0
  2066. package/dist/node_modules/zod/dist/cjs/v4/mini/checks.js +34 -0
  2067. package/dist/node_modules/zod/dist/cjs/v4/mini/coerce.js +47 -0
  2068. package/dist/node_modules/zod/dist/cjs/v4/mini/external.js +61 -0
  2069. package/dist/node_modules/zod/dist/cjs/v4/mini/index.js +32 -0
  2070. package/dist/node_modules/zod/dist/cjs/v4/mini/iso.js +60 -0
  2071. package/dist/node_modules/zod/dist/cjs/v4/mini/parse.js +8 -0
  2072. package/dist/node_modules/zod/dist/cjs/v4/mini/schemas.js +831 -0
  2073. package/dist/node_modules/zod/dist/esm/index.js +3 -0
  2074. package/dist/node_modules/zod/dist/esm/package.json +3 -0
  2075. package/dist/node_modules/zod/dist/esm/v3/ZodError.js +132 -0
  2076. package/dist/node_modules/zod/dist/esm/v3/benchmarks/datetime.js +49 -0
  2077. package/dist/node_modules/zod/dist/esm/v3/benchmarks/discriminatedUnion.js +74 -0
  2078. package/dist/node_modules/zod/dist/esm/v3/benchmarks/index.js +54 -0
  2079. package/dist/node_modules/zod/dist/esm/v3/benchmarks/ipv4.js +49 -0
  2080. package/dist/node_modules/zod/dist/esm/v3/benchmarks/object.js +65 -0
  2081. package/dist/node_modules/zod/dist/esm/v3/benchmarks/primitives.js +154 -0
  2082. package/dist/node_modules/zod/dist/esm/v3/benchmarks/realworld.js +51 -0
  2083. package/dist/node_modules/zod/dist/esm/v3/benchmarks/string.js +50 -0
  2084. package/dist/node_modules/zod/dist/esm/v3/benchmarks/union.js +74 -0
  2085. package/dist/node_modules/zod/dist/esm/v3/errors.js +9 -0
  2086. package/dist/node_modules/zod/dist/esm/v3/external.js +6 -0
  2087. package/dist/node_modules/zod/dist/esm/v3/helpers/enumUtil.js +1 -0
  2088. package/dist/node_modules/zod/dist/esm/v3/helpers/errorUtil.js +6 -0
  2089. package/dist/node_modules/zod/dist/esm/v3/helpers/parseUtil.js +109 -0
  2090. package/dist/node_modules/zod/dist/esm/v3/helpers/partialUtil.js +1 -0
  2091. package/dist/node_modules/zod/dist/esm/v3/helpers/typeAliases.js +1 -0
  2092. package/dist/node_modules/zod/dist/esm/v3/helpers/util.js +133 -0
  2093. package/dist/node_modules/zod/dist/esm/v3/index.js +4 -0
  2094. package/dist/node_modules/zod/dist/esm/v3/locales/en.js +107 -0
  2095. package/dist/node_modules/zod/dist/esm/v3/standard-schema.js +1 -0
  2096. package/dist/node_modules/zod/dist/esm/v3/tests/Mocker.js +53 -0
  2097. package/dist/node_modules/zod/dist/esm/v3/types.js +3691 -0
  2098. package/dist/node_modules/zod/dist/esm/v4/classic/checks.js +1 -0
  2099. package/dist/node_modules/zod/dist/esm/v4/classic/coerce.js +17 -0
  2100. package/dist/node_modules/zod/dist/esm/v4/classic/compat.js +33 -0
  2101. package/dist/node_modules/zod/dist/esm/v4/classic/errors.js +41 -0
  2102. package/dist/node_modules/zod/dist/esm/v4/classic/external.js +18 -0
  2103. package/dist/node_modules/zod/dist/esm/v4/classic/index.js +4 -0
  2104. package/dist/node_modules/zod/dist/esm/v4/classic/iso.js +30 -0
  2105. package/dist/node_modules/zod/dist/esm/v4/classic/parse.js +6 -0
  2106. package/dist/node_modules/zod/dist/esm/v4/classic/schemas.js +998 -0
  2107. package/dist/node_modules/zod/dist/esm/v4/core/api.js +889 -0
  2108. package/dist/node_modules/zod/dist/esm/v4/core/checks.js +554 -0
  2109. package/dist/node_modules/zod/dist/esm/v4/core/config.js +6 -0
  2110. package/dist/node_modules/zod/dist/esm/v4/core/core.js +57 -0
  2111. package/dist/node_modules/zod/dist/esm/v4/core/doc.js +35 -0
  2112. package/dist/node_modules/zod/dist/esm/v4/core/errors.js +191 -0
  2113. package/dist/node_modules/zod/dist/esm/v4/core/function.js +75 -0
  2114. package/dist/node_modules/zod/dist/esm/v4/core/index.js +15 -0
  2115. package/dist/node_modules/zod/dist/esm/v4/core/json-schema.js +1 -0
  2116. package/dist/node_modules/zod/dist/esm/v4/core/parse.js +57 -0
  2117. package/dist/node_modules/zod/dist/esm/v4/core/regexes.js +95 -0
  2118. package/dist/node_modules/zod/dist/esm/v4/core/registries.js +42 -0
  2119. package/dist/node_modules/zod/dist/esm/v4/core/schemas.js +1688 -0
  2120. package/dist/node_modules/zod/dist/esm/v4/core/standard-schema.js +1 -0
  2121. package/dist/node_modules/zod/dist/esm/v4/core/to-json-schema.js +828 -0
  2122. package/dist/node_modules/zod/dist/esm/v4/core/util.js +491 -0
  2123. package/dist/node_modules/zod/dist/esm/v4/core/versions.js +5 -0
  2124. package/dist/node_modules/zod/dist/esm/v4/core/zsf.js +171 -0
  2125. package/dist/node_modules/zod/dist/esm/v4/index.js +3 -0
  2126. package/dist/node_modules/zod/dist/esm/v4/locales/ar.js +116 -0
  2127. package/dist/node_modules/zod/dist/esm/v4/locales/az.js +115 -0
  2128. package/dist/node_modules/zod/dist/esm/v4/locales/be.js +164 -0
  2129. package/dist/node_modules/zod/dist/esm/v4/locales/ca.js +118 -0
  2130. package/dist/node_modules/zod/dist/esm/v4/locales/cs.js +135 -0
  2131. package/dist/node_modules/zod/dist/esm/v4/locales/de.js +116 -0
  2132. package/dist/node_modules/zod/dist/esm/v4/locales/en.js +117 -0
  2133. package/dist/node_modules/zod/dist/esm/v4/locales/es.js +117 -0
  2134. package/dist/node_modules/zod/dist/esm/v4/locales/fa.js +122 -0
  2135. package/dist/node_modules/zod/dist/esm/v4/locales/fi.js +122 -0
  2136. package/dist/node_modules/zod/dist/esm/v4/locales/fr-CA.js +117 -0
  2137. package/dist/node_modules/zod/dist/esm/v4/locales/fr.js +116 -0
  2138. package/dist/node_modules/zod/dist/esm/v4/locales/he.js +117 -0
  2139. package/dist/node_modules/zod/dist/esm/v4/locales/hu.js +117 -0
  2140. package/dist/node_modules/zod/dist/esm/v4/locales/id.js +116 -0
  2141. package/dist/node_modules/zod/dist/esm/v4/locales/index.js +38 -0
  2142. package/dist/node_modules/zod/dist/esm/v4/locales/it.js +117 -0
  2143. package/dist/node_modules/zod/dist/esm/v4/locales/ja.js +115 -0
  2144. package/dist/node_modules/zod/dist/esm/v4/locales/kh.js +117 -0
  2145. package/dist/node_modules/zod/dist/esm/v4/locales/ko.js +121 -0
  2146. package/dist/node_modules/zod/dist/esm/v4/locales/mk.js +118 -0
  2147. package/dist/node_modules/zod/dist/esm/v4/locales/ms.js +116 -0
  2148. package/dist/node_modules/zod/dist/esm/v4/locales/nl.js +117 -0
  2149. package/dist/node_modules/zod/dist/esm/v4/locales/no.js +116 -0
  2150. package/dist/node_modules/zod/dist/esm/v4/locales/ota.js +117 -0
  2151. package/dist/node_modules/zod/dist/esm/v4/locales/pl.js +117 -0
  2152. package/dist/node_modules/zod/dist/esm/v4/locales/ps.js +122 -0
  2153. package/dist/node_modules/zod/dist/esm/v4/locales/pt.js +116 -0
  2154. package/dist/node_modules/zod/dist/esm/v4/locales/ru.js +164 -0
  2155. package/dist/node_modules/zod/dist/esm/v4/locales/sl.js +117 -0
  2156. package/dist/node_modules/zod/dist/esm/v4/locales/sv.js +118 -0
  2157. package/dist/node_modules/zod/dist/esm/v4/locales/ta.js +117 -0
  2158. package/dist/node_modules/zod/dist/esm/v4/locales/th.js +117 -0
  2159. package/dist/node_modules/zod/dist/esm/v4/locales/tr.js +115 -0
  2160. package/dist/node_modules/zod/dist/esm/v4/locales/ua.js +117 -0
  2161. package/dist/node_modules/zod/dist/esm/v4/locales/ur.js +117 -0
  2162. package/dist/node_modules/zod/dist/esm/v4/locales/vi.js +116 -0
  2163. package/dist/node_modules/zod/dist/esm/v4/locales/zh-CN.js +116 -0
  2164. package/dist/node_modules/zod/dist/esm/v4/locales/zh-TW.js +117 -0
  2165. package/dist/node_modules/zod/dist/esm/v4/mini/checks.js +1 -0
  2166. package/dist/node_modules/zod/dist/esm/v4/mini/coerce.js +17 -0
  2167. package/dist/node_modules/zod/dist/esm/v4/mini/external.js +13 -0
  2168. package/dist/node_modules/zod/dist/esm/v4/mini/index.js +3 -0
  2169. package/dist/node_modules/zod/dist/esm/v4/mini/iso.js +30 -0
  2170. package/dist/node_modules/zod/dist/esm/v4/mini/parse.js +1 -0
  2171. package/dist/node_modules/zod/dist/esm/v4/mini/schemas.js +725 -0
  2172. package/dist/node_modules/zod/dist/types/index.d.ts +3 -0
  2173. package/dist/node_modules/zod/dist/types/package.json +3 -0
  2174. package/dist/node_modules/zod/dist/types/v3/ZodError.d.ts +164 -0
  2175. package/dist/node_modules/zod/dist/types/v3/benchmarks/datetime.d.ts +5 -0
  2176. package/dist/node_modules/zod/dist/types/v3/benchmarks/discriminatedUnion.d.ts +5 -0
  2177. package/dist/node_modules/zod/dist/types/v3/benchmarks/index.d.ts +1 -0
  2178. package/dist/node_modules/zod/dist/types/v3/benchmarks/ipv4.d.ts +5 -0
  2179. package/dist/node_modules/zod/dist/types/v3/benchmarks/object.d.ts +5 -0
  2180. package/dist/node_modules/zod/dist/types/v3/benchmarks/primitives.d.ts +5 -0
  2181. package/dist/node_modules/zod/dist/types/v3/benchmarks/realworld.d.ts +5 -0
  2182. package/dist/node_modules/zod/dist/types/v3/benchmarks/string.d.ts +5 -0
  2183. package/dist/node_modules/zod/dist/types/v3/benchmarks/union.d.ts +5 -0
  2184. package/dist/node_modules/zod/dist/types/v3/errors.d.ts +5 -0
  2185. package/dist/node_modules/zod/dist/types/v3/external.d.ts +6 -0
  2186. package/dist/node_modules/zod/dist/types/v3/helpers/enumUtil.d.ts +8 -0
  2187. package/dist/node_modules/zod/dist/types/v3/helpers/errorUtil.d.ts +9 -0
  2188. package/dist/node_modules/zod/dist/types/v3/helpers/parseUtil.d.ts +78 -0
  2189. package/dist/node_modules/zod/dist/types/v3/helpers/partialUtil.d.ts +8 -0
  2190. package/dist/node_modules/zod/dist/types/v3/helpers/typeAliases.d.ts +2 -0
  2191. package/dist/node_modules/zod/dist/types/v3/helpers/util.d.ts +85 -0
  2192. package/dist/node_modules/zod/dist/types/v3/index.d.ts +4 -0
  2193. package/dist/node_modules/zod/dist/types/v3/locales/en.d.ts +3 -0
  2194. package/dist/node_modules/zod/dist/types/v3/standard-schema.d.ts +102 -0
  2195. package/dist/node_modules/zod/dist/types/v3/tests/Mocker.d.ts +17 -0
  2196. package/dist/node_modules/zod/dist/types/v3/types.d.ts +1031 -0
  2197. package/dist/node_modules/zod/dist/types/v4/classic/checks.d.ts +1 -0
  2198. package/dist/node_modules/zod/dist/types/v4/classic/coerce.d.ts +17 -0
  2199. package/dist/node_modules/zod/dist/types/v4/classic/compat.d.ts +48 -0
  2200. package/dist/node_modules/zod/dist/types/v4/classic/errors.d.ts +30 -0
  2201. package/dist/node_modules/zod/dist/types/v4/classic/external.d.ts +13 -0
  2202. package/dist/node_modules/zod/dist/types/v4/classic/index.d.ts +4 -0
  2203. package/dist/node_modules/zod/dist/types/v4/classic/iso.d.ts +22 -0
  2204. package/dist/node_modules/zod/dist/types/v4/classic/parse.d.ts +23 -0
  2205. package/dist/node_modules/zod/dist/types/v4/classic/schemas.d.ts +624 -0
  2206. package/dist/node_modules/zod/dist/types/v4/core/api.d.ts +281 -0
  2207. package/dist/node_modules/zod/dist/types/v4/core/checks.d.ts +277 -0
  2208. package/dist/node_modules/zod/dist/types/v4/core/config.d.ts +9 -0
  2209. package/dist/node_modules/zod/dist/types/v4/core/core.d.ts +47 -0
  2210. package/dist/node_modules/zod/dist/types/v4/core/doc.d.ts +14 -0
  2211. package/dist/node_modules/zod/dist/types/v4/core/errors.d.ts +204 -0
  2212. package/dist/node_modules/zod/dist/types/v4/core/function.d.ts +52 -0
  2213. package/dist/node_modules/zod/dist/types/v4/core/index.d.ts +15 -0
  2214. package/dist/node_modules/zod/dist/types/v4/core/json-schema.d.ts +87 -0
  2215. package/dist/node_modules/zod/dist/types/v4/core/parse.d.ts +25 -0
  2216. package/dist/node_modules/zod/dist/types/v4/core/regexes.d.ts +62 -0
  2217. package/dist/node_modules/zod/dist/types/v4/core/registries.d.ts +39 -0
  2218. package/dist/node_modules/zod/dist/types/v4/core/schemas.d.ts +1005 -0
  2219. package/dist/node_modules/zod/dist/types/v4/core/standard-schema.d.ts +55 -0
  2220. package/dist/node_modules/zod/dist/types/v4/core/to-json-schema.d.ts +84 -0
  2221. package/dist/node_modules/zod/dist/types/v4/core/util.d.ts +183 -0
  2222. package/dist/node_modules/zod/dist/types/v4/core/versions.d.ts +5 -0
  2223. package/dist/node_modules/zod/dist/types/v4/core/zsf.d.ts +91 -0
  2224. package/dist/node_modules/zod/dist/types/v4/index.d.ts +3 -0
  2225. package/dist/node_modules/zod/dist/types/v4/locales/ar.d.ts +4 -0
  2226. package/dist/node_modules/zod/dist/types/v4/locales/az.d.ts +4 -0
  2227. package/dist/node_modules/zod/dist/types/v4/locales/be.d.ts +4 -0
  2228. package/dist/node_modules/zod/dist/types/v4/locales/ca.d.ts +4 -0
  2229. package/dist/node_modules/zod/dist/types/v4/locales/cs.d.ts +4 -0
  2230. package/dist/node_modules/zod/dist/types/v4/locales/de.d.ts +4 -0
  2231. package/dist/node_modules/zod/dist/types/v4/locales/en.d.ts +5 -0
  2232. package/dist/node_modules/zod/dist/types/v4/locales/es.d.ts +4 -0
  2233. package/dist/node_modules/zod/dist/types/v4/locales/fa.d.ts +4 -0
  2234. package/dist/node_modules/zod/dist/types/v4/locales/fi.d.ts +4 -0
  2235. package/dist/node_modules/zod/dist/types/v4/locales/fr-CA.d.ts +4 -0
  2236. package/dist/node_modules/zod/dist/types/v4/locales/fr.d.ts +4 -0
  2237. package/dist/node_modules/zod/dist/types/v4/locales/he.d.ts +4 -0
  2238. package/dist/node_modules/zod/dist/types/v4/locales/hu.d.ts +4 -0
  2239. package/dist/node_modules/zod/dist/types/v4/locales/id.d.ts +4 -0
  2240. package/dist/node_modules/zod/dist/types/v4/locales/index.d.ts +38 -0
  2241. package/dist/node_modules/zod/dist/types/v4/locales/it.d.ts +4 -0
  2242. package/dist/node_modules/zod/dist/types/v4/locales/ja.d.ts +4 -0
  2243. package/dist/node_modules/zod/dist/types/v4/locales/kh.d.ts +4 -0
  2244. package/dist/node_modules/zod/dist/types/v4/locales/ko.d.ts +4 -0
  2245. package/dist/node_modules/zod/dist/types/v4/locales/mk.d.ts +4 -0
  2246. package/dist/node_modules/zod/dist/types/v4/locales/ms.d.ts +4 -0
  2247. package/dist/node_modules/zod/dist/types/v4/locales/nl.d.ts +4 -0
  2248. package/dist/node_modules/zod/dist/types/v4/locales/no.d.ts +4 -0
  2249. package/dist/node_modules/zod/dist/types/v4/locales/ota.d.ts +4 -0
  2250. package/dist/node_modules/zod/dist/types/v4/locales/pl.d.ts +4 -0
  2251. package/dist/node_modules/zod/dist/types/v4/locales/ps.d.ts +4 -0
  2252. package/dist/node_modules/zod/dist/types/v4/locales/pt.d.ts +4 -0
  2253. package/dist/node_modules/zod/dist/types/v4/locales/ru.d.ts +4 -0
  2254. package/dist/node_modules/zod/dist/types/v4/locales/sl.d.ts +4 -0
  2255. package/dist/node_modules/zod/dist/types/v4/locales/sv.d.ts +4 -0
  2256. package/dist/node_modules/zod/dist/types/v4/locales/ta.d.ts +4 -0
  2257. package/dist/node_modules/zod/dist/types/v4/locales/th.d.ts +4 -0
  2258. package/dist/node_modules/zod/dist/types/v4/locales/tr.d.ts +5 -0
  2259. package/dist/node_modules/zod/dist/types/v4/locales/ua.d.ts +4 -0
  2260. package/dist/node_modules/zod/dist/types/v4/locales/ur.d.ts +4 -0
  2261. package/dist/node_modules/zod/dist/types/v4/locales/vi.d.ts +4 -0
  2262. package/dist/node_modules/zod/dist/types/v4/locales/zh-CN.d.ts +4 -0
  2263. package/dist/node_modules/zod/dist/types/v4/locales/zh-TW.d.ts +4 -0
  2264. package/dist/node_modules/zod/dist/types/v4/mini/checks.d.ts +1 -0
  2265. package/dist/node_modules/zod/dist/types/v4/mini/coerce.d.ts +7 -0
  2266. package/dist/node_modules/zod/dist/types/v4/mini/external.d.ts +11 -0
  2267. package/dist/node_modules/zod/dist/types/v4/mini/index.d.ts +3 -0
  2268. package/dist/node_modules/zod/dist/types/v4/mini/iso.d.ts +22 -0
  2269. package/dist/node_modules/zod/dist/types/v4/mini/parse.d.ts +1 -0
  2270. package/dist/node_modules/zod/dist/types/v4/mini/schemas.d.ts +351 -0
  2271. package/dist/node_modules/zod/package.json +1 -0
  2272. package/dist/node_modules/zod/v3/index.d.ts +3 -0
  2273. package/dist/node_modules/zod/v3/index.js +1 -0
  2274. package/dist/node_modules/zod/v4/core/index.d.ts +1 -0
  2275. package/dist/node_modules/zod/v4/core/index.js +1 -0
  2276. package/dist/node_modules/zod/v4/index.d.ts +3 -0
  2277. package/dist/node_modules/zod/v4/index.js +1 -0
  2278. package/dist/node_modules/zod/v4/locales/en.d.ts +2 -0
  2279. package/dist/node_modules/zod/v4/locales/en.js +2 -0
  2280. package/dist/node_modules/zod/v4/locales/index.d.ts +1 -0
  2281. package/dist/node_modules/zod/v4/locales/index.js +1 -0
  2282. package/dist/node_modules/zod/v4-mini/index.d.ts +1 -0
  2283. package/dist/node_modules/zod/v4-mini/index.js +1 -0
  2284. package/dist/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
  2285. package/dist/node_modules/zod-to-json-schema/.github/FUNDING.yml +1 -0
  2286. package/dist/node_modules/zod-to-json-schema/.prettierrc.json +1 -0
  2287. package/dist/node_modules/zod-to-json-schema/LICENSE +15 -0
  2288. package/dist/node_modules/zod-to-json-schema/createIndex.ts +32 -0
  2289. package/dist/node_modules/zod-to-json-schema/dist/cjs/Options.js +48 -0
  2290. package/dist/node_modules/zod-to-json-schema/dist/cjs/Refs.js +25 -0
  2291. package/dist/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +19 -0
  2292. package/dist/node_modules/zod-to-json-schema/dist/cjs/index.js +1 -0
  2293. package/dist/node_modules/zod-to-json-schema/dist/cjs/package.json +1 -0
  2294. package/dist/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +72 -0
  2295. package/dist/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +2 -0
  2296. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +7 -0
  2297. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +30 -0
  2298. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +53 -0
  2299. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +9 -0
  2300. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +8 -0
  2301. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +8 -0
  2302. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +50 -0
  2303. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +11 -0
  2304. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +10 -0
  2305. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +10 -0
  2306. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +56 -0
  2307. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +25 -0
  2308. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +29 -0
  2309. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +20 -0
  2310. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +9 -0
  2311. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +14 -0
  2312. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +37 -0
  2313. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +56 -0
  2314. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +59 -0
  2315. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +24 -0
  2316. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +24 -0
  2317. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +8 -0
  2318. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +8 -0
  2319. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +64 -0
  2320. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +24 -0
  2321. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +357 -0
  2322. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +36 -0
  2323. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +9 -0
  2324. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +84 -0
  2325. package/dist/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +7 -0
  2326. package/dist/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +110 -0
  2327. package/dist/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +69 -0
  2328. package/dist/node_modules/zod-to-json-schema/dist/esm/Options.js +43 -0
  2329. package/dist/node_modules/zod-to-json-schema/dist/esm/Refs.js +21 -0
  2330. package/dist/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
  2331. package/dist/node_modules/zod-to-json-schema/dist/esm/index.js +39 -0
  2332. package/dist/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
  2333. package/dist/node_modules/zod-to-json-schema/dist/esm/parseDef.js +68 -0
  2334. package/dist/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
  2335. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +3 -0
  2336. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +26 -0
  2337. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
  2338. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
  2339. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
  2340. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
  2341. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
  2342. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
  2343. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +6 -0
  2344. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
  2345. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
  2346. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
  2347. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +25 -0
  2348. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
  2349. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +5 -0
  2350. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
  2351. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
  2352. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
  2353. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +55 -0
  2354. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +20 -0
  2355. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
  2356. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
  2357. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
  2358. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +60 -0
  2359. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
  2360. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +353 -0
  2361. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
  2362. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +5 -0
  2363. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
  2364. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +3 -0
  2365. package/dist/node_modules/zod-to-json-schema/dist/esm/selectParser.js +106 -0
  2366. package/dist/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +66 -0
  2367. package/dist/node_modules/zod-to-json-schema/dist/types/Options.d.ts +34 -0
  2368. package/dist/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +14 -0
  2369. package/dist/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +11 -0
  2370. package/dist/node_modules/zod-to-json-schema/dist/types/index.d.ts +39 -0
  2371. package/dist/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +4 -0
  2372. package/dist/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +34 -0
  2373. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +2 -0
  2374. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +12 -0
  2375. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +14 -0
  2376. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +4 -0
  2377. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +3 -0
  2378. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +3 -0
  2379. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +15 -0
  2380. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +6 -0
  2381. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +4 -0
  2382. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +6 -0
  2383. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +8 -0
  2384. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +9 -0
  2385. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +15 -0
  2386. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +6 -0
  2387. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +4 -0
  2388. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +5 -0
  2389. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +10 -0
  2390. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +13 -0
  2391. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +10 -0
  2392. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +4 -0
  2393. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +5 -0
  2394. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +4 -0
  2395. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +3 -0
  2396. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +13 -0
  2397. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +13 -0
  2398. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +73 -0
  2399. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +13 -0
  2400. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +4 -0
  2401. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +23 -0
  2402. package/dist/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +2 -0
  2403. package/dist/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +5 -0
  2404. package/dist/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +10 -0
  2405. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/index.js +12 -0
  2406. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/.package-lock.json +26 -0
  2407. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/__tests__/Mocker.js +57 -0
  2408. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/datetime.d.ts +5 -0
  2409. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
  2410. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/index.d.ts +1 -0
  2411. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/ipv4.d.ts +5 -0
  2412. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/ipv4.js +54 -0
  2413. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/object.d.ts +5 -0
  2414. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/primitives.d.ts +5 -0
  2415. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/realworld.d.ts +5 -0
  2416. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/string.d.ts +5 -0
  2417. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/benchmarks/union.d.ts +5 -0
  2418. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/helpers/enumUtil.d.ts +8 -0
  2419. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/helpers/enumUtil.js +2 -0
  2420. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/helpers/partialUtil.js +2 -0
  2421. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/helpers/typeAliases.d.ts +2 -0
  2422. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/helpers/typeAliases.js +2 -0
  2423. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/standard-schema.d.ts +102 -0
  2424. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/lib/standard-schema.js +2 -0
  2425. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/node_modules/zod/package.json +122 -0
  2426. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/package-lock.json +32 -0
  2427. package/dist/node_modules/zod-to-json-schema/dist-test/cjs/package.json +9 -0
  2428. package/dist/node_modules/zod-to-json-schema/dist-test/esm/index.js +12 -0
  2429. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/.package-lock.json +26 -0
  2430. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/index.d.ts +2 -0
  2431. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/ZodError.d.ts +164 -0
  2432. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/ZodError.js +137 -0
  2433. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/__tests__/Mocker.d.ts +17 -0
  2434. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/__tests__/Mocker.js +57 -0
  2435. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/datetime.d.ts +5 -0
  2436. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/datetime.js +54 -0
  2437. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
  2438. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/discriminatedUnion.js +79 -0
  2439. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/index.d.ts +1 -0
  2440. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/index.js +59 -0
  2441. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/ipv4.d.ts +5 -0
  2442. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/ipv4.js +54 -0
  2443. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/object.d.ts +5 -0
  2444. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/object.js +70 -0
  2445. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/primitives.d.ts +5 -0
  2446. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/primitives.js +170 -0
  2447. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/realworld.d.ts +5 -0
  2448. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/realworld.js +56 -0
  2449. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/string.d.ts +5 -0
  2450. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/string.js +55 -0
  2451. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/union.d.ts +5 -0
  2452. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/benchmarks/union.js +79 -0
  2453. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/errors.d.ts +5 -0
  2454. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/errors.js +17 -0
  2455. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/external.d.ts +6 -0
  2456. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/external.js +22 -0
  2457. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/enumUtil.d.ts +8 -0
  2458. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/enumUtil.js +2 -0
  2459. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/errorUtil.d.ts +9 -0
  2460. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/errorUtil.js +8 -0
  2461. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/parseUtil.d.ts +78 -0
  2462. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/parseUtil.js +125 -0
  2463. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/partialUtil.d.ts +8 -0
  2464. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/partialUtil.js +2 -0
  2465. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/typeAliases.d.ts +2 -0
  2466. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/typeAliases.js +2 -0
  2467. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/util.d.ts +82 -0
  2468. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/helpers/util.js +142 -0
  2469. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/index.d.ts +4 -0
  2470. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/index.js +33 -0
  2471. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/index.umd.js +4520 -0
  2472. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/locales/en.d.ts +3 -0
  2473. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/locales/en.js +129 -0
  2474. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/standard-schema.d.ts +102 -0
  2475. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/standard-schema.js +2 -0
  2476. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/types.d.ts +1062 -0
  2477. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/lib/types.js +3846 -0
  2478. package/dist/node_modules/zod-to-json-schema/dist-test/esm/node_modules/zod/package.json +122 -0
  2479. package/dist/node_modules/zod-to-json-schema/dist-test/esm/package-lock.json +32 -0
  2480. package/dist/node_modules/zod-to-json-schema/dist-test/esm/package.json +11 -0
  2481. package/dist/node_modules/zod-to-json-schema/dist-test/package.json +5 -0
  2482. package/dist/node_modules/zod-to-json-schema/dist-test/types/index.ts +14 -0
  2483. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/.package-lock.json +29 -0
  2484. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/index.d.ts +2 -0
  2485. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/ZodError.d.ts +164 -0
  2486. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/ZodError.js +137 -0
  2487. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/__tests__/Mocker.d.ts +17 -0
  2488. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/__tests__/Mocker.js +57 -0
  2489. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/datetime.d.ts +5 -0
  2490. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/datetime.js +54 -0
  2491. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
  2492. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/discriminatedUnion.js +79 -0
  2493. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/index.d.ts +1 -0
  2494. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/index.js +59 -0
  2495. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/ipv4.d.ts +5 -0
  2496. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/ipv4.js +54 -0
  2497. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/object.d.ts +5 -0
  2498. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/object.js +70 -0
  2499. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/primitives.d.ts +5 -0
  2500. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/primitives.js +170 -0
  2501. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/realworld.d.ts +5 -0
  2502. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/realworld.js +56 -0
  2503. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/string.d.ts +5 -0
  2504. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/string.js +55 -0
  2505. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/union.d.ts +5 -0
  2506. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/benchmarks/union.js +79 -0
  2507. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/errors.d.ts +5 -0
  2508. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/errors.js +17 -0
  2509. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/external.d.ts +6 -0
  2510. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/external.js +22 -0
  2511. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/enumUtil.d.ts +8 -0
  2512. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/enumUtil.js +2 -0
  2513. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/errorUtil.d.ts +9 -0
  2514. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/errorUtil.js +8 -0
  2515. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/parseUtil.d.ts +78 -0
  2516. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/parseUtil.js +125 -0
  2517. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/partialUtil.d.ts +8 -0
  2518. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/partialUtil.js +2 -0
  2519. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/typeAliases.d.ts +2 -0
  2520. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/typeAliases.js +2 -0
  2521. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/util.d.ts +82 -0
  2522. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/helpers/util.js +142 -0
  2523. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/index.d.ts +4 -0
  2524. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/index.js +33 -0
  2525. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/index.umd.js +4520 -0
  2526. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/locales/en.d.ts +3 -0
  2527. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/locales/en.js +129 -0
  2528. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/standard-schema.d.ts +102 -0
  2529. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/standard-schema.js +2 -0
  2530. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/types.d.ts +1062 -0
  2531. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/lib/types.js +3846 -0
  2532. package/dist/node_modules/zod-to-json-schema/dist-test/types/node_modules/zod/package.json +122 -0
  2533. package/dist/node_modules/zod-to-json-schema/dist-test/types/package-lock.json +35 -0
  2534. package/dist/node_modules/zod-to-json-schema/dist-test/types/package.json +9 -0
  2535. package/dist/node_modules/zod-to-json-schema/package.json +1 -0
  2536. package/dist/node_modules/zod-to-json-schema/postcjs.ts +3 -0
  2537. package/dist/node_modules/zod-to-json-schema/postesm.ts +3 -0
  2538. package/dist/server/ai-employees/ai-employee.d.ts +78 -0
  2539. package/dist/server/ai-employees/ai-employee.js +817 -0
  2540. package/dist/server/ai-employees/ai-employees-manager.d.ts +16 -0
  2541. package/dist/server/{llm-providers/handlers/parse-messages.js → ai-employees/ai-employees-manager.js} +26 -35
  2542. package/dist/server/ai-employees/built-in/ai-coding/document/basic/flow-resource.d.ts +13 -0
  2543. package/dist/server/ai-employees/built-in/ai-coding/document/basic/flow-resource.js +256 -0
  2544. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/index.d.ts +15 -0
  2545. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/index.js +48 -0
  2546. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_accounts_en.d.ts +13 -0
  2547. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_accounts_en.js +452 -0
  2548. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_contacts_en.d.ts +13 -0
  2549. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_contacts_en.js +363 -0
  2550. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_opportunities_en.d.ts +13 -0
  2551. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_opportunities_en.js +270 -0
  2552. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_quotations_en.d.ts +13 -0
  2553. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_quotations_en.js +219 -0
  2554. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_tickets_en.d.ts +13 -0
  2555. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-column/js_columns_for_tickets_en.js +409 -0
  2556. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/accounts_filter_ant_style.d.ts +13 -0
  2557. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/accounts_filter_ant_style.js +324 -0
  2558. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/contacts_filter_ant_style.d.ts +13 -0
  2559. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/contacts_filter_ant_style.js +309 -0
  2560. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/index.d.ts +15 -0
  2561. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/index.js +50 -0
  2562. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/leads_filter_ant_style.d.ts +13 -0
  2563. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/leads_filter_ant_style.js +345 -0
  2564. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/opportunities_filter_ant_style.d.ts +13 -0
  2565. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/opportunities_filter_ant_style.js +381 -0
  2566. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/product_categories_ant_style.d.ts +13 -0
  2567. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/product_categories_ant_style.js +545 -0
  2568. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/tickets_filter_ant_style.d.ts +13 -0
  2569. package/dist/server/ai-employees/built-in/ai-coding/document/example/js-filter/tickets_filter_ant_style.js +346 -0
  2570. package/dist/server/ai-employees/built-in/ai-coding/document/js-action.d.ts +13 -0
  2571. package/dist/server/ai-employees/built-in/ai-coding/document/js-action.js +102 -0
  2572. package/dist/server/ai-employees/built-in/ai-coding/document/js-block.d.ts +13 -0
  2573. package/dist/server/ai-employees/built-in/ai-coding/document/js-block.js +314 -0
  2574. package/dist/server/ai-employees/built-in/ai-coding/document/js-column.d.ts +13 -0
  2575. package/dist/server/ai-employees/built-in/ai-coding/document/js-column.js +113 -0
  2576. package/dist/server/ai-employees/built-in/ai-coding/document/js-field.d.ts +13 -0
  2577. package/dist/server/ai-employees/built-in/ai-coding/document/js-field.js +498 -0
  2578. package/dist/server/ai-employees/built-in/ai-coding/document/js-item.d.ts +13 -0
  2579. package/dist/server/ai-employees/built-in/ai-coding/document/js-item.js +184 -0
  2580. package/dist/server/ai-employees/built-in/ai-coding/index.d.ts +37 -0
  2581. package/dist/server/ai-employees/built-in/ai-coding/index.js +59 -0
  2582. package/dist/server/ai-employees/built-in/ai-coding/profile.d.ts +27 -0
  2583. package/dist/server/ai-employees/built-in/ai-coding/profile.js +60 -0
  2584. package/dist/server/ai-employees/built-in/ai-coding/prompt.d.ts +12 -0
  2585. package/dist/server/ai-employees/built-in/ai-coding/prompt.js +54 -0
  2586. package/dist/server/ai-employees/built-in/data-modeling/index.d.ts +37 -0
  2587. package/dist/server/ai-employees/built-in/data-modeling/index.js +67 -0
  2588. package/dist/server/ai-employees/built-in/data-modeling/profile.d.ts +27 -0
  2589. package/dist/server/ai-employees/built-in/data-modeling/profile.js +60 -0
  2590. package/dist/server/ai-employees/built-in/data-modeling/prompt.d.ts +12 -0
  2591. package/dist/server/ai-employees/built-in/data-modeling/prompt.js +268 -0
  2592. package/dist/server/ai-employees/built-in/data-organizer/index.d.ts +37 -0
  2593. package/dist/server/ai-employees/built-in/data-organizer/index.js +63 -0
  2594. package/dist/server/ai-employees/built-in/data-organizer/profile.d.ts +27 -0
  2595. package/dist/server/ai-employees/built-in/data-organizer/profile.js +60 -0
  2596. package/dist/server/ai-employees/built-in/data-organizer/prompt.d.ts +12 -0
  2597. package/dist/server/ai-employees/built-in/data-organizer/prompt.js +75 -0
  2598. package/dist/server/ai-employees/built-in/form-filler/index.d.ts +37 -0
  2599. package/dist/server/ai-employees/built-in/form-filler/index.js +48 -0
  2600. package/dist/server/ai-employees/built-in/form-filler/profile.d.ts +27 -0
  2601. package/dist/server/ai-employees/built-in/form-filler/profile.js +60 -0
  2602. package/dist/server/ai-employees/built-in/form-filler/prompt.d.ts +12 -0
  2603. package/dist/server/ai-employees/built-in/form-filler/prompt.js +39 -0
  2604. package/dist/server/ai-employees/built-in/insights-analyst/index.d.ts +37 -0
  2605. package/dist/server/ai-employees/built-in/insights-analyst/index.js +59 -0
  2606. package/dist/server/ai-employees/built-in/insights-analyst/profile.d.ts +27 -0
  2607. package/dist/server/ai-employees/built-in/insights-analyst/profile.js +60 -0
  2608. package/dist/server/ai-employees/built-in/insights-analyst/prompt.d.ts +12 -0
  2609. package/dist/server/ai-employees/built-in/insights-analyst/prompt.js +122 -0
  2610. package/dist/server/ai-employees/built-in/nocobase-assistant/index.d.ts +34 -0
  2611. package/dist/server/ai-employees/built-in/nocobase-assistant/index.js +50 -0
  2612. package/dist/server/ai-employees/built-in/nocobase-assistant/profile.d.ts +27 -0
  2613. package/dist/server/ai-employees/built-in/nocobase-assistant/profile.js +60 -0
  2614. package/dist/server/ai-employees/built-in/nocobase-assistant/prompt.d.ts +12 -0
  2615. package/dist/server/ai-employees/built-in/nocobase-assistant/prompt.js +52 -0
  2616. package/dist/server/ai-employees/built-in/research-analyst/index.d.ts +37 -0
  2617. package/dist/server/ai-employees/built-in/research-analyst/index.js +63 -0
  2618. package/dist/server/ai-employees/built-in/research-analyst/profile.d.ts +27 -0
  2619. package/dist/server/ai-employees/built-in/research-analyst/profile.js +60 -0
  2620. package/dist/server/ai-employees/built-in/research-analyst/prompt.d.ts +12 -0
  2621. package/dist/server/ai-employees/built-in/research-analyst/prompt.js +66 -0
  2622. package/dist/server/ai-employees/built-in/translator/index.d.ts +37 -0
  2623. package/dist/server/ai-employees/built-in/translator/index.js +63 -0
  2624. package/dist/server/ai-employees/built-in/translator/profile.d.ts +27 -0
  2625. package/dist/server/ai-employees/built-in/translator/profile.js +60 -0
  2626. package/dist/server/ai-employees/built-in/translator/prompt.d.ts +12 -0
  2627. package/dist/server/ai-employees/built-in/translator/prompt.js +78 -0
  2628. package/dist/server/ai-employees/prompts.d.ts +25 -0
  2629. package/dist/server/ai-employees/prompts.js +145 -0
  2630. package/dist/server/ai-employees/templates/form-assistant.d.ts +37 -0
  2631. package/dist/server/ai-employees/templates/form-assistant.js +71 -0
  2632. package/dist/server/ai-employees/templates/index.d.ts +9 -0
  2633. package/dist/server/ai-employees/templates/index.js +46 -0
  2634. package/dist/server/collections/ai-context-datasource.d.ts +10 -0
  2635. package/dist/server/collections/ai-context-datasource.js +44 -0
  2636. package/dist/server/collections/ai-conversations.d.ts +10 -0
  2637. package/dist/server/collections/ai-conversations.js +78 -0
  2638. package/dist/server/collections/ai-employees.d.ts +10 -0
  2639. package/dist/server/collections/ai-employees.js +71 -0
  2640. package/dist/server/collections/ai-files.d.ts +10 -0
  2641. package/dist/server/collections/ai-files.js +85 -0
  2642. package/dist/server/collections/ai-messages.d.ts +10 -0
  2643. package/dist/server/collections/ai-messages.js +68 -0
  2644. package/dist/server/collections/ai-settings.d.ts +10 -0
  2645. package/dist/server/collections/ai-settings.js +45 -0
  2646. package/dist/server/collections/ai-tool-messages.d.ts +3 -0
  2647. package/dist/server/collections/ai-tool-messages.js +96 -0
  2648. package/dist/server/collections/roles.d.ts +14 -0
  2649. package/dist/server/collections/roles.js +52 -0
  2650. package/dist/server/collections/users-ai-employees.d.ts +10 -0
  2651. package/dist/server/collections/users-ai-employees.js +43 -0
  2652. package/dist/server/collections/users.d.ts +14 -0
  2653. package/dist/server/collections/users.js +48 -0
  2654. package/dist/server/features/feature-manager.d.ts +22 -0
  2655. package/dist/server/features/feature-manager.js +54 -0
  2656. package/dist/server/features/index.d.ts +31 -0
  2657. package/dist/server/features/index.js +36 -0
  2658. package/dist/server/features/knowledge-base.d.ts +12 -0
  2659. package/dist/server/features/knowledge-base.js +24 -0
  2660. package/dist/server/features/vector-database-provider.d.ts +32 -0
  2661. package/dist/server/features/vector-database-provider.js +24 -0
  2662. package/dist/server/features/vector-database.d.ts +20 -0
  2663. package/dist/server/features/vector-database.js +24 -0
  2664. package/dist/server/features/vector-store-provider.d.ts +35 -0
  2665. package/dist/server/features/vector-store-provider.js +24 -0
  2666. package/dist/server/index.d.ts +5 -2
  2667. package/dist/server/index.js +7 -2
  2668. package/dist/server/llm-providers/anthropic.d.ts +32 -0
  2669. package/dist/server/llm-providers/anthropic.js +165 -0
  2670. package/dist/server/llm-providers/dashscope.d.ts +31 -0
  2671. package/dist/server/llm-providers/dashscope.js +118 -0
  2672. package/dist/server/llm-providers/deepseek.d.ts +3 -2
  2673. package/dist/server/llm-providers/deepseek.js +7 -1
  2674. package/dist/server/llm-providers/google-genai.d.ts +47 -0
  2675. package/dist/server/llm-providers/google-genai.js +192 -0
  2676. package/dist/server/llm-providers/openai.d.ts +23 -5
  2677. package/dist/server/llm-providers/openai.js +114 -4
  2678. package/dist/server/llm-providers/provider.d.ts +63 -13
  2679. package/dist/server/llm-providers/provider.js +144 -15
  2680. package/dist/server/llm-providers/tongyi.d.ts +8 -0
  2681. package/dist/server/llm-providers/tongyi.js +9 -0
  2682. package/dist/server/manager/ai-chat-conversation.d.ts +11 -0
  2683. package/dist/server/manager/ai-chat-conversation.js +216 -0
  2684. package/dist/server/manager/ai-coding-manager.d.ts +16 -0
  2685. package/dist/server/manager/ai-coding-manager.js +88 -0
  2686. package/dist/server/manager/ai-context-datasource-manager.d.ts +36 -0
  2687. package/dist/server/manager/ai-context-datasource-manager.js +139 -0
  2688. package/dist/server/manager/ai-feature-manager.d.ts +18 -0
  2689. package/dist/server/manager/ai-feature-manager.js +73 -0
  2690. package/dist/server/manager/ai-manager.d.ts +19 -10
  2691. package/dist/server/manager/ai-manager.js +24 -5
  2692. package/dist/server/manager/built-in-manager.d.ts +18 -0
  2693. package/dist/server/manager/built-in-manager.js +165 -0
  2694. package/dist/server/manager/tool-manager.d.ts +62 -0
  2695. package/dist/server/manager/tool-manager.js +160 -0
  2696. package/dist/server/manager/work-context-handler.d.ts +11 -0
  2697. package/dist/server/manager/work-context-handler.js +99 -0
  2698. package/dist/server/migrations/20250517214622-init-settings.d.ts +14 -0
  2699. package/dist/server/migrations/20250517214622-init-settings.js +44 -0
  2700. package/dist/server/migrations/20250923221104-setup-build-in.d.ts +14 -0
  2701. package/dist/server/migrations/20250923221104-setup-build-in.js +40 -0
  2702. package/dist/server/plugin.d.ts +25 -0
  2703. package/dist/server/plugin.js +187 -1
  2704. package/dist/server/resource/ai.js +78 -2
  2705. package/dist/server/resource/aiContextDatasources.d.ts +10 -0
  2706. package/dist/server/resource/aiContextDatasources.js +45 -0
  2707. package/dist/server/resource/aiConversations.d.ts +28 -0
  2708. package/dist/server/resource/aiConversations.js +576 -0
  2709. package/dist/server/resource/aiEmployees.d.ts +13 -0
  2710. package/dist/server/resource/aiEmployees.js +175 -0
  2711. package/dist/server/resource/aiSettings.d.ts +11 -0
  2712. package/dist/server/resource/aiSettings.js +85 -0
  2713. package/dist/server/resource/aiTools.d.ts +11 -0
  2714. package/dist/server/resource/aiTools.js +69 -0
  2715. package/dist/server/snowflake.d.ts +15 -0
  2716. package/dist/server/snowflake.js +83 -0
  2717. package/dist/server/tools/chart-generator.d.ts +10 -0
  2718. package/dist/server/tools/chart-generator.js +59 -0
  2719. package/dist/server/tools/data-modeling.d.ts +13 -0
  2720. package/dist/server/tools/data-modeling.js +387 -0
  2721. package/dist/server/tools/form-filler.d.ts +10 -0
  2722. package/dist/server/tools/form-filler.js +56 -0
  2723. package/dist/server/tools/index.d.ts +12 -0
  2724. package/dist/server/tools/index.js +36 -0
  2725. package/dist/server/tools/workflow-caller.d.ts +10 -0
  2726. package/dist/server/tools/workflow-caller.js +118 -0
  2727. package/dist/server/types/ai-chat-conversation.type.d.ts +53 -0
  2728. package/dist/server/types/ai-chat-conversation.type.js +24 -0
  2729. package/dist/server/types/ai-message.type.d.ts +45 -0
  2730. package/dist/server/types/ai-message.type.js +24 -0
  2731. package/dist/server/types/index.d.ts +12 -0
  2732. package/dist/server/types/index.js +36 -0
  2733. package/dist/server/types/knowledge-base.type.d.ts +33 -0
  2734. package/dist/server/types/knowledge-base.type.js +24 -0
  2735. package/dist/server/types/work-context-handler.type.d.ts +21 -0
  2736. package/dist/server/types/work-context-handler.type.js +24 -0
  2737. package/dist/server/utils.d.ts +19 -0
  2738. package/dist/server/utils.js +136 -0
  2739. package/dist/server/workflow/nodes/llm/index.d.ts +1 -1
  2740. package/dist/server/workflow/nodes/llm/index.js +10 -4
  2741. package/dist/server/workflow/nodes/llm/parse-messages.d.ts +9 -0
  2742. package/dist/server/workflow/nodes/llm/parse-messages.js +145 -0
  2743. package/dist/server/workflow/triggers/ai-employee/index.d.ts +12 -0
  2744. package/dist/server/workflow/triggers/ai-employee/index.js +39 -0
  2745. package/package.json +37 -13
  2746. package/dist/client/3587cbadd24912c3.js +0 -10
  2747. package/dist/client/82663e487c19373d.js +0 -10
  2748. package/dist/node_modules/@langchain/core/dist/utils/types/is_zod_schema.cjs +0 -16
  2749. package/dist/node_modules/@langchain/core/dist/utils/types/is_zod_schema.d.ts +0 -8
  2750. package/dist/node_modules/@langchain/core/dist/utils/types/is_zod_schema.js +0 -12
  2751. /package/dist/client/{llm-providers/components → ai-employees/chatbox}/Messages.d.ts +0 -0
  2752. /package/dist/node_modules/@langchain/{core/node_modules/zod/lib/helpers/enumUtil.js → anthropic/dist/load/map_keys.cjs} +0 -0
  2753. /package/dist/node_modules/@langchain/{core/node_modules/zod/lib/benchmarks/index.d.ts → anthropic/dist/load/map_keys.js} +0 -0
  2754. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/cjs/v3}/benchmarks/ipv4.js +0 -0
  2755. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib/helpers/partialUtil.js → dist/cjs/v3/helpers/enumUtil.js} +0 -0
  2756. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib/helpers/typeAliases.js → dist/cjs/v3/helpers/partialUtil.js} +0 -0
  2757. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib/standard-schema.js → dist/cjs/v3/helpers/typeAliases.js} +0 -0
  2758. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib/__tests__ → dist/cjs/v3/tests}/Mocker.js +0 -0
  2759. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/datetime.d.ts +0 -0
  2760. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/discriminatedUnion.d.ts +0 -0
  2761. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/ipv4.d.ts +0 -0
  2762. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/object.d.ts +0 -0
  2763. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/primitives.d.ts +0 -0
  2764. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/realworld.d.ts +0 -0
  2765. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/string.d.ts +0 -0
  2766. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/benchmarks/union.d.ts +0 -0
  2767. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/helpers/enumUtil.d.ts +0 -0
  2768. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/helpers/typeAliases.d.ts +0 -0
  2769. /package/dist/node_modules/@langchain/core/node_modules/zod/{lib → dist/types/v3}/standard-schema.d.ts +0 -0
  2770. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/index.d.ts +0 -0
  2771. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/ZodError.d.ts +0 -0
  2772. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/ZodError.js +0 -0
  2773. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/__tests__/Mocker.d.ts +0 -0
  2774. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/datetime.js +0 -0
  2775. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/discriminatedUnion.js +0 -0
  2776. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/index.js +0 -0
  2777. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/object.js +0 -0
  2778. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/primitives.js +0 -0
  2779. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/realworld.js +0 -0
  2780. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/string.js +0 -0
  2781. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/benchmarks/union.js +0 -0
  2782. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/errors.d.ts +0 -0
  2783. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/errors.js +0 -0
  2784. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/external.d.ts +0 -0
  2785. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/external.js +0 -0
  2786. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/helpers/errorUtil.d.ts +0 -0
  2787. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/helpers/errorUtil.js +0 -0
  2788. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/helpers/parseUtil.d.ts +0 -0
  2789. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/helpers/parseUtil.js +0 -0
  2790. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/helpers/partialUtil.d.ts +0 -0
  2791. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/helpers/util.d.ts +0 -0
  2792. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/helpers/util.js +0 -0
  2793. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/index.d.ts +0 -0
  2794. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/index.js +0 -0
  2795. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/index.umd.js +0 -0
  2796. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/locales/en.d.ts +0 -0
  2797. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/locales/en.js +0 -0
  2798. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/types.d.ts +0 -0
  2799. /package/dist/node_modules/{@langchain/core → zod-to-json-schema/dist-test/cjs}/node_modules/zod/lib/types.js +0 -0
@@ -0,0 +1,5069 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import {
4
+ type ExtractParsedContentFromParams,
5
+ parseResponse,
6
+ type ResponseCreateParamsWithTools,
7
+ addOutputText,
8
+ } from '../../lib/ResponsesParser';
9
+ import { ResponseStream, ResponseStreamParams } from '../../lib/responses/ResponseStream';
10
+ import { APIResource } from '../../core/resource';
11
+ import * as ResponsesAPI from './responses';
12
+ import * as Shared from '../shared';
13
+ import * as InputItemsAPI from './input-items';
14
+ import { InputItemListParams, InputItems, ResponseItemList } from './input-items';
15
+ import { APIPromise } from '../../core/api-promise';
16
+ import { CursorPage } from '../../core/pagination';
17
+ import { Stream } from '../../core/streaming';
18
+ import { buildHeaders } from '../../internal/headers';
19
+ import { RequestOptions } from '../../internal/request-options';
20
+ import { path } from '../../internal/utils/path';
21
+
22
+ export interface ParsedResponseOutputText<ParsedT> extends ResponseOutputText {
23
+ parsed: ParsedT | null;
24
+ }
25
+
26
+ export type ParsedContent<ParsedT> = ParsedResponseOutputText<ParsedT> | ResponseOutputRefusal;
27
+
28
+ export interface ParsedResponseOutputMessage<ParsedT> extends ResponseOutputMessage {
29
+ content: ParsedContent<ParsedT>[];
30
+ }
31
+
32
+ export interface ParsedResponseFunctionToolCall extends ResponseFunctionToolCall {
33
+ parsed_arguments: any;
34
+ }
35
+
36
+ export type ParsedResponseOutputItem<ParsedT> =
37
+ | ParsedResponseOutputMessage<ParsedT>
38
+ | ParsedResponseFunctionToolCall
39
+ | ResponseFileSearchToolCall
40
+ | ResponseFunctionWebSearch
41
+ | ResponseComputerToolCall
42
+ | ResponseReasoningItem
43
+ | ResponseOutputItem.ImageGenerationCall
44
+ | ResponseCodeInterpreterToolCall
45
+ | ResponseOutputItem.LocalShellCall
46
+ | ResponseOutputItem.McpCall
47
+ | ResponseOutputItem.McpListTools
48
+ | ResponseOutputItem.McpApprovalRequest;
49
+
50
+ export interface ParsedResponse<ParsedT> extends Response {
51
+ output: Array<ParsedResponseOutputItem<ParsedT>>;
52
+
53
+ output_parsed: ParsedT | null;
54
+ }
55
+
56
+ export type ResponseParseParams = ResponseCreateParamsNonStreaming;
57
+
58
+ export class Responses extends APIResource {
59
+ inputItems: InputItemsAPI.InputItems = new InputItemsAPI.InputItems(this._client);
60
+
61
+ /**
62
+ * Creates a model response. Provide
63
+ * [text](https://platform.openai.com/docs/guides/text) or
64
+ * [image](https://platform.openai.com/docs/guides/images) inputs to generate
65
+ * [text](https://platform.openai.com/docs/guides/text) or
66
+ * [JSON](https://platform.openai.com/docs/guides/structured-outputs) outputs. Have
67
+ * the model call your own
68
+ * [custom code](https://platform.openai.com/docs/guides/function-calling) or use
69
+ * built-in [tools](https://platform.openai.com/docs/guides/tools) like
70
+ * [web search](https://platform.openai.com/docs/guides/tools-web-search) or
71
+ * [file search](https://platform.openai.com/docs/guides/tools-file-search) to use
72
+ * your own data as input for the model's response.
73
+ *
74
+ * @example
75
+ * ```ts
76
+ * const response = await client.responses.create();
77
+ * ```
78
+ */
79
+ create(body: ResponseCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Response>;
80
+ create(
81
+ body: ResponseCreateParamsStreaming,
82
+ options?: RequestOptions,
83
+ ): APIPromise<Stream<ResponseStreamEvent>>;
84
+ create(
85
+ body: ResponseCreateParamsBase,
86
+ options?: RequestOptions,
87
+ ): APIPromise<Stream<ResponseStreamEvent> | Response>;
88
+ create(
89
+ body: ResponseCreateParams,
90
+ options?: RequestOptions,
91
+ ): APIPromise<Response> | APIPromise<Stream<ResponseStreamEvent>> {
92
+ return (
93
+ this._client.post('/responses', { body, ...options, stream: body.stream ?? false }) as
94
+ | APIPromise<Response>
95
+ | APIPromise<Stream<ResponseStreamEvent>>
96
+ )._thenUnwrap((rsp) => {
97
+ if ('object' in rsp && rsp.object === 'response') {
98
+ addOutputText(rsp as Response);
99
+ }
100
+
101
+ return rsp;
102
+ }) as APIPromise<Response> | APIPromise<Stream<ResponseStreamEvent>>;
103
+ }
104
+
105
+ /**
106
+ * Retrieves a model response with the given ID.
107
+ *
108
+ * @example
109
+ * ```ts
110
+ * const response = await client.responses.retrieve(
111
+ * 'resp_677efb5139a88190b512bc3fef8e535d',
112
+ * );
113
+ * ```
114
+ */
115
+ retrieve(
116
+ responseID: string,
117
+ query?: ResponseRetrieveParamsNonStreaming,
118
+ options?: RequestOptions,
119
+ ): APIPromise<Response>;
120
+ retrieve(
121
+ responseID: string,
122
+ query: ResponseRetrieveParamsStreaming,
123
+ options?: RequestOptions,
124
+ ): APIPromise<Stream<ResponseStreamEvent>>;
125
+ retrieve(
126
+ responseID: string,
127
+ query?: ResponseRetrieveParamsBase | undefined,
128
+ options?: RequestOptions,
129
+ ): APIPromise<Stream<ResponseStreamEvent> | Response>;
130
+ retrieve(
131
+ responseID: string,
132
+ query: ResponseRetrieveParams | undefined = {},
133
+ options?: RequestOptions,
134
+ ): APIPromise<Response> | APIPromise<Stream<ResponseStreamEvent>> {
135
+ return (
136
+ this._client.get(path`/responses/${responseID}`, {
137
+ query,
138
+ ...options,
139
+ stream: query?.stream ?? false,
140
+ }) as APIPromise<Response> | APIPromise<Stream<ResponseStreamEvent>>
141
+ )._thenUnwrap((rsp) => {
142
+ if ('object' in rsp && rsp.object === 'response') {
143
+ addOutputText(rsp as Response);
144
+ }
145
+
146
+ return rsp;
147
+ }) as APIPromise<Response> | APIPromise<Stream<ResponseStreamEvent>>;
148
+ }
149
+
150
+ /**
151
+ * Deletes a model response with the given ID.
152
+ *
153
+ * @example
154
+ * ```ts
155
+ * await client.responses.delete(
156
+ * 'resp_677efb5139a88190b512bc3fef8e535d',
157
+ * );
158
+ * ```
159
+ */
160
+ delete(responseID: string, options?: RequestOptions): APIPromise<void> {
161
+ return this._client.delete(path`/responses/${responseID}`, {
162
+ ...options,
163
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
164
+ });
165
+ }
166
+
167
+ parse<Params extends ResponseCreateParamsWithTools, ParsedT = ExtractParsedContentFromParams<Params>>(
168
+ body: Params,
169
+ options?: RequestOptions,
170
+ ): APIPromise<ParsedResponse<ParsedT>> {
171
+ return this._client.responses
172
+ .create(body, options)
173
+ ._thenUnwrap((response) => parseResponse(response as Response, body));
174
+ }
175
+
176
+ /**
177
+ * Creates a model response stream
178
+ */
179
+ stream<Params extends ResponseStreamParams, ParsedT = ExtractParsedContentFromParams<Params>>(
180
+ body: Params,
181
+ options?: RequestOptions,
182
+ ): ResponseStream<ParsedT> {
183
+ return ResponseStream.createResponse<ParsedT>(this._client, body, options);
184
+ }
185
+
186
+ /**
187
+ * Cancels a model response with the given ID. Only responses created with the
188
+ * `background` parameter set to `true` can be cancelled.
189
+ * [Learn more](https://platform.openai.com/docs/guides/background).
190
+ *
191
+ * @example
192
+ * ```ts
193
+ * const response = await client.responses.cancel(
194
+ * 'resp_677efb5139a88190b512bc3fef8e535d',
195
+ * );
196
+ * ```
197
+ */
198
+ cancel(responseID: string, options?: RequestOptions): APIPromise<Response> {
199
+ return this._client.post(path`/responses/${responseID}/cancel`, options);
200
+ }
201
+ }
202
+
203
+ export type ResponseItemsPage = CursorPage<ResponseItem>;
204
+
205
+ /**
206
+ * A tool that controls a virtual computer. Learn more about the
207
+ * [computer tool](https://platform.openai.com/docs/guides/tools-computer-use).
208
+ */
209
+ export interface ComputerTool {
210
+ /**
211
+ * The height of the computer display.
212
+ */
213
+ display_height: number;
214
+
215
+ /**
216
+ * The width of the computer display.
217
+ */
218
+ display_width: number;
219
+
220
+ /**
221
+ * The type of computer environment to control.
222
+ */
223
+ environment: 'windows' | 'mac' | 'linux' | 'ubuntu' | 'browser';
224
+
225
+ /**
226
+ * The type of the computer use tool. Always `computer_use_preview`.
227
+ */
228
+ type: 'computer_use_preview';
229
+ }
230
+
231
+ /**
232
+ * A message input to the model with a role indicating instruction following
233
+ * hierarchy. Instructions given with the `developer` or `system` role take
234
+ * precedence over instructions given with the `user` role. Messages with the
235
+ * `assistant` role are presumed to have been generated by the model in previous
236
+ * interactions.
237
+ */
238
+ export interface EasyInputMessage {
239
+ /**
240
+ * Text, image, or audio input to the model, used to generate a response. Can also
241
+ * contain previous assistant responses.
242
+ */
243
+ content: string | ResponseInputMessageContentList;
244
+
245
+ /**
246
+ * The role of the message input. One of `user`, `assistant`, `system`, or
247
+ * `developer`.
248
+ */
249
+ role: 'user' | 'assistant' | 'system' | 'developer';
250
+
251
+ /**
252
+ * The type of the message input. Always `message`.
253
+ */
254
+ type?: 'message';
255
+ }
256
+
257
+ /**
258
+ * A tool that searches for relevant content from uploaded files. Learn more about
259
+ * the
260
+ * [file search tool](https://platform.openai.com/docs/guides/tools-file-search).
261
+ */
262
+ export interface FileSearchTool {
263
+ /**
264
+ * The type of the file search tool. Always `file_search`.
265
+ */
266
+ type: 'file_search';
267
+
268
+ /**
269
+ * The IDs of the vector stores to search.
270
+ */
271
+ vector_store_ids: Array<string>;
272
+
273
+ /**
274
+ * A filter to apply.
275
+ */
276
+ filters?: Shared.ComparisonFilter | Shared.CompoundFilter | null;
277
+
278
+ /**
279
+ * The maximum number of results to return. This number should be between 1 and 50
280
+ * inclusive.
281
+ */
282
+ max_num_results?: number;
283
+
284
+ /**
285
+ * Ranking options for search.
286
+ */
287
+ ranking_options?: FileSearchTool.RankingOptions;
288
+ }
289
+
290
+ export namespace FileSearchTool {
291
+ /**
292
+ * Ranking options for search.
293
+ */
294
+ export interface RankingOptions {
295
+ /**
296
+ * The ranker to use for the file search.
297
+ */
298
+ ranker?: 'auto' | 'default-2024-11-15';
299
+
300
+ /**
301
+ * The score threshold for the file search, a number between 0 and 1. Numbers
302
+ * closer to 1 will attempt to return only the most relevant results, but may
303
+ * return fewer results.
304
+ */
305
+ score_threshold?: number;
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Defines a function in your own code the model can choose to call. Learn more
311
+ * about
312
+ * [function calling](https://platform.openai.com/docs/guides/function-calling).
313
+ */
314
+ export interface FunctionTool {
315
+ /**
316
+ * The name of the function to call.
317
+ */
318
+ name: string;
319
+
320
+ /**
321
+ * A JSON schema object describing the parameters of the function.
322
+ */
323
+ parameters: { [key: string]: unknown } | null;
324
+
325
+ /**
326
+ * Whether to enforce strict parameter validation. Default `true`.
327
+ */
328
+ strict: boolean | null;
329
+
330
+ /**
331
+ * The type of the function tool. Always `function`.
332
+ */
333
+ type: 'function';
334
+
335
+ /**
336
+ * A description of the function. Used by the model to determine whether or not to
337
+ * call the function.
338
+ */
339
+ description?: string | null;
340
+ }
341
+
342
+ export interface Response {
343
+ /**
344
+ * Unique identifier for this Response.
345
+ */
346
+ id: string;
347
+
348
+ /**
349
+ * Unix timestamp (in seconds) of when this Response was created.
350
+ */
351
+ created_at: number;
352
+
353
+ output_text: string;
354
+
355
+ /**
356
+ * An error object returned when the model fails to generate a Response.
357
+ */
358
+ error: ResponseError | null;
359
+
360
+ /**
361
+ * Details about why the response is incomplete.
362
+ */
363
+ incomplete_details: Response.IncompleteDetails | null;
364
+
365
+ /**
366
+ * A system (or developer) message inserted into the model's context.
367
+ *
368
+ * When using along with `previous_response_id`, the instructions from a previous
369
+ * response will not be carried over to the next response. This makes it simple to
370
+ * swap out system (or developer) messages in new responses.
371
+ */
372
+ instructions: string | Array<ResponseInputItem> | null;
373
+
374
+ /**
375
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
376
+ * for storing additional information about the object in a structured format, and
377
+ * querying for objects via API or the dashboard.
378
+ *
379
+ * Keys are strings with a maximum length of 64 characters. Values are strings with
380
+ * a maximum length of 512 characters.
381
+ */
382
+ metadata: Shared.Metadata | null;
383
+
384
+ /**
385
+ * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a
386
+ * wide range of models with different capabilities, performance characteristics,
387
+ * and price points. Refer to the
388
+ * [model guide](https://platform.openai.com/docs/models) to browse and compare
389
+ * available models.
390
+ */
391
+ model: Shared.ResponsesModel;
392
+
393
+ /**
394
+ * The object type of this resource - always set to `response`.
395
+ */
396
+ object: 'response';
397
+
398
+ /**
399
+ * An array of content items generated by the model.
400
+ *
401
+ * - The length and order of items in the `output` array is dependent on the
402
+ * model's response.
403
+ * - Rather than accessing the first item in the `output` array and assuming it's
404
+ * an `assistant` message with the content generated by the model, you might
405
+ * consider using the `output_text` property where supported in SDKs.
406
+ */
407
+ output: Array<ResponseOutputItem>;
408
+
409
+ /**
410
+ * Whether to allow the model to run tool calls in parallel.
411
+ */
412
+ parallel_tool_calls: boolean;
413
+
414
+ /**
415
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
416
+ * make the output more random, while lower values like 0.2 will make it more
417
+ * focused and deterministic. We generally recommend altering this or `top_p` but
418
+ * not both.
419
+ */
420
+ temperature: number | null;
421
+
422
+ /**
423
+ * How the model should select which tool (or tools) to use when generating a
424
+ * response. See the `tools` parameter to see how to specify which tools the model
425
+ * can call.
426
+ */
427
+ tool_choice: ToolChoiceOptions | ToolChoiceTypes | ToolChoiceFunction;
428
+
429
+ /**
430
+ * An array of tools the model may call while generating a response. You can
431
+ * specify which tool to use by setting the `tool_choice` parameter.
432
+ *
433
+ * The two categories of tools you can provide the model are:
434
+ *
435
+ * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
436
+ * capabilities, like
437
+ * [web search](https://platform.openai.com/docs/guides/tools-web-search) or
438
+ * [file search](https://platform.openai.com/docs/guides/tools-file-search).
439
+ * Learn more about
440
+ * [built-in tools](https://platform.openai.com/docs/guides/tools).
441
+ * - **Function calls (custom tools)**: Functions that are defined by you, enabling
442
+ * the model to call your own code. Learn more about
443
+ * [function calling](https://platform.openai.com/docs/guides/function-calling).
444
+ */
445
+ tools: Array<Tool>;
446
+
447
+ /**
448
+ * An alternative to sampling with temperature, called nucleus sampling, where the
449
+ * model considers the results of the tokens with top_p probability mass. So 0.1
450
+ * means only the tokens comprising the top 10% probability mass are considered.
451
+ *
452
+ * We generally recommend altering this or `temperature` but not both.
453
+ */
454
+ top_p: number | null;
455
+
456
+ /**
457
+ * Whether to run the model response in the background.
458
+ * [Learn more](https://platform.openai.com/docs/guides/background).
459
+ */
460
+ background?: boolean | null;
461
+
462
+ /**
463
+ * An upper bound for the number of tokens that can be generated for a response,
464
+ * including visible output tokens and
465
+ * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
466
+ */
467
+ max_output_tokens?: number | null;
468
+
469
+ /**
470
+ * The unique ID of the previous response to the model. Use this to create
471
+ * multi-turn conversations. Learn more about
472
+ * [conversation state](https://platform.openai.com/docs/guides/conversation-state).
473
+ */
474
+ previous_response_id?: string | null;
475
+
476
+ /**
477
+ * Reference to a prompt template and its variables.
478
+ * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).
479
+ */
480
+ prompt?: ResponsePrompt | null;
481
+
482
+ /**
483
+ * **o-series models only**
484
+ *
485
+ * Configuration options for
486
+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
487
+ */
488
+ reasoning?: Shared.Reasoning | null;
489
+
490
+ /**
491
+ * Specifies the latency tier to use for processing the request. This parameter is
492
+ * relevant for customers subscribed to the scale tier service:
493
+ *
494
+ * - If set to 'auto', and the Project is Scale tier enabled, the system will
495
+ * utilize scale tier credits until they are exhausted.
496
+ * - If set to 'auto', and the Project is not Scale tier enabled, the request will
497
+ * be processed using the default service tier with a lower uptime SLA and no
498
+ * latency guarantee.
499
+ * - If set to 'default', the request will be processed using the default service
500
+ * tier with a lower uptime SLA and no latency guarantee.
501
+ * - If set to 'flex', the request will be processed with the Flex Processing
502
+ * service tier.
503
+ * [Learn more](https://platform.openai.com/docs/guides/flex-processing).
504
+ * - When not set, the default behavior is 'auto'.
505
+ *
506
+ * When this parameter is set, the response body will include the `service_tier`
507
+ * utilized.
508
+ */
509
+ service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null;
510
+
511
+ /**
512
+ * The status of the response generation. One of `completed`, `failed`,
513
+ * `in_progress`, `cancelled`, `queued`, or `incomplete`.
514
+ */
515
+ status?: ResponseStatus;
516
+
517
+ /**
518
+ * Configuration options for a text response from the model. Can be plain text or
519
+ * structured JSON data. Learn more:
520
+ *
521
+ * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
522
+ * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
523
+ */
524
+ text?: ResponseTextConfig;
525
+
526
+ /**
527
+ * The truncation strategy to use for the model response.
528
+ *
529
+ * - `auto`: If the context of this response and previous ones exceeds the model's
530
+ * context window size, the model will truncate the response to fit the context
531
+ * window by dropping input items in the middle of the conversation.
532
+ * - `disabled` (default): If a model response will exceed the context window size
533
+ * for a model, the request will fail with a 400 error.
534
+ */
535
+ truncation?: 'auto' | 'disabled' | null;
536
+
537
+ /**
538
+ * Represents token usage details including input tokens, output tokens, a
539
+ * breakdown of output tokens, and the total tokens used.
540
+ */
541
+ usage?: ResponseUsage;
542
+
543
+ /**
544
+ * A stable identifier for your end-users. Used to boost cache hit rates by better
545
+ * bucketing similar requests and to help OpenAI detect and prevent abuse.
546
+ * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).
547
+ */
548
+ user?: string;
549
+ }
550
+
551
+ export namespace Response {
552
+ /**
553
+ * Details about why the response is incomplete.
554
+ */
555
+ export interface IncompleteDetails {
556
+ /**
557
+ * The reason why the response is incomplete.
558
+ */
559
+ reason?: 'max_output_tokens' | 'content_filter';
560
+ }
561
+ }
562
+
563
+ /**
564
+ * Emitted when there is a partial audio response.
565
+ */
566
+ export interface ResponseAudioDeltaEvent {
567
+ /**
568
+ * A chunk of Base64 encoded response audio bytes.
569
+ */
570
+ delta: string;
571
+
572
+ /**
573
+ * A sequence number for this chunk of the stream response.
574
+ */
575
+ sequence_number: number;
576
+
577
+ /**
578
+ * The type of the event. Always `response.audio.delta`.
579
+ */
580
+ type: 'response.audio.delta';
581
+ }
582
+
583
+ /**
584
+ * Emitted when the audio response is complete.
585
+ */
586
+ export interface ResponseAudioDoneEvent {
587
+ /**
588
+ * The sequence number of the delta.
589
+ */
590
+ sequence_number: number;
591
+
592
+ /**
593
+ * The type of the event. Always `response.audio.done`.
594
+ */
595
+ type: 'response.audio.done';
596
+ }
597
+
598
+ /**
599
+ * Emitted when there is a partial transcript of audio.
600
+ */
601
+ export interface ResponseAudioTranscriptDeltaEvent {
602
+ /**
603
+ * The partial transcript of the audio response.
604
+ */
605
+ delta: string;
606
+
607
+ /**
608
+ * The sequence number of this event.
609
+ */
610
+ sequence_number: number;
611
+
612
+ /**
613
+ * The type of the event. Always `response.audio.transcript.delta`.
614
+ */
615
+ type: 'response.audio.transcript.delta';
616
+ }
617
+
618
+ /**
619
+ * Emitted when the full audio transcript is completed.
620
+ */
621
+ export interface ResponseAudioTranscriptDoneEvent {
622
+ /**
623
+ * The sequence number of this event.
624
+ */
625
+ sequence_number: number;
626
+
627
+ /**
628
+ * The type of the event. Always `response.audio.transcript.done`.
629
+ */
630
+ type: 'response.audio.transcript.done';
631
+ }
632
+
633
+ /**
634
+ * Emitted when a partial code snippet is streamed by the code interpreter.
635
+ */
636
+ export interface ResponseCodeInterpreterCallCodeDeltaEvent {
637
+ /**
638
+ * The partial code snippet being streamed by the code interpreter.
639
+ */
640
+ delta: string;
641
+
642
+ /**
643
+ * The unique identifier of the code interpreter tool call item.
644
+ */
645
+ item_id: string;
646
+
647
+ /**
648
+ * The index of the output item in the response for which the code is being
649
+ * streamed.
650
+ */
651
+ output_index: number;
652
+
653
+ /**
654
+ * The sequence number of this event, used to order streaming events.
655
+ */
656
+ sequence_number: number;
657
+
658
+ /**
659
+ * The type of the event. Always `response.code_interpreter_call_code.delta`.
660
+ */
661
+ type: 'response.code_interpreter_call_code.delta';
662
+ }
663
+
664
+ /**
665
+ * Emitted when the code snippet is finalized by the code interpreter.
666
+ */
667
+ export interface ResponseCodeInterpreterCallCodeDoneEvent {
668
+ /**
669
+ * The final code snippet output by the code interpreter.
670
+ */
671
+ code: string;
672
+
673
+ /**
674
+ * The unique identifier of the code interpreter tool call item.
675
+ */
676
+ item_id: string;
677
+
678
+ /**
679
+ * The index of the output item in the response for which the code is finalized.
680
+ */
681
+ output_index: number;
682
+
683
+ /**
684
+ * The sequence number of this event, used to order streaming events.
685
+ */
686
+ sequence_number: number;
687
+
688
+ /**
689
+ * The type of the event. Always `response.code_interpreter_call_code.done`.
690
+ */
691
+ type: 'response.code_interpreter_call_code.done';
692
+ }
693
+
694
+ /**
695
+ * Emitted when the code interpreter call is completed.
696
+ */
697
+ export interface ResponseCodeInterpreterCallCompletedEvent {
698
+ /**
699
+ * The unique identifier of the code interpreter tool call item.
700
+ */
701
+ item_id: string;
702
+
703
+ /**
704
+ * The index of the output item in the response for which the code interpreter call
705
+ * is completed.
706
+ */
707
+ output_index: number;
708
+
709
+ /**
710
+ * The sequence number of this event, used to order streaming events.
711
+ */
712
+ sequence_number: number;
713
+
714
+ /**
715
+ * The type of the event. Always `response.code_interpreter_call.completed`.
716
+ */
717
+ type: 'response.code_interpreter_call.completed';
718
+ }
719
+
720
+ /**
721
+ * Emitted when a code interpreter call is in progress.
722
+ */
723
+ export interface ResponseCodeInterpreterCallInProgressEvent {
724
+ /**
725
+ * The unique identifier of the code interpreter tool call item.
726
+ */
727
+ item_id: string;
728
+
729
+ /**
730
+ * The index of the output item in the response for which the code interpreter call
731
+ * is in progress.
732
+ */
733
+ output_index: number;
734
+
735
+ /**
736
+ * The sequence number of this event, used to order streaming events.
737
+ */
738
+ sequence_number: number;
739
+
740
+ /**
741
+ * The type of the event. Always `response.code_interpreter_call.in_progress`.
742
+ */
743
+ type: 'response.code_interpreter_call.in_progress';
744
+ }
745
+
746
+ /**
747
+ * Emitted when the code interpreter is actively interpreting the code snippet.
748
+ */
749
+ export interface ResponseCodeInterpreterCallInterpretingEvent {
750
+ /**
751
+ * The unique identifier of the code interpreter tool call item.
752
+ */
753
+ item_id: string;
754
+
755
+ /**
756
+ * The index of the output item in the response for which the code interpreter is
757
+ * interpreting code.
758
+ */
759
+ output_index: number;
760
+
761
+ /**
762
+ * The sequence number of this event, used to order streaming events.
763
+ */
764
+ sequence_number: number;
765
+
766
+ /**
767
+ * The type of the event. Always `response.code_interpreter_call.interpreting`.
768
+ */
769
+ type: 'response.code_interpreter_call.interpreting';
770
+ }
771
+
772
+ /**
773
+ * A tool call to run code.
774
+ */
775
+ export interface ResponseCodeInterpreterToolCall {
776
+ /**
777
+ * The unique ID of the code interpreter tool call.
778
+ */
779
+ id: string;
780
+
781
+ /**
782
+ * The code to run, or null if not available.
783
+ */
784
+ code: string | null;
785
+
786
+ /**
787
+ * The ID of the container used to run the code.
788
+ */
789
+ container_id: string;
790
+
791
+ /**
792
+ * The outputs generated by the code interpreter, such as logs or images. Can be
793
+ * null if no outputs are available.
794
+ */
795
+ outputs: Array<ResponseCodeInterpreterToolCall.Logs | ResponseCodeInterpreterToolCall.Image> | null;
796
+
797
+ /**
798
+ * The status of the code interpreter tool call.
799
+ */
800
+ status: 'in_progress' | 'completed' | 'incomplete' | 'interpreting' | 'failed';
801
+
802
+ /**
803
+ * The type of the code interpreter tool call. Always `code_interpreter_call`.
804
+ */
805
+ type: 'code_interpreter_call';
806
+ }
807
+
808
+ export namespace ResponseCodeInterpreterToolCall {
809
+ /**
810
+ * The logs output from the code interpreter.
811
+ */
812
+ export interface Logs {
813
+ /**
814
+ * The logs output from the code interpreter.
815
+ */
816
+ logs: string;
817
+
818
+ /**
819
+ * The type of the output. Always 'logs'.
820
+ */
821
+ type: 'logs';
822
+ }
823
+
824
+ /**
825
+ * The image output from the code interpreter.
826
+ */
827
+ export interface Image {
828
+ /**
829
+ * The type of the output. Always 'image'.
830
+ */
831
+ type: 'image';
832
+
833
+ /**
834
+ * The URL of the image output from the code interpreter.
835
+ */
836
+ url: string;
837
+ }
838
+ }
839
+
840
+ /**
841
+ * Emitted when the model response is complete.
842
+ */
843
+ export interface ResponseCompletedEvent {
844
+ /**
845
+ * Properties of the completed response.
846
+ */
847
+ response: Response;
848
+
849
+ /**
850
+ * The sequence number for this event.
851
+ */
852
+ sequence_number: number;
853
+
854
+ /**
855
+ * The type of the event. Always `response.completed`.
856
+ */
857
+ type: 'response.completed';
858
+ }
859
+
860
+ /**
861
+ * A tool call to a computer use tool. See the
862
+ * [computer use guide](https://platform.openai.com/docs/guides/tools-computer-use)
863
+ * for more information.
864
+ */
865
+ export interface ResponseComputerToolCall {
866
+ /**
867
+ * The unique ID of the computer call.
868
+ */
869
+ id: string;
870
+
871
+ /**
872
+ * A click action.
873
+ */
874
+ action:
875
+ | ResponseComputerToolCall.Click
876
+ | ResponseComputerToolCall.DoubleClick
877
+ | ResponseComputerToolCall.Drag
878
+ | ResponseComputerToolCall.Keypress
879
+ | ResponseComputerToolCall.Move
880
+ | ResponseComputerToolCall.Screenshot
881
+ | ResponseComputerToolCall.Scroll
882
+ | ResponseComputerToolCall.Type
883
+ | ResponseComputerToolCall.Wait;
884
+
885
+ /**
886
+ * An identifier used when responding to the tool call with output.
887
+ */
888
+ call_id: string;
889
+
890
+ /**
891
+ * The pending safety checks for the computer call.
892
+ */
893
+ pending_safety_checks: Array<ResponseComputerToolCall.PendingSafetyCheck>;
894
+
895
+ /**
896
+ * The status of the item. One of `in_progress`, `completed`, or `incomplete`.
897
+ * Populated when items are returned via API.
898
+ */
899
+ status: 'in_progress' | 'completed' | 'incomplete';
900
+
901
+ /**
902
+ * The type of the computer call. Always `computer_call`.
903
+ */
904
+ type: 'computer_call';
905
+ }
906
+
907
+ export namespace ResponseComputerToolCall {
908
+ /**
909
+ * A click action.
910
+ */
911
+ export interface Click {
912
+ /**
913
+ * Indicates which mouse button was pressed during the click. One of `left`,
914
+ * `right`, `wheel`, `back`, or `forward`.
915
+ */
916
+ button: 'left' | 'right' | 'wheel' | 'back' | 'forward';
917
+
918
+ /**
919
+ * Specifies the event type. For a click action, this property is always set to
920
+ * `click`.
921
+ */
922
+ type: 'click';
923
+
924
+ /**
925
+ * The x-coordinate where the click occurred.
926
+ */
927
+ x: number;
928
+
929
+ /**
930
+ * The y-coordinate where the click occurred.
931
+ */
932
+ y: number;
933
+ }
934
+
935
+ /**
936
+ * A double click action.
937
+ */
938
+ export interface DoubleClick {
939
+ /**
940
+ * Specifies the event type. For a double click action, this property is always set
941
+ * to `double_click`.
942
+ */
943
+ type: 'double_click';
944
+
945
+ /**
946
+ * The x-coordinate where the double click occurred.
947
+ */
948
+ x: number;
949
+
950
+ /**
951
+ * The y-coordinate where the double click occurred.
952
+ */
953
+ y: number;
954
+ }
955
+
956
+ /**
957
+ * A drag action.
958
+ */
959
+ export interface Drag {
960
+ /**
961
+ * An array of coordinates representing the path of the drag action. Coordinates
962
+ * will appear as an array of objects, eg
963
+ *
964
+ * ```
965
+ * [
966
+ * { x: 100, y: 200 },
967
+ * { x: 200, y: 300 }
968
+ * ]
969
+ * ```
970
+ */
971
+ path: Array<Drag.Path>;
972
+
973
+ /**
974
+ * Specifies the event type. For a drag action, this property is always set to
975
+ * `drag`.
976
+ */
977
+ type: 'drag';
978
+ }
979
+
980
+ export namespace Drag {
981
+ /**
982
+ * A series of x/y coordinate pairs in the drag path.
983
+ */
984
+ export interface Path {
985
+ /**
986
+ * The x-coordinate.
987
+ */
988
+ x: number;
989
+
990
+ /**
991
+ * The y-coordinate.
992
+ */
993
+ y: number;
994
+ }
995
+ }
996
+
997
+ /**
998
+ * A collection of keypresses the model would like to perform.
999
+ */
1000
+ export interface Keypress {
1001
+ /**
1002
+ * The combination of keys the model is requesting to be pressed. This is an array
1003
+ * of strings, each representing a key.
1004
+ */
1005
+ keys: Array<string>;
1006
+
1007
+ /**
1008
+ * Specifies the event type. For a keypress action, this property is always set to
1009
+ * `keypress`.
1010
+ */
1011
+ type: 'keypress';
1012
+ }
1013
+
1014
+ /**
1015
+ * A mouse move action.
1016
+ */
1017
+ export interface Move {
1018
+ /**
1019
+ * Specifies the event type. For a move action, this property is always set to
1020
+ * `move`.
1021
+ */
1022
+ type: 'move';
1023
+
1024
+ /**
1025
+ * The x-coordinate to move to.
1026
+ */
1027
+ x: number;
1028
+
1029
+ /**
1030
+ * The y-coordinate to move to.
1031
+ */
1032
+ y: number;
1033
+ }
1034
+
1035
+ /**
1036
+ * A screenshot action.
1037
+ */
1038
+ export interface Screenshot {
1039
+ /**
1040
+ * Specifies the event type. For a screenshot action, this property is always set
1041
+ * to `screenshot`.
1042
+ */
1043
+ type: 'screenshot';
1044
+ }
1045
+
1046
+ /**
1047
+ * A scroll action.
1048
+ */
1049
+ export interface Scroll {
1050
+ /**
1051
+ * The horizontal scroll distance.
1052
+ */
1053
+ scroll_x: number;
1054
+
1055
+ /**
1056
+ * The vertical scroll distance.
1057
+ */
1058
+ scroll_y: number;
1059
+
1060
+ /**
1061
+ * Specifies the event type. For a scroll action, this property is always set to
1062
+ * `scroll`.
1063
+ */
1064
+ type: 'scroll';
1065
+
1066
+ /**
1067
+ * The x-coordinate where the scroll occurred.
1068
+ */
1069
+ x: number;
1070
+
1071
+ /**
1072
+ * The y-coordinate where the scroll occurred.
1073
+ */
1074
+ y: number;
1075
+ }
1076
+
1077
+ /**
1078
+ * An action to type in text.
1079
+ */
1080
+ export interface Type {
1081
+ /**
1082
+ * The text to type.
1083
+ */
1084
+ text: string;
1085
+
1086
+ /**
1087
+ * Specifies the event type. For a type action, this property is always set to
1088
+ * `type`.
1089
+ */
1090
+ type: 'type';
1091
+ }
1092
+
1093
+ /**
1094
+ * A wait action.
1095
+ */
1096
+ export interface Wait {
1097
+ /**
1098
+ * Specifies the event type. For a wait action, this property is always set to
1099
+ * `wait`.
1100
+ */
1101
+ type: 'wait';
1102
+ }
1103
+
1104
+ /**
1105
+ * A pending safety check for the computer call.
1106
+ */
1107
+ export interface PendingSafetyCheck {
1108
+ /**
1109
+ * The ID of the pending safety check.
1110
+ */
1111
+ id: string;
1112
+
1113
+ /**
1114
+ * The type of the pending safety check.
1115
+ */
1116
+ code: string;
1117
+
1118
+ /**
1119
+ * Details about the pending safety check.
1120
+ */
1121
+ message: string;
1122
+ }
1123
+ }
1124
+
1125
+ export interface ResponseComputerToolCallOutputItem {
1126
+ /**
1127
+ * The unique ID of the computer call tool output.
1128
+ */
1129
+ id: string;
1130
+
1131
+ /**
1132
+ * The ID of the computer tool call that produced the output.
1133
+ */
1134
+ call_id: string;
1135
+
1136
+ /**
1137
+ * A computer screenshot image used with the computer use tool.
1138
+ */
1139
+ output: ResponseComputerToolCallOutputScreenshot;
1140
+
1141
+ /**
1142
+ * The type of the computer tool call output. Always `computer_call_output`.
1143
+ */
1144
+ type: 'computer_call_output';
1145
+
1146
+ /**
1147
+ * The safety checks reported by the API that have been acknowledged by the
1148
+ * developer.
1149
+ */
1150
+ acknowledged_safety_checks?: Array<ResponseComputerToolCallOutputItem.AcknowledgedSafetyCheck>;
1151
+
1152
+ /**
1153
+ * The status of the message input. One of `in_progress`, `completed`, or
1154
+ * `incomplete`. Populated when input items are returned via API.
1155
+ */
1156
+ status?: 'in_progress' | 'completed' | 'incomplete';
1157
+ }
1158
+
1159
+ export namespace ResponseComputerToolCallOutputItem {
1160
+ /**
1161
+ * A pending safety check for the computer call.
1162
+ */
1163
+ export interface AcknowledgedSafetyCheck {
1164
+ /**
1165
+ * The ID of the pending safety check.
1166
+ */
1167
+ id: string;
1168
+
1169
+ /**
1170
+ * The type of the pending safety check.
1171
+ */
1172
+ code: string;
1173
+
1174
+ /**
1175
+ * Details about the pending safety check.
1176
+ */
1177
+ message: string;
1178
+ }
1179
+ }
1180
+
1181
+ /**
1182
+ * A computer screenshot image used with the computer use tool.
1183
+ */
1184
+ export interface ResponseComputerToolCallOutputScreenshot {
1185
+ /**
1186
+ * Specifies the event type. For a computer screenshot, this property is always set
1187
+ * to `computer_screenshot`.
1188
+ */
1189
+ type: 'computer_screenshot';
1190
+
1191
+ /**
1192
+ * The identifier of an uploaded file that contains the screenshot.
1193
+ */
1194
+ file_id?: string;
1195
+
1196
+ /**
1197
+ * The URL of the screenshot image.
1198
+ */
1199
+ image_url?: string;
1200
+ }
1201
+
1202
+ /**
1203
+ * Multi-modal input and output contents.
1204
+ */
1205
+ export type ResponseContent =
1206
+ | ResponseInputText
1207
+ | ResponseInputImage
1208
+ | ResponseInputFile
1209
+ | ResponseOutputText
1210
+ | ResponseOutputRefusal;
1211
+
1212
+ /**
1213
+ * Emitted when a new content part is added.
1214
+ */
1215
+ export interface ResponseContentPartAddedEvent {
1216
+ /**
1217
+ * The index of the content part that was added.
1218
+ */
1219
+ content_index: number;
1220
+
1221
+ /**
1222
+ * The ID of the output item that the content part was added to.
1223
+ */
1224
+ item_id: string;
1225
+
1226
+ /**
1227
+ * The index of the output item that the content part was added to.
1228
+ */
1229
+ output_index: number;
1230
+
1231
+ /**
1232
+ * The content part that was added.
1233
+ */
1234
+ part: ResponseOutputText | ResponseOutputRefusal;
1235
+
1236
+ /**
1237
+ * The sequence number of this event.
1238
+ */
1239
+ sequence_number: number;
1240
+
1241
+ /**
1242
+ * The type of the event. Always `response.content_part.added`.
1243
+ */
1244
+ type: 'response.content_part.added';
1245
+ }
1246
+
1247
+ /**
1248
+ * Emitted when a content part is done.
1249
+ */
1250
+ export interface ResponseContentPartDoneEvent {
1251
+ /**
1252
+ * The index of the content part that is done.
1253
+ */
1254
+ content_index: number;
1255
+
1256
+ /**
1257
+ * The ID of the output item that the content part was added to.
1258
+ */
1259
+ item_id: string;
1260
+
1261
+ /**
1262
+ * The index of the output item that the content part was added to.
1263
+ */
1264
+ output_index: number;
1265
+
1266
+ /**
1267
+ * The content part that is done.
1268
+ */
1269
+ part: ResponseOutputText | ResponseOutputRefusal;
1270
+
1271
+ /**
1272
+ * The sequence number of this event.
1273
+ */
1274
+ sequence_number: number;
1275
+
1276
+ /**
1277
+ * The type of the event. Always `response.content_part.done`.
1278
+ */
1279
+ type: 'response.content_part.done';
1280
+ }
1281
+
1282
+ /**
1283
+ * An event that is emitted when a response is created.
1284
+ */
1285
+ export interface ResponseCreatedEvent {
1286
+ /**
1287
+ * The response that was created.
1288
+ */
1289
+ response: Response;
1290
+
1291
+ /**
1292
+ * The sequence number for this event.
1293
+ */
1294
+ sequence_number: number;
1295
+
1296
+ /**
1297
+ * The type of the event. Always `response.created`.
1298
+ */
1299
+ type: 'response.created';
1300
+ }
1301
+
1302
+ /**
1303
+ * An error object returned when the model fails to generate a Response.
1304
+ */
1305
+ export interface ResponseError {
1306
+ /**
1307
+ * The error code for the response.
1308
+ */
1309
+ code:
1310
+ | 'server_error'
1311
+ | 'rate_limit_exceeded'
1312
+ | 'invalid_prompt'
1313
+ | 'vector_store_timeout'
1314
+ | 'invalid_image'
1315
+ | 'invalid_image_format'
1316
+ | 'invalid_base64_image'
1317
+ | 'invalid_image_url'
1318
+ | 'image_too_large'
1319
+ | 'image_too_small'
1320
+ | 'image_parse_error'
1321
+ | 'image_content_policy_violation'
1322
+ | 'invalid_image_mode'
1323
+ | 'image_file_too_large'
1324
+ | 'unsupported_image_media_type'
1325
+ | 'empty_image_file'
1326
+ | 'failed_to_download_image'
1327
+ | 'image_file_not_found';
1328
+
1329
+ /**
1330
+ * A human-readable description of the error.
1331
+ */
1332
+ message: string;
1333
+ }
1334
+
1335
+ /**
1336
+ * Emitted when an error occurs.
1337
+ */
1338
+ export interface ResponseErrorEvent {
1339
+ /**
1340
+ * The error code.
1341
+ */
1342
+ code: string | null;
1343
+
1344
+ /**
1345
+ * The error message.
1346
+ */
1347
+ message: string;
1348
+
1349
+ /**
1350
+ * The error parameter.
1351
+ */
1352
+ param: string | null;
1353
+
1354
+ /**
1355
+ * The sequence number of this event.
1356
+ */
1357
+ sequence_number: number;
1358
+
1359
+ /**
1360
+ * The type of the event. Always `error`.
1361
+ */
1362
+ type: 'error';
1363
+ }
1364
+
1365
+ /**
1366
+ * An event that is emitted when a response fails.
1367
+ */
1368
+ export interface ResponseFailedEvent {
1369
+ /**
1370
+ * The response that failed.
1371
+ */
1372
+ response: Response;
1373
+
1374
+ /**
1375
+ * The sequence number of this event.
1376
+ */
1377
+ sequence_number: number;
1378
+
1379
+ /**
1380
+ * The type of the event. Always `response.failed`.
1381
+ */
1382
+ type: 'response.failed';
1383
+ }
1384
+
1385
+ /**
1386
+ * Emitted when a file search call is completed (results found).
1387
+ */
1388
+ export interface ResponseFileSearchCallCompletedEvent {
1389
+ /**
1390
+ * The ID of the output item that the file search call is initiated.
1391
+ */
1392
+ item_id: string;
1393
+
1394
+ /**
1395
+ * The index of the output item that the file search call is initiated.
1396
+ */
1397
+ output_index: number;
1398
+
1399
+ /**
1400
+ * The sequence number of this event.
1401
+ */
1402
+ sequence_number: number;
1403
+
1404
+ /**
1405
+ * The type of the event. Always `response.file_search_call.completed`.
1406
+ */
1407
+ type: 'response.file_search_call.completed';
1408
+ }
1409
+
1410
+ /**
1411
+ * Emitted when a file search call is initiated.
1412
+ */
1413
+ export interface ResponseFileSearchCallInProgressEvent {
1414
+ /**
1415
+ * The ID of the output item that the file search call is initiated.
1416
+ */
1417
+ item_id: string;
1418
+
1419
+ /**
1420
+ * The index of the output item that the file search call is initiated.
1421
+ */
1422
+ output_index: number;
1423
+
1424
+ /**
1425
+ * The sequence number of this event.
1426
+ */
1427
+ sequence_number: number;
1428
+
1429
+ /**
1430
+ * The type of the event. Always `response.file_search_call.in_progress`.
1431
+ */
1432
+ type: 'response.file_search_call.in_progress';
1433
+ }
1434
+
1435
+ /**
1436
+ * Emitted when a file search is currently searching.
1437
+ */
1438
+ export interface ResponseFileSearchCallSearchingEvent {
1439
+ /**
1440
+ * The ID of the output item that the file search call is initiated.
1441
+ */
1442
+ item_id: string;
1443
+
1444
+ /**
1445
+ * The index of the output item that the file search call is searching.
1446
+ */
1447
+ output_index: number;
1448
+
1449
+ /**
1450
+ * The sequence number of this event.
1451
+ */
1452
+ sequence_number: number;
1453
+
1454
+ /**
1455
+ * The type of the event. Always `response.file_search_call.searching`.
1456
+ */
1457
+ type: 'response.file_search_call.searching';
1458
+ }
1459
+
1460
+ /**
1461
+ * The results of a file search tool call. See the
1462
+ * [file search guide](https://platform.openai.com/docs/guides/tools-file-search)
1463
+ * for more information.
1464
+ */
1465
+ export interface ResponseFileSearchToolCall {
1466
+ /**
1467
+ * The unique ID of the file search tool call.
1468
+ */
1469
+ id: string;
1470
+
1471
+ /**
1472
+ * The queries used to search for files.
1473
+ */
1474
+ queries: Array<string>;
1475
+
1476
+ /**
1477
+ * The status of the file search tool call. One of `in_progress`, `searching`,
1478
+ * `incomplete` or `failed`,
1479
+ */
1480
+ status: 'in_progress' | 'searching' | 'completed' | 'incomplete' | 'failed';
1481
+
1482
+ /**
1483
+ * The type of the file search tool call. Always `file_search_call`.
1484
+ */
1485
+ type: 'file_search_call';
1486
+
1487
+ /**
1488
+ * The results of the file search tool call.
1489
+ */
1490
+ results?: Array<ResponseFileSearchToolCall.Result> | null;
1491
+ }
1492
+
1493
+ export namespace ResponseFileSearchToolCall {
1494
+ export interface Result {
1495
+ /**
1496
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
1497
+ * for storing additional information about the object in a structured format, and
1498
+ * querying for objects via API or the dashboard. Keys are strings with a maximum
1499
+ * length of 64 characters. Values are strings with a maximum length of 512
1500
+ * characters, booleans, or numbers.
1501
+ */
1502
+ attributes?: { [key: string]: string | number | boolean } | null;
1503
+
1504
+ /**
1505
+ * The unique ID of the file.
1506
+ */
1507
+ file_id?: string;
1508
+
1509
+ /**
1510
+ * The name of the file.
1511
+ */
1512
+ filename?: string;
1513
+
1514
+ /**
1515
+ * The relevance score of the file - a value between 0 and 1.
1516
+ */
1517
+ score?: number;
1518
+
1519
+ /**
1520
+ * The text that was retrieved from the file.
1521
+ */
1522
+ text?: string;
1523
+ }
1524
+ }
1525
+
1526
+ /**
1527
+ * An object specifying the format that the model must output.
1528
+ *
1529
+ * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
1530
+ * ensures the model will match your supplied JSON schema. Learn more in the
1531
+ * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
1532
+ *
1533
+ * The default format is `{ "type": "text" }` with no additional options.
1534
+ *
1535
+ * **Not recommended for gpt-4o and newer models:**
1536
+ *
1537
+ * Setting to `{ "type": "json_object" }` enables the older JSON mode, which
1538
+ * ensures the message the model generates is valid JSON. Using `json_schema` is
1539
+ * preferred for models that support it.
1540
+ */
1541
+ export type ResponseFormatTextConfig =
1542
+ | Shared.ResponseFormatText
1543
+ | ResponseFormatTextJSONSchemaConfig
1544
+ | Shared.ResponseFormatJSONObject;
1545
+
1546
+ /**
1547
+ * JSON Schema response format. Used to generate structured JSON responses. Learn
1548
+ * more about
1549
+ * [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).
1550
+ */
1551
+ export interface ResponseFormatTextJSONSchemaConfig {
1552
+ /**
1553
+ * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores
1554
+ * and dashes, with a maximum length of 64.
1555
+ */
1556
+ name: string;
1557
+
1558
+ /**
1559
+ * The schema for the response format, described as a JSON Schema object. Learn how
1560
+ * to build JSON schemas [here](https://json-schema.org/).
1561
+ */
1562
+ schema: { [key: string]: unknown };
1563
+
1564
+ /**
1565
+ * The type of response format being defined. Always `json_schema`.
1566
+ */
1567
+ type: 'json_schema';
1568
+
1569
+ /**
1570
+ * A description of what the response format is for, used by the model to determine
1571
+ * how to respond in the format.
1572
+ */
1573
+ description?: string;
1574
+
1575
+ /**
1576
+ * Whether to enable strict schema adherence when generating the output. If set to
1577
+ * true, the model will always follow the exact schema defined in the `schema`
1578
+ * field. Only a subset of JSON Schema is supported when `strict` is `true`. To
1579
+ * learn more, read the
1580
+ * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
1581
+ */
1582
+ strict?: boolean | null;
1583
+ }
1584
+
1585
+ /**
1586
+ * Emitted when there is a partial function-call arguments delta.
1587
+ */
1588
+ export interface ResponseFunctionCallArgumentsDeltaEvent {
1589
+ /**
1590
+ * The function-call arguments delta that is added.
1591
+ */
1592
+ delta: string;
1593
+
1594
+ /**
1595
+ * The ID of the output item that the function-call arguments delta is added to.
1596
+ */
1597
+ item_id: string;
1598
+
1599
+ /**
1600
+ * The index of the output item that the function-call arguments delta is added to.
1601
+ */
1602
+ output_index: number;
1603
+
1604
+ /**
1605
+ * The sequence number of this event.
1606
+ */
1607
+ sequence_number: number;
1608
+
1609
+ /**
1610
+ * The type of the event. Always `response.function_call_arguments.delta`.
1611
+ */
1612
+ type: 'response.function_call_arguments.delta';
1613
+ }
1614
+
1615
+ /**
1616
+ * Emitted when function-call arguments are finalized.
1617
+ */
1618
+ export interface ResponseFunctionCallArgumentsDoneEvent {
1619
+ /**
1620
+ * The function-call arguments.
1621
+ */
1622
+ arguments: string;
1623
+
1624
+ /**
1625
+ * The ID of the item.
1626
+ */
1627
+ item_id: string;
1628
+
1629
+ /**
1630
+ * The index of the output item.
1631
+ */
1632
+ output_index: number;
1633
+
1634
+ /**
1635
+ * The sequence number of this event.
1636
+ */
1637
+ sequence_number: number;
1638
+
1639
+ type: 'response.function_call_arguments.done';
1640
+ }
1641
+
1642
+ /**
1643
+ * A tool call to run a function. See the
1644
+ * [function calling guide](https://platform.openai.com/docs/guides/function-calling)
1645
+ * for more information.
1646
+ */
1647
+ export interface ResponseFunctionToolCall {
1648
+ /**
1649
+ * A JSON string of the arguments to pass to the function.
1650
+ */
1651
+ arguments: string;
1652
+
1653
+ /**
1654
+ * The unique ID of the function tool call generated by the model.
1655
+ */
1656
+ call_id: string;
1657
+
1658
+ /**
1659
+ * The name of the function to run.
1660
+ */
1661
+ name: string;
1662
+
1663
+ /**
1664
+ * The type of the function tool call. Always `function_call`.
1665
+ */
1666
+ type: 'function_call';
1667
+
1668
+ /**
1669
+ * The unique ID of the function tool call.
1670
+ */
1671
+ id?: string;
1672
+
1673
+ /**
1674
+ * The status of the item. One of `in_progress`, `completed`, or `incomplete`.
1675
+ * Populated when items are returned via API.
1676
+ */
1677
+ status?: 'in_progress' | 'completed' | 'incomplete';
1678
+ }
1679
+
1680
+ /**
1681
+ * A tool call to run a function. See the
1682
+ * [function calling guide](https://platform.openai.com/docs/guides/function-calling)
1683
+ * for more information.
1684
+ */
1685
+ export interface ResponseFunctionToolCallItem extends ResponseFunctionToolCall {
1686
+ /**
1687
+ * The unique ID of the function tool call.
1688
+ */
1689
+ id: string;
1690
+ }
1691
+
1692
+ export interface ResponseFunctionToolCallOutputItem {
1693
+ /**
1694
+ * The unique ID of the function call tool output.
1695
+ */
1696
+ id: string;
1697
+
1698
+ /**
1699
+ * The unique ID of the function tool call generated by the model.
1700
+ */
1701
+ call_id: string;
1702
+
1703
+ /**
1704
+ * A JSON string of the output of the function tool call.
1705
+ */
1706
+ output: string;
1707
+
1708
+ /**
1709
+ * The type of the function tool call output. Always `function_call_output`.
1710
+ */
1711
+ type: 'function_call_output';
1712
+
1713
+ /**
1714
+ * The status of the item. One of `in_progress`, `completed`, or `incomplete`.
1715
+ * Populated when items are returned via API.
1716
+ */
1717
+ status?: 'in_progress' | 'completed' | 'incomplete';
1718
+ }
1719
+
1720
+ /**
1721
+ * The results of a web search tool call. See the
1722
+ * [web search guide](https://platform.openai.com/docs/guides/tools-web-search) for
1723
+ * more information.
1724
+ */
1725
+ export interface ResponseFunctionWebSearch {
1726
+ /**
1727
+ * The unique ID of the web search tool call.
1728
+ */
1729
+ id: string;
1730
+
1731
+ /**
1732
+ * The status of the web search tool call.
1733
+ */
1734
+ status: 'in_progress' | 'searching' | 'completed' | 'failed';
1735
+
1736
+ /**
1737
+ * The type of the web search tool call. Always `web_search_call`.
1738
+ */
1739
+ type: 'web_search_call';
1740
+ }
1741
+
1742
+ export namespace ResponseFunctionWebSearch {
1743
+ /**
1744
+ * Action type "search" - Performs a web search query.
1745
+ */
1746
+ export interface Search {
1747
+ /**
1748
+ * The search query.
1749
+ */
1750
+ query: string;
1751
+
1752
+ /**
1753
+ * The action type.
1754
+ */
1755
+ type: 'search';
1756
+ }
1757
+
1758
+ /**
1759
+ * Action type "open_page" - Opens a specific URL from search results.
1760
+ */
1761
+ export interface OpenPage {
1762
+ /**
1763
+ * The action type.
1764
+ */
1765
+ type: 'open_page';
1766
+
1767
+ /**
1768
+ * The URL opened by the model.
1769
+ */
1770
+ url: string;
1771
+ }
1772
+
1773
+ /**
1774
+ * Action type "find": Searches for a pattern within a loaded page.
1775
+ */
1776
+ export interface Find {
1777
+ /**
1778
+ * The pattern or text to search for within the page.
1779
+ */
1780
+ pattern: string;
1781
+
1782
+ /**
1783
+ * The action type.
1784
+ */
1785
+ type: 'find';
1786
+
1787
+ /**
1788
+ * The URL of the page searched for the pattern.
1789
+ */
1790
+ url: string;
1791
+ }
1792
+ }
1793
+
1794
+ /**
1795
+ * Emitted when an image generation tool call has completed and the final image is
1796
+ * available.
1797
+ */
1798
+ export interface ResponseImageGenCallCompletedEvent {
1799
+ /**
1800
+ * The unique identifier of the image generation item being processed.
1801
+ */
1802
+ item_id: string;
1803
+
1804
+ /**
1805
+ * The index of the output item in the response's output array.
1806
+ */
1807
+ output_index: number;
1808
+
1809
+ /**
1810
+ * The sequence number of this event.
1811
+ */
1812
+ sequence_number: number;
1813
+
1814
+ /**
1815
+ * The type of the event. Always 'response.image_generation_call.completed'.
1816
+ */
1817
+ type: 'response.image_generation_call.completed';
1818
+ }
1819
+
1820
+ /**
1821
+ * Emitted when an image generation tool call is actively generating an image
1822
+ * (intermediate state).
1823
+ */
1824
+ export interface ResponseImageGenCallGeneratingEvent {
1825
+ /**
1826
+ * The unique identifier of the image generation item being processed.
1827
+ */
1828
+ item_id: string;
1829
+
1830
+ /**
1831
+ * The index of the output item in the response's output array.
1832
+ */
1833
+ output_index: number;
1834
+
1835
+ /**
1836
+ * The sequence number of the image generation item being processed.
1837
+ */
1838
+ sequence_number: number;
1839
+
1840
+ /**
1841
+ * The type of the event. Always 'response.image_generation_call.generating'.
1842
+ */
1843
+ type: 'response.image_generation_call.generating';
1844
+ }
1845
+
1846
+ /**
1847
+ * Emitted when an image generation tool call is in progress.
1848
+ */
1849
+ export interface ResponseImageGenCallInProgressEvent {
1850
+ /**
1851
+ * The unique identifier of the image generation item being processed.
1852
+ */
1853
+ item_id: string;
1854
+
1855
+ /**
1856
+ * The index of the output item in the response's output array.
1857
+ */
1858
+ output_index: number;
1859
+
1860
+ /**
1861
+ * The sequence number of the image generation item being processed.
1862
+ */
1863
+ sequence_number: number;
1864
+
1865
+ /**
1866
+ * The type of the event. Always 'response.image_generation_call.in_progress'.
1867
+ */
1868
+ type: 'response.image_generation_call.in_progress';
1869
+ }
1870
+
1871
+ /**
1872
+ * Emitted when a partial image is available during image generation streaming.
1873
+ */
1874
+ export interface ResponseImageGenCallPartialImageEvent {
1875
+ /**
1876
+ * The unique identifier of the image generation item being processed.
1877
+ */
1878
+ item_id: string;
1879
+
1880
+ /**
1881
+ * The index of the output item in the response's output array.
1882
+ */
1883
+ output_index: number;
1884
+
1885
+ /**
1886
+ * Base64-encoded partial image data, suitable for rendering as an image.
1887
+ */
1888
+ partial_image_b64: string;
1889
+
1890
+ /**
1891
+ * 0-based index for the partial image (backend is 1-based, but this is 0-based for
1892
+ * the user).
1893
+ */
1894
+ partial_image_index: number;
1895
+
1896
+ /**
1897
+ * The sequence number of the image generation item being processed.
1898
+ */
1899
+ sequence_number: number;
1900
+
1901
+ /**
1902
+ * The type of the event. Always 'response.image_generation_call.partial_image'.
1903
+ */
1904
+ type: 'response.image_generation_call.partial_image';
1905
+ }
1906
+
1907
+ /**
1908
+ * Emitted when the response is in progress.
1909
+ */
1910
+ export interface ResponseInProgressEvent {
1911
+ /**
1912
+ * The response that is in progress.
1913
+ */
1914
+ response: Response;
1915
+
1916
+ /**
1917
+ * The sequence number of this event.
1918
+ */
1919
+ sequence_number: number;
1920
+
1921
+ /**
1922
+ * The type of the event. Always `response.in_progress`.
1923
+ */
1924
+ type: 'response.in_progress';
1925
+ }
1926
+
1927
+ /**
1928
+ * Specify additional output data to include in the model response. Currently
1929
+ * supported values are:
1930
+ *
1931
+ * - `file_search_call.results`: Include the search results of the file search tool
1932
+ * call.
1933
+ * - `message.input_image.image_url`: Include image urls from the input message.
1934
+ * - `computer_call_output.output.image_url`: Include image urls from the computer
1935
+ * call output.
1936
+ * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
1937
+ * tokens in reasoning item outputs. This enables reasoning items to be used in
1938
+ * multi-turn conversations when using the Responses API statelessly (like when
1939
+ * the `store` parameter is set to `false`, or when an organization is enrolled
1940
+ * in the zero data retention program).
1941
+ * - `code_interpreter_call.outputs`: Includes the outputs of python code execution
1942
+ * in code interpreter tool call items.
1943
+ */
1944
+ export type ResponseIncludable =
1945
+ | 'file_search_call.results'
1946
+ | 'message.input_image.image_url'
1947
+ | 'computer_call_output.output.image_url'
1948
+ | 'reasoning.encrypted_content'
1949
+ | 'code_interpreter_call.outputs';
1950
+
1951
+ /**
1952
+ * An event that is emitted when a response finishes as incomplete.
1953
+ */
1954
+ export interface ResponseIncompleteEvent {
1955
+ /**
1956
+ * The response that was incomplete.
1957
+ */
1958
+ response: Response;
1959
+
1960
+ /**
1961
+ * The sequence number of this event.
1962
+ */
1963
+ sequence_number: number;
1964
+
1965
+ /**
1966
+ * The type of the event. Always `response.incomplete`.
1967
+ */
1968
+ type: 'response.incomplete';
1969
+ }
1970
+
1971
+ /**
1972
+ * A list of one or many input items to the model, containing different content
1973
+ * types.
1974
+ */
1975
+ export type ResponseInput = Array<ResponseInputItem>;
1976
+
1977
+ /**
1978
+ * An audio input to the model.
1979
+ */
1980
+ export interface ResponseInputAudio {
1981
+ /**
1982
+ * Base64-encoded audio data.
1983
+ */
1984
+ data: string;
1985
+
1986
+ /**
1987
+ * The format of the audio data. Currently supported formats are `mp3` and `wav`.
1988
+ */
1989
+ format: 'mp3' | 'wav';
1990
+
1991
+ /**
1992
+ * The type of the input item. Always `input_audio`.
1993
+ */
1994
+ type: 'input_audio';
1995
+ }
1996
+
1997
+ /**
1998
+ * A text input to the model.
1999
+ */
2000
+ export type ResponseInputContent = ResponseInputText | ResponseInputImage | ResponseInputFile;
2001
+
2002
+ /**
2003
+ * A file input to the model.
2004
+ */
2005
+ export interface ResponseInputFile {
2006
+ /**
2007
+ * The type of the input item. Always `input_file`.
2008
+ */
2009
+ type: 'input_file';
2010
+
2011
+ /**
2012
+ * The content of the file to be sent to the model.
2013
+ */
2014
+ file_data?: string;
2015
+
2016
+ /**
2017
+ * The ID of the file to be sent to the model.
2018
+ */
2019
+ file_id?: string | null;
2020
+
2021
+ /**
2022
+ * The name of the file to be sent to the model.
2023
+ */
2024
+ filename?: string;
2025
+ }
2026
+
2027
+ /**
2028
+ * An image input to the model. Learn about
2029
+ * [image inputs](https://platform.openai.com/docs/guides/vision).
2030
+ */
2031
+ export interface ResponseInputImage {
2032
+ /**
2033
+ * The detail level of the image to be sent to the model. One of `high`, `low`, or
2034
+ * `auto`. Defaults to `auto`.
2035
+ */
2036
+ detail: 'low' | 'high' | 'auto';
2037
+
2038
+ /**
2039
+ * The type of the input item. Always `input_image`.
2040
+ */
2041
+ type: 'input_image';
2042
+
2043
+ /**
2044
+ * The ID of the file to be sent to the model.
2045
+ */
2046
+ file_id?: string | null;
2047
+
2048
+ /**
2049
+ * The URL of the image to be sent to the model. A fully qualified URL or base64
2050
+ * encoded image in a data URL.
2051
+ */
2052
+ image_url?: string | null;
2053
+ }
2054
+
2055
+ /**
2056
+ * A message input to the model with a role indicating instruction following
2057
+ * hierarchy. Instructions given with the `developer` or `system` role take
2058
+ * precedence over instructions given with the `user` role. Messages with the
2059
+ * `assistant` role are presumed to have been generated by the model in previous
2060
+ * interactions.
2061
+ */
2062
+ export type ResponseInputItem =
2063
+ | EasyInputMessage
2064
+ | ResponseInputItem.Message
2065
+ | ResponseOutputMessage
2066
+ | ResponseFileSearchToolCall
2067
+ | ResponseComputerToolCall
2068
+ | ResponseInputItem.ComputerCallOutput
2069
+ | ResponseFunctionWebSearch
2070
+ | ResponseFunctionToolCall
2071
+ | ResponseInputItem.FunctionCallOutput
2072
+ | ResponseReasoningItem
2073
+ | ResponseInputItem.ImageGenerationCall
2074
+ | ResponseCodeInterpreterToolCall
2075
+ | ResponseInputItem.LocalShellCall
2076
+ | ResponseInputItem.LocalShellCallOutput
2077
+ | ResponseInputItem.McpListTools
2078
+ | ResponseInputItem.McpApprovalRequest
2079
+ | ResponseInputItem.McpApprovalResponse
2080
+ | ResponseInputItem.McpCall
2081
+ | ResponseInputItem.ItemReference;
2082
+
2083
+ export namespace ResponseInputItem {
2084
+ /**
2085
+ * A message input to the model with a role indicating instruction following
2086
+ * hierarchy. Instructions given with the `developer` or `system` role take
2087
+ * precedence over instructions given with the `user` role.
2088
+ */
2089
+ export interface Message {
2090
+ /**
2091
+ * A list of one or many input items to the model, containing different content
2092
+ * types.
2093
+ */
2094
+ content: ResponsesAPI.ResponseInputMessageContentList;
2095
+
2096
+ /**
2097
+ * The role of the message input. One of `user`, `system`, or `developer`.
2098
+ */
2099
+ role: 'user' | 'system' | 'developer';
2100
+
2101
+ /**
2102
+ * The status of item. One of `in_progress`, `completed`, or `incomplete`.
2103
+ * Populated when items are returned via API.
2104
+ */
2105
+ status?: 'in_progress' | 'completed' | 'incomplete';
2106
+
2107
+ /**
2108
+ * The type of the message input. Always set to `message`.
2109
+ */
2110
+ type?: 'message';
2111
+ }
2112
+
2113
+ /**
2114
+ * The output of a computer tool call.
2115
+ */
2116
+ export interface ComputerCallOutput {
2117
+ /**
2118
+ * The ID of the computer tool call that produced the output.
2119
+ */
2120
+ call_id: string;
2121
+
2122
+ /**
2123
+ * A computer screenshot image used with the computer use tool.
2124
+ */
2125
+ output: ResponsesAPI.ResponseComputerToolCallOutputScreenshot;
2126
+
2127
+ /**
2128
+ * The type of the computer tool call output. Always `computer_call_output`.
2129
+ */
2130
+ type: 'computer_call_output';
2131
+
2132
+ /**
2133
+ * The ID of the computer tool call output.
2134
+ */
2135
+ id?: string | null;
2136
+
2137
+ /**
2138
+ * The safety checks reported by the API that have been acknowledged by the
2139
+ * developer.
2140
+ */
2141
+ acknowledged_safety_checks?: Array<ComputerCallOutput.AcknowledgedSafetyCheck> | null;
2142
+
2143
+ /**
2144
+ * The status of the message input. One of `in_progress`, `completed`, or
2145
+ * `incomplete`. Populated when input items are returned via API.
2146
+ */
2147
+ status?: 'in_progress' | 'completed' | 'incomplete' | null;
2148
+ }
2149
+
2150
+ export namespace ComputerCallOutput {
2151
+ /**
2152
+ * A pending safety check for the computer call.
2153
+ */
2154
+ export interface AcknowledgedSafetyCheck {
2155
+ /**
2156
+ * The ID of the pending safety check.
2157
+ */
2158
+ id: string;
2159
+
2160
+ /**
2161
+ * The type of the pending safety check.
2162
+ */
2163
+ code?: string | null;
2164
+
2165
+ /**
2166
+ * Details about the pending safety check.
2167
+ */
2168
+ message?: string | null;
2169
+ }
2170
+ }
2171
+
2172
+ /**
2173
+ * The output of a function tool call.
2174
+ */
2175
+ export interface FunctionCallOutput {
2176
+ /**
2177
+ * The unique ID of the function tool call generated by the model.
2178
+ */
2179
+ call_id: string;
2180
+
2181
+ /**
2182
+ * A JSON string of the output of the function tool call.
2183
+ */
2184
+ output: string;
2185
+
2186
+ /**
2187
+ * The type of the function tool call output. Always `function_call_output`.
2188
+ */
2189
+ type: 'function_call_output';
2190
+
2191
+ /**
2192
+ * The unique ID of the function tool call output. Populated when this item is
2193
+ * returned via API.
2194
+ */
2195
+ id?: string | null;
2196
+
2197
+ /**
2198
+ * The status of the item. One of `in_progress`, `completed`, or `incomplete`.
2199
+ * Populated when items are returned via API.
2200
+ */
2201
+ status?: 'in_progress' | 'completed' | 'incomplete' | null;
2202
+ }
2203
+
2204
+ /**
2205
+ * An image generation request made by the model.
2206
+ */
2207
+ export interface ImageGenerationCall {
2208
+ /**
2209
+ * The unique ID of the image generation call.
2210
+ */
2211
+ id: string;
2212
+
2213
+ /**
2214
+ * The generated image encoded in base64.
2215
+ */
2216
+ result: string | null;
2217
+
2218
+ /**
2219
+ * The status of the image generation call.
2220
+ */
2221
+ status: 'in_progress' | 'completed' | 'generating' | 'failed';
2222
+
2223
+ /**
2224
+ * The type of the image generation call. Always `image_generation_call`.
2225
+ */
2226
+ type: 'image_generation_call';
2227
+ }
2228
+
2229
+ /**
2230
+ * A tool call to run a command on the local shell.
2231
+ */
2232
+ export interface LocalShellCall {
2233
+ /**
2234
+ * The unique ID of the local shell call.
2235
+ */
2236
+ id: string;
2237
+
2238
+ /**
2239
+ * Execute a shell command on the server.
2240
+ */
2241
+ action: LocalShellCall.Action;
2242
+
2243
+ /**
2244
+ * The unique ID of the local shell tool call generated by the model.
2245
+ */
2246
+ call_id: string;
2247
+
2248
+ /**
2249
+ * The status of the local shell call.
2250
+ */
2251
+ status: 'in_progress' | 'completed' | 'incomplete';
2252
+
2253
+ /**
2254
+ * The type of the local shell call. Always `local_shell_call`.
2255
+ */
2256
+ type: 'local_shell_call';
2257
+ }
2258
+
2259
+ export namespace LocalShellCall {
2260
+ /**
2261
+ * Execute a shell command on the server.
2262
+ */
2263
+ export interface Action {
2264
+ /**
2265
+ * The command to run.
2266
+ */
2267
+ command: Array<string>;
2268
+
2269
+ /**
2270
+ * Environment variables to set for the command.
2271
+ */
2272
+ env: { [key: string]: string };
2273
+
2274
+ /**
2275
+ * The type of the local shell action. Always `exec`.
2276
+ */
2277
+ type: 'exec';
2278
+
2279
+ /**
2280
+ * Optional timeout in milliseconds for the command.
2281
+ */
2282
+ timeout_ms?: number | null;
2283
+
2284
+ /**
2285
+ * Optional user to run the command as.
2286
+ */
2287
+ user?: string | null;
2288
+
2289
+ /**
2290
+ * Optional working directory to run the command in.
2291
+ */
2292
+ working_directory?: string | null;
2293
+ }
2294
+ }
2295
+
2296
+ /**
2297
+ * The output of a local shell tool call.
2298
+ */
2299
+ export interface LocalShellCallOutput {
2300
+ /**
2301
+ * The unique ID of the local shell tool call generated by the model.
2302
+ */
2303
+ id: string;
2304
+
2305
+ /**
2306
+ * A JSON string of the output of the local shell tool call.
2307
+ */
2308
+ output: string;
2309
+
2310
+ /**
2311
+ * The type of the local shell tool call output. Always `local_shell_call_output`.
2312
+ */
2313
+ type: 'local_shell_call_output';
2314
+
2315
+ /**
2316
+ * The status of the item. One of `in_progress`, `completed`, or `incomplete`.
2317
+ */
2318
+ status?: 'in_progress' | 'completed' | 'incomplete' | null;
2319
+ }
2320
+
2321
+ /**
2322
+ * A list of tools available on an MCP server.
2323
+ */
2324
+ export interface McpListTools {
2325
+ /**
2326
+ * The unique ID of the list.
2327
+ */
2328
+ id: string;
2329
+
2330
+ /**
2331
+ * The label of the MCP server.
2332
+ */
2333
+ server_label: string;
2334
+
2335
+ /**
2336
+ * The tools available on the server.
2337
+ */
2338
+ tools: Array<McpListTools.Tool>;
2339
+
2340
+ /**
2341
+ * The type of the item. Always `mcp_list_tools`.
2342
+ */
2343
+ type: 'mcp_list_tools';
2344
+
2345
+ /**
2346
+ * Error message if the server could not list tools.
2347
+ */
2348
+ error?: string | null;
2349
+ }
2350
+
2351
+ export namespace McpListTools {
2352
+ /**
2353
+ * A tool available on an MCP server.
2354
+ */
2355
+ export interface Tool {
2356
+ /**
2357
+ * The JSON schema describing the tool's input.
2358
+ */
2359
+ input_schema: unknown;
2360
+
2361
+ /**
2362
+ * The name of the tool.
2363
+ */
2364
+ name: string;
2365
+
2366
+ /**
2367
+ * Additional annotations about the tool.
2368
+ */
2369
+ annotations?: unknown | null;
2370
+
2371
+ /**
2372
+ * The description of the tool.
2373
+ */
2374
+ description?: string | null;
2375
+ }
2376
+ }
2377
+
2378
+ /**
2379
+ * A request for human approval of a tool invocation.
2380
+ */
2381
+ export interface McpApprovalRequest {
2382
+ /**
2383
+ * The unique ID of the approval request.
2384
+ */
2385
+ id: string;
2386
+
2387
+ /**
2388
+ * A JSON string of arguments for the tool.
2389
+ */
2390
+ arguments: string;
2391
+
2392
+ /**
2393
+ * The name of the tool to run.
2394
+ */
2395
+ name: string;
2396
+
2397
+ /**
2398
+ * The label of the MCP server making the request.
2399
+ */
2400
+ server_label: string;
2401
+
2402
+ /**
2403
+ * The type of the item. Always `mcp_approval_request`.
2404
+ */
2405
+ type: 'mcp_approval_request';
2406
+ }
2407
+
2408
+ /**
2409
+ * A response to an MCP approval request.
2410
+ */
2411
+ export interface McpApprovalResponse {
2412
+ /**
2413
+ * The ID of the approval request being answered.
2414
+ */
2415
+ approval_request_id: string;
2416
+
2417
+ /**
2418
+ * Whether the request was approved.
2419
+ */
2420
+ approve: boolean;
2421
+
2422
+ /**
2423
+ * The type of the item. Always `mcp_approval_response`.
2424
+ */
2425
+ type: 'mcp_approval_response';
2426
+
2427
+ /**
2428
+ * The unique ID of the approval response
2429
+ */
2430
+ id?: string | null;
2431
+
2432
+ /**
2433
+ * Optional reason for the decision.
2434
+ */
2435
+ reason?: string | null;
2436
+ }
2437
+
2438
+ /**
2439
+ * An invocation of a tool on an MCP server.
2440
+ */
2441
+ export interface McpCall {
2442
+ /**
2443
+ * The unique ID of the tool call.
2444
+ */
2445
+ id: string;
2446
+
2447
+ /**
2448
+ * A JSON string of the arguments passed to the tool.
2449
+ */
2450
+ arguments: string;
2451
+
2452
+ /**
2453
+ * The name of the tool that was run.
2454
+ */
2455
+ name: string;
2456
+
2457
+ /**
2458
+ * The label of the MCP server running the tool.
2459
+ */
2460
+ server_label: string;
2461
+
2462
+ /**
2463
+ * The type of the item. Always `mcp_call`.
2464
+ */
2465
+ type: 'mcp_call';
2466
+
2467
+ /**
2468
+ * The error from the tool call, if any.
2469
+ */
2470
+ error?: string | null;
2471
+
2472
+ /**
2473
+ * The output from the tool call.
2474
+ */
2475
+ output?: string | null;
2476
+ }
2477
+
2478
+ /**
2479
+ * An internal identifier for an item to reference.
2480
+ */
2481
+ export interface ItemReference {
2482
+ /**
2483
+ * The ID of the item to reference.
2484
+ */
2485
+ id: string;
2486
+
2487
+ /**
2488
+ * The type of item to reference. Always `item_reference`.
2489
+ */
2490
+ type?: 'item_reference' | null;
2491
+ }
2492
+ }
2493
+
2494
+ /**
2495
+ * A list of one or many input items to the model, containing different content
2496
+ * types.
2497
+ */
2498
+ export type ResponseInputMessageContentList = Array<ResponseInputContent>;
2499
+
2500
+ export interface ResponseInputMessageItem {
2501
+ /**
2502
+ * The unique ID of the message input.
2503
+ */
2504
+ id: string;
2505
+
2506
+ /**
2507
+ * A list of one or many input items to the model, containing different content
2508
+ * types.
2509
+ */
2510
+ content: ResponseInputMessageContentList;
2511
+
2512
+ /**
2513
+ * The role of the message input. One of `user`, `system`, or `developer`.
2514
+ */
2515
+ role: 'user' | 'system' | 'developer';
2516
+
2517
+ /**
2518
+ * The status of item. One of `in_progress`, `completed`, or `incomplete`.
2519
+ * Populated when items are returned via API.
2520
+ */
2521
+ status?: 'in_progress' | 'completed' | 'incomplete';
2522
+
2523
+ /**
2524
+ * The type of the message input. Always set to `message`.
2525
+ */
2526
+ type?: 'message';
2527
+ }
2528
+
2529
+ /**
2530
+ * A text input to the model.
2531
+ */
2532
+ export interface ResponseInputText {
2533
+ /**
2534
+ * The text input to the model.
2535
+ */
2536
+ text: string;
2537
+
2538
+ /**
2539
+ * The type of the input item. Always `input_text`.
2540
+ */
2541
+ type: 'input_text';
2542
+ }
2543
+
2544
+ /**
2545
+ * Content item used to generate a response.
2546
+ */
2547
+ export type ResponseItem =
2548
+ | ResponseInputMessageItem
2549
+ | ResponseOutputMessage
2550
+ | ResponseFileSearchToolCall
2551
+ | ResponseComputerToolCall
2552
+ | ResponseComputerToolCallOutputItem
2553
+ | ResponseFunctionWebSearch
2554
+ | ResponseFunctionToolCallItem
2555
+ | ResponseFunctionToolCallOutputItem
2556
+ | ResponseItem.ImageGenerationCall
2557
+ | ResponseCodeInterpreterToolCall
2558
+ | ResponseItem.LocalShellCall
2559
+ | ResponseItem.LocalShellCallOutput
2560
+ | ResponseItem.McpListTools
2561
+ | ResponseItem.McpApprovalRequest
2562
+ | ResponseItem.McpApprovalResponse
2563
+ | ResponseItem.McpCall;
2564
+
2565
+ export namespace ResponseItem {
2566
+ /**
2567
+ * An image generation request made by the model.
2568
+ */
2569
+ export interface ImageGenerationCall {
2570
+ /**
2571
+ * The unique ID of the image generation call.
2572
+ */
2573
+ id: string;
2574
+
2575
+ /**
2576
+ * The generated image encoded in base64.
2577
+ */
2578
+ result: string | null;
2579
+
2580
+ /**
2581
+ * The status of the image generation call.
2582
+ */
2583
+ status: 'in_progress' | 'completed' | 'generating' | 'failed';
2584
+
2585
+ /**
2586
+ * The type of the image generation call. Always `image_generation_call`.
2587
+ */
2588
+ type: 'image_generation_call';
2589
+ }
2590
+
2591
+ /**
2592
+ * A tool call to run a command on the local shell.
2593
+ */
2594
+ export interface LocalShellCall {
2595
+ /**
2596
+ * The unique ID of the local shell call.
2597
+ */
2598
+ id: string;
2599
+
2600
+ /**
2601
+ * Execute a shell command on the server.
2602
+ */
2603
+ action: LocalShellCall.Action;
2604
+
2605
+ /**
2606
+ * The unique ID of the local shell tool call generated by the model.
2607
+ */
2608
+ call_id: string;
2609
+
2610
+ /**
2611
+ * The status of the local shell call.
2612
+ */
2613
+ status: 'in_progress' | 'completed' | 'incomplete';
2614
+
2615
+ /**
2616
+ * The type of the local shell call. Always `local_shell_call`.
2617
+ */
2618
+ type: 'local_shell_call';
2619
+ }
2620
+
2621
+ export namespace LocalShellCall {
2622
+ /**
2623
+ * Execute a shell command on the server.
2624
+ */
2625
+ export interface Action {
2626
+ /**
2627
+ * The command to run.
2628
+ */
2629
+ command: Array<string>;
2630
+
2631
+ /**
2632
+ * Environment variables to set for the command.
2633
+ */
2634
+ env: { [key: string]: string };
2635
+
2636
+ /**
2637
+ * The type of the local shell action. Always `exec`.
2638
+ */
2639
+ type: 'exec';
2640
+
2641
+ /**
2642
+ * Optional timeout in milliseconds for the command.
2643
+ */
2644
+ timeout_ms?: number | null;
2645
+
2646
+ /**
2647
+ * Optional user to run the command as.
2648
+ */
2649
+ user?: string | null;
2650
+
2651
+ /**
2652
+ * Optional working directory to run the command in.
2653
+ */
2654
+ working_directory?: string | null;
2655
+ }
2656
+ }
2657
+
2658
+ /**
2659
+ * The output of a local shell tool call.
2660
+ */
2661
+ export interface LocalShellCallOutput {
2662
+ /**
2663
+ * The unique ID of the local shell tool call generated by the model.
2664
+ */
2665
+ id: string;
2666
+
2667
+ /**
2668
+ * A JSON string of the output of the local shell tool call.
2669
+ */
2670
+ output: string;
2671
+
2672
+ /**
2673
+ * The type of the local shell tool call output. Always `local_shell_call_output`.
2674
+ */
2675
+ type: 'local_shell_call_output';
2676
+
2677
+ /**
2678
+ * The status of the item. One of `in_progress`, `completed`, or `incomplete`.
2679
+ */
2680
+ status?: 'in_progress' | 'completed' | 'incomplete' | null;
2681
+ }
2682
+
2683
+ /**
2684
+ * A list of tools available on an MCP server.
2685
+ */
2686
+ export interface McpListTools {
2687
+ /**
2688
+ * The unique ID of the list.
2689
+ */
2690
+ id: string;
2691
+
2692
+ /**
2693
+ * The label of the MCP server.
2694
+ */
2695
+ server_label: string;
2696
+
2697
+ /**
2698
+ * The tools available on the server.
2699
+ */
2700
+ tools: Array<McpListTools.Tool>;
2701
+
2702
+ /**
2703
+ * The type of the item. Always `mcp_list_tools`.
2704
+ */
2705
+ type: 'mcp_list_tools';
2706
+
2707
+ /**
2708
+ * Error message if the server could not list tools.
2709
+ */
2710
+ error?: string | null;
2711
+ }
2712
+
2713
+ export namespace McpListTools {
2714
+ /**
2715
+ * A tool available on an MCP server.
2716
+ */
2717
+ export interface Tool {
2718
+ /**
2719
+ * The JSON schema describing the tool's input.
2720
+ */
2721
+ input_schema: unknown;
2722
+
2723
+ /**
2724
+ * The name of the tool.
2725
+ */
2726
+ name: string;
2727
+
2728
+ /**
2729
+ * Additional annotations about the tool.
2730
+ */
2731
+ annotations?: unknown | null;
2732
+
2733
+ /**
2734
+ * The description of the tool.
2735
+ */
2736
+ description?: string | null;
2737
+ }
2738
+ }
2739
+
2740
+ /**
2741
+ * A request for human approval of a tool invocation.
2742
+ */
2743
+ export interface McpApprovalRequest {
2744
+ /**
2745
+ * The unique ID of the approval request.
2746
+ */
2747
+ id: string;
2748
+
2749
+ /**
2750
+ * A JSON string of arguments for the tool.
2751
+ */
2752
+ arguments: string;
2753
+
2754
+ /**
2755
+ * The name of the tool to run.
2756
+ */
2757
+ name: string;
2758
+
2759
+ /**
2760
+ * The label of the MCP server making the request.
2761
+ */
2762
+ server_label: string;
2763
+
2764
+ /**
2765
+ * The type of the item. Always `mcp_approval_request`.
2766
+ */
2767
+ type: 'mcp_approval_request';
2768
+ }
2769
+
2770
+ /**
2771
+ * A response to an MCP approval request.
2772
+ */
2773
+ export interface McpApprovalResponse {
2774
+ /**
2775
+ * The unique ID of the approval response
2776
+ */
2777
+ id: string;
2778
+
2779
+ /**
2780
+ * The ID of the approval request being answered.
2781
+ */
2782
+ approval_request_id: string;
2783
+
2784
+ /**
2785
+ * Whether the request was approved.
2786
+ */
2787
+ approve: boolean;
2788
+
2789
+ /**
2790
+ * The type of the item. Always `mcp_approval_response`.
2791
+ */
2792
+ type: 'mcp_approval_response';
2793
+
2794
+ /**
2795
+ * Optional reason for the decision.
2796
+ */
2797
+ reason?: string | null;
2798
+ }
2799
+
2800
+ /**
2801
+ * An invocation of a tool on an MCP server.
2802
+ */
2803
+ export interface McpCall {
2804
+ /**
2805
+ * The unique ID of the tool call.
2806
+ */
2807
+ id: string;
2808
+
2809
+ /**
2810
+ * A JSON string of the arguments passed to the tool.
2811
+ */
2812
+ arguments: string;
2813
+
2814
+ /**
2815
+ * The name of the tool that was run.
2816
+ */
2817
+ name: string;
2818
+
2819
+ /**
2820
+ * The label of the MCP server running the tool.
2821
+ */
2822
+ server_label: string;
2823
+
2824
+ /**
2825
+ * The type of the item. Always `mcp_call`.
2826
+ */
2827
+ type: 'mcp_call';
2828
+
2829
+ /**
2830
+ * The error from the tool call, if any.
2831
+ */
2832
+ error?: string | null;
2833
+
2834
+ /**
2835
+ * The output from the tool call.
2836
+ */
2837
+ output?: string | null;
2838
+ }
2839
+ }
2840
+
2841
+ /**
2842
+ * Emitted when there is a delta (partial update) to the arguments of an MCP tool
2843
+ * call.
2844
+ */
2845
+ export interface ResponseMcpCallArgumentsDeltaEvent {
2846
+ /**
2847
+ * The partial update to the arguments for the MCP tool call.
2848
+ */
2849
+ delta: unknown;
2850
+
2851
+ /**
2852
+ * The unique identifier of the MCP tool call item being processed.
2853
+ */
2854
+ item_id: string;
2855
+
2856
+ /**
2857
+ * The index of the output item in the response's output array.
2858
+ */
2859
+ output_index: number;
2860
+
2861
+ /**
2862
+ * The sequence number of this event.
2863
+ */
2864
+ sequence_number: number;
2865
+
2866
+ /**
2867
+ * The type of the event. Always 'response.mcp_call.arguments_delta'.
2868
+ */
2869
+ type: 'response.mcp_call.arguments_delta';
2870
+ }
2871
+
2872
+ /**
2873
+ * Emitted when the arguments for an MCP tool call are finalized.
2874
+ */
2875
+ export interface ResponseMcpCallArgumentsDoneEvent {
2876
+ /**
2877
+ * The finalized arguments for the MCP tool call.
2878
+ */
2879
+ arguments: unknown;
2880
+
2881
+ /**
2882
+ * The unique identifier of the MCP tool call item being processed.
2883
+ */
2884
+ item_id: string;
2885
+
2886
+ /**
2887
+ * The index of the output item in the response's output array.
2888
+ */
2889
+ output_index: number;
2890
+
2891
+ /**
2892
+ * The sequence number of this event.
2893
+ */
2894
+ sequence_number: number;
2895
+
2896
+ /**
2897
+ * The type of the event. Always 'response.mcp_call.arguments_done'.
2898
+ */
2899
+ type: 'response.mcp_call.arguments_done';
2900
+ }
2901
+
2902
+ /**
2903
+ * Emitted when an MCP tool call has completed successfully.
2904
+ */
2905
+ export interface ResponseMcpCallCompletedEvent {
2906
+ /**
2907
+ * The sequence number of this event.
2908
+ */
2909
+ sequence_number: number;
2910
+
2911
+ /**
2912
+ * The type of the event. Always 'response.mcp_call.completed'.
2913
+ */
2914
+ type: 'response.mcp_call.completed';
2915
+ }
2916
+
2917
+ /**
2918
+ * Emitted when an MCP tool call has failed.
2919
+ */
2920
+ export interface ResponseMcpCallFailedEvent {
2921
+ /**
2922
+ * The sequence number of this event.
2923
+ */
2924
+ sequence_number: number;
2925
+
2926
+ /**
2927
+ * The type of the event. Always 'response.mcp_call.failed'.
2928
+ */
2929
+ type: 'response.mcp_call.failed';
2930
+ }
2931
+
2932
+ /**
2933
+ * Emitted when an MCP tool call is in progress.
2934
+ */
2935
+ export interface ResponseMcpCallInProgressEvent {
2936
+ /**
2937
+ * The unique identifier of the MCP tool call item being processed.
2938
+ */
2939
+ item_id: string;
2940
+
2941
+ /**
2942
+ * The index of the output item in the response's output array.
2943
+ */
2944
+ output_index: number;
2945
+
2946
+ /**
2947
+ * The sequence number of this event.
2948
+ */
2949
+ sequence_number: number;
2950
+
2951
+ /**
2952
+ * The type of the event. Always 'response.mcp_call.in_progress'.
2953
+ */
2954
+ type: 'response.mcp_call.in_progress';
2955
+ }
2956
+
2957
+ /**
2958
+ * Emitted when the list of available MCP tools has been successfully retrieved.
2959
+ */
2960
+ export interface ResponseMcpListToolsCompletedEvent {
2961
+ /**
2962
+ * The sequence number of this event.
2963
+ */
2964
+ sequence_number: number;
2965
+
2966
+ /**
2967
+ * The type of the event. Always 'response.mcp_list_tools.completed'.
2968
+ */
2969
+ type: 'response.mcp_list_tools.completed';
2970
+ }
2971
+
2972
+ /**
2973
+ * Emitted when the attempt to list available MCP tools has failed.
2974
+ */
2975
+ export interface ResponseMcpListToolsFailedEvent {
2976
+ /**
2977
+ * The sequence number of this event.
2978
+ */
2979
+ sequence_number: number;
2980
+
2981
+ /**
2982
+ * The type of the event. Always 'response.mcp_list_tools.failed'.
2983
+ */
2984
+ type: 'response.mcp_list_tools.failed';
2985
+ }
2986
+
2987
+ /**
2988
+ * Emitted when the system is in the process of retrieving the list of available
2989
+ * MCP tools.
2990
+ */
2991
+ export interface ResponseMcpListToolsInProgressEvent {
2992
+ /**
2993
+ * The sequence number of this event.
2994
+ */
2995
+ sequence_number: number;
2996
+
2997
+ /**
2998
+ * The type of the event. Always 'response.mcp_list_tools.in_progress'.
2999
+ */
3000
+ type: 'response.mcp_list_tools.in_progress';
3001
+ }
3002
+
3003
+ /**
3004
+ * An audio output from the model.
3005
+ */
3006
+ export interface ResponseOutputAudio {
3007
+ /**
3008
+ * Base64-encoded audio data from the model.
3009
+ */
3010
+ data: string;
3011
+
3012
+ /**
3013
+ * The transcript of the audio data from the model.
3014
+ */
3015
+ transcript: string;
3016
+
3017
+ /**
3018
+ * The type of the output audio. Always `output_audio`.
3019
+ */
3020
+ type: 'output_audio';
3021
+ }
3022
+
3023
+ /**
3024
+ * An output message from the model.
3025
+ */
3026
+ export type ResponseOutputItem =
3027
+ | ResponseOutputMessage
3028
+ | ResponseFileSearchToolCall
3029
+ | ResponseFunctionToolCall
3030
+ | ResponseFunctionWebSearch
3031
+ | ResponseComputerToolCall
3032
+ | ResponseReasoningItem
3033
+ | ResponseOutputItem.ImageGenerationCall
3034
+ | ResponseCodeInterpreterToolCall
3035
+ | ResponseOutputItem.LocalShellCall
3036
+ | ResponseOutputItem.McpCall
3037
+ | ResponseOutputItem.McpListTools
3038
+ | ResponseOutputItem.McpApprovalRequest;
3039
+
3040
+ export namespace ResponseOutputItem {
3041
+ /**
3042
+ * An image generation request made by the model.
3043
+ */
3044
+ export interface ImageGenerationCall {
3045
+ /**
3046
+ * The unique ID of the image generation call.
3047
+ */
3048
+ id: string;
3049
+
3050
+ /**
3051
+ * The generated image encoded in base64.
3052
+ */
3053
+ result: string | null;
3054
+
3055
+ /**
3056
+ * The status of the image generation call.
3057
+ */
3058
+ status: 'in_progress' | 'completed' | 'generating' | 'failed';
3059
+
3060
+ /**
3061
+ * The type of the image generation call. Always `image_generation_call`.
3062
+ */
3063
+ type: 'image_generation_call';
3064
+ }
3065
+
3066
+ /**
3067
+ * A tool call to run a command on the local shell.
3068
+ */
3069
+ export interface LocalShellCall {
3070
+ /**
3071
+ * The unique ID of the local shell call.
3072
+ */
3073
+ id: string;
3074
+
3075
+ /**
3076
+ * Execute a shell command on the server.
3077
+ */
3078
+ action: LocalShellCall.Action;
3079
+
3080
+ /**
3081
+ * The unique ID of the local shell tool call generated by the model.
3082
+ */
3083
+ call_id: string;
3084
+
3085
+ /**
3086
+ * The status of the local shell call.
3087
+ */
3088
+ status: 'in_progress' | 'completed' | 'incomplete';
3089
+
3090
+ /**
3091
+ * The type of the local shell call. Always `local_shell_call`.
3092
+ */
3093
+ type: 'local_shell_call';
3094
+ }
3095
+
3096
+ export namespace LocalShellCall {
3097
+ /**
3098
+ * Execute a shell command on the server.
3099
+ */
3100
+ export interface Action {
3101
+ /**
3102
+ * The command to run.
3103
+ */
3104
+ command: Array<string>;
3105
+
3106
+ /**
3107
+ * Environment variables to set for the command.
3108
+ */
3109
+ env: { [key: string]: string };
3110
+
3111
+ /**
3112
+ * The type of the local shell action. Always `exec`.
3113
+ */
3114
+ type: 'exec';
3115
+
3116
+ /**
3117
+ * Optional timeout in milliseconds for the command.
3118
+ */
3119
+ timeout_ms?: number | null;
3120
+
3121
+ /**
3122
+ * Optional user to run the command as.
3123
+ */
3124
+ user?: string | null;
3125
+
3126
+ /**
3127
+ * Optional working directory to run the command in.
3128
+ */
3129
+ working_directory?: string | null;
3130
+ }
3131
+ }
3132
+
3133
+ /**
3134
+ * An invocation of a tool on an MCP server.
3135
+ */
3136
+ export interface McpCall {
3137
+ /**
3138
+ * The unique ID of the tool call.
3139
+ */
3140
+ id: string;
3141
+
3142
+ /**
3143
+ * A JSON string of the arguments passed to the tool.
3144
+ */
3145
+ arguments: string;
3146
+
3147
+ /**
3148
+ * The name of the tool that was run.
3149
+ */
3150
+ name: string;
3151
+
3152
+ /**
3153
+ * The label of the MCP server running the tool.
3154
+ */
3155
+ server_label: string;
3156
+
3157
+ /**
3158
+ * The type of the item. Always `mcp_call`.
3159
+ */
3160
+ type: 'mcp_call';
3161
+
3162
+ /**
3163
+ * The error from the tool call, if any.
3164
+ */
3165
+ error?: string | null;
3166
+
3167
+ /**
3168
+ * The output from the tool call.
3169
+ */
3170
+ output?: string | null;
3171
+ }
3172
+
3173
+ /**
3174
+ * A list of tools available on an MCP server.
3175
+ */
3176
+ export interface McpListTools {
3177
+ /**
3178
+ * The unique ID of the list.
3179
+ */
3180
+ id: string;
3181
+
3182
+ /**
3183
+ * The label of the MCP server.
3184
+ */
3185
+ server_label: string;
3186
+
3187
+ /**
3188
+ * The tools available on the server.
3189
+ */
3190
+ tools: Array<McpListTools.Tool>;
3191
+
3192
+ /**
3193
+ * The type of the item. Always `mcp_list_tools`.
3194
+ */
3195
+ type: 'mcp_list_tools';
3196
+
3197
+ /**
3198
+ * Error message if the server could not list tools.
3199
+ */
3200
+ error?: string | null;
3201
+ }
3202
+
3203
+ export namespace McpListTools {
3204
+ /**
3205
+ * A tool available on an MCP server.
3206
+ */
3207
+ export interface Tool {
3208
+ /**
3209
+ * The JSON schema describing the tool's input.
3210
+ */
3211
+ input_schema: unknown;
3212
+
3213
+ /**
3214
+ * The name of the tool.
3215
+ */
3216
+ name: string;
3217
+
3218
+ /**
3219
+ * Additional annotations about the tool.
3220
+ */
3221
+ annotations?: unknown | null;
3222
+
3223
+ /**
3224
+ * The description of the tool.
3225
+ */
3226
+ description?: string | null;
3227
+ }
3228
+ }
3229
+
3230
+ /**
3231
+ * A request for human approval of a tool invocation.
3232
+ */
3233
+ export interface McpApprovalRequest {
3234
+ /**
3235
+ * The unique ID of the approval request.
3236
+ */
3237
+ id: string;
3238
+
3239
+ /**
3240
+ * A JSON string of arguments for the tool.
3241
+ */
3242
+ arguments: string;
3243
+
3244
+ /**
3245
+ * The name of the tool to run.
3246
+ */
3247
+ name: string;
3248
+
3249
+ /**
3250
+ * The label of the MCP server making the request.
3251
+ */
3252
+ server_label: string;
3253
+
3254
+ /**
3255
+ * The type of the item. Always `mcp_approval_request`.
3256
+ */
3257
+ type: 'mcp_approval_request';
3258
+ }
3259
+ }
3260
+
3261
+ /**
3262
+ * Emitted when a new output item is added.
3263
+ */
3264
+ export interface ResponseOutputItemAddedEvent {
3265
+ /**
3266
+ * The output item that was added.
3267
+ */
3268
+ item: ResponseOutputItem;
3269
+
3270
+ /**
3271
+ * The index of the output item that was added.
3272
+ */
3273
+ output_index: number;
3274
+
3275
+ /**
3276
+ * The sequence number of this event.
3277
+ */
3278
+ sequence_number: number;
3279
+
3280
+ /**
3281
+ * The type of the event. Always `response.output_item.added`.
3282
+ */
3283
+ type: 'response.output_item.added';
3284
+ }
3285
+
3286
+ /**
3287
+ * Emitted when an output item is marked done.
3288
+ */
3289
+ export interface ResponseOutputItemDoneEvent {
3290
+ /**
3291
+ * The output item that was marked done.
3292
+ */
3293
+ item: ResponseOutputItem;
3294
+
3295
+ /**
3296
+ * The index of the output item that was marked done.
3297
+ */
3298
+ output_index: number;
3299
+
3300
+ /**
3301
+ * The sequence number of this event.
3302
+ */
3303
+ sequence_number: number;
3304
+
3305
+ /**
3306
+ * The type of the event. Always `response.output_item.done`.
3307
+ */
3308
+ type: 'response.output_item.done';
3309
+ }
3310
+
3311
+ /**
3312
+ * An output message from the model.
3313
+ */
3314
+ export interface ResponseOutputMessage {
3315
+ /**
3316
+ * The unique ID of the output message.
3317
+ */
3318
+ id: string;
3319
+
3320
+ /**
3321
+ * The content of the output message.
3322
+ */
3323
+ content: Array<ResponseOutputText | ResponseOutputRefusal>;
3324
+
3325
+ /**
3326
+ * The role of the output message. Always `assistant`.
3327
+ */
3328
+ role: 'assistant';
3329
+
3330
+ /**
3331
+ * The status of the message input. One of `in_progress`, `completed`, or
3332
+ * `incomplete`. Populated when input items are returned via API.
3333
+ */
3334
+ status: 'in_progress' | 'completed' | 'incomplete';
3335
+
3336
+ /**
3337
+ * The type of the output message. Always `message`.
3338
+ */
3339
+ type: 'message';
3340
+ }
3341
+
3342
+ /**
3343
+ * A refusal from the model.
3344
+ */
3345
+ export interface ResponseOutputRefusal {
3346
+ /**
3347
+ * The refusal explanationfrom the model.
3348
+ */
3349
+ refusal: string;
3350
+
3351
+ /**
3352
+ * The type of the refusal. Always `refusal`.
3353
+ */
3354
+ type: 'refusal';
3355
+ }
3356
+
3357
+ /**
3358
+ * A text output from the model.
3359
+ */
3360
+ export interface ResponseOutputText {
3361
+ /**
3362
+ * The annotations of the text output.
3363
+ */
3364
+ annotations: Array<
3365
+ | ResponseOutputText.FileCitation
3366
+ | ResponseOutputText.URLCitation
3367
+ | ResponseOutputText.ContainerFileCitation
3368
+ | ResponseOutputText.FilePath
3369
+ >;
3370
+
3371
+ /**
3372
+ * The text output from the model.
3373
+ */
3374
+ text: string;
3375
+
3376
+ /**
3377
+ * The type of the output text. Always `output_text`.
3378
+ */
3379
+ type: 'output_text';
3380
+
3381
+ logprobs?: Array<ResponseOutputText.Logprob>;
3382
+ }
3383
+
3384
+ export namespace ResponseOutputText {
3385
+ /**
3386
+ * A citation to a file.
3387
+ */
3388
+ export interface FileCitation {
3389
+ /**
3390
+ * The ID of the file.
3391
+ */
3392
+ file_id: string;
3393
+
3394
+ /**
3395
+ * The filename of the file cited.
3396
+ */
3397
+ filename: string;
3398
+
3399
+ /**
3400
+ * The index of the file in the list of files.
3401
+ */
3402
+ index: number;
3403
+
3404
+ /**
3405
+ * The type of the file citation. Always `file_citation`.
3406
+ */
3407
+ type: 'file_citation';
3408
+ }
3409
+
3410
+ /**
3411
+ * A citation for a web resource used to generate a model response.
3412
+ */
3413
+ export interface URLCitation {
3414
+ /**
3415
+ * The index of the last character of the URL citation in the message.
3416
+ */
3417
+ end_index: number;
3418
+
3419
+ /**
3420
+ * The index of the first character of the URL citation in the message.
3421
+ */
3422
+ start_index: number;
3423
+
3424
+ /**
3425
+ * The title of the web resource.
3426
+ */
3427
+ title: string;
3428
+
3429
+ /**
3430
+ * The type of the URL citation. Always `url_citation`.
3431
+ */
3432
+ type: 'url_citation';
3433
+
3434
+ /**
3435
+ * The URL of the web resource.
3436
+ */
3437
+ url: string;
3438
+ }
3439
+
3440
+ /**
3441
+ * A citation for a container file used to generate a model response.
3442
+ */
3443
+ export interface ContainerFileCitation {
3444
+ /**
3445
+ * The ID of the container file.
3446
+ */
3447
+ container_id: string;
3448
+
3449
+ /**
3450
+ * The index of the last character of the container file citation in the message.
3451
+ */
3452
+ end_index: number;
3453
+
3454
+ /**
3455
+ * The ID of the file.
3456
+ */
3457
+ file_id: string;
3458
+
3459
+ /**
3460
+ * The filename of the container file cited.
3461
+ */
3462
+ filename: string;
3463
+
3464
+ /**
3465
+ * The index of the first character of the container file citation in the message.
3466
+ */
3467
+ start_index: number;
3468
+
3469
+ /**
3470
+ * The type of the container file citation. Always `container_file_citation`.
3471
+ */
3472
+ type: 'container_file_citation';
3473
+ }
3474
+
3475
+ /**
3476
+ * A path to a file.
3477
+ */
3478
+ export interface FilePath {
3479
+ /**
3480
+ * The ID of the file.
3481
+ */
3482
+ file_id: string;
3483
+
3484
+ /**
3485
+ * The index of the file in the list of files.
3486
+ */
3487
+ index: number;
3488
+
3489
+ /**
3490
+ * The type of the file path. Always `file_path`.
3491
+ */
3492
+ type: 'file_path';
3493
+ }
3494
+
3495
+ /**
3496
+ * The log probability of a token.
3497
+ */
3498
+ export interface Logprob {
3499
+ token: string;
3500
+
3501
+ bytes: Array<number>;
3502
+
3503
+ logprob: number;
3504
+
3505
+ top_logprobs: Array<Logprob.TopLogprob>;
3506
+ }
3507
+
3508
+ export namespace Logprob {
3509
+ /**
3510
+ * The top log probability of a token.
3511
+ */
3512
+ export interface TopLogprob {
3513
+ token: string;
3514
+
3515
+ bytes: Array<number>;
3516
+
3517
+ logprob: number;
3518
+ }
3519
+ }
3520
+ }
3521
+
3522
+ /**
3523
+ * Emitted when an annotation is added to output text content.
3524
+ */
3525
+ export interface ResponseOutputTextAnnotationAddedEvent {
3526
+ /**
3527
+ * The annotation object being added. (See annotation schema for details.)
3528
+ */
3529
+ annotation: unknown;
3530
+
3531
+ /**
3532
+ * The index of the annotation within the content part.
3533
+ */
3534
+ annotation_index: number;
3535
+
3536
+ /**
3537
+ * The index of the content part within the output item.
3538
+ */
3539
+ content_index: number;
3540
+
3541
+ /**
3542
+ * The unique identifier of the item to which the annotation is being added.
3543
+ */
3544
+ item_id: string;
3545
+
3546
+ /**
3547
+ * The index of the output item in the response's output array.
3548
+ */
3549
+ output_index: number;
3550
+
3551
+ /**
3552
+ * The sequence number of this event.
3553
+ */
3554
+ sequence_number: number;
3555
+
3556
+ /**
3557
+ * The type of the event. Always 'response.output_text_annotation.added'.
3558
+ */
3559
+ type: 'response.output_text_annotation.added';
3560
+ }
3561
+
3562
+ /**
3563
+ * Reference to a prompt template and its variables.
3564
+ * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).
3565
+ */
3566
+ export interface ResponsePrompt {
3567
+ /**
3568
+ * The unique identifier of the prompt template to use.
3569
+ */
3570
+ id: string;
3571
+
3572
+ /**
3573
+ * Optional map of values to substitute in for variables in your prompt. The
3574
+ * substitution values can either be strings, or other Response input types like
3575
+ * images or files.
3576
+ */
3577
+ variables?: { [key: string]: string | ResponseInputText | ResponseInputImage | ResponseInputFile } | null;
3578
+
3579
+ /**
3580
+ * Optional version of the prompt template.
3581
+ */
3582
+ version?: string | null;
3583
+ }
3584
+
3585
+ /**
3586
+ * Emitted when a response is queued and waiting to be processed.
3587
+ */
3588
+ export interface ResponseQueuedEvent {
3589
+ /**
3590
+ * The full response object that is queued.
3591
+ */
3592
+ response: Response;
3593
+
3594
+ /**
3595
+ * The sequence number for this event.
3596
+ */
3597
+ sequence_number: number;
3598
+
3599
+ /**
3600
+ * The type of the event. Always 'response.queued'.
3601
+ */
3602
+ type: 'response.queued';
3603
+ }
3604
+
3605
+ /**
3606
+ * Emitted when there is a delta (partial update) to the reasoning content.
3607
+ */
3608
+ export interface ResponseReasoningDeltaEvent {
3609
+ /**
3610
+ * The index of the reasoning content part within the output item.
3611
+ */
3612
+ content_index: number;
3613
+
3614
+ /**
3615
+ * The partial update to the reasoning content.
3616
+ */
3617
+ delta: unknown;
3618
+
3619
+ /**
3620
+ * The unique identifier of the item for which reasoning is being updated.
3621
+ */
3622
+ item_id: string;
3623
+
3624
+ /**
3625
+ * The index of the output item in the response's output array.
3626
+ */
3627
+ output_index: number;
3628
+
3629
+ /**
3630
+ * The sequence number of this event.
3631
+ */
3632
+ sequence_number: number;
3633
+
3634
+ /**
3635
+ * The type of the event. Always 'response.reasoning.delta'.
3636
+ */
3637
+ type: 'response.reasoning.delta';
3638
+ }
3639
+
3640
+ /**
3641
+ * Emitted when the reasoning content is finalized for an item.
3642
+ */
3643
+ export interface ResponseReasoningDoneEvent {
3644
+ /**
3645
+ * The index of the reasoning content part within the output item.
3646
+ */
3647
+ content_index: number;
3648
+
3649
+ /**
3650
+ * The unique identifier of the item for which reasoning is finalized.
3651
+ */
3652
+ item_id: string;
3653
+
3654
+ /**
3655
+ * The index of the output item in the response's output array.
3656
+ */
3657
+ output_index: number;
3658
+
3659
+ /**
3660
+ * The sequence number of this event.
3661
+ */
3662
+ sequence_number: number;
3663
+
3664
+ /**
3665
+ * The finalized reasoning text.
3666
+ */
3667
+ text: string;
3668
+
3669
+ /**
3670
+ * The type of the event. Always 'response.reasoning.done'.
3671
+ */
3672
+ type: 'response.reasoning.done';
3673
+ }
3674
+
3675
+ /**
3676
+ * A description of the chain of thought used by a reasoning model while generating
3677
+ * a response. Be sure to include these items in your `input` to the Responses API
3678
+ * for subsequent turns of a conversation if you are manually
3679
+ * [managing context](https://platform.openai.com/docs/guides/conversation-state).
3680
+ */
3681
+ export interface ResponseReasoningItem {
3682
+ /**
3683
+ * The unique identifier of the reasoning content.
3684
+ */
3685
+ id: string;
3686
+
3687
+ /**
3688
+ * Reasoning text contents.
3689
+ */
3690
+ summary: Array<ResponseReasoningItem.Summary>;
3691
+
3692
+ /**
3693
+ * The type of the object. Always `reasoning`.
3694
+ */
3695
+ type: 'reasoning';
3696
+
3697
+ /**
3698
+ * The encrypted content of the reasoning item - populated when a response is
3699
+ * generated with `reasoning.encrypted_content` in the `include` parameter.
3700
+ */
3701
+ encrypted_content?: string | null;
3702
+
3703
+ /**
3704
+ * The status of the item. One of `in_progress`, `completed`, or `incomplete`.
3705
+ * Populated when items are returned via API.
3706
+ */
3707
+ status?: 'in_progress' | 'completed' | 'incomplete';
3708
+ }
3709
+
3710
+ export namespace ResponseReasoningItem {
3711
+ export interface Summary {
3712
+ /**
3713
+ * A short summary of the reasoning used by the model when generating the response.
3714
+ */
3715
+ text: string;
3716
+
3717
+ /**
3718
+ * The type of the object. Always `summary_text`.
3719
+ */
3720
+ type: 'summary_text';
3721
+ }
3722
+ }
3723
+
3724
+ /**
3725
+ * Emitted when there is a delta (partial update) to the reasoning summary content.
3726
+ */
3727
+ export interface ResponseReasoningSummaryDeltaEvent {
3728
+ /**
3729
+ * The partial update to the reasoning summary content.
3730
+ */
3731
+ delta: unknown;
3732
+
3733
+ /**
3734
+ * The unique identifier of the item for which the reasoning summary is being
3735
+ * updated.
3736
+ */
3737
+ item_id: string;
3738
+
3739
+ /**
3740
+ * The index of the output item in the response's output array.
3741
+ */
3742
+ output_index: number;
3743
+
3744
+ /**
3745
+ * The sequence number of this event.
3746
+ */
3747
+ sequence_number: number;
3748
+
3749
+ /**
3750
+ * The index of the summary part within the output item.
3751
+ */
3752
+ summary_index: number;
3753
+
3754
+ /**
3755
+ * The type of the event. Always 'response.reasoning_summary.delta'.
3756
+ */
3757
+ type: 'response.reasoning_summary.delta';
3758
+ }
3759
+
3760
+ /**
3761
+ * Emitted when the reasoning summary content is finalized for an item.
3762
+ */
3763
+ export interface ResponseReasoningSummaryDoneEvent {
3764
+ /**
3765
+ * The unique identifier of the item for which the reasoning summary is finalized.
3766
+ */
3767
+ item_id: string;
3768
+
3769
+ /**
3770
+ * The index of the output item in the response's output array.
3771
+ */
3772
+ output_index: number;
3773
+
3774
+ /**
3775
+ * The sequence number of this event.
3776
+ */
3777
+ sequence_number: number;
3778
+
3779
+ /**
3780
+ * The index of the summary part within the output item.
3781
+ */
3782
+ summary_index: number;
3783
+
3784
+ /**
3785
+ * The finalized reasoning summary text.
3786
+ */
3787
+ text: string;
3788
+
3789
+ /**
3790
+ * The type of the event. Always 'response.reasoning_summary.done'.
3791
+ */
3792
+ type: 'response.reasoning_summary.done';
3793
+ }
3794
+
3795
+ /**
3796
+ * Emitted when a new reasoning summary part is added.
3797
+ */
3798
+ export interface ResponseReasoningSummaryPartAddedEvent {
3799
+ /**
3800
+ * The ID of the item this summary part is associated with.
3801
+ */
3802
+ item_id: string;
3803
+
3804
+ /**
3805
+ * The index of the output item this summary part is associated with.
3806
+ */
3807
+ output_index: number;
3808
+
3809
+ /**
3810
+ * The summary part that was added.
3811
+ */
3812
+ part: ResponseReasoningSummaryPartAddedEvent.Part;
3813
+
3814
+ /**
3815
+ * The sequence number of this event.
3816
+ */
3817
+ sequence_number: number;
3818
+
3819
+ /**
3820
+ * The index of the summary part within the reasoning summary.
3821
+ */
3822
+ summary_index: number;
3823
+
3824
+ /**
3825
+ * The type of the event. Always `response.reasoning_summary_part.added`.
3826
+ */
3827
+ type: 'response.reasoning_summary_part.added';
3828
+ }
3829
+
3830
+ export namespace ResponseReasoningSummaryPartAddedEvent {
3831
+ /**
3832
+ * The summary part that was added.
3833
+ */
3834
+ export interface Part {
3835
+ /**
3836
+ * The text of the summary part.
3837
+ */
3838
+ text: string;
3839
+
3840
+ /**
3841
+ * The type of the summary part. Always `summary_text`.
3842
+ */
3843
+ type: 'summary_text';
3844
+ }
3845
+ }
3846
+
3847
+ /**
3848
+ * Emitted when a reasoning summary part is completed.
3849
+ */
3850
+ export interface ResponseReasoningSummaryPartDoneEvent {
3851
+ /**
3852
+ * The ID of the item this summary part is associated with.
3853
+ */
3854
+ item_id: string;
3855
+
3856
+ /**
3857
+ * The index of the output item this summary part is associated with.
3858
+ */
3859
+ output_index: number;
3860
+
3861
+ /**
3862
+ * The completed summary part.
3863
+ */
3864
+ part: ResponseReasoningSummaryPartDoneEvent.Part;
3865
+
3866
+ /**
3867
+ * The sequence number of this event.
3868
+ */
3869
+ sequence_number: number;
3870
+
3871
+ /**
3872
+ * The index of the summary part within the reasoning summary.
3873
+ */
3874
+ summary_index: number;
3875
+
3876
+ /**
3877
+ * The type of the event. Always `response.reasoning_summary_part.done`.
3878
+ */
3879
+ type: 'response.reasoning_summary_part.done';
3880
+ }
3881
+
3882
+ export namespace ResponseReasoningSummaryPartDoneEvent {
3883
+ /**
3884
+ * The completed summary part.
3885
+ */
3886
+ export interface Part {
3887
+ /**
3888
+ * The text of the summary part.
3889
+ */
3890
+ text: string;
3891
+
3892
+ /**
3893
+ * The type of the summary part. Always `summary_text`.
3894
+ */
3895
+ type: 'summary_text';
3896
+ }
3897
+ }
3898
+
3899
+ /**
3900
+ * Emitted when a delta is added to a reasoning summary text.
3901
+ */
3902
+ export interface ResponseReasoningSummaryTextDeltaEvent {
3903
+ /**
3904
+ * The text delta that was added to the summary.
3905
+ */
3906
+ delta: string;
3907
+
3908
+ /**
3909
+ * The ID of the item this summary text delta is associated with.
3910
+ */
3911
+ item_id: string;
3912
+
3913
+ /**
3914
+ * The index of the output item this summary text delta is associated with.
3915
+ */
3916
+ output_index: number;
3917
+
3918
+ /**
3919
+ * The sequence number of this event.
3920
+ */
3921
+ sequence_number: number;
3922
+
3923
+ /**
3924
+ * The index of the summary part within the reasoning summary.
3925
+ */
3926
+ summary_index: number;
3927
+
3928
+ /**
3929
+ * The type of the event. Always `response.reasoning_summary_text.delta`.
3930
+ */
3931
+ type: 'response.reasoning_summary_text.delta';
3932
+ }
3933
+
3934
+ /**
3935
+ * Emitted when a reasoning summary text is completed.
3936
+ */
3937
+ export interface ResponseReasoningSummaryTextDoneEvent {
3938
+ /**
3939
+ * The ID of the item this summary text is associated with.
3940
+ */
3941
+ item_id: string;
3942
+
3943
+ /**
3944
+ * The index of the output item this summary text is associated with.
3945
+ */
3946
+ output_index: number;
3947
+
3948
+ /**
3949
+ * The sequence number of this event.
3950
+ */
3951
+ sequence_number: number;
3952
+
3953
+ /**
3954
+ * The index of the summary part within the reasoning summary.
3955
+ */
3956
+ summary_index: number;
3957
+
3958
+ /**
3959
+ * The full text of the completed reasoning summary.
3960
+ */
3961
+ text: string;
3962
+
3963
+ /**
3964
+ * The type of the event. Always `response.reasoning_summary_text.done`.
3965
+ */
3966
+ type: 'response.reasoning_summary_text.done';
3967
+ }
3968
+
3969
+ /**
3970
+ * Emitted when there is a partial refusal text.
3971
+ */
3972
+ export interface ResponseRefusalDeltaEvent {
3973
+ /**
3974
+ * The index of the content part that the refusal text is added to.
3975
+ */
3976
+ content_index: number;
3977
+
3978
+ /**
3979
+ * The refusal text that is added.
3980
+ */
3981
+ delta: string;
3982
+
3983
+ /**
3984
+ * The ID of the output item that the refusal text is added to.
3985
+ */
3986
+ item_id: string;
3987
+
3988
+ /**
3989
+ * The index of the output item that the refusal text is added to.
3990
+ */
3991
+ output_index: number;
3992
+
3993
+ /**
3994
+ * The sequence number of this event.
3995
+ */
3996
+ sequence_number: number;
3997
+
3998
+ /**
3999
+ * The type of the event. Always `response.refusal.delta`.
4000
+ */
4001
+ type: 'response.refusal.delta';
4002
+ }
4003
+
4004
+ /**
4005
+ * Emitted when refusal text is finalized.
4006
+ */
4007
+ export interface ResponseRefusalDoneEvent {
4008
+ /**
4009
+ * The index of the content part that the refusal text is finalized.
4010
+ */
4011
+ content_index: number;
4012
+
4013
+ /**
4014
+ * The ID of the output item that the refusal text is finalized.
4015
+ */
4016
+ item_id: string;
4017
+
4018
+ /**
4019
+ * The index of the output item that the refusal text is finalized.
4020
+ */
4021
+ output_index: number;
4022
+
4023
+ /**
4024
+ * The refusal text that is finalized.
4025
+ */
4026
+ refusal: string;
4027
+
4028
+ /**
4029
+ * The sequence number of this event.
4030
+ */
4031
+ sequence_number: number;
4032
+
4033
+ /**
4034
+ * The type of the event. Always `response.refusal.done`.
4035
+ */
4036
+ type: 'response.refusal.done';
4037
+ }
4038
+
4039
+ /**
4040
+ * The status of the response generation. One of `completed`, `failed`,
4041
+ * `in_progress`, `cancelled`, `queued`, or `incomplete`.
4042
+ */
4043
+ export type ResponseStatus = 'completed' | 'failed' | 'in_progress' | 'cancelled' | 'queued' | 'incomplete';
4044
+
4045
+ /**
4046
+ * Emitted when there is a partial audio response.
4047
+ */
4048
+ export type ResponseStreamEvent =
4049
+ | ResponseAudioDeltaEvent
4050
+ | ResponseAudioDoneEvent
4051
+ | ResponseAudioTranscriptDeltaEvent
4052
+ | ResponseAudioTranscriptDoneEvent
4053
+ | ResponseCodeInterpreterCallCodeDeltaEvent
4054
+ | ResponseCodeInterpreterCallCodeDoneEvent
4055
+ | ResponseCodeInterpreterCallCompletedEvent
4056
+ | ResponseCodeInterpreterCallInProgressEvent
4057
+ | ResponseCodeInterpreterCallInterpretingEvent
4058
+ | ResponseCompletedEvent
4059
+ | ResponseContentPartAddedEvent
4060
+ | ResponseContentPartDoneEvent
4061
+ | ResponseCreatedEvent
4062
+ | ResponseErrorEvent
4063
+ | ResponseFileSearchCallCompletedEvent
4064
+ | ResponseFileSearchCallInProgressEvent
4065
+ | ResponseFileSearchCallSearchingEvent
4066
+ | ResponseFunctionCallArgumentsDeltaEvent
4067
+ | ResponseFunctionCallArgumentsDoneEvent
4068
+ | ResponseInProgressEvent
4069
+ | ResponseFailedEvent
4070
+ | ResponseIncompleteEvent
4071
+ | ResponseOutputItemAddedEvent
4072
+ | ResponseOutputItemDoneEvent
4073
+ | ResponseReasoningSummaryPartAddedEvent
4074
+ | ResponseReasoningSummaryPartDoneEvent
4075
+ | ResponseReasoningSummaryTextDeltaEvent
4076
+ | ResponseReasoningSummaryTextDoneEvent
4077
+ | ResponseRefusalDeltaEvent
4078
+ | ResponseRefusalDoneEvent
4079
+ | ResponseTextDeltaEvent
4080
+ | ResponseTextDoneEvent
4081
+ | ResponseWebSearchCallCompletedEvent
4082
+ | ResponseWebSearchCallInProgressEvent
4083
+ | ResponseWebSearchCallSearchingEvent
4084
+ | ResponseImageGenCallCompletedEvent
4085
+ | ResponseImageGenCallGeneratingEvent
4086
+ | ResponseImageGenCallInProgressEvent
4087
+ | ResponseImageGenCallPartialImageEvent
4088
+ | ResponseMcpCallArgumentsDeltaEvent
4089
+ | ResponseMcpCallArgumentsDoneEvent
4090
+ | ResponseMcpCallCompletedEvent
4091
+ | ResponseMcpCallFailedEvent
4092
+ | ResponseMcpCallInProgressEvent
4093
+ | ResponseMcpListToolsCompletedEvent
4094
+ | ResponseMcpListToolsFailedEvent
4095
+ | ResponseMcpListToolsInProgressEvent
4096
+ | ResponseOutputTextAnnotationAddedEvent
4097
+ | ResponseQueuedEvent
4098
+ | ResponseReasoningDeltaEvent
4099
+ | ResponseReasoningDoneEvent
4100
+ | ResponseReasoningSummaryDeltaEvent
4101
+ | ResponseReasoningSummaryDoneEvent;
4102
+
4103
+ /**
4104
+ * Configuration options for a text response from the model. Can be plain text or
4105
+ * structured JSON data. Learn more:
4106
+ *
4107
+ * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
4108
+ * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
4109
+ */
4110
+ export interface ResponseTextConfig {
4111
+ /**
4112
+ * An object specifying the format that the model must output.
4113
+ *
4114
+ * Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
4115
+ * ensures the model will match your supplied JSON schema. Learn more in the
4116
+ * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
4117
+ *
4118
+ * The default format is `{ "type": "text" }` with no additional options.
4119
+ *
4120
+ * **Not recommended for gpt-4o and newer models:**
4121
+ *
4122
+ * Setting to `{ "type": "json_object" }` enables the older JSON mode, which
4123
+ * ensures the message the model generates is valid JSON. Using `json_schema` is
4124
+ * preferred for models that support it.
4125
+ */
4126
+ format?: ResponseFormatTextConfig;
4127
+ }
4128
+
4129
+ /**
4130
+ * Emitted when there is an additional text delta.
4131
+ */
4132
+ export interface ResponseTextDeltaEvent {
4133
+ /**
4134
+ * The index of the content part that the text delta was added to.
4135
+ */
4136
+ content_index: number;
4137
+
4138
+ /**
4139
+ * The text delta that was added.
4140
+ */
4141
+ delta: string;
4142
+
4143
+ /**
4144
+ * The ID of the output item that the text delta was added to.
4145
+ */
4146
+ item_id: string;
4147
+
4148
+ /**
4149
+ * The index of the output item that the text delta was added to.
4150
+ */
4151
+ output_index: number;
4152
+
4153
+ /**
4154
+ * The sequence number for this event.
4155
+ */
4156
+ sequence_number: number;
4157
+
4158
+ /**
4159
+ * The type of the event. Always `response.output_text.delta`.
4160
+ */
4161
+ type: 'response.output_text.delta';
4162
+ }
4163
+
4164
+ /**
4165
+ * Emitted when text content is finalized.
4166
+ */
4167
+ export interface ResponseTextDoneEvent {
4168
+ /**
4169
+ * The index of the content part that the text content is finalized.
4170
+ */
4171
+ content_index: number;
4172
+
4173
+ /**
4174
+ * The ID of the output item that the text content is finalized.
4175
+ */
4176
+ item_id: string;
4177
+
4178
+ /**
4179
+ * The index of the output item that the text content is finalized.
4180
+ */
4181
+ output_index: number;
4182
+
4183
+ /**
4184
+ * The sequence number for this event.
4185
+ */
4186
+ sequence_number: number;
4187
+
4188
+ /**
4189
+ * The text content that is finalized.
4190
+ */
4191
+ text: string;
4192
+
4193
+ /**
4194
+ * The type of the event. Always `response.output_text.done`.
4195
+ */
4196
+ type: 'response.output_text.done';
4197
+ }
4198
+
4199
+ /**
4200
+ * Represents token usage details including input tokens, output tokens, a
4201
+ * breakdown of output tokens, and the total tokens used.
4202
+ */
4203
+ export interface ResponseUsage {
4204
+ /**
4205
+ * The number of input tokens.
4206
+ */
4207
+ input_tokens: number;
4208
+
4209
+ /**
4210
+ * A detailed breakdown of the input tokens.
4211
+ */
4212
+ input_tokens_details: ResponseUsage.InputTokensDetails;
4213
+
4214
+ /**
4215
+ * The number of output tokens.
4216
+ */
4217
+ output_tokens: number;
4218
+
4219
+ /**
4220
+ * A detailed breakdown of the output tokens.
4221
+ */
4222
+ output_tokens_details: ResponseUsage.OutputTokensDetails;
4223
+
4224
+ /**
4225
+ * The total number of tokens used.
4226
+ */
4227
+ total_tokens: number;
4228
+ }
4229
+
4230
+ export namespace ResponseUsage {
4231
+ /**
4232
+ * A detailed breakdown of the input tokens.
4233
+ */
4234
+ export interface InputTokensDetails {
4235
+ /**
4236
+ * The number of tokens that were retrieved from the cache.
4237
+ * [More on prompt caching](https://platform.openai.com/docs/guides/prompt-caching).
4238
+ */
4239
+ cached_tokens: number;
4240
+ }
4241
+
4242
+ /**
4243
+ * A detailed breakdown of the output tokens.
4244
+ */
4245
+ export interface OutputTokensDetails {
4246
+ /**
4247
+ * The number of reasoning tokens.
4248
+ */
4249
+ reasoning_tokens: number;
4250
+ }
4251
+ }
4252
+
4253
+ /**
4254
+ * Emitted when a web search call is completed.
4255
+ */
4256
+ export interface ResponseWebSearchCallCompletedEvent {
4257
+ /**
4258
+ * Unique ID for the output item associated with the web search call.
4259
+ */
4260
+ item_id: string;
4261
+
4262
+ /**
4263
+ * The index of the output item that the web search call is associated with.
4264
+ */
4265
+ output_index: number;
4266
+
4267
+ /**
4268
+ * The sequence number of the web search call being processed.
4269
+ */
4270
+ sequence_number: number;
4271
+
4272
+ /**
4273
+ * The type of the event. Always `response.web_search_call.completed`.
4274
+ */
4275
+ type: 'response.web_search_call.completed';
4276
+ }
4277
+
4278
+ /**
4279
+ * Emitted when a web search call is initiated.
4280
+ */
4281
+ export interface ResponseWebSearchCallInProgressEvent {
4282
+ /**
4283
+ * Unique ID for the output item associated with the web search call.
4284
+ */
4285
+ item_id: string;
4286
+
4287
+ /**
4288
+ * The index of the output item that the web search call is associated with.
4289
+ */
4290
+ output_index: number;
4291
+
4292
+ /**
4293
+ * The sequence number of the web search call being processed.
4294
+ */
4295
+ sequence_number: number;
4296
+
4297
+ /**
4298
+ * The type of the event. Always `response.web_search_call.in_progress`.
4299
+ */
4300
+ type: 'response.web_search_call.in_progress';
4301
+ }
4302
+
4303
+ /**
4304
+ * Emitted when a web search call is executing.
4305
+ */
4306
+ export interface ResponseWebSearchCallSearchingEvent {
4307
+ /**
4308
+ * Unique ID for the output item associated with the web search call.
4309
+ */
4310
+ item_id: string;
4311
+
4312
+ /**
4313
+ * The index of the output item that the web search call is associated with.
4314
+ */
4315
+ output_index: number;
4316
+
4317
+ /**
4318
+ * The sequence number of the web search call being processed.
4319
+ */
4320
+ sequence_number: number;
4321
+
4322
+ /**
4323
+ * The type of the event. Always `response.web_search_call.searching`.
4324
+ */
4325
+ type: 'response.web_search_call.searching';
4326
+ }
4327
+
4328
+ /**
4329
+ * A tool that can be used to generate a response.
4330
+ */
4331
+ export type Tool =
4332
+ | FunctionTool
4333
+ | FileSearchTool
4334
+ | WebSearchTool
4335
+ | ComputerTool
4336
+ | Tool.Mcp
4337
+ | Tool.CodeInterpreter
4338
+ | Tool.ImageGeneration
4339
+ | Tool.LocalShell;
4340
+
4341
+ export namespace Tool {
4342
+ /**
4343
+ * Give the model access to additional tools via remote Model Context Protocol
4344
+ * (MCP) servers.
4345
+ * [Learn more about MCP](https://platform.openai.com/docs/guides/tools-remote-mcp).
4346
+ */
4347
+ export interface Mcp {
4348
+ /**
4349
+ * A label for this MCP server, used to identify it in tool calls.
4350
+ */
4351
+ server_label: string;
4352
+
4353
+ /**
4354
+ * The URL for the MCP server.
4355
+ */
4356
+ server_url: string;
4357
+
4358
+ /**
4359
+ * The type of the MCP tool. Always `mcp`.
4360
+ */
4361
+ type: 'mcp';
4362
+
4363
+ /**
4364
+ * List of allowed tool names or a filter object.
4365
+ */
4366
+ allowed_tools?: Array<string> | Mcp.McpAllowedToolsFilter | null;
4367
+
4368
+ /**
4369
+ * Optional HTTP headers to send to the MCP server. Use for authentication or other
4370
+ * purposes.
4371
+ */
4372
+ headers?: { [key: string]: string } | null;
4373
+
4374
+ /**
4375
+ * Specify which of the MCP server's tools require approval.
4376
+ */
4377
+ require_approval?: Mcp.McpToolApprovalFilter | 'always' | 'never' | null;
4378
+ }
4379
+
4380
+ export namespace Mcp {
4381
+ /**
4382
+ * A filter object to specify which tools are allowed.
4383
+ */
4384
+ export interface McpAllowedToolsFilter {
4385
+ /**
4386
+ * List of allowed tool names.
4387
+ */
4388
+ tool_names?: Array<string>;
4389
+ }
4390
+
4391
+ export interface McpToolApprovalFilter {
4392
+ /**
4393
+ * A list of tools that always require approval.
4394
+ */
4395
+ always?: McpToolApprovalFilter.Always;
4396
+
4397
+ /**
4398
+ * A list of tools that never require approval.
4399
+ */
4400
+ never?: McpToolApprovalFilter.Never;
4401
+ }
4402
+
4403
+ export namespace McpToolApprovalFilter {
4404
+ /**
4405
+ * A list of tools that always require approval.
4406
+ */
4407
+ export interface Always {
4408
+ /**
4409
+ * List of tools that require approval.
4410
+ */
4411
+ tool_names?: Array<string>;
4412
+ }
4413
+
4414
+ /**
4415
+ * A list of tools that never require approval.
4416
+ */
4417
+ export interface Never {
4418
+ /**
4419
+ * List of tools that do not require approval.
4420
+ */
4421
+ tool_names?: Array<string>;
4422
+ }
4423
+ }
4424
+ }
4425
+
4426
+ /**
4427
+ * A tool that runs Python code to help generate a response to a prompt.
4428
+ */
4429
+ export interface CodeInterpreter {
4430
+ /**
4431
+ * The code interpreter container. Can be a container ID or an object that
4432
+ * specifies uploaded file IDs to make available to your code.
4433
+ */
4434
+ container: string | CodeInterpreter.CodeInterpreterToolAuto;
4435
+
4436
+ /**
4437
+ * The type of the code interpreter tool. Always `code_interpreter`.
4438
+ */
4439
+ type: 'code_interpreter';
4440
+ }
4441
+
4442
+ export namespace CodeInterpreter {
4443
+ /**
4444
+ * Configuration for a code interpreter container. Optionally specify the IDs of
4445
+ * the files to run the code on.
4446
+ */
4447
+ export interface CodeInterpreterToolAuto {
4448
+ /**
4449
+ * Always `auto`.
4450
+ */
4451
+ type: 'auto';
4452
+
4453
+ /**
4454
+ * An optional list of uploaded files to make available to your code.
4455
+ */
4456
+ file_ids?: Array<string>;
4457
+ }
4458
+ }
4459
+
4460
+ /**
4461
+ * A tool that generates images using a model like `gpt-image-1`.
4462
+ */
4463
+ export interface ImageGeneration {
4464
+ /**
4465
+ * The type of the image generation tool. Always `image_generation`.
4466
+ */
4467
+ type: 'image_generation';
4468
+
4469
+ /**
4470
+ * Background type for the generated image. One of `transparent`, `opaque`, or
4471
+ * `auto`. Default: `auto`.
4472
+ */
4473
+ background?: 'transparent' | 'opaque' | 'auto';
4474
+
4475
+ /**
4476
+ * Optional mask for inpainting. Contains `image_url` (string, optional) and
4477
+ * `file_id` (string, optional).
4478
+ */
4479
+ input_image_mask?: ImageGeneration.InputImageMask;
4480
+
4481
+ /**
4482
+ * The image generation model to use. Default: `gpt-image-1`.
4483
+ */
4484
+ model?: 'gpt-image-1';
4485
+
4486
+ /**
4487
+ * Moderation level for the generated image. Default: `auto`.
4488
+ */
4489
+ moderation?: 'auto' | 'low';
4490
+
4491
+ /**
4492
+ * Compression level for the output image. Default: 100.
4493
+ */
4494
+ output_compression?: number;
4495
+
4496
+ /**
4497
+ * The output format of the generated image. One of `png`, `webp`, or `jpeg`.
4498
+ * Default: `png`.
4499
+ */
4500
+ output_format?: 'png' | 'webp' | 'jpeg';
4501
+
4502
+ /**
4503
+ * Number of partial images to generate in streaming mode, from 0 (default value)
4504
+ * to 3.
4505
+ */
4506
+ partial_images?: number;
4507
+
4508
+ /**
4509
+ * The quality of the generated image. One of `low`, `medium`, `high`, or `auto`.
4510
+ * Default: `auto`.
4511
+ */
4512
+ quality?: 'low' | 'medium' | 'high' | 'auto';
4513
+
4514
+ /**
4515
+ * The size of the generated image. One of `1024x1024`, `1024x1536`, `1536x1024`,
4516
+ * or `auto`. Default: `auto`.
4517
+ */
4518
+ size?: '1024x1024' | '1024x1536' | '1536x1024' | 'auto';
4519
+ }
4520
+
4521
+ export namespace ImageGeneration {
4522
+ /**
4523
+ * Optional mask for inpainting. Contains `image_url` (string, optional) and
4524
+ * `file_id` (string, optional).
4525
+ */
4526
+ export interface InputImageMask {
4527
+ /**
4528
+ * File ID for the mask image.
4529
+ */
4530
+ file_id?: string;
4531
+
4532
+ /**
4533
+ * Base64-encoded mask image.
4534
+ */
4535
+ image_url?: string;
4536
+ }
4537
+ }
4538
+
4539
+ /**
4540
+ * A tool that allows the model to execute shell commands in a local environment.
4541
+ */
4542
+ export interface LocalShell {
4543
+ /**
4544
+ * The type of the local shell tool. Always `local_shell`.
4545
+ */
4546
+ type: 'local_shell';
4547
+ }
4548
+ }
4549
+
4550
+ /**
4551
+ * Use this option to force the model to call a specific function.
4552
+ */
4553
+ export interface ToolChoiceFunction {
4554
+ /**
4555
+ * The name of the function to call.
4556
+ */
4557
+ name: string;
4558
+
4559
+ /**
4560
+ * For function calling, the type is always `function`.
4561
+ */
4562
+ type: 'function';
4563
+ }
4564
+
4565
+ /**
4566
+ * Controls which (if any) tool is called by the model.
4567
+ *
4568
+ * `none` means the model will not call any tool and instead generates a message.
4569
+ *
4570
+ * `auto` means the model can pick between generating a message or calling one or
4571
+ * more tools.
4572
+ *
4573
+ * `required` means the model must call one or more tools.
4574
+ */
4575
+ export type ToolChoiceOptions = 'none' | 'auto' | 'required';
4576
+
4577
+ /**
4578
+ * Indicates that the model should use a built-in tool to generate a response.
4579
+ * [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
4580
+ */
4581
+ export interface ToolChoiceTypes {
4582
+ /**
4583
+ * The type of hosted tool the model should to use. Learn more about
4584
+ * [built-in tools](https://platform.openai.com/docs/guides/tools).
4585
+ *
4586
+ * Allowed values are:
4587
+ *
4588
+ * - `file_search`
4589
+ * - `web_search_preview`
4590
+ * - `computer_use_preview`
4591
+ * - `code_interpreter`
4592
+ * - `mcp`
4593
+ * - `image_generation`
4594
+ */
4595
+ type:
4596
+ | 'file_search'
4597
+ | 'web_search_preview'
4598
+ | 'computer_use_preview'
4599
+ | 'web_search_preview_2025_03_11'
4600
+ | 'image_generation'
4601
+ | 'code_interpreter'
4602
+ | 'mcp';
4603
+ }
4604
+
4605
+ /**
4606
+ * This tool searches the web for relevant results to use in a response. Learn more
4607
+ * about the
4608
+ * [web search tool](https://platform.openai.com/docs/guides/tools-web-search).
4609
+ */
4610
+ export interface WebSearchTool {
4611
+ /**
4612
+ * The type of the web search tool. One of `web_search_preview` or
4613
+ * `web_search_preview_2025_03_11`.
4614
+ */
4615
+ type: 'web_search_preview' | 'web_search_preview_2025_03_11';
4616
+
4617
+ /**
4618
+ * High level guidance for the amount of context window space to use for the
4619
+ * search. One of `low`, `medium`, or `high`. `medium` is the default.
4620
+ */
4621
+ search_context_size?: 'low' | 'medium' | 'high';
4622
+
4623
+ /**
4624
+ * The user's location.
4625
+ */
4626
+ user_location?: WebSearchTool.UserLocation | null;
4627
+ }
4628
+
4629
+ export namespace WebSearchTool {
4630
+ /**
4631
+ * The user's location.
4632
+ */
4633
+ export interface UserLocation {
4634
+ /**
4635
+ * The type of location approximation. Always `approximate`.
4636
+ */
4637
+ type: 'approximate';
4638
+
4639
+ /**
4640
+ * Free text input for the city of the user, e.g. `San Francisco`.
4641
+ */
4642
+ city?: string | null;
4643
+
4644
+ /**
4645
+ * The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of
4646
+ * the user, e.g. `US`.
4647
+ */
4648
+ country?: string | null;
4649
+
4650
+ /**
4651
+ * Free text input for the region of the user, e.g. `California`.
4652
+ */
4653
+ region?: string | null;
4654
+
4655
+ /**
4656
+ * The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the
4657
+ * user, e.g. `America/Los_Angeles`.
4658
+ */
4659
+ timezone?: string | null;
4660
+ }
4661
+ }
4662
+
4663
+ export type ResponseCreateParams = ResponseCreateParamsNonStreaming | ResponseCreateParamsStreaming;
4664
+
4665
+ export interface ResponseCreateParamsBase {
4666
+ /**
4667
+ * Whether to run the model response in the background.
4668
+ * [Learn more](https://platform.openai.com/docs/guides/background).
4669
+ */
4670
+ background?: boolean | null;
4671
+
4672
+ /**
4673
+ * Specify additional output data to include in the model response. Currently
4674
+ * supported values are:
4675
+ *
4676
+ * - `file_search_call.results`: Include the search results of the file search tool
4677
+ * call.
4678
+ * - `message.input_image.image_url`: Include image urls from the input message.
4679
+ * - `computer_call_output.output.image_url`: Include image urls from the computer
4680
+ * call output.
4681
+ * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
4682
+ * tokens in reasoning item outputs. This enables reasoning items to be used in
4683
+ * multi-turn conversations when using the Responses API statelessly (like when
4684
+ * the `store` parameter is set to `false`, or when an organization is enrolled
4685
+ * in the zero data retention program).
4686
+ * - `code_interpreter_call.outputs`: Includes the outputs of python code execution
4687
+ * in code interpreter tool call items.
4688
+ */
4689
+ include?: Array<ResponseIncludable> | null;
4690
+
4691
+ /**
4692
+ * Text, image, or file inputs to the model, used to generate a response.
4693
+ *
4694
+ * Learn more:
4695
+ *
4696
+ * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
4697
+ * - [Image inputs](https://platform.openai.com/docs/guides/images)
4698
+ * - [File inputs](https://platform.openai.com/docs/guides/pdf-files)
4699
+ * - [Conversation state](https://platform.openai.com/docs/guides/conversation-state)
4700
+ * - [Function calling](https://platform.openai.com/docs/guides/function-calling)
4701
+ */
4702
+ input?: string | ResponseInput;
4703
+
4704
+ /**
4705
+ * A system (or developer) message inserted into the model's context.
4706
+ *
4707
+ * When using along with `previous_response_id`, the instructions from a previous
4708
+ * response will not be carried over to the next response. This makes it simple to
4709
+ * swap out system (or developer) messages in new responses.
4710
+ */
4711
+ instructions?: string | null;
4712
+
4713
+ /**
4714
+ * An upper bound for the number of tokens that can be generated for a response,
4715
+ * including visible output tokens and
4716
+ * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
4717
+ */
4718
+ max_output_tokens?: number | null;
4719
+
4720
+ /**
4721
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
4722
+ * for storing additional information about the object in a structured format, and
4723
+ * querying for objects via API or the dashboard.
4724
+ *
4725
+ * Keys are strings with a maximum length of 64 characters. Values are strings with
4726
+ * a maximum length of 512 characters.
4727
+ */
4728
+ metadata?: Shared.Metadata | null;
4729
+
4730
+ /**
4731
+ * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a
4732
+ * wide range of models with different capabilities, performance characteristics,
4733
+ * and price points. Refer to the
4734
+ * [model guide](https://platform.openai.com/docs/models) to browse and compare
4735
+ * available models.
4736
+ */
4737
+ model?: Shared.ResponsesModel;
4738
+
4739
+ /**
4740
+ * Whether to allow the model to run tool calls in parallel.
4741
+ */
4742
+ parallel_tool_calls?: boolean | null;
4743
+
4744
+ /**
4745
+ * The unique ID of the previous response to the model. Use this to create
4746
+ * multi-turn conversations. Learn more about
4747
+ * [conversation state](https://platform.openai.com/docs/guides/conversation-state).
4748
+ */
4749
+ previous_response_id?: string | null;
4750
+
4751
+ /**
4752
+ * Reference to a prompt template and its variables.
4753
+ * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).
4754
+ */
4755
+ prompt?: ResponsePrompt | null;
4756
+
4757
+ /**
4758
+ * **o-series models only**
4759
+ *
4760
+ * Configuration options for
4761
+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
4762
+ */
4763
+ reasoning?: Shared.Reasoning | null;
4764
+
4765
+ /**
4766
+ * Specifies the latency tier to use for processing the request. This parameter is
4767
+ * relevant for customers subscribed to the scale tier service:
4768
+ *
4769
+ * - If set to 'auto', and the Project is Scale tier enabled, the system will
4770
+ * utilize scale tier credits until they are exhausted.
4771
+ * - If set to 'auto', and the Project is not Scale tier enabled, the request will
4772
+ * be processed using the default service tier with a lower uptime SLA and no
4773
+ * latency guarantee.
4774
+ * - If set to 'default', the request will be processed using the default service
4775
+ * tier with a lower uptime SLA and no latency guarantee.
4776
+ * - If set to 'flex', the request will be processed with the Flex Processing
4777
+ * service tier.
4778
+ * [Learn more](https://platform.openai.com/docs/guides/flex-processing).
4779
+ * - When not set, the default behavior is 'auto'.
4780
+ *
4781
+ * When this parameter is set, the response body will include the `service_tier`
4782
+ * utilized.
4783
+ */
4784
+ service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null;
4785
+
4786
+ /**
4787
+ * Whether to store the generated model response for later retrieval via API.
4788
+ */
4789
+ store?: boolean | null;
4790
+
4791
+ /**
4792
+ * If set to true, the model response data will be streamed to the client as it is
4793
+ * generated using
4794
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
4795
+ * See the
4796
+ * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming)
4797
+ * for more information.
4798
+ */
4799
+ stream?: boolean | null;
4800
+
4801
+ /**
4802
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
4803
+ * make the output more random, while lower values like 0.2 will make it more
4804
+ * focused and deterministic. We generally recommend altering this or `top_p` but
4805
+ * not both.
4806
+ */
4807
+ temperature?: number | null;
4808
+
4809
+ /**
4810
+ * Configuration options for a text response from the model. Can be plain text or
4811
+ * structured JSON data. Learn more:
4812
+ *
4813
+ * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
4814
+ * - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
4815
+ */
4816
+ text?: ResponseTextConfig;
4817
+
4818
+ /**
4819
+ * How the model should select which tool (or tools) to use when generating a
4820
+ * response. See the `tools` parameter to see how to specify which tools the model
4821
+ * can call.
4822
+ */
4823
+ tool_choice?: ToolChoiceOptions | ToolChoiceTypes | ToolChoiceFunction;
4824
+
4825
+ /**
4826
+ * An array of tools the model may call while generating a response. You can
4827
+ * specify which tool to use by setting the `tool_choice` parameter.
4828
+ *
4829
+ * The two categories of tools you can provide the model are:
4830
+ *
4831
+ * - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
4832
+ * capabilities, like
4833
+ * [web search](https://platform.openai.com/docs/guides/tools-web-search) or
4834
+ * [file search](https://platform.openai.com/docs/guides/tools-file-search).
4835
+ * Learn more about
4836
+ * [built-in tools](https://platform.openai.com/docs/guides/tools).
4837
+ * - **Function calls (custom tools)**: Functions that are defined by you, enabling
4838
+ * the model to call your own code. Learn more about
4839
+ * [function calling](https://platform.openai.com/docs/guides/function-calling).
4840
+ */
4841
+ tools?: Array<Tool>;
4842
+
4843
+ /**
4844
+ * An alternative to sampling with temperature, called nucleus sampling, where the
4845
+ * model considers the results of the tokens with top_p probability mass. So 0.1
4846
+ * means only the tokens comprising the top 10% probability mass are considered.
4847
+ *
4848
+ * We generally recommend altering this or `temperature` but not both.
4849
+ */
4850
+ top_p?: number | null;
4851
+
4852
+ /**
4853
+ * The truncation strategy to use for the model response.
4854
+ *
4855
+ * - `auto`: If the context of this response and previous ones exceeds the model's
4856
+ * context window size, the model will truncate the response to fit the context
4857
+ * window by dropping input items in the middle of the conversation.
4858
+ * - `disabled` (default): If a model response will exceed the context window size
4859
+ * for a model, the request will fail with a 400 error.
4860
+ */
4861
+ truncation?: 'auto' | 'disabled' | null;
4862
+
4863
+ /**
4864
+ * A stable identifier for your end-users. Used to boost cache hit rates by better
4865
+ * bucketing similar requests and to help OpenAI detect and prevent abuse.
4866
+ * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).
4867
+ */
4868
+ user?: string;
4869
+ }
4870
+
4871
+ export namespace ResponseCreateParams {
4872
+ export type ResponseCreateParamsNonStreaming = ResponsesAPI.ResponseCreateParamsNonStreaming;
4873
+ export type ResponseCreateParamsStreaming = ResponsesAPI.ResponseCreateParamsStreaming;
4874
+ }
4875
+
4876
+ export interface ResponseCreateParamsNonStreaming extends ResponseCreateParamsBase {
4877
+ /**
4878
+ * If set to true, the model response data will be streamed to the client as it is
4879
+ * generated using
4880
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
4881
+ * See the
4882
+ * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming)
4883
+ * for more information.
4884
+ */
4885
+ stream?: false | null;
4886
+ }
4887
+
4888
+ export interface ResponseCreateParamsStreaming extends ResponseCreateParamsBase {
4889
+ /**
4890
+ * If set to true, the model response data will be streamed to the client as it is
4891
+ * generated using
4892
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
4893
+ * See the
4894
+ * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming)
4895
+ * for more information.
4896
+ */
4897
+ stream: true;
4898
+ }
4899
+
4900
+ export type ResponseRetrieveParams = ResponseRetrieveParamsNonStreaming | ResponseRetrieveParamsStreaming;
4901
+
4902
+ export interface ResponseRetrieveParamsBase {
4903
+ /**
4904
+ * Additional fields to include in the response. See the `include` parameter for
4905
+ * Response creation above for more information.
4906
+ */
4907
+ include?: Array<ResponseIncludable>;
4908
+
4909
+ /**
4910
+ * The sequence number of the event after which to start streaming.
4911
+ */
4912
+ starting_after?: number;
4913
+
4914
+ /**
4915
+ * If set to true, the model response data will be streamed to the client as it is
4916
+ * generated using
4917
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
4918
+ * See the
4919
+ * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming)
4920
+ * for more information.
4921
+ */
4922
+ stream?: boolean;
4923
+ }
4924
+
4925
+ export namespace ResponseRetrieveParams {
4926
+ export type ResponseRetrieveParamsNonStreaming = ResponsesAPI.ResponseRetrieveParamsNonStreaming;
4927
+ export type ResponseRetrieveParamsStreaming = ResponsesAPI.ResponseRetrieveParamsStreaming;
4928
+ }
4929
+
4930
+ export interface ResponseRetrieveParamsNonStreaming extends ResponseRetrieveParamsBase {
4931
+ /**
4932
+ * If set to true, the model response data will be streamed to the client as it is
4933
+ * generated using
4934
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
4935
+ * See the
4936
+ * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming)
4937
+ * for more information.
4938
+ */
4939
+ stream?: false;
4940
+ }
4941
+
4942
+ export interface ResponseRetrieveParamsStreaming extends ResponseRetrieveParamsBase {
4943
+ /**
4944
+ * If set to true, the model response data will be streamed to the client as it is
4945
+ * generated using
4946
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
4947
+ * See the
4948
+ * [Streaming section below](https://platform.openai.com/docs/api-reference/responses-streaming)
4949
+ * for more information.
4950
+ */
4951
+ stream: true;
4952
+ }
4953
+
4954
+ Responses.InputItems = InputItems;
4955
+
4956
+ export declare namespace Responses {
4957
+ export {
4958
+ type ComputerTool as ComputerTool,
4959
+ type EasyInputMessage as EasyInputMessage,
4960
+ type FileSearchTool as FileSearchTool,
4961
+ type FunctionTool as FunctionTool,
4962
+ type Response as Response,
4963
+ type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent,
4964
+ type ResponseAudioDoneEvent as ResponseAudioDoneEvent,
4965
+ type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent,
4966
+ type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent,
4967
+ type ResponseCodeInterpreterCallCodeDeltaEvent as ResponseCodeInterpreterCallCodeDeltaEvent,
4968
+ type ResponseCodeInterpreterCallCodeDoneEvent as ResponseCodeInterpreterCallCodeDoneEvent,
4969
+ type ResponseCodeInterpreterCallCompletedEvent as ResponseCodeInterpreterCallCompletedEvent,
4970
+ type ResponseCodeInterpreterCallInProgressEvent as ResponseCodeInterpreterCallInProgressEvent,
4971
+ type ResponseCodeInterpreterCallInterpretingEvent as ResponseCodeInterpreterCallInterpretingEvent,
4972
+ type ResponseCodeInterpreterToolCall as ResponseCodeInterpreterToolCall,
4973
+ type ResponseCompletedEvent as ResponseCompletedEvent,
4974
+ type ResponseComputerToolCall as ResponseComputerToolCall,
4975
+ type ResponseComputerToolCallOutputItem as ResponseComputerToolCallOutputItem,
4976
+ type ResponseComputerToolCallOutputScreenshot as ResponseComputerToolCallOutputScreenshot,
4977
+ type ResponseContent as ResponseContent,
4978
+ type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent,
4979
+ type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent,
4980
+ type ResponseCreatedEvent as ResponseCreatedEvent,
4981
+ type ResponseError as ResponseError,
4982
+ type ResponseErrorEvent as ResponseErrorEvent,
4983
+ type ResponseFailedEvent as ResponseFailedEvent,
4984
+ type ResponseFileSearchCallCompletedEvent as ResponseFileSearchCallCompletedEvent,
4985
+ type ResponseFileSearchCallInProgressEvent as ResponseFileSearchCallInProgressEvent,
4986
+ type ResponseFileSearchCallSearchingEvent as ResponseFileSearchCallSearchingEvent,
4987
+ type ResponseFileSearchToolCall as ResponseFileSearchToolCall,
4988
+ type ResponseFormatTextConfig as ResponseFormatTextConfig,
4989
+ type ResponseFormatTextJSONSchemaConfig as ResponseFormatTextJSONSchemaConfig,
4990
+ type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent,
4991
+ type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent,
4992
+ type ResponseFunctionToolCall as ResponseFunctionToolCall,
4993
+ type ResponseFunctionToolCallItem as ResponseFunctionToolCallItem,
4994
+ type ResponseFunctionToolCallOutputItem as ResponseFunctionToolCallOutputItem,
4995
+ type ResponseFunctionWebSearch as ResponseFunctionWebSearch,
4996
+ type ResponseImageGenCallCompletedEvent as ResponseImageGenCallCompletedEvent,
4997
+ type ResponseImageGenCallGeneratingEvent as ResponseImageGenCallGeneratingEvent,
4998
+ type ResponseImageGenCallInProgressEvent as ResponseImageGenCallInProgressEvent,
4999
+ type ResponseImageGenCallPartialImageEvent as ResponseImageGenCallPartialImageEvent,
5000
+ type ResponseInProgressEvent as ResponseInProgressEvent,
5001
+ type ResponseIncludable as ResponseIncludable,
5002
+ type ResponseIncompleteEvent as ResponseIncompleteEvent,
5003
+ type ResponseInput as ResponseInput,
5004
+ type ResponseInputAudio as ResponseInputAudio,
5005
+ type ResponseInputContent as ResponseInputContent,
5006
+ type ResponseInputFile as ResponseInputFile,
5007
+ type ResponseInputImage as ResponseInputImage,
5008
+ type ResponseInputItem as ResponseInputItem,
5009
+ type ResponseInputMessageContentList as ResponseInputMessageContentList,
5010
+ type ResponseInputMessageItem as ResponseInputMessageItem,
5011
+ type ResponseInputText as ResponseInputText,
5012
+ type ResponseItem as ResponseItem,
5013
+ type ResponseMcpCallArgumentsDeltaEvent as ResponseMcpCallArgumentsDeltaEvent,
5014
+ type ResponseMcpCallArgumentsDoneEvent as ResponseMcpCallArgumentsDoneEvent,
5015
+ type ResponseMcpCallCompletedEvent as ResponseMcpCallCompletedEvent,
5016
+ type ResponseMcpCallFailedEvent as ResponseMcpCallFailedEvent,
5017
+ type ResponseMcpCallInProgressEvent as ResponseMcpCallInProgressEvent,
5018
+ type ResponseMcpListToolsCompletedEvent as ResponseMcpListToolsCompletedEvent,
5019
+ type ResponseMcpListToolsFailedEvent as ResponseMcpListToolsFailedEvent,
5020
+ type ResponseMcpListToolsInProgressEvent as ResponseMcpListToolsInProgressEvent,
5021
+ type ResponseOutputAudio as ResponseOutputAudio,
5022
+ type ResponseOutputItem as ResponseOutputItem,
5023
+ type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent,
5024
+ type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent,
5025
+ type ResponseOutputMessage as ResponseOutputMessage,
5026
+ type ResponseOutputRefusal as ResponseOutputRefusal,
5027
+ type ResponseOutputText as ResponseOutputText,
5028
+ type ResponseOutputTextAnnotationAddedEvent as ResponseOutputTextAnnotationAddedEvent,
5029
+ type ResponsePrompt as ResponsePrompt,
5030
+ type ResponseQueuedEvent as ResponseQueuedEvent,
5031
+ type ResponseReasoningDeltaEvent as ResponseReasoningDeltaEvent,
5032
+ type ResponseReasoningDoneEvent as ResponseReasoningDoneEvent,
5033
+ type ResponseReasoningItem as ResponseReasoningItem,
5034
+ type ResponseReasoningSummaryDeltaEvent as ResponseReasoningSummaryDeltaEvent,
5035
+ type ResponseReasoningSummaryDoneEvent as ResponseReasoningSummaryDoneEvent,
5036
+ type ResponseReasoningSummaryPartAddedEvent as ResponseReasoningSummaryPartAddedEvent,
5037
+ type ResponseReasoningSummaryPartDoneEvent as ResponseReasoningSummaryPartDoneEvent,
5038
+ type ResponseReasoningSummaryTextDeltaEvent as ResponseReasoningSummaryTextDeltaEvent,
5039
+ type ResponseReasoningSummaryTextDoneEvent as ResponseReasoningSummaryTextDoneEvent,
5040
+ type ResponseRefusalDeltaEvent as ResponseRefusalDeltaEvent,
5041
+ type ResponseRefusalDoneEvent as ResponseRefusalDoneEvent,
5042
+ type ResponseStatus as ResponseStatus,
5043
+ type ResponseStreamEvent as ResponseStreamEvent,
5044
+ type ResponseTextConfig as ResponseTextConfig,
5045
+ type ResponseTextDeltaEvent as ResponseTextDeltaEvent,
5046
+ type ResponseTextDoneEvent as ResponseTextDoneEvent,
5047
+ type ResponseUsage as ResponseUsage,
5048
+ type ResponseWebSearchCallCompletedEvent as ResponseWebSearchCallCompletedEvent,
5049
+ type ResponseWebSearchCallInProgressEvent as ResponseWebSearchCallInProgressEvent,
5050
+ type ResponseWebSearchCallSearchingEvent as ResponseWebSearchCallSearchingEvent,
5051
+ type Tool as Tool,
5052
+ type ToolChoiceFunction as ToolChoiceFunction,
5053
+ type ToolChoiceOptions as ToolChoiceOptions,
5054
+ type ToolChoiceTypes as ToolChoiceTypes,
5055
+ type WebSearchTool as WebSearchTool,
5056
+ type ResponseCreateParams as ResponseCreateParams,
5057
+ type ResponseCreateParamsNonStreaming as ResponseCreateParamsNonStreaming,
5058
+ type ResponseCreateParamsStreaming as ResponseCreateParamsStreaming,
5059
+ type ResponseRetrieveParams as ResponseRetrieveParams,
5060
+ type ResponseRetrieveParamsNonStreaming as ResponseRetrieveParamsNonStreaming,
5061
+ type ResponseRetrieveParamsStreaming as ResponseRetrieveParamsStreaming,
5062
+ };
5063
+
5064
+ export {
5065
+ InputItems as InputItems,
5066
+ type ResponseItemList as ResponseItemList,
5067
+ type InputItemListParams as InputItemListParams,
5068
+ };
5069
+ }