maka-agent 0.2.0-dev.62.20260928 → 0.2.0-dev.64.20260929

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 (723) hide show
  1. package/LICENSE +15 -15
  2. package/THIRD_PARTY_NOTICES.txt +26 -26
  3. package/native/runtime-host-windows-task-launcher/prebuilds/win32-x64/maka-runtime-host-task-launcher.exe +0 -0
  4. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js +12 -12
  5. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +52 -0
  6. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +5 -4
  7. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +7 -0
  8. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +51 -8
  9. package/node_modules/@agentclientprotocol/sdk/package.json +2 -2
  10. package/node_modules/@agentclientprotocol/sdk/schema/schema.json +90 -2
  11. package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +103 -12
  12. package/node_modules/@ai-sdk/anthropic/CHANGELOG.md +140 -0
  13. package/node_modules/@ai-sdk/anthropic/README.md +1 -1
  14. package/node_modules/@ai-sdk/anthropic/dist/index.js +1622 -868
  15. package/node_modules/@ai-sdk/anthropic/dist/internal/index.js +1516 -763
  16. package/node_modules/@ai-sdk/anthropic/docs/05-anthropic.mdx +483 -62
  17. package/node_modules/@ai-sdk/anthropic/package.json +4 -4
  18. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/approval-continuation.js +0 -1
  19. package/node_modules/@ai-sdk/code-mode/dist/code-mode-tool.js +59 -0
  20. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/errors.js +0 -8
  21. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/interrupt-continuation.js +0 -2
  22. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/tool-prompt.js +43 -15
  23. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/package.json +3 -3
  24. package/node_modules/@ai-sdk/cohere/CHANGELOG.md +99 -0
  25. package/node_modules/@ai-sdk/cohere/README.md +1 -1
  26. package/node_modules/@ai-sdk/cohere/dist/index.js +35 -49
  27. package/node_modules/@ai-sdk/cohere/docs/25-cohere.mdx +11 -9
  28. package/node_modules/@ai-sdk/cohere/package.json +4 -4
  29. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/CHANGELOG.md +183 -0
  30. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/README.md +1 -1
  31. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/dist/index.js +587 -245
  32. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/docs/00-ai-gateway.mdx +235 -30
  33. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/package.json +4 -4
  34. package/node_modules/@ai-sdk/google/CHANGELOG.md +180 -0
  35. package/node_modules/@ai-sdk/google/README.md +1 -1
  36. package/node_modules/@ai-sdk/google/dist/index.js +1147 -1130
  37. package/node_modules/@ai-sdk/google/dist/internal/index.js +809 -889
  38. package/node_modules/@ai-sdk/google/docs/15-google.mdx +224 -41
  39. package/node_modules/@ai-sdk/google/package.json +4 -4
  40. package/node_modules/@ai-sdk/open-responses/CHANGELOG.md +109 -0
  41. package/node_modules/@ai-sdk/open-responses/dist/index.js +419 -183
  42. package/node_modules/@ai-sdk/open-responses/docs/06-open-responses.mdx +121 -6
  43. package/node_modules/@ai-sdk/open-responses/package.json +4 -4
  44. package/node_modules/@ai-sdk/openai/CHANGELOG.md +147 -0
  45. package/node_modules/@ai-sdk/openai/README.md +27 -2
  46. package/node_modules/@ai-sdk/openai/dist/index.js +2445 -1828
  47. package/node_modules/@ai-sdk/openai/dist/internal/index.js +2170 -2041
  48. package/node_modules/@ai-sdk/openai/docs/03-openai.mdx +311 -102
  49. package/node_modules/@ai-sdk/openai/package.json +4 -4
  50. package/node_modules/@ai-sdk/openai-compatible/CHANGELOG.md +110 -0
  51. package/node_modules/@ai-sdk/openai-compatible/dist/index.js +120 -130
  52. package/node_modules/@ai-sdk/openai-compatible/dist/internal/index.js +22 -14
  53. package/node_modules/@ai-sdk/openai-compatible/docs/index.mdx +2 -0
  54. package/node_modules/@ai-sdk/openai-compatible/package.json +4 -4
  55. package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → provider}/CHANGELOG.md +47 -0
  56. package/node_modules/@ai-sdk/{cohere/node_modules/@ai-sdk/provider → provider}/dist/index.js +127 -102
  57. package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → provider}/package.json +1 -1
  58. package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +99 -0
  59. package/node_modules/@ai-sdk/provider-utils/dist/experimental-evaluation/index.js +1618 -0
  60. package/node_modules/@ai-sdk/provider-utils/dist/index.js +470 -268
  61. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
  62. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
  63. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/core/request.js +23 -2
  64. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
  65. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  66. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
  67. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client.js +6 -2
  68. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/cache-handler.js +21 -5
  69. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/retry-handler.js +109 -23
  70. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/cache.js +20 -1
  71. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/decompress.js +338 -46
  72. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/dump.js +10 -23
  73. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
  74. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/connection.js +19 -9
  75. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  76. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  77. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/package.json +1 -1
  78. package/node_modules/@ai-sdk/provider-utils/package.json +7 -2
  79. package/node_modules/@earendil-works/pi-tui/README.md +8 -2
  80. package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +18 -11
  81. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +7 -6
  82. package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +23 -22
  83. package/node_modules/@earendil-works/pi-tui/dist/index.js +2 -0
  84. package/node_modules/@earendil-works/pi-tui/dist/latex.js +109 -16
  85. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +3 -44
  86. package/node_modules/@earendil-works/pi-tui/dist/native-platform.js +42 -0
  87. package/node_modules/@earendil-works/pi-tui/dist/terminal.js +2 -20
  88. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +25 -6
  89. package/node_modules/@earendil-works/pi-tui/dist/utils.js +4 -0
  90. package/node_modules/@earendil-works/pi-tui/native/clipboard.h +170 -0
  91. package/node_modules/@earendil-works/pi-tui/native/darwin/README.md +8 -6
  92. package/node_modules/@earendil-works/pi-tui/native/darwin/build.sh +12 -5
  93. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/{darwin-modifiers.node → darwin-platform.node} +0 -0
  94. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/{darwin-modifiers.node → darwin-platform.node} +0 -0
  95. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-platform.m +93 -0
  96. package/node_modules/@earendil-works/pi-tui/native/linux/README.md +23 -0
  97. package/node_modules/@earendil-works/pi-tui/native/linux/build.sh +65 -0
  98. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
  99. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
  100. package/node_modules/@earendil-works/pi-tui/native/linux/src/clipboard-worker.h +70 -0
  101. package/node_modules/@earendil-works/pi-tui/native/linux/src/linux-platform-x11.c +274 -0
  102. package/node_modules/@earendil-works/pi-tui/native/napi.h +89 -0
  103. package/node_modules/@earendil-works/pi-tui/native/win32/README.md +16 -7
  104. package/node_modules/@earendil-works/pi-tui/native/win32/build.mjs +7 -4
  105. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
  106. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
  107. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-platform.c +241 -0
  108. package/node_modules/@earendil-works/pi-tui/package.json +11 -4
  109. package/node_modules/@larksuiteoapi/node-sdk/README.md +20 -0
  110. package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +20 -0
  111. package/node_modules/@larksuiteoapi/node-sdk/es/index.js +33 -1
  112. package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +33 -1
  113. package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
  114. package/node_modules/@maka/acp-executor-plugin/dist/plugin.mjs +17 -0
  115. package/node_modules/@maka/acp-executor-plugin/package.json +1 -1
  116. package/node_modules/@maka/core/dist/model-web-search.js +2 -3
  117. package/node_modules/@maka/core/dist/relative-time.js +19 -20
  118. package/node_modules/@maka/eval/harbor/egress_filter.py +64 -47
  119. package/node_modules/@maka/eval/harbor/eval_framework.py +3 -3
  120. package/node_modules/@maka/eval/harbor/run_trial.py +2 -2
  121. package/node_modules/@maka/eval/node_modules/undici/README.md +10 -1
  122. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Agent.md +8 -8
  123. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  124. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  125. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Errors.md +25 -0
  126. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  127. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
  128. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Pool.md +5 -6
  129. package/node_modules/@maka/eval/node_modules/undici/docs/docs/index.md +10 -1
  130. package/node_modules/@maka/eval/node_modules/undici/lib/api/readable.js +1 -2
  131. package/node_modules/@maka/eval/node_modules/undici/lib/core/request.js +23 -2
  132. package/node_modules/@maka/eval/node_modules/undici/lib/core/util.js +0 -39
  133. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
  134. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
  135. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client.js +6 -1
  136. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
  137. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  138. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool.js +90 -7
  139. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
  140. package/node_modules/@maka/eval/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
  141. package/node_modules/@maka/eval/node_modules/undici/lib/handler/redirect-handler.js +5 -0
  142. package/node_modules/@maka/eval/node_modules/undici/lib/handler/retry-handler.js +72 -13
  143. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/cache.js +4 -1
  144. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/decompress.js +236 -69
  145. package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cache.js +17 -8
  146. package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  147. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/index.js +19 -7
  148. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/util.js +3 -1
  149. package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
  150. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/body.js +22 -15
  151. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  152. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  153. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/headers.js +34 -31
  154. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/index.js +46 -25
  155. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/request.js +74 -79
  156. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/response.js +43 -44
  157. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/util.js +7 -7
  158. package/node_modules/@maka/eval/node_modules/undici/lib/web/infra/index.js +16 -1
  159. package/node_modules/@maka/eval/node_modules/undici/lib/web/webidl/index.js +2 -14
  160. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/connection.js +33 -12
  161. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/events.js +43 -26
  162. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  163. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  164. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
  165. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  166. package/node_modules/@maka/eval/node_modules/undici/package.json +1 -1
  167. package/node_modules/@maka/mcp/package.json +1 -1
  168. package/node_modules/@maka/runtime/dist/ai-sdk-compaction.js +15 -3
  169. package/node_modules/@maka/runtime/dist/ai-sdk-message-projection.js +33 -3
  170. package/node_modules/@maka/runtime/dist/deepseek-web-search-codec.js +71 -0
  171. package/node_modules/@maka/runtime/dist/history-compaction.js +11 -4
  172. package/node_modules/@maka/runtime/dist/model-adapter.js +9 -5
  173. package/node_modules/@maka/runtime/dist/model-factory.js +4 -0
  174. package/node_modules/@maka/runtime/dist/plugin-agent-service.js +5 -13
  175. package/node_modules/@maka/runtime/dist/plugin-attachment-service.js +5 -13
  176. package/node_modules/@maka/runtime/dist/plugin-composition-loader.js +26 -36
  177. package/node_modules/@maka/runtime/dist/plugin-data-services.js +9 -26
  178. package/node_modules/@maka/runtime/dist/plugin-fs-service.js +5 -13
  179. package/node_modules/@maka/runtime/dist/plugin-goal-service.js +5 -13
  180. package/node_modules/@maka/runtime/dist/plugin-internals.js +78 -0
  181. package/node_modules/@maka/runtime/dist/plugin-llm-service.js +5 -13
  182. package/node_modules/@maka/runtime/dist/plugin-runtime.js +4 -32
  183. package/node_modules/@maka/runtime/dist/plugin-session-query-service.js +5 -13
  184. package/node_modules/@maka/runtime/dist/plugin-shell-service.js +5 -13
  185. package/node_modules/@maka/runtime/dist/plugin-web-service.js +5 -13
  186. package/node_modules/@maka/runtime/dist/stream-graph-coordinator.js +3 -3
  187. package/node_modules/@maka/runtime/dist/workers/filesystem-worker.js +161 -104
  188. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
  189. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
  190. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/core/request.js +23 -2
  191. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
  192. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  193. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
  194. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client.js +6 -2
  195. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/cache-handler.js +21 -5
  196. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/retry-handler.js +109 -23
  197. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/cache.js +20 -1
  198. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/decompress.js +338 -46
  199. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/dump.js +10 -23
  200. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
  201. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/connection.js +19 -9
  202. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  203. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  204. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/package.json +1 -1
  205. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/package.json +1 -1
  206. package/node_modules/@maka/runtime/node_modules/undici/README.md +10 -1
  207. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Agent.md +8 -8
  208. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  209. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  210. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Errors.md +25 -0
  211. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  212. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
  213. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Pool.md +5 -6
  214. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/index.md +10 -1
  215. package/node_modules/@maka/runtime/node_modules/undici/lib/api/readable.js +1 -2
  216. package/node_modules/@maka/runtime/node_modules/undici/lib/core/request.js +23 -2
  217. package/node_modules/@maka/runtime/node_modules/undici/lib/core/util.js +0 -39
  218. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
  219. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
  220. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client.js +6 -1
  221. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
  222. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  223. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool.js +90 -7
  224. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
  225. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
  226. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/redirect-handler.js +5 -0
  227. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/retry-handler.js +72 -13
  228. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/cache.js +4 -1
  229. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/decompress.js +236 -69
  230. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cache.js +17 -8
  231. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  232. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/index.js +19 -7
  233. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/util.js +3 -1
  234. package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
  235. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/body.js +22 -15
  236. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  237. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  238. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/headers.js +34 -31
  239. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/index.js +46 -25
  240. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/request.js +74 -79
  241. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/response.js +43 -44
  242. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/util.js +7 -7
  243. package/node_modules/@maka/runtime/node_modules/undici/lib/web/infra/index.js +16 -1
  244. package/node_modules/@maka/runtime/node_modules/undici/lib/web/webidl/index.js +2 -14
  245. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/connection.js +33 -12
  246. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/events.js +43 -26
  247. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  248. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  249. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
  250. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  251. package/node_modules/@maka/runtime/node_modules/undici/package.json +1 -1
  252. package/node_modules/@maka/runtime/package.json +11 -11
  253. package/node_modules/@maka/runtime-host/dist/adapter/session-projector.js +3 -7
  254. package/node_modules/@maka/runtime-host/dist/candidate-cli.js +7 -7
  255. package/node_modules/@maka/runtime-host/dist/protocol/turn.js +20 -8
  256. package/node_modules/@maka/runtime-host/dist/server/message-coordinator.js +107 -63
  257. package/node_modules/@maka/runtime-host/dist/server/root-turn-coordinator.js +1 -3
  258. package/node_modules/@maka/runtime-host/dist/server/session-continuity-coordinator.js +51 -16
  259. package/node_modules/@maka/runtime-host/package.json +2 -2
  260. package/node_modules/@maka/storage/dist/project-catalog.js +13 -20
  261. package/node_modules/@modelcontextprotocol/client/dist/index-BCtJi0p5.d.mts.map +1 -0
  262. package/node_modules/@modelcontextprotocol/client/dist/index-CEk3qkZM.d.cts.map +1 -0
  263. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +375 -60
  264. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -1
  265. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -1
  266. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +369 -61
  267. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +1 -1
  268. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +1 -1
  269. package/node_modules/@modelcontextprotocol/client/dist/{src-NAgB4Mp8.cjs → src-D0qEN74R.cjs} +111 -38
  270. package/node_modules/@modelcontextprotocol/client/dist/{src-D_zzAWoS.mjs → src-DDAAhLnO.mjs} +106 -33
  271. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +8 -2
  272. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -1
  273. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -1
  274. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +8 -2
  275. package/node_modules/@modelcontextprotocol/{core/dist/auth-hYtaIUZm.d.cts.map → client/node_modules/@modelcontextprotocol/core/dist/auth--n_Yzytt.d.cts.map} +1 -1
  276. package/node_modules/@modelcontextprotocol/{core/dist/auth-CfDMXiII.cjs → client/node_modules/@modelcontextprotocol/core/dist/auth-4-zilcqg.cjs} +3 -2
  277. package/node_modules/@modelcontextprotocol/{core/dist/auth-CUe6YdwF.mjs → client/node_modules/@modelcontextprotocol/core/dist/auth-CGP0BDVq.mjs} +3 -2
  278. package/node_modules/@modelcontextprotocol/{core/dist/auth-BWdKR39I.d.mts.map → client/node_modules/@modelcontextprotocol/core/dist/auth-YUQV3RRv.d.mts.map} +1 -1
  279. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/index.cjs +1 -1
  280. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/index.mjs +1 -1
  281. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.cjs +1 -1
  282. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.mjs +1 -1
  283. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/package.json +1 -1
  284. package/node_modules/@modelcontextprotocol/client/package.json +4 -4
  285. package/node_modules/@types/node/README.md +2 -2
  286. package/node_modules/@types/node/package.json +2 -17
  287. package/node_modules/{@maka/runtime/node_modules/ai → ai}/CHANGELOG.md +311 -0
  288. package/node_modules/{@maka/runtime/node_modules/ai → ai}/README.md +6 -6
  289. package/node_modules/{@maka/runtime/node_modules/ai → ai}/dist/index.js +4830 -1974
  290. package/node_modules/{@maka/runtime/node_modules/ai → ai}/dist/internal/index.js +694 -332
  291. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/00-introduction/index.mdx +1 -1
  292. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/02-providers-and-models.mdx +5 -0
  293. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/03-prompts.mdx +1 -1
  294. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/04-tools.mdx +2 -2
  295. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/06-provider-options.mdx +11 -11
  296. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/00-choosing-a-provider.mdx +4 -4
  297. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/02-nextjs-app-router.mdx +3 -3
  298. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/03-nextjs-pages-router.mdx +4 -4
  299. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/04-svelte.mdx +7 -7
  300. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/05-nuxt.mdx +8 -8
  301. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/06-nodejs.mdx +3 -3
  302. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/07-expo.mdx +10 -3
  303. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/08-tanstack-start.mdx +3 -3
  304. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/09-coding-agents.mdx +1 -1
  305. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/02-building-agents.mdx +2 -2
  306. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/03-workflows.mdx +2 -2
  307. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/04-loop-control.mdx +1 -1
  308. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/05-configuring-call-options.mdx +4 -2
  309. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-memory.mdx +2 -2
  310. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-policy-tool-approvals.mdx +2 -2
  311. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-tool-approvals.mdx +16 -0
  312. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/07-workflow-agent.mdx +12 -12
  313. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/08-terminal-ui.mdx +14 -10
  314. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/05-generating-text.mdx +2 -2
  315. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +6 -1
  316. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/16-mcp-tools.mdx +31 -0
  317. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/17-mcp-apps.mdx +2 -2
  318. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/18-code-mode.mdx +50 -0
  319. package/node_modules/ai/docs/03-ai-sdk-core/19-tool-search.mdx +82 -0
  320. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/20-prompt-engineering.mdx +1 -1
  321. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/26-reasoning.mdx +15 -14
  322. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/31-reranking.mdx +12 -10
  323. package/node_modules/ai/docs/03-ai-sdk-core/32-evaluation.mdx +287 -0
  324. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/35-image-generation.mdx +40 -2
  325. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/36-realtime.mdx +41 -18
  326. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/36-transcription.mdx +1 -0
  327. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/37-speech.mdx +8 -6
  328. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/39-file-uploads.mdx +1 -1
  329. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/40-middleware.mdx +92 -7
  330. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/41-skill-uploads.mdx +1 -1
  331. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/42-batch.mdx +2 -3
  332. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/45-provider-management.mdx +31 -21
  333. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/55-testing.mdx +75 -0
  334. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/60-telemetry.mdx +57 -4
  335. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/65-devtools.mdx +3 -3
  336. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/65-lifecycle-callbacks.mdx +132 -7
  337. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/index.mdx +6 -0
  338. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/01-overview.mdx +3 -2
  339. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +151 -112
  340. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/03-tools.mdx +47 -22
  341. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/04-skills.mdx +0 -4
  342. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +3 -3
  343. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/06-workflow-utilities.mdx +43 -9
  344. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/07-ui.mdx +33 -30
  345. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/08-terminal-ui.mdx +8 -6
  346. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/01-overview.mdx +1 -1
  347. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/02-chatbot.mdx +47 -21
  348. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +46 -3
  349. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +11 -4
  350. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +10 -1
  351. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/05-completion.mdx +1 -1
  352. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/08-object-generation.mdx +4 -1
  353. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/21-error-handling.mdx +28 -2
  354. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/21-transport.mdx +1 -1
  355. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +5 -5
  356. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +2 -2
  357. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/06-loading-state.mdx +1 -1
  358. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +3 -3
  359. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/02-stopping-streams.mdx +8 -0
  360. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/04-caching.mdx +2 -1
  361. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/11-secure-url-fetching.mdx +47 -2
  362. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +13 -4
  363. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +16 -7
  364. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +5 -5
  365. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +1 -1
  366. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +3 -3
  367. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-evaluate.mdx +74 -0
  368. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +4 -2
  369. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/20-start-batch.mdx +1 -1
  370. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/20-tool.mdx +7 -0
  371. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +7 -0
  372. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-tool-search.mdx +76 -0
  373. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +30 -0
  374. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +12 -0
  375. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +19 -1
  376. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +22 -4
  377. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +1 -1
  378. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +17 -2
  379. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/index.mdx +6 -0
  380. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +1 -1
  381. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +4 -1
  382. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +563 -0
  383. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +12 -0
  384. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +9 -3
  385. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +3 -3
  386. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +2 -1
  387. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +1 -1
  388. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +1 -1
  389. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +8 -8
  390. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +4 -4
  391. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +4 -0
  392. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-evaluation-unsupported-question-type-error.mdx +31 -0
  393. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +4 -0
  394. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +4 -0
  395. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +6 -2
  396. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +138 -0
  397. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/06-ai-sdk-tui/01-run-agent-tui.mdx +13 -9
  398. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/29-migration-guide-4-0.mdx +5 -5
  399. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/37-migration-guide-3-3.mdx +1 -1
  400. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +3 -3
  401. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +2 -2
  402. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +1 -1
  403. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +2 -2
  404. package/node_modules/{@maka/runtime/node_modules/ai → ai}/package.json +13 -13
  405. package/node_modules/image-dimensions/cli.js +18 -3
  406. package/node_modules/image-dimensions/index.js +7 -5
  407. package/node_modules/image-dimensions/package.json +4 -1
  408. package/node_modules/image-dimensions/readme.md +2 -1
  409. package/node_modules/image-dimensions/types/avif.js +2 -24
  410. package/node_modules/image-dimensions/types/heic.js +2 -24
  411. package/node_modules/image-dimensions/types/jpeg.js +28 -7
  412. package/node_modules/image-dimensions/types/png.js +13 -2
  413. package/node_modules/image-dimensions/types/webp.js +20 -36
  414. package/node_modules/image-dimensions/utilities.js +184 -60
  415. package/node_modules/ip-address/README.md +145 -135
  416. package/node_modules/ip-address/dist/common.js +48 -0
  417. package/node_modules/ip-address/dist/ipv4.js +117 -11
  418. package/node_modules/ip-address/dist/ipv6.js +162 -48
  419. package/node_modules/ip-address/dist/v4/constants.js +40 -1
  420. package/node_modules/ip-address/dist/v6/constants.js +47 -1
  421. package/node_modules/ip-address/package.json +1 -1
  422. package/node_modules/marked/README.md +1 -0
  423. package/node_modules/marked/lib/marked.esm.js +30 -29
  424. package/node_modules/marked/lib/marked.umd.js +30 -29
  425. package/node_modules/marked/man/marked.1 +1 -1
  426. package/node_modules/marked/package.json +11 -11
  427. package/node_modules/systeminformation/lib/battery.js +32 -11
  428. package/node_modules/systeminformation/lib/cpu.js +23 -23
  429. package/node_modules/systeminformation/lib/filesystem.js +14 -8
  430. package/node_modules/systeminformation/lib/memory.js +3 -5
  431. package/node_modules/systeminformation/lib/network.js +8 -2
  432. package/node_modules/systeminformation/lib/osinfo.js +17 -3
  433. package/node_modules/systeminformation/lib/util.js +7 -0
  434. package/node_modules/systeminformation/package.json +1 -1
  435. package/node_modules/undici/README.md +10 -1
  436. package/node_modules/undici/docs/docs/api/Agent.md +8 -8
  437. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  438. package/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  439. package/node_modules/undici/docs/docs/api/Errors.md +25 -0
  440. package/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  441. package/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
  442. package/node_modules/undici/docs/docs/api/Pool.md +5 -6
  443. package/node_modules/undici/docs/docs/index.md +10 -1
  444. package/node_modules/undici/lib/api/readable.js +1 -2
  445. package/node_modules/undici/lib/core/request.js +23 -2
  446. package/node_modules/undici/lib/core/util.js +0 -39
  447. package/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
  448. package/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
  449. package/node_modules/undici/lib/dispatcher/client.js +6 -1
  450. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
  451. package/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  452. package/node_modules/undici/lib/dispatcher/pool.js +90 -7
  453. package/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
  454. package/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
  455. package/node_modules/undici/lib/handler/redirect-handler.js +5 -0
  456. package/node_modules/undici/lib/handler/retry-handler.js +72 -13
  457. package/node_modules/undici/lib/interceptor/cache.js +4 -1
  458. package/node_modules/undici/lib/interceptor/decompress.js +236 -69
  459. package/node_modules/undici/lib/web/cache/cache.js +17 -8
  460. package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  461. package/node_modules/undici/lib/web/cookies/index.js +19 -7
  462. package/node_modules/undici/lib/web/cookies/util.js +3 -1
  463. package/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
  464. package/node_modules/undici/lib/web/fetch/body.js +22 -15
  465. package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  466. package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  467. package/node_modules/undici/lib/web/fetch/headers.js +34 -31
  468. package/node_modules/undici/lib/web/fetch/index.js +46 -25
  469. package/node_modules/undici/lib/web/fetch/request.js +74 -79
  470. package/node_modules/undici/lib/web/fetch/response.js +43 -44
  471. package/node_modules/undici/lib/web/fetch/util.js +7 -7
  472. package/node_modules/undici/lib/web/infra/index.js +16 -1
  473. package/node_modules/undici/lib/web/webidl/index.js +2 -14
  474. package/node_modules/undici/lib/web/websocket/connection.js +33 -12
  475. package/node_modules/undici/lib/web/websocket/events.js +43 -26
  476. package/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  477. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  478. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
  479. package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  480. package/node_modules/undici/package.json +1 -1
  481. package/package.json +4 -4
  482. package/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  483. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  484. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/README.md +0 -1
  485. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/package.json +0 -63
  486. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  487. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/README.md +0 -1
  488. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  489. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/package.json +0 -63
  490. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  491. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/README.md +0 -1
  492. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  493. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/package.json +0 -63
  494. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  495. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/LICENSE +0 -13
  496. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/README.md +0 -1
  497. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  498. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/package.json +0 -63
  499. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  500. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/LICENSE +0 -13
  501. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/README.md +0 -1
  502. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  503. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/package.json +0 -63
  504. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  505. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/LICENSE +0 -13
  506. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/README.md +0 -1
  507. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  508. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +0 -63
  509. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-modifiers.c +0 -70
  510. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-console-mode.node +0 -0
  511. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node +0 -0
  512. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-console-mode.c +0 -119
  513. package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/LICENSE +0 -13
  514. package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/dist/code-mode-tool.js +0 -40
  515. package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/LICENSE +0 -13
  516. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  517. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/LICENSE +0 -13
  518. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/README.md +0 -1
  519. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  520. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/package.json +0 -63
  521. package/node_modules/@maka/runtime/node_modules/ai/LICENSE +0 -13
  522. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +0 -247
  523. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +0 -43
  524. package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts.map +0 -1
  525. package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts.map +0 -1
  526. /package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → code-mode}/LICENSE +0 -0
  527. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/README.md +0 -0
  528. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/approval.js +0 -0
  529. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/continuation-capability.js +0 -0
  530. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/direct-tool-call.js +0 -0
  531. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/host-interrupt.js +0 -0
  532. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/index.js +0 -0
  533. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/run-code-mode.js +0 -0
  534. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/tool-invocation.js +0 -0
  535. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/types.js +0 -0
  536. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/utils/serialization.js +0 -0
  537. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/src/tsconfig.json +0 -0
  538. /package/node_modules/@ai-sdk/{cohere/node_modules/@ai-sdk/provider → gateway}/LICENSE +0 -0
  539. /package/node_modules/@ai-sdk/{google/node_modules/@ai-sdk/provider → provider}/LICENSE +0 -0
  540. /package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → provider}/README.md +0 -0
  541. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/LICENSE +0 -0
  542. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/README.md +0 -0
  543. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.cts.map +0 -0
  544. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.mts.map +0 -0
  545. /package/node_modules/{@ai-sdk/open-responses/node_modules/@ai-sdk/provider → ai}/LICENSE +0 -0
  546. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/01-overview.mdx +0 -0
  547. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/05-streaming.mdx +0 -0
  548. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/index.mdx +0 -0
  549. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/01-navigating-the-library.mdx +0 -0
  550. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/index.mdx +0 -0
  551. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/01-overview.mdx +0 -0
  552. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-subagents.mdx +0 -0
  553. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/index.mdx +0 -0
  554. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/01-overview.mdx +0 -0
  555. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/10-generating-structured-data.mdx +0 -0
  556. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/17-runtime-and-tool-context.mdx +0 -0
  557. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/25-settings.mdx +0 -0
  558. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/30-embeddings.mdx +0 -0
  559. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/36-translation.mdx +0 -0
  560. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/38-video-generation.mdx +0 -0
  561. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/50-error-handling.mdx +0 -0
  562. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/index.mdx +0 -0
  563. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/04-generative-user-interfaces.mdx +0 -0
  564. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/20-streaming-data.mdx +0 -0
  565. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/24-reading-ui-message-streams.mdx +0 -0
  566. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/25-message-metadata.mdx +0 -0
  567. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/50-stream-protocol.mdx +0 -0
  568. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/index.mdx +0 -0
  569. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/01-overview.mdx +0 -0
  570. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/03-generative-ui-state.mdx +0 -0
  571. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/03-saving-and-restoring-states.mdx +0 -0
  572. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/05-streaming-values.mdx +0 -0
  573. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/08-error-handling.mdx +0 -0
  574. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/09-authentication.mdx +0 -0
  575. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/index.mdx +0 -0
  576. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/01-prompt-engineering.mdx +0 -0
  577. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/03-backpressure.mdx +0 -0
  578. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/05-multiple-streamables.mdx +0 -0
  579. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/06-rate-limiting.mdx +0 -0
  580. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/07-rendering-ui-with-language-models.mdx +0 -0
  581. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/08-model-as-router.mdx +0 -0
  582. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/09-multistep-interfaces.mdx +0 -0
  583. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/09-sequential-generations.mdx +0 -0
  584. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/10-vercel-deployment-guide.mdx +0 -0
  585. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/index.mdx +0 -0
  586. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/05-embed.mdx +0 -0
  587. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +0 -0
  588. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +0 -0
  589. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/11-stream-transcribe.mdx +0 -0
  590. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/11-stream-translate.mdx +0 -0
  591. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/13-generate-video.mdx +0 -0
  592. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +0 -0
  593. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/14-upload-skill.mdx +0 -0
  594. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/15-agent.mdx +0 -0
  595. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/17-create-agent-ui-stream.mdx +0 -0
  596. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/18-create-agent-ui-stream-response.mdx +0 -0
  597. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/18-pipe-agent-ui-stream-to-response.mdx +0 -0
  598. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/21-get-batch-status.mdx +0 -0
  599. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/22-get-batch-results.mdx +0 -0
  600. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/23-cancel-batch.mdx +0 -0
  601. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +0 -0
  602. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/23-get-realtime-tool-definitions.mdx +0 -0
  603. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/24-list-batches.mdx +0 -0
  604. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/24-mcp-apps.mdx +0 -0
  605. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/24-mcp-stdio-transport.mdx +0 -0
  606. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/25-json-schema.mdx +0 -0
  607. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/26-zod-schema.mdx +0 -0
  608. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/27-valibot-schema.mdx +0 -0
  609. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/28-output.mdx +0 -0
  610. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/29-filter-active-tools.mdx +0 -0
  611. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/30-model-message.mdx +0 -0
  612. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +0 -0
  613. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/34-sandbox.mdx +0 -0
  614. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/50-cosine-similarity.mdx +0 -0
  615. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/65-language-model-v2-middleware.mdx +0 -0
  616. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/66-extract-reasoning-middleware.mdx +0 -0
  617. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/67-simulate-streaming-middleware.mdx +0 -0
  618. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/68-default-instructions-middleware.mdx +0 -0
  619. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/68-default-settings-middleware.mdx +0 -0
  620. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/69-add-tool-input-examples-middleware.mdx +0 -0
  621. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/70-extract-json-middleware.mdx +0 -0
  622. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/70-is-step-count.mdx +0 -0
  623. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/71-has-tool-call.mdx +0 -0
  624. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/72-loop-finished.mdx +0 -0
  625. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/75-simulate-readable-stream.mdx +0 -0
  626. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +0 -0
  627. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/90-generate-id.mdx +0 -0
  628. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/91-create-id-generator.mdx +0 -0
  629. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/92-default-generated-file.mdx +0 -0
  630. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/02-use-completion.mdx +0 -0
  631. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/32-prune-messages.mdx +0 -0
  632. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +0 -0
  633. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/42-pipe-ui-message-stream-to-response.mdx +0 -0
  634. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/43-read-ui-message-stream.mdx +0 -0
  635. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/46-infer-ui-tools.mdx +0 -0
  636. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/47-infer-ui-tool.mdx +0 -0
  637. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/48-mcp-app-renderer.mdx +0 -0
  638. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/index.mdx +0 -0
  639. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/04-create-streamable-value.mdx +0 -0
  640. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/05-read-streamable-value.mdx +0 -0
  641. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/06-get-ai-state.mdx +0 -0
  642. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/07-get-mutable-ai-state.mdx +0 -0
  643. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/08-use-ai-state.mdx +0 -0
  644. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/09-use-actions.mdx +0 -0
  645. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/10-use-ui-state.mdx +0 -0
  646. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/11-use-streamable-value.mdx +0 -0
  647. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/20-render.mdx +0 -0
  648. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/index.mdx +0 -0
  649. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/03-generate-video.mdx +0 -0
  650. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/index.mdx +0 -0
  651. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-download-error.mdx +0 -0
  652. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-empty-response-body-error.mdx +0 -0
  653. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +0 -0
  654. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-data-content-error.mdx +0 -0
  655. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-message-role-error.mdx +0 -0
  656. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-prompt-error.mdx +0 -0
  657. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-response-data-error.mdx +0 -0
  658. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-error.mdx +0 -0
  659. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-signature-error.mdx +0 -0
  660. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-input-error.mdx +0 -0
  661. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-json-parse-error.mdx +0 -0
  662. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-load-api-key-error.mdx +0 -0
  663. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-load-setting-error.mdx +0 -0
  664. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-message-conversion-error.mdx +0 -0
  665. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-content-generated-error.mdx +0 -0
  666. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +0 -0
  667. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-object-generated-error.mdx +0 -0
  668. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-output-generated-error.mdx +0 -0
  669. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-speech-generated-error.mdx +0 -0
  670. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-reference-error.mdx +0 -0
  671. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-tool-error.mdx +0 -0
  672. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-transcript-generated-error.mdx +0 -0
  673. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-translation-generated-error.mdx +0 -0
  674. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-video-generated-error.mdx +0 -0
  675. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-retry-error.mdx +0 -0
  676. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-stream-provider-error.mdx +0 -0
  677. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-too-many-embedding-values-for-call-error.mdx +0 -0
  678. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-call-not-found-for-approval-error.mdx +0 -0
  679. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-call-repair-error.mdx +0 -0
  680. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-choice-violation-error.mdx +0 -0
  681. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-type-validation-error.mdx +0 -0
  682. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-unsupported-functionality-error.mdx +0 -0
  683. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/06-ai-sdk-tui/index.mdx +0 -0
  684. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/index.mdx +0 -0
  685. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/00-versioning.mdx +0 -0
  686. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/23-migration-guide-7-0.mdx +0 -0
  687. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/24-migration-guide-6-0.mdx +0 -0
  688. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/25-migration-guide-5-0-data.mdx +0 -0
  689. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/26-migration-guide-5-0.mdx +0 -0
  690. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/27-migration-guide-4-2.mdx +0 -0
  691. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/28-migration-guide-4-1.mdx +0 -0
  692. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/36-migration-guide-3-4.mdx +0 -0
  693. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/38-migration-guide-3-2.mdx +0 -0
  694. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/39-migration-guide-3-1.mdx +0 -0
  695. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/index.mdx +0 -0
  696. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/01-azure-stream-slow.mdx +0 -0
  697. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/03-server-actions-in-client-components.mdx +0 -0
  698. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/04-strange-stream-output.mdx +0 -0
  699. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/05-streamable-ui-errors.mdx +0 -0
  700. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/05-tool-invocation-missing-result.mdx +0 -0
  701. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/06-streaming-not-working-when-deployed.mdx +0 -0
  702. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/06-streaming-not-working-when-proxied.mdx +0 -0
  703. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/06-timeout-on-vercel.mdx +0 -0
  704. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/07-unclosed-streams.mdx +0 -0
  705. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/08-use-chat-failed-to-parse-stream.mdx +0 -0
  706. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/09-client-stream-error.mdx +0 -0
  707. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/10-use-chat-tools-no-response.mdx +0 -0
  708. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/12-typescript-performance-zod.mdx +0 -0
  709. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/12-use-chat-an-error-occurred.mdx +0 -0
  710. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/14-stream-abort-handling.mdx +0 -0
  711. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/14-tool-calling-with-structured-outputs.mdx +0 -0
  712. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/15-abort-breaks-resumable-streams.mdx +0 -0
  713. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/15-stream-text-not-working.mdx +0 -0
  714. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/16-streaming-status-delay.mdx +0 -0
  715. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/18-ontoolcall-type-narrowing.mdx +0 -0
  716. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/19-unsupported-model-version.mdx +0 -0
  717. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/20-no-object-generated-content-filter.mdx +0 -0
  718. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/21-missing-tool-results-error.mdx +0 -0
  719. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/30-model-is-not-assignable-to-type.mdx +0 -0
  720. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/40-typescript-cannot-find-namespace-jsx.mdx +0 -0
  721. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/50-react-maximum-update-depth-exceeded.mdx +0 -0
  722. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/60-jest-cannot-find-module-ai-rsc.mdx +0 -0
  723. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/index.mdx +0 -0
@@ -1,1262 +0,0 @@
1
- # @ai-sdk/provider
2
-
3
- ## 4.0.14
4
-
5
- ### Patch Changes
6
-
7
- - 5ec21a6: fix: reject unsupported batch request types
8
- - 7469a3b: feat: support image generation requests in batches
9
-
10
- ## 4.0.13
11
-
12
- ### Patch Changes
13
-
14
- - 9942196: feat: add batch cancel and list APIs
15
-
16
- ## 4.0.12
17
-
18
- ### Patch Changes
19
-
20
- - 912fb01: feat: add batch cancel and list APIs
21
-
22
- ## 4.0.11
23
-
24
- ### Patch Changes
25
-
26
- - a4ba394: feat: support per-request models in batch
27
- - 45099da: Retry unclassified empty image results, preserve retry-attempt accounting, add provider-independent result retryability classification, and mark Google and Google Vertex prompt blocks as terminal.
28
-
29
- ## 4.0.10
30
-
31
- ### Patch Changes
32
-
33
- - 5190b67: feat(provider): extend the FilesV4 interface with optional `getFileMetadata`, `downloadFile` (streaming), and `deleteFile` operations, plus `abortSignal`/`headers` call options and a `{ type: 'stream' }` upload data variant; upload results now expose `byteSize`, `createdAt`, and `expiresAt` (also surfaced by the core `uploadFile()` helper, which now forwards `abortSignal`/`headers`); add `postMultipartStreamToApi` (streaming multipart uploads with deterministic part ordering and failure-path stream teardown), `deleteFromApi`, and `createBinaryStreamResponseHandler` to provider-utils
34
-
35
- ## 4.0.9
36
-
37
- ### Patch Changes
38
-
39
- - aa45741: fix(provider/anthropic): preserve native message batch request counts in provider metadata and support the full language-model option surface in batch requests
40
-
41
- ## 4.0.8
42
-
43
- ### Patch Changes
44
-
45
- - 591d25b: feat: add batch completion webhooks. `experimental_startTextBatch` accepts a `webhookUrl`, and the gateway provider registers it through the batch `callbackUrl` contract and exports typed async-job metadata. Direct Anthropic and OpenAI batch providers return an unsupported warning when the option is provided.
46
-
47
- ## 4.0.7
48
-
49
- ### Patch Changes
50
-
51
- - ad6a650: feat(video): allow `aspectRatio: 'adaptive'` on `generateVideo`
52
-
53
- Some video models derive the output ratio from the input and reject explicit
54
- `{width}:{height}` values — BytePlus Seedance 2.5 does this for first-frame,
55
- first-and-last-frame, editing, and extension tasks. `aspectRatio` on
56
- `VideoModelV3CallOptions`, `VideoModelV4CallOptions`, and
57
- `experimental_generateVideo` is now `` `${number}:${number}` | 'adaptive' ``, so
58
- those calls no longer need a type assertion. Support is provider-specific.
59
-
60
- ## 4.0.6
61
-
62
- ### Patch Changes
63
-
64
- - 3469d0c: feat: add batch APIs
65
-
66
- ## 4.0.5
67
-
68
- ### Patch Changes
69
-
70
- - 79e133c: async APIs for generateVideo (poll, webhook)
71
-
72
- Adds an asynchronous start/status flow to the experimental video model
73
- interface (`VideoModelV4`): models may now implement `doStart`, `doStatus`,
74
- and `handleWebhookOption` instead of (or in addition to) `doGenerate`, and
75
- `experimental_generateVideo` accepts `poll` and `webhook` options to
76
- orchestrate completion via polling or webhooks. Polling configuration can use
77
- a custom delay implementation for durable workflow compatibility.
78
-
79
- ## 4.0.4
80
-
81
- ### Patch Changes
82
-
83
- - 1e2f324: feat: add experimental speech translation model specification (`Experimental_SpeechTranslationModelV4`) and `experimental_streamTranslate` for streaming speech-to-speech translation
84
-
85
- ## 4.0.3
86
-
87
- ### Patch Changes
88
-
89
- - 0f93c57: feat (video): support video (not just image) reference inputs in `inputReferences` for reference-to-video generation
90
-
91
- ## 4.0.2
92
-
93
- ### Patch Changes
94
-
95
- - 5c5c0f5: Add experimental streaming transcription support for transcription models, including OpenAI `gpt-realtime-whisper` and xAI WebSocket STT.
96
-
97
- ## 4.0.1
98
-
99
- ### Patch Changes
100
-
101
- - 0274f34: feat (video): add first-class `frameImages` and `inputReferences` call options for video generation
102
-
103
- ## 4.0.0
104
-
105
- ### Major Changes
106
-
107
- - f7d4f01: feat(provider): add support for `reasoning-file` type for files that are part of reasoning
108
- - 776b617: feat(provider): adding new 'custom' content type
109
- - 34bd95d: feat(ai): add support for uploading provider skills using the provider references abstraction
110
- - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
111
- - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
112
- - 3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in `generateText` and `streamText`
113
- - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
114
- - 8359612: Start v7 pre-release
115
- - 5463d0d: feat(provider): align tool result output content file part types with top-level message file part types
116
-
117
- ### Patch Changes
118
-
119
- - 1f509d4: fix(ai): force template check on 'kind' param
120
- - 176466a: chore(provider): align V4 model return types to have their own definitions across all model interfaces
121
- - 5c2a5a2: fix(provider): fix v4 spec to not use shared v3 types
122
- - 9f0e36c: trigger release for all packages after provenance setup
123
- - 008271d: feat(openai-compatible): emit warning when using kebab-case instead of camelCase
124
- - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
125
- - 0c4c275: trigger initial canary release
126
- - 6fd51c0: fix(provider): preserve error type prefix in getErrorMessage
127
- - ce769dd: feat(provider): add experimental Realtime API support for voice conversations
128
-
129
- Adds first-class support for realtime (speech-to-speech) APIs:
130
-
131
- - `Experimental_RealtimeModelV4` spec in `@ai-sdk/provider` with normalized event types and factory
132
- - OpenAI, Google, and xAI realtime provider implementations
133
- - `openai.experimental_realtime()` / `google.experimental_realtime()` / `xai.experimental_realtime()` work in both server and browser
134
- - `.getToken()` static method on each provider for server-side ephemeral token creation
135
- - `experimental_getRealtimeToolDefinitions` helper for provider session tool definitions
136
- - `experimental_useRealtime` hook in `@ai-sdk/react` returning `UIMessage[]` (aligned with `useChat`), with `onToolCall` and `addToolOutput` for client-driven tool execution
137
- - `inputAudioTranscription` session config for showing transcribed user audio messages when supported by the provider
138
-
139
- - e311194: feat(ai): allow passing provider instance to `uploadFile` and `uploadSkill` as shorthand
140
- - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
141
- - b8396f0: trigger initial beta release
142
- - 0416e3e: feat (video): add first-class `generateAudio` call option
143
- - ff5eba1: feat: roll `image-*` tool output types into their equivalent `file-*` types
144
-
145
- ## 4.0.0-beta.20
146
-
147
- ### Patch Changes
148
-
149
- - 0416e3e: feat (video): add first-class `generateAudio` call option
150
-
151
- ## 4.0.0-beta.19
152
-
153
- ### Patch Changes
154
-
155
- - b8396f0: trigger initial beta release
156
-
157
- ## 4.0.0-canary.18
158
-
159
- ### Patch Changes
160
-
161
- - ce769dd: feat(provider): add experimental Realtime API support for voice conversations
162
-
163
- Adds first-class support for realtime (speech-to-speech) APIs:
164
-
165
- - `Experimental_RealtimeModelV4` spec in `@ai-sdk/provider` with normalized event types and factory
166
- - OpenAI, Google, and xAI realtime provider implementations
167
- - `openai.experimental_realtime()` / `google.experimental_realtime()` / `xai.experimental_realtime()` work in both server and browser
168
- - `.getToken()` static method on each provider for server-side ephemeral token creation
169
- - `experimental_getRealtimeToolDefinitions` helper for provider session tool definitions
170
- - `experimental_useRealtime` hook in `@ai-sdk/react` returning `UIMessage[]` (aligned with `useChat`), with `onToolCall` and `addToolOutput` for client-driven tool execution
171
- - `inputAudioTranscription` session config for showing transcribed user audio messages when supported by the provider
172
-
173
- ## 4.0.0-canary.17
174
-
175
- ### Patch Changes
176
-
177
- - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
178
-
179
- ## 4.0.0-canary.16
180
-
181
- ### Major Changes
182
-
183
- - 5463d0d: feat(provider): align tool result output content file part types with top-level message file part types
184
-
185
- ## 4.0.0-canary.15
186
-
187
- ### Patch Changes
188
-
189
- - 0c4c275: trigger initial canary release
190
-
191
- ## 4.0.0-beta.14
192
-
193
- ### Major Changes
194
-
195
- - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
196
-
197
- ### Patch Changes
198
-
199
- - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
200
-
201
- ## 4.0.0-beta.13
202
-
203
- ### Patch Changes
204
-
205
- - 9f0e36c: trigger release for all packages after provenance setup
206
-
207
- ## 4.0.0-beta.12
208
-
209
- ### Patch Changes
210
-
211
- - ff5eba1: feat: roll `image-*` tool output types into their equivalent `file-*` types
212
-
213
- ## 4.0.0-beta.11
214
-
215
- ### Major Changes
216
-
217
- - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
218
-
219
- ## 4.0.0-beta.10
220
-
221
- ### Patch Changes
222
-
223
- - 176466a: chore(provider): align V4 model return types to have their own definitions across all model interfaces
224
-
225
- ## 4.0.0-beta.9
226
-
227
- ### Patch Changes
228
-
229
- - e311194: feat(ai): allow passing provider instance to `uploadFile` and `uploadSkill` as shorthand
230
-
231
- ## 4.0.0-beta.8
232
-
233
- ### Patch Changes
234
-
235
- - 34bd95d: feat(ai): add support for uploading provider skills using the provider references abstraction
236
- - 008271d: feat(openai-compatible): emit warning when using kebab-case instead of camelCase
237
-
238
- ## 4.0.0-beta.7
239
-
240
- ### Patch Changes
241
-
242
- - 6fd51c0: fix(provider): preserve error type prefix in getErrorMessage
243
-
244
- ## 4.0.0-beta.6
245
-
246
- ### Patch Changes
247
-
248
- - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
249
-
250
- ## 4.0.0-beta.5
251
-
252
- ### Patch Changes
253
-
254
- - 1f509d4: fix(ai): force template check on 'kind' param
255
-
256
- ## 4.0.0-beta.4
257
-
258
- ### Patch Changes
259
-
260
- - 3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in `generateText` and `streamText`
261
-
262
- ## 4.0.0-beta.3
263
-
264
- ### Major Changes
265
-
266
- - 776b617: feat(provider): adding new 'custom' content type
267
-
268
- ## 4.0.0-beta.2
269
-
270
- ### Patch Changes
271
-
272
- - f7d4f01: feat(provider): add support for `reasoning-file` type for files that are part of reasoning
273
-
274
- ## 4.0.0-beta.1
275
-
276
- ### Patch Changes
277
-
278
- - 5c2a5a2: fix(provider): fix v4 spec to not use shared v3 types
279
-
280
- ## 4.0.0-beta.0
281
-
282
- ### Major Changes
283
-
284
- - 8359612: Start v7 pre-release
285
-
286
- ## 3.0.8
287
-
288
- ### Patch Changes
289
-
290
- - 7168375: feat (ai, provider): default global provider video model resolution
291
-
292
- ## 3.0.7
293
-
294
- ### Patch Changes
295
-
296
- - 53f6731: feat (ai, provider): experimental generate video support
297
-
298
- ## 3.0.6
299
-
300
- ### Patch Changes
301
-
302
- - 2810850: fix(ai): improve type validation error messages with field paths and entity identifiers
303
-
304
- ## 3.0.5
305
-
306
- ### Patch Changes
307
-
308
- - 4de5a1d: chore: excluded tests from src folder in npm package
309
-
310
- ## 3.0.4
311
-
312
- ### Patch Changes
313
-
314
- - 5c090e7: fix(ai): fix LanguageModelV2ProviderTool type
315
-
316
- ## 3.0.3
317
-
318
- ### Patch Changes
319
-
320
- - 1b11dcb: chore(ai): include sources in npm package
321
-
322
- ## 3.0.2
323
-
324
- ### Patch Changes
325
-
326
- - d937c8f: Add Image model middleware support via `wrapImageModel` and `ImageModelV3Middleware`.
327
-
328
- ## 3.0.1
329
-
330
- ### Patch Changes
331
-
332
- - 863d34f: fix: trigger release to update `@latest`
333
-
334
- ## 3.0.0
335
-
336
- ### Major Changes
337
-
338
- - dee8b05: ai SDK 6 beta
339
-
340
- ### Minor Changes
341
-
342
- - 78928cb: release: start 5.1 beta
343
-
344
- ### Patch Changes
345
-
346
- - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
347
- - 0adc679: feat(provider): shared spec v3
348
- - d1bdadb: Added reranking model
349
- - 046aa3b: feat(provider): speech model v3 spec
350
- - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
351
-
352
- Before
353
-
354
- ```ts
355
- model.textEmbeddingModel("my-model-id");
356
- ```
357
-
358
- After
359
-
360
- ```ts
361
- model.embeddingModel("my-model-id");
362
- ```
363
-
364
- - dce03c4: feat: tool input examples
365
- - 2625a04: feat(openai); update spec for mcp approval
366
- - 37c58a0: This release introduces `wrapEmbeddingModel`, a new helper that brings embedding model customization capabilities similar to `wrapLanguageModel`.
367
- - 2b0caef: feat(provider): add preliminary provider executed tool results to language model specification
368
- - 954c356: feat(openai): allow custom names for provider-defined tools
369
- - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
370
- - 0c4822d: feat: `EmbeddingModelV3`
371
- - 4c44a5b: fix(spec): allow `undefined` values in `JSONObject` type
372
- - e8109d3: feat: tool execution approval
373
- - ed329cb: feat: `Provider-V3`
374
- - 53f3368: feat(provider): support embedding model call warnings in specification
375
- - 3bd2689: feat: extended token usage
376
- - bb36798: fix(spec): `LanguageModelV3ToolResult["result"]` change from `unknown` to `NonNullable<JSONValue>`
377
- - 8dac895: feat: `LanguageModelV3`
378
- - a755db5: feat(provider): Add SharedV3Warning type
379
- - 475189e: chore(specification): rename EmbeddingModelCallOptions
380
- - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
381
- - b681d7d: feat: expose usage tokens for 'generateImage' function
382
- - db913bd: fix(google): add thought signature to gemini 3 pro image parts
383
- - 9061dc0: feat: image editing
384
- - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
385
- - 81d4308: feat: provider-executed dynamic tools
386
- - 9549c9e: chore(specification): extract types
387
- - af3780b: chore(provider): remove providerExecuted from LanguageModelV3ToolResult
388
- - 522f6b8: feat: `ImageModelV3`
389
- - 10d819b: fix(packages/provider): fix CallWarning and allow strings as type
390
- - 3794514: feat: flexible tool output content support
391
- - cbf52cd: feat: expose raw finish reason
392
- - 1bd7d32: feat: tool-specific strict mode
393
-
394
- ## 3.0.0-beta.32
395
-
396
- ### Patch Changes
397
-
398
- - 475189e: chore(specification): rename EmbeddingModelCallOptions
399
-
400
- ## 3.0.0-beta.31
401
-
402
- ### Patch Changes
403
-
404
- - 2625a04: feat(openai); update spec for mcp approval
405
-
406
- ## 3.0.0-beta.30
407
-
408
- ### Patch Changes
409
-
410
- - cbf52cd: feat: expose raw finish reason
411
-
412
- ## 3.0.0-beta.29
413
-
414
- ### Patch Changes
415
-
416
- - 9549c9e: chore(specification): extract types
417
-
418
- ## 3.0.0-beta.28
419
-
420
- ### Patch Changes
421
-
422
- - 9061dc0: feat: image editing
423
-
424
- ## 3.0.0-beta.27
425
-
426
- ### Patch Changes
427
-
428
- - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
429
-
430
- ## 3.0.0-beta.26
431
-
432
- ### Patch Changes
433
-
434
- - 3bd2689: feat: extended token usage
435
-
436
- ## 3.0.0-beta.25
437
-
438
- ### Patch Changes
439
-
440
- - 53f3368: feat(provider): support embedding model call warnings in specification
441
-
442
- ## 3.0.0-beta.24
443
-
444
- ### Patch Changes
445
-
446
- - dce03c4: feat: tool input examples
447
-
448
- ## 3.0.0-beta.23
449
-
450
- ### Patch Changes
451
-
452
- - 1bd7d32: feat: tool-specific strict mode
453
-
454
- ## 3.0.0-beta.22
455
-
456
- ### Patch Changes
457
-
458
- - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
459
-
460
- ## 3.0.0-beta.21
461
-
462
- ### Patch Changes
463
-
464
- - 954c356: feat(openai): allow custom names for provider-defined tools
465
-
466
- ## 3.0.0-beta.20
467
-
468
- ### Patch Changes
469
-
470
- - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
471
-
472
- ## 3.0.0-beta.19
473
-
474
- ### Patch Changes
475
-
476
- - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
477
-
478
- Before
479
-
480
- ```ts
481
- model.textEmbeddingModel("my-model-id");
482
- ```
483
-
484
- After
485
-
486
- ```ts
487
- model.embeddingModel("my-model-id");
488
- ```
489
-
490
- ## 3.0.0-beta.18
491
-
492
- ### Patch Changes
493
-
494
- - 10d819b: fix(packages/provider): fix CallWarning and allow strings as type
495
-
496
- ## 3.0.0-beta.17
497
-
498
- ### Patch Changes
499
-
500
- - db913bd: fix(google): add thought signature to gemini 3 pro image parts
501
-
502
- ## 3.0.0-beta.16
503
-
504
- ### Patch Changes
505
-
506
- - b681d7d: feat: expose usage tokens for 'generateImage' function
507
-
508
- ## 3.0.0-beta.15
509
-
510
- ### Patch Changes
511
-
512
- - bb36798: fix(spec): `LanguageModelV3ToolResult["result"]` change from `unknown` to `NonNullable<JSONValue>`
513
-
514
- ## 3.0.0-beta.14
515
-
516
- ### Patch Changes
517
-
518
- - af3780b: chore(provider): remove providerExecuted from LanguageModelV3ToolResult
519
-
520
- ## 3.0.0-beta.13
521
-
522
- ### Patch Changes
523
-
524
- - 37c58a0: This release introduces `wrapEmbeddingModel`, a new helper that brings embedding model customization capabilities similar to `wrapLanguageModel`.
525
-
526
- ## 3.0.0-beta.12
527
-
528
- ### Patch Changes
529
-
530
- - d1bdadb: Added reranking model
531
-
532
- ## 3.0.0-beta.11
533
-
534
- ### Patch Changes
535
-
536
- - 4c44a5b: fix(spec): allow `undefined` values in `JSONObject` type
537
-
538
- ## 3.0.0-beta.10
539
-
540
- ### Patch Changes
541
-
542
- - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
543
-
544
- ## 3.0.0-beta.9
545
-
546
- ### Patch Changes
547
-
548
- - a755db5: feat(provider): Add SharedV3Warning type
549
-
550
- ## 3.0.0-beta.8
551
-
552
- ### Patch Changes
553
-
554
- - 3794514: feat: flexible tool output content support
555
-
556
- ## 3.0.0-beta.7
557
-
558
- ### Patch Changes
559
-
560
- - 81d4308: feat: provider-executed dynamic tools
561
-
562
- ## 3.0.0-beta.6
563
-
564
- ### Major Changes
565
-
566
- - dee8b05: ai SDK 6 beta
567
-
568
- ## 2.1.0-beta.5
569
-
570
- ### Patch Changes
571
-
572
- - 046aa3b: feat(provider): speech model v3 spec
573
- - e8109d3: feat: tool execution approval
574
-
575
- ## 2.1.0-beta.4
576
-
577
- ### Patch Changes
578
-
579
- - 0adc679: feat(provider): shared spec v3
580
- - 2b0caef: feat(provider): add preliminary provider executed tool results to language model specification
581
-
582
- ## 2.1.0-beta.3
583
-
584
- ### Patch Changes
585
-
586
- - 8dac895: feat: `LanguageModelV3`
587
-
588
- ## 2.1.0-beta.2
589
-
590
- ### Patch Changes
591
-
592
- - ed329cb: feat: `Provider-V3`
593
- - 522f6b8: feat: `ImageModelV3`
594
-
595
- ## 2.1.0-beta.1
596
-
597
- ### Patch Changes
598
-
599
- - 0c4822d: feat: `EmbeddingModelV3`
600
-
601
- ## 2.1.0-beta.0
602
-
603
- ### Minor Changes
604
-
605
- - 78928cb: release: start 5.1 beta
606
-
607
- ## 2.0.0
608
-
609
- ### Major Changes
610
-
611
- - 742b7be: feat: forward id, streaming start, streaming end of content blocks
612
- - 7cddb72: refactoring (provider): collapse provider defined tools into single definition
613
- - ccce59b: feat (provider): support changing provider, model, supportedUrls in middleware
614
- - e2b9e4b: feat (provider): add name for provider defined tools for future validation
615
- - 95857aa: chore: restructure language model supported urls
616
- - 6f6bb89: chore (provider): cleanup request and rawRequest (language model v2)
617
- - d1a1aa1: chore (provider): merge rawRequest into request (language model v2)
618
- - 63f9e9b: chore (provider,ai): tools have input/output instead of args,result
619
- - d5f588f: AI SDK 5
620
- - b6b43c7: chore: move warnings into stream-start part (spec)
621
- - 411e483: chore (provider): refactor usage (language model v2)
622
- - abf9a79: chore: rename mimeType to mediaType
623
- - 14c9410: chore: refactor file towards source pattern (spec)
624
- - e86be6f: chore: remove logprobs
625
- - 0d06df6: chore (ai): remove v1 providers
626
- - d9c98f4: chore: refactor reasoning parts (spec)
627
- - a3f768e: chore: restructure reasoning support
628
- - 7435eb5: feat: upgrade speech models to v2 specification
629
- - 0054544: chore: refactor source parts (spec)
630
- - 9e9c809: chore: refactor tool call and tool call delta parts (spec)
631
- - 32831c6: chore: refactor text parts (spec)
632
- - 6dc848c: chore (provider): remove image parts
633
- - d0f9495: chore: refactor file parts (spec)
634
- - 7979f7f: feat (provider): support reasoning tokens, cached input tokens, total token in usage information
635
- - 44f4aba: feat: upgrade transcription models to v2 specification
636
- - 7ea4132: chore: remove object generation mode
637
- - 023ba40: feat (provider): support arbitrary media types in tool results
638
- - e030615: chore (provider): remove prompt type from language model v2 spec
639
- - 5e57fae: refactoring (provider): restructure tool result output
640
- - c57e248: chore (provider): remove mode
641
- - 3795467: chore: return content array from doGenerate (spec)
642
- - 1766ede: chore: rename maxTokens to maxOutputTokens
643
- - 33f4a6a: chore (provider): rename providerMetadata inputs to providerOptions
644
-
645
- ### Patch Changes
646
-
647
- - dc714f3: release alpha.4
648
- - b5da06a: update to LanguageModelV2ProviderDefinedClientTool to add server side tool later on
649
- - 48d257a: release alpha.15
650
- - 0d2c085: chore (provider): tweak provider definition
651
- - 9222aeb: release alpha.8
652
- - e2aceaf: feat: add raw chunk support
653
- - 7b3ae3f: chore (provider): change getSupportedUrls to supportedUrls (language model v2)
654
- - a166433: feat: add transcription with experimental_transcribe
655
- - 26735b5: chore(embedding-model): add v2 interface
656
- - 443d8ec: feat(embedding-model-v2): add response body field
657
- - a8c8bd5: feat(embed-many): respect supportsParallelCalls & concurrency
658
- - 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
659
- - 2e13791: feat(anthropic): add server-side web search support
660
- - 472524a: spec (ai): add provider options to tools
661
- - dd3ff01: chore: add language setting to speechv2
662
- - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
663
- - 0a87932: core (ai): change transcription model mimeType to mediaType
664
- - c4a2fec: chore (provider): extract shared provider options and metadata (spec)
665
- - 79457bd: chore (provider): extract LanguageModelV2File
666
- - 8aa9e20: feat: add speech with experimental_generateSpeech
667
- - 4617fab: chore(embedding-models): remove remaining settings
668
- - cb68df0: feat: add transcription and speech model support to provider registry
669
- - ad80501: chore (provider): allow both binary and base64 file content (spec)
670
-
671
- Before
672
-
673
- ```ts
674
- import { convertUint8ArrayToBase64 } from "@ai-sdk/provider-utils";
675
-
676
- // Had to manually convert binary data to base64
677
- const fileData = new Uint8Array([0, 1, 2, 3]);
678
- const filePart = {
679
- type: "file",
680
- mediaType: "application/pdf",
681
- data: convertUint8ArrayToBase64(fileData), // Required conversion
682
- };
683
- ```
684
-
685
- After
686
-
687
- ```ts
688
- // Can use binary data directly
689
- const fileData = new Uint8Array([0, 1, 2, 3]);
690
- const filePart = {
691
- type: "file",
692
- mediaType: "application/pdf",
693
- data: fileData, // Direct Uint8Array support
694
- };
695
- ```
696
-
697
- - 68ecf2f: release alpha.13
698
- - 6b98118: release alpha.3
699
- - 3f2f00c: feat: `ImageModelV2#maxImagesPerCall` can be set to a function that returns a `number` or `undefined`, optionally as a promise
700
-
701
- pull request: https://github.com/vercel/ai/pull/6343
702
-
703
- - 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (#5977)
704
-
705
- The `experimental_generateImage` method from the `ai` package now returnes revised prompts for OpenAI's image models.
706
-
707
- ```js
708
- const prompt = "Santa Claus driving a Cadillac";
709
-
710
- const { providerMetadata } = await experimental_generateImage({
711
- model: openai.image("dall-e-3"),
712
- prompt,
713
- });
714
-
715
- const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
716
-
717
- console.log({
718
- prompt,
719
- revisedPrompt,
720
- });
721
- ```
722
-
723
- - 5c56081: release alpha.7
724
- - fd65bc6: chore(embedding-model-v2): rename rawResponse to response
725
- - 26535e0: release alpha.2
726
- - 393138b: feat(embedding-model-v2): add providerOptions
727
- - 7182d14: Remove `Experimental_LanguageModelV2Middleware` type
728
- - c1e6647: release alpha.11
729
- - 811dff3: release alpha.9
730
- - f10304b: feat(tool-calling): don't require the user to have to pass parameters
731
- - 27deb4d: feat (provider/gateway): Add providerMetadata to embeddings response
732
- - c4df419: release alpha.10
733
-
734
- ## 2.0.0-beta.2
735
-
736
- ### Patch Changes
737
-
738
- - 27deb4d: feat (provider/gateway): Add providerMetadata to embeddings response
739
-
740
- ## 2.0.0-beta.1
741
-
742
- ### Major Changes
743
-
744
- - 742b7be: feat: forward id, streaming start, streaming end of content blocks
745
- - 7cddb72: refactoring (provider): collapse provider defined tools into single definition
746
- - ccce59b: feat (provider): support changing provider, model, supportedUrls in middleware
747
- - e2b9e4b: feat (provider): add name for provider defined tools for future validation
748
- - 0d06df6: chore (ai): remove v1 providers
749
- - 7435eb5: feat: upgrade speech models to v2 specification
750
- - 44f4aba: feat: upgrade transcription models to v2 specification
751
- - 023ba40: feat (provider): support arbitrary media types in tool results
752
- - 5e57fae: refactoring (provider): restructure tool result output
753
-
754
- ### Patch Changes
755
-
756
- - 472524a: spec (ai): add provider options to tools
757
- - dd3ff01: chore: add language setting to speechv2
758
- - cb68df0: feat: add transcription and speech model support to provider registry
759
-
760
- ## 2.0.0-alpha.15
761
-
762
- ### Patch Changes
763
-
764
- - 48d257a: release alpha.15
765
-
766
- ## 2.0.0-alpha.14
767
-
768
- ### Major Changes
769
-
770
- - 63f9e9b: chore (provider,ai): tools have input/output instead of args,result
771
-
772
- ### Patch Changes
773
-
774
- - b5da06a: update to LanguageModelV2ProviderDefinedClientTool to add server side tool later on
775
- - 2e13791: feat(anthropic): add server-side web search support
776
-
777
- ## 2.0.0-alpha.13
778
-
779
- ### Patch Changes
780
-
781
- - 68ecf2f: release alpha.13
782
-
783
- ## 2.0.0-alpha.12
784
-
785
- ### Patch Changes
786
-
787
- - e2aceaf: feat: add raw chunk support
788
-
789
- ## 2.0.0-alpha.11
790
-
791
- ### Patch Changes
792
-
793
- - c1e6647: release alpha.11
794
-
795
- ## 2.0.0-alpha.10
796
-
797
- ### Patch Changes
798
-
799
- - c4df419: release alpha.10
800
-
801
- ## 2.0.0-alpha.9
802
-
803
- ### Patch Changes
804
-
805
- - 811dff3: release alpha.9
806
-
807
- ## 2.0.0-alpha.8
808
-
809
- ### Patch Changes
810
-
811
- - 9222aeb: release alpha.8
812
-
813
- ## 2.0.0-alpha.7
814
-
815
- ### Patch Changes
816
-
817
- - 5c56081: release alpha.7
818
-
819
- ## 2.0.0-alpha.6
820
-
821
- ### Patch Changes
822
-
823
- - 0d2c085: chore (provider): tweak provider definition
824
-
825
- ## 2.0.0-alpha.4
826
-
827
- ### Patch Changes
828
-
829
- - dc714f3: release alpha.4
830
-
831
- ## 2.0.0-alpha.3
832
-
833
- ### Patch Changes
834
-
835
- - 6b98118: release alpha.3
836
-
837
- ## 2.0.0-alpha.2
838
-
839
- ### Patch Changes
840
-
841
- - 26535e0: release alpha.2
842
-
843
- ## 2.0.0-alpha.1
844
-
845
- ### Patch Changes
846
-
847
- - 3f2f00c: feat: `ImageModelV2#maxImagesPerCall` can be set to a function that returns a `number` or `undefined`, optionally as a promise
848
-
849
- pull request: https://github.com/vercel/ai/pull/6343
850
-
851
- ## 2.0.0-canary.14
852
-
853
- ### Major Changes
854
-
855
- - 7979f7f: feat (provider): support reasoning tokens, cached input tokens, total token in usage information
856
-
857
- ### Patch Changes
858
-
859
- - a8c8bd5: feat(embed-many): respect supportsParallelCalls & concurrency
860
-
861
- ## 2.0.0-canary.13
862
-
863
- ### Patch Changes
864
-
865
- - 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (#5977)
866
-
867
- The `experimental_generateImage` method from the `ai` package now returnes revised prompts for OpenAI's image models.
868
-
869
- ```js
870
- const prompt = "Santa Claus driving a Cadillac";
871
-
872
- const { providerMetadata } = await experimental_generateImage({
873
- model: openai.image("dall-e-3"),
874
- prompt,
875
- });
876
-
877
- const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
878
-
879
- console.log({
880
- prompt,
881
- revisedPrompt,
882
- });
883
- ```
884
-
885
- ## 2.0.0-canary.12
886
-
887
- ### Patch Changes
888
-
889
- - 7b3ae3f: chore (provider): change getSupportedUrls to supportedUrls (language model v2)
890
-
891
- ## 2.0.0-canary.11
892
-
893
- ### Major Changes
894
-
895
- - e030615: chore (provider): remove prompt type from language model v2 spec
896
-
897
- ### Patch Changes
898
-
899
- - 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
900
- - 4617fab: chore(embedding-models): remove remaining settings
901
-
902
- ## 2.0.0-canary.10
903
-
904
- ### Major Changes
905
-
906
- - a3f768e: chore: restructure reasoning support
907
-
908
- ### Patch Changes
909
-
910
- - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
911
-
912
- ## 2.0.0-canary.9
913
-
914
- ### Major Changes
915
-
916
- - e86be6f: chore: remove logprobs
917
-
918
- ## 2.0.0-canary.8
919
-
920
- ### Major Changes
921
-
922
- - 95857aa: chore: restructure language model supported urls
923
- - 7ea4132: chore: remove object generation mode
924
-
925
- ## 2.0.0-canary.7
926
-
927
- ### Major Changes
928
-
929
- - b6b43c7: chore: move warnings into stream-start part (spec)
930
- - 3795467: chore: return content array from doGenerate (spec)
931
-
932
- ### Patch Changes
933
-
934
- - 8aa9e20: feat: add speech with experimental_generateSpeech
935
-
936
- ## 2.0.0-canary.6
937
-
938
- ### Major Changes
939
-
940
- - 14c9410: chore: refactor file towards source pattern (spec)
941
- - d9c98f4: chore: refactor reasoning parts (spec)
942
- - 0054544: chore: refactor source parts (spec)
943
- - 9e9c809: chore: refactor tool call and tool call delta parts (spec)
944
- - 32831c6: chore: refactor text parts (spec)
945
- - d0f9495: chore: refactor file parts (spec)
946
-
947
- ### Patch Changes
948
-
949
- - 26735b5: chore(embedding-model): add v2 interface
950
- - 443d8ec: feat(embedding-model-v2): add response body field
951
- - c4a2fec: chore (provider): extract shared provider options and metadata (spec)
952
- - fd65bc6: chore(embedding-model-v2): rename rawResponse to response
953
- - 393138b: feat(embedding-model-v2): add providerOptions
954
- - 7182d14: Remove `Experimental_LanguageModelV2Middleware` type
955
-
956
- ## 2.0.0-canary.5
957
-
958
- ### Major Changes
959
-
960
- - 411e483: chore (provider): refactor usage (language model v2)
961
- - ad80501: chore (provider): allow both binary and base64 file content (spec)
962
- - 1766ede: chore: rename maxTokens to maxOutputTokens
963
-
964
- ### Patch Changes
965
-
966
- - 79457bd: chore (provider): extract LanguageModelV2File
967
- - f10304b: feat(tool-calling): don't require the user to have to pass parameters
968
-
969
- ## 2.0.0-canary.4
970
-
971
- ### Major Changes
972
-
973
- - 6f6bb89: chore (provider): cleanup request and rawRequest (language model v2)
974
-
975
- ## 2.0.0-canary.3
976
-
977
- ### Major Changes
978
-
979
- - d1a1aa1: chore (provider): merge rawRequest into request (language model v2)
980
-
981
- ## 2.0.0-canary.2
982
-
983
- ### Major Changes
984
-
985
- - abf9a79: chore: rename mimeType to mediaType
986
- - 6dc848c: chore (provider): remove image parts
987
-
988
- ### Patch Changes
989
-
990
- - a166433: feat: add transcription with experimental_transcribe
991
- - 0a87932: core (ai): change transcription model mimeType to mediaType
992
-
993
- ## 2.0.0-canary.1
994
-
995
- ### Major Changes
996
-
997
- - c57e248: chore (provider): remove mode
998
- - 33f4a6a: chore (provider): rename providerMetadata inputs to providerOptions
999
-
1000
- ## 2.0.0-canary.0
1001
-
1002
- ### Major Changes
1003
-
1004
- - d5f588f: AI SDK 5
1005
-
1006
- ## 1.1.0
1007
-
1008
- ### Minor Changes
1009
-
1010
- - 5bc638d: AI SDK 4.2
1011
-
1012
- ## 1.0.12
1013
-
1014
- ### Patch Changes
1015
-
1016
- - 0bd5bc6: feat (ai): support model-generated files
1017
-
1018
- ## 1.0.11
1019
-
1020
- ### Patch Changes
1021
-
1022
- - 2e1101a: feat (provider/openai): pdf input support
1023
-
1024
- ## 1.0.10
1025
-
1026
- ### Patch Changes
1027
-
1028
- - e1d3d42: feat (ai): expose raw response body in generateText and generateObject
1029
-
1030
- ## 1.0.9
1031
-
1032
- ### Patch Changes
1033
-
1034
- - ddf9740: feat (ai): add anthropic reasoning
1035
-
1036
- ## 1.0.8
1037
-
1038
- ### Patch Changes
1039
-
1040
- - 2761f06: fix (ai/provider): publish with LanguageModelV1Source
1041
-
1042
- ## 1.0.7
1043
-
1044
- ### Patch Changes
1045
-
1046
- - d89c3b9: feat (provider): add image model support to provider specification
1047
-
1048
- ## 1.0.6
1049
-
1050
- ### Patch Changes
1051
-
1052
- - 3a58a2e: feat (ai/core): throw NoImageGeneratedError from generateImage when no predictions are returned.
1053
-
1054
- ## 1.0.5
1055
-
1056
- ### Patch Changes
1057
-
1058
- - 0a699f1: feat: add reasoning token support
1059
-
1060
- ## 1.0.4
1061
-
1062
- ### Patch Changes
1063
-
1064
- - 19a2ce7: feat (provider): add message option to UnsupportedFunctionalityError
1065
- - 6337688: feat: change image generation errors to warnings
1066
-
1067
- ## 1.0.3
1068
-
1069
- ### Patch Changes
1070
-
1071
- - 5ed5e45: chore (config): Use ts-library.json tsconfig for no-UI libs.
1072
-
1073
- ## 1.0.2
1074
-
1075
- ### Patch Changes
1076
-
1077
- - 09a9cab: feat (ai/core): add experimental generateImage function
1078
-
1079
- ## 1.0.1
1080
-
1081
- ### Patch Changes
1082
-
1083
- - b446ae5: feat (provider): Define type for ObjectGenerationMode.
1084
-
1085
- ## 1.0.0
1086
-
1087
- ### Major Changes
1088
-
1089
- - b469a7e: chore: remove isXXXError methods
1090
- - c0ddc24: chore (ai): remove toJSON method from AI SDK errors
1091
-
1092
- ## 1.0.0-canary.0
1093
-
1094
- ### Major Changes
1095
-
1096
- - b469a7e: chore: remove isXXXError methods
1097
- - c0ddc24: chore (ai): remove toJSON method from AI SDK errors
1098
-
1099
- ## 0.0.26
1100
-
1101
- ### Patch Changes
1102
-
1103
- - aa98cdb: chore: more flexible dependency versioning
1104
- - 1486128: feat: add supportsUrl to language model specification
1105
- - 7b937c5: feat (provider-utils): improve id generator robustness
1106
- - 3b1b69a: feat: provider-defined tools
1107
- - 811a317: feat (ai/core): multi-part tool results (incl. images)
1108
-
1109
- ## 0.0.25
1110
-
1111
- ### Patch Changes
1112
-
1113
- - b9b0d7b: feat (ai): access raw request body
1114
-
1115
- ## 0.0.24
1116
-
1117
- ### Patch Changes
1118
-
1119
- - d595d0d: feat (ai/core): file content parts
1120
-
1121
- ## 0.0.23
1122
-
1123
- ### Patch Changes
1124
-
1125
- - 03313cd: feat (ai): expose response id, response model, response timestamp in telemetry and api
1126
- - 3be7c1c: fix (provider/anthropic): support prompt caching on assistant messages
1127
-
1128
- ## 0.0.22
1129
-
1130
- ### Patch Changes
1131
-
1132
- - 26515cb: feat (ai/provider): introduce ProviderV1 specification
1133
-
1134
- ## 0.0.21
1135
-
1136
- ### Patch Changes
1137
-
1138
- - f2c025e: feat (ai/core): prompt validation
1139
-
1140
- ## 0.0.20
1141
-
1142
- ### Patch Changes
1143
-
1144
- - 6ac355e: feat (provider/anthropic): add cache control support
1145
-
1146
- ## 0.0.19
1147
-
1148
- ### Patch Changes
1149
-
1150
- - dd4a0f5: fix (ai/provider): remove invalid check in isJSONParseError
1151
-
1152
- ## 0.0.18
1153
-
1154
- ### Patch Changes
1155
-
1156
- - 4bd27a9: chore (ai/provider): refactor type validation
1157
-
1158
- ## 0.0.17
1159
-
1160
- ### Patch Changes
1161
-
1162
- - 029af4c: feat (ai/core): support schema name & description in generateObject & streamObject
1163
-
1164
- ## 0.0.16
1165
-
1166
- ### Patch Changes
1167
-
1168
- - d58517b: feat (ai/openai): structured outputs
1169
-
1170
- ## 0.0.15
1171
-
1172
- ### Patch Changes
1173
-
1174
- - 96aed25: fix (ai/provider): release new version
1175
-
1176
- ## 0.0.14
1177
-
1178
- ### Patch Changes
1179
-
1180
- - a8d1c9e9: feat (ai/core): parallel image download
1181
-
1182
- ## 0.0.13
1183
-
1184
- ### Patch Changes
1185
-
1186
- - 2b9da0f0: feat (core): support stopSequences setting.
1187
- - a5b58845: feat (core): support topK setting
1188
- - 4aa8deb3: feat (provider): support responseFormat setting in provider api
1189
- - 13b27ec6: chore (ai/core): remove grammar mode
1190
-
1191
- ## 0.0.12
1192
-
1193
- ### Patch Changes
1194
-
1195
- - b7290943: feat (ai/core): add token usage to embed and embedMany
1196
-
1197
- ## 0.0.11
1198
-
1199
- ### Patch Changes
1200
-
1201
- - 5edc6110: feat (provider): add headers support to language and embedding model spec
1202
-
1203
- ## 0.0.10
1204
-
1205
- ### Patch Changes
1206
-
1207
- - 102ca22f: fix (@ai-sdk/provider): fix TypeValidationError.isTypeValidationError
1208
-
1209
- ## 0.0.9
1210
-
1211
- ### Patch Changes
1212
-
1213
- - 09295e2e: feat (@ai-sdk/provider): add DownloadError
1214
-
1215
- ## 0.0.8
1216
-
1217
- ### Patch Changes
1218
-
1219
- - f39c0dd2: feat (provider): add toolChoice to language model specification
1220
-
1221
- ## 0.0.7
1222
-
1223
- ### Patch Changes
1224
-
1225
- - 8e780288: feat (ai/provider): add "unknown" finish reason (for models that don't provide a finish reason)
1226
-
1227
- ## 0.0.6
1228
-
1229
- ### Patch Changes
1230
-
1231
- - 6a50ac4: feat (provider): add additional error types
1232
-
1233
- ## 0.0.5
1234
-
1235
- ### Patch Changes
1236
-
1237
- - 0f6bc4e: feat (ai/core): add embed function
1238
-
1239
- ## 0.0.4
1240
-
1241
- ### Patch Changes
1242
-
1243
- - 325ca55: feat (ai/core): improve image content part error message
1244
-
1245
- ## 0.0.3
1246
-
1247
- ### Patch Changes
1248
-
1249
- - 41d5736: ai/core: re-expose language model types.
1250
-
1251
- ## 0.0.2
1252
-
1253
- ### Patch Changes
1254
-
1255
- - d6431ae: ai/core: add logprobs support (thanks @SamStenner for the contribution)
1256
- - 25f3350: ai/core: add support for getting raw response headers.
1257
-
1258
- ## 0.0.1
1259
-
1260
- ### Patch Changes
1261
-
1262
- - eb150a6: ai/core: remove scaling of setting values (breaking change). If you were using the temperature, frequency penalty, or presence penalty settings, you need to update the providers and adjust the setting values.