@mastra/core 1.87.0-alpha.2 → 1.87.0-alpha.5

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 (446) hide show
  1. package/dist/_types/@ai-sdk_openai@4.0.106/dist/index.d.ts +2034 -0
  2. package/dist/_types/@ai-sdk_openai@4.0.106/package.json +1 -0
  3. package/dist/a2a/index.cjs +1 -1
  4. package/dist/a2a/index.js +1 -1
  5. package/dist/agent/durable/index.cjs +1 -1
  6. package/dist/agent/durable/index.js +1 -1
  7. package/dist/agent/durable/run-message-refs.d.ts +3 -2
  8. package/dist/agent/index.cjs +4 -4
  9. package/dist/agent/index.js +4 -4
  10. package/dist/agent/message-list/adapters/AIV5Adapter.d.ts +15 -1
  11. package/dist/agent/message-list/index.cjs +2 -2
  12. package/dist/agent/message-list/index.js +2 -2
  13. package/dist/agent/message-list/state/types.d.ts +5 -1
  14. package/dist/agent/message-list/types.d.ts +1 -1
  15. package/dist/agent/message-list/utils/provider-compat.d.ts +9 -1
  16. package/dist/agent-builder/ee/index.cjs +1 -1
  17. package/dist/agent-builder/ee/index.js +1 -1
  18. package/dist/agent-controller/agent-controller.d.ts +6 -0
  19. package/dist/agent-controller/index.cjs +2 -2
  20. package/dist/agent-controller/index.js +2 -2
  21. package/dist/agent-controller/worker-run-binding.d.ts +15 -0
  22. package/dist/{agent-controller-Dc58ARqw.js → agent-controller-CDwoELRq.js} +50 -8
  23. package/dist/{agent-controller-v64JbuDa.cjs → agent-controller-DEB1G03O.cjs} +50 -8
  24. package/dist/background-tasks/index.cjs +1 -1
  25. package/dist/background-tasks/index.js +1 -1
  26. package/dist/{background-tasks-DgiQNKh7.cjs → background-tasks-B40g_Guf.cjs} +1 -1
  27. package/dist/{background-tasks-E-Jjxks4.js → background-tasks-CBp2178j.js} +1 -1
  28. package/dist/browser/index.cjs +2 -2
  29. package/dist/browser/index.js +2 -2
  30. package/dist/{builder-Dh175HnQ.js → builder-DTEXPju5.js} +2 -2
  31. package/dist/{builder-Dfp6Ckjr.cjs → builder-tuHJooMG.cjs} +2 -2
  32. package/dist/capabilities/302ai.json +191 -191
  33. package/dist/capabilities/abliteratedllm.json +39 -39
  34. package/dist/capabilities/abliteration-ai.json +10 -10
  35. package/dist/capabilities/above.json +20 -20
  36. package/dist/capabilities/adaption.json +15 -15
  37. package/dist/capabilities/adzuki.json +20 -20
  38. package/dist/capabilities/agentrouter.json +9 -9
  39. package/dist/capabilities/agnes.json +3 -3
  40. package/dist/capabilities/ai-router.json +6 -6
  41. package/dist/capabilities/aiand.json +25 -25
  42. package/dist/capabilities/aigrow.json +15 -15
  43. package/dist/capabilities/aimlapi.json +140 -143
  44. package/dist/capabilities/aixy.json +22 -22
  45. package/dist/capabilities/aki-io.json +12 -12
  46. package/dist/capabilities/alibaba-cn.json +98 -98
  47. package/dist/capabilities/alibaba-coding-plan-cn.json +3 -3
  48. package/dist/capabilities/alibaba-coding-plan.json +3 -3
  49. package/dist/capabilities/alibaba-token-plan-cn.json +48 -48
  50. package/dist/capabilities/alibaba-token-plan.json +51 -51
  51. package/dist/capabilities/alibaba.json +99 -65
  52. package/dist/capabilities/ambient.json +23 -16
  53. package/dist/capabilities/amd.json +7 -7
  54. package/dist/capabilities/anthropic.json +43 -43
  55. package/dist/capabilities/anyapi.json +13 -13
  56. package/dist/capabilities/apiko.json +2 -2
  57. package/dist/capabilities/arcee.json +9 -9
  58. package/dist/capabilities/augure.json +7 -7
  59. package/dist/capabilities/auriko.json +20 -20
  60. package/dist/capabilities/bailing.json +5 -5
  61. package/dist/capabilities/baseten.json +32 -32
  62. package/dist/capabilities/bee.json +3 -3
  63. package/dist/capabilities/berget.json +8 -8
  64. package/dist/capabilities/bothub.json +17 -17
  65. package/dist/capabilities/boundless.json +39 -39
  66. package/dist/capabilities/bumo.json +38 -38
  67. package/dist/capabilities/byteplus.json +32 -32
  68. package/dist/capabilities/cerebras.json +4 -4
  69. package/dist/capabilities/cheapaimodel.json +10 -10
  70. package/dist/capabilities/cheapest-token.json +30 -30
  71. package/dist/capabilities/chutes.json +10 -10
  72. package/dist/capabilities/clarifai.json +2 -2
  73. package/dist/capabilities/cline-pass.json +36 -36
  74. package/dist/capabilities/cloudcode.json +9 -9
  75. package/dist/capabilities/cloudflare-workers-ai.json +19 -19
  76. package/dist/capabilities/commandcode.json +145 -145
  77. package/dist/capabilities/concentrate.json +278 -295
  78. package/dist/capabilities/cortecs.json +109 -109
  79. package/dist/capabilities/crossmodel.json +200 -200
  80. package/dist/capabilities/crusoe.json +10 -10
  81. package/dist/capabilities/daoxe.json +6 -6
  82. package/dist/capabilities/databricks.json +124 -124
  83. package/dist/capabilities/deepinfra.json +98 -89
  84. package/dist/capabilities/deepseek.json +4 -4
  85. package/dist/capabilities/digitalocean.json +113 -113
  86. package/dist/capabilities/dothoosh.json +27 -27
  87. package/dist/capabilities/doubleword.json +23 -23
  88. package/dist/capabilities/edenai.json +283 -292
  89. package/dist/capabilities/empiriolabs.json +159 -159
  90. package/dist/capabilities/engy.json +23 -23
  91. package/dist/capabilities/entrim.json +2 -2
  92. package/dist/capabilities/evroc.json +16 -16
  93. package/dist/capabilities/ezkielyna.json +10 -10
  94. package/dist/capabilities/fastrouter.json +82 -82
  95. package/dist/capabilities/fireworks-ai.json +126 -65
  96. package/dist/capabilities/freemodel.json +15 -15
  97. package/dist/capabilities/friendli.json +8 -8
  98. package/dist/capabilities/frogbot.json +95 -95
  99. package/dist/capabilities/gisoo.json +15 -15
  100. package/dist/capabilities/gmicloud.json +13 -13
  101. package/dist/capabilities/google.json +54 -54
  102. package/dist/capabilities/graphn.json +16 -16
  103. package/dist/capabilities/greenpt.json +35 -35
  104. package/dist/capabilities/groq.json +9 -9
  105. package/dist/capabilities/helicone.json +84 -84
  106. package/dist/capabilities/hopper.json +2 -2
  107. package/dist/capabilities/hostinger-router.json +11 -11
  108. package/dist/capabilities/hpc-ai.json +7 -7
  109. package/dist/capabilities/huawei-maas.json +15 -15
  110. package/dist/capabilities/hubris.json +32 -32
  111. package/dist/capabilities/huggingface.json +118 -78
  112. package/dist/capabilities/hyper.json +20 -28
  113. package/dist/capabilities/impossibl.json +123 -123
  114. package/dist/capabilities/inception.json +3 -3
  115. package/dist/capabilities/inceptron.json +2 -2
  116. package/dist/capabilities/inco.json +5 -5
  117. package/dist/capabilities/infer.json +16 -16
  118. package/dist/capabilities/inferall.json +14 -14
  119. package/dist/capabilities/inference-coop.json +8 -8
  120. package/dist/capabilities/inferenceapis.json +15 -15
  121. package/dist/capabilities/inferris.json +2 -2
  122. package/dist/capabilities/infersia.json +9 -9
  123. package/dist/capabilities/inferx.json +2 -2
  124. package/dist/capabilities/infomaniak.json +4 -4
  125. package/dist/capabilities/io-net.json +2 -2
  126. package/dist/capabilities/isoquant.json +4 -4
  127. package/dist/capabilities/iteracompute.json +54 -54
  128. package/dist/capabilities/jalapeno.json +11 -11
  129. package/dist/capabilities/jiekou.json +63 -63
  130. package/dist/capabilities/jzstoken.json +50 -50
  131. package/dist/capabilities/keln.json +18 -18
  132. package/dist/capabilities/kenari.json +118 -126
  133. package/dist/capabilities/kilo.json +632 -638
  134. package/dist/capabilities/kimi-code-plan-cn.json +5 -5
  135. package/dist/capabilities/kimi-code-plan-global.json +5 -5
  136. package/dist/capabilities/klavo.json +20 -20
  137. package/dist/capabilities/korouter.json +34 -34
  138. package/dist/capabilities/kunavo.json +10 -10
  139. package/dist/capabilities/liquid.json +13 -13
  140. package/dist/capabilities/lithosai.json +2 -2
  141. package/dist/capabilities/llmgateway-providers.json +973 -917
  142. package/dist/capabilities/llmgateway.json +333 -333
  143. package/dist/capabilities/llmtr.json +29 -29
  144. package/dist/capabilities/logits.json +2 -2
  145. package/dist/capabilities/lowrouter.json +54 -54
  146. package/dist/capabilities/lyceum.json +14 -14
  147. package/dist/capabilities/melious.json +15 -15
  148. package/dist/capabilities/merge-gateway.json +244 -244
  149. package/dist/capabilities/meta.json +8 -8
  150. package/dist/capabilities/minimax-cn-coding-plan.json +5 -5
  151. package/dist/capabilities/minimax-cn.json +5 -5
  152. package/dist/capabilities/minimax-coding-plan.json +5 -5
  153. package/dist/capabilities/minimax.json +5 -5
  154. package/dist/capabilities/mistral.json +17 -17
  155. package/dist/capabilities/mixlayer.json +2 -2
  156. package/dist/capabilities/modal.json +10 -10
  157. package/dist/capabilities/model-oracle-ai.json +25 -25
  158. package/dist/capabilities/modelis.json +24 -24
  159. package/dist/capabilities/modelscope.json +2 -2
  160. package/dist/capabilities/modular.json +9 -9
  161. package/dist/capabilities/moneo.json +14 -14
  162. package/dist/capabilities/moonshotai-cn.json +7 -7
  163. package/dist/capabilities/moonshotai.json +7 -7
  164. package/dist/capabilities/morph.json +13 -13
  165. package/dist/capabilities/munito-eu.json +8 -8
  166. package/dist/capabilities/munito.json +8 -8
  167. package/dist/capabilities/nan.json +25 -25
  168. package/dist/capabilities/nano-gpt.json +573 -554
  169. package/dist/capabilities/nearai.json +89 -89
  170. package/dist/capabilities/nebius.json +30 -30
  171. package/dist/capabilities/neon.json +128 -128
  172. package/dist/capabilities/neuralwatt.json +41 -41
  173. package/dist/capabilities/novita-ai.json +171 -171
  174. package/dist/capabilities/nvidia.json +40 -40
  175. package/dist/capabilities/oathbreaker.json +2 -2
  176. package/dist/capabilities/obscurify.json +21 -21
  177. package/dist/capabilities/oci.json +10 -10
  178. package/dist/capabilities/ofox.json +375 -375
  179. package/dist/capabilities/ollama-cloud.json +51 -51
  180. package/dist/capabilities/openai.json +53 -53
  181. package/dist/capabilities/opencode-go.json +86 -86
  182. package/dist/capabilities/openreason.json +5 -5
  183. package/dist/capabilities/openrouter.json +557 -546
  184. package/dist/capabilities/opper.json +29 -29
  185. package/dist/capabilities/orcarouter.json +254 -254
  186. package/dist/capabilities/outerlabs.json +29 -29
  187. package/dist/capabilities/ovhcloud.json +23 -23
  188. package/dist/capabilities/pendra.json +4 -4
  189. package/dist/capabilities/perplexity-agent.json +55 -55
  190. package/dist/capabilities/perplexity.json +2 -2
  191. package/dist/capabilities/phala.json +34 -34
  192. package/dist/capabilities/pioneer.json +30 -30
  193. package/dist/capabilities/poe.json +126 -126
  194. package/dist/capabilities/powerspring.json +11 -11
  195. package/dist/capabilities/primalabs.json +10 -10
  196. package/dist/capabilities/prime.json +120 -119
  197. package/dist/capabilities/privatemode-ai.json +10 -10
  198. package/dist/capabilities/proxystacks.json +7 -7
  199. package/dist/capabilities/qiniu-ai.json +14 -14
  200. package/dist/capabilities/refuseless.json +9 -9
  201. package/dist/capabilities/regolo-ai.json +5 -5
  202. package/dist/capabilities/requesty.json +167 -190
  203. package/dist/capabilities/ruapi.json +17 -17
  204. package/dist/capabilities/runcrate.json +9 -9
  205. package/dist/capabilities/runinfra.json +10 -10
  206. package/dist/capabilities/sakana.json +6 -6
  207. package/dist/capabilities/sambanova.json +8 -8
  208. package/dist/capabilities/sandbase.json +21 -21
  209. package/dist/capabilities/sarvam.json +5 -5
  210. package/dist/capabilities/scaleway.json +18 -18
  211. package/dist/capabilities/scnet-token-plan.json +10 -10
  212. package/dist/capabilities/scx-ai.json +32 -32
  213. package/dist/capabilities/sensenova.json +14 -14
  214. package/dist/capabilities/siliconflow-cn.json +44 -44
  215. package/dist/capabilities/siliconflow.json +53 -53
  216. package/dist/capabilities/snowflake-cortex.json +22 -22
  217. package/dist/capabilities/sokkan.json +9 -9
  218. package/dist/capabilities/sparrowcodes.json +19 -19
  219. package/dist/capabilities/standardcompute.json +90 -90
  220. package/dist/capabilities/steadyrouter.json +42 -42
  221. package/dist/capabilities/stepfun-ai-step-plan.json +2 -2
  222. package/dist/capabilities/stepfun-ai.json +2 -2
  223. package/dist/capabilities/stepfun-step-plan.json +2 -2
  224. package/dist/capabilities/stepfun.json +2 -2
  225. package/dist/capabilities/stepping-stone.json +19 -19
  226. package/dist/capabilities/synthetic.json +10 -10
  227. package/dist/capabilities/synthorai.json +24 -24
  228. package/dist/capabilities/teamorouter.json +23 -23
  229. package/dist/capabilities/teapot-router.json +12 -12
  230. package/dist/capabilities/tencent-token-plan-intl.json +126 -0
  231. package/dist/capabilities/tencent-token-plan.json +39 -39
  232. package/dist/capabilities/tencent-tokenhub.json +56 -41
  233. package/dist/capabilities/tensorx.json +50 -50
  234. package/dist/capabilities/tenstorrent.json +6 -6
  235. package/dist/capabilities/the-grid-ai.json +33 -33
  236. package/dist/capabilities/thinkingmachines.json +77 -77
  237. package/dist/capabilities/tinfoil.json +12 -12
  238. package/dist/capabilities/toapis.json +2 -2
  239. package/dist/capabilities/togetherai.json +41 -41
  240. package/dist/capabilities/tokengo.json +22 -22
  241. package/dist/capabilities/tokenify.json +3 -3
  242. package/dist/capabilities/trustedrouter.json +7 -7
  243. package/dist/capabilities/trustedtokens.json +17 -17
  244. package/dist/capabilities/umans-ai-coding-plan.json +11 -11
  245. package/dist/capabilities/umans-ai.json +8 -8
  246. package/dist/capabilities/uncensuredai.json +5 -5
  247. package/dist/capabilities/unrestricted.json +4 -4
  248. package/dist/capabilities/uplinkswitch.json +21 -21
  249. package/dist/capabilities/upstage.json +6 -6
  250. package/dist/capabilities/vancine.json +24 -24
  251. package/dist/capabilities/vercel.json +582 -582
  252. package/dist/capabilities/vivgrid.json +86 -86
  253. package/dist/capabilities/volcengine-coding-plan.json +29 -29
  254. package/dist/capabilities/volcengine.json +23 -23
  255. package/dist/capabilities/vultr.json +27 -27
  256. package/dist/capabilities/wafer.ai.json +18 -18
  257. package/dist/capabilities/wallaby.json +2 -2
  258. package/dist/capabilities/wally.json +11 -11
  259. package/dist/capabilities/wandb.json +21 -21
  260. package/dist/capabilities/watt.json +20 -20
  261. package/dist/capabilities/xai.json +5 -5
  262. package/dist/capabilities/xiaomi-token-plan-ams.json +2 -2
  263. package/dist/capabilities/xiaomi-token-plan-cn.json +2 -2
  264. package/dist/capabilities/xiaomi-token-plan-sgp.json +2 -2
  265. package/dist/capabilities/xiaomi.json +2 -2
  266. package/dist/capabilities/xpersona.json +10 -10
  267. package/dist/capabilities/xxapi.json +28 -28
  268. package/dist/capabilities/zai-coding-plan.json +18 -18
  269. package/dist/capabilities/zai.json +27 -27
  270. package/dist/capabilities/zenifra.json +26 -26
  271. package/dist/capabilities/zenmux.json +200 -200
  272. package/dist/capabilities/zerogpu.json +13 -13
  273. package/dist/capabilities/zhipuai-coding-plan.json +8 -8
  274. package/dist/capabilities/zhipuai.json +26 -26
  275. package/dist/capabilities/zro.json +7 -7
  276. package/dist/channels/agent-channels.d.ts +22 -0
  277. package/dist/channels/index.cjs +2 -2
  278. package/dist/channels/index.js +2 -2
  279. package/dist/channels/output-processor.d.ts +12 -0
  280. package/dist/channels/state-adapter.d.ts +3 -1
  281. package/dist/channels/stream-helpers.d.ts +17 -0
  282. package/dist/{channels-0AO7PMJF.js → channels-CC2Z4adP.js} +1 -1
  283. package/dist/{channels-BZL9RT2i.cjs → channels-Drxs9g13.cjs} +1 -1
  284. package/dist/coding-agent/index.cjs +2 -2
  285. package/dist/coding-agent/index.js +2 -2
  286. package/dist/{constants-B9ZDvXZ4.cjs → constants-Bou0hEgY.cjs} +4 -0
  287. package/dist/{constants-BmdTvEYN.js → constants-CFWgIaqA.js} +4 -0
  288. package/dist/datasets/experiment/scorer.d.ts +16 -5
  289. package/dist/datasets/index.cjs +2 -2
  290. package/dist/datasets/index.js +2 -2
  291. package/dist/docs/SKILL.md +2 -1
  292. package/dist/docs/assets/SOURCE_MAP.json +1032 -1032
  293. package/dist/docs/references/docs-agents-networks.md +1 -1
  294. package/dist/docs/references/docs-agents-tools.md +6 -0
  295. package/dist/docs/references/docs-auth-simple-auth.md +8 -8
  296. package/dist/docs/references/docs-evals-custom-scorers.md +1 -1
  297. package/dist/docs/references/docs-mastra-platform-observability-overview.md +3 -189
  298. package/dist/docs/references/docs-memory-message-history.md +25 -0
  299. package/dist/docs/references/docs-sandbox-lsp.md +5 -6
  300. package/dist/docs/references/docs-sandbox-overview.md +20 -0
  301. package/dist/docs/references/docs-sandbox-skills.md +2 -0
  302. package/dist/docs/references/docs-signals-sending-signals.md +1 -1
  303. package/dist/docs/references/reference-agent-controller-session.md +1 -1
  304. package/dist/docs/references/reference-agents-generate.md +1 -1
  305. package/dist/docs/references/reference-agents-network.md +1 -1
  306. package/dist/docs/references/reference-configuration.md +8 -8
  307. package/dist/docs/references/reference-core-getWorkspaceById.md +37 -0
  308. package/dist/docs/references/reference-evals-create-scorer.md +5 -5
  309. package/dist/docs/references/reference-evals-run-evals.md +1 -1
  310. package/dist/docs/references/reference-knowledge-knowledge-tools.md +3 -3
  311. package/dist/docs/references/reference-manual-install.md +1 -1
  312. package/dist/docs/references/reference-memory-observational-memory.md +8 -0
  313. package/dist/docs/references/reference-observability-tracing-interfaces.md +10 -6
  314. package/dist/docs/references/reference-processors-processor-interface.md +3 -2
  315. package/dist/docs/references/reference-processors-system-prompt-scrubber.md +1 -1
  316. package/dist/docs/references/reference-pubsub-base.md +5 -3
  317. package/dist/docs/references/reference-pubsub-caching-pubsub.md +3 -1
  318. package/dist/docs/references/reference-storage-overview.md +1 -1
  319. package/dist/docs/references/reference-storage-retention.md +20 -20
  320. package/dist/docs/references/reference-tools-vector-query-tool.md +8 -0
  321. package/dist/docs/references/reference-voice-overview.md +11 -26
  322. package/dist/docs/references/reference-voice-speech-to-speech.md +1 -1
  323. package/dist/docs/references/reference-voice-voice.listen.md +1 -0
  324. package/dist/docs/references/reference-voice-voice.speak.md +1 -3
  325. package/dist/docs/references/reference-workspace-factory-sandbox.md +6 -6
  326. package/dist/docs/references/reference-workspace-sandbox.md +14 -0
  327. package/dist/docs/references/reference.md +1 -0
  328. package/dist/evals/index.cjs +2 -2
  329. package/dist/evals/index.js +2 -2
  330. package/dist/evals/scoreTraces/index.cjs +2 -2
  331. package/dist/evals/scoreTraces/index.js +2 -2
  332. package/dist/harness/index.cjs +2 -2
  333. package/dist/harness/index.js +2 -2
  334. package/dist/index.cjs +1 -1
  335. package/dist/index.js +1 -1
  336. package/dist/knowledge/index.cjs +51 -16
  337. package/dist/knowledge/index.js +51 -16
  338. package/dist/knowledge/page-tools.d.ts +9 -0
  339. package/dist/knowledge/scope-runtime.d.ts +6 -0
  340. package/dist/llm/index.cjs +3 -3
  341. package/dist/llm/index.js +3 -3
  342. package/dist/llm/model/base.types.d.ts +3 -1
  343. package/dist/llm/model/mastra-gateway-provider-tools.d.ts +9 -6
  344. package/dist/llm/model/model.d.ts +1 -1
  345. package/dist/llm/model/model.loop.d.ts +1 -1
  346. package/dist/llm/model/model.loop.types.d.ts +3 -1
  347. package/dist/llm/model/provider-options.d.ts +4 -3
  348. package/dist/llm/model/provider-types.generated.d.ts +7932 -7894
  349. package/dist/{llm-B4AeSFvV.cjs → llm-CbpBEabY.cjs} +38 -78
  350. package/dist/{llm-B46V7Mi7.js → llm-D3y8qOKL.js} +38 -78
  351. package/dist/loop/index.cjs +2 -2
  352. package/dist/loop/index.js +2 -2
  353. package/dist/{manager-BwDxA1Nn.cjs → manager-BOn6RJwA.cjs} +106 -35
  354. package/dist/{manager-BRAvwB9b.js → manager-elIuArZa.js} +106 -35
  355. package/dist/mastra/index.cjs +1 -1
  356. package/dist/mastra/index.js +1 -1
  357. package/dist/{mastra-DBhdD172.cjs → mastra-CDQJWY6v.cjs} +16 -16
  358. package/dist/{mastra-CIx6qEq2.js → mastra-DQjco6Bt.js} +16 -16
  359. package/dist/memory/index.cjs +3 -3
  360. package/dist/memory/index.js +3 -3
  361. package/dist/{message-list-wI71UGxk.js → message-list-BGm1DCiG.js} +230 -129
  362. package/dist/{message-list-DfN9mWeN.cjs → message-list-vR3uLAHL.cjs} +230 -129
  363. package/dist/{model-CJMsDU8w.js → model-BjyU1L4I.js} +4 -3
  364. package/dist/{model-CYhAa5qO.cjs → model-C4aI7k-i.cjs} +4 -3
  365. package/dist/{netlify-Bw7Vd58y.cjs → netlify-BjuUEMrL.cjs} +41364 -30461
  366. package/dist/{netlify-C9aJA6Cv.js → netlify-BpB7PtZV.js} +41361 -30464
  367. package/dist/notifications/index.cjs +1 -1
  368. package/dist/notifications/index.js +1 -1
  369. package/dist/observability/types/tracing.d.ts +1 -1
  370. package/dist/processor-provider/index.cjs +1 -1
  371. package/dist/processor-provider/index.js +1 -1
  372. package/dist/processors/index.cjs +2 -2
  373. package/dist/processors/index.js +2 -2
  374. package/dist/{provider-registry-DOfYSEju.js → provider-registry-BjdxtGZZ.js} +22658 -22514
  375. package/dist/{provider-registry-Bn_7VvZ8.cjs → provider-registry-bkFdaY45.cjs} +22657 -22513
  376. package/dist/provider-registry.json +22617 -22527
  377. package/dist/{registry-generator-BnK5Npgr.cjs → registry-generator-BORKO0_T.cjs} +1 -1
  378. package/dist/{registry-generator-Cw594Ttt.js → registry-generator-CPF318Kc.js} +1 -1
  379. package/dist/{rehydrate-BWnd_TEx.cjs → rehydrate-Cps4MTph.cjs} +2 -2
  380. package/dist/{rehydrate-Dgqkw7Py.js → rehydrate-Cw2Id-Uz.js} +2 -2
  381. package/dist/relevance/index.cjs +2 -2
  382. package/dist/relevance/index.js +2 -2
  383. package/dist/{run-registry-lLRc7EE6.cjs → run-registry-BTFPEkXT.cjs} +368 -92
  384. package/dist/{run-registry-DhOKJtlb.js → run-registry-D5z2YVqJ.js} +356 -92
  385. package/dist/storage/constants.cjs +1 -1
  386. package/dist/storage/constants.js +1 -1
  387. package/dist/storage/domains/knowledge/base.d.ts +16 -1
  388. package/dist/storage/domains/knowledge/importers-inmemory.d.ts +1 -0
  389. package/dist/storage/domains/knowledge/importers.d.ts +8 -0
  390. package/dist/storage/domains/knowledge/inmemory.d.ts +1 -0
  391. package/dist/storage/domains/knowledge/pages-inmemory.d.ts +5 -1
  392. package/dist/storage/index.cjs +3 -3
  393. package/dist/storage/index.js +3 -3
  394. package/dist/storage/types.d.ts +8 -0
  395. package/dist/stream/index.cjs +2 -2
  396. package/dist/stream/index.js +2 -2
  397. package/dist/{stream-BIDts1fZ.cjs → stream-D1OnBHDi.cjs} +3 -3
  398. package/dist/{stream-C8HKG3qC.js → stream-DB5efioT.js} +3 -3
  399. package/dist/test-utils/llm-mock.cjs +1 -1
  400. package/dist/test-utils/llm-mock.js +1 -1
  401. package/dist/{to-prompt-B9eZo2U5.cjs → to-prompt-CG-LyaBY.cjs} +9 -0
  402. package/dist/{to-prompt-BsDtVXrf.js → to-prompt-CMlVGYxC.js} +9 -0
  403. package/dist/tool-loop-agent/index.cjs +1 -1
  404. package/dist/tool-loop-agent/index.js +1 -1
  405. package/dist/{tool-loop-agent-DM5V_0XS.js → tool-loop-agent-DkhFVx0h.js} +4 -4
  406. package/dist/{tool-loop-agent-PEY5a1R6.cjs → tool-loop-agent-Ote8gJMn.cjs} +4 -4
  407. package/dist/tools/index.cjs +1 -1
  408. package/dist/tools/index.js +1 -1
  409. package/dist/{tools-CDfyMpzN.js → tools-DDfA_ES4.js} +113 -31
  410. package/dist/{tools-CGF5Ik6j.cjs → tools-n9lqzDNe.cjs} +113 -31
  411. package/dist/{utils-DcnKVK34.js → utils-BTKpGHA6.js} +1 -1
  412. package/dist/{utils-CxMSu_wc.cjs → utils-Dl_UFejV.cjs} +1 -1
  413. package/dist/utils.cjs +1 -1
  414. package/dist/utils.js +1 -1
  415. package/dist/{validate-Dn750ciE.js → validate-D6fUqYGz.js} +1 -1
  416. package/dist/{validate-RVKgazCf.cjs → validate-DdDuQRoZ.cjs} +1 -1
  417. package/dist/vector/index.cjs +2 -2
  418. package/dist/vector/index.js +2 -2
  419. package/dist/worker/index.cjs +1 -1
  420. package/dist/worker/index.js +1 -1
  421. package/dist/{worker-Dx0ZHMGX.cjs → worker-B27B9RlK.cjs} +2 -2
  422. package/dist/{worker-SDi9jbP5.js → worker-Bo_hTQJC.js} +2 -2
  423. package/dist/{worker-DJPAdazC.js → worker-DC269pGx.js} +2 -2
  424. package/dist/{worker-CFPu9qwV.cjs → worker-mq-oiLa5.cjs} +2 -2
  425. package/dist/{workflow-ZFOz_365.cjs → workflow-D61dV4AC.cjs} +3 -3
  426. package/dist/{workflow-DkBqNn7X.js → workflow-D97r3h2-.js} +3 -3
  427. package/dist/workflows/builder/index.cjs +1 -1
  428. package/dist/workflows/builder/index.js +1 -1
  429. package/dist/workflows/evented/index.cjs +1 -1
  430. package/dist/workflows/evented/index.js +1 -1
  431. package/dist/workflows/index.cjs +4 -4
  432. package/dist/workflows/index.js +4 -4
  433. package/dist/workflows/step.d.ts +2 -0
  434. package/dist/workflows/workflow.d.ts +2 -0
  435. package/dist/workspace/index.cjs +3 -1
  436. package/dist/workspace/index.d.ts +1 -1
  437. package/dist/workspace/index.js +2 -2
  438. package/dist/workspace/lsp/manager.d.ts +19 -4
  439. package/dist/workspace/sandbox/mastra-sandbox.d.ts +17 -0
  440. package/dist/workspace/tools/index.d.ts +1 -0
  441. package/dist/workspace/tools/media.d.ts +20 -1
  442. package/dist/workspace/tools/recreate-sandbox.d.ts +24 -0
  443. package/dist/{workspace-DY2Nxiyi.js → workspace-BK9ltbSa.js} +270 -105
  444. package/dist/{workspace-X2RHJZU9.cjs → workspace-Pv3J8K0c.cjs} +281 -104
  445. package/package.json +9 -9
  446. package/src/llm/model/provider-types.generated.d.ts +7932 -7894
@@ -0,0 +1,2034 @@
1
+ import { FetchFunction, InferSchema, Resolvable, WORKFLOW_DESERIALIZE, WORKFLOW_SERIALIZE, WebSocketConstructor } from "../../@ai-sdk_provider-utils@5.0.81/dist/index.js";
2
+ import { EmbeddingModelV4, Experimental_BatchV4, Experimental_DecisionModelV4, Experimental_RealtimeFactoryV4, Experimental_RealtimeModelV4, Experimental_RealtimeModelV4ClientEvent, Experimental_RealtimeModelV4ClientSecretOptions, Experimental_RealtimeModelV4ClientSecretResult, Experimental_RealtimeModelV4ServerEvent, Experimental_RealtimeModelV4SessionConfig, Experimental_SpeechTranslationModelV4, Experimental_SpeechTranslationModelV4StreamOptions, FilesV4, ImageModelV4, JSONObject, JSONValue, LanguageModelV4, ProviderV4, SkillsV4, SpeechModelV4, TranscriptionModelV4 } from "../../@ai-sdk_provider@4.0.38/dist/index.js";
3
+ import { z } from "zod/v4";
4
+ //#region src/openai-config.d.ts
5
+ type OpenAIHeaders = Record<string, string | undefined>;
6
+ type OpenAIConfig = {
7
+ provider: string;
8
+ /** Model ID sent to the API. Defaults to the model's reported ID. */
9
+ requestModelId?: string;
10
+ baseURL?: string;
11
+ url: (options: {
12
+ modelId: string;
13
+ path: string;
14
+ }) => string;
15
+ headers?: Resolvable<OpenAIHeaders>;
16
+ fetch?: FetchFunction;
17
+ webSocket?: WebSocketConstructor;
18
+ generateId?: () => string;
19
+ /**
20
+ * Whether Responses API message input items must include an explicit
21
+ * `type: 'message'` discriminator.
22
+ *
23
+ * @see https://github.com/vercel/ai/issues/20180
24
+ */
25
+ explicitMessageItemType?: boolean;
26
+ /**
27
+ * Whether the provider supports the
28
+ * `web_search_call.action.sources` Responses API include value.
29
+ *
30
+ * Defaults to `true`.
31
+ */
32
+ supportsWebSearchSourcesInclude?: boolean;
33
+ /**
34
+ * This is soft-deprecated. Use provider references (e.g. `{ openai: 'file-abc123' }`)
35
+ * in file part data instead. File ID prefixes used to identify file IDs
36
+ * in Responses API. When undefined, all string file data is treated as
37
+ * base64 content.
38
+ *
39
+ * TODO: remove in v8
40
+ */
41
+ fileIdPrefixes?: readonly string[];
42
+ };
43
+ //#endregion
44
+ //#region src/openai-decision-model.d.ts
45
+ type OpenAIDecisionModelId = 'gpt-6-luna' | (string & {});
46
+ //#endregion
47
+ //#region src/chat/openai-chat-language-model-options.d.ts
48
+ type OpenAIChatModelId = 'o1' | 'o1-2024-12-17' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o3' | 'o3-2025-04-16' | 'o4-mini' | 'o4-mini-2025-04-16' | 'gpt-4.1' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-audio-preview' | 'gpt-4o-audio-preview-2024-12-17' | 'gpt-4o-audio-preview-2025-06-03' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini-audio-preview' | 'gpt-4o-mini-audio-preview-2024-12-17' | 'gpt-4o-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'gpt-4o-mini-search-preview' | 'gpt-4o-mini-search-preview-2025-03-11' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-16k' | 'gpt-5' | 'gpt-5-2025-08-07' | 'gpt-5-mini' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano' | 'gpt-5-nano-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-chat-latest' | 'gpt-5.2' | 'gpt-5.2-2025-12-11' | 'gpt-5.2-chat-latest' | 'gpt-5.2-pro' | 'gpt-5.2-pro-2025-12-11' | 'gpt-5.3-chat-latest' | 'gpt-5.4' | 'gpt-5.4-2026-03-05' | 'gpt-5.4-mini' | 'gpt-5.4-mini-2026-03-17' | 'gpt-5.4-nano' | 'gpt-5.4-nano-2026-03-17' | 'gpt-5.4-pro' | 'gpt-5.4-pro-2026-03-05' | 'gpt-5.5' | 'gpt-5.5-2026-04-23' | 'gpt-5.6' | 'gpt-5.6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-6-astra' | 'gpt-6.1-sol' | 'gpt-6.1-terra' | 'gpt-6-luna' | 'gpt-6-sol' | (string & {});
49
+ declare const openaiLanguageModelChatOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
50
+ logitBias?: Record<number, number> | undefined;
51
+ logprobs?: number | boolean | undefined;
52
+ parallelToolCalls?: boolean | undefined;
53
+ user?: string | undefined;
54
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "max" | "minimal" | undefined;
55
+ maxCompletionTokens?: number | undefined;
56
+ store?: boolean | undefined;
57
+ metadata?: Record<string, string> | undefined;
58
+ prediction?: Record<string, any> | undefined;
59
+ serviceTier?: "default" | "auto" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
60
+ strictJsonSchema?: boolean | undefined;
61
+ textVerbosity?: "low" | "medium" | "high" | undefined;
62
+ promptCacheKey?: string | undefined;
63
+ promptCacheOptions?: {
64
+ mode?: "implicit" | "explicit" | undefined;
65
+ ttl?: "30m" | undefined;
66
+ } | undefined;
67
+ promptCacheRetention?: "in_memory" | "24h" | undefined;
68
+ safetyIdentifier?: string | undefined;
69
+ systemMessageMode?: "developer" | "system" | "remove" | undefined;
70
+ forceReasoning?: boolean | undefined;
71
+ }>;
72
+ type OpenAILanguageModelChatOptions = InferSchema<typeof openaiLanguageModelChatOptions>;
73
+ //#endregion
74
+ //#region src/completion/openai-completion-language-model-options.d.ts
75
+ type OpenAICompletionModelId = 'gpt-3.5-turbo-instruct' | 'gpt-3.5-turbo-instruct-0914' | (string & {});
76
+ declare const openaiLanguageModelCompletionOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
77
+ echo?: boolean | undefined;
78
+ logitBias?: Record<string, number> | undefined;
79
+ suffix?: string | undefined;
80
+ user?: string | undefined;
81
+ logprobs?: number | boolean | undefined;
82
+ }>;
83
+ type OpenAILanguageModelCompletionOptions = InferSchema<typeof openaiLanguageModelCompletionOptions>;
84
+ //#endregion
85
+ //#region src/embedding/openai-embedding-model-options.d.ts
86
+ type OpenAIEmbeddingModelId = 'text-embedding-3-small' | 'text-embedding-3-large' | 'text-embedding-ada-002' | (string & {});
87
+ declare const openaiEmbeddingModelOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
88
+ dimensions?: number | undefined;
89
+ user?: string | undefined;
90
+ }>;
91
+ type OpenAIEmbeddingModelOptions = InferSchema<typeof openaiEmbeddingModelOptions>;
92
+ //#endregion
93
+ //#region src/image/openai-image-model-options.d.ts
94
+ type OpenAIImageModelId = 'dall-e-3' | 'dall-e-2' | 'gpt-image-1' | 'gpt-image-1-mini' | 'gpt-image-1.5' | 'gpt-image-2' | 'gpt-image-2.5-flare' | 'gpt-image-2.5-flare-2026-09-08' | 'gpt-image-2.5-sunburst' | 'gpt-image-2.5-sunburst-2026-09-08' | 'chatgpt-image-latest' | (string & {});
95
+ declare const openaiImageModelOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
96
+ quality?: "low" | "medium" | "high" | "xhigh" | "max" | "standard" | "auto" | "hd" | undefined;
97
+ background?: "auto" | "transparent" | "opaque" | undefined;
98
+ outputFormat?: "png" | "jpeg" | "webp" | undefined;
99
+ outputCompression?: number | undefined;
100
+ user?: string | undefined;
101
+ }>;
102
+ type OpenAIImageModelOptions = InferSchema<typeof openaiImageModelOptions>;
103
+ declare const openaiImageModelGenerationOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
104
+ quality?: "low" | "medium" | "high" | "xhigh" | "max" | "standard" | "auto" | "hd" | undefined;
105
+ background?: "auto" | "transparent" | "opaque" | undefined;
106
+ outputFormat?: "png" | "jpeg" | "webp" | undefined;
107
+ outputCompression?: number | undefined;
108
+ user?: string | undefined;
109
+ style?: "vivid" | "natural" | undefined;
110
+ moderation?: "low" | "auto" | undefined;
111
+ }>;
112
+ type OpenAIImageModelGenerationOptions = InferSchema<typeof openaiImageModelGenerationOptions>;
113
+ declare const openaiImageModelEditOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
114
+ quality?: "low" | "medium" | "high" | "xhigh" | "max" | "standard" | "auto" | "hd" | undefined;
115
+ background?: "auto" | "transparent" | "opaque" | undefined;
116
+ outputFormat?: "png" | "jpeg" | "webp" | undefined;
117
+ outputCompression?: number | undefined;
118
+ user?: string | undefined;
119
+ inputFidelity?: "low" | "high" | undefined;
120
+ }>;
121
+ type OpenAIImageModelEditOptions = InferSchema<typeof openaiImageModelEditOptions>;
122
+ //#endregion
123
+ //#region src/tool/apply-patch.d.ts
124
+ /**
125
+ * Type definitions for the apply_patch operations.
126
+ */
127
+ type ApplyPatchOperation = {
128
+ type: 'create_file';
129
+ /**
130
+ * Path of the file to create relative to the workspace root.
131
+ */
132
+ path: string;
133
+ /**
134
+ * Unified diff content to apply when creating the file.
135
+ */
136
+ diff: string;
137
+ } | {
138
+ type: 'delete_file';
139
+ /**
140
+ * Path of the file to delete relative to the workspace root.
141
+ */
142
+ path: string;
143
+ } | {
144
+ type: 'update_file';
145
+ /**
146
+ * Path of the file to update relative to the workspace root.
147
+ */
148
+ path: string;
149
+ /**
150
+ * Unified diff content to apply to the existing file.
151
+ */
152
+ diff: string;
153
+ };
154
+ //#endregion
155
+ //#region src/tool/custom.d.ts
156
+ declare const customToolFactory: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedToolFactory<string, {
157
+ /**
158
+ * An optional description of what the tool does.
159
+ */
160
+ description?: string;
161
+ /**
162
+ * Whether the model can continue generating after calling this tool
163
+ * without waiting for its result.
164
+ */
165
+ async?: boolean;
166
+ /**
167
+ * The output format specification for the tool.
168
+ * Omit for unconstrained text output.
169
+ */
170
+ format?: {
171
+ type: "grammar";
172
+ syntax: "regex" | "lark";
173
+ definition: string;
174
+ } | {
175
+ type: "text";
176
+ };
177
+ }, {}>;
178
+ //#endregion
179
+ //#region src/responses/openai-responses-language-model-options.d.ts
180
+ type OpenAIResponsesModelId = 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini' | 'gpt-4o' | 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-chat-latest' | 'gpt-5.1-codex-mini' | 'gpt-5.1-codex' | 'gpt-5.1-codex-max' | 'gpt-5.2' | 'gpt-5.2-2025-12-11' | 'gpt-5.2-chat-latest' | 'gpt-5.2-pro' | 'gpt-5.2-pro-2025-12-11' | 'gpt-5.2-codex' | 'gpt-5.3-chat-latest' | 'gpt-5.3-codex' | 'gpt-5.4' | 'gpt-5.4-2026-03-05' | 'gpt-5.4-mini' | 'gpt-5.4-mini-2026-03-17' | 'gpt-5.4-nano' | 'gpt-5.4-nano-2026-03-17' | 'gpt-5.4-pro' | 'gpt-5.4-pro-2026-03-05' | 'gpt-5.5' | 'gpt-5.5-2026-04-23' | 'gpt-5.6' | 'gpt-5.6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-6-astra' | 'gpt-6.1-sol' | 'gpt-6.1-terra' | 'gpt-6-luna' | 'gpt-6-sol' | 'gpt-5-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-5-codex' | 'gpt-5-mini-2025-08-07' | 'gpt-5-mini' | 'gpt-5-nano-2025-08-07' | 'gpt-5-nano' | 'gpt-5-pro-2025-10-06' | 'gpt-5-pro' | 'gpt-5' | 'o1-2024-12-17' | 'o1' | 'o3-2025-04-16' | 'o3-mini-2025-01-31' | 'o3-mini' | 'o3' | 'o4-mini' | 'o4-mini-2025-04-16' | (string & {});
181
+ declare const openaiLanguageModelResponsesOptionsSchema: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
182
+ conversation?: string | null | undefined;
183
+ include?: ("reasoning.encrypted_content" | "file_search_call.results" | "web_search_call.results" | "message.output_text.logprobs")[] | null | undefined;
184
+ includeWebSearchSources?: boolean | undefined;
185
+ instructions?: string | null | undefined;
186
+ logprobs?: number | boolean | undefined;
187
+ maxToolCalls?: number | null | undefined;
188
+ metadata?: any;
189
+ parallelToolCalls?: boolean | null | undefined;
190
+ previousResponseId?: string | null | undefined;
191
+ promptCacheKey?: string | null | undefined;
192
+ promptCacheOptions?: {
193
+ mode?: "implicit" | "explicit" | undefined;
194
+ ttl?: "30m" | "12h" | undefined;
195
+ prewarm?: boolean | undefined;
196
+ } | undefined;
197
+ promptCacheRetention?: "in_memory" | "24h" | null | undefined;
198
+ reasoningEffort?: string | null | undefined;
199
+ reasoningEffortUpdate?: "none" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
200
+ reasoningMode?: "standard" | "pro" | undefined;
201
+ reasoningContext?: "auto" | "current_turn" | "all_turns" | undefined;
202
+ reasoningSummary?: string | null | undefined;
203
+ safetyIdentifier?: string | null | undefined;
204
+ serviceTier?: "default" | "auto" | "flex" | "priority" | "fast" | "ultrafast" | null | undefined;
205
+ store?: boolean | null | undefined;
206
+ passThroughUnsupportedFiles?: boolean | undefined;
207
+ strictJsonSchema?: boolean | null | undefined;
208
+ textVerbosity?: "low" | "medium" | "high" | null | undefined;
209
+ truncation?: "auto" | "disabled" | null | undefined;
210
+ user?: string | null | undefined;
211
+ systemMessageMode?: "developer" | "system" | "remove" | undefined;
212
+ forceReasoning?: boolean | undefined;
213
+ contextManagement?: {
214
+ type: "compaction";
215
+ compactThreshold: number;
216
+ }[] | null | undefined;
217
+ compactionTrigger?: boolean | undefined;
218
+ allowedTools?: {
219
+ toolNames: string[];
220
+ mode?: "auto" | "required" | undefined;
221
+ } | undefined;
222
+ }>;
223
+ type OpenAILanguageModelResponsesOptions = InferSchema<typeof openaiLanguageModelResponsesOptionsSchema>;
224
+ declare const openaiResponsesSystemMessageOptionsSchema: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
225
+ reasoningEffortUpdate?: "none" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
226
+ }>;
227
+ type OpenAIResponsesSystemMessageOptions = InferSchema<typeof openaiResponsesSystemMessageOptionsSchema>;
228
+ declare const openaiResponsesToolResultOptionsSchema: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
229
+ additionalTools?: {
230
+ type: "function";
231
+ name: string;
232
+ parameters: Record<string, z.core.util.JSONType>;
233
+ description?: string | undefined;
234
+ strict?: boolean | undefined;
235
+ }[] | undefined;
236
+ }>;
237
+ type OpenAIResponsesToolResultOptions = InferSchema<typeof openaiResponsesToolResultOptionsSchema>;
238
+ //#endregion
239
+ //#region src/responses/openai-responses-api.d.ts
240
+ /**
241
+ * A filter used to compare a specified attribute key to a given value using a defined comparison operation.
242
+ */
243
+ type OpenAIResponsesFileSearchToolComparisonFilter = {
244
+ /**
245
+ * The key to compare against the value.
246
+ */
247
+ key: string;
248
+ /**
249
+ * Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
250
+ */
251
+ type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin';
252
+ /**
253
+ * The value to compare against the attribute key; supports string, number, boolean, or array of string types.
254
+ */
255
+ value: string | number | boolean | string[];
256
+ };
257
+ /**
258
+ * Combine multiple filters using and or or.
259
+ */
260
+ type OpenAIResponsesFileSearchToolCompoundFilter = {
261
+ /**
262
+ * Type of operation: and or or.
263
+ */
264
+ type: 'and' | 'or';
265
+ /**
266
+ * Array of filters to combine. Items can be ComparisonFilter or CompoundFilter.
267
+ */
268
+ filters: Array<OpenAIResponsesFileSearchToolComparisonFilter | OpenAIResponsesFileSearchToolCompoundFilter>;
269
+ };
270
+ declare const openaiResponsesChunkSchema: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
271
+ type: "unknown_chunk";
272
+ message: string;
273
+ } | {
274
+ type: "response.output_text.delta";
275
+ item_id: string;
276
+ delta: string;
277
+ output_index?: number | null | undefined;
278
+ logprobs?: {
279
+ token: string;
280
+ logprob: number;
281
+ top_logprobs: {
282
+ token: string;
283
+ logprob: number;
284
+ }[];
285
+ }[] | null | undefined;
286
+ } | {
287
+ type: "response.completed" | "response.incomplete";
288
+ response: {
289
+ incomplete_details?: {
290
+ reason: string;
291
+ } | null | undefined;
292
+ usage?: (Record<string, JSONValue | undefined> & {
293
+ input_tokens: number;
294
+ output_tokens: number;
295
+ input_tokens_details?: (Record<string, JSONValue | undefined> & {
296
+ cached_tokens?: number | null | undefined;
297
+ cache_write_tokens?: number | null | undefined;
298
+ cache_write_tokens_details?: (Record<string, JSONValue | undefined> & {
299
+ ttl_30m_tokens?: number | null | undefined;
300
+ ttl_12h_tokens?: number | null | undefined;
301
+ }) | null | undefined;
302
+ orchestration_input_tokens?: number | null | undefined;
303
+ orchestration_input_cached_tokens?: number | null | undefined;
304
+ }) | null | undefined;
305
+ output_tokens_details?: (Record<string, JSONValue | undefined> & {
306
+ reasoning_tokens?: number | null | undefined;
307
+ orchestration_output_tokens?: number | null | undefined;
308
+ }) | null | undefined;
309
+ total_tokens?: number | undefined;
310
+ }) | null | undefined;
311
+ reasoning?: {
312
+ context?: string | null | undefined;
313
+ } | null | undefined;
314
+ service_tier?: string | null | undefined;
315
+ };
316
+ } | {
317
+ type: "response.failed";
318
+ sequence_number: number;
319
+ response: {
320
+ error?: {
321
+ message: string;
322
+ code?: string | null | undefined;
323
+ } | null | undefined;
324
+ incomplete_details?: {
325
+ reason: string;
326
+ } | null | undefined;
327
+ usage?: (Record<string, JSONValue | undefined> & {
328
+ input_tokens: number;
329
+ output_tokens: number;
330
+ input_tokens_details?: (Record<string, JSONValue | undefined> & {
331
+ cached_tokens?: number | null | undefined;
332
+ cache_write_tokens?: number | null | undefined;
333
+ cache_write_tokens_details?: (Record<string, JSONValue | undefined> & {
334
+ ttl_30m_tokens?: number | null | undefined;
335
+ ttl_12h_tokens?: number | null | undefined;
336
+ }) | null | undefined;
337
+ orchestration_input_tokens?: number | null | undefined;
338
+ orchestration_input_cached_tokens?: number | null | undefined;
339
+ }) | null | undefined;
340
+ output_tokens_details?: (Record<string, JSONValue | undefined> & {
341
+ reasoning_tokens?: number | null | undefined;
342
+ orchestration_output_tokens?: number | null | undefined;
343
+ }) | null | undefined;
344
+ total_tokens?: number | undefined;
345
+ }) | null | undefined;
346
+ reasoning?: {
347
+ context?: string | null | undefined;
348
+ } | null | undefined;
349
+ service_tier?: string | null | undefined;
350
+ };
351
+ } | {
352
+ type: "response.created";
353
+ response: {
354
+ id: string;
355
+ created_at: number;
356
+ model: string;
357
+ service_tier?: string | null | undefined;
358
+ };
359
+ } | {
360
+ type: "response.in_progress";
361
+ response: {
362
+ id: string;
363
+ created_at: number;
364
+ model: string;
365
+ service_tier?: string | null | undefined;
366
+ };
367
+ } | {
368
+ type: "response.output_item.added";
369
+ output_index: number;
370
+ item: {
371
+ type: "message";
372
+ id: string;
373
+ phase?: "commentary" | "final_answer" | null | undefined;
374
+ } | {
375
+ type: "reasoning";
376
+ id: string;
377
+ encrypted_content?: string | null | undefined;
378
+ } | {
379
+ type: "function_call";
380
+ id: string;
381
+ call_id: string;
382
+ name: string;
383
+ arguments: string;
384
+ async?: boolean | null | undefined;
385
+ namespace?: string | null | undefined;
386
+ caller?: {
387
+ type: "direct";
388
+ } | {
389
+ type: "program";
390
+ caller_id: string;
391
+ } | null | undefined;
392
+ } | {
393
+ type: "program";
394
+ id: string;
395
+ call_id: string;
396
+ code: string;
397
+ fingerprint: string;
398
+ } | {
399
+ type: "program_output";
400
+ id: string;
401
+ call_id: string;
402
+ result: string;
403
+ status: "completed" | "incomplete";
404
+ } | {
405
+ type: "web_search_call";
406
+ id: string;
407
+ status: string;
408
+ } | {
409
+ type: "computer_call";
410
+ id: string;
411
+ status: "in_progress" | "completed" | "incomplete";
412
+ call_id?: string | null | undefined;
413
+ action?: {
414
+ type: "click";
415
+ button: "left" | "right" | "wheel" | "back" | "forward";
416
+ x: number;
417
+ y: number;
418
+ keys?: string[] | null | undefined;
419
+ } | {
420
+ type: "double_click";
421
+ x: number;
422
+ y: number;
423
+ keys?: string[] | null | undefined;
424
+ } | {
425
+ type: "drag";
426
+ path: {
427
+ x: number;
428
+ y: number;
429
+ }[];
430
+ keys?: string[] | null | undefined;
431
+ } | {
432
+ type: "keypress";
433
+ keys: string[];
434
+ } | {
435
+ type: "move";
436
+ x: number;
437
+ y: number;
438
+ keys?: string[] | null | undefined;
439
+ } | {
440
+ type: "screenshot";
441
+ } | {
442
+ type: "scroll";
443
+ x: number;
444
+ y: number;
445
+ scroll_x: number;
446
+ scroll_y: number;
447
+ keys?: string[] | null | undefined;
448
+ } | {
449
+ type: "type";
450
+ text: string;
451
+ } | {
452
+ type: "wait";
453
+ } | null | undefined;
454
+ actions?: ({
455
+ type: "click";
456
+ button: "left" | "right" | "wheel" | "back" | "forward";
457
+ x: number;
458
+ y: number;
459
+ keys?: string[] | null | undefined;
460
+ } | {
461
+ type: "double_click";
462
+ x: number;
463
+ y: number;
464
+ keys?: string[] | null | undefined;
465
+ } | {
466
+ type: "drag";
467
+ path: {
468
+ x: number;
469
+ y: number;
470
+ }[];
471
+ keys?: string[] | null | undefined;
472
+ } | {
473
+ type: "keypress";
474
+ keys: string[];
475
+ } | {
476
+ type: "move";
477
+ x: number;
478
+ y: number;
479
+ keys?: string[] | null | undefined;
480
+ } | {
481
+ type: "screenshot";
482
+ } | {
483
+ type: "scroll";
484
+ x: number;
485
+ y: number;
486
+ scroll_x: number;
487
+ scroll_y: number;
488
+ keys?: string[] | null | undefined;
489
+ } | {
490
+ type: "type";
491
+ text: string;
492
+ } | {
493
+ type: "wait";
494
+ })[] | null | undefined;
495
+ pending_safety_checks?: {
496
+ id: string;
497
+ code?: string | null | undefined;
498
+ message?: string | null | undefined;
499
+ }[] | null | undefined;
500
+ } | {
501
+ type: "file_search_call";
502
+ id: string;
503
+ } | {
504
+ type: "local_shell_call";
505
+ id: string;
506
+ call_id: string;
507
+ action: {
508
+ type: "exec";
509
+ command: string[];
510
+ timeout_ms?: number | undefined;
511
+ user?: string | undefined;
512
+ working_directory?: string | undefined;
513
+ env?: Record<string, string> | undefined;
514
+ };
515
+ } | {
516
+ type: "image_generation_call";
517
+ id: string;
518
+ } | {
519
+ type: "code_interpreter_call";
520
+ id: string;
521
+ container_id: string;
522
+ code: string | null;
523
+ outputs: ({
524
+ type: "logs";
525
+ logs: string;
526
+ } | {
527
+ type: "image";
528
+ url: string;
529
+ })[] | null;
530
+ status: string;
531
+ } | {
532
+ type: "mcp_call";
533
+ id: string;
534
+ status: string;
535
+ approval_request_id?: string | null | undefined;
536
+ } | {
537
+ type: "mcp_list_tools";
538
+ id: string;
539
+ } | {
540
+ type: "mcp_approval_request";
541
+ id: string;
542
+ } | {
543
+ type: "apply_patch_call";
544
+ id: string;
545
+ call_id: string;
546
+ status: "in_progress" | "completed";
547
+ operation: {
548
+ type: "create_file";
549
+ path: string;
550
+ diff: string;
551
+ } | {
552
+ type: "delete_file";
553
+ path: string;
554
+ } | {
555
+ type: "update_file";
556
+ path: string;
557
+ diff: string;
558
+ };
559
+ } | {
560
+ type: "custom_tool_call";
561
+ id: string;
562
+ call_id: string;
563
+ name: string;
564
+ input: string;
565
+ async?: boolean | null | undefined;
566
+ } | {
567
+ type: "shell_call";
568
+ id: string;
569
+ call_id: string;
570
+ status: "in_progress" | "completed" | "incomplete";
571
+ action: {
572
+ commands: string[];
573
+ timeout_ms?: number | null | undefined;
574
+ max_output_length?: number | null | undefined;
575
+ };
576
+ } | {
577
+ type: "compaction";
578
+ id: string;
579
+ encrypted_content?: string | null | undefined;
580
+ } | {
581
+ type: "shell_call_output";
582
+ id: string;
583
+ call_id: string;
584
+ status: "in_progress" | "completed" | "incomplete";
585
+ output: {
586
+ stdout: string;
587
+ stderr: string;
588
+ outcome: {
589
+ type: "timeout";
590
+ } | {
591
+ type: "exit";
592
+ exit_code: number;
593
+ };
594
+ }[];
595
+ max_output_length?: number | null | undefined;
596
+ } | {
597
+ type: "tool_search_call";
598
+ id: string;
599
+ execution: "client" | "server";
600
+ call_id: string | null;
601
+ status: "in_progress" | "completed" | "incomplete";
602
+ arguments: unknown;
603
+ } | {
604
+ type: "tool_search_output";
605
+ id: string;
606
+ execution: "client" | "server";
607
+ call_id: string | null;
608
+ status: "in_progress" | "completed" | "incomplete";
609
+ tools: Record<string, JSONValue | undefined>[];
610
+ };
611
+ } | {
612
+ type: "response.output_item.done";
613
+ output_index: number;
614
+ item: {
615
+ type: "program";
616
+ id: string;
617
+ call_id: string;
618
+ code: string;
619
+ fingerprint: string;
620
+ } | {
621
+ type: "program_output";
622
+ id: string;
623
+ call_id: string;
624
+ result: string;
625
+ status: "completed" | "incomplete";
626
+ } | {
627
+ type: "computer_call";
628
+ id: string;
629
+ status: "in_progress" | "completed" | "incomplete";
630
+ call_id?: string | null | undefined;
631
+ action?: {
632
+ type: "click";
633
+ button: "left" | "right" | "wheel" | "back" | "forward";
634
+ x: number;
635
+ y: number;
636
+ keys?: string[] | null | undefined;
637
+ } | {
638
+ type: "double_click";
639
+ x: number;
640
+ y: number;
641
+ keys?: string[] | null | undefined;
642
+ } | {
643
+ type: "drag";
644
+ path: {
645
+ x: number;
646
+ y: number;
647
+ }[];
648
+ keys?: string[] | null | undefined;
649
+ } | {
650
+ type: "keypress";
651
+ keys: string[];
652
+ } | {
653
+ type: "move";
654
+ x: number;
655
+ y: number;
656
+ keys?: string[] | null | undefined;
657
+ } | {
658
+ type: "screenshot";
659
+ } | {
660
+ type: "scroll";
661
+ x: number;
662
+ y: number;
663
+ scroll_x: number;
664
+ scroll_y: number;
665
+ keys?: string[] | null | undefined;
666
+ } | {
667
+ type: "type";
668
+ text: string;
669
+ } | {
670
+ type: "wait";
671
+ } | null | undefined;
672
+ actions?: ({
673
+ type: "click";
674
+ button: "left" | "right" | "wheel" | "back" | "forward";
675
+ x: number;
676
+ y: number;
677
+ keys?: string[] | null | undefined;
678
+ } | {
679
+ type: "double_click";
680
+ x: number;
681
+ y: number;
682
+ keys?: string[] | null | undefined;
683
+ } | {
684
+ type: "drag";
685
+ path: {
686
+ x: number;
687
+ y: number;
688
+ }[];
689
+ keys?: string[] | null | undefined;
690
+ } | {
691
+ type: "keypress";
692
+ keys: string[];
693
+ } | {
694
+ type: "move";
695
+ x: number;
696
+ y: number;
697
+ keys?: string[] | null | undefined;
698
+ } | {
699
+ type: "screenshot";
700
+ } | {
701
+ type: "scroll";
702
+ x: number;
703
+ y: number;
704
+ scroll_x: number;
705
+ scroll_y: number;
706
+ keys?: string[] | null | undefined;
707
+ } | {
708
+ type: "type";
709
+ text: string;
710
+ } | {
711
+ type: "wait";
712
+ })[] | null | undefined;
713
+ pending_safety_checks?: {
714
+ id: string;
715
+ code?: string | null | undefined;
716
+ message?: string | null | undefined;
717
+ }[] | null | undefined;
718
+ } | {
719
+ type: "local_shell_call";
720
+ id: string;
721
+ call_id: string;
722
+ action: {
723
+ type: "exec";
724
+ command: string[];
725
+ timeout_ms?: number | undefined;
726
+ user?: string | undefined;
727
+ working_directory?: string | undefined;
728
+ env?: Record<string, string> | undefined;
729
+ };
730
+ } | {
731
+ type: "message";
732
+ id: string;
733
+ phase?: "commentary" | "final_answer" | null | undefined;
734
+ } | {
735
+ type: "reasoning";
736
+ id: string;
737
+ encrypted_content?: string | null | undefined;
738
+ } | {
739
+ type: "function_call";
740
+ id: string;
741
+ call_id: string;
742
+ name: string;
743
+ arguments: string;
744
+ status: "in_progress" | "completed" | "incomplete";
745
+ async?: boolean | null | undefined;
746
+ namespace?: string | null | undefined;
747
+ caller?: {
748
+ type: "direct";
749
+ } | {
750
+ type: "program";
751
+ caller_id: string;
752
+ } | null | undefined;
753
+ } | {
754
+ type: "custom_tool_call";
755
+ id: string;
756
+ call_id: string;
757
+ name: string;
758
+ input: string;
759
+ status: "completed";
760
+ async?: boolean | null | undefined;
761
+ } | {
762
+ type: "code_interpreter_call";
763
+ id: string;
764
+ code: string | null;
765
+ container_id: string;
766
+ outputs: ({
767
+ type: "logs";
768
+ logs: string;
769
+ } | {
770
+ type: "image";
771
+ url: string;
772
+ })[] | null;
773
+ } | {
774
+ type: "image_generation_call";
775
+ id: string;
776
+ result: string;
777
+ } | {
778
+ type: "web_search_call";
779
+ id: string;
780
+ status: string;
781
+ action?: {
782
+ type: "search";
783
+ query?: string | null | undefined;
784
+ queries?: string[] | null | undefined;
785
+ sources?: ({
786
+ type: "url";
787
+ url: string;
788
+ } | {
789
+ type: "api";
790
+ name: string;
791
+ })[] | null | undefined;
792
+ } | {
793
+ type: "open_page";
794
+ url?: string | null | undefined;
795
+ } | {
796
+ type: "find_in_page";
797
+ url?: string | null | undefined;
798
+ pattern?: string | null | undefined;
799
+ } | null | undefined;
800
+ } | {
801
+ type: "file_search_call";
802
+ id: string;
803
+ queries: string[];
804
+ results?: {
805
+ attributes: Record<string, string | number | boolean>;
806
+ file_id: string;
807
+ filename: string;
808
+ score: number;
809
+ text: string;
810
+ }[] | null | undefined;
811
+ } | {
812
+ type: "mcp_call";
813
+ id: string;
814
+ status: string;
815
+ arguments: string;
816
+ name: string;
817
+ server_label: string;
818
+ output?: string | null | undefined;
819
+ error?: string | {
820
+ [x: string]: unknown;
821
+ type?: string | undefined;
822
+ code?: string | number | undefined;
823
+ message?: string | undefined;
824
+ } | null | undefined;
825
+ approval_request_id?: string | null | undefined;
826
+ } | {
827
+ type: "mcp_list_tools";
828
+ id: string;
829
+ server_label: string;
830
+ tools: {
831
+ name: string;
832
+ input_schema: any;
833
+ description?: string | undefined;
834
+ annotations?: Record<string, unknown> | undefined;
835
+ }[];
836
+ error?: string | {
837
+ [x: string]: unknown;
838
+ type?: string | undefined;
839
+ code?: string | number | undefined;
840
+ message?: string | undefined;
841
+ } | undefined;
842
+ } | {
843
+ type: "mcp_approval_request";
844
+ id: string;
845
+ server_label: string;
846
+ name: string;
847
+ arguments: string;
848
+ approval_request_id?: string | undefined;
849
+ } | {
850
+ type: "apply_patch_call";
851
+ id: string;
852
+ call_id: string;
853
+ status: "in_progress" | "completed";
854
+ operation: {
855
+ type: "create_file";
856
+ path: string;
857
+ diff: string;
858
+ } | {
859
+ type: "delete_file";
860
+ path: string;
861
+ } | {
862
+ type: "update_file";
863
+ path: string;
864
+ diff: string;
865
+ };
866
+ } | {
867
+ type: "shell_call";
868
+ id: string;
869
+ call_id: string;
870
+ status: "in_progress" | "completed" | "incomplete";
871
+ action: {
872
+ commands: string[];
873
+ timeout_ms?: number | null | undefined;
874
+ max_output_length?: number | null | undefined;
875
+ };
876
+ } | {
877
+ type: "compaction";
878
+ id: string;
879
+ encrypted_content: string;
880
+ } | {
881
+ type: "shell_call_output";
882
+ id: string;
883
+ call_id: string;
884
+ status: "in_progress" | "completed" | "incomplete";
885
+ output: {
886
+ stdout: string;
887
+ stderr: string;
888
+ outcome: {
889
+ type: "timeout";
890
+ } | {
891
+ type: "exit";
892
+ exit_code: number;
893
+ };
894
+ }[];
895
+ max_output_length?: number | null | undefined;
896
+ } | {
897
+ type: "tool_search_call";
898
+ id: string;
899
+ execution: "client" | "server";
900
+ call_id: string | null;
901
+ status: "in_progress" | "completed" | "incomplete";
902
+ arguments: unknown;
903
+ } | {
904
+ type: "tool_search_output";
905
+ id: string;
906
+ execution: "client" | "server";
907
+ call_id: string | null;
908
+ status: "in_progress" | "completed" | "incomplete";
909
+ tools: Record<string, JSONValue | undefined>[];
910
+ };
911
+ } | {
912
+ type: "response.function_call_arguments.delta";
913
+ item_id: string;
914
+ output_index: number;
915
+ delta: string;
916
+ } | {
917
+ type: "response.function_call_arguments.done";
918
+ item_id: string;
919
+ output_index: number;
920
+ arguments: string;
921
+ } | {
922
+ type: "response.custom_tool_call_input.delta";
923
+ item_id: string;
924
+ output_index: number;
925
+ delta: string;
926
+ } | {
927
+ type: "response.image_generation_call.partial_image";
928
+ item_id: string;
929
+ output_index: number;
930
+ partial_image_b64: string;
931
+ } | {
932
+ type: "response.code_interpreter_call_code.delta";
933
+ item_id: string;
934
+ output_index: number;
935
+ delta: string;
936
+ } | {
937
+ type: "response.code_interpreter_call_code.done";
938
+ item_id: string;
939
+ output_index: number;
940
+ code: string;
941
+ } | {
942
+ type: "response.output_text.annotation.added";
943
+ annotation: {
944
+ type: "url_citation";
945
+ start_index: number;
946
+ end_index: number;
947
+ url: string;
948
+ title: string;
949
+ } | {
950
+ type: "file_citation";
951
+ file_id: string;
952
+ filename: string;
953
+ index: number;
954
+ } | {
955
+ type: "container_file_citation";
956
+ container_id: string;
957
+ file_id: string;
958
+ filename: string;
959
+ start_index: number;
960
+ end_index: number;
961
+ } | {
962
+ type: "file_path";
963
+ file_id: string;
964
+ index: number;
965
+ };
966
+ } | {
967
+ type: "response.reasoning_summary_part.added";
968
+ item_id: string;
969
+ summary_index: number;
970
+ output_index?: number | null | undefined;
971
+ } | {
972
+ type: "response.reasoning_summary_text.delta";
973
+ item_id: string;
974
+ summary_index: number;
975
+ delta: string;
976
+ output_index?: number | null | undefined;
977
+ } | {
978
+ type: "response.reasoning_summary_part.done";
979
+ item_id: string;
980
+ summary_index: number;
981
+ output_index?: number | null | undefined;
982
+ } | {
983
+ type: "response.apply_patch_call_operation_diff.delta";
984
+ item_id: string;
985
+ output_index: number;
986
+ delta: string;
987
+ obfuscation?: string | null | undefined;
988
+ } | {
989
+ type: "response.apply_patch_call_operation_diff.done";
990
+ item_id: string;
991
+ output_index: number;
992
+ diff: string;
993
+ } | {
994
+ type: "error";
995
+ sequence_number: number;
996
+ error: {
997
+ type: string;
998
+ message: string;
999
+ code?: string | null | undefined;
1000
+ param?: string | null | undefined;
1001
+ };
1002
+ } | {
1003
+ type: "error";
1004
+ sequence_number: number;
1005
+ message: string;
1006
+ code?: string | null | undefined;
1007
+ param?: string | null | undefined;
1008
+ }>;
1009
+ type OpenAIResponsesChunk = InferSchema<typeof openaiResponsesChunkSchema>;
1010
+ type OpenAIResponsesLogprobs = NonNullable<(OpenAIResponsesChunk & {
1011
+ type: 'response.output_text.delta';
1012
+ })['logprobs']> | null;
1013
+ //#endregion
1014
+ //#region src/tool/web-search.d.ts
1015
+ declare const webSearchToolFactory: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedToolFactory<{}, {
1016
+ /**
1017
+ * An object describing the specific action taken in this web search call.
1018
+ * Includes details on how the model used the web (search, open_page, find_in_page).
1019
+ */
1020
+ action?: {
1021
+ /**
1022
+ * Action type "search" - Performs a web search query.
1023
+ */
1024
+ type: "search";
1025
+ /**
1026
+ * The search query.
1027
+ *
1028
+ * @deprecated Use `queries` instead.
1029
+ */
1030
+ query?: string;
1031
+ /**
1032
+ * The search queries the model used.
1033
+ */
1034
+ queries?: string[];
1035
+ } | {
1036
+ /**
1037
+ * Action type "openPage" - Opens a specific URL from search results.
1038
+ */
1039
+ type: "openPage";
1040
+ /**
1041
+ * The URL opened by the model.
1042
+ */
1043
+ url?: string | null;
1044
+ } | {
1045
+ /**
1046
+ * Action type "findInPage": Searches for a pattern within a loaded page.
1047
+ */
1048
+ type: "findInPage";
1049
+ /**
1050
+ * The URL of the page searched for the pattern.
1051
+ */
1052
+ url?: string | null;
1053
+ /**
1054
+ * The pattern or text to search for within the page.
1055
+ */
1056
+ pattern?: string | null;
1057
+ };
1058
+ /**
1059
+ * Optional sources cited by the model for the web search call.
1060
+ */
1061
+ sources?: Array<{
1062
+ type: "url";
1063
+ url: string;
1064
+ } | {
1065
+ type: "api";
1066
+ name: string;
1067
+ }>;
1068
+ }, {
1069
+ /**
1070
+ * Whether to use external web access for fetching live content.
1071
+ * - true: Fetch live web content (default)
1072
+ * - false: Use cached/indexed results
1073
+ */
1074
+ externalWebAccess?: boolean;
1075
+ /**
1076
+ * Filters for the search.
1077
+ */
1078
+ filters?: {
1079
+ /**
1080
+ * Allowed domains for the search.
1081
+ * If not provided, all domains are allowed.
1082
+ * Subdomains of the provided domains are allowed as well.
1083
+ * Omit the HTTP or HTTPS prefix. Maximum 100 domains.
1084
+ */
1085
+ allowedDomains?: string[];
1086
+ /**
1087
+ * Blocked domains for the search.
1088
+ * Subdomains of the provided domains are blocked as well.
1089
+ * Omit the HTTP or HTTPS prefix. Maximum 100 domains.
1090
+ */
1091
+ blockedDomains?: string[];
1092
+ };
1093
+ /**
1094
+ * Search context size to use for the web search.
1095
+ * - high: Most comprehensive context, highest cost, slower response
1096
+ * - medium: Balanced context, cost, and latency (default)
1097
+ * - low: Least context, lowest cost, fastest response
1098
+ */
1099
+ searchContextSize?: "low" | "medium" | "high";
1100
+ /**
1101
+ * User location information to provide geographically relevant search results.
1102
+ */
1103
+ userLocation?: {
1104
+ /**
1105
+ * Type of location (always 'approximate')
1106
+ */
1107
+ type: "approximate";
1108
+ /**
1109
+ * Two-letter ISO country code (e.g., 'US', 'GB')
1110
+ */
1111
+ country?: string;
1112
+ /**
1113
+ * City name (free text, e.g., 'Minneapolis')
1114
+ */
1115
+ city?: string;
1116
+ /**
1117
+ * Region name (free text, e.g., 'Minnesota')
1118
+ */
1119
+ region?: string;
1120
+ /**
1121
+ * IANA timezone (e.g., 'America/Chicago')
1122
+ */
1123
+ timezone?: string;
1124
+ };
1125
+ }, {}>;
1126
+ //#endregion
1127
+ //#region src/openai-tools.d.ts
1128
+ declare const openaiTools: {
1129
+ /**
1130
+ * The apply_patch tool lets GPT-5.1 create, update, and delete files in your
1131
+ * codebase using structured diffs. Instead of just suggesting edits, the model
1132
+ * emits patch operations that your application applies and then reports back on,
1133
+ * enabling iterative, multi-step code editing workflows.
1134
+ *
1135
+ */
1136
+ applyPatch: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedToolFactoryWithOutputSchema<{
1137
+ callId: string;
1138
+ operation: ApplyPatchOperation;
1139
+ }, {
1140
+ status: "completed" | "failed";
1141
+ output?: string;
1142
+ }, {}, {}>;
1143
+ /**
1144
+ * Custom tools let callers constrain model output to a grammar (regex or
1145
+ * Lark syntax). The model returns a `custom_tool_call` output item whose
1146
+ * `input` field is a string matching the specified grammar.
1147
+ *
1148
+ * @param description - An optional description of the tool.
1149
+ * @param async - Whether the model can continue without waiting for the tool result.
1150
+ * @param format - The output format constraint (grammar type, syntax, and definition).
1151
+ */
1152
+ customTool: (args: Parameters<typeof customToolFactory>[0]) => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedTool<string, unknown, {}>;
1153
+ /**
1154
+ * The Code Interpreter tool allows models to write and run Python code in a
1155
+ * sandboxed environment to solve complex problems in domains like data analysis,
1156
+ * coding, and math.
1157
+ *
1158
+ * @param container - The container to use for the code interpreter.
1159
+ */
1160
+ codeInterpreter: (args?: {
1161
+ container?: string | {
1162
+ fileIds?: string[];
1163
+ };
1164
+ }) => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedTool<{
1165
+ code?: string | null;
1166
+ containerId: string;
1167
+ }, {
1168
+ outputs?: Array<{
1169
+ type: "logs";
1170
+ logs: string;
1171
+ } | {
1172
+ type: "image";
1173
+ url: string;
1174
+ }> | null;
1175
+ }, {}>;
1176
+ /**
1177
+ * The computer tool allows models to operate a browser or desktop through
1178
+ * batched UI actions. Your application executes the actions and returns an
1179
+ * updated screenshot.
1180
+ *
1181
+ * WARNING: Run computer use in an isolated environment, treat on-screen
1182
+ * content as untrusted, and require confirmation for consequential actions.
1183
+ */
1184
+ computer: (options?: Parameters<import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedToolFactoryWithOutputSchema<{
1185
+ actions: OpenAIComputerAction[];
1186
+ pendingSafetyChecks: OpenAIComputerSafetyCheck[];
1187
+ status: "in_progress" | "completed" | "incomplete";
1188
+ }, {
1189
+ output: {
1190
+ type: "computer_screenshot";
1191
+ imageUrl: string;
1192
+ fileId?: string;
1193
+ detail?: "auto" | "low" | "high" | "original";
1194
+ } | {
1195
+ type: "computer_screenshot";
1196
+ fileId: string;
1197
+ imageUrl?: string;
1198
+ detail?: "auto" | "low" | "high" | "original";
1199
+ };
1200
+ acknowledgedSafetyChecks?: OpenAIComputerSafetyCheck[];
1201
+ }, {}, {}>>[0]) => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedTool<{
1202
+ actions: OpenAIComputerAction[];
1203
+ pendingSafetyChecks: OpenAIComputerSafetyCheck[];
1204
+ status: "in_progress" | "completed" | "incomplete";
1205
+ }, {
1206
+ output: {
1207
+ type: "computer_screenshot";
1208
+ imageUrl: string;
1209
+ fileId?: string;
1210
+ detail?: "auto" | "low" | "high" | "original";
1211
+ } | {
1212
+ type: "computer_screenshot";
1213
+ fileId: string;
1214
+ imageUrl?: string;
1215
+ detail?: "auto" | "low" | "high" | "original";
1216
+ };
1217
+ acknowledgedSafetyChecks?: OpenAIComputerSafetyCheck[];
1218
+ }, {}>;
1219
+ /**
1220
+ * File search is a tool available in the Responses API. It enables models to
1221
+ * retrieve information in a knowledge base of previously uploaded files through
1222
+ * semantic and keyword search.
1223
+ *
1224
+ * @param vectorStoreIds - The vector store IDs to use for the file search.
1225
+ * @param maxNumResults - The maximum number of results to return.
1226
+ * @param ranking - The ranking options to use for the file search.
1227
+ * @param filters - The filters to use for the file search.
1228
+ */
1229
+ fileSearch: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedToolFactory<{}, {
1230
+ queries: string[];
1231
+ results: null | {
1232
+ attributes: Record<string, unknown>;
1233
+ fileId: string;
1234
+ filename: string;
1235
+ score: number;
1236
+ text: string;
1237
+ }[];
1238
+ }, {
1239
+ vectorStoreIds: string[];
1240
+ maxNumResults?: number;
1241
+ ranking?: {
1242
+ ranker?: string;
1243
+ scoreThreshold?: number;
1244
+ };
1245
+ filters?: OpenAIResponsesFileSearchToolComparisonFilter | OpenAIResponsesFileSearchToolCompoundFilter;
1246
+ }, {}>;
1247
+ /**
1248
+ * The image generation tool allows you to generate images using a text prompt,
1249
+ * and optionally image inputs. It leverages the GPT Image model,
1250
+ * and automatically optimizes text inputs for improved performance.
1251
+ *
1252
+ * @param background - Background type for the generated image. One of 'auto', 'opaque', or 'transparent'.
1253
+ * @param inputFidelity - Input fidelity for the generated image. One of 'low' or 'high'.
1254
+ * @param inputImageMask - Optional mask for inpainting. Contains fileId and/or imageUrl.
1255
+ * @param model - The image generation model to use. Default: gpt-image-1.
1256
+ * @param moderation - Moderation level for the generated image. Default: 'auto'.
1257
+ * @param outputCompression - Compression level for the output image (0-100).
1258
+ * @param outputFormat - The output format of the generated image. One of 'png', 'jpeg', or 'webp'.
1259
+ * @param partialImages - Number of partial images to generate in streaming mode (0-3).
1260
+ * @param quality - The quality of the generated image. One of 'auto', 'low', 'medium', 'high', 'xhigh', or 'max'. 'xhigh' and 'max' require a GPT Image 2.5 model.
1261
+ * @param size - The size of the generated image. One of 'auto', '1024x1024', '1024x1536', or '1536x1024'.
1262
+ */
1263
+ imageGeneration: (args?: {
1264
+ action?: "generate" | "edit" | "auto";
1265
+ background?: "auto" | "opaque" | "transparent";
1266
+ inputFidelity?: "low" | "high";
1267
+ inputImageMask?: {
1268
+ fileId?: string;
1269
+ imageUrl?: string;
1270
+ };
1271
+ model?: string;
1272
+ moderation?: "auto" | "low";
1273
+ outputCompression?: number;
1274
+ outputFormat?: "png" | "jpeg" | "webp";
1275
+ partialImages?: number;
1276
+ quality?: "auto" | "low" | "medium" | "high" | "xhigh" | "max";
1277
+ size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | (string & {});
1278
+ }) => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedTool<{}, {
1279
+ result: string;
1280
+ }, {}>;
1281
+ /**
1282
+ * Local shell is a tool that allows agents to run shell commands locally
1283
+ * on a machine you or the user provides.
1284
+ *
1285
+ * Supported models: `gpt-5-codex`
1286
+ */
1287
+ localShell: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedToolFactoryWithOutputSchema<{
1288
+ action: {
1289
+ type: "exec";
1290
+ command: string[];
1291
+ timeoutMs?: number;
1292
+ user?: string;
1293
+ workingDirectory?: string;
1294
+ env?: Record<string, string>;
1295
+ };
1296
+ }, {
1297
+ output: string;
1298
+ }, {}, {}>;
1299
+ /**
1300
+ * The shell tool allows the model to interact with your local computer through
1301
+ * a controlled command-line interface. The model proposes shell commands; your
1302
+ * integration executes them and returns the outputs.
1303
+ *
1304
+ * Available through the Responses API for use with GPT-5.1.
1305
+ *
1306
+ * WARNING: Running arbitrary shell commands can be dangerous. Always sandbox
1307
+ * execution or add strict allow-/deny-lists before forwarding a command to
1308
+ * the system shell.
1309
+ */
1310
+ shell: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedToolFactoryWithOutputSchema<{
1311
+ action: {
1312
+ commands: string[];
1313
+ timeoutMs?: number;
1314
+ maxOutputLength?: number;
1315
+ };
1316
+ }, {
1317
+ maxOutputLength?: number;
1318
+ output: Array<{
1319
+ stdout: string;
1320
+ stderr: string;
1321
+ outcome: {
1322
+ type: "timeout";
1323
+ } | {
1324
+ type: "exit";
1325
+ exitCode: number;
1326
+ };
1327
+ }>;
1328
+ }, {
1329
+ environment?: {
1330
+ type: "containerAuto";
1331
+ fileIds?: string[];
1332
+ memoryLimit?: "1g" | "4g" | "16g" | "64g";
1333
+ networkPolicy?: {
1334
+ type: "disabled";
1335
+ } | {
1336
+ type: "allowlist";
1337
+ allowedDomains: string[];
1338
+ domainSecrets?: Array<{
1339
+ domain: string;
1340
+ name: string;
1341
+ value: string;
1342
+ }>;
1343
+ };
1344
+ skills?: Array<{
1345
+ type: "skillReference";
1346
+ providerReference: import("../../@ai-sdk_provider@4.0.38/dist/index.js").SharedV4ProviderReference;
1347
+ version?: string;
1348
+ } | {
1349
+ type: "inline";
1350
+ name: string;
1351
+ description: string;
1352
+ source: {
1353
+ type: "base64";
1354
+ mediaType: "application/zip";
1355
+ data: string;
1356
+ };
1357
+ }>;
1358
+ } | {
1359
+ type: "containerReference";
1360
+ containerId: string;
1361
+ } | {
1362
+ type?: "local";
1363
+ skills?: Array<{
1364
+ name: string;
1365
+ description: string;
1366
+ path: string;
1367
+ }>;
1368
+ };
1369
+ }, {}>;
1370
+ /**
1371
+ * Web search allows models to access up-to-date information from the internet
1372
+ * and provide answers with sourced citations.
1373
+ *
1374
+ * @deprecated Use `webSearch` instead.
1375
+ *
1376
+ * @param searchContextSize - The search context size to use for the web search.
1377
+ * @param userLocation - The user location to use for the web search.
1378
+ */
1379
+ webSearchPreview: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedToolFactory<{}, {
1380
+ action?: {
1381
+ type: "search";
1382
+ query?: string;
1383
+ } | {
1384
+ type: "openPage";
1385
+ url?: string | null;
1386
+ } | {
1387
+ type: "findInPage";
1388
+ url?: string | null;
1389
+ pattern?: string | null;
1390
+ };
1391
+ }, {
1392
+ searchContextSize?: "low" | "medium" | "high";
1393
+ userLocation?: {
1394
+ type: "approximate";
1395
+ country?: string;
1396
+ city?: string;
1397
+ region?: string;
1398
+ timezone?: string;
1399
+ };
1400
+ }, {}>;
1401
+ /**
1402
+ * Web search allows models to access up-to-date information from the internet
1403
+ * and provide answers with sourced citations.
1404
+ *
1405
+ * @param filters - The filters to use for the web search.
1406
+ * @param searchContextSize - The search context size to use for the web search.
1407
+ * @param userLocation - The user location to use for the web search.
1408
+ */
1409
+ webSearch: (args?: Parameters<typeof webSearchToolFactory>[0]) => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedTool<{}, {
1410
+ action?: {
1411
+ type: "search";
1412
+ query?: string;
1413
+ queries?: string[];
1414
+ } | {
1415
+ type: "openPage";
1416
+ url?: string | null;
1417
+ } | {
1418
+ type: "findInPage";
1419
+ url?: string | null;
1420
+ pattern?: string | null;
1421
+ };
1422
+ sources?: Array<{
1423
+ type: "url";
1424
+ url: string;
1425
+ } | {
1426
+ type: "api";
1427
+ name: string;
1428
+ }>;
1429
+ }, {}>;
1430
+ /**
1431
+ * MCP (Model Context Protocol) allows models to call tools exposed by
1432
+ * remote MCP servers or service connectors.
1433
+ *
1434
+ * @param serverLabel - Label to identify the MCP server.
1435
+ * @param allowedTools - Allowed tool names or filter object.
1436
+ * @param authorization - OAuth access token for the MCP server/connector.
1437
+ * @param connectorId - Identifier for a service connector.
1438
+ * @param headers - Optional headers to include in MCP requests.
1439
+ * // param requireApproval - Approval policy ('always'|'never'|filter object). (Removed - always 'never')
1440
+ * @param serverDescription - Optional description of the server.
1441
+ * @param serverUrl - URL for the MCP server.
1442
+ */
1443
+ mcp: (args: {
1444
+ serverLabel: string;
1445
+ allowedTools?: string[] | {
1446
+ readOnly?: boolean;
1447
+ toolNames?: string[];
1448
+ };
1449
+ authorization?: string;
1450
+ connectorId?: string;
1451
+ headers?: Record<string, string>;
1452
+ requireApproval?: "always" | "never" | {
1453
+ never?: {
1454
+ toolNames?: string[];
1455
+ };
1456
+ };
1457
+ serverDescription?: string;
1458
+ serverUrl?: string;
1459
+ }) => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedTool<{}, {
1460
+ type: "call";
1461
+ serverLabel: string;
1462
+ name: string;
1463
+ arguments: string;
1464
+ output?: string | null;
1465
+ error?: import("../../@ai-sdk_provider@4.0.38/dist/index.js").JSONValue;
1466
+ }, {}>;
1467
+ /**
1468
+ * Programmatic Tool Calling lets OpenAI Responses models write and execute
1469
+ * JavaScript that orchestrates eligible tools.
1470
+ */
1471
+ programmaticToolCalling: () => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").Experimental_ToolCallerTool<import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderExecutedTool<{
1472
+ code: string;
1473
+ fingerprint: string;
1474
+ }, {
1475
+ result: string;
1476
+ status: "completed" | "incomplete";
1477
+ }, {}>>;
1478
+ /**
1479
+ * Tool search allows the model to dynamically search for and load deferred
1480
+ * tools into the model's context as needed. This helps reduce overall token
1481
+ * usage, cost, and latency by only loading tools when the model needs them.
1482
+ *
1483
+ * To use tool search, mark functions or namespaces with `defer_loading: true`
1484
+ * in the tools array. The model will use tool search to load these tools
1485
+ * when it determines they are needed.
1486
+ */
1487
+ toolSearch: (args?: Parameters<import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedToolFactoryWithOutputSchema<{
1488
+ arguments?: unknown;
1489
+ call_id?: string | null;
1490
+ }, {
1491
+ tools: Array<import("../../@ai-sdk_provider@4.0.38/dist/index.js").JSONObject>;
1492
+ }, {
1493
+ execution?: "server" | "client";
1494
+ description?: string;
1495
+ parameters?: Record<string, unknown>;
1496
+ }, {}>>[0]) => import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").ProviderDefinedTool<{
1497
+ arguments?: unknown;
1498
+ call_id?: string | null;
1499
+ }, {
1500
+ tools: Array<import("../../@ai-sdk_provider@4.0.38/dist/index.js").JSONObject>;
1501
+ }, {}>;
1502
+ };
1503
+ //#endregion
1504
+ //#region src/live/openai-realtime-model-live-options.d.ts
1505
+ type OpenAIRealtimeModelLiveId = 'gpt-live-1' | (string & {});
1506
+ declare const openaiRealtimeModelLiveOptionsSchema: z.ZodObject<{
1507
+ client: z.ZodOptional<z.ZodObject<{
1508
+ dataChannel: z.ZodObject<{
1509
+ allowedClientEvents: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
1510
+ allowedServerEvents: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodObject<{
1511
+ type: z.ZodString;
1512
+ responseEvent: z.ZodOptional<z.ZodString>;
1513
+ }, z.core.$strict>>]>>;
1514
+ }, z.core.$strict>;
1515
+ }, z.core.$strict>>;
1516
+ delegation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1517
+ type: z.ZodLiteral<"client">;
1518
+ }, z.core.$strict>>>;
1519
+ input: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1520
+ type: z.ZodLiteral<"message">;
1521
+ role: z.ZodEnum<{
1522
+ developer: "developer";
1523
+ user: "user";
1524
+ }>;
1525
+ content: z.ZodTuple<[z.ZodObject<{
1526
+ type: z.ZodLiteral<"input_text">;
1527
+ text: z.ZodString;
1528
+ }, z.core.$strict>], null>;
1529
+ }, z.core.$strict>, z.ZodObject<{
1530
+ type: z.ZodLiteral<"message">;
1531
+ role: z.ZodLiteral<"assistant">;
1532
+ content: z.ZodTuple<[z.ZodObject<{
1533
+ type: z.ZodEnum<{
1534
+ text: "text";
1535
+ output_text: "output_text";
1536
+ }>;
1537
+ text: z.ZodString;
1538
+ }, z.core.$strict>], null>;
1539
+ }, z.core.$strict>]>>>;
1540
+ store: z.ZodOptional<z.ZodBoolean>;
1541
+ voice: z.ZodOptional<z.ZodObject<{
1542
+ id: z.ZodString;
1543
+ }, z.core.$strict>>;
1544
+ }, z.core.$strict>;
1545
+ /** Experimental Live options under sessionConfig.providerOptions.openai. */
1546
+ type OpenAIRealtimeModelLiveOptions = z.infer<typeof openaiRealtimeModelLiveOptionsSchema>;
1547
+ //#endregion
1548
+ //#region src/realtime/openai-realtime-model.d.ts
1549
+ type OpenAIRealtimeModelConfig = {
1550
+ provider: string;
1551
+ baseURL: string;
1552
+ headers: Resolvable<Record<string, string | undefined>>;
1553
+ fetch?: FetchFunction;
1554
+ };
1555
+ declare class OpenAIRealtimeModel implements Experimental_RealtimeModelV4 {
1556
+ readonly specificationVersion: "v4";
1557
+ readonly provider: string;
1558
+ readonly modelId: string;
1559
+ private readonly config;
1560
+ constructor(modelId: string, config: OpenAIRealtimeModelConfig);
1561
+ doCreateClientSecret(options: Experimental_RealtimeModelV4ClientSecretOptions): Promise<Experimental_RealtimeModelV4ClientSecretResult>;
1562
+ getWebSocketConfig(options: {
1563
+ token: string;
1564
+ url: string;
1565
+ }): {
1566
+ url: string;
1567
+ protocols?: string[];
1568
+ };
1569
+ parseServerEvent(raw: unknown): Experimental_RealtimeModelV4ServerEvent;
1570
+ serializeClientEvent(event: Experimental_RealtimeModelV4ClientEvent): unknown;
1571
+ buildSessionConfig(config: Experimental_RealtimeModelV4SessionConfig): Record<string, unknown>;
1572
+ }
1573
+ //#endregion
1574
+ //#region src/live/openai-realtime-model-live.d.ts
1575
+ type OpenAIRealtimeModelLiveConfig = OpenAIRealtimeModelConfig;
1576
+ declare class OpenAIRealtimeModelLive implements Experimental_RealtimeModelV4 {
1577
+ readonly modelId: OpenAIRealtimeModelLiveId;
1578
+ private readonly config;
1579
+ readonly specificationVersion: "v4";
1580
+ readonly capabilities: {
1581
+ readonly startup: "session-start";
1582
+ readonly finalization: "session-close";
1583
+ readonly conversation: "continuous";
1584
+ readonly transports: readonly ["websocket", "webrtc"];
1585
+ readonly connections: readonly ["server-websocket", "webrtc"];
1586
+ };
1587
+ constructor(modelId: OpenAIRealtimeModelLiveId, config: OpenAIRealtimeModelLiveConfig);
1588
+ get provider(): string;
1589
+ getWebRTCConfig(): {
1590
+ dataChannelLabel: string;
1591
+ };
1592
+ getServerWebSocketConfig(): {
1593
+ url: string;
1594
+ headers: Record<string, string>;
1595
+ } | Promise<{
1596
+ url: string;
1597
+ headers: Record<string, string>;
1598
+ }>;
1599
+ doCreateWebRTCSession({ sdp, sessionConfig, abortSignal }: {
1600
+ sdp: string;
1601
+ sessionConfig?: Experimental_RealtimeModelV4SessionConfig;
1602
+ abortSignal?: AbortSignal;
1603
+ }): Promise<{
1604
+ sessionId: string;
1605
+ sdp: string;
1606
+ }>;
1607
+ parseServerEvent(raw: unknown): import("../../@ai-sdk_provider@4.0.38/dist/index.js").Experimental_RealtimeModelV4ServerEvent[];
1608
+ createServerEventParser(): (raw: unknown) => import("../../@ai-sdk_provider@4.0.38/dist/index.js").Experimental_RealtimeModelV4ServerEvent[];
1609
+ serializeClientEvent(event: Experimental_RealtimeModelV4ClientEvent): unknown;
1610
+ buildSessionConfig(config: Experimental_RealtimeModelV4SessionConfig): Record<string, unknown>;
1611
+ }
1612
+ //#endregion
1613
+ //#region src/openai-model-catalog.d.ts
1614
+ declare const realtimeModelEntries: {
1615
+ readonly 'gpt-live-1': {
1616
+ readonly capabilities: {
1617
+ readonly realtime: {
1618
+ readonly conversation: "continuous";
1619
+ readonly transports: readonly ["websocket", "webrtc"];
1620
+ readonly connections: readonly ["server-websocket", "webrtc"];
1621
+ };
1622
+ };
1623
+ readonly requestConfig: {
1624
+ readonly realtime: {
1625
+ readonly api: "live";
1626
+ readonly startup: "session-start";
1627
+ readonly finalization: "session-close";
1628
+ };
1629
+ };
1630
+ };
1631
+ readonly 'gpt-realtime': {
1632
+ readonly capabilities: {
1633
+ readonly realtime: {
1634
+ readonly conversation: "turn-based";
1635
+ readonly transports: readonly ["websocket"];
1636
+ readonly connections: readonly ["client-secret-websocket"];
1637
+ };
1638
+ };
1639
+ readonly requestConfig: {
1640
+ readonly realtime: {
1641
+ readonly api: "realtime";
1642
+ readonly startup: "session-update";
1643
+ readonly finalization: "transport-close";
1644
+ };
1645
+ };
1646
+ };
1647
+ };
1648
+ type OpenAIKnownLiveModelId = { [ModelId in keyof typeof realtimeModelEntries]: (typeof realtimeModelEntries)[ModelId]['requestConfig']['realtime']['api'] extends 'live' ? ModelId : never; }[keyof typeof realtimeModelEntries];
1649
+ //#endregion
1650
+ //#region src/realtime/openai-realtime-factory.d.ts
1651
+ type OpenAIRealtimeOptions = {
1652
+ /** Overrides model ID routing, including for early-access models. */
1653
+ api?: 'live' | 'realtime';
1654
+ };
1655
+ interface OpenAIRealtimeFactory extends Experimental_RealtimeFactoryV4 {
1656
+ (modelId: string, options: {
1657
+ api: 'live';
1658
+ }): OpenAIRealtimeModelLive;
1659
+ (modelId: string, options: {
1660
+ api: 'realtime';
1661
+ }): OpenAIRealtimeModel;
1662
+ (modelId: OpenAIKnownLiveModelId, options?: {
1663
+ api?: undefined;
1664
+ }): OpenAIRealtimeModelLive;
1665
+ (modelId: string, options?: OpenAIRealtimeOptions): Experimental_RealtimeModelV4;
1666
+ getToken(options: Parameters<Experimental_RealtimeFactoryV4['getToken']>[0] & OpenAIRealtimeOptions): ReturnType<Experimental_RealtimeFactoryV4['getToken']>;
1667
+ }
1668
+ //#endregion
1669
+ //#region src/speech/openai-speech-model-options.d.ts
1670
+ type OpenAISpeechModelId = 'tts-1' | 'tts-1-1106' | 'tts-1-hd' | 'tts-1-hd-1106' | 'gpt-4o-mini-tts' | 'gpt-4o-mini-tts-2025-03-20' | 'gpt-4o-mini-tts-2025-12-15' | (string & {});
1671
+ declare const openaiSpeechModelOptionsSchema: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
1672
+ instructions?: string | null | undefined;
1673
+ speed?: number | null | undefined;
1674
+ }>;
1675
+ type OpenAISpeechModelOptions = InferSchema<typeof openaiSpeechModelOptionsSchema>;
1676
+ //#endregion
1677
+ //#region src/transcription/openai-transcription-model-options.d.ts
1678
+ type OpenAITranscriptionModelId = 'whisper-1' | 'gpt-4o-mini-transcribe' | 'gpt-4o-mini-transcribe-2025-03-20' | 'gpt-4o-mini-transcribe-2025-12-15' | 'gpt-4o-transcribe' | 'gpt-4o-transcribe-diarize' | 'gpt-live-transcribe' | 'gpt-realtime-whisper' | 'gpt-transcribe' | (string & {});
1679
+ declare const openAITranscriptionModelOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
1680
+ include?: string[] | undefined;
1681
+ language?: string | undefined;
1682
+ prompt?: string | undefined;
1683
+ temperature?: number | undefined;
1684
+ timestampGranularities?: ("word" | "segment")[] | undefined;
1685
+ responseFormat?: "json" | "verbose_json" | "diarized_json" | undefined;
1686
+ chunkingStrategy?: "auto" | {
1687
+ type: "server_vad";
1688
+ threshold?: number | undefined;
1689
+ prefixPaddingMs?: number | undefined;
1690
+ silenceDurationMs?: number | undefined;
1691
+ } | undefined;
1692
+ streaming?: {
1693
+ delay?: "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1694
+ include?: string[] | undefined;
1695
+ } | undefined;
1696
+ }>;
1697
+ type OpenAITranscriptionModelOptions = InferSchema<typeof openAITranscriptionModelOptions>;
1698
+ //#endregion
1699
+ //#region src/speech-translation/openai-speech-translation-model-options.d.ts
1700
+ type OpenAISpeechTranslationModelId = 'gpt-realtime-translate' | (string & {});
1701
+ declare const openAISpeechTranslationModelOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<Record<string, never>>;
1702
+ type OpenAISpeechTranslationModelOptions = InferSchema<typeof openAISpeechTranslationModelOptions>;
1703
+ //#endregion
1704
+ //#region src/openai-provider.d.ts
1705
+ interface OpenAIProvider extends ProviderV4 {
1706
+ (modelId: OpenAIResponsesModelId): LanguageModelV4;
1707
+ /** Creates an experimental Choice/Score/Boolean decision model using the Decisions API. */
1708
+ decisionModel(modelId: OpenAIDecisionModelId): Experimental_DecisionModelV4;
1709
+ /** @deprecated Use `decisionModel` instead. */
1710
+ evaluationModel(modelId: OpenAIDecisionModelId): Experimental_DecisionModelV4 & {
1711
+ doEvaluate: Experimental_DecisionModelV4['doDecide'];
1712
+ };
1713
+ /**
1714
+ * Creates an OpenAI model for text generation.
1715
+ */
1716
+ languageModel(modelId: OpenAIResponsesModelId): LanguageModelV4;
1717
+ /**
1718
+ * Creates an OpenAI chat model for text generation.
1719
+ */
1720
+ chat(modelId: OpenAIChatModelId): LanguageModelV4;
1721
+ /**
1722
+ * Creates an OpenAI responses API model for text generation.
1723
+ */
1724
+ responses(modelId: OpenAIResponsesModelId): LanguageModelV4;
1725
+ /**
1726
+ * Creates an OpenAI completion model for text generation.
1727
+ */
1728
+ completion(modelId: OpenAICompletionModelId): LanguageModelV4;
1729
+ /**
1730
+ * Creates a model for text embeddings.
1731
+ */
1732
+ embedding(modelId: OpenAIEmbeddingModelId): EmbeddingModelV4;
1733
+ /**
1734
+ * Creates a model for text embeddings.
1735
+ */
1736
+ embeddingModel(modelId: OpenAIEmbeddingModelId): EmbeddingModelV4;
1737
+ /**
1738
+ * @deprecated Use `embedding` instead.
1739
+ */
1740
+ textEmbedding(modelId: OpenAIEmbeddingModelId): EmbeddingModelV4;
1741
+ /**
1742
+ * @deprecated Use `embeddingModel` instead.
1743
+ */
1744
+ textEmbeddingModel(modelId: OpenAIEmbeddingModelId): EmbeddingModelV4;
1745
+ /**
1746
+ * Creates a model for image generation.
1747
+ */
1748
+ image(modelId: OpenAIImageModelId): ImageModelV4;
1749
+ /**
1750
+ * Creates a model for image generation.
1751
+ */
1752
+ imageModel(modelId: OpenAIImageModelId): ImageModelV4;
1753
+ /**
1754
+ * Creates a model for transcription.
1755
+ */
1756
+ transcription(modelId: OpenAITranscriptionModelId): TranscriptionModelV4;
1757
+ /**
1758
+ * Creates an experimental model for streaming speech translation.
1759
+ */
1760
+ translation(modelId: OpenAISpeechTranslationModelId): Experimental_SpeechTranslationModelV4;
1761
+ /**
1762
+ * Creates an experimental model for streaming speech translation.
1763
+ */
1764
+ speechTranslationModel(modelId: OpenAISpeechTranslationModelId): Experimental_SpeechTranslationModelV4;
1765
+ /**
1766
+ * Creates a model for speech generation.
1767
+ */
1768
+ speech(modelId: OpenAISpeechModelId): SpeechModelV4;
1769
+ /**
1770
+ * Creates an experimental realtime model for bidirectional audio/text
1771
+ * communication over WebSocket.
1772
+ */
1773
+ experimental_realtime: OpenAIRealtimeFactory;
1774
+ /**
1775
+ * Returns a FilesV4 interface for uploading files to OpenAI.
1776
+ */
1777
+ files(): FilesV4;
1778
+ /**
1779
+ * Returns a SkillsV4 interface for uploading skills to OpenAI.
1780
+ */
1781
+ skills(): SkillsV4;
1782
+ /**
1783
+ * Returns a BatchV4 interface for processing batches with OpenAI.
1784
+ */
1785
+ experimental_batch(): Experimental_BatchV4<{
1786
+ text: OpenAIResponsesModelId;
1787
+ }>;
1788
+ /**
1789
+ * OpenAI-specific tools.
1790
+ */
1791
+ tools: typeof openaiTools;
1792
+ }
1793
+ interface OpenAIProviderSettings {
1794
+ /** Settings for downloading JSON Lines batch results. */
1795
+ batchResultDownloads?: {
1796
+ /** Maximum UTF-8 bytes per row, excluding LF. Defaults to 64 MiB. */
1797
+ maxLineBytes?: number;
1798
+ };
1799
+ /**
1800
+ * Base URL for the OpenAI API calls.
1801
+ */
1802
+ baseURL?: string;
1803
+ /**
1804
+ * API key for authenticating requests.
1805
+ * A function is called before each request and may return a promise.
1806
+ */
1807
+ apiKey?: Resolvable<string>;
1808
+ /**
1809
+ * OpenAI Organization.
1810
+ */
1811
+ organization?: string;
1812
+ /**
1813
+ * OpenAI project.
1814
+ */
1815
+ project?: string;
1816
+ /**
1817
+ * Custom headers to include in the requests.
1818
+ */
1819
+ headers?: Record<string, string>;
1820
+ /**
1821
+ * Provider name. Overrides the `openai` default name for 3rd party providers.
1822
+ */
1823
+ name?: string;
1824
+ /**
1825
+ * Custom fetch implementation. You can use it as a middleware to intercept requests,
1826
+ * or to provide a custom fetch implementation for e.g. testing.
1827
+ */
1828
+ fetch?: FetchFunction;
1829
+ /**
1830
+ * Custom WebSocket implementation. This is useful for testing or for
1831
+ * runtimes that need a WebSocket constructor with header support.
1832
+ */
1833
+ webSocket?: WebSocketConstructor;
1834
+ }
1835
+ /**
1836
+ * Create an OpenAI provider instance.
1837
+ */
1838
+ export declare function createOpenAI(options?: OpenAIProviderSettings): OpenAIProvider;
1839
+ /**
1840
+ * Default OpenAI provider instance.
1841
+ */
1842
+ export declare const openai: OpenAIProvider;
1843
+ //#endregion
1844
+ //#region src/responses/openai-responses-prepare-tools.d.ts
1845
+ type OpenAIToolOptions = {
1846
+ allowedCallers?: Array<'direct' | 'programmatic'>;
1847
+ /**
1848
+ * Whether the model can continue generating after calling this tool without
1849
+ * waiting for its result.
1850
+ */
1851
+ async?: boolean;
1852
+ deferLoading?: boolean;
1853
+ /**
1854
+ * Omit this function from the Responses request's top-level tools array.
1855
+ * Use for tools supplied in history through additionalTools. Keep the tool
1856
+ * active in the SDK so its calls can still be validated and executed.
1857
+ */
1858
+ omitFromRequestTools?: boolean;
1859
+ outputSchema?: JSONObject;
1860
+ namespace?: {
1861
+ name: string;
1862
+ description: string;
1863
+ };
1864
+ };
1865
+ //#endregion
1866
+ //#region src/speech-translation/openai-speech-translation-model.d.ts
1867
+ interface OpenAISpeechTranslationModelConfig extends OpenAIConfig {
1868
+ _internal?: {
1869
+ currentDate?: () => Date;
1870
+ };
1871
+ }
1872
+ declare class OpenAISpeechTranslationModel implements Experimental_SpeechTranslationModelV4 {
1873
+ readonly modelId: OpenAISpeechTranslationModelId;
1874
+ private readonly config;
1875
+ readonly specificationVersion = "v4";
1876
+ static [WORKFLOW_SERIALIZE](model: OpenAISpeechTranslationModel): {
1877
+ modelId: string;
1878
+ config: import("../../@ai-sdk_provider@4.0.38/dist/index.js").JSONObject;
1879
+ };
1880
+ static [WORKFLOW_DESERIALIZE](options: {
1881
+ modelId: OpenAISpeechTranslationModelId;
1882
+ config: OpenAISpeechTranslationModelConfig;
1883
+ }): OpenAISpeechTranslationModel;
1884
+ get provider(): string;
1885
+ constructor(modelId: OpenAISpeechTranslationModelId, config: OpenAISpeechTranslationModelConfig);
1886
+ doStream(options: Experimental_SpeechTranslationModelV4StreamOptions): Promise<Awaited<ReturnType<Experimental_SpeechTranslationModelV4['doStream']>>>;
1887
+ }
1888
+ //#endregion
1889
+ //#region src/files/openai-files-options.d.ts
1890
+ declare const openaiFilesOptionsSchema: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
1891
+ purpose?: string | undefined;
1892
+ expiresAfter?: number | undefined;
1893
+ }>;
1894
+ type OpenAIFilesOptions = InferSchema<typeof openaiFilesOptionsSchema>;
1895
+ //#endregion
1896
+ //#region src/tool/computer.d.ts
1897
+ declare const safetyCheckSchema: () => z.ZodObject<{
1898
+ id: z.ZodString;
1899
+ code: z.ZodOptional<z.ZodString>;
1900
+ message: z.ZodOptional<z.ZodString>;
1901
+ }, z.core.$strip>;
1902
+ declare const computerActionSchema: () => z.ZodDiscriminatedUnion<[z.ZodObject<{
1903
+ type: z.ZodLiteral<"click">;
1904
+ button: z.ZodEnum<{
1905
+ left: "left";
1906
+ right: "right";
1907
+ wheel: "wheel";
1908
+ back: "back";
1909
+ forward: "forward";
1910
+ }>;
1911
+ x: z.ZodNumber;
1912
+ y: z.ZodNumber;
1913
+ keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
1914
+ }, z.core.$strip>, z.ZodObject<{
1915
+ type: z.ZodLiteral<"double_click">;
1916
+ x: z.ZodNumber;
1917
+ y: z.ZodNumber;
1918
+ keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
1919
+ }, z.core.$strip>, z.ZodObject<{
1920
+ type: z.ZodLiteral<"drag">;
1921
+ path: z.ZodArray<z.ZodObject<{
1922
+ x: z.ZodNumber;
1923
+ y: z.ZodNumber;
1924
+ }, z.core.$strip>>;
1925
+ keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
1926
+ }, z.core.$strip>, z.ZodObject<{
1927
+ type: z.ZodLiteral<"keypress">;
1928
+ keys: z.ZodArray<z.ZodString>;
1929
+ }, z.core.$strip>, z.ZodObject<{
1930
+ type: z.ZodLiteral<"move">;
1931
+ x: z.ZodNumber;
1932
+ y: z.ZodNumber;
1933
+ keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
1934
+ }, z.core.$strip>, z.ZodObject<{
1935
+ type: z.ZodLiteral<"screenshot">;
1936
+ }, z.core.$strip>, z.ZodObject<{
1937
+ type: z.ZodLiteral<"scroll">;
1938
+ x: z.ZodNumber;
1939
+ y: z.ZodNumber;
1940
+ scrollX: z.ZodNumber;
1941
+ scrollY: z.ZodNumber;
1942
+ keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
1943
+ }, z.core.$strip>, z.ZodObject<{
1944
+ type: z.ZodLiteral<"type">;
1945
+ text: z.ZodString;
1946
+ }, z.core.$strip>, z.ZodObject<{
1947
+ type: z.ZodLiteral<"wait">;
1948
+ }, z.core.$strip>]>;
1949
+ type OpenAIComputerAction = z.infer<ReturnType<typeof computerActionSchema>>;
1950
+ type OpenAIComputerSafetyCheck = z.infer<ReturnType<typeof safetyCheckSchema>>;
1951
+ //#endregion
1952
+ //#region src/responses/openai-responses-provider-metadata.d.ts
1953
+ type OpenaiResponsesChunk = InferSchema<typeof openaiResponsesChunkSchema>;
1954
+ type ResponsesOutputTextAnnotationProviderMetadata = Extract<OpenaiResponsesChunk, {
1955
+ type: 'response.output_text.annotation.added';
1956
+ }>['annotation'];
1957
+ type ResponsesProviderMetadata = {
1958
+ responseId: string | null | undefined;
1959
+ logprobs?: Array<OpenAIResponsesLogprobs>;
1960
+ serviceTier?: string;
1961
+ reasoningContext?: string;
1962
+ };
1963
+ type ResponsesReasoningProviderMetadata = {
1964
+ itemId: string;
1965
+ reasoningEncryptedContent?: string | null;
1966
+ };
1967
+ type OpenaiResponsesReasoningProviderMetadata = {
1968
+ openai: ResponsesReasoningProviderMetadata;
1969
+ };
1970
+ type OpenaiResponsesProviderMetadata = {
1971
+ openai: ResponsesProviderMetadata;
1972
+ };
1973
+ type ResponsesToolCallProviderMetadata = {
1974
+ itemId: string;
1975
+ async?: boolean;
1976
+ namespace?: string;
1977
+ caller?: {
1978
+ type: 'direct';
1979
+ } | {
1980
+ type: 'program';
1981
+ callerId: string;
1982
+ };
1983
+ };
1984
+ type OpenaiResponsesToolCallProviderMetadata = {
1985
+ openai: ResponsesToolCallProviderMetadata;
1986
+ };
1987
+ type ResponsesCompactionProviderMetadata = {
1988
+ type: 'compaction';
1989
+ itemId: string;
1990
+ encryptedContent?: string;
1991
+ };
1992
+ type OpenaiResponsesCompactionProviderMetadata = {
1993
+ openai: ResponsesCompactionProviderMetadata;
1994
+ };
1995
+ type ResponsesTextProviderMetadata = {
1996
+ itemId: string;
1997
+ phase?: 'commentary' | 'final_answer' | null;
1998
+ annotations?: Array<ResponsesOutputTextAnnotationProviderMetadata>;
1999
+ };
2000
+ type OpenaiResponsesTextProviderMetadata = {
2001
+ openai: ResponsesTextProviderMetadata;
2002
+ };
2003
+ type ResponsesSourceDocumentProviderMetadata = {
2004
+ type: 'file_search';
2005
+ fileId: string;
2006
+ } | {
2007
+ type: 'file_citation';
2008
+ fileId: string;
2009
+ index: number;
2010
+ } | {
2011
+ type: 'container_file_citation';
2012
+ fileId: string;
2013
+ containerId: string;
2014
+ } | {
2015
+ type: 'file_path';
2016
+ fileId: string;
2017
+ index: number;
2018
+ };
2019
+ type OpenaiResponsesSourceDocumentProviderMetadata = {
2020
+ openai: ResponsesSourceDocumentProviderMetadata;
2021
+ };
2022
+ //#endregion
2023
+ //#region src/version.d.ts
2024
+ export declare const VERSION: string;
2025
+ //#endregion
2026
+ //#region src/openai-decision-model-options.d.ts
2027
+ declare const openaiDecisionModelOptions: import("../../@ai-sdk_provider-utils@5.0.81/dist/index.js").LazySchema<{
2028
+ safetyIdentifier?: string | undefined;
2029
+ promptCacheKey?: string | undefined;
2030
+ }>;
2031
+ type OpenAIDecisionModelOptions = InferSchema<typeof openaiDecisionModelOptions>;
2032
+ //#endregion
2033
+ export { type OpenAIRealtimeFactory as Experimental_OpenAIRealtimeFactory, OpenAIRealtimeModel as Experimental_OpenAIRealtimeModel, type OpenAIRealtimeModelConfig as Experimental_OpenAIRealtimeModelConfig, OpenAIRealtimeModelLive as Experimental_OpenAIRealtimeModelLive, type OpenAIRealtimeModelLiveConfig as Experimental_OpenAIRealtimeModelLiveConfig, type OpenAIRealtimeModelLiveId as Experimental_OpenAIRealtimeModelLiveId, type OpenAIRealtimeModelLiveOptions as Experimental_OpenAIRealtimeModelLiveOptions, type OpenAIRealtimeOptions as Experimental_OpenAIRealtimeOptions, OpenAISpeechTranslationModel as Experimental_OpenAISpeechTranslationModel, OpenAISpeechTranslationModel as Experimental_OpenAITranslationModel, type OpenAISpeechTranslationModelId as Experimental_OpenAISpeechTranslationModelId, type OpenAISpeechTranslationModelId as Experimental_OpenAITranslationModelId, type OpenAISpeechTranslationModelOptions as Experimental_OpenAISpeechTranslationModelOptions, type OpenAISpeechTranslationModelOptions as Experimental_OpenAITranslationModelOptions, type OpenAILanguageModelChatOptions as OpenAIChatLanguageModelOptions, type OpenAILanguageModelChatOptions, type OpenAIComputerAction, type OpenAIComputerSafetyCheck, type OpenAIDecisionModelId, type OpenAIDecisionModelOptions, type OpenAIEmbeddingModelOptions, type OpenAIFilesOptions, type OpenAIImageModelEditOptions, type OpenAIImageModelGenerationOptions, type OpenAIImageModelOptions, type OpenAILanguageModelCompletionOptions, type OpenAILanguageModelResponsesOptions, type OpenAILanguageModelResponsesOptions as OpenAIResponsesProviderOptions, type OpenAIProvider, type OpenAIProviderSettings, type OpenAIResponsesSystemMessageOptions, type OpenAIResponsesToolResultOptions, type OpenAISpeechModelOptions, type OpenAIToolOptions, type OpenAITranscriptionModelOptions, type OpenaiResponsesCompactionProviderMetadata, type OpenaiResponsesProviderMetadata, type OpenaiResponsesReasoningProviderMetadata, type OpenaiResponsesSourceDocumentProviderMetadata, type OpenaiResponsesTextProviderMetadata, type OpenaiResponsesToolCallProviderMetadata };
2034
+ //# sourceMappingURL=index.d.ts.map