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

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 (811) hide show
  1. package/LICENSE +16 -16
  2. package/THIRD_PARTY_NOTICES.txt +29 -29
  3. package/dist/pi-tui-runner.js +26 -29
  4. package/dist/tui-copy-catalog.js +9 -9
  5. package/native/runtime-host-peer/prebuilds/darwin-arm64/maka_runtime_host_peer.node +0 -0
  6. package/native/runtime-host-peer/prebuilds/linux-arm64/maka_runtime_host_peer.node +0 -0
  7. package/native/runtime-host-peer/prebuilds/linux-x64/maka_runtime_host_peer.node +0 -0
  8. package/native/runtime-host-peer/prebuilds/win32-x64/maka_runtime_host_peer.node +0 -0
  9. package/native/runtime-host-windows-task-launcher/prebuilds/win32-x64/maka-runtime-host-task-launcher.exe +0 -0
  10. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js +12 -12
  11. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +52 -0
  12. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +5 -4
  13. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +7 -0
  14. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +51 -8
  15. package/node_modules/@agentclientprotocol/sdk/package.json +2 -2
  16. package/node_modules/@agentclientprotocol/sdk/schema/schema.json +90 -2
  17. package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +103 -12
  18. package/node_modules/@ai-sdk/anthropic/CHANGELOG.md +140 -0
  19. package/node_modules/@ai-sdk/anthropic/README.md +1 -1
  20. package/node_modules/@ai-sdk/anthropic/dist/index.js +1622 -868
  21. package/node_modules/@ai-sdk/anthropic/dist/internal/index.js +1516 -763
  22. package/node_modules/@ai-sdk/anthropic/docs/05-anthropic.mdx +483 -62
  23. package/node_modules/@ai-sdk/anthropic/package.json +4 -4
  24. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/approval-continuation.js +0 -1
  25. package/node_modules/@ai-sdk/code-mode/dist/code-mode-tool.js +59 -0
  26. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/errors.js +0 -8
  27. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/interrupt-continuation.js +0 -2
  28. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/tool-prompt.js +43 -15
  29. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/package.json +3 -3
  30. package/node_modules/@ai-sdk/cohere/CHANGELOG.md +99 -0
  31. package/node_modules/@ai-sdk/cohere/README.md +1 -1
  32. package/node_modules/@ai-sdk/cohere/dist/index.js +35 -49
  33. package/node_modules/@ai-sdk/cohere/docs/25-cohere.mdx +11 -9
  34. package/node_modules/@ai-sdk/cohere/package.json +4 -4
  35. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/CHANGELOG.md +183 -0
  36. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/README.md +1 -1
  37. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/dist/index.js +587 -245
  38. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/docs/00-ai-gateway.mdx +235 -30
  39. package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/gateway/package.json +4 -4
  40. package/node_modules/@ai-sdk/google/CHANGELOG.md +180 -0
  41. package/node_modules/@ai-sdk/google/README.md +1 -1
  42. package/node_modules/@ai-sdk/google/dist/index.js +1147 -1130
  43. package/node_modules/@ai-sdk/google/dist/internal/index.js +809 -889
  44. package/node_modules/@ai-sdk/google/docs/15-google.mdx +224 -41
  45. package/node_modules/@ai-sdk/google/package.json +4 -4
  46. package/node_modules/@ai-sdk/open-responses/CHANGELOG.md +109 -0
  47. package/node_modules/@ai-sdk/open-responses/dist/index.js +419 -183
  48. package/node_modules/@ai-sdk/open-responses/docs/06-open-responses.mdx +121 -6
  49. package/node_modules/@ai-sdk/open-responses/package.json +4 -4
  50. package/node_modules/@ai-sdk/openai/CHANGELOG.md +147 -0
  51. package/node_modules/@ai-sdk/openai/README.md +27 -2
  52. package/node_modules/@ai-sdk/openai/dist/index.js +2445 -1828
  53. package/node_modules/@ai-sdk/openai/dist/internal/index.js +2170 -2041
  54. package/node_modules/@ai-sdk/openai/docs/03-openai.mdx +311 -102
  55. package/node_modules/@ai-sdk/openai/package.json +4 -4
  56. package/node_modules/@ai-sdk/openai-compatible/CHANGELOG.md +110 -0
  57. package/node_modules/@ai-sdk/openai-compatible/dist/index.js +120 -130
  58. package/node_modules/@ai-sdk/openai-compatible/dist/internal/index.js +22 -14
  59. package/node_modules/@ai-sdk/openai-compatible/docs/index.mdx +2 -0
  60. package/node_modules/@ai-sdk/openai-compatible/package.json +4 -4
  61. package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → provider}/CHANGELOG.md +47 -0
  62. package/node_modules/@ai-sdk/{cohere/node_modules/@ai-sdk/provider → provider}/dist/index.js +127 -102
  63. package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → provider}/package.json +1 -1
  64. package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +99 -0
  65. package/node_modules/@ai-sdk/provider-utils/dist/experimental-evaluation/index.js +1618 -0
  66. package/node_modules/@ai-sdk/provider-utils/dist/index.js +470 -268
  67. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
  68. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
  69. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/core/request.js +23 -2
  70. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
  71. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  72. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
  73. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client.js +6 -2
  74. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/cache-handler.js +21 -5
  75. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/retry-handler.js +109 -23
  76. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/cache.js +20 -1
  77. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/decompress.js +338 -46
  78. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/dump.js +10 -23
  79. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
  80. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/connection.js +19 -9
  81. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  82. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  83. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/package.json +1 -1
  84. package/node_modules/@ai-sdk/provider-utils/package.json +7 -2
  85. package/node_modules/@earendil-works/pi-tui/README.md +8 -2
  86. package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +18 -11
  87. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +7 -6
  88. package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +23 -22
  89. package/node_modules/@earendil-works/pi-tui/dist/index.js +2 -0
  90. package/node_modules/@earendil-works/pi-tui/dist/latex.js +109 -16
  91. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +3 -44
  92. package/node_modules/@earendil-works/pi-tui/dist/native-platform.js +42 -0
  93. package/node_modules/@earendil-works/pi-tui/dist/terminal.js +2 -20
  94. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +25 -6
  95. package/node_modules/@earendil-works/pi-tui/dist/utils.js +4 -0
  96. package/node_modules/@earendil-works/pi-tui/native/clipboard.h +170 -0
  97. package/node_modules/@earendil-works/pi-tui/native/darwin/README.md +8 -6
  98. package/node_modules/@earendil-works/pi-tui/native/darwin/build.sh +12 -5
  99. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/{darwin-modifiers.node → darwin-platform.node} +0 -0
  100. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/{darwin-modifiers.node → darwin-platform.node} +0 -0
  101. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-platform.m +93 -0
  102. package/node_modules/@earendil-works/pi-tui/native/linux/README.md +23 -0
  103. package/node_modules/@earendil-works/pi-tui/native/linux/build.sh +65 -0
  104. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
  105. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
  106. package/node_modules/@earendil-works/pi-tui/native/linux/src/clipboard-worker.h +70 -0
  107. package/node_modules/@earendil-works/pi-tui/native/linux/src/linux-platform-x11.c +274 -0
  108. package/node_modules/@earendil-works/pi-tui/native/napi.h +89 -0
  109. package/node_modules/@earendil-works/pi-tui/native/win32/README.md +16 -7
  110. package/node_modules/@earendil-works/pi-tui/native/win32/build.mjs +7 -4
  111. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
  112. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
  113. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-platform.c +241 -0
  114. package/node_modules/@earendil-works/pi-tui/package.json +11 -4
  115. package/node_modules/@larksuiteoapi/node-sdk/README.md +20 -0
  116. package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +20 -0
  117. package/node_modules/@larksuiteoapi/node-sdk/es/index.js +33 -1
  118. package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +33 -1
  119. package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
  120. package/node_modules/@maka/acp-executor-plugin/dist/plugin.mjs +17 -0
  121. package/node_modules/@maka/acp-executor-plugin/package.json +1 -1
  122. package/node_modules/@maka/core/dist/model-web-search.js +2 -3
  123. package/node_modules/@maka/core/dist/relative-time.js +19 -20
  124. package/node_modules/@maka/core/dist/settings.js +2 -2
  125. package/node_modules/@maka/core/dist/tool-ledger-scanner.js +53 -150
  126. package/node_modules/@maka/eval/harbor/egress_filter.py +64 -47
  127. package/node_modules/@maka/eval/harbor/eval_framework.py +3 -3
  128. package/node_modules/@maka/eval/harbor/run_trial.py +2 -2
  129. package/node_modules/@maka/eval/node_modules/undici/README.md +10 -1
  130. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Agent.md +8 -8
  131. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  132. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  133. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Errors.md +25 -0
  134. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  135. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
  136. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Pool.md +5 -6
  137. package/node_modules/@maka/eval/node_modules/undici/docs/docs/index.md +10 -1
  138. package/node_modules/@maka/eval/node_modules/undici/lib/api/readable.js +1 -2
  139. package/node_modules/@maka/eval/node_modules/undici/lib/core/request.js +23 -2
  140. package/node_modules/@maka/eval/node_modules/undici/lib/core/util.js +0 -39
  141. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
  142. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
  143. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client.js +6 -1
  144. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
  145. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  146. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool.js +90 -7
  147. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
  148. package/node_modules/@maka/eval/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
  149. package/node_modules/@maka/eval/node_modules/undici/lib/handler/redirect-handler.js +5 -0
  150. package/node_modules/@maka/eval/node_modules/undici/lib/handler/retry-handler.js +72 -13
  151. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/cache.js +4 -1
  152. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/decompress.js +236 -69
  153. package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cache.js +17 -8
  154. package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  155. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/index.js +19 -7
  156. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/util.js +3 -1
  157. package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
  158. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/body.js +22 -15
  159. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  160. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  161. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/headers.js +34 -31
  162. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/index.js +46 -25
  163. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/request.js +74 -79
  164. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/response.js +43 -44
  165. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/util.js +7 -7
  166. package/node_modules/@maka/eval/node_modules/undici/lib/web/infra/index.js +16 -1
  167. package/node_modules/@maka/eval/node_modules/undici/lib/web/webidl/index.js +2 -14
  168. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/connection.js +33 -12
  169. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/events.js +43 -26
  170. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  171. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  172. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
  173. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  174. package/node_modules/@maka/eval/node_modules/undici/package.json +1 -1
  175. package/node_modules/@maka/mcp/package.json +1 -1
  176. package/node_modules/@maka/runtime/dist/ai-sdk-compaction.js +23 -4
  177. package/node_modules/@maka/runtime/dist/ai-sdk-message-projection.js +33 -3
  178. package/node_modules/@maka/runtime/dist/conversation-copy.js +6 -0
  179. package/node_modules/@maka/runtime/dist/deepseek-web-search-codec.js +71 -0
  180. package/node_modules/@maka/runtime/dist/history-compaction.js +11 -4
  181. package/node_modules/@maka/runtime/dist/model-adapter.js +9 -5
  182. package/node_modules/@maka/runtime/dist/model-factory.js +4 -0
  183. package/node_modules/@maka/runtime/dist/plugin-agent-service.js +5 -13
  184. package/node_modules/@maka/runtime/dist/plugin-attachment-service.js +5 -13
  185. package/node_modules/@maka/runtime/dist/plugin-composition-loader.js +26 -36
  186. package/node_modules/@maka/runtime/dist/plugin-data-services.js +9 -26
  187. package/node_modules/@maka/runtime/dist/plugin-fs-service.js +5 -13
  188. package/node_modules/@maka/runtime/dist/plugin-goal-service.js +5 -13
  189. package/node_modules/@maka/runtime/dist/plugin-internals.js +78 -0
  190. package/node_modules/@maka/runtime/dist/plugin-llm-service.js +5 -13
  191. package/node_modules/@maka/runtime/dist/plugin-runtime.js +4 -32
  192. package/node_modules/@maka/runtime/dist/plugin-session-query-service.js +5 -13
  193. package/node_modules/@maka/runtime/dist/plugin-shell-service.js +5 -13
  194. package/node_modules/@maka/runtime/dist/plugin-web-service.js +5 -13
  195. package/node_modules/@maka/runtime/dist/runtime-event-read-model.js +17 -0
  196. package/node_modules/@maka/runtime/dist/session-manager.js +25 -40
  197. package/node_modules/@maka/runtime/dist/stream-graph-coordinator.js +82 -16
  198. package/node_modules/@maka/runtime/dist/stream-graph-projection.js +64 -0
  199. package/node_modules/@maka/runtime/dist/stream-graph-read-model.js +138 -20
  200. package/node_modules/@maka/runtime/dist/tool-availability.js +10 -3
  201. package/node_modules/@maka/runtime/dist/workers/filesystem-worker.js +161 -104
  202. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
  203. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
  204. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/core/request.js +23 -2
  205. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
  206. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  207. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
  208. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client.js +6 -2
  209. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/cache-handler.js +21 -5
  210. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/retry-handler.js +109 -23
  211. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/cache.js +20 -1
  212. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/decompress.js +338 -46
  213. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/dump.js +10 -23
  214. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
  215. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/connection.js +19 -9
  216. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  217. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  218. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/package.json +1 -1
  219. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/package.json +1 -1
  220. package/node_modules/@maka/runtime/node_modules/undici/README.md +10 -1
  221. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Agent.md +8 -8
  222. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  223. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  224. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Errors.md +25 -0
  225. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  226. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
  227. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Pool.md +5 -6
  228. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/index.md +10 -1
  229. package/node_modules/@maka/runtime/node_modules/undici/lib/api/readable.js +1 -2
  230. package/node_modules/@maka/runtime/node_modules/undici/lib/core/request.js +23 -2
  231. package/node_modules/@maka/runtime/node_modules/undici/lib/core/util.js +0 -39
  232. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
  233. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
  234. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client.js +6 -1
  235. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
  236. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  237. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool.js +90 -7
  238. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
  239. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
  240. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/redirect-handler.js +5 -0
  241. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/retry-handler.js +72 -13
  242. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/cache.js +4 -1
  243. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/decompress.js +236 -69
  244. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cache.js +17 -8
  245. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  246. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/index.js +19 -7
  247. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/util.js +3 -1
  248. package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
  249. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/body.js +22 -15
  250. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  251. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  252. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/headers.js +34 -31
  253. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/index.js +46 -25
  254. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/request.js +74 -79
  255. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/response.js +43 -44
  256. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/util.js +7 -7
  257. package/node_modules/@maka/runtime/node_modules/undici/lib/web/infra/index.js +16 -1
  258. package/node_modules/@maka/runtime/node_modules/undici/lib/web/webidl/index.js +2 -14
  259. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/connection.js +33 -12
  260. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/events.js +43 -26
  261. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  262. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  263. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
  264. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  265. package/node_modules/@maka/runtime/node_modules/undici/package.json +1 -1
  266. package/node_modules/@maka/runtime/package.json +11 -11
  267. package/node_modules/@maka/runtime-host/dist/adapter/session-projector.js +3 -7
  268. package/node_modules/@maka/runtime-host/dist/candidate-cli.js +7 -7
  269. package/node_modules/@maka/runtime-host/dist/candidate-entry.js +15 -0
  270. package/node_modules/@maka/runtime-host/dist/candidate-startup-failure.js +5 -0
  271. package/node_modules/@maka/runtime-host/dist/client/session-catalog-summary.js +1 -0
  272. package/node_modules/@maka/runtime-host/dist/client/startup-error.js +5 -0
  273. package/node_modules/@maka/runtime-host/dist/protocol/agent-graph.js +46 -1
  274. package/node_modules/@maka/runtime-host/dist/protocol/index.js +14 -1
  275. package/node_modules/@maka/runtime-host/dist/protocol/operations.js +5 -1
  276. package/node_modules/@maka/runtime-host/dist/protocol/session-catalog.js +12 -0
  277. package/node_modules/@maka/runtime-host/dist/protocol/session-retirement.js +46 -10
  278. package/node_modules/@maka/runtime-host/dist/protocol/storage-usage.js +155 -0
  279. package/node_modules/@maka/runtime-host/dist/protocol/turn.js +20 -8
  280. package/node_modules/@maka/runtime-host/dist/server/agent-graph-coordinator.js +23 -0
  281. package/node_modules/@maka/runtime-host/dist/server/canonical-turn-snapshot.js +5 -0
  282. package/node_modules/@maka/runtime-host/dist/server/execution-composition.js +27 -6
  283. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-tool-profile.js +2 -0
  284. package/node_modules/@maka/runtime-host/dist/server/message-coordinator.js +107 -63
  285. package/node_modules/@maka/runtime-host/dist/server/root-turn-coordinator.js +1 -3
  286. package/node_modules/@maka/runtime-host/dist/server/session-catalog-coordinator.js +6 -0
  287. package/node_modules/@maka/runtime-host/dist/server/session-continuity-coordinator.js +51 -16
  288. package/node_modules/@maka/runtime-host/dist/server/session-retirement-coordinator.js +112 -36
  289. package/node_modules/@maka/runtime-host/dist/server/session-revision-coordinator.js +27 -1
  290. package/node_modules/@maka/runtime-host/dist/server/storage-usage-coordinator.js +67 -0
  291. package/node_modules/@maka/runtime-host/dist/server/workhub-inspection-tool.js +208 -0
  292. package/node_modules/@maka/runtime-host/package.json +2 -2
  293. package/node_modules/@maka/storage/dist/git-worktree-child-executor.js +3 -1
  294. package/node_modules/@maka/storage/dist/operational-state-store.js +0 -13
  295. package/node_modules/@maka/storage/dist/project-catalog.js +13 -20
  296. package/node_modules/@maka/storage/dist/session-store.js +9 -6
  297. package/node_modules/@maka/storage/dist/sqlite-file-set.js +22 -0
  298. package/node_modules/@maka/storage/dist/sqlite-long-term-memory-store.js +1 -3
  299. package/node_modules/@maka/storage/dist/sqlite-runtime-store.js +10 -260
  300. package/node_modules/@maka/storage/dist/sqlite-session-catalog-query.js +1 -0
  301. package/node_modules/@maka/storage/dist/sqlite-session-metadata-schema.js +18 -6
  302. package/node_modules/@maka/storage/dist/sqlite-session-metadata-store.js +28 -6
  303. package/node_modules/@maka/storage/dist/storage-footprint.js +239 -0
  304. package/node_modules/@maka/storage/dist/storage-writer-composition.js +10 -1
  305. package/node_modules/@modelcontextprotocol/client/dist/index-BCtJi0p5.d.mts.map +1 -0
  306. package/node_modules/@modelcontextprotocol/client/dist/index-CEk3qkZM.d.cts.map +1 -0
  307. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +375 -60
  308. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -1
  309. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -1
  310. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +369 -61
  311. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +1 -1
  312. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +1 -1
  313. package/node_modules/@modelcontextprotocol/client/dist/{src-NAgB4Mp8.cjs → src-D0qEN74R.cjs} +111 -38
  314. package/node_modules/@modelcontextprotocol/client/dist/{src-D_zzAWoS.mjs → src-DDAAhLnO.mjs} +106 -33
  315. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +8 -2
  316. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -1
  317. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -1
  318. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +8 -2
  319. 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
  320. package/node_modules/@modelcontextprotocol/{core/dist/auth-CfDMXiII.cjs → client/node_modules/@modelcontextprotocol/core/dist/auth-4-zilcqg.cjs} +3 -2
  321. package/node_modules/@modelcontextprotocol/{core/dist/auth-CUe6YdwF.mjs → client/node_modules/@modelcontextprotocol/core/dist/auth-CGP0BDVq.mjs} +3 -2
  322. package/node_modules/@modelcontextprotocol/{core/dist/auth-BWdKR39I.d.mts.map → client/node_modules/@modelcontextprotocol/core/dist/auth-YUQV3RRv.d.mts.map} +1 -1
  323. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/index.cjs +1 -1
  324. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/index.mjs +1 -1
  325. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.cjs +1 -1
  326. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.mjs +1 -1
  327. package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/package.json +1 -1
  328. package/node_modules/@modelcontextprotocol/client/package.json +4 -4
  329. package/node_modules/@types/node/README.md +2 -2
  330. package/node_modules/@types/node/package.json +2 -17
  331. package/node_modules/{@maka/runtime/node_modules/ai → ai}/CHANGELOG.md +311 -0
  332. package/node_modules/{@maka/runtime/node_modules/ai → ai}/README.md +6 -6
  333. package/node_modules/{@maka/runtime/node_modules/ai → ai}/dist/index.js +4830 -1974
  334. package/node_modules/{@maka/runtime/node_modules/ai → ai}/dist/internal/index.js +694 -332
  335. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/00-introduction/index.mdx +1 -1
  336. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/02-providers-and-models.mdx +5 -0
  337. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/03-prompts.mdx +1 -1
  338. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/04-tools.mdx +2 -2
  339. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/06-provider-options.mdx +11 -11
  340. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/00-choosing-a-provider.mdx +4 -4
  341. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/02-nextjs-app-router.mdx +3 -3
  342. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/03-nextjs-pages-router.mdx +4 -4
  343. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/04-svelte.mdx +7 -7
  344. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/05-nuxt.mdx +8 -8
  345. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/06-nodejs.mdx +3 -3
  346. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/07-expo.mdx +10 -3
  347. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/08-tanstack-start.mdx +3 -3
  348. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/09-coding-agents.mdx +1 -1
  349. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/02-building-agents.mdx +2 -2
  350. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/03-workflows.mdx +2 -2
  351. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/04-loop-control.mdx +1 -1
  352. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/05-configuring-call-options.mdx +4 -2
  353. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-memory.mdx +2 -2
  354. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-policy-tool-approvals.mdx +2 -2
  355. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-tool-approvals.mdx +16 -0
  356. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/07-workflow-agent.mdx +12 -12
  357. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/08-terminal-ui.mdx +14 -10
  358. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/05-generating-text.mdx +2 -2
  359. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +6 -1
  360. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/16-mcp-tools.mdx +31 -0
  361. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/17-mcp-apps.mdx +2 -2
  362. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/18-code-mode.mdx +50 -0
  363. package/node_modules/ai/docs/03-ai-sdk-core/19-tool-search.mdx +82 -0
  364. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/20-prompt-engineering.mdx +1 -1
  365. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/26-reasoning.mdx +15 -14
  366. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/31-reranking.mdx +12 -10
  367. package/node_modules/ai/docs/03-ai-sdk-core/32-evaluation.mdx +287 -0
  368. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/35-image-generation.mdx +40 -2
  369. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/36-realtime.mdx +41 -18
  370. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/36-transcription.mdx +1 -0
  371. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/37-speech.mdx +8 -6
  372. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/39-file-uploads.mdx +1 -1
  373. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/40-middleware.mdx +92 -7
  374. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/41-skill-uploads.mdx +1 -1
  375. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/42-batch.mdx +2 -3
  376. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/45-provider-management.mdx +31 -21
  377. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/55-testing.mdx +75 -0
  378. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/60-telemetry.mdx +57 -4
  379. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/65-devtools.mdx +3 -3
  380. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/65-lifecycle-callbacks.mdx +132 -7
  381. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/index.mdx +6 -0
  382. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/01-overview.mdx +3 -2
  383. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +151 -112
  384. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/03-tools.mdx +47 -22
  385. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/04-skills.mdx +0 -4
  386. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +3 -3
  387. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/06-workflow-utilities.mdx +43 -9
  388. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/07-ui.mdx +33 -30
  389. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/08-terminal-ui.mdx +8 -6
  390. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/01-overview.mdx +1 -1
  391. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/02-chatbot.mdx +47 -21
  392. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +46 -3
  393. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +11 -4
  394. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +10 -1
  395. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/05-completion.mdx +1 -1
  396. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/08-object-generation.mdx +4 -1
  397. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/21-error-handling.mdx +28 -2
  398. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/21-transport.mdx +1 -1
  399. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +5 -5
  400. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +2 -2
  401. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/06-loading-state.mdx +1 -1
  402. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +3 -3
  403. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/02-stopping-streams.mdx +8 -0
  404. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/04-caching.mdx +2 -1
  405. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/11-secure-url-fetching.mdx +47 -2
  406. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +13 -4
  407. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +16 -7
  408. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +5 -5
  409. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +1 -1
  410. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +3 -3
  411. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-evaluate.mdx +74 -0
  412. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +4 -2
  413. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/20-start-batch.mdx +1 -1
  414. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/20-tool.mdx +7 -0
  415. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +7 -0
  416. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-tool-search.mdx +76 -0
  417. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +30 -0
  418. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +12 -0
  419. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +19 -1
  420. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +22 -4
  421. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +1 -1
  422. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +17 -2
  423. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/index.mdx +6 -0
  424. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +1 -1
  425. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +4 -1
  426. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +563 -0
  427. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +12 -0
  428. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +9 -3
  429. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +3 -3
  430. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +2 -1
  431. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +1 -1
  432. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +1 -1
  433. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +8 -8
  434. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +4 -4
  435. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +4 -0
  436. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-evaluation-unsupported-question-type-error.mdx +31 -0
  437. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +4 -0
  438. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +4 -0
  439. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +6 -2
  440. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +138 -0
  441. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/06-ai-sdk-tui/01-run-agent-tui.mdx +13 -9
  442. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/29-migration-guide-4-0.mdx +5 -5
  443. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/37-migration-guide-3-3.mdx +1 -1
  444. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +3 -3
  445. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +2 -2
  446. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +1 -1
  447. package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +2 -2
  448. package/node_modules/{@maka/runtime/node_modules/ai → ai}/package.json +13 -13
  449. package/node_modules/axios/CHANGELOG.md +62 -0
  450. package/node_modules/axios/README.md +297 -5
  451. package/node_modules/axios/dist/axios.js +728 -170
  452. package/node_modules/axios/dist/axios.min.js +3 -3
  453. package/node_modules/axios/dist/browser/axios.cjs +871 -188
  454. package/node_modules/axios/dist/esm/axios.js +871 -188
  455. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  456. package/node_modules/axios/dist/node/axios.cjs +1037 -225
  457. package/node_modules/axios/lib/adapters/fetch.js +64 -11
  458. package/node_modules/axios/lib/adapters/http.js +140 -67
  459. package/node_modules/axios/lib/adapters/xhr.js +52 -3
  460. package/node_modules/axios/lib/core/Axios.js +43 -20
  461. package/node_modules/axios/lib/core/AxiosError.js +33 -2
  462. package/node_modules/axios/lib/core/AxiosHeaders.js +124 -1
  463. package/node_modules/axios/lib/core/InterceptorManager.js +107 -8
  464. package/node_modules/axios/lib/core/buildFullPath.js +41 -15
  465. package/node_modules/axios/lib/core/dispatchRequest.js +8 -2
  466. package/node_modules/axios/lib/core/mergeConfig.js +19 -4
  467. package/node_modules/axios/lib/core/methodList.js +17 -0
  468. package/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
  469. package/node_modules/axios/lib/defaults/index.js +2 -1
  470. package/node_modules/axios/lib/env/data.js +1 -1
  471. package/node_modules/axios/lib/helpers/Http2Sessions.js +2 -0
  472. package/node_modules/axios/lib/helpers/HttpStatusCode.js +12 -1
  473. package/node_modules/axios/lib/helpers/combineURLs.js +11 -3
  474. package/node_modules/axios/lib/helpers/composeSignals.js +12 -1
  475. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +115 -54
  476. package/node_modules/axios/lib/helpers/formDataToJSON.js +11 -5
  477. package/node_modules/axios/lib/helpers/fromDataURI.js +5 -4
  478. package/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
  479. package/node_modules/axios/lib/helpers/parseHeaders.js +5 -3
  480. package/node_modules/axios/lib/helpers/progressEventReducer.js +4 -4
  481. package/node_modules/axios/lib/helpers/resolveConfig.js +5 -17
  482. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +300 -5
  483. package/node_modules/axios/lib/helpers/throttle.js +3 -2
  484. package/node_modules/axios/lib/helpers/toFormData.js +17 -23
  485. package/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
  486. package/node_modules/axios/lib/utils.js +151 -18
  487. package/node_modules/axios/package.json +21 -19
  488. package/node_modules/brace-expansion/dist/commonjs/index.js +69 -25
  489. package/node_modules/brace-expansion/dist/esm/index.js +68 -24
  490. package/node_modules/brace-expansion/package.json +2 -1
  491. package/node_modules/fast-uri/index.js +10 -6
  492. package/node_modules/fast-uri/package.json +1 -1
  493. package/node_modules/image-dimensions/cli.js +18 -3
  494. package/node_modules/image-dimensions/index.js +7 -5
  495. package/node_modules/image-dimensions/package.json +4 -1
  496. package/node_modules/image-dimensions/readme.md +2 -1
  497. package/node_modules/image-dimensions/types/avif.js +2 -24
  498. package/node_modules/image-dimensions/types/heic.js +2 -24
  499. package/node_modules/image-dimensions/types/jpeg.js +28 -7
  500. package/node_modules/image-dimensions/types/png.js +13 -2
  501. package/node_modules/image-dimensions/types/webp.js +20 -36
  502. package/node_modules/image-dimensions/utilities.js +184 -60
  503. package/node_modules/ip-address/README.md +145 -135
  504. package/node_modules/ip-address/dist/common.js +48 -0
  505. package/node_modules/ip-address/dist/ipv4.js +117 -11
  506. package/node_modules/ip-address/dist/ipv6.js +162 -48
  507. package/node_modules/ip-address/dist/v4/constants.js +40 -1
  508. package/node_modules/ip-address/dist/v6/constants.js +47 -1
  509. package/node_modules/ip-address/package.json +1 -1
  510. package/node_modules/marked/README.md +1 -0
  511. package/node_modules/marked/lib/marked.esm.js +30 -29
  512. package/node_modules/marked/lib/marked.umd.js +30 -29
  513. package/node_modules/marked/man/marked.1 +1 -1
  514. package/node_modules/marked/package.json +11 -11
  515. package/node_modules/systeminformation/lib/battery.js +32 -11
  516. package/node_modules/systeminformation/lib/cpu.js +23 -23
  517. package/node_modules/systeminformation/lib/filesystem.js +14 -8
  518. package/node_modules/systeminformation/lib/memory.js +3 -5
  519. package/node_modules/systeminformation/lib/network.js +8 -2
  520. package/node_modules/systeminformation/lib/osinfo.js +17 -3
  521. package/node_modules/systeminformation/lib/util.js +7 -0
  522. package/node_modules/systeminformation/package.json +1 -1
  523. package/node_modules/undici/README.md +10 -1
  524. package/node_modules/undici/docs/docs/api/Agent.md +8 -8
  525. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  526. package/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  527. package/node_modules/undici/docs/docs/api/Errors.md +25 -0
  528. package/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  529. package/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
  530. package/node_modules/undici/docs/docs/api/Pool.md +5 -6
  531. package/node_modules/undici/docs/docs/index.md +10 -1
  532. package/node_modules/undici/lib/api/readable.js +1 -2
  533. package/node_modules/undici/lib/core/request.js +23 -2
  534. package/node_modules/undici/lib/core/util.js +0 -39
  535. package/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
  536. package/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
  537. package/node_modules/undici/lib/dispatcher/client.js +6 -1
  538. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
  539. package/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  540. package/node_modules/undici/lib/dispatcher/pool.js +90 -7
  541. package/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
  542. package/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
  543. package/node_modules/undici/lib/handler/redirect-handler.js +5 -0
  544. package/node_modules/undici/lib/handler/retry-handler.js +72 -13
  545. package/node_modules/undici/lib/interceptor/cache.js +4 -1
  546. package/node_modules/undici/lib/interceptor/decompress.js +236 -69
  547. package/node_modules/undici/lib/web/cache/cache.js +17 -8
  548. package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  549. package/node_modules/undici/lib/web/cookies/index.js +19 -7
  550. package/node_modules/undici/lib/web/cookies/util.js +3 -1
  551. package/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
  552. package/node_modules/undici/lib/web/fetch/body.js +22 -15
  553. package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  554. package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  555. package/node_modules/undici/lib/web/fetch/headers.js +34 -31
  556. package/node_modules/undici/lib/web/fetch/index.js +46 -25
  557. package/node_modules/undici/lib/web/fetch/request.js +74 -79
  558. package/node_modules/undici/lib/web/fetch/response.js +43 -44
  559. package/node_modules/undici/lib/web/fetch/util.js +7 -7
  560. package/node_modules/undici/lib/web/infra/index.js +16 -1
  561. package/node_modules/undici/lib/web/webidl/index.js +2 -14
  562. package/node_modules/undici/lib/web/websocket/connection.js +33 -12
  563. package/node_modules/undici/lib/web/websocket/events.js +43 -26
  564. package/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  565. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  566. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
  567. package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  568. package/node_modules/undici/package.json +1 -1
  569. package/package.json +4 -4
  570. package/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  571. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  572. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/README.md +0 -1
  573. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/package.json +0 -63
  574. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  575. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/README.md +0 -1
  576. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  577. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/package.json +0 -63
  578. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  579. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/README.md +0 -1
  580. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  581. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/package.json +0 -63
  582. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  583. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/LICENSE +0 -13
  584. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/README.md +0 -1
  585. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  586. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/package.json +0 -63
  587. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  588. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/LICENSE +0 -13
  589. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/README.md +0 -1
  590. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  591. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/package.json +0 -63
  592. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  593. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/LICENSE +0 -13
  594. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/README.md +0 -1
  595. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  596. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +0 -63
  597. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-modifiers.c +0 -70
  598. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-console-mode.node +0 -0
  599. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node +0 -0
  600. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-console-mode.c +0 -119
  601. package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/LICENSE +0 -13
  602. package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/dist/code-mode-tool.js +0 -40
  603. package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/LICENSE +0 -13
  604. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1262
  605. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/LICENSE +0 -13
  606. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/README.md +0 -1
  607. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  608. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/package.json +0 -63
  609. package/node_modules/@maka/runtime/node_modules/ai/LICENSE +0 -13
  610. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +0 -247
  611. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +0 -43
  612. package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts.map +0 -1
  613. package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts.map +0 -1
  614. /package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → code-mode}/LICENSE +0 -0
  615. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/README.md +0 -0
  616. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/approval.js +0 -0
  617. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/continuation-capability.js +0 -0
  618. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/direct-tool-call.js +0 -0
  619. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/host-interrupt.js +0 -0
  620. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/index.js +0 -0
  621. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/run-code-mode.js +0 -0
  622. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/tool-invocation.js +0 -0
  623. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/types.js +0 -0
  624. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/dist/utils/serialization.js +0 -0
  625. /package/node_modules/{@maka/runtime/node_modules/@ai-sdk → @ai-sdk}/code-mode/src/tsconfig.json +0 -0
  626. /package/node_modules/@ai-sdk/{cohere/node_modules/@ai-sdk/provider → gateway}/LICENSE +0 -0
  627. /package/node_modules/@ai-sdk/{google/node_modules/@ai-sdk/provider → provider}/LICENSE +0 -0
  628. /package/node_modules/@ai-sdk/{anthropic/node_modules/@ai-sdk/provider → provider}/README.md +0 -0
  629. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/LICENSE +0 -0
  630. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/README.md +0 -0
  631. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.cts.map +0 -0
  632. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.mts.map +0 -0
  633. /package/node_modules/{@ai-sdk/open-responses/node_modules/@ai-sdk/provider → ai}/LICENSE +0 -0
  634. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/01-overview.mdx +0 -0
  635. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/05-streaming.mdx +0 -0
  636. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-foundations/index.mdx +0 -0
  637. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/01-navigating-the-library.mdx +0 -0
  638. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/02-getting-started/index.mdx +0 -0
  639. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/01-overview.mdx +0 -0
  640. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/06-subagents.mdx +0 -0
  641. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-agents/index.mdx +0 -0
  642. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/01-overview.mdx +0 -0
  643. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/10-generating-structured-data.mdx +0 -0
  644. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/17-runtime-and-tool-context.mdx +0 -0
  645. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/25-settings.mdx +0 -0
  646. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/30-embeddings.mdx +0 -0
  647. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/36-translation.mdx +0 -0
  648. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/38-video-generation.mdx +0 -0
  649. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-core/50-error-handling.mdx +0 -0
  650. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/03-ai-sdk-harnesses/index.mdx +0 -0
  651. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/04-generative-user-interfaces.mdx +0 -0
  652. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/20-streaming-data.mdx +0 -0
  653. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/24-reading-ui-message-streams.mdx +0 -0
  654. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/25-message-metadata.mdx +0 -0
  655. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/50-stream-protocol.mdx +0 -0
  656. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/04-ai-sdk-ui/index.mdx +0 -0
  657. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/01-overview.mdx +0 -0
  658. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/03-generative-ui-state.mdx +0 -0
  659. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/03-saving-and-restoring-states.mdx +0 -0
  660. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/05-streaming-values.mdx +0 -0
  661. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/08-error-handling.mdx +0 -0
  662. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/09-authentication.mdx +0 -0
  663. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/05-ai-sdk-rsc/index.mdx +0 -0
  664. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/01-prompt-engineering.mdx +0 -0
  665. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/03-backpressure.mdx +0 -0
  666. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/05-multiple-streamables.mdx +0 -0
  667. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/06-rate-limiting.mdx +0 -0
  668. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/07-rendering-ui-with-language-models.mdx +0 -0
  669. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/08-model-as-router.mdx +0 -0
  670. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/09-multistep-interfaces.mdx +0 -0
  671. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/09-sequential-generations.mdx +0 -0
  672. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/10-vercel-deployment-guide.mdx +0 -0
  673. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/06-advanced/index.mdx +0 -0
  674. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/05-embed.mdx +0 -0
  675. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +0 -0
  676. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +0 -0
  677. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/11-stream-transcribe.mdx +0 -0
  678. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/11-stream-translate.mdx +0 -0
  679. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/13-generate-video.mdx +0 -0
  680. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +0 -0
  681. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/14-upload-skill.mdx +0 -0
  682. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/15-agent.mdx +0 -0
  683. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/17-create-agent-ui-stream.mdx +0 -0
  684. /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
  685. /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
  686. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/21-get-batch-status.mdx +0 -0
  687. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/22-get-batch-results.mdx +0 -0
  688. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/23-cancel-batch.mdx +0 -0
  689. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +0 -0
  690. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/23-get-realtime-tool-definitions.mdx +0 -0
  691. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/24-list-batches.mdx +0 -0
  692. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/24-mcp-apps.mdx +0 -0
  693. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/24-mcp-stdio-transport.mdx +0 -0
  694. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/25-json-schema.mdx +0 -0
  695. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/26-zod-schema.mdx +0 -0
  696. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/27-valibot-schema.mdx +0 -0
  697. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/28-output.mdx +0 -0
  698. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/29-filter-active-tools.mdx +0 -0
  699. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/30-model-message.mdx +0 -0
  700. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +0 -0
  701. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/34-sandbox.mdx +0 -0
  702. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/50-cosine-similarity.mdx +0 -0
  703. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/65-language-model-v2-middleware.mdx +0 -0
  704. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/66-extract-reasoning-middleware.mdx +0 -0
  705. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/67-simulate-streaming-middleware.mdx +0 -0
  706. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/68-default-instructions-middleware.mdx +0 -0
  707. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/68-default-settings-middleware.mdx +0 -0
  708. /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
  709. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/70-extract-json-middleware.mdx +0 -0
  710. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/70-is-step-count.mdx +0 -0
  711. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/71-has-tool-call.mdx +0 -0
  712. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/72-loop-finished.mdx +0 -0
  713. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/75-simulate-readable-stream.mdx +0 -0
  714. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +0 -0
  715. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/90-generate-id.mdx +0 -0
  716. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/91-create-id-generator.mdx +0 -0
  717. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/01-ai-sdk-core/92-default-generated-file.mdx +0 -0
  718. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/02-use-completion.mdx +0 -0
  719. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/32-prune-messages.mdx +0 -0
  720. /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
  721. /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
  722. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/43-read-ui-message-stream.mdx +0 -0
  723. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/46-infer-ui-tools.mdx +0 -0
  724. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/47-infer-ui-tool.mdx +0 -0
  725. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/48-mcp-app-renderer.mdx +0 -0
  726. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/02-ai-sdk-ui/index.mdx +0 -0
  727. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/04-create-streamable-value.mdx +0 -0
  728. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/05-read-streamable-value.mdx +0 -0
  729. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/06-get-ai-state.mdx +0 -0
  730. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/07-get-mutable-ai-state.mdx +0 -0
  731. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/08-use-ai-state.mdx +0 -0
  732. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/09-use-actions.mdx +0 -0
  733. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/10-use-ui-state.mdx +0 -0
  734. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/11-use-streamable-value.mdx +0 -0
  735. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/20-render.mdx +0 -0
  736. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/03-ai-sdk-rsc/index.mdx +0 -0
  737. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/03-generate-video.mdx +0 -0
  738. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/04-ai-sdk-workflow/index.mdx +0 -0
  739. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-download-error.mdx +0 -0
  740. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-empty-response-body-error.mdx +0 -0
  741. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +0 -0
  742. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-data-content-error.mdx +0 -0
  743. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-message-role-error.mdx +0 -0
  744. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-prompt-error.mdx +0 -0
  745. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-response-data-error.mdx +0 -0
  746. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-error.mdx +0 -0
  747. /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
  748. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-input-error.mdx +0 -0
  749. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-json-parse-error.mdx +0 -0
  750. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-load-api-key-error.mdx +0 -0
  751. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-load-setting-error.mdx +0 -0
  752. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-message-conversion-error.mdx +0 -0
  753. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-content-generated-error.mdx +0 -0
  754. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +0 -0
  755. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-object-generated-error.mdx +0 -0
  756. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-output-generated-error.mdx +0 -0
  757. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-speech-generated-error.mdx +0 -0
  758. /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
  759. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-tool-error.mdx +0 -0
  760. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-transcript-generated-error.mdx +0 -0
  761. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-translation-generated-error.mdx +0 -0
  762. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-no-video-generated-error.mdx +0 -0
  763. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-retry-error.mdx +0 -0
  764. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-stream-provider-error.mdx +0 -0
  765. /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
  766. /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
  767. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-call-repair-error.mdx +0 -0
  768. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-choice-violation-error.mdx +0 -0
  769. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-type-validation-error.mdx +0 -0
  770. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/05-ai-sdk-errors/ai-unsupported-functionality-error.mdx +0 -0
  771. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/06-ai-sdk-tui/index.mdx +0 -0
  772. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/07-reference/index.mdx +0 -0
  773. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/00-versioning.mdx +0 -0
  774. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/23-migration-guide-7-0.mdx +0 -0
  775. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/24-migration-guide-6-0.mdx +0 -0
  776. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/25-migration-guide-5-0-data.mdx +0 -0
  777. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/26-migration-guide-5-0.mdx +0 -0
  778. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/27-migration-guide-4-2.mdx +0 -0
  779. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/28-migration-guide-4-1.mdx +0 -0
  780. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/36-migration-guide-3-4.mdx +0 -0
  781. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/38-migration-guide-3-2.mdx +0 -0
  782. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/39-migration-guide-3-1.mdx +0 -0
  783. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/08-migration-guides/index.mdx +0 -0
  784. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/01-azure-stream-slow.mdx +0 -0
  785. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/03-server-actions-in-client-components.mdx +0 -0
  786. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/04-strange-stream-output.mdx +0 -0
  787. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/05-streamable-ui-errors.mdx +0 -0
  788. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/05-tool-invocation-missing-result.mdx +0 -0
  789. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/06-streaming-not-working-when-deployed.mdx +0 -0
  790. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/06-streaming-not-working-when-proxied.mdx +0 -0
  791. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/06-timeout-on-vercel.mdx +0 -0
  792. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/07-unclosed-streams.mdx +0 -0
  793. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/08-use-chat-failed-to-parse-stream.mdx +0 -0
  794. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/09-client-stream-error.mdx +0 -0
  795. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/10-use-chat-tools-no-response.mdx +0 -0
  796. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/12-typescript-performance-zod.mdx +0 -0
  797. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/12-use-chat-an-error-occurred.mdx +0 -0
  798. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/14-stream-abort-handling.mdx +0 -0
  799. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/14-tool-calling-with-structured-outputs.mdx +0 -0
  800. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/15-abort-breaks-resumable-streams.mdx +0 -0
  801. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/15-stream-text-not-working.mdx +0 -0
  802. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/16-streaming-status-delay.mdx +0 -0
  803. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/18-ontoolcall-type-narrowing.mdx +0 -0
  804. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/19-unsupported-model-version.mdx +0 -0
  805. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/20-no-object-generated-content-filter.mdx +0 -0
  806. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/21-missing-tool-results-error.mdx +0 -0
  807. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/30-model-is-not-assignable-to-type.mdx +0 -0
  808. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/40-typescript-cannot-find-namespace-jsx.mdx +0 -0
  809. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/50-react-maximum-update-depth-exceeded.mdx +0 -0
  810. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/60-jest-cannot-find-module-ai-rsc.mdx +0 -0
  811. /package/node_modules/{@maka/runtime/node_modules/ai → ai}/docs/09-troubleshooting/index.mdx +0 -0
@@ -1,4 +1,4 @@
1
- const require_src = require('./src-NAgB4Mp8.cjs');
1
+ const require_src = require('./src-D0qEN74R.cjs');
2
2
  const require_cfWorkerProvider = require('./cfWorkerProvider-B3dvjU3F.cjs');
3
3
 
4
4
  //#region src/shimsWorkerd.ts
@@ -1,4 +1,4 @@
1
- import { n as preloadSchemas } from "./src-D_zzAWoS.mjs";
1
+ import { n as preloadSchemas } from "./src-DDAAhLnO.mjs";
2
2
  import { t as CfWorkerJsonSchemaValidator } from "./cfWorkerProvider-BylNJ1R5.mjs";
3
3
 
4
4
  //#region src/shimsWorkerd.ts
@@ -177,6 +177,16 @@ let OAuthErrorCode = /* @__PURE__ */ function(OAuthErrorCode$1) {
177
177
  * The requested resource is invalid, missing, unknown, or malformed. (Custom error for resource indicators - RFC 8707)
178
178
  */
179
179
  OAuthErrorCode$1["InvalidTarget"] = "invalid_target";
180
+ /**
181
+ * The DPoP proof accompanying the request is invalid, or does not match the key the grant
182
+ * (e.g. a refresh token) is bound to. (RFC 9449 §5 / §7.1)
183
+ */
184
+ OAuthErrorCode$1["InvalidDpopProof"] = "invalid_dpop_proof";
185
+ /**
186
+ * The server requires a server-supplied nonce in the DPoP proof; retry with the `DPoP-Nonce`
187
+ * it returned. (RFC 9449 §8 / §9)
188
+ */
189
+ OAuthErrorCode$1["UseDpopNonce"] = "use_dpop_nonce";
180
190
  return OAuthErrorCode$1;
181
191
  }({});
182
192
  /**
@@ -360,8 +370,18 @@ var SdkError = class extends Error {
360
370
  if (typeof this !== "function") throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");
361
371
  return brandedHasInstance(this, value);
362
372
  }
363
- constructor(code, message, data) {
364
- super(message);
373
+ /**
374
+ * @param code - Stable string code identifying the failure ({@linkcode SdkErrorCode}).
375
+ * @param message - Human-readable description.
376
+ * @param data - Optional structured payload (for example the HTTP status carried by
377
+ * {@linkcode SdkHttpError}). Opaque to the SDK: a `cause` key inside `data` is not
378
+ * promoted to `Error.cause`.
379
+ * @param options - Standard `ErrorOptions`, forwarded to `Error`. Pass the underlying
380
+ * failure as `{ cause }` so it is reachable through the `Error.cause` chain that
381
+ * loggers and error trackers walk.
382
+ */
383
+ constructor(code, message, data, options) {
384
+ super(message, options);
365
385
  this.code = code;
366
386
  this.data = data;
367
387
  this.name = "SdkError";
@@ -388,8 +408,11 @@ var SdkHttpError = class extends SdkError {
388
408
  static {
389
409
  Object.defineProperty(this, "mcpBrand", { value: "mcp.SdkHttpError" });
390
410
  }
391
- constructor(code, message, data) {
392
- super(code, message, data);
411
+ /**
412
+ * @param options - Standard `ErrorOptions`, forwarded to `Error` (see {@linkcode SdkError}).
413
+ */
414
+ constructor(code, message, data, options) {
415
+ super(code, message, data, options);
393
416
  this.name = "SdkHttpError";
394
417
  }
395
418
  get status() {
@@ -2215,7 +2238,7 @@ const rev2025NotificationMethods = Object.keys(notificationMethodKeys$1);
2215
2238
 
2216
2239
  //#endregion
2217
2240
  //#region ../core-internal/src/wire/rev2025-11-25/codec.ts
2218
- function isPlainObject$4(value) {
2241
+ function isPlainObject$5(value) {
2219
2242
  return value !== null && typeof value === "object" && !Array.isArray(value);
2220
2243
  }
2221
2244
  /** Tri-state wrap of an optional Zod schema lookup (the function-only contract). */
@@ -2240,7 +2263,7 @@ const NOT_IN_ERA$1 = {
2240
2263
  };
2241
2264
  /** Whether a `tools/list` entry advertises a non-object `outputSchema` root that needs the SEP-2106 legacy wrap. */
2242
2265
  function toolNeedsLegacyWrap(t) {
2243
- return isPlainObject$4(t) && isPlainObject$4(t["outputSchema"]) && isNonObjectJsonSchemaRoot(t["outputSchema"]);
2266
+ return isPlainObject$5(t) && isPlainObject$5(t["outputSchema"]) && isNonObjectJsonSchemaRoot(t["outputSchema"]);
2244
2267
  }
2245
2268
  /** The wire→neutral trust boundary: a decoded 2025-era wire result is adopted as the neutral `Result` here (the module's single deliberate assertion). */
2246
2269
  function toNeutralResult(value) {
@@ -2275,7 +2298,7 @@ const rev2025Codec = {
2275
2298
  };
2276
2299
  },
2277
2300
  decodeResult(_method, raw) {
2278
- if (isPlainObject$4(raw) && "resultType" in raw) {
2301
+ if (isPlainObject$5(raw) && "resultType" in raw) {
2279
2302
  const stripped = { ...raw };
2280
2303
  delete stripped["resultType"];
2281
2304
  return {
@@ -3650,7 +3673,7 @@ function fillCacheFields(method, result) {
3650
3673
  delete filled[RESULT_CACHE_HINT_FALLBACK];
3651
3674
  return filled;
3652
3675
  }
3653
- function isPlainObject$3(value) {
3676
+ function isPlainObject$4(value) {
3654
3677
  return value !== null && typeof value === "object" && !Array.isArray(value);
3655
3678
  }
3656
3679
  /**
@@ -3678,7 +3701,7 @@ function stampServerInfoMeta(result, serverInfo) {
3678
3701
  ...result,
3679
3702
  _meta: { [_modelcontextprotocol_core_internal.SERVER_INFO_META_KEY]: serverInfo }
3680
3703
  };
3681
- if (!isPlainObject$3(meta)) return result;
3704
+ if (!isPlainObject$4(meta)) return result;
3682
3705
  if (meta[_modelcontextprotocol_core_internal.SERVER_INFO_META_KEY] !== void 0) return result;
3683
3706
  return {
3684
3707
  ...result,
@@ -3823,7 +3846,7 @@ const rev2026NotificationMethods = Object.keys(notificationMethodKeys);
3823
3846
 
3824
3847
  //#endregion
3825
3848
  //#region ../core-internal/src/wire/rev2026-07-28/codec.ts
3826
- function isPlainObject$2(value) {
3849
+ function isPlainObject$3(value) {
3827
3850
  return value !== null && typeof value === "object" && !Array.isArray(value);
3828
3851
  }
3829
3852
  /** Tri-state wrap of an optional Zod schema lookup (the function-only contract). */
@@ -3865,14 +3888,14 @@ function enforceDeletedFields(method, result) {
3865
3888
  return next;
3866
3889
  };
3867
3890
  const tools = result.tools;
3868
- if (method === "tools/list" && Array.isArray(tools) && tools.some((tool) => isPlainObject$2(tool) && "execution" in tool)) copy().tools = tools.map((tool) => {
3869
- if (!isPlainObject$2(tool) || !("execution" in tool)) return tool;
3891
+ if (method === "tools/list" && Array.isArray(tools) && tools.some((tool) => isPlainObject$3(tool) && "execution" in tool)) copy().tools = tools.map((tool) => {
3892
+ if (!isPlainObject$3(tool) || !("execution" in tool)) return tool;
3870
3893
  const rest = { ...tool };
3871
3894
  delete rest["execution"];
3872
3895
  return rest;
3873
3896
  });
3874
3897
  const capabilities = result.capabilities;
3875
- if (isPlainObject$2(capabilities) && "tasks" in capabilities) {
3898
+ if (isPlainObject$3(capabilities) && "tasks" in capabilities) {
3876
3899
  const rest = { ...capabilities };
3877
3900
  delete rest["tasks"];
3878
3901
  copy().capabilities = rest;
@@ -3919,7 +3942,7 @@ const rev2026Codec = {
3919
3942
  projectCallToolResult: (result) => appendTextFallbackForNonObject(result),
3920
3943
  inputRequestSchema: getInputRequestSchema2026,
3921
3944
  decodeResult(method, raw) {
3922
- if (!isPlainObject$2(raw)) return {
3945
+ if (!isPlainObject$3(raw)) return {
3923
3946
  kind: "invalid",
3924
3947
  error: new SdkError(SdkErrorCode.InvalidResult, `Invalid result for ${method}: not an object`, { method })
3925
3948
  };
@@ -3940,7 +3963,7 @@ const rev2026Codec = {
3940
3963
  };
3941
3964
  if (rawResultType === "input_required") {
3942
3965
  const rawInputRequests = raw["inputRequests"];
3943
- const inputRequests = isPlainObject$2(rawInputRequests) ? rawInputRequests : {};
3966
+ const inputRequests = isPlainObject$3(rawInputRequests) ? rawInputRequests : {};
3944
3967
  const requestState = raw["requestState"];
3945
3968
  if (Object.keys(inputRequests).length === 0 && typeof requestState !== "string") return {
3946
3969
  kind: "invalid",
@@ -4608,7 +4631,7 @@ const INBOUND_VALIDATION_LADDER = [
4608
4631
  evaluatedAt: "pre-dispatch",
4609
4632
  codes: [HEADER_MISMATCH_ERROR_CODE],
4610
4633
  conformance: ["http-header-validation"],
4611
- rationale: "SEP-2243 standard `Mcp-Method` / `Mcp-Name` headers — presence, sentinel decoding, and `Mcp-Name` ↔ body cross-check — are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The classifier’s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5–6) are consulted."
4634
+ rationale: "SEP-2243 standard `MCP-Protocol-Version` / `Mcp-Method` / `Mcp-Name` headers — presence, sentinel decoding, and `Mcp-Name` ↔ body cross-check — are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The spec requires `MCP-Protocol-Version` and `Mcp-Method` on every modern *request* POST (`Mcp-Name` only for the methods that mirror `params.name` / `params.uri` / `params.taskId`, see `MCP_NAME_HEADER_SOURCE`) and names them in that order, so a request missing several is answered by the earliest. Notification POSTs are exempt: the presence half runs on requests only, so a modern-enveloped notification is dispatched even with no standard headers at all. The classifier’s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half — including the missing `MCP-Protocol-Version` cell, which cannot live on the edge rung without breaking body-primary classification. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5–6) are consulted."
4612
4635
  },
4613
4636
  {
4614
4637
  rung: "client-capabilities",
@@ -4651,6 +4674,55 @@ const LADDER_ERROR_HTTP_STATUS = {
4651
4674
  [ProtocolErrorCode.MissingRequiredClientCapability]: 400,
4652
4675
  [HEADER_MISMATCH_ERROR_CODE]: 400
4653
4676
  };
4677
+ /**
4678
+ * The methods whose body carries a `params.name` / `params.uri` /
4679
+ * `params.taskId` value the `Mcp-Name` header must mirror, and which body
4680
+ * field supplies it. The core rows come from SEP-2243 § Standard Request
4681
+ * Headers (`Required For` column); the `tasks/*` rows come from SEP-2663's
4682
+ * Streamable HTTP binding ("the client MUST set the `Mcp-Name` header to the
4683
+ * value of `params.taskId`" for `tasks/get` / `tasks/update` /
4684
+ * `tasks/cancel`, so intermediaries can route every request for a task to the
4685
+ * instance holding its state). Shared by the client transport (header
4686
+ * emission) and the server ladder (validation) so both sides derive from one
4687
+ * table.
4688
+ */
4689
+ const MCP_NAME_HEADER_SOURCE = {
4690
+ "tools/call": "name",
4691
+ "prompts/get": "name",
4692
+ "resources/read": "uri",
4693
+ "tasks/get": "taskId",
4694
+ "tasks/update": "taskId",
4695
+ "tasks/cancel": "taskId"
4696
+ };
4697
+ /**
4698
+ * Resolve the `Mcp-Name` source for one request against
4699
+ * {@linkcode MCP_NAME_HEADER_SOURCE}: which body field the header mirrors for
4700
+ * `method`, and the string value that field carries in `params`.
4701
+ *
4702
+ * Returns `undefined` when `method` is off-table (no `Mcp-Name` is emitted or
4703
+ * required). Otherwise `value` is the field's string value, or `undefined`
4704
+ * when `params` is not a plain object or the field is absent / not a string —
4705
+ * the client emits no header then, and the server leaves that body to the
4706
+ * rungs further down the ladder.
4707
+ *
4708
+ * `method` is peer-supplied on the server and caller-supplied on the client,
4709
+ * so the table lookup is `Object.hasOwn`-guarded against `Object.prototype`
4710
+ * collisions (`constructor`, `toString`, …). Shared by the client transport
4711
+ * (emission) and {@linkcode validateStandardRequestHeaders} (validation) so
4712
+ * the extraction — not just the table — cannot drift between the two sides.
4713
+ */
4714
+ function mcpNameSource(method, params) {
4715
+ const field = Object.hasOwn(MCP_NAME_HEADER_SOURCE, method) ? MCP_NAME_HEADER_SOURCE[method] : void 0;
4716
+ if (field === void 0) return;
4717
+ const raw = isPlainObject$2(params) ? params[field] : void 0;
4718
+ return {
4719
+ field,
4720
+ value: typeof raw === "string" ? raw : void 0
4721
+ };
4722
+ }
4723
+ function isPlainObject$2(value) {
4724
+ return value !== null && typeof value === "object" && !Array.isArray(value);
4725
+ }
4654
4726
 
4655
4727
  //#endregion
4656
4728
  //#region ../core-internal/src/util/schema.ts
@@ -5714,7 +5786,7 @@ var Protocol = class {
5714
5786
  return this._requestHandlers.get(method);
5715
5787
  }
5716
5788
  async _oncancel(notification) {
5717
- if (!notification.params.requestId) return;
5789
+ if (notification.params.requestId === void 0) return;
5718
5790
  this._requestHandlerAbortControllers.get(notification.params.requestId)?.abort(notification.params.reason);
5719
5791
  }
5720
5792
  _setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeoutOnProgress = false) {
@@ -6114,19 +6186,20 @@ var Protocol = class {
6114
6186
  const cancel = (reason) => {
6115
6187
  if (responseReceived) return;
6116
6188
  this._progressHandlers.delete(messageId);
6117
- if (requestAbort === void 0) this._transport?.send(this._envelopeOutbound({
6118
- jsonrpc: "2.0",
6119
- method: "notifications/cancelled",
6120
- params: {
6121
- requestId: messageId,
6122
- reason: String(reason)
6123
- }
6124
- }), {
6125
- relatedRequestId,
6126
- resumptionToken,
6127
- onresumptiontoken
6128
- }).catch(makaCancellationErrorObserver(this));
6129
- else requestAbort.abort();
6189
+ if (requestAbort === void 0) {
6190
+ if (request.method !== "initialize") this._transport?.send(this._envelopeOutbound({
6191
+ jsonrpc: "2.0",
6192
+ method: "notifications/cancelled",
6193
+ params: {
6194
+ requestId: messageId,
6195
+ reason: String(reason)
6196
+ }
6197
+ }), {
6198
+ relatedRequestId,
6199
+ resumptionToken,
6200
+ onresumptiontoken
6201
+ }).catch(makaCancellationErrorObserver(this));
6202
+ } else requestAbort.abort();
6130
6203
  reject(reason instanceof SdkError ? reason : new SdkError(SdkErrorCode.RequestTimeout, String(reason)));
6131
6204
  };
6132
6205
  this._responseHandlers.set(messageId, (response) => {
@@ -6206,7 +6279,7 @@ var Protocol = class {
6206
6279
  jsonrpc: "2.0",
6207
6280
  ...notification
6208
6281
  });
6209
- if ((this._options?.debouncedNotificationMethods ?? []).includes(notification.method) && !notification.params && !options?.relatedRequestId) {
6282
+ if ((this._options?.debouncedNotificationMethods ?? []).includes(notification.method) && !notification.params && options?.relatedRequestId === void 0) {
6210
6283
  if (this._pendingDebouncedNotifications.has(notification.method)) return;
6211
6284
  this._pendingDebouncedNotifications.add(notification.method);
6212
6285
  Promise.resolve().then(() => {
@@ -7355,6 +7428,12 @@ Object.defineProperty(exports, 'legacyProtocolVersions', {
7355
7428
  return legacyProtocolVersions;
7356
7429
  }
7357
7430
  });
7431
+ Object.defineProperty(exports, 'mcpNameSource', {
7432
+ enumerable: true,
7433
+ get: function () {
7434
+ return mcpNameSource;
7435
+ }
7436
+ });
7358
7437
  Object.defineProperty(exports, 'mediaTypeEssence', {
7359
7438
  enumerable: true,
7360
7439
  get: function () {
@@ -7373,12 +7452,6 @@ Object.defineProperty(exports, 'modernProtocolVersions', {
7373
7452
  return modernProtocolVersions;
7374
7453
  }
7375
7454
  });
7376
- Object.defineProperty(exports, 'normalizeHeaders', {
7377
- enumerable: true,
7378
- get: function () {
7379
- return normalizeHeaders;
7380
- }
7381
- });
7382
7455
  Object.defineProperty(exports, 'parseJSONRPCMessage', {
7383
7456
  enumerable: true,
7384
7457
  get: function () {
@@ -7445,4 +7518,4 @@ Object.defineProperty(exports, 'withInputRequired', {
7445
7518
  return withInputRequired;
7446
7519
  }
7447
7520
  });
7448
- //# sourceMappingURL=src-NAgB4Mp8.cjs.map
7521
+ //# sourceMappingURL=src-D0qEN74R.cjs.map
@@ -176,6 +176,16 @@ let OAuthErrorCode = /* @__PURE__ */ function(OAuthErrorCode$1) {
176
176
  * The requested resource is invalid, missing, unknown, or malformed. (Custom error for resource indicators - RFC 8707)
177
177
  */
178
178
  OAuthErrorCode$1["InvalidTarget"] = "invalid_target";
179
+ /**
180
+ * The DPoP proof accompanying the request is invalid, or does not match the key the grant
181
+ * (e.g. a refresh token) is bound to. (RFC 9449 §5 / §7.1)
182
+ */
183
+ OAuthErrorCode$1["InvalidDpopProof"] = "invalid_dpop_proof";
184
+ /**
185
+ * The server requires a server-supplied nonce in the DPoP proof; retry with the `DPoP-Nonce`
186
+ * it returned. (RFC 9449 §8 / §9)
187
+ */
188
+ OAuthErrorCode$1["UseDpopNonce"] = "use_dpop_nonce";
179
189
  return OAuthErrorCode$1;
180
190
  }({});
181
191
  /**
@@ -359,8 +369,18 @@ var SdkError = class extends Error {
359
369
  if (typeof this !== "function") throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");
360
370
  return brandedHasInstance(this, value);
361
371
  }
362
- constructor(code, message, data) {
363
- super(message);
372
+ /**
373
+ * @param code - Stable string code identifying the failure ({@linkcode SdkErrorCode}).
374
+ * @param message - Human-readable description.
375
+ * @param data - Optional structured payload (for example the HTTP status carried by
376
+ * {@linkcode SdkHttpError}). Opaque to the SDK: a `cause` key inside `data` is not
377
+ * promoted to `Error.cause`.
378
+ * @param options - Standard `ErrorOptions`, forwarded to `Error`. Pass the underlying
379
+ * failure as `{ cause }` so it is reachable through the `Error.cause` chain that
380
+ * loggers and error trackers walk.
381
+ */
382
+ constructor(code, message, data, options) {
383
+ super(message, options);
364
384
  this.code = code;
365
385
  this.data = data;
366
386
  this.name = "SdkError";
@@ -387,8 +407,11 @@ var SdkHttpError = class extends SdkError {
387
407
  static {
388
408
  Object.defineProperty(this, "mcpBrand", { value: "mcp.SdkHttpError" });
389
409
  }
390
- constructor(code, message, data) {
391
- super(code, message, data);
410
+ /**
411
+ * @param options - Standard `ErrorOptions`, forwarded to `Error` (see {@linkcode SdkError}).
412
+ */
413
+ constructor(code, message, data, options) {
414
+ super(code, message, data, options);
392
415
  this.name = "SdkHttpError";
393
416
  }
394
417
  get status() {
@@ -2214,7 +2237,7 @@ const rev2025NotificationMethods = Object.keys(notificationMethodKeys$1);
2214
2237
 
2215
2238
  //#endregion
2216
2239
  //#region ../core-internal/src/wire/rev2025-11-25/codec.ts
2217
- function isPlainObject$4(value) {
2240
+ function isPlainObject$5(value) {
2218
2241
  return value !== null && typeof value === "object" && !Array.isArray(value);
2219
2242
  }
2220
2243
  /** Tri-state wrap of an optional Zod schema lookup (the function-only contract). */
@@ -2239,7 +2262,7 @@ const NOT_IN_ERA$1 = {
2239
2262
  };
2240
2263
  /** Whether a `tools/list` entry advertises a non-object `outputSchema` root that needs the SEP-2106 legacy wrap. */
2241
2264
  function toolNeedsLegacyWrap(t) {
2242
- return isPlainObject$4(t) && isPlainObject$4(t["outputSchema"]) && isNonObjectJsonSchemaRoot(t["outputSchema"]);
2265
+ return isPlainObject$5(t) && isPlainObject$5(t["outputSchema"]) && isNonObjectJsonSchemaRoot(t["outputSchema"]);
2243
2266
  }
2244
2267
  /** The wire→neutral trust boundary: a decoded 2025-era wire result is adopted as the neutral `Result` here (the module's single deliberate assertion). */
2245
2268
  function toNeutralResult(value) {
@@ -2274,7 +2297,7 @@ const rev2025Codec = {
2274
2297
  };
2275
2298
  },
2276
2299
  decodeResult(_method, raw) {
2277
- if (isPlainObject$4(raw) && "resultType" in raw) {
2300
+ if (isPlainObject$5(raw) && "resultType" in raw) {
2278
2301
  const stripped = { ...raw };
2279
2302
  delete stripped["resultType"];
2280
2303
  return {
@@ -3649,7 +3672,7 @@ function fillCacheFields(method, result) {
3649
3672
  delete filled[RESULT_CACHE_HINT_FALLBACK];
3650
3673
  return filled;
3651
3674
  }
3652
- function isPlainObject$3(value) {
3675
+ function isPlainObject$4(value) {
3653
3676
  return value !== null && typeof value === "object" && !Array.isArray(value);
3654
3677
  }
3655
3678
  /**
@@ -3677,7 +3700,7 @@ function stampServerInfoMeta(result, serverInfo) {
3677
3700
  ...result,
3678
3701
  _meta: { [SERVER_INFO_META_KEY]: serverInfo }
3679
3702
  };
3680
- if (!isPlainObject$3(meta)) return result;
3703
+ if (!isPlainObject$4(meta)) return result;
3681
3704
  if (meta[SERVER_INFO_META_KEY] !== void 0) return result;
3682
3705
  return {
3683
3706
  ...result,
@@ -3822,7 +3845,7 @@ const rev2026NotificationMethods = Object.keys(notificationMethodKeys);
3822
3845
 
3823
3846
  //#endregion
3824
3847
  //#region ../core-internal/src/wire/rev2026-07-28/codec.ts
3825
- function isPlainObject$2(value) {
3848
+ function isPlainObject$3(value) {
3826
3849
  return value !== null && typeof value === "object" && !Array.isArray(value);
3827
3850
  }
3828
3851
  /** Tri-state wrap of an optional Zod schema lookup (the function-only contract). */
@@ -3864,14 +3887,14 @@ function enforceDeletedFields(method, result) {
3864
3887
  return next;
3865
3888
  };
3866
3889
  const tools = result.tools;
3867
- if (method === "tools/list" && Array.isArray(tools) && tools.some((tool) => isPlainObject$2(tool) && "execution" in tool)) copy().tools = tools.map((tool) => {
3868
- if (!isPlainObject$2(tool) || !("execution" in tool)) return tool;
3890
+ if (method === "tools/list" && Array.isArray(tools) && tools.some((tool) => isPlainObject$3(tool) && "execution" in tool)) copy().tools = tools.map((tool) => {
3891
+ if (!isPlainObject$3(tool) || !("execution" in tool)) return tool;
3869
3892
  const rest = { ...tool };
3870
3893
  delete rest["execution"];
3871
3894
  return rest;
3872
3895
  });
3873
3896
  const capabilities = result.capabilities;
3874
- if (isPlainObject$2(capabilities) && "tasks" in capabilities) {
3897
+ if (isPlainObject$3(capabilities) && "tasks" in capabilities) {
3875
3898
  const rest = { ...capabilities };
3876
3899
  delete rest["tasks"];
3877
3900
  copy().capabilities = rest;
@@ -3918,7 +3941,7 @@ const rev2026Codec = {
3918
3941
  projectCallToolResult: (result) => appendTextFallbackForNonObject(result),
3919
3942
  inputRequestSchema: getInputRequestSchema2026,
3920
3943
  decodeResult(method, raw) {
3921
- if (!isPlainObject$2(raw)) return {
3944
+ if (!isPlainObject$3(raw)) return {
3922
3945
  kind: "invalid",
3923
3946
  error: new SdkError(SdkErrorCode.InvalidResult, `Invalid result for ${method}: not an object`, { method })
3924
3947
  };
@@ -3939,7 +3962,7 @@ const rev2026Codec = {
3939
3962
  };
3940
3963
  if (rawResultType === "input_required") {
3941
3964
  const rawInputRequests = raw["inputRequests"];
3942
- const inputRequests = isPlainObject$2(rawInputRequests) ? rawInputRequests : {};
3965
+ const inputRequests = isPlainObject$3(rawInputRequests) ? rawInputRequests : {};
3943
3966
  const requestState = raw["requestState"];
3944
3967
  if (Object.keys(inputRequests).length === 0 && typeof requestState !== "string") return {
3945
3968
  kind: "invalid",
@@ -4607,7 +4630,7 @@ const INBOUND_VALIDATION_LADDER = [
4607
4630
  evaluatedAt: "pre-dispatch",
4608
4631
  codes: [HEADER_MISMATCH_ERROR_CODE],
4609
4632
  conformance: ["http-header-validation"],
4610
- rationale: "SEP-2243 standard `Mcp-Method` / `Mcp-Name` headers — presence, sentinel decoding, and `Mcp-Name` ↔ body cross-check — are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The classifier’s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5–6) are consulted."
4633
+ rationale: "SEP-2243 standard `MCP-Protocol-Version` / `Mcp-Method` / `Mcp-Name` headers — presence, sentinel decoding, and `Mcp-Name` ↔ body cross-check — are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The spec requires `MCP-Protocol-Version` and `Mcp-Method` on every modern *request* POST (`Mcp-Name` only for the methods that mirror `params.name` / `params.uri` / `params.taskId`, see `MCP_NAME_HEADER_SOURCE`) and names them in that order, so a request missing several is answered by the earliest. Notification POSTs are exempt: the presence half runs on requests only, so a modern-enveloped notification is dispatched even with no standard headers at all. The classifier’s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half — including the missing `MCP-Protocol-Version` cell, which cannot live on the edge rung without breaking body-primary classification. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5–6) are consulted."
4611
4634
  },
4612
4635
  {
4613
4636
  rung: "client-capabilities",
@@ -4650,6 +4673,55 @@ const LADDER_ERROR_HTTP_STATUS = {
4650
4673
  [ProtocolErrorCode.MissingRequiredClientCapability]: 400,
4651
4674
  [HEADER_MISMATCH_ERROR_CODE]: 400
4652
4675
  };
4676
+ /**
4677
+ * The methods whose body carries a `params.name` / `params.uri` /
4678
+ * `params.taskId` value the `Mcp-Name` header must mirror, and which body
4679
+ * field supplies it. The core rows come from SEP-2243 § Standard Request
4680
+ * Headers (`Required For` column); the `tasks/*` rows come from SEP-2663's
4681
+ * Streamable HTTP binding ("the client MUST set the `Mcp-Name` header to the
4682
+ * value of `params.taskId`" for `tasks/get` / `tasks/update` /
4683
+ * `tasks/cancel`, so intermediaries can route every request for a task to the
4684
+ * instance holding its state). Shared by the client transport (header
4685
+ * emission) and the server ladder (validation) so both sides derive from one
4686
+ * table.
4687
+ */
4688
+ const MCP_NAME_HEADER_SOURCE = {
4689
+ "tools/call": "name",
4690
+ "prompts/get": "name",
4691
+ "resources/read": "uri",
4692
+ "tasks/get": "taskId",
4693
+ "tasks/update": "taskId",
4694
+ "tasks/cancel": "taskId"
4695
+ };
4696
+ /**
4697
+ * Resolve the `Mcp-Name` source for one request against
4698
+ * {@linkcode MCP_NAME_HEADER_SOURCE}: which body field the header mirrors for
4699
+ * `method`, and the string value that field carries in `params`.
4700
+ *
4701
+ * Returns `undefined` when `method` is off-table (no `Mcp-Name` is emitted or
4702
+ * required). Otherwise `value` is the field's string value, or `undefined`
4703
+ * when `params` is not a plain object or the field is absent / not a string —
4704
+ * the client emits no header then, and the server leaves that body to the
4705
+ * rungs further down the ladder.
4706
+ *
4707
+ * `method` is peer-supplied on the server and caller-supplied on the client,
4708
+ * so the table lookup is `Object.hasOwn`-guarded against `Object.prototype`
4709
+ * collisions (`constructor`, `toString`, …). Shared by the client transport
4710
+ * (emission) and {@linkcode validateStandardRequestHeaders} (validation) so
4711
+ * the extraction — not just the table — cannot drift between the two sides.
4712
+ */
4713
+ function mcpNameSource(method, params) {
4714
+ const field = Object.hasOwn(MCP_NAME_HEADER_SOURCE, method) ? MCP_NAME_HEADER_SOURCE[method] : void 0;
4715
+ if (field === void 0) return;
4716
+ const raw = isPlainObject$2(params) ? params[field] : void 0;
4717
+ return {
4718
+ field,
4719
+ value: typeof raw === "string" ? raw : void 0
4720
+ };
4721
+ }
4722
+ function isPlainObject$2(value) {
4723
+ return value !== null && typeof value === "object" && !Array.isArray(value);
4724
+ }
4653
4725
 
4654
4726
  //#endregion
4655
4727
  //#region ../core-internal/src/util/schema.ts
@@ -5713,7 +5785,7 @@ var Protocol = class {
5713
5785
  return this._requestHandlers.get(method);
5714
5786
  }
5715
5787
  async _oncancel(notification) {
5716
- if (!notification.params.requestId) return;
5788
+ if (notification.params.requestId === void 0) return;
5717
5789
  this._requestHandlerAbortControllers.get(notification.params.requestId)?.abort(notification.params.reason);
5718
5790
  }
5719
5791
  _setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeoutOnProgress = false) {
@@ -6113,19 +6185,20 @@ var Protocol = class {
6113
6185
  const cancel = (reason) => {
6114
6186
  if (responseReceived) return;
6115
6187
  this._progressHandlers.delete(messageId);
6116
- if (requestAbort === void 0) this._transport?.send(this._envelopeOutbound({
6117
- jsonrpc: "2.0",
6118
- method: "notifications/cancelled",
6119
- params: {
6120
- requestId: messageId,
6121
- reason: String(reason)
6122
- }
6123
- }), {
6124
- relatedRequestId,
6125
- resumptionToken,
6126
- onresumptiontoken
6127
- }).catch(makaCancellationErrorObserver(this));
6128
- else requestAbort.abort();
6188
+ if (requestAbort === void 0) {
6189
+ if (request.method !== "initialize") this._transport?.send(this._envelopeOutbound({
6190
+ jsonrpc: "2.0",
6191
+ method: "notifications/cancelled",
6192
+ params: {
6193
+ requestId: messageId,
6194
+ reason: String(reason)
6195
+ }
6196
+ }), {
6197
+ relatedRequestId,
6198
+ resumptionToken,
6199
+ onresumptiontoken
6200
+ }).catch(makaCancellationErrorObserver(this));
6201
+ } else requestAbort.abort();
6129
6202
  reject(reason instanceof SdkError ? reason : new SdkError(SdkErrorCode.RequestTimeout, String(reason)));
6130
6203
  };
6131
6204
  this._responseHandlers.set(messageId, (response) => {
@@ -6205,7 +6278,7 @@ var Protocol = class {
6205
6278
  jsonrpc: "2.0",
6206
6279
  ...notification
6207
6280
  });
6208
- if ((this._options?.debouncedNotificationMethods ?? []).includes(notification.method) && !notification.params && !options?.relatedRequestId) {
6281
+ if ((this._options?.debouncedNotificationMethods ?? []).includes(notification.method) && !notification.params && options?.relatedRequestId === void 0) {
6209
6282
  if (this._pendingDebouncedNotifications.has(notification.method)) return;
6210
6283
  this._pendingDebouncedNotifications.add(notification.method);
6211
6284
  Promise.resolve().then(() => {
@@ -7076,5 +7149,5 @@ function fromJsonSchema(schema, validator) {
7076
7149
  }
7077
7150
 
7078
7151
  //#endregion
7079
- export { legacyProtocolVersions as $, isInitializeRequest as A, SdkErrorCode as At, DiscoverResultSchema as B, HEADER_MISMATCH_ERROR_CODE as C, OAuthClientInformationFullSchema as Ct, assertCompleteRequestPrompt as D, OAuthTokensSchema as Dt, scanXMcpHeaderDeclarations as E, OAuthProtectedResourceMetadataSchema as Et, isJSONRPCRequest as F, stampErrorBrands as Ft, MissingRequiredClientCapabilityError as G, ListChangedOptionsBaseSchema as H, isJSONRPCResponse as I, UnsupportedProtocolVersionError as J, ProtocolError as K, isJSONRPCResultResponse as L, isInputRequiredResult as M, OAuthError as Mt, isJSONRPCErrorResponse as N, OAuthErrorCode as Nt, assertCompleteRequestResourceTemplate as O, OpenIdProviderDiscoveryMetadataSchema as Ot, isJSONRPCNotification as P, brandedHasInstance as Pt, isModernProtocolVersion as Q, isTaskAugmentedRequestParams as R, parseSchema as S, IdJagTokenExchangeResponseSchema as St, encodeMcpParamValue as T, OAuthMetadataSchema as Tt, MODERN_WIRE_REVISION as U, JSONRPCMessageSchema as V, codecForVersion as W, ProtocolErrorCode as X, UrlElicitationRequiredError as Y, SUPPORTED_MODERN_PROTOCOL_VERSIONS as Z, mergeCapabilities as _, SUPPORTED_PROTOCOL_VERSIONS as _t, createFetchWithInit as a, INTERNAL_ERROR as at, resolveInputRequiredDriverConfig as b, checkResourceAllowed as bt, STDIO_DEFAULT_MAX_BUFFER_SIZE as c, JSONRPC_VERSION as ct, getDisplayName as d, METHOD_NOT_FOUND as dt, modernProtocolVersions as et, isJsonContentType as f, PARSE_ERROR as ft, Protocol as g, SUBSCRIPTION_ID_META_KEY as gt, DEFAULT_REQUEST_TIMEOUT_MSEC as h, SERVER_INFO_META_KEY as ht, UriTemplate as i, DEFAULT_NEGOTIATED_PROTOCOL_VERSION as it, isInitializedNotification as j, SdkHttpError as jt, isCallToolResult as k, SdkError as kt, deserializeMessage as l, LATEST_PROTOCOL_VERSION as lt, runInputRequiredFlow as m, RELATED_TASK_META_KEY as mt, preloadSchemas as n, CLIENT_CAPABILITIES_META_KEY as nt, normalizeHeaders as o, INVALID_PARAMS as ot, mediaTypeEssence as p, PROTOCOL_VERSION_META_KEY as pt, ResourceNotFoundError as q, InMemoryTransport as r, CLIENT_INFO_META_KEY as rt, ReadBuffer as s, INVALID_REQUEST as st, fromJsonSchema as t, BAGGAGE_META_KEY as tt, serializeMessage as u, LOG_LEVEL_META_KEY as ut, isSpecType as v, TRACEPARENT_META_KEY as vt, buildMcpParamHeaders as w, OAuthErrorResponseSchema as wt, withInputRequired as x, resourceUrlFromServerUrl as xt, specTypeSchemas as y, TRACESTATE_META_KEY as yt, parseJSONRPCMessage as z };
7080
- //# sourceMappingURL=src-D_zzAWoS.mjs.map
7152
+ export { legacyProtocolVersions as $, isInitializeRequest as A, SdkErrorCode as At, DiscoverResultSchema as B, mcpNameSource as C, OAuthClientInformationFullSchema as Ct, assertCompleteRequestPrompt as D, OAuthTokensSchema as Dt, scanXMcpHeaderDeclarations as E, OAuthProtectedResourceMetadataSchema as Et, isJSONRPCRequest as F, stampErrorBrands as Ft, MissingRequiredClientCapabilityError as G, ListChangedOptionsBaseSchema as H, isJSONRPCResponse as I, UnsupportedProtocolVersionError as J, ProtocolError as K, isJSONRPCResultResponse as L, isInputRequiredResult as M, OAuthError as Mt, isJSONRPCErrorResponse as N, OAuthErrorCode as Nt, assertCompleteRequestResourceTemplate as O, OpenIdProviderDiscoveryMetadataSchema as Ot, isJSONRPCNotification as P, brandedHasInstance as Pt, isModernProtocolVersion as Q, isTaskAugmentedRequestParams as R, HEADER_MISMATCH_ERROR_CODE as S, IdJagTokenExchangeResponseSchema as St, encodeMcpParamValue as T, OAuthMetadataSchema as Tt, MODERN_WIRE_REVISION as U, JSONRPCMessageSchema as V, codecForVersion as W, ProtocolErrorCode as X, UrlElicitationRequiredError as Y, SUPPORTED_MODERN_PROTOCOL_VERSIONS as Z, isSpecType as _, SUPPORTED_PROTOCOL_VERSIONS as _t, createFetchWithInit as a, INTERNAL_ERROR as at, withInputRequired as b, checkResourceAllowed as bt, deserializeMessage as c, JSONRPC_VERSION as ct, isJsonContentType as d, METHOD_NOT_FOUND as dt, modernProtocolVersions as et, mediaTypeEssence as f, PARSE_ERROR as ft, mergeCapabilities as g, SUBSCRIPTION_ID_META_KEY as gt, Protocol as h, SERVER_INFO_META_KEY as ht, UriTemplate as i, DEFAULT_NEGOTIATED_PROTOCOL_VERSION as it, isInitializedNotification as j, SdkHttpError as jt, isCallToolResult as k, SdkError as kt, serializeMessage as l, LATEST_PROTOCOL_VERSION as lt, DEFAULT_REQUEST_TIMEOUT_MSEC as m, RELATED_TASK_META_KEY as mt, preloadSchemas as n, CLIENT_CAPABILITIES_META_KEY as nt, ReadBuffer as o, INVALID_PARAMS as ot, runInputRequiredFlow as p, PROTOCOL_VERSION_META_KEY as pt, ResourceNotFoundError as q, InMemoryTransport as r, CLIENT_INFO_META_KEY as rt, STDIO_DEFAULT_MAX_BUFFER_SIZE as s, INVALID_REQUEST as st, fromJsonSchema as t, BAGGAGE_META_KEY as tt, getDisplayName as u, LOG_LEVEL_META_KEY as ut, specTypeSchemas as v, TRACEPARENT_META_KEY as vt, buildMcpParamHeaders as w, OAuthErrorResponseSchema as wt, parseSchema as x, resourceUrlFromServerUrl as xt, resolveInputRequiredDriverConfig as y, TRACESTATE_META_KEY as yt, parseJSONRPCMessage as z };
7153
+ //# sourceMappingURL=src-DDAAhLnO.mjs.map
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-Bnu9O96Y.cjs');
2
- const require_src = require('./src-NAgB4Mp8.cjs');
2
+ const require_src = require('./src-D0qEN74R.cjs');
3
3
  let node_process = require("node:process");
4
4
  node_process = require_chunk.__toESM(node_process);
5
5
  let node_stream = require("node:stream");
@@ -12,17 +12,23 @@ cross_spawn = require_chunk.__toESM(cross_spawn);
12
12
  */
13
13
  const DEFAULT_INHERITED_ENV_VARS = node_process.default.platform === "win32" ? [
14
14
  "APPDATA",
15
+ "COMSPEC",
15
16
  "HOMEDRIVE",
16
17
  "HOMEPATH",
17
18
  "LOCALAPPDATA",
18
19
  "PATH",
20
+ "PATHEXT",
19
21
  "PROCESSOR_ARCHITECTURE",
22
+ "PROGRAMDATA",
23
+ "PROGRAMFILES",
24
+ "PROGRAMFILES(X86)",
25
+ "PROGRAMW6432",
20
26
  "SYSTEMDRIVE",
21
27
  "SYSTEMROOT",
22
28
  "TEMP",
23
29
  "USERNAME",
24
30
  "USERPROFILE",
25
- "PROGRAMFILES"
31
+ "WINDIR"
26
32
  ] : [
27
33
  "HOME",
28
34
  "LOGNAME",
@@ -1 +1 @@
1
- {"version":3,"file":"stdio.d.cts","names":[],"sources":["../src/client/stdio.ts"],"sourcesContent":[],"mappings":";;;;;KASY,qBAAA;;AAAZ;;EAuBa,OAAA,EAAA,MAAA;EAAS;;AAqBtB;EAsBgB,IAAA,CAAA,EAAA,MAAA,EAAA;EAyBH;;;;;EAsFK,GAAA,CAAA,EAjKR,MAiKQ,CAAA,MAAA,EAAA,MAAA,CAAA;EAuFC;;;;;WAjPN,SAAS;;;;;;;;;;;;;;;;;;cAqBT;;;;iBAsBG,qBAAA,CAAA,GAAyB;;;;;;cAyB5B,oBAAA,YAAgC;;;;;;oBAOvB;wBACI;sBAEF;;;;WAWL;;;;;;;;gBAiED;;;;;;;;;;;;;;;;;WAuFC;gBAyCD,iBAAiB"}
1
+ {"version":3,"file":"stdio.d.cts","names":[],"sources":["../src/client/stdio.ts"],"sourcesContent":[],"mappings":";;;;;KASY,qBAAA;;AAAZ;;EAuBa,OAAA,EAAA,MAAA;EAAS;;AAqBtB;EA4BgB,IAAA,CAAA,EAAA,MAAA,EAAA;EAyBH;;;;;EAsFK,GAAA,CAAA,EAvKR,MAuKQ,CAAA,MAAA,EAAA,MAAA,CAAA;EAuFC;;;;;WAvPN,SAAS;;;;;;;;;;;;;;;;;;cAqBT;;;;iBA4BG,qBAAA,CAAA,GAAyB;;;;;;cAyB5B,oBAAA,YAAgC;;;;;;oBAOvB;wBACI;sBAEF;;;;WAWL;;;;;;;;gBAiED;;;;;;;;;;;;;;;;;WAuFC;gBAyCD,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"stdio.d.mts","names":[],"sources":["../src/client/stdio.ts"],"sourcesContent":[],"mappings":";;;;;KASY,qBAAA;;AAAZ;;EAuBa,OAAA,EAAA,MAAA;EAAS;;AAqBtB;EAsBgB,IAAA,CAAA,EAAA,MAAA,EAAA;EAyBH;;;;;EAsFK,GAAA,CAAA,EAjKR,MAiKQ,CAAA,MAAA,EAAA,MAAA,CAAA;EAuFC;;;;;WAjPN,SAAS;;;;;;;;;;;;;;;;;;cAqBT;;;;iBAsBG,qBAAA,CAAA,GAAyB;;;;;;cAyB5B,oBAAA,YAAgC;;;;;;oBAOvB;wBACI;sBAEF;;;;WAWL;;;;;;;;gBAiED;;;;;;;;;;;;;;;;;WAuFC;gBAyCD,iBAAiB"}
1
+ {"version":3,"file":"stdio.d.mts","names":[],"sources":["../src/client/stdio.ts"],"sourcesContent":[],"mappings":";;;;;KASY,qBAAA;;AAAZ;;EAuBa,OAAA,EAAA,MAAA;EAAS;;AAqBtB;EA4BgB,IAAA,CAAA,EAAA,MAAA,EAAA;EAyBH;;;;;EAsFK,GAAA,CAAA,EAvKR,MAuKQ,CAAA,MAAA,EAAA,MAAA,CAAA;EAuFC;;;;;WAvPN,SAAS;;;;;;;;;;;;;;;;;;cAqBT;;;;iBA4BG,qBAAA,CAAA,GAAyB;;;;;;cAyB5B,oBAAA,YAAgC;;;;;;oBAOvB;wBACI;sBAEF;;;;WAWL;;;;;;;;gBAiED;;;;;;;;;;;;;;;;;WAuFC;gBAyCD,iBAAiB"}
@@ -1,4 +1,4 @@
1
- import { At as SdkErrorCode, kt as SdkError, s as ReadBuffer, u as serializeMessage } from "./src-D_zzAWoS.mjs";
1
+ import { At as SdkErrorCode, kt as SdkError, l as serializeMessage, o as ReadBuffer } from "./src-DDAAhLnO.mjs";
2
2
  import process from "node:process";
3
3
  import { PassThrough } from "node:stream";
4
4
  import spawn from "cross-spawn";
@@ -9,17 +9,23 @@ import spawn from "cross-spawn";
9
9
  */
10
10
  const DEFAULT_INHERITED_ENV_VARS = process.platform === "win32" ? [
11
11
  "APPDATA",
12
+ "COMSPEC",
12
13
  "HOMEDRIVE",
13
14
  "HOMEPATH",
14
15
  "LOCALAPPDATA",
15
16
  "PATH",
17
+ "PATHEXT",
16
18
  "PROCESSOR_ARCHITECTURE",
19
+ "PROGRAMDATA",
20
+ "PROGRAMFILES",
21
+ "PROGRAMFILES(X86)",
22
+ "PROGRAMW6432",
17
23
  "SYSTEMDRIVE",
18
24
  "SYSTEMROOT",
19
25
  "TEMP",
20
26
  "USERNAME",
21
27
  "USERPROFILE",
22
- "PROGRAMFILES"
28
+ "WINDIR"
23
29
  ] : [
24
30
  "HOME",
25
31
  "LOGNAME",