maka-agent 0.2.0-dev.9.20260831 → 0.2.1-dev.80.20261012

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 (2624) hide show
  1. package/DISCLAIMER-WIP +6 -1
  2. package/LICENSE +291 -9
  3. package/README.md +51 -21
  4. package/README.zh-CN.md +42 -22
  5. package/RUNTIME_HOST_PEER_DEPENDENCIES.rust.tsv +70 -0
  6. package/RUNTIME_HOST_PEER_THIRD_PARTY_NOTICES.txt +1839 -140
  7. package/THIRD_PARTY_NOTICES.txt +491 -272
  8. package/dist/acp/active-promise.js +38 -0
  9. package/dist/acp/goal-plan-operations.js +142 -0
  10. package/dist/acp/goal-plan-routes.js +33 -0
  11. package/dist/acp/maka-acp-agent.js +128 -7
  12. package/dist/acp/prompt-content.js +225 -0
  13. package/dist/acp/session-configuration.js +143 -0
  14. package/dist/acp/session-domain-observation.js +185 -0
  15. package/dist/acp/session-event-mapper.js +205 -0
  16. package/dist/acp/session-interactions.js +550 -0
  17. package/dist/acp/session-mcp.js +361 -0
  18. package/dist/acp/session-registry.js +2378 -0
  19. package/dist/acp/stdio-server.js +32 -1
  20. package/dist/acp/tool-event-mapper.js +457 -0
  21. package/dist/acp/turn-observation.js +260 -0
  22. package/dist/activation-command.js +12 -5
  23. package/dist/bounded-chunk-buffer.js +16 -3
  24. package/dist/cli-core.js +87 -102
  25. package/dist/cli-ui-locale.js +7 -2
  26. package/dist/mcp-capability-provider.js +21 -12
  27. package/dist/mcp-capability-publication.js +155 -0
  28. package/dist/onboarding-catalog.js +23 -8
  29. package/dist/pi-transcript-tools.js +17 -5
  30. package/dist/pi-transcript.js +77 -31
  31. package/dist/pi-tui-form-interaction.js +497 -0
  32. package/dist/pi-tui-layout.js +101 -24
  33. package/dist/pi-tui-mcp-status.js +194 -128
  34. package/dist/pi-tui-pickers.js +591 -103
  35. package/dist/pi-tui-runner.js +1524 -322
  36. package/dist/pi-tui-todo.js +221 -0
  37. package/dist/pi-tui-transcript-viewer.js +134 -7
  38. package/dist/run-command-core.js +6 -14
  39. package/dist/runtime-host-access-command.js +37 -4
  40. package/dist/runtime-host-capability-provider-command.js +41 -8
  41. package/dist/runtime-host-cli-context.js +300 -80
  42. package/dist/runtime-host-cli-installation.js +8 -2
  43. package/dist/runtime-host-cli.js +316 -64
  44. package/dist/runtime-host-handoff-surface.js +108 -0
  45. package/dist/runtime-host-help.js +244 -0
  46. package/dist/runtime-host-installed-update-bootstrap.js +16 -1
  47. package/dist/runtime-host-installed-update-coordinator.js +33 -0
  48. package/dist/runtime-host-lifecycle-transaction.js +99 -28
  49. package/dist/runtime-host-local-handoff.js +48 -5
  50. package/dist/runtime-host-local-managed-activation.js +84 -0
  51. package/dist/runtime-host-local-source-retirement.js +19 -3
  52. package/dist/runtime-host-managed-deployment.js +158 -51
  53. package/dist/runtime-host-managed-lifecycle-manager.js +5 -6
  54. package/dist/runtime-host-onboarding.js +363 -23
  55. package/dist/runtime-host-openrc-service.js +469 -0
  56. package/dist/runtime-host-operator-retirement.js +50 -0
  57. package/dist/runtime-host-package-deployment.js +36 -2
  58. package/dist/runtime-host-peer-artifact.js +3 -3
  59. package/dist/runtime-host-peer-management-command.js +20 -8
  60. package/dist/runtime-host-peer-mesh-management-command.js +1 -1
  61. package/dist/runtime-host-plugin-command.js +101 -0
  62. package/dist/runtime-host-profile-command.js +1 -1
  63. package/dist/runtime-host-run-command.js +89 -67
  64. package/dist/runtime-host-run-mcp.js +161 -0
  65. package/dist/runtime-host-service-command.js +3 -3
  66. package/dist/runtime-host-service-management-command.js +67 -17
  67. package/dist/runtime-host-service-manager.js +30 -11
  68. package/dist/runtime-host-session-channel.js +282 -28
  69. package/dist/runtime-host-session-driver.js +206 -68
  70. package/dist/runtime-host-session-update.js +62 -0
  71. package/dist/runtime-host-setup-command.js +72 -52
  72. package/dist/runtime-host-task-readiness.js +2 -3
  73. package/dist/runtime-host-tui-command.js +63 -82
  74. package/dist/runtime-host-tui-context.js +74 -11
  75. package/dist/runtime-host-tui-owner.js +226 -0
  76. package/dist/runtime-host-update-command.js +165 -70
  77. package/dist/runtime-host-update-discovery.js +1 -0
  78. package/dist/runtime-host-update-reconciliation.js +7 -7
  79. package/dist/runtime-host-windows-service.js +166 -0
  80. package/dist/runtime-host-windows-task-launcher-artifact.js +75 -0
  81. package/dist/session-catalog-limits.js +22 -0
  82. package/dist/session-driver.js +10 -0
  83. package/dist/session-export-command.js +72 -0
  84. package/dist/session-import-command.js +69 -0
  85. package/dist/tui-autocomplete-layout.js +3 -1
  86. package/dist/tui-clipboard.js +86 -0
  87. package/dist/tui-context-refresh.js +92 -0
  88. package/dist/tui-copy-catalog.js +1079 -18
  89. package/dist/tui-copy-command.js +103 -0
  90. package/dist/tui-editor-render.js +36 -0
  91. package/dist/tui-host-owner-copy.js +24 -0
  92. package/dist/tui-mcp-control.js +162 -122
  93. package/dist/tui-mcp-remote-publication.js +395 -0
  94. package/dist/workspace-root.js +2 -2
  95. package/native/runtime-host-peer/prebuilds/darwin-arm64/maka_runtime_host_peer.node +0 -0
  96. package/native/runtime-host-peer/prebuilds/linux-arm64/maka_runtime_host_peer.node +0 -0
  97. package/native/runtime-host-peer/prebuilds/linux-x64/maka_runtime_host_peer.node +0 -0
  98. package/native/runtime-host-peer/prebuilds/win32-x64/maka_runtime_host_peer.node +0 -0
  99. package/native/runtime-host-windows-task-launcher/prebuilds/win32-x64/maka-runtime-host-task-launcher.exe +0 -0
  100. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js +12 -12
  101. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +52 -0
  102. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +5 -4
  103. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +7 -0
  104. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +51 -8
  105. package/node_modules/@agentclientprotocol/sdk/package.json +2 -2
  106. package/node_modules/@agentclientprotocol/sdk/schema/schema.json +90 -2
  107. package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +103 -12
  108. package/node_modules/@ai-sdk/anthropic/CHANGELOG.md +257 -0
  109. package/node_modules/@ai-sdk/anthropic/README.md +1 -1
  110. package/node_modules/@ai-sdk/anthropic/dist/index.js +2478 -1198
  111. package/node_modules/@ai-sdk/anthropic/dist/internal/index.js +1822 -894
  112. package/node_modules/@ai-sdk/anthropic/docs/05-anthropic.mdx +590 -80
  113. package/node_modules/@ai-sdk/anthropic/package.json +6 -6
  114. package/node_modules/@ai-sdk/code-mode/dist/approval-continuation.js +0 -1
  115. package/node_modules/@ai-sdk/code-mode/dist/code-mode-tool.js +26 -7
  116. package/node_modules/@ai-sdk/code-mode/dist/errors.js +0 -8
  117. package/node_modules/@ai-sdk/code-mode/dist/interrupt-continuation.js +0 -2
  118. package/node_modules/@ai-sdk/code-mode/dist/run-code-mode.js +8 -19
  119. package/node_modules/@ai-sdk/code-mode/dist/tool-prompt.js +43 -15
  120. package/node_modules/@ai-sdk/code-mode/package.json +5 -5
  121. package/node_modules/@ai-sdk/cohere/CHANGELOG.md +204 -0
  122. package/node_modules/@ai-sdk/cohere/README.md +1 -1
  123. package/node_modules/@ai-sdk/cohere/dist/index.js +54 -70
  124. package/node_modules/@ai-sdk/cohere/docs/25-cohere.mdx +11 -9
  125. package/node_modules/@ai-sdk/cohere/package.json +6 -6
  126. package/node_modules/@ai-sdk/gateway/CHANGELOG.md +385 -0
  127. package/node_modules/@ai-sdk/gateway/README.md +1 -1
  128. package/node_modules/@ai-sdk/gateway/dist/index.js +1326 -357
  129. package/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +547 -29
  130. package/node_modules/@ai-sdk/gateway/package.json +8 -8
  131. package/node_modules/@ai-sdk/google/CHANGELOG.md +356 -0
  132. package/node_modules/@ai-sdk/google/README.md +1 -1
  133. package/node_modules/@ai-sdk/google/dist/index.js +6356 -4699
  134. package/node_modules/@ai-sdk/google/dist/internal/index.js +1207 -824
  135. package/node_modules/@ai-sdk/google/docs/15-google.mdx +444 -133
  136. package/node_modules/@ai-sdk/google/package.json +6 -6
  137. package/node_modules/@ai-sdk/open-responses/CHANGELOG.md +190 -0
  138. package/node_modules/@ai-sdk/open-responses/dist/index.js +908 -124
  139. package/node_modules/@ai-sdk/open-responses/docs/06-open-responses.mdx +240 -4
  140. package/node_modules/@ai-sdk/open-responses/package.json +4 -4
  141. package/node_modules/@ai-sdk/openai/CHANGELOG.md +331 -0
  142. package/node_modules/@ai-sdk/openai/README.md +27 -2
  143. package/node_modules/@ai-sdk/openai/dist/index.js +3791 -1897
  144. package/node_modules/@ai-sdk/openai/dist/internal/index.js +3008 -1980
  145. package/node_modules/@ai-sdk/openai/docs/03-openai.mdx +485 -120
  146. package/node_modules/@ai-sdk/openai/package.json +6 -6
  147. package/node_modules/@ai-sdk/openai-compatible/CHANGELOG.md +236 -0
  148. package/node_modules/@ai-sdk/openai-compatible/dist/index.js +218 -143
  149. package/node_modules/@ai-sdk/openai-compatible/dist/internal/index.js +31 -14
  150. package/node_modules/@ai-sdk/openai-compatible/docs/index.mdx +80 -0
  151. package/node_modules/@ai-sdk/openai-compatible/package.json +6 -6
  152. package/node_modules/@ai-sdk/provider/CHANGELOG.md +91 -0
  153. package/node_modules/@ai-sdk/provider/dist/index.js +127 -102
  154. package/node_modules/@ai-sdk/provider/package.json +3 -3
  155. package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +191 -0
  156. package/node_modules/@ai-sdk/provider-utils/dist/experimental-evaluation/index.js +1618 -0
  157. package/node_modules/@ai-sdk/provider-utils/dist/index.js +1105 -407
  158. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
  159. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
  160. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/core/request.js +23 -2
  161. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
  162. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  163. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
  164. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/dispatcher/client.js +6 -2
  165. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/cache-handler.js +21 -5
  166. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/handler/retry-handler.js +109 -23
  167. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/cache.js +20 -1
  168. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/decompress.js +338 -46
  169. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/interceptor/dump.js +10 -23
  170. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
  171. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/connection.js +19 -9
  172. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  173. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  174. package/node_modules/@ai-sdk/provider-utils/node_modules/undici/package.json +1 -1
  175. package/node_modules/@ai-sdk/provider-utils/package.json +10 -5
  176. package/node_modules/@earendil-works/pi-tui/README.md +61 -6
  177. package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js +202 -42
  178. package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +54 -14
  179. package/node_modules/@earendil-works/pi-tui/dist/components/box.js +29 -0
  180. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +114 -28
  181. package/node_modules/@earendil-works/pi-tui/dist/components/input.js +44 -5
  182. package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +10 -3
  183. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +9 -4
  184. package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.js +21 -0
  185. package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.js +8 -2
  186. package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js +49 -2
  187. package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +79 -9
  188. package/node_modules/@earendil-works/pi-tui/dist/components/text.js +5 -4
  189. package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +23 -22
  190. package/node_modules/@earendil-works/pi-tui/dist/index.js +4 -1
  191. package/node_modules/@earendil-works/pi-tui/dist/keybindings.js +2 -2
  192. package/node_modules/@earendil-works/pi-tui/dist/latex.js +123 -16
  193. package/node_modules/@earendil-works/pi-tui/dist/layout.js +32 -9
  194. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +3 -50
  195. package/node_modules/@earendil-works/pi-tui/dist/native-module-path.js +19 -0
  196. package/node_modules/@earendil-works/pi-tui/dist/native-platform.js +42 -0
  197. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +38 -6
  198. package/node_modules/@earendil-works/pi-tui/dist/terminal.js +19 -30
  199. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +427 -60
  200. package/node_modules/@earendil-works/pi-tui/dist/tui-main-screen.js +111 -50
  201. package/node_modules/@earendil-works/pi-tui/dist/tui.js +123 -9
  202. package/node_modules/@earendil-works/pi-tui/dist/utils.js +13 -0
  203. package/node_modules/@earendil-works/pi-tui/native/clipboard.h +170 -0
  204. package/node_modules/@earendil-works/pi-tui/native/darwin/README.md +8 -6
  205. package/node_modules/@earendil-works/pi-tui/native/darwin/build.sh +12 -5
  206. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/darwin-platform.node +0 -0
  207. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/darwin-platform.node +0 -0
  208. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-platform.m +93 -0
  209. package/node_modules/@earendil-works/pi-tui/native/linux/README.md +23 -0
  210. package/node_modules/@earendil-works/pi-tui/native/linux/build.sh +65 -0
  211. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
  212. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
  213. package/node_modules/@earendil-works/pi-tui/native/linux/src/clipboard-worker.h +70 -0
  214. package/node_modules/@earendil-works/pi-tui/native/linux/src/linux-platform-x11.c +274 -0
  215. package/node_modules/@earendil-works/pi-tui/native/napi.h +89 -0
  216. package/node_modules/@earendil-works/pi-tui/native/win32/README.md +16 -7
  217. package/node_modules/@earendil-works/pi-tui/native/win32/build.mjs +7 -4
  218. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
  219. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
  220. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-platform.c +241 -0
  221. package/node_modules/@earendil-works/pi-tui/package.json +11 -4
  222. package/node_modules/@larksuiteoapi/node-sdk/README.md +20 -0
  223. package/node_modules/@larksuiteoapi/node-sdk/README.zh.md +20 -0
  224. package/node_modules/@larksuiteoapi/node-sdk/es/index.js +232 -36
  225. package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +232 -36
  226. package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
  227. package/node_modules/@maka/acp-executor-plugin/dist/acp-catalog.js +132 -0
  228. package/node_modules/@maka/acp-executor-plugin/dist/acp-errors.js +26 -0
  229. package/node_modules/@maka/acp-executor-plugin/dist/acp-filesystem.js +103 -0
  230. package/node_modules/@maka/acp-executor-plugin/dist/acp-process.js +119 -0
  231. package/node_modules/@maka/acp-executor-plugin/dist/acp-projection.js +146 -0
  232. package/node_modules/@maka/acp-executor-plugin/dist/index.js +1096 -0
  233. package/node_modules/@maka/acp-executor-plugin/dist/plugin.mjs +25042 -0
  234. package/node_modules/@maka/acp-executor-plugin/package.json +15 -0
  235. package/node_modules/@maka/antigravity-acp-plugin/dist/index.js +88 -0
  236. package/node_modules/@maka/antigravity-acp-plugin/dist/model-presentation.js +53 -0
  237. package/node_modules/@maka/antigravity-acp-plugin/dist/plugin.mjs +115 -0
  238. package/node_modules/@maka/antigravity-acp-plugin/package.json +15 -0
  239. package/node_modules/@maka/core/dist/agent-graph-schedule.js +15 -4
  240. package/node_modules/@maka/core/dist/agent-run.js +25 -334
  241. package/node_modules/@maka/core/dist/archive-retention.js +109 -0
  242. package/node_modules/@maka/core/dist/artifacts.js +22 -20
  243. package/node_modules/@maka/core/dist/attachments.js +107 -1
  244. package/node_modules/@maka/core/dist/bot-chat-settings.js +8 -6
  245. package/node_modules/@maka/core/dist/bot-events.js +19 -71
  246. package/node_modules/@maka/core/dist/bounded-response.js +71 -0
  247. package/node_modules/@maka/core/dist/canonical-json.js +27 -0
  248. package/node_modules/@maka/core/dist/canonical-runtime-event.js +3 -1
  249. package/node_modules/@maka/core/dist/capabilities.js +35 -0
  250. package/node_modules/@maka/core/dist/chat-model-choice.js +14 -31
  251. package/node_modules/@maka/core/dist/client-capability-grant.js +149 -0
  252. package/node_modules/@maka/core/dist/collaboration.js +12 -0
  253. package/node_modules/@maka/core/dist/computer-use.js +27 -93
  254. package/node_modules/@maka/core/dist/connection-error-copy.js +17 -34
  255. package/node_modules/@maka/core/dist/connection-readiness.js +3 -31
  256. package/node_modules/@maka/core/dist/diagnostic-log.js +18 -7
  257. package/node_modules/@maka/core/dist/display-redaction.js +18 -0
  258. package/node_modules/@maka/core/dist/durable-tool-result-projection.js +3 -1
  259. package/node_modules/@maka/core/dist/event-wait.js +320 -0
  260. package/node_modules/@maka/core/dist/events.js +125 -21
  261. package/node_modules/@maka/core/dist/execution-inspect.js +12 -21
  262. package/node_modules/@maka/core/dist/executor-catalog.js +137 -0
  263. package/node_modules/@maka/core/dist/executor-id.js +22 -0
  264. package/node_modules/@maka/core/dist/external-session.js +65 -3
  265. package/node_modules/@maka/core/dist/goal.js +44 -2
  266. package/node_modules/@maka/core/dist/health.js +50 -45
  267. package/node_modules/@maka/core/dist/interaction.js +657 -2
  268. package/node_modules/@maka/core/dist/llm-connections.js +89 -98
  269. package/node_modules/@maka/core/dist/local-memory.js +40 -3
  270. package/node_modules/@maka/core/dist/maka-wordmark.js +23 -0
  271. package/node_modules/@maka/core/dist/mcp.js +4 -1
  272. package/node_modules/@maka/core/dist/message-queue-order.js +47 -0
  273. package/node_modules/@maka/core/dist/model-call-attempt.js +134 -82
  274. package/node_modules/@maka/core/dist/model-call-usage-projection.js +0 -196
  275. package/node_modules/@maka/core/dist/model-catalog.js +194 -337
  276. package/node_modules/@maka/core/dist/model-facts.js +204 -0
  277. package/node_modules/@maka/core/dist/model-failure.js +40 -0
  278. package/node_modules/@maka/core/dist/model-metadata.generated.js +2069 -1878
  279. package/node_modules/@maka/core/dist/model-metadata.js +371 -215
  280. package/node_modules/@maka/core/dist/model-projection-transition.js +145 -0
  281. package/node_modules/@maka/core/dist/model-thinking.js +133 -34
  282. package/node_modules/@maka/core/dist/model-web-search.js +13 -15
  283. package/node_modules/@maka/core/dist/models-dev-projection.js +320 -0
  284. package/node_modules/@maka/core/dist/models-dev-refresh.js +55 -0
  285. package/node_modules/@maka/core/dist/onboarding.js +3 -5
  286. package/node_modules/@maka/core/dist/openai-urls.js +51 -0
  287. package/node_modules/@maka/core/dist/permission-profile.js +17 -0
  288. package/node_modules/@maka/core/dist/permission.js +0 -1
  289. package/node_modules/@maka/core/dist/provider-auth.js +49 -291
  290. package/node_modules/@maka/core/dist/provider-registry.js +251 -494
  291. package/node_modules/@maka/core/dist/recall.js +1153 -0
  292. package/node_modules/@maka/core/dist/record-schema.js +22 -2
  293. package/node_modules/@maka/core/dist/redaction.js +128 -43
  294. package/node_modules/@maka/core/dist/refresh-read-coordinator.js +62 -0
  295. package/node_modules/@maka/core/dist/relative-time-policy.js +71 -0
  296. package/node_modules/@maka/core/dist/relative-time.js +26 -77
  297. package/node_modules/@maka/core/dist/run-composition.js +77 -2
  298. package/node_modules/@maka/core/dist/runtime-boundary.js +182 -66
  299. package/node_modules/@maka/core/dist/runtime-event-store.js +31 -0
  300. package/node_modules/@maka/core/dist/runtime-event.js +242 -9
  301. package/node_modules/@maka/core/dist/runtime-handoff.js +106 -0
  302. package/node_modules/@maka/core/dist/runtime-invocation.js +228 -0
  303. package/node_modules/@maka/core/dist/runtime-logical-execution.js +137 -0
  304. package/node_modules/@maka/core/dist/runtime-policy/connection-catalog-codec.js +255 -78
  305. package/node_modules/@maka/core/dist/runtime-policy/credential-vault-codec.js +15 -1
  306. package/node_modules/@maka/core/dist/runtime-policy/model-catalog-entry-codec.js +106 -0
  307. package/node_modules/@maka/core/dist/runtime-policy/policy-codec.js +139 -4
  308. package/node_modules/@maka/core/dist/runtime-policy.js +7 -3
  309. package/node_modules/@maka/core/dist/scheduled-task.js +26 -17
  310. package/node_modules/@maka/core/dist/session-name.js +2 -2
  311. package/node_modules/@maka/core/dist/session-reference.js +149 -0
  312. package/node_modules/@maka/core/dist/session-send-projection.js +8 -4
  313. package/node_modules/@maka/core/dist/session-start-mode.js +39 -0
  314. package/node_modules/@maka/core/dist/session-todo.js +101 -0
  315. package/node_modules/@maka/core/dist/session-trace.js +5 -1
  316. package/node_modules/@maka/core/dist/session.js +363 -57
  317. package/node_modules/@maka/core/dist/settings/network-settings.js +4 -1
  318. package/node_modules/@maka/core/dist/settings.js +50 -12
  319. package/node_modules/@maka/core/dist/shell-run-result.js +1 -0
  320. package/node_modules/@maka/core/dist/shell-run.js +15 -0
  321. package/node_modules/@maka/core/dist/skill-locations.js +29 -0
  322. package/node_modules/@maka/core/dist/slash-command-catalog.js +4 -0
  323. package/node_modules/@maka/core/dist/task-submission-readiness.js +2 -1
  324. package/node_modules/@maka/core/dist/text-sanitize.js +36 -6
  325. package/node_modules/@maka/core/dist/tool-activity-args.js +4 -0
  326. package/node_modules/@maka/core/dist/tool-ledger-scanner.js +250 -86
  327. package/node_modules/@maka/core/dist/tool-quiet-preview.js +53 -26
  328. package/node_modules/@maka/core/dist/tool-result-archive-evidence.js +22 -0
  329. package/node_modules/@maka/core/dist/tool-result-record-schema.js +12 -2
  330. package/node_modules/@maka/core/dist/transcript-search.js +46 -0
  331. package/node_modules/@maka/core/dist/turn-origin.js +20 -0
  332. package/node_modules/@maka/core/dist/ui-locale.js +23 -10
  333. package/node_modules/@maka/core/dist/unified-diff.js +33 -26
  334. package/node_modules/@maka/core/dist/usage-ledger-merge.js +10 -9
  335. package/node_modules/@maka/core/dist/usage-record-schema.js +39 -31
  336. package/node_modules/@maka/core/dist/usage-stats/types.js +3 -0
  337. package/node_modules/@maka/core/dist/web-search.js +3 -3
  338. package/node_modules/@maka/core/dist/work-board.js +94 -1
  339. package/node_modules/@maka/core/dist/workhub-action-result.js +68 -0
  340. package/node_modules/@maka/core/dist/workhub-routing.js +126 -0
  341. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/index.js +2178 -0
  342. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +209 -0
  343. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +162 -0
  344. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/package.json +21 -0
  345. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/printer.js +224 -0
  346. package/node_modules/@maka/core/node_modules/intl-messageformat/intl-messageformat.iife.js +2810 -0
  347. package/node_modules/@maka/core/node_modules/intl-messageformat/package.json +40 -0
  348. package/node_modules/@maka/core/package.json +35 -8
  349. package/node_modules/@maka/eval/dist/egress-audit.js +127 -0
  350. package/node_modules/@maka/eval/dist/experiment-directory.js +4 -13
  351. package/node_modules/@maka/eval/dist/fleet-simulation.js +270 -0
  352. package/node_modules/@maka/eval/dist/fleet-store.js +243 -0
  353. package/node_modules/@maka/eval/dist/fleet-worker.js +125 -0
  354. package/node_modules/@maka/eval/dist/fleet.js +329 -0
  355. package/node_modules/@maka/eval/dist/harbor-external-subject.js +2 -1
  356. package/node_modules/@maka/eval/dist/harbor-maka-subject.js +16 -3
  357. package/node_modules/@maka/eval/dist/harness-executor.js +19 -98
  358. package/node_modules/@maka/eval/dist/index.js +3 -0
  359. package/node_modules/@maka/eval/dist/install-preflight.js +39 -10
  360. package/node_modules/@maka/eval/dist/maka-artifacts.js +28 -14
  361. package/node_modules/@maka/eval/dist/maka-subject.js +35 -3
  362. package/node_modules/@maka/eval/dist/metering-checkpoint.js +4 -4
  363. package/node_modules/@maka/eval/dist/process-termination.js +83 -0
  364. package/node_modules/@maka/eval/dist/toolchain-verification.js +1 -1
  365. package/node_modules/@maka/eval/harbor/egress-proxy/entrypoint.sh +6 -5
  366. package/node_modules/@maka/eval/harbor/egress_filter.py +202 -136
  367. package/node_modules/@maka/eval/harbor/eval_framework.py +39 -16
  368. package/node_modules/@maka/eval/harbor/relay_agent.py +47 -10
  369. package/node_modules/@maka/eval/harbor/run_trial.py +13 -6
  370. package/node_modules/@maka/eval/node_modules/undici/README.md +10 -1
  371. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Agent.md +8 -8
  372. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Client.md +4 -0
  373. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  374. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  375. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  376. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Errors.md +25 -0
  377. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  378. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  379. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Interceptors.md +8 -3
  380. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Pool.md +5 -6
  381. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  382. package/node_modules/@maka/eval/node_modules/undici/docs/docs/index.md +10 -1
  383. package/node_modules/@maka/eval/node_modules/undici/lib/api/readable.js +1 -2
  384. package/node_modules/@maka/eval/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  385. package/node_modules/@maka/eval/node_modules/undici/lib/core/request.js +23 -2
  386. package/node_modules/@maka/eval/node_modules/undici/lib/core/symbols.js +2 -0
  387. package/node_modules/@maka/eval/node_modules/undici/lib/core/util.js +0 -39
  388. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/agent.js +7 -2
  389. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  390. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  391. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h2.js +94 -10
  392. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client.js +9 -3
  393. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  394. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  395. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  396. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +31 -9
  397. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  398. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/pool.js +90 -7
  399. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/proxy-agent.js +33 -3
  400. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  401. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  402. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  403. package/node_modules/@maka/eval/node_modules/undici/lib/handler/cache-handler.js +29 -5
  404. package/node_modules/@maka/eval/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  405. package/node_modules/@maka/eval/node_modules/undici/lib/handler/deduplication-handler.js +29 -10
  406. package/node_modules/@maka/eval/node_modules/undici/lib/handler/redirect-handler.js +26 -4
  407. package/node_modules/@maka/eval/node_modules/undici/lib/handler/retry-handler.js +215 -38
  408. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/cache.js +69 -13
  409. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/decompress.js +319 -50
  410. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  411. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/dns.js +7 -0
  412. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/dump.js +10 -23
  413. package/node_modules/@maka/eval/node_modules/undici/lib/mock/mock-agent.js +13 -1
  414. package/node_modules/@maka/eval/node_modules/undici/lib/mock/mock-utils.js +11 -10
  415. package/node_modules/@maka/eval/node_modules/undici/lib/util/cache.js +45 -3
  416. package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cache.js +17 -8
  417. package/node_modules/@maka/eval/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  418. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/index.js +19 -7
  419. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/parse.js +150 -147
  420. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/util.js +3 -1
  421. package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  422. package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource.js +38 -4
  423. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/body.js +22 -15
  424. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  425. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  426. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/headers.js +34 -31
  427. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/index.js +52 -25
  428. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/request.js +76 -82
  429. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/response.js +43 -44
  430. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/util.js +13 -8
  431. package/node_modules/@maka/eval/node_modules/undici/lib/web/infra/index.js +16 -1
  432. package/node_modules/@maka/eval/node_modules/undici/lib/web/webidl/index.js +5 -17
  433. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/connection.js +34 -13
  434. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/events.js +43 -26
  435. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  436. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  437. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  438. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketstream.js +27 -14
  439. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  440. package/node_modules/@maka/eval/node_modules/undici/package.json +3 -3
  441. package/node_modules/@maka/eval/package.json +1 -1
  442. package/node_modules/@maka/mcp/dist/credential-coordinator.js +6 -1
  443. package/node_modules/@maka/mcp/dist/form-elicitation.js +213 -0
  444. package/node_modules/@maka/mcp/dist/index.js +517 -72
  445. package/node_modules/@maka/mcp/dist/oauth.js +63 -8
  446. package/node_modules/@maka/mcp/dist/sep-2243.js +3 -3
  447. package/node_modules/@maka/mcp/dist/tool-progress.js +45 -0
  448. package/node_modules/@maka/mcp/package.json +1 -1
  449. package/node_modules/@maka/runtime/dist/admission-limiter.js +3 -2
  450. package/node_modules/@maka/runtime/dist/agent-graph-supervisor-wake.js +145 -20
  451. package/node_modules/@maka/runtime/dist/agent-graph-timeline.js +12 -11
  452. package/node_modules/@maka/runtime/dist/agent-run-inspect.js +38 -86
  453. package/node_modules/@maka/runtime/dist/agent-run-recovery.js +36 -46
  454. package/node_modules/@maka/runtime/dist/agent-run.js +614 -470
  455. package/node_modules/@maka/runtime/dist/agent-swarm-status-tool.js +0 -1
  456. package/node_modules/@maka/runtime/dist/ai-sdk-backend.js +124 -3714
  457. package/node_modules/@maka/runtime/dist/ai-sdk-compaction-contract.js +6 -1
  458. package/node_modules/@maka/runtime/dist/ai-sdk-compaction.js +601 -535
  459. package/node_modules/@maka/runtime/dist/ai-sdk-message-projection.js +623 -0
  460. package/node_modules/@maka/runtime/dist/ai-sdk-tool-repair.js +115 -0
  461. package/node_modules/@maka/runtime/dist/ai-sdk-turn.js +2687 -0
  462. package/node_modules/@maka/runtime/dist/apply-patch-profile.js +64 -14
  463. package/node_modules/@maka/runtime/dist/ask-user-question-tool.js +0 -1
  464. package/node_modules/@maka/runtime/dist/background-task-health-tool.js +104 -0
  465. package/node_modules/@maka/runtime/dist/bash-model-output.js +7 -1
  466. package/node_modules/@maka/runtime/dist/bash-tail-buffer.js +13 -52
  467. package/node_modules/@maka/runtime/dist/bots/base-adapter.js +21 -0
  468. package/node_modules/@maka/runtime/dist/bots/bot-test.js +40 -23
  469. package/node_modules/@maka/runtime/dist/bots/dingtalk-bridge.js +94 -27
  470. package/node_modules/@maka/runtime/dist/bots/discord-bridge.js +6 -6
  471. package/node_modules/@maka/runtime/dist/bots/feishu-bridge.js +32 -38
  472. package/node_modules/@maka/runtime/dist/bots/proxied-fetch.js +34 -5
  473. package/node_modules/@maka/runtime/dist/bots/qq-bridge.js +8 -6
  474. package/node_modules/@maka/runtime/dist/bots/slack-bridge.js +8 -7
  475. package/node_modules/@maka/runtime/dist/bots/telegram-bridge.js +13 -57
  476. package/node_modules/@maka/runtime/dist/bots/wechat-bridge.js +107 -50
  477. package/node_modules/@maka/runtime/dist/bots/wecom-bridge.js +49 -48
  478. package/node_modules/@maka/runtime/dist/bots/ws-bridge-base.js +2 -3
  479. package/node_modules/@maka/runtime/dist/builtin-tools.js +134 -133
  480. package/node_modules/@maka/runtime/dist/bundled-skill-catalog.generated.js +1 -1
  481. package/node_modules/@maka/runtime/dist/child-fd-input.js +3 -2
  482. package/node_modules/@maka/runtime/dist/code-mode.js +7 -4
  483. package/node_modules/@maka/runtime/dist/codex-v4a-patch.js +18 -0
  484. package/node_modules/@maka/runtime/dist/computer-use-codec.js +1 -141
  485. package/node_modules/@maka/runtime/dist/computer-use-observation-text.js +22 -0
  486. package/node_modules/@maka/runtime/dist/computer-use-tools.js +162 -205
  487. package/node_modules/@maka/runtime/dist/context-budget-helpers.js +7 -56
  488. package/node_modules/@maka/runtime/dist/context-budget-policy.js +26 -65
  489. package/node_modules/@maka/runtime/dist/context-budget.js +44 -102
  490. package/node_modules/@maka/runtime/dist/context-diagnostics.js +72 -33
  491. package/node_modules/@maka/runtime/dist/continuation-replay.js +25 -12
  492. package/node_modules/@maka/runtime/dist/conversation-copy-agent-output.js +227 -0
  493. package/node_modules/@maka/runtime/dist/conversation-copy.js +849 -405
  494. package/node_modules/@maka/runtime/dist/cua-frame-state.js +1 -69
  495. package/node_modules/@maka/runtime/dist/deepseek-web-search-codec.js +71 -0
  496. package/node_modules/@maka/runtime/dist/durable-tool-result-projection.js +46 -0
  497. package/node_modules/@maka/runtime/dist/edit-replace.js +16 -13
  498. package/node_modules/@maka/runtime/dist/execution-inspect.js +56 -41
  499. package/node_modules/@maka/runtime/dist/file-stable-write.js +15 -3
  500. package/node_modules/@maka/runtime/dist/filesystem-executor.js +17 -28
  501. package/node_modules/@maka/runtime/dist/filesystem-worker/client.js +77 -19
  502. package/node_modules/@maka/runtime/dist/filesystem-worker/launch-spec.js +66 -55
  503. package/node_modules/@maka/runtime/dist/filesystem-worker/operations.js +50 -125
  504. package/node_modules/@maka/runtime/dist/filesystem-worker/protocol.js +29 -11
  505. package/node_modules/@maka/runtime/dist/filesystem-worker/resource-resolver.js +3 -1
  506. package/node_modules/@maka/runtime/dist/filesystem-worker/worker-entry.js +2 -0
  507. package/node_modules/@maka/runtime/dist/format-json.js +39 -0
  508. package/node_modules/@maka/runtime/dist/github-copilot-oauth-enrollment.js +267 -0
  509. package/node_modules/@maka/runtime/dist/glob-search.js +87 -0
  510. package/node_modules/@maka/runtime/dist/goal-continuation.js +119 -13
  511. package/node_modules/@maka/runtime/dist/goal-evaluator.js +10 -4
  512. package/node_modules/@maka/runtime/dist/goal-state.js +7 -0
  513. package/node_modules/@maka/runtime/dist/grep-search.js +155 -0
  514. package/node_modules/@maka/runtime/dist/history-compact-checkpoint-coordinator.js +16 -6
  515. package/node_modules/@maka/runtime/dist/history-compact-checkpoint.js +79 -34
  516. package/node_modules/@maka/runtime/dist/history-compact-error.js +10 -2
  517. package/node_modules/@maka/runtime/dist/history-compact-input-fit.js +7 -1
  518. package/node_modules/@maka/runtime/dist/history-compact-ledger.js +18 -18
  519. package/node_modules/@maka/runtime/dist/history-compact-summarizer.js +132 -110
  520. package/node_modules/@maka/runtime/dist/history-compact-summary-validation.js +14 -30
  521. package/node_modules/@maka/runtime/dist/history-compaction.js +114 -93
  522. package/node_modules/@maka/runtime/dist/image-file.js +26 -33
  523. package/node_modules/@maka/runtime/dist/interaction-authority.js +85 -0
  524. package/node_modules/@maka/runtime/dist/latest-context-snapshot.js +112 -23
  525. package/node_modules/@maka/runtime/dist/ledger-tool-result-archive-reader.js +164 -0
  526. package/node_modules/@maka/runtime/dist/local-web-fetch.js +26 -55
  527. package/node_modules/@maka/runtime/dist/mcp-tools.js +102 -37
  528. package/node_modules/@maka/runtime/dist/memory-extraction-evidence.js +7 -1
  529. package/node_modules/@maka/runtime/dist/memory-extraction.js +30 -19
  530. package/node_modules/@maka/runtime/dist/message-authority.js +9 -0
  531. package/node_modules/@maka/runtime/dist/model-adapter.js +406 -208
  532. package/node_modules/@maka/runtime/dist/model-factory.js +131 -135
  533. package/node_modules/@maka/runtime/dist/model-fetcher.js +102 -90
  534. package/node_modules/@maka/runtime/dist/model-history.js +512 -131
  535. package/node_modules/@maka/runtime/dist/model-projection-transition-ledger.js +207 -0
  536. package/node_modules/@maka/runtime/dist/model-runtime.js +91 -113
  537. package/node_modules/@maka/runtime/dist/native-web-search-tool.js +2 -1
  538. package/node_modules/@maka/runtime/dist/network/abortable-connector.js +55 -0
  539. package/node_modules/@maka/runtime/dist/network/proxy-dispatcher.js +72 -37
  540. package/node_modules/@maka/runtime/dist/network/proxy-test.js +29 -2
  541. package/node_modules/@maka/runtime/dist/network/scoped-fetch-transport.js +19 -3
  542. package/node_modules/@maka/runtime/dist/oauth-provider-contracts.js +28 -1
  543. package/node_modules/@maka/runtime/dist/openai-apply-patch.js +5 -0
  544. package/node_modules/@maka/runtime/dist/openai-codex-history-compactor.js +29 -77
  545. package/node_modules/@maka/runtime/dist/openai-responses-websocket.js +2 -5
  546. package/node_modules/@maka/runtime/dist/opencode-session-header.js +30 -0
  547. package/node_modules/@maka/runtime/dist/owned-child-process.js +209 -0
  548. package/node_modules/@maka/runtime/dist/owned-process-main.js +183 -0
  549. package/node_modules/@maka/runtime/dist/pipe-process-driver.js +19 -25
  550. package/node_modules/@maka/runtime/dist/pipe-tail-collector.js +6 -9
  551. package/node_modules/@maka/runtime/dist/plan-tools.js +0 -3
  552. package/node_modules/@maka/runtime/dist/plugin-agent-service.js +123 -0
  553. package/node_modules/@maka/runtime/dist/plugin-approval-service.js +33 -0
  554. package/node_modules/@maka/runtime/dist/plugin-attachment-service.js +45 -0
  555. package/node_modules/@maka/runtime/dist/plugin-client-bridge-service.js +308 -0
  556. package/node_modules/@maka/runtime/dist/plugin-command-service.js +100 -0
  557. package/node_modules/@maka/runtime/dist/plugin-composition-loader.js +209 -56
  558. package/node_modules/@maka/runtime/dist/plugin-data-services.js +322 -0
  559. package/node_modules/@maka/runtime/dist/plugin-executor-backend.js +451 -0
  560. package/node_modules/@maka/runtime/dist/plugin-executor-service.js +592 -0
  561. package/node_modules/@maka/runtime/dist/plugin-fs-service.js +54 -0
  562. package/node_modules/@maka/runtime/dist/plugin-goal-service.js +53 -0
  563. package/node_modules/@maka/runtime/dist/plugin-internals.js +78 -0
  564. package/node_modules/@maka/runtime/dist/plugin-invocation-signal.js +24 -0
  565. package/node_modules/@maka/runtime/dist/plugin-llm-service.js +77 -0
  566. package/node_modules/@maka/runtime/dist/plugin-lsp-service.js +94 -0
  567. package/node_modules/@maka/runtime/dist/plugin-runtime.js +211 -10
  568. package/node_modules/@maka/runtime/dist/plugin-scope-registry.js +91 -0
  569. package/node_modules/@maka/runtime/dist/plugin-session-query-service.js +63 -0
  570. package/node_modules/@maka/runtime/dist/plugin-shell-env-service.js +87 -0
  571. package/node_modules/@maka/runtime/dist/plugin-shell-service.js +66 -0
  572. package/node_modules/@maka/runtime/dist/plugin-skill-service.js +93 -0
  573. package/node_modules/@maka/runtime/dist/plugin-system-prompt-service.js +346 -0
  574. package/node_modules/@maka/runtime/dist/plugin-tool-service.js +171 -0
  575. package/node_modules/@maka/runtime/dist/plugin-user-question-service.js +43 -0
  576. package/node_modules/@maka/runtime/dist/plugin-web-service.js +61 -0
  577. package/node_modules/@maka/runtime/dist/prior-run-context.js +24 -94
  578. package/node_modules/@maka/runtime/dist/process-tree-terminator.js +2 -2
  579. package/node_modules/@maka/runtime/dist/prompt-composition.js +36 -31
  580. package/node_modules/@maka/runtime/dist/provider-error-classification.js +127 -205
  581. package/node_modules/@maka/runtime/dist/provider-error-signals.js +31 -0
  582. package/node_modules/@maka/runtime/dist/provider-image-overflow-recovery.js +12 -31
  583. package/node_modules/@maka/runtime/dist/provider-request-telemetry.js +214 -204
  584. package/node_modules/@maka/runtime/dist/provider-retry-policy.js +79 -0
  585. package/node_modules/@maka/runtime/dist/provider-urls.js +1 -18
  586. package/node_modules/@maka/runtime/dist/pty-screen-collector.js +32 -6
  587. package/node_modules/@maka/runtime/dist/quiescent-session-snapshot.js +78 -0
  588. package/node_modules/@maka/runtime/dist/read-page.js +234 -0
  589. package/node_modules/@maka/runtime/dist/recall-candidates.js +53 -0
  590. package/node_modules/@maka/runtime/dist/recall-tools.js +282 -0
  591. package/node_modules/@maka/runtime/dist/recovery-resolver.js +0 -63
  592. package/node_modules/@maka/runtime/dist/request-customization-fetch.js +14 -7
  593. package/node_modules/@maka/runtime/dist/request-projection.js +2 -15
  594. package/node_modules/@maka/runtime/dist/request-shape.js +187 -365
  595. package/node_modules/@maka/runtime/dist/responses-reasoning-state.js +19 -7
  596. package/node_modules/@maka/runtime/dist/ripgrep-executable.js +62 -0
  597. package/node_modules/@maka/runtime/dist/ripgrep-guidance.js +81 -0
  598. package/node_modules/@maka/runtime/dist/run-handoff-gate.js +97 -0
  599. package/node_modules/@maka/runtime/dist/run-trace.js +2 -24
  600. package/node_modules/@maka/runtime/dist/runtime-continuation-admission.js +1 -1
  601. package/node_modules/@maka/runtime/dist/runtime-event-backfill.js +114 -66
  602. package/node_modules/@maka/runtime/dist/runtime-event-read-model.js +437 -234
  603. package/node_modules/@maka/runtime/dist/runtime-invocation-route.js +49 -0
  604. package/node_modules/@maka/runtime/dist/runtime-kernel.js +834 -360
  605. package/node_modules/@maka/runtime/dist/runtime-ledger-repair.js +235 -450
  606. package/node_modules/@maka/runtime/dist/runtime-read-model.js +113 -200
  607. package/node_modules/@maka/runtime/dist/runtime-resume.js +162 -126
  608. package/node_modules/@maka/runtime/dist/sandbox/linux-profile-path.js +7 -1
  609. package/node_modules/@maka/runtime/dist/sandbox/linux-sandbox.js +20 -5
  610. package/node_modules/@maka/runtime/dist/sandbox-boundary-tool.js +12 -0
  611. package/node_modules/@maka/runtime/dist/scheduled-task-tools.js +68 -9
  612. package/node_modules/@maka/runtime/dist/session-event-runtime-mapper.js +55 -9
  613. package/node_modules/@maka/runtime/dist/session-export.js +179 -0
  614. package/node_modules/@maka/runtime/dist/session-import.js +100 -0
  615. package/node_modules/@maka/runtime/dist/session-manager.js +1121 -908
  616. package/node_modules/@maka/runtime/dist/session-projection-helpers.js +18 -28
  617. package/node_modules/@maka/runtime/dist/session-recap.js +90 -17
  618. package/node_modules/@maka/runtime/dist/session-todo-tools.js +67 -0
  619. package/node_modules/@maka/runtime/dist/session-trace-projection.js +25 -30
  620. package/node_modules/@maka/runtime/dist/shell-exec.js +25 -45
  621. package/node_modules/@maka/runtime/dist/shell-run-manager.js +83 -39
  622. package/node_modules/@maka/runtime/dist/shell-run-tool-result.js +19 -9
  623. package/node_modules/@maka/runtime/dist/shell-tools.js +83 -13
  624. package/node_modules/@maka/runtime/dist/skills-discovery.js +17 -23
  625. package/node_modules/@maka/runtime/dist/stream-graph-coordinator.js +454 -41
  626. package/node_modules/@maka/runtime/dist/stream-graph-handoff.js +6 -1
  627. package/node_modules/@maka/runtime/dist/stream-graph-projection.js +82 -15
  628. package/node_modules/@maka/runtime/dist/stream-graph-read-model.js +143 -20
  629. package/node_modules/@maka/runtime/dist/stream-graph-schedule-reconcile.js +210 -37
  630. package/node_modules/@maka/runtime/dist/stream-graph-supervisor-tools.js +26 -12
  631. package/node_modules/@maka/runtime/dist/stream-usage-fallback-fetch.js +74 -0
  632. package/node_modules/@maka/runtime/dist/subagent-tools.js +77 -90
  633. package/node_modules/@maka/runtime/dist/subscription-credentials.js +51 -4
  634. package/node_modules/@maka/runtime/dist/subscription-model-fetch.js +135 -13
  635. package/node_modules/@maka/runtime/dist/system-prompt/main-session-prompt.js +21 -2
  636. package/node_modules/@maka/runtime/dist/system-prompt/workspace-instructions.js +11 -6
  637. package/node_modules/@maka/runtime/dist/tavily-search.js +8 -2
  638. package/node_modules/@maka/runtime/dist/telemetry/model-pricing.generated.js +299 -215
  639. package/node_modules/@maka/runtime/dist/terminal-run-commit.js +42 -171
  640. package/node_modules/@maka/runtime/dist/test-connection.js +35 -85
  641. package/node_modules/@maka/runtime/dist/text-line-window.js +49 -0
  642. package/node_modules/@maka/runtime/dist/tool-activation-identity.js +41 -0
  643. package/node_modules/@maka/runtime/dist/tool-availability.js +154 -29
  644. package/node_modules/@maka/runtime/dist/tool-call-snapshot.js +142 -0
  645. package/node_modules/@maka/runtime/dist/tool-output.js +36 -13
  646. package/node_modules/@maka/runtime/dist/tool-result-archive-capability.js +24 -36
  647. package/node_modules/@maka/runtime/dist/tool-result-archive-encoding.js +38 -0
  648. package/node_modules/@maka/runtime/dist/tool-result-archive-resource.js +93 -245
  649. package/node_modules/@maka/runtime/dist/tool-result-archive-transition.js +186 -0
  650. package/node_modules/@maka/runtime/dist/tool-result-archive.js +50 -173
  651. package/node_modules/@maka/runtime/dist/tool-runtime.js +346 -648
  652. package/node_modules/@maka/runtime/dist/unified-diff.js +40 -10
  653. package/node_modules/@maka/runtime/dist/web-fetch-tool.js +4 -2
  654. package/node_modules/@maka/runtime/dist/workers/filesystem-worker.mjs +25558 -0
  655. package/node_modules/@maka/runtime/dist/workspace-executor.js +26 -35
  656. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/README.md +44 -8
  657. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/package.json +4 -4
  658. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +39 -3
  659. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js +4 -0
  660. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +3 -1
  661. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/docs/docs/api/Dispatcher.md +1 -0
  662. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/core/request.js +23 -2
  663. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
  664. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  665. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client-h2.js +84 -19
  666. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/dispatcher/client.js +6 -2
  667. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/cache-handler.js +21 -5
  668. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/handler/retry-handler.js +109 -23
  669. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/cache.js +20 -1
  670. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/decompress.js +338 -46
  671. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/interceptor/dump.js +10 -23
  672. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
  673. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/connection.js +19 -9
  674. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  675. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  676. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/node_modules/undici/package.json +1 -1
  677. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/package.json +5 -5
  678. package/node_modules/@maka/runtime/node_modules/undici/README.md +10 -1
  679. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Agent.md +8 -8
  680. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Client.md +4 -0
  681. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  682. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  683. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  684. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Errors.md +25 -0
  685. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  686. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  687. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Interceptors.md +8 -3
  688. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Pool.md +5 -6
  689. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  690. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/index.md +10 -1
  691. package/node_modules/@maka/runtime/node_modules/undici/lib/api/readable.js +1 -2
  692. package/node_modules/@maka/runtime/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  693. package/node_modules/@maka/runtime/node_modules/undici/lib/core/request.js +23 -2
  694. package/node_modules/@maka/runtime/node_modules/undici/lib/core/symbols.js +2 -0
  695. package/node_modules/@maka/runtime/node_modules/undici/lib/core/util.js +0 -39
  696. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/agent.js +7 -2
  697. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  698. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  699. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h2.js +94 -10
  700. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client.js +9 -3
  701. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  702. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  703. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  704. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +31 -9
  705. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  706. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/pool.js +90 -7
  707. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/proxy-agent.js +33 -3
  708. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  709. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  710. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  711. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/cache-handler.js +29 -5
  712. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  713. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/deduplication-handler.js +29 -10
  714. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/redirect-handler.js +26 -4
  715. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/retry-handler.js +215 -38
  716. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/cache.js +69 -13
  717. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/decompress.js +319 -50
  718. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  719. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/dns.js +7 -0
  720. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/dump.js +10 -23
  721. package/node_modules/@maka/runtime/node_modules/undici/lib/mock/mock-agent.js +13 -1
  722. package/node_modules/@maka/runtime/node_modules/undici/lib/mock/mock-utils.js +11 -10
  723. package/node_modules/@maka/runtime/node_modules/undici/lib/util/cache.js +45 -3
  724. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cache.js +17 -8
  725. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  726. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/index.js +19 -7
  727. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/parse.js +150 -147
  728. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/util.js +3 -1
  729. package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  730. package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource.js +38 -4
  731. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/body.js +22 -15
  732. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  733. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  734. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/headers.js +34 -31
  735. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/index.js +52 -25
  736. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/request.js +76 -82
  737. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/response.js +43 -44
  738. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/util.js +13 -8
  739. package/node_modules/@maka/runtime/node_modules/undici/lib/web/infra/index.js +16 -1
  740. package/node_modules/@maka/runtime/node_modules/undici/lib/web/webidl/index.js +5 -17
  741. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/connection.js +34 -13
  742. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/events.js +43 -26
  743. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  744. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  745. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  746. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketstream.js +27 -14
  747. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  748. package/node_modules/@maka/runtime/node_modules/undici/package.json +3 -3
  749. package/node_modules/@maka/runtime/package.json +53 -21
  750. package/node_modules/@maka/runtime-host/dist/adapter/provider-retry-projector.js +63 -0
  751. package/node_modules/@maka/runtime-host/dist/adapter/session-projector.js +145 -156
  752. package/node_modules/@maka/runtime-host/dist/antigravity-program.js +49 -0
  753. package/node_modules/@maka/runtime-host/dist/candidate-cli.js +7 -7
  754. package/node_modules/@maka/runtime-host/dist/candidate-entry.js +27 -6
  755. package/node_modules/@maka/runtime-host/dist/candidate-startup-failure.js +5 -0
  756. package/node_modules/@maka/runtime-host/dist/client/capability-provider-service.js +2 -0
  757. package/node_modules/@maka/runtime-host/dist/client/catalog-reader.js +64 -25
  758. package/node_modules/@maka/runtime-host/dist/client/client-capability-channel.js +190 -30
  759. package/node_modules/@maka/runtime-host/dist/client/connect-or-spawn.js +85 -24
  760. package/node_modules/@maka/runtime-host/dist/client/connection.js +170 -63
  761. package/node_modules/@maka/runtime-host/dist/client/host-handoff-copy.js +248 -0
  762. package/node_modules/@maka/runtime-host/dist/client/host-handoff.js +311 -0
  763. package/node_modules/@maka/runtime-host/dist/client/host-profile.js +457 -94
  764. package/node_modules/@maka/runtime-host/dist/client/host-retirement.js +28 -5
  765. package/node_modules/@maka/runtime-host/dist/client/hosted-execution-target.js +33 -6
  766. package/node_modules/@maka/runtime-host/dist/client/hosted-execution.js +10 -28
  767. package/node_modules/@maka/runtime-host/dist/client/index.js +14 -10
  768. package/node_modules/@maka/runtime-host/dist/client/launcher.js +4 -1
  769. package/node_modules/@maka/runtime-host/dist/client/oauth-presentation.js +1 -1
  770. package/node_modules/@maka/runtime-host/dist/client/owner-connection-code.js +38 -4
  771. package/node_modules/@maka/runtime-host/dist/client/peer-client.js +379 -25
  772. package/node_modules/@maka/runtime-host/dist/client/process-identity.js +73 -0
  773. package/node_modules/@maka/runtime-host/dist/client/reconnect-lifecycle.js +122 -19
  774. package/node_modules/@maka/runtime-host/dist/client/reconnecting-connection.js +15 -4
  775. package/node_modules/@maka/runtime-host/dist/client/registered-host-termination.js +107 -0
  776. package/node_modules/@maka/runtime-host/dist/client/remote-compatibility-error.js +2 -0
  777. package/node_modules/@maka/runtime-host/dist/client/session-catalog-summary.js +22 -1
  778. package/node_modules/@maka/runtime-host/dist/client/session-subscription.js +105 -125
  779. package/node_modules/@maka/runtime-host/dist/client/ssh-operator-activation.js +48 -11
  780. package/node_modules/@maka/runtime-host/dist/client/startup-error.js +6 -1
  781. package/node_modules/@maka/runtime-host/dist/client/wait-for-ready.js +1 -1
  782. package/node_modules/@maka/runtime-host/dist/client/wsl-control.js +0 -8
  783. package/node_modules/@maka/runtime-host/dist/client/wsl-environment.js +16 -8
  784. package/node_modules/@maka/runtime-host/dist/client-capability-entity-id.js +27 -0
  785. package/node_modules/@maka/runtime-host/dist/composition-identity.js +19 -0
  786. package/node_modules/@maka/runtime-host/dist/control/endpoint.js +8 -9
  787. package/node_modules/@maka/runtime-host/dist/execution-candidate-main.js +8 -1
  788. package/node_modules/@maka/runtime-host/dist/node-error.js +22 -0
  789. package/node_modules/@maka/runtime-host/dist/operator/access-management-frame.js +10 -1
  790. package/node_modules/@maka/runtime-host/dist/operator/index.js +5 -2
  791. package/node_modules/@maka/runtime-host/dist/operator/managed-deployment.js +17 -8
  792. package/node_modules/@maka/runtime-host/dist/operator/operator-command.js +110 -0
  793. package/node_modules/@maka/runtime-host/dist/operator/peer-management-frame.js +2 -0
  794. package/node_modules/@maka/runtime-host/dist/operator/retirement-cancellation.js +20 -0
  795. package/node_modules/@maka/runtime-host/dist/operator/service-management-frame.js +5 -6
  796. package/node_modules/@maka/runtime-host/dist/operator/setup-frame.js +32 -6
  797. package/node_modules/@maka/runtime-host/dist/peer-mesh/index.js +3 -3
  798. package/node_modules/@maka/runtime-host/dist/peer-mesh/limits.js +1 -2
  799. package/node_modules/@maka/runtime-host/dist/peer-mesh/model.js +48 -60
  800. package/node_modules/@maka/runtime-host/dist/peer-mesh/node.js +889 -414
  801. package/node_modules/@maka/runtime-host/dist/peer-mesh/owner.js +33 -70
  802. package/node_modules/@maka/runtime-host/dist/peer-mesh/store.js +82 -69
  803. package/node_modules/@maka/runtime-host/dist/peer-reachability/index.js +21 -0
  804. package/node_modules/@maka/runtime-host/dist/peer-reachability/model.js +202 -0
  805. package/node_modules/@maka/runtime-host/dist/peer-reachability/owner.js +118 -0
  806. package/node_modules/@maka/runtime-host/dist/peer-reachability/publisher.js +243 -0
  807. package/node_modules/@maka/runtime-host/dist/protocol/agent-graph.js +47 -9
  808. package/node_modules/@maka/runtime-host/dist/protocol/artifact.js +11 -20
  809. package/node_modules/@maka/runtime-host/dist/protocol/client-capability.js +273 -46
  810. package/node_modules/@maka/runtime-host/dist/protocol/codec.js +11 -0
  811. package/node_modules/@maka/runtime-host/dist/protocol/configuration.js +55 -9
  812. package/node_modules/@maka/runtime-host/dist/protocol/connection-catalog-change.js +26 -0
  813. package/node_modules/@maka/runtime-host/dist/protocol/connection-effects.js +53 -11
  814. package/node_modules/@maka/runtime-host/dist/protocol/external-agent-setup.js +149 -0
  815. package/node_modules/@maka/runtime-host/dist/protocol/external-session.js +41 -12
  816. package/node_modules/@maka/runtime-host/dist/protocol/host-resources.js +253 -0
  817. package/node_modules/@maka/runtime-host/dist/protocol/host-status.js +49 -11
  818. package/node_modules/@maka/runtime-host/dist/protocol/index.js +306 -5
  819. package/node_modules/@maka/runtime-host/dist/protocol/message-queue-limits.js +21 -0
  820. package/node_modules/@maka/runtime-host/dist/protocol/message.js +29 -124
  821. package/node_modules/@maka/runtime-host/dist/protocol/network-proxy.js +1 -7
  822. package/node_modules/@maka/runtime-host/dist/protocol/oauth.js +48 -5
  823. package/node_modules/@maka/runtime-host/dist/protocol/operations.js +42 -10
  824. package/node_modules/@maka/runtime-host/dist/protocol/peer-mesh.js +14 -31
  825. package/node_modules/@maka/runtime-host/dist/protocol/plan.js +1 -0
  826. package/node_modules/@maka/runtime-host/dist/protocol/plugin-platform.js +905 -0
  827. package/node_modules/@maka/runtime-host/dist/protocol/project-catalog.js +2 -2
  828. package/node_modules/@maka/runtime-host/dist/protocol/prompt-suggestions.js +61 -0
  829. package/node_modules/@maka/runtime-host/dist/protocol/queue-mutation.js +136 -0
  830. package/node_modules/@maka/runtime-host/dist/protocol/recall.js +270 -0
  831. package/node_modules/@maka/runtime-host/dist/protocol/runtime-policy.js +84 -26
  832. package/node_modules/@maka/runtime-host/dist/protocol/runtime-resource.js +4 -17
  833. package/node_modules/@maka/runtime-host/dist/protocol/scheduled-task.js +26 -6
  834. package/node_modules/@maka/runtime-host/dist/protocol/session-bundle.js +100 -0
  835. package/node_modules/@maka/runtime-host/dist/protocol/session-catalog-change.js +24 -6
  836. package/node_modules/@maka/runtime-host/dist/protocol/session-catalog.js +184 -15
  837. package/node_modules/@maka/runtime-host/dist/protocol/session-collaboration.js +68 -4
  838. package/node_modules/@maka/runtime-host/dist/protocol/session-continuity.js +85 -46
  839. package/node_modules/@maka/runtime-host/dist/protocol/session-retirement.js +71 -8
  840. package/node_modules/@maka/runtime-host/dist/protocol/session-revision.js +11 -2
  841. package/node_modules/@maka/runtime-host/dist/protocol/session-todo.js +53 -0
  842. package/node_modules/@maka/runtime-host/dist/protocol/session-transcript.js +34 -127
  843. package/node_modules/@maka/runtime-host/dist/protocol/session-turns.js +38 -59
  844. package/node_modules/@maka/runtime-host/dist/protocol/skill-catalog.js +2 -1
  845. package/node_modules/@maka/runtime-host/dist/protocol/storage-retention.js +144 -0
  846. package/node_modules/@maka/runtime-host/dist/protocol/storage-usage.js +155 -0
  847. package/node_modules/@maka/runtime-host/dist/protocol/turn-provider-retry.js +69 -0
  848. package/node_modules/@maka/runtime-host/dist/protocol/turn.js +55 -108
  849. package/node_modules/@maka/runtime-host/dist/protocol/usage-pricing.js +47 -3
  850. package/node_modules/@maka/runtime-host/dist/protocol/usage-screen.js +312 -0
  851. package/node_modules/@maka/runtime-host/dist/protocol/workhub-coordination.js +215 -75
  852. package/node_modules/@maka/runtime-host/dist/server/access-authority.js +78 -17
  853. package/node_modules/@maka/runtime-host/dist/server/access-credential-metadata.js +4 -2
  854. package/node_modules/@maka/runtime-host/dist/server/access-credential-store.js +137 -49
  855. package/node_modules/@maka/runtime-host/dist/server/acp/antigravity-install.js +242 -0
  856. package/node_modules/@maka/runtime-host/dist/server/acp/antigravity.js +140 -0
  857. package/node_modules/@maka/runtime-host/dist/server/acp/connection.js +116 -0
  858. package/node_modules/@maka/runtime-host/dist/server/agent-graph-coordinator.js +23 -3
  859. package/node_modules/@maka/runtime-host/dist/server/agent-graph-execution-coordinator.js +1 -2
  860. package/node_modules/@maka/runtime-host/dist/server/archive-retention-coordinator.js +522 -0
  861. package/node_modules/@maka/runtime-host/dist/server/artifact-coordinator.js +18 -19
  862. package/node_modules/@maka/runtime-host/dist/server/bootstrap-runtime-policy.js +95 -97
  863. package/node_modules/@maka/runtime-host/dist/server/builtin-external-agent-plugins.js +188 -0
  864. package/node_modules/@maka/runtime-host/dist/server/candidate.js +48 -36
  865. package/node_modules/@maka/runtime-host/dist/server/canonical-session-projection.js +2 -1
  866. package/node_modules/@maka/runtime-host/dist/server/canonical-turn-snapshot.js +39 -24
  867. package/node_modules/@maka/runtime-host/dist/server/canonical-usage-reader.js +24 -11
  868. package/node_modules/@maka/runtime-host/dist/server/child-agent-composition.js +2 -1
  869. package/node_modules/@maka/runtime-host/dist/server/client-capability-coordinator.js +633 -101
  870. package/node_modules/@maka/runtime-host/dist/server/client-capability-invocation-broker.js +266 -53
  871. package/node_modules/@maka/runtime-host/dist/server/client-capability-provider-id.js +31 -0
  872. package/node_modules/@maka/runtime-host/dist/server/client-capability-recovery.js +44 -46
  873. package/node_modules/@maka/runtime-host/dist/server/configuration-coordinator.js +20 -1
  874. package/node_modules/@maka/runtime-host/dist/server/connection-effect-coordinator.js +47 -19
  875. package/node_modules/@maka/runtime-host/dist/server/connection-session.js +42 -19
  876. package/node_modules/@maka/runtime-host/dist/server/context-coordinator.js +2 -0
  877. package/node_modules/@maka/runtime-host/dist/server/daily-review-coordinator.js +164 -82
  878. package/node_modules/@maka/runtime-host/dist/server/execution-artifacts.js +59 -57
  879. package/node_modules/@maka/runtime-host/dist/server/execution-candidate.js +4 -1
  880. package/node_modules/@maka/runtime-host/dist/server/execution-composition-factory.js +10 -4
  881. package/node_modules/@maka/runtime-host/dist/server/execution-composition.js +1572 -233
  882. package/node_modules/@maka/runtime-host/dist/server/execution-inspect-coordinator.js +35 -29
  883. package/node_modules/@maka/runtime-host/dist/server/execution-model-authority.js +214 -33
  884. package/node_modules/@maka/runtime-host/dist/server/execution-model-composition.js +94 -67
  885. package/node_modules/@maka/runtime-host/dist/server/execution-service.js +54 -26
  886. package/node_modules/@maka/runtime-host/dist/server/extension-bundle.js +253 -0
  887. package/node_modules/@maka/runtime-host/dist/server/extension-package-manifest.js +280 -0
  888. package/node_modules/@maka/runtime-host/dist/server/external-agent-setup-coordinator.js +193 -0
  889. package/node_modules/@maka/runtime-host/dist/server/external-session-coordinator.js +130 -55
  890. package/node_modules/@maka/runtime-host/dist/server/failure-diagnostic.js +24 -0
  891. package/node_modules/@maka/runtime-host/dist/server/generated-text.js +39 -0
  892. package/node_modules/@maka/runtime-host/dist/server/goal-coordinator.js +176 -40
  893. package/node_modules/@maka/runtime-host/dist/server/host-change-feed.js +26 -22
  894. package/node_modules/@maka/runtime-host/dist/server/host-composition-source.js +47 -0
  895. package/node_modules/@maka/runtime-host/dist/server/host-composition.js +1 -29
  896. package/node_modules/@maka/runtime-host/dist/server/host-kernel.js +154 -35
  897. package/node_modules/@maka/runtime-host/dist/server/host-maintenance-guards.js +95 -0
  898. package/node_modules/@maka/runtime-host/dist/server/host-residency-registry.js +41 -20
  899. package/node_modules/@maka/runtime-host/dist/server/host-resource-collector.js +223 -0
  900. package/node_modules/@maka/runtime-host/dist/server/host-resource-probe-main.js +44 -0
  901. package/node_modules/@maka/runtime-host/dist/server/host-resource-probe.js +83 -0
  902. package/node_modules/@maka/runtime-host/dist/server/host-session-availability.js +15 -4
  903. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-admission-registry.js +3 -1
  904. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-projection.js +12 -7
  905. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-recovery.js +205 -75
  906. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-runner.js +13 -6
  907. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-tool-profile.js +98 -12
  908. package/node_modules/@maka/runtime-host/dist/server/index.js +5 -0
  909. package/node_modules/@maka/runtime-host/dist/server/interaction-coordinator.js +467 -40
  910. package/node_modules/@maka/runtime-host/dist/server/interaction-projection.js +36 -1
  911. package/node_modules/@maka/runtime-host/dist/server/interactive-run-composer.js +209 -68
  912. package/node_modules/@maka/runtime-host/dist/server/interactive-turn-coordinator.js +5 -17
  913. package/node_modules/@maka/runtime-host/dist/server/jev-routing-model.js +157 -0
  914. package/node_modules/@maka/runtime-host/dist/server/json-array-page-budget.js +48 -0
  915. package/node_modules/@maka/runtime-host/dist/server/listener-set.js +8 -6
  916. package/node_modules/@maka/runtime-host/dist/server/memory-projection.js +14 -15
  917. package/node_modules/@maka/runtime-host/dist/server/message-coordinator.js +565 -353
  918. package/node_modules/@maka/runtime-host/dist/server/message-queue-state.js +69 -0
  919. package/node_modules/@maka/runtime-host/dist/server/model-metadata-refresh.js +96 -0
  920. package/node_modules/@maka/runtime-host/dist/server/network-proxy-coordinator.js +0 -1
  921. package/node_modules/@maka/runtime-host/dist/server/oauth-coordinator.js +79 -4
  922. package/node_modules/@maka/runtime-host/dist/server/oauth-execution-authority.js +20 -3
  923. package/node_modules/@maka/runtime-host/dist/server/operation-dispatcher.js +66 -127
  924. package/node_modules/@maka/runtime-host/dist/server/peer-listener.js +131 -48
  925. package/node_modules/@maka/runtime-host/dist/server/peer-mesh-authority.js +1 -1
  926. package/node_modules/@maka/runtime-host/dist/server/plan-coordinator.js +52 -16
  927. package/node_modules/@maka/runtime-host/dist/server/plugin-composition-patch.js +58 -0
  928. package/node_modules/@maka/runtime-host/dist/server/plugin-composition-store.js +141 -0
  929. package/node_modules/@maka/runtime-host/dist/server/plugin-data-runtime.js +240 -0
  930. package/node_modules/@maka/runtime-host/dist/server/plugin-package-loader.js +204 -0
  931. package/node_modules/@maka/runtime-host/dist/server/plugin-package-store.js +545 -0
  932. package/node_modules/@maka/runtime-host/dist/server/plugin-platform-coordinator.js +400 -0
  933. package/node_modules/@maka/runtime-host/dist/server/plugin-platform.js +1273 -0
  934. package/node_modules/@maka/runtime-host/dist/server/plugin-scratch-directory.js +55 -0
  935. package/node_modules/@maka/runtime-host/dist/server/process-lifecycle.js +1 -1
  936. package/node_modules/@maka/runtime-host/dist/server/process-termination-error.js +27 -0
  937. package/node_modules/@maka/runtime-host/dist/server/project-catalog-coordinator.js +12 -12
  938. package/node_modules/@maka/runtime-host/dist/server/project-directory-authority.js +4 -3
  939. package/node_modules/@maka/runtime-host/dist/server/prompt-suggestion.js +179 -0
  940. package/node_modules/@maka/runtime-host/dist/server/provider-retry-projection.js +71 -0
  941. package/node_modules/@maka/runtime-host/dist/server/queued-mutation-executor.js +94 -0
  942. package/node_modules/@maka/runtime-host/dist/server/recall-coordinator.js +117 -0
  943. package/node_modules/@maka/runtime-host/dist/server/recall-material-fetch.js +92 -0
  944. package/node_modules/@maka/runtime-host/dist/server/root-admission-owner.js +32 -7
  945. package/node_modules/@maka/runtime-host/dist/server/root-turn-coordinator.js +912 -225
  946. package/node_modules/@maka/runtime-host/dist/server/runtime-policy-coordinator.js +74 -18
  947. package/node_modules/@maka/runtime-host/dist/server/runtime-resource-coordinator.js +24 -31
  948. package/node_modules/@maka/runtime-host/dist/server/runtime-resource-projection.js +15 -32
  949. package/node_modules/@maka/runtime-host/dist/server/safe-boundary-resume-policy.js +27 -0
  950. package/node_modules/@maka/runtime-host/dist/server/sandbox-boundary-graph-wake.js +3 -5
  951. package/node_modules/@maka/runtime-host/dist/server/scheduled-task-coordinator.js +170 -44
  952. package/node_modules/@maka/runtime-host/dist/server/serial-outbound-writer.js +46 -4
  953. package/node_modules/@maka/runtime-host/dist/server/session-admission-gate.js +21 -1
  954. package/node_modules/@maka/runtime-host/dist/server/session-background-activity.js +71 -0
  955. package/node_modules/@maka/runtime-host/dist/server/session-bundle-coordinator.js +166 -0
  956. package/node_modules/@maka/runtime-host/dist/server/session-catalog-coordinator.js +508 -65
  957. package/node_modules/@maka/runtime-host/dist/server/session-continuity-coordinator.js +492 -586
  958. package/node_modules/@maka/runtime-host/dist/server/session-effect-coordinator.js +13 -7
  959. package/node_modules/@maka/runtime-host/dist/server/session-interaction-activity.js +78 -0
  960. package/node_modules/@maka/runtime-host/dist/server/session-retirement-coordinator.js +279 -29
  961. package/node_modules/@maka/runtime-host/dist/server/session-revision-coordinator.js +137 -191
  962. package/node_modules/@maka/runtime-host/dist/server/session-revision-graph-references.js +80 -87
  963. package/node_modules/@maka/runtime-host/dist/server/session-sidecar-purge.js +2 -1
  964. package/node_modules/@maka/runtime-host/dist/server/session-title.js +3 -16
  965. package/node_modules/@maka/runtime-host/dist/server/session-todo-coordinator.js +77 -0
  966. package/node_modules/@maka/runtime-host/dist/server/session-transcript-pager.js +23 -488
  967. package/node_modules/@maka/runtime-host/dist/server/session-transcript-reader.js +407 -115
  968. package/node_modules/@maka/runtime-host/dist/server/session-turn-access-request-coordinator.js +33 -26
  969. package/node_modules/@maka/runtime-host/dist/server/shared-session-transcript.js +4 -1
  970. package/node_modules/@maka/runtime-host/dist/server/skill-catalog-coordinator.js +20 -2
  971. package/node_modules/@maka/runtime-host/dist/server/skill-catalog-repository.js +16 -17
  972. package/node_modules/@maka/runtime-host/dist/server/storage-maintenance.js +139 -0
  973. package/node_modules/@maka/runtime-host/dist/server/storage-usage-coordinator.js +67 -0
  974. package/node_modules/@maka/runtime-host/dist/server/usage-pricing-coordinator.js +86 -32
  975. package/node_modules/@maka/runtime-host/dist/server/web-fetch-tool.js +38 -2
  976. package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-action-gate.js +631 -50
  977. package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-coordinator.js +680 -132
  978. package/node_modules/@maka/runtime-host/dist/server/workhub-inspection-tool.js +208 -0
  979. package/node_modules/@maka/runtime-host/dist/server/workhub-message-attachments.js +47 -0
  980. package/node_modules/@maka/runtime-host/dist/server/workhub-result-coordinator.js +203 -0
  981. package/node_modules/@maka/runtime-host/dist/server/workhub-result-runtime.js +200 -0
  982. package/node_modules/@maka/runtime-host/dist/server/workhub-target-execution-authority.js +49 -0
  983. package/node_modules/@maka/runtime-host/dist/server/workhub-topic-gate.js +92 -0
  984. package/node_modules/@maka/runtime-host/dist/transport/framed-byte-stream-transport.js +43 -6
  985. package/node_modules/@maka/runtime-host/dist/transport/local-ipc-framing.js +4 -2
  986. package/node_modules/@maka/runtime-host/dist/transport/peer-native.js +112 -24
  987. package/node_modules/@maka/runtime-host/dist/transport/resumable-peer-stream.js +469 -0
  988. package/node_modules/@maka/runtime-host/dist/webrtc-stun-policy.js +114 -0
  989. package/node_modules/@maka/runtime-host/package.json +10 -1
  990. package/node_modules/@maka/storage/dist/agent-run-store-contract.js +956 -0
  991. package/node_modules/@maka/storage/dist/agent-run-store.js +264 -1058
  992. package/node_modules/@maka/storage/dist/archive-retention-store.js +124 -0
  993. package/node_modules/@maka/storage/dist/artifact-attachments.js +9 -12
  994. package/node_modules/@maka/storage/dist/artifact-metadata-codec.js +28 -31
  995. package/node_modules/@maka/storage/dist/artifact-store.js +256 -789
  996. package/node_modules/@maka/storage/dist/artifact-stores.js +2 -12
  997. package/node_modules/@maka/storage/dist/artifact-writer-lock.js +1 -1
  998. package/node_modules/@maka/storage/dist/atomic-file-write.js +75 -0
  999. package/node_modules/@maka/storage/dist/claude-code-session-adapter.js +802 -321
  1000. package/node_modules/@maka/storage/dist/claude-code-transcript-lineage.js +106 -77
  1001. package/node_modules/@maka/storage/dist/codex-session-adapter.js +845 -315
  1002. package/node_modules/@maka/storage/dist/config-transfer.js +14 -8
  1003. package/node_modules/@maka/storage/dist/context-offload-snapshot.js +397 -0
  1004. package/node_modules/@maka/storage/dist/context-offload-store.js +12 -3
  1005. package/node_modules/@maka/storage/dist/context-value-mutation-gate.js +59 -0
  1006. package/node_modules/@maka/storage/dist/conversation-operational-state.js +11 -0
  1007. package/node_modules/@maka/storage/dist/credential-store.js +15 -63
  1008. package/node_modules/@maka/storage/dist/event-wait-authority.js +141 -0
  1009. package/node_modules/@maka/storage/dist/execution-persistence-provider.js +55 -0
  1010. package/node_modules/@maka/storage/dist/execution-record-codec.js +1 -22
  1011. package/node_modules/@maka/storage/dist/execution-stores.js +293 -81
  1012. package/node_modules/@maka/storage/dist/external-session-importer.js +25 -3
  1013. package/node_modules/@maka/storage/dist/file-lifetime-owner.js +30 -2
  1014. package/node_modules/@maka/storage/dist/file-session-repository.js +1012 -0
  1015. package/node_modules/@maka/storage/dist/git-entry.js +142 -5
  1016. package/node_modules/@maka/storage/dist/git-exec.js +61 -0
  1017. package/node_modules/@maka/storage/dist/git-worktree-child-executor.js +11 -36
  1018. package/node_modules/@maka/storage/dist/goal-authority.js +41 -10
  1019. package/node_modules/@maka/storage/dist/graph-control-values.js +126 -0
  1020. package/node_modules/@maka/storage/dist/interaction-store-contract.js +231 -0
  1021. package/node_modules/@maka/storage/dist/interaction-store-public.js +1 -1
  1022. package/node_modules/@maka/storage/dist/interaction-store.js +196 -166
  1023. package/node_modules/@maka/storage/dist/legacy-run-header.js +327 -0
  1024. package/node_modules/@maka/storage/dist/local-execution-persistence.js +84 -0
  1025. package/node_modules/@maka/storage/dist/mcp-config-store.js +123 -30
  1026. package/node_modules/@maka/storage/dist/message-admission-store.js +8 -3
  1027. package/node_modules/@maka/storage/dist/model-call-ledger.js +257 -32
  1028. package/node_modules/@maka/storage/dist/model-call-usage-sql.js +174 -0
  1029. package/node_modules/@maka/storage/dist/model-facts-store.js +56 -0
  1030. package/node_modules/@maka/storage/dist/offset-external-session-catalog.js +69 -0
  1031. package/node_modules/@maka/storage/dist/opencode-session-adapter.js +278 -77
  1032. package/node_modules/@maka/storage/dist/operational-state-backup.js +15 -11
  1033. package/node_modules/@maka/storage/dist/operational-state-store-public.js +1 -1
  1034. package/node_modules/@maka/storage/dist/operational-state-store.js +52 -9
  1035. package/node_modules/@maka/storage/dist/plan-authority.js +50 -0
  1036. package/node_modules/@maka/storage/dist/plan-store.js +30 -0
  1037. package/node_modules/@maka/storage/dist/process-lifetime-file-update-lock.js +0 -41
  1038. package/node_modules/@maka/storage/dist/production-session-snapshot.js +761 -0
  1039. package/node_modules/@maka/storage/dist/project-catalog.js +51 -74
  1040. package/node_modules/@maka/storage/dist/quiescent-session-snapshot.js +1 -1
  1041. package/node_modules/@maka/storage/dist/recall-fold.js +70 -0
  1042. package/node_modules/@maka/storage/dist/root-authority.js +4 -0
  1043. package/node_modules/@maka/storage/dist/runtime-event-invariants.js +2 -2
  1044. package/node_modules/@maka/storage/dist/runtime-event-persistence.js +10 -0
  1045. package/node_modules/@maka/storage/dist/runtime-event-store-contract.js +19 -0
  1046. package/node_modules/@maka/storage/dist/runtime-partial-values.js +118 -0
  1047. package/node_modules/@maka/storage/dist/runtime-policy/connection-catalog-document.js +188 -123
  1048. package/node_modules/@maka/storage/dist/runtime-policy/coordinator.js +352 -88
  1049. package/node_modules/@maka/storage/dist/runtime-policy/credential-vault-document.js +4 -1
  1050. package/node_modules/@maka/storage/dist/runtime-policy/document-io.js +22 -16
  1051. package/node_modules/@maka/storage/dist/runtime-policy/legacy-custom-connection.js +65 -0
  1052. package/node_modules/@maka/storage/dist/runtime-policy/oauth-login-receipt-document.js +28 -7
  1053. package/node_modules/@maka/storage/dist/runtime-policy/onboarding-transaction.js +53 -24
  1054. package/node_modules/@maka/storage/dist/runtime-policy/policy-document.js +12 -4
  1055. package/node_modules/@maka/storage/dist/runtime-policy-stores.js +6 -4
  1056. package/node_modules/@maka/storage/dist/runtime-transcript-query.js +333 -0
  1057. package/node_modules/@maka/storage/dist/scheduled-task-store.js +256 -283
  1058. package/node_modules/@maka/storage/dist/session-bundle-manifest.js +5 -17
  1059. package/node_modules/@maka/storage/dist/session-bundle-policy.js +1094 -34
  1060. package/node_modules/@maka/storage/dist/session-copy-cleanup.js +12 -7
  1061. package/node_modules/@maka/storage/dist/session-message-projection.js +24 -5
  1062. package/node_modules/@maka/storage/dist/session-repository.js +767 -0
  1063. package/node_modules/@maka/storage/dist/session-store-contract.js +61 -0
  1064. package/node_modules/@maka/storage/dist/session-store-values.js +354 -0
  1065. package/node_modules/@maka/storage/dist/session-store.js +154 -438
  1066. package/node_modules/@maka/storage/dist/session-todo-authority.js +106 -0
  1067. package/node_modules/@maka/storage/dist/session-todo-store.js +169 -0
  1068. package/node_modules/@maka/storage/dist/settings-store.js +297 -34
  1069. package/node_modules/@maka/storage/dist/shell-run-authority.js +1 -0
  1070. package/node_modules/@maka/storage/dist/shell-run-store.js +15 -0
  1071. package/node_modules/@maka/storage/dist/sqlite-artifact-metadata.js +51 -17
  1072. package/node_modules/@maka/storage/dist/sqlite-artifact-schema.js +55 -5
  1073. package/node_modules/@maka/storage/dist/sqlite-context-offload-store.js +76 -12
  1074. package/node_modules/@maka/storage/dist/sqlite-core-execution-schema.js +46 -2
  1075. package/node_modules/@maka/storage/dist/sqlite-event-wait-authority.js +131 -0
  1076. package/node_modules/@maka/storage/dist/sqlite-file-set.js +22 -0
  1077. package/node_modules/@maka/storage/dist/sqlite-long-term-memory-store.js +87 -15
  1078. package/node_modules/@maka/storage/dist/sqlite-runtime-schema.js +470 -1
  1079. package/node_modules/@maka/storage/dist/sqlite-runtime-store.js +1290 -372
  1080. package/node_modules/@maka/storage/dist/sqlite-session-catalog-query.js +49 -5
  1081. package/node_modules/@maka/storage/dist/sqlite-session-metadata-schema.js +126 -5
  1082. package/node_modules/@maka/storage/dist/sqlite-session-metadata-store.js +907 -1116
  1083. package/node_modules/@maka/storage/dist/sqlite-session-role-scope.js +3 -3
  1084. package/node_modules/@maka/storage/dist/sqlite-usage-schema.js +295 -20
  1085. package/node_modules/@maka/storage/dist/sqlite-usage-store.js +33 -6
  1086. package/node_modules/@maka/storage/dist/sqlite-workflow-schema.js +24 -8
  1087. package/node_modules/@maka/storage/dist/stable-storage.js +16 -2
  1088. package/node_modules/@maka/storage/dist/storage-footprint.js +239 -0
  1089. package/node_modules/@maka/storage/dist/storage-id.js +28 -0
  1090. package/node_modules/@maka/storage/dist/storage-writer-composition.js +17 -10
  1091. package/node_modules/@maka/storage/dist/telemetry-file-schema.js +5 -3
  1092. package/node_modules/@maka/storage/dist/tool-commit-validation.js +111 -0
  1093. package/node_modules/@maka/storage/dist/tool-result-archive-evidence.js +138 -0
  1094. package/node_modules/@maka/storage/dist/usage-screen.js +384 -0
  1095. package/node_modules/@maka/storage/dist/usage-stores.js +33 -9
  1096. package/node_modules/@maka/storage/dist/work-board-store.js +44 -5
  1097. package/node_modules/@maka/storage/dist/workspace-identity.js +2 -15
  1098. package/node_modules/@maka/storage/dist/workspace-version-authority-internal.js +1 -8
  1099. package/node_modules/@maka/storage/package.json +10 -5
  1100. package/node_modules/@modelcontextprotocol/client/dist/index-D_CiY-T3.d.cts.map +1 -0
  1101. package/node_modules/@modelcontextprotocol/client/dist/index-D_QDtbiv.d.mts.map +1 -0
  1102. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +474 -114
  1103. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -1
  1104. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -1
  1105. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +468 -115
  1106. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +1 -1
  1107. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +1 -1
  1108. package/node_modules/@modelcontextprotocol/client/dist/src-oZBjf3U1.cjs +7538 -0
  1109. package/node_modules/@modelcontextprotocol/client/dist/src-xKF0PJN-.mjs +7164 -0
  1110. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +8 -2
  1111. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -1
  1112. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -1
  1113. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +8 -2
  1114. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth-Anm-lwWi.d.mts.map +1 -0
  1115. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs +1681 -0
  1116. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth-D1CeV_Jr.cjs +2902 -0
  1117. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/auth-V9XJSCfa.d.cts.map +1 -0
  1118. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
  1119. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
  1120. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
  1121. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
  1122. package/node_modules/@modelcontextprotocol/client/node_modules/@modelcontextprotocol/core/package.json +85 -0
  1123. package/node_modules/@modelcontextprotocol/client/package.json +4 -4
  1124. package/node_modules/@openai/agents-core/dist/agent.js +8 -10
  1125. package/node_modules/@openai/agents-core/dist/agent.mjs +9 -11
  1126. package/node_modules/@openai/agents-core/dist/agentToolInput.js +2 -30
  1127. package/node_modules/@openai/agents-core/dist/agentToolInput.mjs +1 -29
  1128. package/node_modules/@openai/agents-core/dist/defaultModel.js +23 -3
  1129. package/node_modules/@openai/agents-core/dist/defaultModel.mjs +21 -3
  1130. package/node_modules/@openai/agents-core/dist/handoff.js +5 -5
  1131. package/node_modules/@openai/agents-core/dist/handoff.mjs +5 -5
  1132. package/node_modules/@openai/agents-core/dist/index.js +2 -1
  1133. package/node_modules/@openai/agents-core/dist/index.mjs +1 -1
  1134. package/node_modules/@openai/agents-core/dist/items.js +8 -1
  1135. package/node_modules/@openai/agents-core/dist/items.mjs +8 -1
  1136. package/node_modules/@openai/agents-core/dist/mcp.js +26 -16
  1137. package/node_modules/@openai/agents-core/dist/mcp.mjs +27 -17
  1138. package/node_modules/@openai/agents-core/dist/mcpServers.js +18 -15
  1139. package/node_modules/@openai/agents-core/dist/mcpServers.mjs +18 -15
  1140. package/node_modules/@openai/agents-core/dist/mcpShared.js +12 -0
  1141. package/node_modules/@openai/agents-core/dist/mcpShared.mjs +12 -0
  1142. package/node_modules/@openai/agents-core/dist/memory/session.js +8 -0
  1143. package/node_modules/@openai/agents-core/dist/memory/session.mjs +7 -0
  1144. package/node_modules/@openai/agents-core/dist/metadata.js +2 -2
  1145. package/node_modules/@openai/agents-core/dist/metadata.mjs +2 -2
  1146. package/node_modules/@openai/agents-core/dist/run.js +550 -248
  1147. package/node_modules/@openai/agents-core/dist/run.mjs +555 -253
  1148. package/node_modules/@openai/agents-core/dist/runState.js +747 -420
  1149. package/node_modules/@openai/agents-core/dist/runState.mjs +742 -421
  1150. package/node_modules/@openai/agents-core/dist/runStateLegacyCompaction.js +440 -0
  1151. package/node_modules/@openai/agents-core/dist/runStateLegacyCompaction.mjs +404 -0
  1152. package/node_modules/@openai/agents-core/dist/runner/blockedOutputPersistence.js +274 -78
  1153. package/node_modules/@openai/agents-core/dist/runner/blockedOutputPersistence.mjs +268 -77
  1154. package/node_modules/@openai/agents-core/dist/runner/conversation.js +22 -3
  1155. package/node_modules/@openai/agents-core/dist/runner/conversation.mjs +23 -4
  1156. package/node_modules/@openai/agents-core/dist/runner/guardrails.js +80 -15
  1157. package/node_modules/@openai/agents-core/dist/runner/guardrails.mjs +78 -15
  1158. package/node_modules/@openai/agents-core/dist/runner/items.js +35 -2
  1159. package/node_modules/@openai/agents-core/dist/runner/items.mjs +35 -2
  1160. package/node_modules/@openai/agents-core/dist/runner/modelOutputs.js +47 -18
  1161. package/node_modules/@openai/agents-core/dist/runner/modelOutputs.mjs +50 -21
  1162. package/node_modules/@openai/agents-core/dist/runner/modelPreparation.js +28 -0
  1163. package/node_modules/@openai/agents-core/dist/runner/modelPreparation.mjs +28 -1
  1164. package/node_modules/@openai/agents-core/dist/runner/modelRetry.js +322 -217
  1165. package/node_modules/@openai/agents-core/dist/runner/modelRetry.mjs +322 -217
  1166. package/node_modules/@openai/agents-core/dist/runner/modelSettings.js +15 -22
  1167. package/node_modules/@openai/agents-core/dist/runner/modelSettings.mjs +15 -22
  1168. package/node_modules/@openai/agents-core/dist/runner/outputGuardrailBlockedMessage.js +32 -0
  1169. package/node_modules/@openai/agents-core/dist/runner/outputGuardrailBlockedMessage.mjs +28 -0
  1170. package/node_modules/@openai/agents-core/dist/runner/runLoop.js +53 -8
  1171. package/node_modules/@openai/agents-core/dist/runner/runLoop.mjs +53 -8
  1172. package/node_modules/@openai/agents-core/dist/runner/sessionItems.js +119 -0
  1173. package/node_modules/@openai/agents-core/dist/runner/sessionItems.mjs +114 -0
  1174. package/node_modules/@openai/agents-core/dist/runner/sessionPersistence.js +408 -157
  1175. package/node_modules/@openai/agents-core/dist/runner/sessionPersistence.mjs +388 -142
  1176. package/node_modules/@openai/agents-core/dist/runner/toolExecution.js +42 -3
  1177. package/node_modules/@openai/agents-core/dist/runner/toolExecution.mjs +42 -3
  1178. package/node_modules/@openai/agents-core/dist/runner/toolSearch.js +1 -0
  1179. package/node_modules/@openai/agents-core/dist/runner/toolSearch.mjs +1 -1
  1180. package/node_modules/@openai/agents-core/dist/runner/toolSearchAttribution.js +19 -0
  1181. package/node_modules/@openai/agents-core/dist/runner/toolSearchAttribution.mjs +15 -0
  1182. package/node_modules/@openai/agents-core/dist/runner/turnResolution.js +65 -13
  1183. package/node_modules/@openai/agents-core/dist/runner/turnResolution.mjs +65 -13
  1184. package/node_modules/@openai/agents-core/dist/runner/usageTracking.js +69 -0
  1185. package/node_modules/@openai/agents-core/dist/runner/usageTracking.mjs +65 -0
  1186. package/node_modules/@openai/agents-core/dist/sandbox/manifest.js +4 -0
  1187. package/node_modules/@openai/agents-core/dist/sandbox/manifest.mjs +4 -0
  1188. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/docker.js +317 -127
  1189. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/docker.mjs +319 -129
  1190. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/localWorkspace.js +1 -1
  1191. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/localWorkspace.mjs +1 -1
  1192. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/pty.js +27 -13
  1193. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/pty.mjs +27 -13
  1194. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFileWorker.js +196 -0
  1195. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFileWorker.mjs +193 -0
  1196. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFiles.js +215 -0
  1197. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFiles.mjs +211 -0
  1198. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/unixLocal.js +193 -83
  1199. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/unixLocal.mjs +196 -86
  1200. package/node_modules/@openai/agents-core/dist/sandbox/session.js +2 -1
  1201. package/node_modules/@openai/agents-core/dist/sandbox/session.mjs +2 -1
  1202. package/node_modules/@openai/agents-core/dist/tracing/processor.js +21 -7
  1203. package/node_modules/@openai/agents-core/dist/tracing/processor.mjs +21 -7
  1204. package/node_modules/@openai/agents-core/dist/tracing/spans.js +40 -6
  1205. package/node_modules/@openai/agents-core/dist/tracing/spans.mjs +7 -3
  1206. package/node_modules/@openai/agents-core/dist/types/protocol.js +6 -0
  1207. package/node_modules/@openai/agents-core/dist/types/protocol.mjs +6 -0
  1208. package/node_modules/@openai/agents-core/dist/usage.js +13 -4
  1209. package/node_modules/@openai/agents-core/dist/usage.mjs +13 -4
  1210. package/node_modules/@openai/agents-core/dist/utils/applyDiff.js +24 -7
  1211. package/node_modules/@openai/agents-core/dist/utils/applyDiff.mjs +24 -7
  1212. package/node_modules/@openai/agents-core/dist/utils/internal.js +3 -1
  1213. package/node_modules/@openai/agents-core/dist/utils/internal.mjs +1 -1
  1214. package/node_modules/@openai/agents-core/dist/utils/zodCompat.js +29 -0
  1215. package/node_modules/@openai/agents-core/dist/utils/zodCompat.mjs +28 -0
  1216. package/node_modules/@openai/agents-core/dist/utils/zodJsonSchemaCompat.js +3 -31
  1217. package/node_modules/@openai/agents-core/dist/utils/zodJsonSchemaCompat.mjs +1 -29
  1218. package/node_modules/@openai/agents-core/package.json +1 -1
  1219. package/node_modules/@slack/types/dist/events/agent.js +3 -0
  1220. package/node_modules/@slack/types/dist/events/index.js +44 -0
  1221. package/node_modules/@slack/types/package.json +47 -0
  1222. package/node_modules/@slack/web-api/README.md +382 -0
  1223. package/node_modules/@slack/web-api/dist/methods.js +1636 -0
  1224. package/node_modules/@slack/web-api/dist/types/request/agents.js +3 -0
  1225. package/node_modules/@slack/web-api/dist/types/request/blocks.js +3 -0
  1226. package/node_modules/@slack/web-api/dist/types/response/AdminUsersGetExpirationResponse.js +11 -0
  1227. package/node_modules/@slack/web-api/dist/types/response/AgentsSessionsRenameResponse.js +11 -0
  1228. package/node_modules/@slack/web-api/dist/types/response/AgentsSessionsSetStatusResponse.js +11 -0
  1229. package/node_modules/@slack/web-api/dist/types/response/BlocksValidateResponse.js +11 -0
  1230. package/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +11 -0
  1231. package/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +11 -0
  1232. package/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +48 -0
  1233. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +67 -0
  1234. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js +72 -0
  1235. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js +48 -0
  1236. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +11 -0
  1237. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +11 -0
  1238. package/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +11 -0
  1239. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +11 -0
  1240. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +11 -0
  1241. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +11 -0
  1242. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +11 -0
  1243. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +11 -0
  1244. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +11 -0
  1245. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +11 -0
  1246. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +11 -0
  1247. package/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +11 -0
  1248. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +11 -0
  1249. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +11 -0
  1250. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +11 -0
  1251. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +11 -0
  1252. package/node_modules/@slack/web-api/node_modules/@types/retry/LICENSE +21 -0
  1253. package/node_modules/@slack/web-api/node_modules/@types/retry/README.md +15 -0
  1254. package/node_modules/@slack/web-api/node_modules/@types/retry/package.json +30 -0
  1255. package/node_modules/@slack/web-api/package.json +71 -0
  1256. package/node_modules/@types/node/README.md +2 -2
  1257. package/node_modules/@types/node/package.json +3 -18
  1258. package/node_modules/ai/CHANGELOG.md +611 -0
  1259. package/node_modules/ai/README.md +6 -6
  1260. package/node_modules/ai/dist/index.js +7872 -3383
  1261. package/node_modules/ai/dist/internal/index.js +837 -465
  1262. package/node_modules/ai/docs/00-introduction/index.mdx +1 -1
  1263. package/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +15 -4
  1264. package/node_modules/ai/docs/02-foundations/03-prompts.mdx +1 -1
  1265. package/node_modules/ai/docs/02-foundations/04-tools.mdx +2 -2
  1266. package/node_modules/ai/docs/02-foundations/06-provider-options.mdx +11 -11
  1267. package/node_modules/ai/docs/02-getting-started/00-choosing-a-provider.mdx +4 -4
  1268. package/node_modules/ai/docs/02-getting-started/02-nextjs-app-router.mdx +3 -3
  1269. package/node_modules/ai/docs/02-getting-started/03-nextjs-pages-router.mdx +4 -4
  1270. package/node_modules/ai/docs/02-getting-started/04-svelte.mdx +7 -7
  1271. package/node_modules/ai/docs/02-getting-started/05-nuxt.mdx +8 -8
  1272. package/node_modules/ai/docs/02-getting-started/06-nodejs.mdx +3 -3
  1273. package/node_modules/ai/docs/02-getting-started/07-expo.mdx +10 -3
  1274. package/node_modules/ai/docs/02-getting-started/08-tanstack-start.mdx +3 -3
  1275. package/node_modules/ai/docs/02-getting-started/09-coding-agents.mdx +1 -1
  1276. package/node_modules/ai/docs/03-agents/02-building-agents.mdx +2 -2
  1277. package/node_modules/ai/docs/03-agents/03-workflows.mdx +2 -2
  1278. package/node_modules/ai/docs/03-agents/04-loop-control.mdx +6 -4
  1279. package/node_modules/ai/docs/03-agents/05-configuring-call-options.mdx +4 -2
  1280. package/node_modules/ai/docs/03-agents/06-memory.mdx +2 -2
  1281. package/node_modules/ai/docs/03-agents/06-policy-tool-approvals.mdx +5 -4
  1282. package/node_modules/ai/docs/03-agents/06-tool-approvals.mdx +35 -7
  1283. package/node_modules/ai/docs/03-agents/07-workflow-agent.mdx +125 -28
  1284. package/node_modules/ai/docs/03-agents/08-terminal-ui.mdx +14 -10
  1285. package/node_modules/ai/docs/03-ai-sdk-core/05-generating-text.mdx +2 -2
  1286. package/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +15 -3
  1287. package/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +14 -6
  1288. package/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +95 -1
  1289. package/node_modules/ai/docs/03-ai-sdk-core/17-mcp-apps.mdx +2 -2
  1290. package/node_modules/ai/docs/03-ai-sdk-core/18-code-mode.mdx +50 -0
  1291. package/node_modules/ai/docs/03-ai-sdk-core/19-tool-search.mdx +82 -0
  1292. package/node_modules/ai/docs/03-ai-sdk-core/20-prompt-engineering.mdx +1 -1
  1293. package/node_modules/ai/docs/03-ai-sdk-core/26-reasoning.mdx +15 -14
  1294. package/node_modules/ai/docs/03-ai-sdk-core/31-reranking.mdx +12 -10
  1295. package/node_modules/ai/docs/03-ai-sdk-core/32-evaluation.mdx +287 -0
  1296. package/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +79 -14
  1297. package/node_modules/ai/docs/03-ai-sdk-core/36-realtime.mdx +41 -18
  1298. package/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +37 -35
  1299. package/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +8 -23
  1300. package/node_modules/ai/docs/03-ai-sdk-core/39-file-uploads.mdx +26 -1
  1301. package/node_modules/ai/docs/03-ai-sdk-core/40-middleware.mdx +92 -7
  1302. package/node_modules/ai/docs/03-ai-sdk-core/41-skill-uploads.mdx +1 -1
  1303. package/node_modules/ai/docs/03-ai-sdk-core/42-batch.mdx +371 -0
  1304. package/node_modules/ai/docs/03-ai-sdk-core/45-provider-management.mdx +31 -21
  1305. package/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +94 -2
  1306. package/node_modules/ai/docs/03-ai-sdk-core/55-testing.mdx +75 -0
  1307. package/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +89 -11
  1308. package/node_modules/ai/docs/03-ai-sdk-core/65-devtools.mdx +3 -3
  1309. package/node_modules/ai/docs/03-ai-sdk-core/65-lifecycle-callbacks.mdx +132 -7
  1310. package/node_modules/ai/docs/03-ai-sdk-core/index.mdx +11 -0
  1311. package/node_modules/ai/docs/03-ai-sdk-harnesses/01-overview.mdx +3 -2
  1312. package/node_modules/ai/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +324 -97
  1313. package/node_modules/ai/docs/03-ai-sdk-harnesses/03-tools.mdx +47 -22
  1314. package/node_modules/ai/docs/03-ai-sdk-harnesses/04-skills.mdx +6 -6
  1315. package/node_modules/ai/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +15 -13
  1316. package/node_modules/ai/docs/03-ai-sdk-harnesses/06-workflow-utilities.mdx +43 -9
  1317. package/node_modules/ai/docs/03-ai-sdk-harnesses/07-ui.mdx +33 -30
  1318. package/node_modules/ai/docs/03-ai-sdk-harnesses/08-terminal-ui.mdx +8 -6
  1319. package/node_modules/ai/docs/04-ai-sdk-ui/01-overview.mdx +1 -1
  1320. package/node_modules/ai/docs/04-ai-sdk-ui/02-chatbot.mdx +47 -21
  1321. package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +46 -3
  1322. package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +11 -4
  1323. package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +39 -2
  1324. package/node_modules/ai/docs/04-ai-sdk-ui/05-completion.mdx +1 -1
  1325. package/node_modules/ai/docs/04-ai-sdk-ui/08-object-generation.mdx +4 -1
  1326. package/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +11 -6
  1327. package/node_modules/ai/docs/04-ai-sdk-ui/21-error-handling.mdx +28 -2
  1328. package/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +7 -3
  1329. package/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +6 -2
  1330. package/node_modules/ai/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +5 -5
  1331. package/node_modules/ai/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +2 -2
  1332. package/node_modules/ai/docs/05-ai-sdk-rsc/06-loading-state.mdx +1 -1
  1333. package/node_modules/ai/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +3 -3
  1334. package/node_modules/ai/docs/06-advanced/02-stopping-streams.mdx +8 -0
  1335. package/node_modules/ai/docs/06-advanced/04-caching.mdx +9 -1
  1336. package/node_modules/ai/docs/06-advanced/11-secure-url-fetching.mdx +54 -3
  1337. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +28 -5
  1338. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +66 -15
  1339. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +31 -5
  1340. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +38 -8
  1341. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +24 -10
  1342. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +2 -1
  1343. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +1 -1
  1344. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +3 -3
  1345. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-evaluate.mdx +74 -0
  1346. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +37 -4
  1347. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +5 -3
  1348. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-start-batch.mdx +154 -0
  1349. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-tool.mdx +7 -0
  1350. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/21-get-batch-status.mdx +133 -0
  1351. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +7 -0
  1352. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-get-batch-results.mdx +109 -0
  1353. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-cancel-batch.mdx +96 -0
  1354. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-tool-search.mdx +76 -0
  1355. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/24-list-batches.mdx +121 -0
  1356. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +27 -1
  1357. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +63 -0
  1358. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +30 -0
  1359. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +12 -0
  1360. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +19 -1
  1361. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +22 -4
  1362. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +1 -1
  1363. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +17 -2
  1364. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +5 -3
  1365. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +31 -0
  1366. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +2 -2
  1367. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +4 -1
  1368. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +364 -48
  1369. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +14 -2
  1370. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +45 -6
  1371. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +6 -1
  1372. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +3 -3
  1373. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +2 -1
  1374. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +1 -1
  1375. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +1 -1
  1376. package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +124 -43
  1377. package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +29 -15
  1378. package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/03-generate-video.mdx +157 -0
  1379. package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/index.mdx +6 -0
  1380. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +4 -0
  1381. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-evaluation-unsupported-question-type-error.mdx +31 -0
  1382. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +6 -1
  1383. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +7 -0
  1384. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +4 -0
  1385. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +4 -0
  1386. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-stream-provider-error.mdx +52 -0
  1387. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-choice-violation-error.mdx +38 -0
  1388. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +6 -2
  1389. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +131 -34
  1390. package/node_modules/ai/docs/07-reference/06-ai-sdk-tui/01-run-agent-tui.mdx +13 -9
  1391. package/node_modules/ai/docs/08-migration-guides/29-migration-guide-4-0.mdx +5 -5
  1392. package/node_modules/ai/docs/08-migration-guides/37-migration-guide-3-3.mdx +1 -1
  1393. package/node_modules/ai/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +3 -3
  1394. package/node_modules/ai/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +2 -2
  1395. package/node_modules/ai/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +1 -1
  1396. package/node_modules/ai/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +2 -2
  1397. package/node_modules/ai/package.json +19 -9
  1398. package/node_modules/axios/CHANGELOG.md +62 -0
  1399. package/node_modules/axios/README.md +297 -5
  1400. package/node_modules/axios/dist/axios.js +728 -170
  1401. package/node_modules/axios/dist/axios.min.js +3 -3
  1402. package/node_modules/axios/dist/browser/axios.cjs +871 -188
  1403. package/node_modules/axios/dist/esm/axios.js +871 -188
  1404. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  1405. package/node_modules/axios/dist/node/axios.cjs +1037 -225
  1406. package/node_modules/axios/lib/adapters/fetch.js +64 -11
  1407. package/node_modules/axios/lib/adapters/http.js +140 -67
  1408. package/node_modules/axios/lib/adapters/xhr.js +52 -3
  1409. package/node_modules/axios/lib/core/Axios.js +43 -20
  1410. package/node_modules/axios/lib/core/AxiosError.js +33 -2
  1411. package/node_modules/axios/lib/core/AxiosHeaders.js +124 -1
  1412. package/node_modules/axios/lib/core/InterceptorManager.js +107 -8
  1413. package/node_modules/axios/lib/core/buildFullPath.js +41 -15
  1414. package/node_modules/axios/lib/core/dispatchRequest.js +8 -2
  1415. package/node_modules/axios/lib/core/mergeConfig.js +19 -4
  1416. package/node_modules/axios/lib/core/methodList.js +17 -0
  1417. package/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
  1418. package/node_modules/axios/lib/defaults/index.js +2 -1
  1419. package/node_modules/axios/lib/env/data.js +1 -1
  1420. package/node_modules/axios/lib/helpers/Http2Sessions.js +2 -0
  1421. package/node_modules/axios/lib/helpers/HttpStatusCode.js +12 -1
  1422. package/node_modules/axios/lib/helpers/combineURLs.js +11 -3
  1423. package/node_modules/axios/lib/helpers/composeSignals.js +12 -1
  1424. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +115 -54
  1425. package/node_modules/axios/lib/helpers/formDataToJSON.js +11 -5
  1426. package/node_modules/axios/lib/helpers/fromDataURI.js +5 -4
  1427. package/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
  1428. package/node_modules/axios/lib/helpers/parseHeaders.js +5 -3
  1429. package/node_modules/axios/lib/helpers/progressEventReducer.js +4 -4
  1430. package/node_modules/axios/lib/helpers/resolveConfig.js +5 -17
  1431. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +300 -5
  1432. package/node_modules/axios/lib/helpers/throttle.js +3 -2
  1433. package/node_modules/axios/lib/helpers/toFormData.js +17 -23
  1434. package/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
  1435. package/node_modules/axios/lib/utils.js +151 -18
  1436. package/node_modules/axios/package.json +21 -19
  1437. package/node_modules/balanced-match/LICENSE.md +23 -0
  1438. package/node_modules/balanced-match/README.md +57 -0
  1439. package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  1440. package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  1441. package/node_modules/balanced-match/dist/esm/index.js +54 -0
  1442. package/node_modules/balanced-match/dist/esm/package.json +3 -0
  1443. package/node_modules/balanced-match/package.json +68 -0
  1444. package/node_modules/brace-expansion/LICENSE +23 -0
  1445. package/node_modules/brace-expansion/README.md +105 -0
  1446. package/node_modules/brace-expansion/dist/commonjs/index.js +333 -0
  1447. package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  1448. package/node_modules/brace-expansion/dist/esm/index.js +329 -0
  1449. package/node_modules/brace-expansion/dist/esm/package.json +3 -0
  1450. package/node_modules/brace-expansion/package.json +65 -0
  1451. package/node_modules/fast-uri/index.js +221 -49
  1452. package/node_modules/fast-uri/lib/schemes.js +9 -4
  1453. package/node_modules/fast-uri/lib/utils.js +396 -92
  1454. package/node_modules/fast-uri/package.json +1 -1
  1455. package/node_modules/fs-native-extensions/package.json +1 -1
  1456. package/node_modules/fs-native-extensions/prebuilds/android-arm/fs-native-extensions.bare +0 -0
  1457. package/node_modules/fs-native-extensions/prebuilds/android-arm64/fs-native-extensions.bare +0 -0
  1458. package/node_modules/fs-native-extensions/prebuilds/android-ia32/fs-native-extensions.bare +0 -0
  1459. package/node_modules/fs-native-extensions/prebuilds/android-x64/fs-native-extensions.bare +0 -0
  1460. package/node_modules/fs-native-extensions/prebuilds/darwin-arm64/fs-native-extensions.bare +0 -0
  1461. package/node_modules/fs-native-extensions/prebuilds/darwin-arm64/fs-native-extensions.node +0 -0
  1462. package/node_modules/fs-native-extensions/prebuilds/darwin-x64/fs-native-extensions.bare +0 -0
  1463. package/node_modules/fs-native-extensions/prebuilds/darwin-x64/fs-native-extensions.node +0 -0
  1464. package/node_modules/fs-native-extensions/prebuilds/ios-arm64/fs-native-extensions.bare +0 -0
  1465. package/node_modules/fs-native-extensions/prebuilds/ios-arm64-simulator/fs-native-extensions.bare +0 -0
  1466. package/node_modules/fs-native-extensions/prebuilds/ios-x64-simulator/fs-native-extensions.bare +0 -0
  1467. package/node_modules/fs-native-extensions/prebuilds/linux-arm64/fs-native-extensions.bare +0 -0
  1468. package/node_modules/fs-native-extensions/prebuilds/linux-x64/fs-native-extensions.bare +0 -0
  1469. package/node_modules/fs-native-extensions/prebuilds/win32-arm64/fs-native-extensions.bare +0 -0
  1470. package/node_modules/fs-native-extensions/prebuilds/win32-arm64/fs-native-extensions.node +0 -0
  1471. package/node_modules/fs-native-extensions/prebuilds/win32-x64/fs-native-extensions.bare +0 -0
  1472. package/node_modules/fs-native-extensions/prebuilds/win32-x64/fs-native-extensions.node +0 -0
  1473. package/node_modules/fs-native-extensions/src/win32.c +50 -11
  1474. package/node_modules/glob/LICENSE.md +63 -0
  1475. package/node_modules/glob/README.md +1203 -0
  1476. package/node_modules/glob/dist/commonjs/glob.js +248 -0
  1477. package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  1478. package/node_modules/glob/dist/commonjs/ignore.js +119 -0
  1479. package/node_modules/glob/dist/commonjs/index.js +68 -0
  1480. package/node_modules/glob/dist/commonjs/index.min.js +4 -0
  1481. package/node_modules/glob/dist/commonjs/package.json +3 -0
  1482. package/node_modules/glob/dist/commonjs/pattern.js +223 -0
  1483. package/node_modules/glob/dist/commonjs/processor.js +301 -0
  1484. package/node_modules/glob/dist/commonjs/walker.js +387 -0
  1485. package/node_modules/glob/dist/esm/glob.js +244 -0
  1486. package/node_modules/glob/dist/esm/has-magic.js +23 -0
  1487. package/node_modules/glob/dist/esm/ignore.js +115 -0
  1488. package/node_modules/glob/dist/esm/index.js +55 -0
  1489. package/node_modules/glob/dist/esm/index.min.js +4 -0
  1490. package/node_modules/glob/dist/esm/package.json +3 -0
  1491. package/node_modules/glob/dist/esm/pattern.js +219 -0
  1492. package/node_modules/glob/dist/esm/processor.js +294 -0
  1493. package/node_modules/glob/dist/esm/walker.js +381 -0
  1494. package/node_modules/glob/package.json +98 -0
  1495. package/node_modules/image-dimensions/cli.js +18 -3
  1496. package/node_modules/image-dimensions/index.js +7 -5
  1497. package/node_modules/image-dimensions/package.json +4 -1
  1498. package/node_modules/image-dimensions/readme.md +2 -1
  1499. package/node_modules/image-dimensions/types/avif.js +2 -24
  1500. package/node_modules/image-dimensions/types/heic.js +2 -24
  1501. package/node_modules/image-dimensions/types/jpeg.js +28 -7
  1502. package/node_modules/image-dimensions/types/png.js +13 -2
  1503. package/node_modules/image-dimensions/types/webp.js +20 -36
  1504. package/node_modules/image-dimensions/utilities.js +184 -60
  1505. package/node_modules/ip-address/README.md +145 -135
  1506. package/node_modules/ip-address/dist/common.js +48 -0
  1507. package/node_modules/ip-address/dist/ipv4.js +117 -11
  1508. package/node_modules/ip-address/dist/ipv6.js +162 -48
  1509. package/node_modules/ip-address/dist/v4/constants.js +40 -1
  1510. package/node_modules/ip-address/dist/v6/constants.js +47 -1
  1511. package/node_modules/ip-address/package.json +1 -1
  1512. package/node_modules/marked/README.md +1 -0
  1513. package/node_modules/marked/lib/marked.esm.js +30 -29
  1514. package/node_modules/marked/lib/marked.umd.js +30 -29
  1515. package/node_modules/marked/man/marked.1 +1 -1
  1516. package/node_modules/marked/package.json +11 -11
  1517. package/node_modules/minimatch/LICENSE.md +55 -0
  1518. package/node_modules/minimatch/README.md +528 -0
  1519. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  1520. package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
  1521. package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
  1522. package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
  1523. package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
  1524. package/node_modules/minimatch/dist/commonjs/package.json +3 -0
  1525. package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
  1526. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  1527. package/node_modules/minimatch/dist/esm/ast.js +841 -0
  1528. package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
  1529. package/node_modules/minimatch/dist/esm/escape.js +26 -0
  1530. package/node_modules/minimatch/dist/esm/index.js +1114 -0
  1531. package/node_modules/minimatch/dist/esm/package.json +3 -0
  1532. package/node_modules/minimatch/dist/esm/unescape.js +34 -0
  1533. package/node_modules/minimatch/package.json +73 -0
  1534. package/node_modules/minipass/LICENSE.md +55 -0
  1535. package/node_modules/minipass/README.md +825 -0
  1536. package/node_modules/minipass/dist/commonjs/index.js +1038 -0
  1537. package/node_modules/minipass/dist/commonjs/package.json +3 -0
  1538. package/node_modules/minipass/dist/esm/index.js +1020 -0
  1539. package/node_modules/minipass/dist/esm/package.json +3 -0
  1540. package/node_modules/minipass/package.json +77 -0
  1541. package/node_modules/path-scurry/LICENSE.md +55 -0
  1542. package/node_modules/path-scurry/README.md +636 -0
  1543. package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
  1544. package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  1545. package/node_modules/path-scurry/dist/esm/index.js +1983 -0
  1546. package/node_modules/path-scurry/dist/esm/package.json +3 -0
  1547. package/node_modules/path-scurry/node_modules/lru-cache/LICENSE.md +55 -0
  1548. package/node_modules/path-scurry/node_modules/lru-cache/README.md +469 -0
  1549. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
  1550. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.js +1726 -0
  1551. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
  1552. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
  1553. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
  1554. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
  1555. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +1726 -0
  1556. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1557. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
  1558. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.js +1726 -0
  1559. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
  1560. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
  1561. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1562. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
  1563. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
  1564. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.js +1722 -0
  1565. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
  1566. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
  1567. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
  1568. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
  1569. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js +1722 -0
  1570. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1571. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
  1572. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.js +1722 -0
  1573. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
  1574. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
  1575. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/package.json +3 -0
  1576. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.js +7 -0
  1577. package/node_modules/path-scurry/node_modules/lru-cache/package.json +154 -0
  1578. package/node_modules/path-scurry/package.json +72 -0
  1579. package/node_modules/qs/.github/THREAT_MODEL.md +3 -3
  1580. package/node_modules/qs/CHANGELOG.md +15 -0
  1581. package/node_modules/qs/README.md +19 -1
  1582. package/node_modules/qs/dist/qs.js +21 -21
  1583. package/node_modules/qs/eslint.config.mjs +1 -1
  1584. package/node_modules/qs/lib/parse.js +3 -4
  1585. package/node_modules/qs/lib/stringify.js +23 -8
  1586. package/node_modules/qs/lib/utils.js +10 -3
  1587. package/node_modules/qs/package.json +4 -4
  1588. package/node_modules/run/README.md +109 -18
  1589. package/node_modules/run/THIRD_PARTY_NOTICES.md +11 -11
  1590. package/node_modules/run/dist/continuation-validation.js +116 -1
  1591. package/node_modules/run/dist/errors.js +12 -2
  1592. package/node_modules/run/dist/host-function-invocation.js +2 -1
  1593. package/node_modules/run/dist/run.js +30 -4
  1594. package/node_modules/run/dist/runtime/guest-serde-source.js +1 -1
  1595. package/node_modules/run/dist/runtime/guest-sources.js +214 -56
  1596. package/node_modules/run/dist/runtime/manager.js +575 -116
  1597. package/node_modules/run/dist/runtime/max-workers.js +8 -4
  1598. package/node_modules/run/dist/runtime/protocol-validation.js +20 -7
  1599. package/node_modules/run/dist/runtime/sync-bridge-protocol.js +135 -0
  1600. package/node_modules/run/dist/runtime/worker-source.js +1 -1
  1601. package/node_modules/run/dist/utils/options.js +7 -0
  1602. package/node_modules/run/dist/utils/promise-with-resolvers.js +13 -1
  1603. package/node_modules/run/dist/utils/serde.js +1 -7
  1604. package/node_modules/run/dist/utils/source-cache.js +83 -13
  1605. package/node_modules/run/package.json +6 -4
  1606. package/node_modules/socks/build/common/helpers.js +5 -6
  1607. package/node_modules/socks/build/common/util.js +2 -2
  1608. package/node_modules/socks/package.json +7 -7
  1609. package/node_modules/systeminformation/LICENSE +20 -0
  1610. package/node_modules/systeminformation/README.md +1251 -0
  1611. package/node_modules/systeminformation/lib/audio.js +335 -0
  1612. package/node_modules/systeminformation/lib/battery.js +355 -0
  1613. package/node_modules/systeminformation/lib/bluetooth.js +315 -0
  1614. package/node_modules/systeminformation/lib/bluetoothVendors.js +1138 -0
  1615. package/node_modules/systeminformation/lib/cli.js +100 -0
  1616. package/node_modules/systeminformation/lib/cpu.js +2285 -0
  1617. package/node_modules/systeminformation/lib/docker.js +791 -0
  1618. package/node_modules/systeminformation/lib/dockerSocket.js +117 -0
  1619. package/node_modules/systeminformation/lib/filesystem.js +1933 -0
  1620. package/node_modules/systeminformation/lib/graphics.js +1317 -0
  1621. package/node_modules/systeminformation/lib/index.js +520 -0
  1622. package/node_modules/systeminformation/lib/internet.js +265 -0
  1623. package/node_modules/systeminformation/lib/memory.js +620 -0
  1624. package/node_modules/systeminformation/lib/network.js +2014 -0
  1625. package/node_modules/systeminformation/lib/osinfo.js +1304 -0
  1626. package/node_modules/systeminformation/lib/printer.js +209 -0
  1627. package/node_modules/systeminformation/lib/processes.js +1496 -0
  1628. package/node_modules/systeminformation/lib/system.js +855 -0
  1629. package/node_modules/systeminformation/lib/usb.js +309 -0
  1630. package/node_modules/systeminformation/lib/users.js +412 -0
  1631. package/node_modules/systeminformation/lib/util.js +2840 -0
  1632. package/node_modules/systeminformation/lib/virtualbox.js +116 -0
  1633. package/node_modules/systeminformation/lib/wifi.js +839 -0
  1634. package/node_modules/systeminformation/package.json +102 -0
  1635. package/node_modules/undici/README.md +10 -1
  1636. package/node_modules/undici/docs/docs/api/Agent.md +8 -8
  1637. package/node_modules/undici/docs/docs/api/Client.md +4 -0
  1638. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  1639. package/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  1640. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  1641. package/node_modules/undici/docs/docs/api/Errors.md +25 -0
  1642. package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  1643. package/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  1644. package/node_modules/undici/docs/docs/api/Interceptors.md +8 -3
  1645. package/node_modules/undici/docs/docs/api/Pool.md +5 -6
  1646. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  1647. package/node_modules/undici/docs/docs/index.md +10 -1
  1648. package/node_modules/undici/lib/api/readable.js +1 -2
  1649. package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  1650. package/node_modules/undici/lib/core/request.js +23 -2
  1651. package/node_modules/undici/lib/core/symbols.js +2 -0
  1652. package/node_modules/undici/lib/core/util.js +0 -39
  1653. package/node_modules/undici/lib/dispatcher/agent.js +7 -2
  1654. package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  1655. package/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  1656. package/node_modules/undici/lib/dispatcher/client-h2.js +94 -10
  1657. package/node_modules/undici/lib/dispatcher/client.js +9 -3
  1658. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  1659. package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  1660. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  1661. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +31 -9
  1662. package/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  1663. package/node_modules/undici/lib/dispatcher/pool.js +90 -7
  1664. package/node_modules/undici/lib/dispatcher/proxy-agent.js +33 -3
  1665. package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  1666. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  1667. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  1668. package/node_modules/undici/lib/handler/cache-handler.js +29 -5
  1669. package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  1670. package/node_modules/undici/lib/handler/deduplication-handler.js +29 -10
  1671. package/node_modules/undici/lib/handler/redirect-handler.js +26 -4
  1672. package/node_modules/undici/lib/handler/retry-handler.js +215 -38
  1673. package/node_modules/undici/lib/interceptor/cache.js +69 -13
  1674. package/node_modules/undici/lib/interceptor/decompress.js +319 -50
  1675. package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  1676. package/node_modules/undici/lib/interceptor/dns.js +7 -0
  1677. package/node_modules/undici/lib/interceptor/dump.js +10 -23
  1678. package/node_modules/undici/lib/mock/mock-agent.js +13 -1
  1679. package/node_modules/undici/lib/mock/mock-utils.js +11 -10
  1680. package/node_modules/undici/lib/util/cache.js +45 -3
  1681. package/node_modules/undici/lib/web/cache/cache.js +17 -8
  1682. package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  1683. package/node_modules/undici/lib/web/cookies/index.js +19 -7
  1684. package/node_modules/undici/lib/web/cookies/parse.js +150 -147
  1685. package/node_modules/undici/lib/web/cookies/util.js +3 -1
  1686. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  1687. package/node_modules/undici/lib/web/eventsource/eventsource.js +38 -4
  1688. package/node_modules/undici/lib/web/fetch/body.js +22 -15
  1689. package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  1690. package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  1691. package/node_modules/undici/lib/web/fetch/headers.js +34 -31
  1692. package/node_modules/undici/lib/web/fetch/index.js +52 -25
  1693. package/node_modules/undici/lib/web/fetch/request.js +76 -82
  1694. package/node_modules/undici/lib/web/fetch/response.js +43 -44
  1695. package/node_modules/undici/lib/web/fetch/util.js +13 -8
  1696. package/node_modules/undici/lib/web/infra/index.js +16 -1
  1697. package/node_modules/undici/lib/web/webidl/index.js +5 -17
  1698. package/node_modules/undici/lib/web/websocket/connection.js +34 -13
  1699. package/node_modules/undici/lib/web/websocket/events.js +43 -26
  1700. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  1701. package/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  1702. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  1703. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +27 -14
  1704. package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  1705. package/node_modules/undici/package.json +3 -3
  1706. package/node_modules/undici-types/package.json +1 -1
  1707. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +19 -18
  1708. package/node_modules/yaml/browser/dist/nodes/Alias.js +25 -23
  1709. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +19 -18
  1710. package/node_modules/yaml/dist/nodes/Alias.js +25 -23
  1711. package/node_modules/yaml/package.json +1 -1
  1712. package/node_modules/zod/README.md +29 -2
  1713. package/node_modules/zod/compile.cjs +96 -0
  1714. package/node_modules/zod/compile.js +52 -0
  1715. package/node_modules/zod/index.cjs +21 -2
  1716. package/node_modules/zod/index.js +5 -2
  1717. package/node_modules/zod/locales/index.cjs +19 -0
  1718. package/node_modules/zod/mini/index.cjs +19 -0
  1719. package/node_modules/zod/package.json +20 -8
  1720. package/node_modules/zod/v3/ZodError.cjs +41 -12
  1721. package/node_modules/zod/v3/ZodError.js +22 -12
  1722. package/node_modules/zod/v3/errors.cjs +19 -0
  1723. package/node_modules/zod/v3/external.cjs +19 -0
  1724. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  1725. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  1726. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  1727. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  1728. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  1729. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  1730. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  1731. package/node_modules/zod/v3/index.cjs +19 -0
  1732. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  1733. package/node_modules/zod/v3/types.cjs +26 -5
  1734. package/node_modules/zod/v3/types.js +7 -5
  1735. package/node_modules/zod/v4/classic/checks.cjs +21 -1
  1736. package/node_modules/zod/v4/classic/checks.js +1 -1
  1737. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  1738. package/node_modules/zod/v4/classic/compat.cjs +19 -0
  1739. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  1740. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  1741. package/node_modules/zod/v4/classic/errors.cjs +62 -34
  1742. package/node_modules/zod/v4/classic/errors.js +43 -34
  1743. package/node_modules/zod/v4/classic/external.cjs +51 -27
  1744. package/node_modules/zod/v4/classic/external.js +5 -8
  1745. package/node_modules/zod/v4/classic/from-json-schema.cjs +376 -75
  1746. package/node_modules/zod/v4/classic/from-json-schema.js +357 -75
  1747. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  1748. package/node_modules/zod/v4/classic/in-out.js +36 -0
  1749. package/node_modules/zod/v4/classic/index.cjs +21 -2
  1750. package/node_modules/zod/v4/classic/index.js +2 -2
  1751. package/node_modules/zod/v4/classic/iso.cjs +30 -22
  1752. package/node_modules/zod/v4/classic/iso.js +2 -17
  1753. package/node_modules/zod/v4/classic/parse.cjs +23 -1
  1754. package/node_modules/zod/v4/classic/parse.js +1 -0
  1755. package/node_modules/zod/v4/classic/schemas.cjs +591 -426
  1756. package/node_modules/zod/v4/classic/schemas.js +564 -424
  1757. package/node_modules/zod/v4/core/api.cjs +66 -24
  1758. package/node_modules/zod/v4/core/api.js +44 -24
  1759. package/node_modules/zod/v4/core/checks.cjs +88 -128
  1760. package/node_modules/zod/v4/core/checks.js +68 -127
  1761. package/node_modules/zod/v4/core/compile.cjs +1908 -0
  1762. package/node_modules/zod/v4/core/compile.js +1858 -0
  1763. package/node_modules/zod/v4/core/core.cjs +101 -19
  1764. package/node_modules/zod/v4/core/core.js +83 -20
  1765. package/node_modules/zod/v4/core/doc.cjs +31 -9
  1766. package/node_modules/zod/v4/core/doc.js +12 -9
  1767. package/node_modules/zod/v4/core/errors.cjs +126 -25
  1768. package/node_modules/zod/v4/core/errors.js +107 -25
  1769. package/node_modules/zod/v4/core/index.cjs +24 -1
  1770. package/node_modules/zod/v4/core/index.js +3 -0
  1771. package/node_modules/zod/v4/core/json-schema-generator.cjs +24 -1
  1772. package/node_modules/zod/v4/core/json-schema-generator.js +6 -2
  1773. package/node_modules/zod/v4/core/json-schema-processors.cjs +441 -156
  1774. package/node_modules/zod/v4/core/json-schema-processors.js +400 -158
  1775. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  1776. package/node_modules/zod/v4/core/memoizer.cjs +356 -0
  1777. package/node_modules/zod/v4/core/memoizer.js +307 -0
  1778. package/node_modules/zod/v4/core/parse.cjs +148 -46
  1779. package/node_modules/zod/v4/core/parse.js +127 -45
  1780. package/node_modules/zod/v4/core/regexes.cjs +54 -17
  1781. package/node_modules/zod/v4/core/regexes.js +32 -15
  1782. package/node_modules/zod/v4/core/registries.cjs +19 -0
  1783. package/node_modules/zod/v4/core/registries.js +2 -2
  1784. package/node_modules/zod/v4/core/schemas.cjs +785 -386
  1785. package/node_modules/zod/v4/core/schemas.js +753 -386
  1786. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  1787. package/node_modules/zod/v4/core/to-json-schema.cjs +269 -45
  1788. package/node_modules/zod/v4/core/to-json-schema.js +247 -44
  1789. package/node_modules/zod/v4/core/util.cjs +372 -157
  1790. package/node_modules/zod/v4/core/util.js +341 -156
  1791. package/node_modules/zod/v4/core/versions.cjs +21 -2
  1792. package/node_modules/zod/v4/core/versions.js +2 -2
  1793. package/node_modules/zod/v4/core/visit.cjs +214 -0
  1794. package/node_modules/zod/v4/core/visit.js +169 -0
  1795. package/node_modules/zod/v4/index.cjs +34 -5
  1796. package/node_modules/zod/v4/index.js +3 -2
  1797. package/node_modules/zod/v4/locales/ar.cjs +5 -0
  1798. package/node_modules/zod/v4/locales/ar.js +5 -0
  1799. package/node_modules/zod/v4/locales/az.cjs +5 -0
  1800. package/node_modules/zod/v4/locales/az.js +5 -0
  1801. package/node_modules/zod/v4/locales/be.cjs +12 -0
  1802. package/node_modules/zod/v4/locales/be.js +12 -0
  1803. package/node_modules/zod/v4/locales/bg.cjs +5 -0
  1804. package/node_modules/zod/v4/locales/bg.js +5 -0
  1805. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  1806. package/node_modules/zod/v4/locales/bn.js +113 -0
  1807. package/node_modules/zod/v4/locales/ca.cjs +5 -0
  1808. package/node_modules/zod/v4/locales/ca.js +5 -0
  1809. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  1810. package/node_modules/zod/v4/locales/ckb.js +133 -0
  1811. package/node_modules/zod/v4/locales/cs.cjs +5 -0
  1812. package/node_modules/zod/v4/locales/cs.js +5 -0
  1813. package/node_modules/zod/v4/locales/da.cjs +7 -2
  1814. package/node_modules/zod/v4/locales/da.js +7 -2
  1815. package/node_modules/zod/v4/locales/de.cjs +5 -0
  1816. package/node_modules/zod/v4/locales/de.js +5 -0
  1817. package/node_modules/zod/v4/locales/el.cjs +3 -0
  1818. package/node_modules/zod/v4/locales/el.js +3 -0
  1819. package/node_modules/zod/v4/locales/en.cjs +16 -4
  1820. package/node_modules/zod/v4/locales/en.js +16 -4
  1821. package/node_modules/zod/v4/locales/eo.cjs +5 -0
  1822. package/node_modules/zod/v4/locales/eo.js +5 -0
  1823. package/node_modules/zod/v4/locales/es.cjs +4 -0
  1824. package/node_modules/zod/v4/locales/es.js +4 -0
  1825. package/node_modules/zod/v4/locales/fa.cjs +5 -0
  1826. package/node_modules/zod/v4/locales/fa.js +5 -0
  1827. package/node_modules/zod/v4/locales/fi.cjs +5 -0
  1828. package/node_modules/zod/v4/locales/fi.js +5 -0
  1829. package/node_modules/zod/v4/locales/fr-CA.cjs +5 -0
  1830. package/node_modules/zod/v4/locales/fr-CA.js +5 -0
  1831. package/node_modules/zod/v4/locales/fr.cjs +18 -14
  1832. package/node_modules/zod/v4/locales/fr.js +18 -14
  1833. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  1834. package/node_modules/zod/v4/locales/gu.js +113 -0
  1835. package/node_modules/zod/v4/locales/he.cjs +7 -0
  1836. package/node_modules/zod/v4/locales/he.js +7 -0
  1837. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  1838. package/node_modules/zod/v4/locales/hi.js +111 -0
  1839. package/node_modules/zod/v4/locales/hr.cjs +4 -0
  1840. package/node_modules/zod/v4/locales/hr.js +4 -0
  1841. package/node_modules/zod/v4/locales/hu.cjs +5 -0
  1842. package/node_modules/zod/v4/locales/hu.js +5 -0
  1843. package/node_modules/zod/v4/locales/hy.cjs +11 -0
  1844. package/node_modules/zod/v4/locales/hy.js +11 -0
  1845. package/node_modules/zod/v4/locales/id.cjs +5 -0
  1846. package/node_modules/zod/v4/locales/id.js +5 -0
  1847. package/node_modules/zod/v4/locales/index.cjs +43 -2
  1848. package/node_modules/zod/v4/locales/index.js +11 -0
  1849. package/node_modules/zod/v4/locales/is.cjs +5 -0
  1850. package/node_modules/zod/v4/locales/is.js +5 -0
  1851. package/node_modules/zod/v4/locales/it.cjs +5 -0
  1852. package/node_modules/zod/v4/locales/it.js +5 -0
  1853. package/node_modules/zod/v4/locales/ja.cjs +5 -0
  1854. package/node_modules/zod/v4/locales/ja.js +5 -0
  1855. package/node_modules/zod/v4/locales/ka.cjs +5 -0
  1856. package/node_modules/zod/v4/locales/ka.js +5 -0
  1857. package/node_modules/zod/v4/locales/km.cjs +5 -0
  1858. package/node_modules/zod/v4/locales/km.js +5 -0
  1859. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  1860. package/node_modules/zod/v4/locales/kn.js +116 -0
  1861. package/node_modules/zod/v4/locales/ko.cjs +5 -0
  1862. package/node_modules/zod/v4/locales/ko.js +5 -0
  1863. package/node_modules/zod/v4/locales/lt.cjs +4 -0
  1864. package/node_modules/zod/v4/locales/lt.js +4 -0
  1865. package/node_modules/zod/v4/locales/mk.cjs +5 -0
  1866. package/node_modules/zod/v4/locales/mk.js +5 -0
  1867. package/node_modules/zod/v4/locales/ms.cjs +5 -0
  1868. package/node_modules/zod/v4/locales/ms.js +5 -0
  1869. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  1870. package/node_modules/zod/v4/locales/ne.js +111 -0
  1871. package/node_modules/zod/v4/locales/nl.cjs +5 -0
  1872. package/node_modules/zod/v4/locales/nl.js +5 -0
  1873. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  1874. package/node_modules/zod/v4/locales/nn.js +113 -0
  1875. package/node_modules/zod/v4/locales/no.cjs +7 -2
  1876. package/node_modules/zod/v4/locales/no.js +7 -2
  1877. package/node_modules/zod/v4/locales/ota.cjs +5 -0
  1878. package/node_modules/zod/v4/locales/ota.js +5 -0
  1879. package/node_modules/zod/v4/locales/pl.cjs +5 -0
  1880. package/node_modules/zod/v4/locales/pl.js +5 -0
  1881. package/node_modules/zod/v4/locales/ps.cjs +5 -0
  1882. package/node_modules/zod/v4/locales/ps.js +5 -0
  1883. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  1884. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  1885. package/node_modules/zod/v4/locales/pt.cjs +89 -55
  1886. package/node_modules/zod/v4/locales/pt.js +89 -55
  1887. package/node_modules/zod/v4/locales/ro.cjs +3 -0
  1888. package/node_modules/zod/v4/locales/ro.js +3 -0
  1889. package/node_modules/zod/v4/locales/ru.cjs +12 -0
  1890. package/node_modules/zod/v4/locales/ru.js +12 -0
  1891. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  1892. package/node_modules/zod/v4/locales/sk.js +116 -0
  1893. package/node_modules/zod/v4/locales/sl.cjs +5 -0
  1894. package/node_modules/zod/v4/locales/sl.js +5 -0
  1895. package/node_modules/zod/v4/locales/sv.cjs +7 -2
  1896. package/node_modules/zod/v4/locales/sv.js +7 -2
  1897. package/node_modules/zod/v4/locales/ta.cjs +5 -0
  1898. package/node_modules/zod/v4/locales/ta.js +5 -0
  1899. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  1900. package/node_modules/zod/v4/locales/tg.js +117 -0
  1901. package/node_modules/zod/v4/locales/th.cjs +5 -0
  1902. package/node_modules/zod/v4/locales/th.js +5 -0
  1903. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  1904. package/node_modules/zod/v4/locales/tk.js +107 -0
  1905. package/node_modules/zod/v4/locales/tr.cjs +5 -0
  1906. package/node_modules/zod/v4/locales/tr.js +5 -0
  1907. package/node_modules/zod/v4/locales/uk.cjs +5 -0
  1908. package/node_modules/zod/v4/locales/uk.js +5 -0
  1909. package/node_modules/zod/v4/locales/ur.cjs +5 -0
  1910. package/node_modules/zod/v4/locales/ur.js +5 -0
  1911. package/node_modules/zod/v4/locales/uz.cjs +3 -0
  1912. package/node_modules/zod/v4/locales/uz.js +3 -0
  1913. package/node_modules/zod/v4/locales/vi.cjs +5 -0
  1914. package/node_modules/zod/v4/locales/vi.js +5 -0
  1915. package/node_modules/zod/v4/locales/yo.cjs +5 -0
  1916. package/node_modules/zod/v4/locales/yo.js +5 -0
  1917. package/node_modules/zod/v4/locales/zh-CN.cjs +5 -0
  1918. package/node_modules/zod/v4/locales/zh-CN.js +5 -0
  1919. package/node_modules/zod/v4/locales/zh-TW.cjs +5 -0
  1920. package/node_modules/zod/v4/locales/zh-TW.js +5 -0
  1921. package/node_modules/zod/v4/mini/checks.cjs +21 -1
  1922. package/node_modules/zod/v4/mini/checks.js +1 -1
  1923. package/node_modules/zod/v4/mini/coerce.cjs +19 -0
  1924. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  1925. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  1926. package/node_modules/zod/v4/mini/external.cjs +33 -1
  1927. package/node_modules/zod/v4/mini/external.js +3 -1
  1928. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  1929. package/node_modules/zod/v4/mini/in-out.js +36 -0
  1930. package/node_modules/zod/v4/mini/index.cjs +19 -0
  1931. package/node_modules/zod/v4/mini/iso.cjs +19 -0
  1932. package/node_modules/zod/v4/mini/parse.cjs +22 -1
  1933. package/node_modules/zod/v4/mini/parse.js +1 -1
  1934. package/node_modules/zod/v4/mini/schemas.cjs +117 -53
  1935. package/node_modules/zod/v4/mini/schemas.js +92 -51
  1936. package/node_modules/zod/v4-mini/index.cjs +19 -0
  1937. package/package.json +5 -5
  1938. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1224
  1939. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/LICENSE +0 -13
  1940. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/README.md +0 -1
  1941. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/dist/index.js +0 -426
  1942. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/package.json +0 -63
  1943. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -2444
  1944. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/README.md +0 -1
  1945. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/dist/index.js +0 -4295
  1946. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/package.json +0 -82
  1947. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/LICENSE +0 -16
  1948. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/README.md +0 -24
  1949. package/node_modules/@ai-sdk/open-responses/node_modules/undici/LICENSE +0 -21
  1950. package/node_modules/@ai-sdk/open-responses/node_modules/undici/README.md +0 -741
  1951. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1952. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1953. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1954. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1955. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Client.md +0 -288
  1956. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1957. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1958. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1959. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Cookies.md +0 -128
  1960. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1961. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1962. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1963. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1964. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1965. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1966. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1967. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1968. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1969. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1970. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1971. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1972. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1973. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1974. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1975. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1976. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1977. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1978. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1979. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1980. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1981. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1982. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1983. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -275
  1984. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Util.md +0 -25
  1985. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1986. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1987. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1988. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1989. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1990. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1991. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1992. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1993. package/node_modules/@ai-sdk/open-responses/node_modules/undici/index-fetch.js +0 -65
  1994. package/node_modules/@ai-sdk/open-responses/node_modules/undici/index.js +0 -234
  1995. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/abort-signal.js +0 -59
  1996. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-connect.js +0 -110
  1997. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1998. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-request.js +0 -214
  1999. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-stream.js +0 -209
  2000. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-upgrade.js +0 -111
  2001. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/index.js +0 -7
  2002. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/readable.js +0 -580
  2003. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
  2004. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -467
  2005. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/connect.js +0 -153
  2006. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/constants.js +0 -143
  2007. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/diagnostics.js +0 -227
  2008. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/errors.js +0 -477
  2009. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/request.js +0 -464
  2010. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/socks5-client.js +0 -422
  2011. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/socks5-utils.js +0 -212
  2012. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/symbols.js +0 -75
  2013. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/tree.js +0 -160
  2014. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/util.js +0 -992
  2015. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/agent.js +0 -158
  2016. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  2017. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client-h1.js +0 -1731
  2018. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  2019. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client.js +0 -664
  2020. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
  2021. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  2022. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  2023. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  2024. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  2025. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  2026. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/pool.js +0 -118
  2027. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
  2028. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  2029. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  2030. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
  2031. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/encoding/index.js +0 -33
  2032. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/global.js +0 -59
  2033. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/cache-handler.js +0 -760
  2034. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  2035. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  2036. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  2037. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  2038. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/retry-handler.js +0 -418
  2039. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
  2040. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  2041. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/cache.js +0 -602
  2042. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/decompress.js +0 -259
  2043. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  2044. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/dns.js +0 -571
  2045. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/dump.js +0 -112
  2046. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/redirect.js +0 -21
  2047. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/response-error.js +0 -95
  2048. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/retry.js +0 -19
  2049. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  2050. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/constants.js +0 -531
  2051. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  2052. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  2053. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/utils.js +0 -12
  2054. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-agent.js +0 -232
  2055. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  2056. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-client.js +0 -68
  2057. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-errors.js +0 -29
  2058. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  2059. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-pool.js +0 -68
  2060. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  2061. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-utils.js +0 -486
  2062. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  2063. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  2064. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  2065. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  2066. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/cache.js +0 -676
  2067. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/date.js +0 -670
  2068. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/promise.js +0 -28
  2069. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/runtime-features.js +0 -124
  2070. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/stats.js +0 -32
  2071. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/timers.js +0 -425
  2072. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/cache.js +0 -864
  2073. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  2074. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/util.js +0 -45
  2075. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/constants.js +0 -12
  2076. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/index.js +0 -199
  2077. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/parse.js +0 -314
  2078. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/util.js +0 -352
  2079. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  2080. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  2081. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/util.js +0 -29
  2082. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  2083. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/body.js +0 -509
  2084. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/constants.js +0 -131
  2085. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  2086. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  2087. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  2088. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/global.js +0 -40
  2089. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/headers.js +0 -719
  2090. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/index.js +0 -2413
  2091. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/request.js +0 -1115
  2092. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/response.js +0 -641
  2093. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/util.js +0 -1522
  2094. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/infra/index.js +0 -229
  2095. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  2096. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  2097. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/webidl/index.js +0 -1006
  2098. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/connection.js +0 -329
  2099. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/constants.js +0 -126
  2100. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/events.js +0 -331
  2101. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/frame.js +0 -133
  2102. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
  2103. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/receiver.js +0 -507
  2104. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/sender.js +0 -109
  2105. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  2106. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
  2107. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/util.js +0 -347
  2108. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/websocket.js +0 -758
  2109. package/node_modules/@ai-sdk/open-responses/node_modules/undici/package.json +0 -152
  2110. package/node_modules/@ai-sdk/open-responses/node_modules/undici/scripts/strip-comments.js +0 -10
  2111. package/node_modules/@ai-sdk/open-responses/node_modules/undici/types/README.md +0 -6
  2112. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/darwin-modifiers.node +0 -0
  2113. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/darwin-modifiers.node +0 -0
  2114. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-modifiers.c +0 -70
  2115. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-console-mode.node +0 -0
  2116. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node +0 -0
  2117. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-console-mode.c +0 -119
  2118. package/node_modules/@formatjs/icu-messageformat-parser/index.js +0 -2173
  2119. package/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +0 -207
  2120. package/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +0 -160
  2121. package/node_modules/@formatjs/icu-messageformat-parser/package.json +0 -21
  2122. package/node_modules/@formatjs/icu-messageformat-parser/printer.js +0 -224
  2123. package/node_modules/@maka/core/dist/deep-research-client-progress.js +0 -132
  2124. package/node_modules/@maka/core/dist/deep-research-run.js +0 -625
  2125. package/node_modules/@maka/core/dist/deep-research.js +0 -227
  2126. package/node_modules/@maka/core/dist/foreign-session.js +0 -596
  2127. package/node_modules/@maka/core/dist/task-ledger.js +0 -669
  2128. package/node_modules/@maka/core/dist/thread-search.js +0 -498
  2129. package/node_modules/@maka/eval/dist/maka-runtime-policy.js +0 -42
  2130. package/node_modules/@maka/runtime/dist/active-tool-result-prune.js +0 -334
  2131. package/node_modules/@maka/runtime/dist/active-tool-result-working-set.js +0 -218
  2132. package/node_modules/@maka/runtime/dist/archive-read-tool.js +0 -92
  2133. package/node_modules/@maka/runtime/dist/deep-research-tools.js +0 -741
  2134. package/node_modules/@maka/runtime/dist/history-tools.js +0 -429
  2135. package/node_modules/@maka/runtime/dist/provider-runtime-policy.js +0 -43
  2136. package/node_modules/@maka/runtime/dist/task-ledger-tools.js +0 -244
  2137. package/node_modules/@maka/runtime/dist/test-helpers.js +0 -61
  2138. package/node_modules/@maka/runtime/dist/workers/filesystem-worker.js +0 -16973
  2139. package/node_modules/@maka/runtime/node_modules/@slack/types/dist/events/index.js +0 -43
  2140. package/node_modules/@maka/runtime/node_modules/@slack/types/package.json +0 -47
  2141. package/node_modules/@maka/runtime/node_modules/@slack/web-api/README.md +0 -390
  2142. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/methods.js +0 -1610
  2143. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +0 -3
  2144. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +0 -3
  2145. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +0 -3
  2146. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +0 -37
  2147. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js +0 -82
  2148. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js +0 -63
  2149. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +0 -3
  2150. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +0 -3
  2151. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +0 -3
  2152. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +0 -3
  2153. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +0 -3
  2154. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +0 -3
  2155. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +0 -3
  2156. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +0 -3
  2157. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +0 -3
  2158. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +0 -3
  2159. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +0 -3
  2160. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +0 -3
  2161. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +0 -3
  2162. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +0 -3
  2163. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +0 -3
  2164. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +0 -3
  2165. package/node_modules/@maka/runtime/node_modules/@slack/web-api/package.json +0 -71
  2166. package/node_modules/@maka/runtime-host/dist/protocol/deep-research.js +0 -233
  2167. package/node_modules/@maka/runtime-host/dist/protocol/task-ledger.js +0 -321
  2168. package/node_modules/@maka/runtime-host/dist/server/deep-research-coordinator.js +0 -116
  2169. package/node_modules/@maka/runtime-host/dist/server/task-ledger-coordinator.js +0 -154
  2170. package/node_modules/@maka/storage/dist/artifact-storage-layout.js +0 -26
  2171. package/node_modules/@maka/storage/dist/deep-research-authority.js +0 -129
  2172. package/node_modules/@maka/storage/dist/deep-research-store.js +0 -343
  2173. package/node_modules/@maka/storage/dist/foreign-session-store.js +0 -641
  2174. package/node_modules/@maka/storage/dist/provider-request-capture-artifact.js +0 -31
  2175. package/node_modules/@maka/storage/dist/task-ledger-authority.js +0 -121
  2176. package/node_modules/@maka/storage/dist/task-ledger-store-internal.js +0 -32
  2177. package/node_modules/@maka/storage/dist/task-ledger-store.js +0 -663
  2178. package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts.map +0 -1
  2179. package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts.map +0 -1
  2180. package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs +0 -7063
  2181. package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs +0 -7431
  2182. package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +0 -1
  2183. package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +0 -1678
  2184. package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +0 -2899
  2185. package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +0 -1
  2186. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +0 -175
  2187. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +0 -3
  2188. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +0 -201
  2189. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +0 -3
  2190. package/node_modules/@modelcontextprotocol/core/package.json +0 -85
  2191. package/node_modules/intl-messageformat/intl-messageformat.iife.js +0 -2807
  2192. package/node_modules/intl-messageformat/package.json +0 -40
  2193. package/node_modules/socks/.eslintrc.cjs +0 -11
  2194. /package/node_modules/@maka/{storage/dist/artifact-metadata-repository.js → core/dist/client-plugin-bridge.js} +0 -0
  2195. /package/node_modules/{@formatjs → @maka/core/node_modules/@formatjs}/icu-messageformat-parser/LICENSE.md +0 -0
  2196. /package/node_modules/{@formatjs → @maka/core/node_modules/@formatjs}/icu-messageformat-parser/README.md +0 -0
  2197. /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/LICENSE.md +0 -0
  2198. /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/README.md +0 -0
  2199. /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/index.js +0 -0
  2200. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/LICENSE +0 -0
  2201. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/README.md +0 -0
  2202. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.cts.map +0 -0
  2203. /package/node_modules/@modelcontextprotocol/{core → client/node_modules/@modelcontextprotocol/core}/dist/internal.d.mts.map +0 -0
  2204. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/LICENSE +0 -0
  2205. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/README.md +0 -0
  2206. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/dist/index.js +0 -0
  2207. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/package.json +0 -0
  2208. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/LICENSE +0 -0
  2209. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/README.md +0 -0
  2210. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/block-elements.js +0 -0
  2211. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/blocks.js +0 -0
  2212. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/composition-objects.js +0 -0
  2213. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/extensions.js +0 -0
  2214. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/calls.js +0 -0
  2215. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/chunk.js +0 -0
  2216. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/common/bot-profile.js +0 -0
  2217. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/common/status-emoji-display-info.js +0 -0
  2218. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/dialog.js +0 -0
  2219. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/app.js +0 -0
  2220. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/assistant.js +0 -0
  2221. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/call.js +0 -0
  2222. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/channel.js +0 -0
  2223. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/dnd.js +0 -0
  2224. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/email.js +0 -0
  2225. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/emoji.js +0 -0
  2226. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/entity-details-requested.js +0 -0
  2227. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/file.js +0 -0
  2228. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/function.js +0 -0
  2229. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/grid-migration.js +0 -0
  2230. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/group.js +0 -0
  2231. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/im.js +0 -0
  2232. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/invite.js +0 -0
  2233. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/link-shared.js +0 -0
  2234. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/member.js +0 -0
  2235. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/message-metadata.js +0 -0
  2236. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/message.js +0 -0
  2237. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/pin.js +0 -0
  2238. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/reaction.js +0 -0
  2239. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/shared-channel.js +0 -0
  2240. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/star.js +0 -0
  2241. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/steps-from-apps.js +0 -0
  2242. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/subteam.js +0 -0
  2243. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/team.js +0 -0
  2244. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/token.js +0 -0
  2245. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/user.js +0 -0
  2246. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/index.js +0 -0
  2247. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/message-attachments.js +0 -0
  2248. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/message-metadata.js +0 -0
  2249. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/views.js +0 -0
  2250. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/LICENSE +0 -0
  2251. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/WebClient.js +0 -0
  2252. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/chat-stream.js +0 -0
  2253. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/errors.js +0 -0
  2254. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/file-upload.js +0 -0
  2255. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/helpers.js +0 -0
  2256. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/index.js +0 -0
  2257. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/instrument.js +0 -0
  2258. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/logger.js +0 -0
  2259. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/retry-policies.js +0 -0
  2260. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/helpers.js +0 -0
  2261. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/analytics.js +0 -0
  2262. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/apps.js +0 -0
  2263. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/auth.js +0 -0
  2264. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/barriers.js +0 -0
  2265. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/conversations.js +0 -0
  2266. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/emoji.js +0 -0
  2267. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/functions.js +0 -0
  2268. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/inviteRequests.js +0 -0
  2269. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/roles.js +0 -0
  2270. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/teams.js +0 -0
  2271. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/usergroups.js +0 -0
  2272. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/users.js +0 -0
  2273. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/workflows.js +0 -0
  2274. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/api.js +0 -0
  2275. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/apps.js +0 -0
  2276. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/assistant.js +0 -0
  2277. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/auth.js +0 -0
  2278. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/bookmarks.js +0 -0
  2279. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/bots.js +0 -0
  2280. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/calls.js +0 -0
  2281. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/canvas.js +0 -0
  2282. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/chat.js +0 -0
  2283. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/common.js +0 -0
  2284. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/conversations.js +0 -0
  2285. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/dialog.js +0 -0
  2286. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/dnd.js +0 -0
  2287. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/emoji.js +0 -0
  2288. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/entity.js +0 -0
  2289. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/files.js +0 -0
  2290. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/functions.js +0 -0
  2291. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/index.js +0 -0
  2292. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/manifest.js +0 -0
  2293. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/migration.js +0 -0
  2294. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/oauth.js +0 -0
  2295. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/openid.js +0 -0
  2296. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/pins.js +0 -0
  2297. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/reactions.js +0 -0
  2298. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/reminders.js +0 -0
  2299. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/rtm.js +0 -0
  2300. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/search.js +0 -0
  2301. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/slackLists.js +0 -0
  2302. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/stars.js +0 -0
  2303. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/team.js +0 -0
  2304. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/tooling.js +0 -0
  2305. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/usergroups.js +0 -0
  2306. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/users.js +0 -0
  2307. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/views.js +0 -0
  2308. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/workflows.js +0 -0
  2309. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAnalyticsGetFileResponse.js +0 -0
  2310. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsActivitiesListResponse.js +0 -0
  2311. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsApproveResponse.js +0 -0
  2312. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsApprovedListResponse.js +0 -0
  2313. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsClearResolutionResponse.js +0 -0
  2314. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsConfigLookupResponse.js +0 -0
  2315. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsConfigSetResponse.js +0 -0
  2316. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRequestsCancelResponse.js +0 -0
  2317. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRequestsListResponse.js +0 -0
  2318. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRestrictResponse.js +0 -0
  2319. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRestrictedListResponse.js +0 -0
  2320. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsUninstallResponse.js +0 -0
  2321. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyAssignEntitiesResponse.js +0 -0
  2322. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyGetEntitiesResponse.js +0 -0
  2323. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyRemoveEntitiesResponse.js +0 -0
  2324. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersCreateResponse.js +0 -0
  2325. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersDeleteResponse.js +0 -0
  2326. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersListResponse.js +0 -0
  2327. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersUpdateResponse.js +0 -0
  2328. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsArchiveResponse.js +0 -0
  2329. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkArchiveResponse.js +0 -0
  2330. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkDeleteResponse.js +0 -0
  2331. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkMoveResponse.js +0 -0
  2332. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsConvertToPrivateResponse.js +0 -0
  2333. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsConvertToPublicResponse.js +0 -0
  2334. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsCreateResponse.js +0 -0
  2335. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsDeleteResponse.js +0 -0
  2336. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsDisconnectSharedResponse.js +0 -0
  2337. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.js +0 -0
  2338. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetConversationPrefsResponse.js +0 -0
  2339. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetCustomRetentionResponse.js +0 -0
  2340. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetTeamsResponse.js +0 -0
  2341. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsInviteResponse.js +0 -0
  2342. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsLookupResponse.js +0 -0
  2343. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRemoveCustomRetentionResponse.js +0 -0
  2344. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRenameResponse.js +0 -0
  2345. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessAddGroupResponse.js +0 -0
  2346. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessListGroupsResponse.js +0 -0
  2347. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.js +0 -0
  2348. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSearchResponse.js +0 -0
  2349. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetConversationPrefsResponse.js +0 -0
  2350. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetCustomRetentionResponse.js +0 -0
  2351. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetTeamsResponse.js +0 -0
  2352. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsUnarchiveResponse.js +0 -0
  2353. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistAddResponse.js +0 -0
  2354. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.js +0 -0
  2355. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistRemoveResponse.js +0 -0
  2356. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiAddAliasResponse.js +0 -0
  2357. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiAddResponse.js +0 -0
  2358. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiListResponse.js +0 -0
  2359. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiRemoveResponse.js +0 -0
  2360. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiRenameResponse.js +0 -0
  2361. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsListResponse.js +0 -0
  2362. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.js +0 -0
  2363. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsPermissionsSetResponse.js +0 -0
  2364. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsApproveResponse.js +0 -0
  2365. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsApprovedListResponse.js +0 -0
  2366. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsDeniedListResponse.js +0 -0
  2367. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsDenyResponse.js +0 -0
  2368. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsListResponse.js +0 -0
  2369. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesAddAssignmentsResponse.js +0 -0
  2370. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesListAssignmentsResponse.js +0 -0
  2371. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesRemoveAssignmentsResponse.js +0 -0
  2372. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsAdminsListResponse.js +0 -0
  2373. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsCreateResponse.js +0 -0
  2374. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsListResponse.js +0 -0
  2375. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsOwnersListResponse.js +0 -0
  2376. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsInfoResponse.js +0 -0
  2377. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.js +0 -0
  2378. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDescriptionResponse.js +0 -0
  2379. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.js +0 -0
  2380. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetIconResponse.js +0 -0
  2381. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetNameResponse.js +0 -0
  2382. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsAddChannelsResponse.js +0 -0
  2383. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsAddTeamsResponse.js +0 -0
  2384. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsListChannelsResponse.js +0 -0
  2385. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsRemoveChannelsResponse.js +0 -0
  2386. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersAssignResponse.js +0 -0
  2387. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersInviteResponse.js +0 -0
  2388. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersListResponse.js +0 -0
  2389. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersRemoveResponse.js +0 -0
  2390. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionClearSettingsResponse.js +0 -0
  2391. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionGetSettingsResponse.js +0 -0
  2392. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionInvalidateResponse.js +0 -0
  2393. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionListResponse.js +0 -0
  2394. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionResetBulkResponse.js +0 -0
  2395. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionResetResponse.js +0 -0
  2396. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionSetSettingsResponse.js +0 -0
  2397. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetAdminResponse.js +0 -0
  2398. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetExpirationResponse.js +0 -0
  2399. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetOwnerResponse.js +0 -0
  2400. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetRegularResponse.js +0 -0
  2401. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersUnsupportedVersionsExportResponse.js +0 -0
  2402. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsCollaboratorsAddResponse.js +0 -0
  2403. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsCollaboratorsRemoveResponse.js +0 -0
  2404. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsPermissionsLookupResponse.js +0 -0
  2405. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsSearchResponse.js +0 -0
  2406. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsUnpublishResponse.js +0 -0
  2407. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ApiTestResponse.js +0 -0
  2408. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsConnectionsOpenResponse.js +0 -0
  2409. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsEventAuthorizationsListResponse.js +0 -0
  2410. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestCreateResponse.js +0 -0
  2411. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestDeleteResponse.js +0 -0
  2412. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestExportResponse.js +0 -0
  2413. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestUpdateResponse.js +0 -0
  2414. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestValidateResponse.js +0 -0
  2415. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsInfoResponse.js +0 -0
  2416. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsRequestResponse.js +0 -0
  2417. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsResourcesListResponse.js +0 -0
  2418. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsScopesListResponse.js +0 -0
  2419. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsUsersListResponse.js +0 -0
  2420. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsUsersRequestResponse.js +0 -0
  2421. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsUninstallResponse.js +0 -0
  2422. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +0 -0
  2423. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetStatusResponse.js +0 -0
  2424. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetSuggestedPromptsResponse.js +0 -0
  2425. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetTitleResponse.js +0 -0
  2426. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthRevokeResponse.js +0 -0
  2427. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthTeamsListResponse.js +0 -0
  2428. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthTestResponse.js +0 -0
  2429. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksAddResponse.js +0 -0
  2430. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksEditResponse.js +0 -0
  2431. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksListResponse.js +0 -0
  2432. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksRemoveResponse.js +0 -0
  2433. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BotsInfoResponse.js +0 -0
  2434. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsAddResponse.js +0 -0
  2435. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsEndResponse.js +0 -0
  2436. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsInfoResponse.js +0 -0
  2437. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsParticipantsAddResponse.js +0 -0
  2438. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsParticipantsRemoveResponse.js +0 -0
  2439. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsUpdateResponse.js +0 -0
  2440. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesAccessDeleteResponse.js +0 -0
  2441. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesAccessSetResponse.js +0 -0
  2442. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesCreateResponse.js +0 -0
  2443. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesDeleteResponse.js +0 -0
  2444. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesEditResponse.js +0 -0
  2445. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesSectionsLookupResponse.js +0 -0
  2446. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsArchiveResponse.js +0 -0
  2447. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsCreateResponse.js +0 -0
  2448. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsHistoryResponse.js +0 -0
  2449. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsInfoResponse.js +0 -0
  2450. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsInviteResponse.js +0 -0
  2451. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsJoinResponse.js +0 -0
  2452. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsKickResponse.js +0 -0
  2453. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsLeaveResponse.js +0 -0
  2454. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsListResponse.js +0 -0
  2455. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsMarkResponse.js +0 -0
  2456. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsRenameResponse.js +0 -0
  2457. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsRepliesResponse.js +0 -0
  2458. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsSetPurposeResponse.js +0 -0
  2459. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsSetTopicResponse.js +0 -0
  2460. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsUnarchiveResponse.js +0 -0
  2461. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatDeleteResponse.js +0 -0
  2462. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatDeleteScheduledMessageResponse.js +0 -0
  2463. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatGetPermalinkResponse.js +0 -0
  2464. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatMeMessageResponse.js +0 -0
  2465. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatPostEphemeralResponse.js +0 -0
  2466. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatPostMessageResponse.js +0 -0
  2467. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatScheduleMessageResponse.js +0 -0
  2468. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatScheduledMessagesListResponse.js +0 -0
  2469. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatUnfurlResponse.js +0 -0
  2470. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatUpdateResponse.js +0 -0
  2471. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsAcceptSharedInviteResponse.js +0 -0
  2472. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsApproveSharedInviteResponse.js +0 -0
  2473. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsArchiveResponse.js +0 -0
  2474. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCanvasesCreateResponse.js +0 -0
  2475. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCloseResponse.js +0 -0
  2476. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCreateResponse.js +0 -0
  2477. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsDeclineSharedInviteResponse.js +0 -0
  2478. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsExternalInvitePermissionsSetResponse.js +0 -0
  2479. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsHistoryResponse.js +0 -0
  2480. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInfoResponse.js +0 -0
  2481. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInviteResponse.js +0 -0
  2482. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInviteSharedResponse.js +0 -0
  2483. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsJoinResponse.js +0 -0
  2484. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsKickResponse.js +0 -0
  2485. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsLeaveResponse.js +0 -0
  2486. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsListConnectInvitesResponse.js +0 -0
  2487. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsListResponse.js +0 -0
  2488. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsMarkResponse.js +0 -0
  2489. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsMembersResponse.js +0 -0
  2490. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsOpenResponse.js +0 -0
  2491. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRenameResponse.js +0 -0
  2492. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRepliesResponse.js +0 -0
  2493. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteApproveResponse.js +0 -0
  2494. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteDenyResponse.js +0 -0
  2495. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.js +0 -0
  2496. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsSetPurposeResponse.js +0 -0
  2497. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsSetTopicResponse.js +0 -0
  2498. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsUnarchiveResponse.js +0 -0
  2499. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DialogOpenResponse.js +0 -0
  2500. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndEndDndResponse.js +0 -0
  2501. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndEndSnoozeResponse.js +0 -0
  2502. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndInfoResponse.js +0 -0
  2503. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndSetSnoozeResponse.js +0 -0
  2504. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndTeamInfoResponse.js +0 -0
  2505. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/EmojiListResponse.js +0 -0
  2506. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/EntityPresentDetailsResponse.js +0 -0
  2507. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsAddResponse.js +0 -0
  2508. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsDeleteResponse.js +0 -0
  2509. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsEditResponse.js +0 -0
  2510. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCompleteUploadExternalResponse.js +0 -0
  2511. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesDeleteResponse.js +0 -0
  2512. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesGetUploadURLExternalResponse.js +0 -0
  2513. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesInfoResponse.js +0 -0
  2514. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesListResponse.js +0 -0
  2515. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteAddResponse.js +0 -0
  2516. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteInfoResponse.js +0 -0
  2517. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteListResponse.js +0 -0
  2518. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteRemoveResponse.js +0 -0
  2519. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteShareResponse.js +0 -0
  2520. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteUpdateResponse.js +0 -0
  2521. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRevokePublicURLResponse.js +0 -0
  2522. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesSharedPublicURLResponse.js +0 -0
  2523. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesUploadResponse.js +0 -0
  2524. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FunctionsCompleteErrorResponse.js +0 -0
  2525. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FunctionsCompleteSuccessResponse.js +0 -0
  2526. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsArchiveResponse.js +0 -0
  2527. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCloseResponse.js +0 -0
  2528. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCreateChildResponse.js +0 -0
  2529. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCreateResponse.js +0 -0
  2530. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsHistoryResponse.js +0 -0
  2531. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsInfoResponse.js +0 -0
  2532. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsInviteResponse.js +0 -0
  2533. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsKickResponse.js +0 -0
  2534. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsLeaveResponse.js +0 -0
  2535. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsListResponse.js +0 -0
  2536. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsMarkResponse.js +0 -0
  2537. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsOpenResponse.js +0 -0
  2538. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsRenameResponse.js +0 -0
  2539. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsRepliesResponse.js +0 -0
  2540. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsSetPurposeResponse.js +0 -0
  2541. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsSetTopicResponse.js +0 -0
  2542. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsUnarchiveResponse.js +0 -0
  2543. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImCloseResponse.js +0 -0
  2544. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImHistoryResponse.js +0 -0
  2545. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImListResponse.js +0 -0
  2546. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImMarkResponse.js +0 -0
  2547. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImOpenResponse.js +0 -0
  2548. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImRepliesResponse.js +0 -0
  2549. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MigrationExchangeResponse.js +0 -0
  2550. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimCloseResponse.js +0 -0
  2551. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimHistoryResponse.js +0 -0
  2552. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimListResponse.js +0 -0
  2553. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimMarkResponse.js +0 -0
  2554. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimOpenResponse.js +0 -0
  2555. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimRepliesResponse.js +0 -0
  2556. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthAccessResponse.js +0 -0
  2557. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthTokenResponse.js +0 -0
  2558. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthV2AccessResponse.js +0 -0
  2559. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthV2ExchangeResponse.js +0 -0
  2560. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OpenIDConnectTokenResponse.js +0 -0
  2561. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OpenIDConnectUserInfoResponse.js +0 -0
  2562. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/PinsAddResponse.js +0 -0
  2563. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/PinsRemoveResponse.js +0 -0
  2564. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsAddResponse.js +0 -0
  2565. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsGetResponse.js +0 -0
  2566. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsListResponse.js +0 -0
  2567. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsRemoveResponse.js +0 -0
  2568. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersAddResponse.js +0 -0
  2569. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersCompleteResponse.js +0 -0
  2570. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersDeleteResponse.js +0 -0
  2571. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersInfoResponse.js +0 -0
  2572. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersListResponse.js +0 -0
  2573. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RtmConnectResponse.js +0 -0
  2574. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RtmStartResponse.js +0 -0
  2575. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/SearchMessagesResponse.js +0 -0
  2576. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsAddResponse.js +0 -0
  2577. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsListResponse.js +0 -0
  2578. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsRemoveResponse.js +0 -0
  2579. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamAccessLogsResponse.js +0 -0
  2580. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamBillableInfoResponse.js +0 -0
  2581. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamBillingInfoResponse.js +0 -0
  2582. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamExternalTeamsDisconnectResponse.js +0 -0
  2583. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamExternalTeamsListResponse.js +0 -0
  2584. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamInfoResponse.js +0 -0
  2585. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamIntegrationLogsResponse.js +0 -0
  2586. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamPreferencesListResponse.js +0 -0
  2587. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamProfileGetResponse.js +0 -0
  2588. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ToolingTokensRotateResponse.js +0 -0
  2589. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsCreateResponse.js +0 -0
  2590. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsDisableResponse.js +0 -0
  2591. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsEnableResponse.js +0 -0
  2592. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsListResponse.js +0 -0
  2593. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUpdateResponse.js +0 -0
  2594. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUsersListResponse.js +0 -0
  2595. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUsersUpdateResponse.js +0 -0
  2596. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersConversationsResponse.js +0 -0
  2597. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersDeletePhotoResponse.js +0 -0
  2598. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersDiscoverableContactsLookupResponse.js +0 -0
  2599. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersGetPresenceResponse.js +0 -0
  2600. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersIdentityResponse.js +0 -0
  2601. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersInfoResponse.js +0 -0
  2602. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersListResponse.js +0 -0
  2603. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersLookupByEmailResponse.js +0 -0
  2604. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersProfileGetResponse.js +0 -0
  2605. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersProfileSetResponse.js +0 -0
  2606. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetActiveResponse.js +0 -0
  2607. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetPhotoResponse.js +0 -0
  2608. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetPresenceResponse.js +0 -0
  2609. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsOpenResponse.js +0 -0
  2610. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsPublishResponse.js +0 -0
  2611. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsPushResponse.js +0 -0
  2612. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsUpdateResponse.js +0 -0
  2613. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsStepCompletedResponse.js +0 -0
  2614. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsStepFailedResponse.js +0 -0
  2615. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsUpdateStepResponse.js +0 -0
  2616. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/index.js +0 -0
  2617. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/License +0 -0
  2618. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/README.md +0 -0
  2619. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/example/dns.js +0 -0
  2620. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/example/stop.js +0 -0
  2621. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/index.js +0 -0
  2622. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/lib/retry.js +0 -0
  2623. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/lib/retry_operation.js +0 -0
  2624. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/package.json +0 -0
@@ -17,23 +17,23 @@
17
17
  * under the License.
18
18
  */
19
19
  import { compactionDecisionDiagnosticPatch } from './compaction-boundary.js';
20
- import { ARCHIVED_TOOL_RESULT_REWRITE_VERSION, buildContextBudgetDiagnosticShell, estimateRuntimeEventsTokens, mergeContextBudgetDiagnostic, } from './context-budget.js';
21
- import { evaluateHistoryCompactCheckpointReplay, isHistoryCompactContentEvent, } from './history-compaction.js';
22
- import { canContinueHistoryCompactCheckpointForModel, canReplayHistoryCompactCheckpointForModel, matchHistoryCompactCheckpointPrefix, projectHistoryCompactCheckpointReplay, } from './history-compact-checkpoint.js';
20
+ import { buildContextBudgetDiagnosticShell, mergeContextBudgetDiagnostic, mergeContextBudgetDiagnosticPatches, } from './context-budget.js';
21
+ import { isHistoryCompactContentEvent } from './history-compaction.js';
22
+ import { canContinueHistoryCompactCheckpointForModel, canReplayHistoryCompactCheckpointForModel, historyCompactSourceDigest, matchHistoryCompactCheckpointPrefix, projectHistoryCompactCheckpointReplay, } from './history-compact-checkpoint.js';
23
23
  import { HistoryCompactSummarizerError, isMalformedHistoryCompactSummaryReason, } from './history-compact-error.js';
24
- import { createHash } from 'node:crypto';
25
- import { rewriteActiveToolResultsInMessages, } from './active-tool-result-prune.js';
26
- import { collectStaleToolResultArchiveCandidates } from './tool-result-archive.js';
27
- import { buildRuntimeEventModelReplayPlan, collectToolActivityTurnIds, } from './model-history.js';
28
- import { toolSchemaCharsForDiagnostics } from './request-shape.js';
29
- import { estimateNextRequestTokens, exceedsHighWater, planHistoryCompaction, } from './history-compaction.js';
30
- import { resolveContextBudgetCapacity, } from './context-budget-policy.js';
24
+ import { archiveToolResultAsTransition, collectToolResultArchiveCandidates, serializedToolResultProjection, } from './tool-result-archive-transition.js';
25
+ import { estimateTokens, sha256 } from './context-budget-helpers.js';
26
+ import { reduceEffectiveModelProjections, } from './model-projection-transition-ledger.js';
27
+ import { buildRuntimeEventModelReplayPlan, collectToolActivityTurnIds, compatibleProviderReasoningReplayEventIds, } from './model-history.js';
28
+ import { planHistoryCompaction } from './history-compaction.js';
29
+ import { resolveDeclaredContextWindow } from './context-budget-policy.js';
31
30
  import { collectHistoricalImageToolResults, omitHistoricalImageToolResults, } from './provider-image-overflow-recovery.js';
32
31
  export class AiSdkCompaction {
33
32
  input;
34
33
  sessionId;
34
+ targetConnectionId;
35
+ targetProviderStateIdentity;
35
36
  now;
36
- modelAdapter;
37
37
  createProviderRequestTracker;
38
38
  materializeRuntimeReplayPlan;
39
39
  canReplayProviderNative;
@@ -47,17 +47,61 @@ export class AiSdkCompaction {
47
47
  constructor(deps) {
48
48
  this.input = deps.input;
49
49
  this.sessionId = deps.sessionId;
50
+ this.targetConnectionId = deps.targetConnectionId;
51
+ this.targetProviderStateIdentity = deps.targetProviderStateIdentity;
50
52
  this.now = deps.now;
51
- this.modelAdapter = deps.modelAdapter;
52
53
  this.createProviderRequestTracker = deps.createProviderRequestTracker;
53
54
  this.materializeRuntimeReplayPlan = deps.materializeRuntimeReplayPlan;
54
55
  this.canReplayProviderNative = deps.canReplayProviderNative;
55
56
  }
57
+ /**
58
+ * Every transition this session has committed.
59
+ *
60
+ * Read from the durable ledger rather than remembered: a Turn that pruned and
61
+ * a Turn that replays it may be different processes. A read that fails or that
62
+ * this build cannot fully decode is reported, never smoothed into "there are
63
+ * no transitions" — a caller that cannot see the whole chain may still show
64
+ * what it folded, but it may not append a successor onto a state it only
65
+ * partly knows.
66
+ */
67
+ async loadModelProjectionTransitions() {
68
+ const loaded = await this.input.loadModelProjectionTransitions?.();
69
+ const resolved = {
70
+ transitions: [],
71
+ unreadableTargets: new Set(),
72
+ unscopedUnreadable: 0,
73
+ ...loaded,
74
+ };
75
+ if (resolved.unscopedUnreadable > 0) {
76
+ // The record names no target, so nothing can be confined and nothing can
77
+ // be shown: replaying raw history here would show whatever that record
78
+ // removed. Failing is recoverable; showing it again is not.
79
+ throw new Error('model projection transition ledger contains an unscoped unreadable record');
80
+ }
81
+ return resolved;
82
+ }
83
+ /**
84
+ * The archive-and-commit writer, or `undefined` when this session cannot make
85
+ * a lossy model-history change durable. Without both halves — an archive to
86
+ * put the body in and a ledger to record the replacement — no prune may run.
87
+ */
88
+ toolResultArchiveTransitionServices(turnId) {
89
+ const archive = this.input.toolResultArchive?.services.archiveToolResult;
90
+ const record = this.input.recordModelProjectionTransition;
91
+ if (!archive || !record)
92
+ return undefined;
93
+ return {
94
+ sessionId: this.sessionId,
95
+ archiveToolResult: (candidate) => archive(candidate),
96
+ recordTransition: (transition) => record(transition, turnId),
97
+ now: this.now,
98
+ };
99
+ }
56
100
  /** Abort an in-flight manual history compaction (called by AiSdkBackend.stop). */
57
101
  abortHistoryCompact() {
58
102
  this.historyCompactAbortController?.abort();
59
103
  }
60
- async compactHistory(input, requestShapeHashBefore, automaticMemoryBoundary) {
104
+ async compactHistory(input, automaticMemoryBoundary) {
61
105
  const historyCompactAbortController = new AbortController();
62
106
  this.historyCompactAbortController = historyCompactAbortController;
63
107
  try {
@@ -73,13 +117,22 @@ export class AiSdkCompaction {
73
117
  if (runtimeContext.length === 0) {
74
118
  return { outcome: { kind: 'unchanged', reason: 'empty_history' } };
75
119
  }
120
+ // The next send's prepareContextBudgetPolicy prunes oversized tool
121
+ // results BEFORE it validates this fold's checkpoint, so a summary
122
+ // written over an unarchived body fails its first currency check and is
123
+ // silently discarded (#6048). Commit the same archives here first:
124
+ // projectEffectiveCoverage below then folds them into both the
125
+ // summarizer's view and the pinned effectiveSourceDigest — the same
126
+ // effective view the validator folds. The planning pool stays the raw
127
+ // events, so the coverage identity and the #5929 reuse gate are
128
+ // untouched.
129
+ await this.pruneToolResults(runtimeContext, input.turnId);
76
130
  const charsPerToken = policy.charsPerToken ?? 4;
77
- const estimatedTokensBefore = Math.max(1, estimateRuntimeEventsTokens(runtimeContext, charsPerToken));
78
131
  let previousCheckpoint;
79
132
  try {
80
133
  const loaded = await Promise.resolve(this.input.loadHistoryCompactCheckpoint?.());
81
134
  if (loaded &&
82
- canContinueHistoryCompactCheckpointForModel(loaded, this.input.connection, this.input.modelId)) {
135
+ canContinueHistoryCompactCheckpointForModel(loaded, this.input.connection, this.targetConnectionId, this.input.modelId)) {
83
136
  previousCheckpoint = loaded;
84
137
  }
85
138
  }
@@ -89,8 +142,14 @@ export class AiSdkCompaction {
89
142
  if (previousCheckpoint) {
90
143
  const match = matchHistoryCompactCheckpointPrefix(previousCheckpoint, runtimeContext);
91
144
  if (!match.reason && match.successorRuntimeEvents.length === 0) {
92
- const fit = evaluateHistoryCompactCheckpointReplay(previousCheckpoint, [], charsPerToken, policy.maxHistoryEstimatedTokens, { sourceReplayEvents: runtimeContext });
93
- if (fit.fits) {
145
+ // Raw identity is not enough: a projection transition committed
146
+ // after the fold rewrites the covered span's effective view without
147
+ // touching the raw ledger, so reuse requires the pinned effective
148
+ // digest to still match — the same gate the pre-send path applies
149
+ // (#5929). On drift, fall through to the planner, whose roll-forward
150
+ // currency check discards the stale checkpoint and re-summarizes.
151
+ const effectiveCovered = await this.foldEffectiveModelHistory(match.coveredRuntimeEvents);
152
+ if (this.checkpointEffectiveCoverageMatches(previousCheckpoint, effectiveCovered)) {
94
153
  const projectedEvents = projectHistoryCompactCheckpointReplay(previousCheckpoint, match.coveredRuntimeEvents, []);
95
154
  return {
96
155
  outcome: { kind: 'unchanged', reason: 'already_compacted' },
@@ -122,6 +181,15 @@ export class AiSdkCompaction {
122
181
  sessionId: this.sessionId,
123
182
  phase: 'standalone',
124
183
  orderedEvents: runtimeContext,
184
+ ...(input.runtimeContextInvocations
185
+ ? { invocations: input.runtimeContextInvocations }
186
+ : {}),
187
+ acceptedRoute: {
188
+ modelId: this.input.modelId,
189
+ ...(this.targetConnectionId !== undefined
190
+ ? { connectionId: this.targetConnectionId }
191
+ : {}),
192
+ },
125
193
  reserveTailEvents: 0,
126
194
  charsPerToken,
127
195
  now: this.now(),
@@ -130,20 +198,28 @@ export class AiSdkCompaction {
130
198
  : {}),
131
199
  ...(automaticMemoryBoundary ? { memoryExtractionBoundary: automaticMemoryBoundary } : {}),
132
200
  ...(previousCheckpoint ? { previousCheckpoint } : {}),
133
- summarize: async ({ coveredRuntimeEvents, newlyFoldedRuntimeEvents, previousCheckpoint }) => await this.summarizeWithFailureCircuit(summarizer, {
134
- sessionId: this.sessionId,
135
- turnId: input.turnId,
136
- source: { foldedRuntimeEvents: [...coveredRuntimeEvents] },
137
- newlyFoldedRuntimeEvents: [...newlyFoldedRuntimeEvents],
138
- ...(previousCheckpoint ? { previousCheckpoint } : {}),
139
- inputBudget: {
140
- maxEstimatedTokens: policy.maxHistoryEstimatedTokens ?? estimatedTokensBefore,
141
- charsPerToken,
142
- },
143
- ...(requestShapeHashBefore ? { requestShapeHashBefore } : {}),
144
- abortSignal: historyCompactAbortController.signal,
145
- ...(tracker ? { providerRequestTracker: tracker } : {}),
146
- }),
201
+ // The planner projects the covered span to its effective view before
202
+ // summarizing and pins its digest as coverage.effectiveSourceDigest:
203
+ // the summary can never quote a body a durable transition removed, and
204
+ // a later transition invalidates the checkpoint at replay (#4845).
205
+ projectEffectiveCoverage: (covered) => this.foldEffectiveModelHistory(covered),
206
+ summarize: async ({ coveredRuntimeEvents, newlyFoldedRuntimeEvents, previousCheckpoint, }) => {
207
+ return await this.summarizeWithFailureCircuit(summarizer, {
208
+ sessionId: this.sessionId,
209
+ turnId: input.turnId,
210
+ runId: input.runId,
211
+ source: {
212
+ foldedRuntimeEvents: [...coveredRuntimeEvents],
213
+ ...(input.runtimeContextInvocations
214
+ ? { invocations: input.runtimeContextInvocations }
215
+ : {}),
216
+ },
217
+ newlyFoldedRuntimeEvents: [...newlyFoldedRuntimeEvents],
218
+ ...(previousCheckpoint ? { previousCheckpoint } : {}),
219
+ abortSignal: historyCompactAbortController.signal,
220
+ ...(tracker ? { providerRequestTracker: tracker } : {}),
221
+ });
222
+ },
147
223
  });
148
224
  if (historyCompactAbortController.signal.aborted) {
149
225
  return { outcome: { kind: 'failed', reason: 'aborted' } };
@@ -165,22 +241,6 @@ export class AiSdkCompaction {
165
241
  }),
166
242
  };
167
243
  }
168
- const replayFit = evaluateHistoryCompactCheckpointReplay(plan.checkpoint, plan.tailRuntimeEvents, charsPerToken, policy.maxHistoryEstimatedTokens, { sourceReplayEvents: runtimeContext });
169
- if (!replayFit.fits) {
170
- return {
171
- outcome: { kind: 'failed', reason: replayFit.reason },
172
- contextBudget: mergeContextBudgetDiagnostic(diagnosticShell(runtimeContext), {
173
- ...compactionDecisionDiagnosticPatch({
174
- stage: 'priorReplay',
175
- sourceKind: 'runtimeEvents',
176
- decision: 'failedOpen',
177
- phase: 'pre_turn',
178
- boundaryKind: 'historyCompact',
179
- failOpenReason: replayFit.reason,
180
- }),
181
- }),
182
- };
183
- }
184
244
  try {
185
245
  await Promise.resolve(recorder(plan.checkpoint, input.turnId));
186
246
  }
@@ -232,16 +292,36 @@ export class AiSdkCompaction {
232
292
  return Boolean(this.input.summarizeHistoryCompact && this.input.recordHistoryCompactCheckpoint);
233
293
  }
234
294
  async summarizeWithFailureCircuit(summarizer, input) {
295
+ const foldedRunIds = new Set(input.source.foldedRuntimeEvents.map((event) => event.runId));
296
+ const sourceRunRoutes = input.source.invocations
297
+ ?.filter((invocation) => foldedRunIds.has(invocation.runId))
298
+ .map((invocation) => {
299
+ const route = invocation.opening.route;
300
+ return {
301
+ runId: invocation.runId,
302
+ ...(route.provenance === 'runtime' && route.backendKind !== 'plugin-executor'
303
+ ? { connectionId: route.llmConnectionId }
304
+ : {}),
305
+ modelId: route.modelId,
306
+ };
307
+ })
308
+ .sort((left, right) => left.runId.localeCompare(right.runId));
235
309
  const fingerprint = sha256(stableStringifyForSignature({
236
- version: 1,
310
+ version: 2,
237
311
  connection: this.input.connection,
238
312
  modelId: this.input.modelId,
239
313
  historyCompactRoute: this.input.historyCompactRoute,
240
314
  contextBudget: this.input.contextBudget,
241
- inputBudget: input.inputBudget,
242
- requestShapeHashBefore: input.requestShapeHashBefore,
243
- previousCheckpointId: input.previousCheckpoint?.checkpointId,
315
+ maxOutputTokens: input.maxOutputTokens,
316
+ previousCheckpoint: input.previousCheckpoint,
317
+ currentRunEventIds: input.runId
318
+ ? input.source.foldedRuntimeEvents
319
+ .filter((event) => event.runId === input.runId)
320
+ .map((event) => event.id)
321
+ : [],
322
+ sourceRunRoutes,
244
323
  foldedRuntimeEvents: input.source.foldedRuntimeEvents,
324
+ newlyFoldedRuntimeEvents: input.newlyFoldedRuntimeEvents,
245
325
  }));
246
326
  const priorFailure = this.malformedSummaryFailures.get(fingerprint);
247
327
  if (priorFailure)
@@ -264,54 +344,119 @@ export class AiSdkCompaction {
264
344
  throw error;
265
345
  }
266
346
  }
267
- async prepareContextBudgetPolicy(runtimeContext) {
347
+ /**
348
+ * Fold the durable transition ledger onto any slice of model-visible history.
349
+ *
350
+ * The current Turn's own events go through here on every provider step, for
351
+ * the same reason prior Turns do: what the model sees is the folded ledger,
352
+ * not the raw one. Checkpoint validation and replay pass the same snapshot;
353
+ * standalone callers read one here. Unreadable targets remain withheld.
354
+ */
355
+ async foldEffectiveModelHistory(events, snapshot) {
356
+ const loaded = snapshot ?? (await this.loadModelProjectionTransitions());
357
+ if (loaded.transitions.length === 0 && loaded.unreadableTargets.size === 0) {
358
+ return [...events];
359
+ }
360
+ // Forward the unreadable set: a target whose transition record this build
361
+ // cannot decode must fold to the withholding sentinel here too, or this
362
+ // path becomes the one consumer that replays the body a record removed.
363
+ return reduceEffectiveModelProjections(events, loaded.transitions, loaded.unreadableTargets)
364
+ .events;
365
+ }
366
+ /**
367
+ * Whether the checkpoint's pinned effective view still is the covered
368
+ * prefix's effective view. The raw identity match happens later in the
369
+ * replay authority; this gate is about content currency: a projection
370
+ * transition committed after the fold changes what the model may see of the
371
+ * covered span without touching the raw ledger, and the checkpoint's summary
372
+ * or provider state must not survive that drift (#4845 review).
373
+ */
374
+ checkpointEffectiveCoverageMatches(checkpoint, effectiveEvents) {
375
+ const pinned = checkpoint.coverage.effectiveSourceDigest;
376
+ if (pinned === undefined)
377
+ return false;
378
+ const covered = effectiveEvents
379
+ .filter(isHistoryCompactContentEvent)
380
+ .slice(0, checkpoint.coverage.eventCount);
381
+ if (covered.length !== checkpoint.coverage.eventCount)
382
+ return false;
383
+ if (covered.at(-1)?.id !== checkpoint.coverage.through.runtimeEventId)
384
+ return false;
385
+ return historyCompactSourceDigest(covered) === pinned;
386
+ }
387
+ /**
388
+ * Apply the same bounded-result rule to current and prior events.
389
+ *
390
+ * This is the one seam where raw RuntimeEvents become effective model
391
+ * history: the caller uses the returned events for replay, budgeting and
392
+ * compaction alike, so no later stage can read content a transition removed.
393
+ */
394
+ async pruneToolResults(runtimeContext, turnId) {
268
395
  const policy = this.input.contextBudget;
396
+ let loaded = await this.loadModelProjectionTransitions();
397
+ let effective = reduceEffectiveModelProjections(runtimeContext, loaded.transitions, loaded.unreadableTargets);
269
398
  if (!policy)
270
- return { policy };
271
- let nextPolicy = policy;
272
- if (policy.staleToolResultPrune?.enabled === true) {
273
- const candidates = collectStaleToolResultArchiveCandidates(runtimeContext, policy?.staleToolResultPrune, policy?.charsPerToken ?? 4);
399
+ return { events: effective.events, projectionSnapshot: loaded };
400
+ let stats;
401
+ // A chain this reader cannot see in full is a chain it must not extend: a
402
+ // successor built on a partly known state would name the wrong predecessor
403
+ // and be permanently inert, losing the content it archived.
404
+ const services = loaded.unreadableTargets.size === 0
405
+ ? this.toolResultArchiveTransitionServices(turnId)
406
+ : undefined;
407
+ if (policy.toolResultPrune?.enabled === true && services) {
408
+ // The decision is taken over EFFECTIVE history, so a result an earlier
409
+ // Turn already replaced is never re-measured — or re-archived — at the
410
+ // size it used to have.
411
+ const candidates = collectToolResultArchiveCandidates(effective.events, policy.toolResultPrune, policy.charsPerToken ?? 4);
412
+ for (const candidate of candidates) {
413
+ await archiveToolResultAsTransition(services, {
414
+ runtimeEventId: candidate.runtimeEventId,
415
+ turnId: candidate.turnId,
416
+ toolCallId: candidate.toolCallId,
417
+ toolName: candidate.toolName,
418
+ sourceProjection: candidate.sourceProjection,
419
+ serializedResult: candidate.serializedResult,
420
+ originalBytes: candidate.originalBytes,
421
+ originalEstimatedTokens: candidate.originalEstimatedTokens,
422
+ reason: candidate.reason,
423
+ result: candidate.result,
424
+ });
425
+ }
274
426
  if (candidates.length > 0) {
275
- const archiveRefs = new Map();
276
- const existingArchiveRefs = nextPolicy.staleToolResultPrune?.archiveRefs;
277
- if (Array.isArray(existingArchiveRefs)) {
278
- for (const ref of existingArchiveRefs)
279
- archiveRefs.set(ref.runtimeEventId, ref);
280
- }
281
- else if (existingArchiveRefs) {
282
- for (const ref of Object.values(existingArchiveRefs))
283
- archiveRefs.set(ref.runtimeEventId, ref);
284
- }
427
+ // Writes (including a rival winner or an uncertain commit) cannot tell
428
+ // us what the model sees. Read once after the batch and use this same
429
+ // snapshot for checkpoint validation, replay, and diagnostics.
430
+ loaded = await this.loadModelProjectionTransitions();
431
+ effective = reduceEffectiveModelProjections(runtimeContext, loaded.transitions, loaded.unreadableTargets);
432
+ stats = {
433
+ prunedToolResults: 0,
434
+ prunedToolResultEstimatedTokensBefore: 0,
435
+ prunedToolResultEstimatedTokensAfter: 0,
436
+ archiveWriteFailures: 0,
437
+ };
285
438
  for (const candidate of candidates) {
286
- const bodySha256 = sha256(candidate.serializedResult);
287
- const archived = await Promise.resolve(this.input.toolResultArchive?.services.archiveToolResult({
288
- ...candidate,
289
- sessionId: this.sessionId,
290
- bodySha256,
291
- })).catch(() => undefined);
292
- if (!archived?.artifactId)
439
+ const applied = effective.applied.find((transition) => transition.target.runtimeEventId === candidate.runtimeEventId);
440
+ if (!applied) {
441
+ stats.archiveWriteFailures++;
293
442
  continue;
294
- archiveRefs.set(candidate.runtimeEventId, {
295
- runtimeEventId: candidate.runtimeEventId,
296
- toolCallId: candidate.toolCallId,
297
- toolName: candidate.toolName,
298
- artifactId: archived.artifactId,
299
- bodySha256,
300
- originalEstimatedTokens: candidate.originalEstimatedTokens,
301
- originalBytes: candidate.originalBytes,
302
- rewriteVersion: ARCHIVED_TOOL_RESULT_REWRITE_VERSION,
303
- reason: candidate.reason,
304
- });
443
+ }
444
+ stats.prunedToolResults++;
445
+ stats.prunedToolResultEstimatedTokensBefore += candidate.originalEstimatedTokens;
446
+ stats.prunedToolResultEstimatedTokensAfter += estimateTokens(serializedToolResultProjection(applied.replacement).length, policy.charsPerToken ?? 4);
305
447
  }
306
- nextPolicy = {
307
- ...nextPolicy,
308
- staleToolResultPrune: {
309
- ...nextPolicy.staleToolResultPrune,
310
- archiveRefs: [...archiveRefs.values()],
311
- },
312
- };
313
448
  }
314
449
  }
450
+ return { events: effective.events, projectionSnapshot: loaded, ...(stats ? { stats } : {}) };
451
+ }
452
+ async prepareContextBudgetPolicy(runtimeContext, turnId) {
453
+ const policy = this.input.contextBudget;
454
+ const prepared = await this.pruneToolResults(runtimeContext, turnId);
455
+ const effective = { events: prepared.events };
456
+ if (!policy)
457
+ return { policy, events: effective.events, projectionSnapshot: prepared.projectionSnapshot };
458
+ let nextPolicy = policy;
459
+ let diagnosticPatch = prepared.stats;
315
460
  let loadedCheckpoint;
316
461
  try {
317
462
  loadedCheckpoint = await Promise.resolve(this.input.loadHistoryCompactCheckpoint?.());
@@ -320,56 +465,55 @@ export class AiSdkCompaction {
320
465
  loadedCheckpoint = undefined;
321
466
  }
322
467
  if (loadedCheckpoint &&
323
- canReplayHistoryCompactCheckpointForModel(loadedCheckpoint, this.input.connection, this.input.modelId)) {
324
- nextPolicy = {
325
- ...nextPolicy,
326
- historyCompact: { ...nextPolicy.historyCompact, checkpoint: loadedCheckpoint },
327
- };
328
- }
329
- return { policy: nextPolicy };
330
- }
331
- buildActiveToolResultPruneProjection(turnId, includeNewestStep, onDiagnosticPatch) {
332
- const policy = this.input.contextBudget?.activeToolResultPrune;
333
- if (policy?.enabled !== true)
334
- return undefined;
335
- const archivedPlaceholders = new Map();
336
- return async (options) => {
337
- const eligibleToolCallIds = collectPrunableCompletedStepToolCallIds(options.completedSteps, includeNewestStep);
338
- if (eligibleToolCallIds.size === 0)
339
- return undefined;
340
- const rewritten = await rewriteActiveToolResultsInMessages({
341
- messages: options.messages,
342
- policy,
343
- stepNumber: options.stepNumber,
344
- turnId,
345
- charsPerToken: this.input.contextBudget?.charsPerToken,
346
- eligibleToolCallIds,
347
- completedToolCalls: options.completedSteps.flatMap((step, stepNumber) => (step.toolCalls ?? []).map((call) => ({
348
- toolCallId: call.toolCallId,
349
- toolName: call.toolName,
350
- input: call.input,
351
- stepNumber,
352
- }))),
353
- archivedPlaceholders,
354
- archiveToolResult: async (candidate) => {
355
- return await Promise.resolve(this.input.toolResultArchive?.services.archiveToolResult({
356
- ...candidate,
357
- sessionId: this.sessionId,
358
- runtimeEventId: candidate.runtimeEventId ?? activeToolResultArchiveKey(candidate),
359
- }));
360
- },
361
- });
362
- if (hasActiveToolResultPruneDiagnosticPatch(rewritten.diagnosticPatch)) {
363
- onDiagnosticPatch?.(rewritten.diagnosticPatch);
468
+ canReplayHistoryCompactCheckpointForModel(loadedCheckpoint, this.input.connection, this.targetConnectionId, this.input.modelId)) {
469
+ // Raw identity first: a coverage miss keeps the apply-stage path, whose
470
+ // matcher reports the real identity reason (coverage_miss and friends).
471
+ // This gate is only for the case where the raw identity matches but a
472
+ // projection transition committed after the fold changed the effective
473
+ // view the summary (or provider state) was built from (#4845 review).
474
+ const rawIdentityMatch = matchHistoryCompactCheckpointPrefix(loadedCheckpoint, runtimeContext.filter(isHistoryCompactContentEvent));
475
+ if (rawIdentityMatch.reason) {
476
+ nextPolicy = {
477
+ ...nextPolicy,
478
+ historyCompact: { ...nextPolicy.historyCompact, checkpoint: loadedCheckpoint },
479
+ };
480
+ }
481
+ else if (this.checkpointEffectiveCoverageMatches(loadedCheckpoint, effective.events)) {
482
+ nextPolicy = {
483
+ ...nextPolicy,
484
+ historyCompact: { ...nextPolicy.historyCompact, checkpoint: loadedCheckpoint },
485
+ };
486
+ }
487
+ else {
488
+ // Rejecting keeps the stale block from restoring what the transition
489
+ // removed; the next fold re-summarizes (#4845 review).
490
+ diagnosticPatch = mergeContextBudgetDiagnosticPatches(diagnosticPatch, compactionDecisionDiagnosticPatch({
491
+ stage: 'priorReplay',
492
+ sourceKind: 'runtimeEvents',
493
+ decision: 'failedOpen',
494
+ phase: 'pre_turn',
495
+ boundaryKind: 'historyCompact',
496
+ ...(loadedCheckpoint.coverage.effectiveSourceDigest !== undefined
497
+ ? { boundaryIds: [loadedCheckpoint.checkpointId] }
498
+ : {}),
499
+ failOpenReason: 'effective_history_changed',
500
+ }));
364
501
  }
365
- return rewritten.rewritten > 0 ? { messages: rewritten.messages } : undefined;
502
+ }
503
+ return {
504
+ policy: nextPolicy,
505
+ events: effective.events,
506
+ projectionSnapshot: prepared.projectionSnapshot,
507
+ ...(diagnosticPatch ? { diagnosticPatch } : {}),
366
508
  };
367
509
  }
368
510
  /**
369
511
  * Mid-turn capacity compaction eligibility (issue #882 PR 1). Explicit
370
512
  * opt-in via `historyCompact.midTurn.enabled`; requires the checkpoint
371
513
  * writer seams plus the durable turn-ledger read, the persisted head anchor
372
- * for this turn, and a bounded capacity window.
514
+ * for this turn. A model that declares no context window still gets this
515
+ * state: reactive recovery runs off a real provider rejection and needs no
516
+ * window at all.
373
517
  */
374
518
  buildMidTurnCapacityCompactState(input) {
375
519
  const policy = this.input.contextBudget;
@@ -389,43 +533,55 @@ export class AiSdkCompaction {
389
533
  headAnchor.sessionId !== this.sessionId ||
390
534
  headAnchor.turnId !== input.turnId ||
391
535
  headAnchor.role !== 'user' ||
392
- headAnchor.author !== 'user' ||
536
+ (headAnchor.author !== 'user' && headAnchor.author !== 'host') ||
393
537
  !isHistoryCompactContentEvent(headAnchor)) {
394
538
  return undefined;
395
539
  }
396
- const capacity = resolveContextBudgetCapacity(this.input.connection, this.input.modelId, policy);
397
- if (capacity === undefined)
398
- return undefined;
540
+ // Handoff replay is an authenticated predecessor prefix, including the
541
+ // current logical Turn. The live reader remains physical-run scoped.
542
+ const handoff = input.continuation?.sourceTurnId === input.turnId;
399
543
  const priorContentEvents = (input.runtimeContext ?? [])
400
- .filter((event) => event.turnId !== input.turnId)
544
+ .filter((event) => handoff || event.turnId !== input.turnId)
401
545
  .filter(isHistoryCompactContentEvent);
402
- return new MidTurnCapacityCompactState(headAnchor, priorContentEvents, capacity);
546
+ const state = new MidTurnCapacityCompactState(headAnchor, priorContentEvents, input.runtimeContextInvocations ?? [], resolveDeclaredContextWindow(this.input.connection, this.input.modelId));
547
+ // Seed the turn's FIRST request with the last request the provider
548
+ // actually counted, so step 0 is judged by the same real number as every
549
+ // later step. No anchor means no proactive fold on step 0; the provider
550
+ // decides, and its rejection is recovered from.
551
+ const persisted = persistedRequestAnchor(input.runtimeContext ?? [], state.priorInvocations, this.input.modelId, this.targetConnectionId);
552
+ if (persisted) {
553
+ state.baselineTokens = persisted.inputTokens + (persisted.outputTokens ?? 0);
554
+ state.lastAcceptedTotalTokens = state.baselineTokens;
555
+ }
556
+ if (persisted)
557
+ state.replyReserveTokens = replyReserveTokens(persisted.outputTokens);
558
+ return state;
403
559
  }
404
560
  /**
405
- * Request-projection stage for the mid-turn capacity invariant: between
406
- * steps of one turn, estimate the next provider request (last step's real
407
- * usage + a signed char/4 payload delta, tool schemas included) against
408
- * `contextWindow - reserve`; over the high-water, fold a safe completed
409
- * prefix into a durable mid_turn checkpoint and continue the same turn on
410
- * `[compact block, verbatim head anchor]`.
561
+ * Request-projection stage for proactive compaction: before each request of
562
+ * one turn, compare the baseline — the last provider-accepted request's real
563
+ * input plus real output tokens — against the context window the user
564
+ * declared, and over it fold a safe completed prefix into a durable
565
+ * checkpoint, continuing the turn on `[compact block, verbatim head anchor]`.
411
566
  *
412
- * This hook never terminates the turn: every failure fails open with a
413
- * diagnostic and records itself for the final-request estimate owner, which
414
- * re-measures the payload after ALL shaping (including active tool-result
415
- * pruning, which runs later and can still rescue the step) and issues the
416
- * context_budget_exhausted verdict only when the request that would really
417
- * go out exceeds the window. The trigger threshold here is deliberately
418
- * approximate — a missed or spurious trigger is recoverable; the verdict is
419
- * not, so it does not live here.
567
+ * Nothing here estimates whether a request fits: the baseline is the
568
+ * provider's own count, the window is the user's own number, and the part of
569
+ * the next request neither describes (tool results, user text, images
570
+ * appended since) is judged by the provider when the request goes out. This
571
+ * hook never terminates the turn: every failure fails open with a diagnostic
572
+ * and the request is sent; a rejection is recovered by a reactive fold
573
+ * (#4559).
574
+ */
575
+ buildMidTurnCapacityCompactProjection(turnId, state, queue, providerTools, onDiagnosticPatch,
576
+ /**
577
+ * Fired once a compaction is durable and applied — checkpoint persisted and the
578
+ * projection takes over — before the replacement request goes out. The
579
+ * runtime records its apply-time boundary row here; like every system
580
+ * note it must never disturb the compaction, so the call is fail-open.
420
581
  */
421
- buildMidTurnCapacityCompactProjection(turnId, state, queue, providerTools, fallbackActiveTools, systemPromptChars, onDiagnosticPatch, origin, memoryCompactionDecision, onMemoryCompaction, abortSignal) {
582
+ onCompactionApplied, origin, memoryCompactionDecision, onMemoryCompaction, abortSignal) {
422
583
  if (!state)
423
584
  return undefined;
424
- const policy = this.input.contextBudget;
425
- const compactPolicy = policy.historyCompact;
426
- const midTurn = compactPolicy.midTurn;
427
- const charsPerToken = policy.charsPerToken ?? 4;
428
- const reserveTokens = midTurn.reserveTokens ?? 16_384;
429
585
  let acceptedProjection;
430
586
  return async (options) => {
431
587
  const incomingMessages = options.messages;
@@ -433,37 +589,23 @@ export class AiSdkCompaction {
433
589
  projectedMessages =
434
590
  projectHistoricalImageOmissions(projectedMessages ?? incomingMessages, state.omittedImageToolResults) ?? projectedMessages;
435
591
  const keepProjection = () => projectedMessages ? { messages: projectedMessages } : undefined;
436
- // Step 0 is shaped by the pre_turn path; the mid-turn trigger only runs
437
- // between steps, once completed-step usage and events exist.
438
- if (options.stepNumber < 1 || state.exhaustedDetail)
439
- return keepProjection();
440
- // Real usage for the last finished step, read synchronously from the
441
- // SDK's own step results (the same numbers the finish-step chunk
442
- // carries) — no coupling to how far the stream consumer has advanced.
443
- // Baseline = the last request's INPUT tokens only (see the state field
444
- // doc: the payload delta already carries the step's output). The
445
- // adapter fails closed on missing token counts (undefined, #972), and a
446
- // provider can still report a zero input outright — either way a
447
- // non-positive input count is unusable for estimation, so clear the
448
- // baseline and let the estimate fall back to the whole-payload cold
449
- // start instead of "0 + delta".
450
- //
451
- // The usage anchor is only meaningful PAIRED with the payload baseline
452
- // of the request it was reported for (`lastRequestPayloadChars`). A
453
- // successful overflow recovery restructures the request and resets that
454
- // baseline to undefined: the send-global steps view still carries the
455
- // dead attempt's last usage, but anchoring on it against the rejected
456
- // request's chars would under-estimate the retry by the whole previous
457
- // step growth — so a missing baseline forces the whole-payload cold
458
- // start, exactly like a missing usage sample.
459
- const lastStepInputTokens = options.completedSteps.at(-1)?.usage?.inputTokens;
460
- state.lastRequestInputTokens =
461
- state.lastRequestPayloadChars !== undefined &&
462
- lastStepInputTokens !== undefined &&
463
- Number.isFinite(lastStepInputTokens) &&
464
- lastStepInputTokens > 0
465
- ? lastStepInputTokens
466
- : undefined;
592
+ // Baseline = the last accepted request's REAL input tokens plus its REAL
593
+ // output tokens, read synchronously from the SDK's own step results.
594
+ // Everything the model produced last step is re-sent as input this step,
595
+ // so both halves are already in the next request; the only part no
596
+ // number describes yet is what was appended from outside the model,
597
+ // and that part is the provider's to judge. A missing or non-positive
598
+ // input count is no baseline at all — unknown, never zero.
599
+ if (options.completedSteps.length > 0) {
600
+ const lastUsage = options.completedSteps.at(-1)?.usage;
601
+ state.baselineTokens = usageBaselineTokens(lastUsage);
602
+ if (state.baselineTokens !== undefined) {
603
+ state.lastAcceptedTotalTokens = state.baselineTokens;
604
+ state.replyReserveTokens = replyReserveTokens(lastUsage?.outputTokens);
605
+ }
606
+ }
607
+ // Physical step zero may already be mid-Turn after a handoff.
608
+ const phase = state.compactionPhase(options.stepNumber);
467
609
  // A skipped trigger is never silent: every failure-driven skip records a
468
610
  // failedOpen decision.
469
611
  const failOpen = (failOpenReason) => {
@@ -472,7 +614,7 @@ export class AiSdkCompaction {
472
614
  stage: 'activeStep',
473
615
  sourceKind: 'runtimeEvents',
474
616
  decision: 'failedOpen',
475
- phase: 'mid_turn',
617
+ phase,
476
618
  boundaryKind: 'historyCompact',
477
619
  reason: 'context_limit',
478
620
  failOpenReason,
@@ -481,66 +623,51 @@ export class AiSdkCompaction {
481
623
  });
482
624
  return keepProjection();
483
625
  };
484
- // A shaping failure additionally records itself for the final-request
485
- // estimate owner: when the final payload is still over the window, the
486
- // owner turns this step's failure into the terminal detail instead of
487
- // re-entering a shaper that already attempted and failed.
488
- const shapeFailure = (detail, diagnosticReason) => {
489
- state.lastShapeFailure = { stepNumber: options.stepNumber, detail, diagnosticReason };
490
- return failOpen(diagnosticReason);
491
- };
492
- // Trigger estimate: the last request's input tokens plus a SIGNED char/4 delta of
493
- // this step's payload (system prompt + projected messages + active tool
494
- // schemas) against the previous request's measured payload. Measured synchronously from
495
- // the SDK's own projection — no ledger dependency — so a same-turn
496
- // `tool_search` schema expansion or a large tool result both count. This
497
- // position measures BEFORE later shapers (prune) run, so it can
498
- // over-trigger; that is the recoverable direction, and the verdict owner
499
- // re-measures the post-shaping payload.
500
- const measuredMessages = projectedMessages ?? incomingMessages;
501
- const activeToolsForStep = options.activeTools ?? fallbackActiveTools();
502
- const payloadChars = midTurnRequestPayloadChars(measuredMessages, providerTools, activeToolsForStep, systemPromptChars);
503
- const forcedEstimate = state.forcedTriggerEstimate;
504
- state.forcedTriggerEstimate = undefined;
505
- const estimate = forcedEstimate ??
506
- estimateNextRequestTokens({
507
- ...(state.lastRequestInputTokens !== undefined
508
- ? { priorUsageTokens: state.lastRequestInputTokens }
509
- : {}),
510
- appendedChars: payloadChars - (state.lastRequestPayloadChars ?? payloadChars),
511
- charsPerToken,
512
- coldStartChars: payloadChars,
513
- });
514
- if (forcedEstimate === undefined &&
515
- !exceedsHighWater(estimate, state.capacity.tokens, reserveTokens)) {
626
+ // One trigger, one real signal: the baseline plus the room the next reply
627
+ // needs crossed the window the user declared. A cut reply is deliberately
628
+ // not a trigger — see the note on `finishReason: length` in the backend.
629
+ // The next request is at least the baseline, and its reply needs room on
630
+ // top of it. The room is measured from the last reply the model actually
631
+ // wrote, not from the largest one it could write: on a model whose
632
+ // output limit is a large fraction of its window (k3-256k reports
633
+ // 131,072 against 262,144) reserving the limit would fold at half the
634
+ // declared window, while a reply twice the size of the last one is the
635
+ // margin the session's own behaviour supports (#4634).
636
+ const overWindow = state.capacity !== undefined &&
637
+ state.baselineTokens !== undefined &&
638
+ state.baselineTokens + state.replyReserveTokens >= state.capacity;
639
+ if (!overWindow) {
516
640
  return keepProjection();
517
641
  }
642
+ const activeToolsForStep = options.resolveDispatch(options.activeTools).activeTools;
518
643
  // Fold a safe completed prefix of the durable turn ledger into a
519
644
  // replacement projection (validate → persist), shared with the reactive
520
645
  // overflow path. This stage maps the outcome to the request-projection contract:
521
646
  // keep the raw projection on skip/fail, apply the fold on success.
522
647
  const outcome = await this.compactActiveRequestHistory({
523
648
  turnId,
649
+ phase,
524
650
  origin,
525
651
  state,
526
652
  queue,
527
653
  minFlushedSteps: options.stepNumber,
528
- referencePayloadChars: payloadChars,
529
- providerTools,
530
654
  activeToolsForStep,
531
- systemPromptChars,
532
655
  memoryCompactionDecision,
533
656
  onMemoryCompaction,
657
+ onCompactionApplied,
534
658
  abortSignal,
535
659
  });
536
660
  if (outcome.decision === 'fail') {
537
- return shapeFailure(outcome.detail, outcome.diagnosticReason);
661
+ return failOpen(outcome.diagnosticReason);
538
662
  }
663
+ // The fold replaced the request; the baseline described the old one.
664
+ // The next accepted request is the first measurement of the new shape.
665
+ state.baselineTokens = undefined;
539
666
  acceptedProjection = {
540
667
  sourceSignatures: incomingMessages.map(modelMessageSignature),
541
668
  projectedMessages: outcome.replacementMessages,
542
669
  };
543
- state.replacedStepNumber = options.stepNumber;
670
+ state.stepShaping.add('fold');
544
671
  onDiagnosticPatch(buildActiveRequestCompactionDiagnosticPatch({
545
672
  checkpoint: outcome.checkpoint,
546
673
  estimatedTokensBefore: outcome.estimatedTokensBefore,
@@ -556,18 +683,17 @@ export class AiSdkCompaction {
556
683
  * messages — the compaction core shared by the proactive projection stage
557
684
  * (issue #882 PR 1) and the reactive overflow recovery (PR 2). It waits for
558
685
  * the seq-ack durability boundary, reads the ledger, plans the fold, then
559
- * validates (materializable ∧ smaller than the reference request ∧
560
- * replay-admissible) and persists BEFORE returning the replacement, so a
561
- * recovery re-projection never re-injects a covered raw span. It only shapes:
562
- * the pass/terminate verdict and the diagnostic emission are the caller's.
686
+ * validates (materializable ∧ replay-admissible) and persists BEFORE
687
+ * returning the replacement, so a recovery re-projection never re-injects a
688
+ * covered raw span. It only shapes: the pass/terminate verdict and the
689
+ * diagnostic emission are the caller's.
563
690
  */
564
691
  async compactActiveRequestHistory(input) {
565
- const { turnId, state, queue, providerTools, activeToolsForStep, systemPromptChars, abortSignal, } = input;
566
- if (state.malformedSummaryFailure) {
692
+ const { turnId, state, queue, activeToolsForStep, abortSignal } = input;
693
+ if (state.summarizerFailure) {
567
694
  return {
568
695
  decision: 'fail',
569
- detail: state.malformedSummaryFailure,
570
- diagnosticReason: state.malformedSummaryFailure,
696
+ diagnosticReason: state.summarizerFailure,
571
697
  };
572
698
  }
573
699
  const summarizer = this.input.summarizeHistoryCompact;
@@ -584,9 +710,7 @@ export class AiSdkCompaction {
584
710
  const loadTurnRuntimeEvents = this.input.loadTurnRuntimeEvents;
585
711
  const policy = this.input.contextBudget;
586
712
  const compactPolicy = policy.historyCompact;
587
- const midTurn = compactPolicy.midTurn;
588
713
  const charsPerToken = policy.charsPerToken ?? 4;
589
- const reserveTokens = midTurn.reserveTokens ?? 16_384;
590
714
  // Coverage pool = the durable run ledger, read through the injected
591
715
  // seam. Covered events are persisted by construction (no crash window
592
716
  // between checkpoint and source), and their bytes are exactly what a
@@ -614,14 +738,12 @@ export class AiSdkCompaction {
614
738
  if (abortSignal?.aborted) {
615
739
  return {
616
740
  decision: 'fail',
617
- detail: 'no_safe_completed_span',
618
741
  diagnosticReason: 'ledger_wait_aborted',
619
742
  };
620
743
  }
621
744
  if (queue.consumerDetached) {
622
745
  return {
623
746
  decision: 'fail',
624
- detail: 'no_safe_completed_span',
625
747
  diagnosticReason: 'ledger_wait_aborted',
626
748
  };
627
749
  }
@@ -636,30 +758,33 @@ export class AiSdkCompaction {
636
758
  catch {
637
759
  return {
638
760
  decision: 'fail',
639
- detail: 'no_safe_completed_span',
640
761
  diagnosticReason: 'ledger_read_failed',
641
762
  };
642
763
  }
643
764
  const currentTurnEvents = turnLedger
644
765
  .filter((event) => event.turnId === turnId)
645
766
  .filter(isHistoryCompactContentEvent);
646
- // The head anchor is persisted before backend.send() is invoked, so
647
- // its absence is a wiring error, not replication lag — fail open now.
648
- if (!currentTurnEvents.some((event) => event.id === state.headAnchor.id)) {
767
+ const orderedEvents = [...state.priorContentEvents, ...currentTurnEvents];
768
+ // A fresh anchor belongs to the live ledger; after handoff it belongs to
769
+ // the authenticated predecessor prefix. Neither path manufactures it.
770
+ if (!orderedEvents.some((event) => event.id === state.headAnchor.id)) {
649
771
  return {
650
772
  decision: 'fail',
651
- detail: 'no_safe_completed_span',
652
773
  diagnosticReason: 'head_anchor_not_durable',
653
774
  };
654
775
  }
655
- const orderedEvents = [...state.priorContentEvents, ...currentTurnEvents];
656
776
  const memoryDecision = input.memoryCompactionDecision?.();
657
777
  const plan = await planHistoryCompaction({
658
778
  sessionId: this.sessionId,
659
779
  phase: input.phase ?? 'mid_turn',
660
780
  orderedEvents,
661
781
  headAnchor: { runtimeEventId: state.headAnchor.id, turnId },
662
- reserveTailEvents: midTurn.reserveTailEvents ?? 1,
782
+ invocations: state.priorInvocations,
783
+ acceptedRoute: {
784
+ modelId: this.input.modelId,
785
+ ...(this.targetConnectionId !== undefined ? { connectionId: this.targetConnectionId } : {}),
786
+ },
787
+ reserveTailEvents: 1,
663
788
  charsPerToken,
664
789
  now: this.now(),
665
790
  ...(compactPolicy.highWaterName !== undefined
@@ -676,17 +801,22 @@ export class AiSdkCompaction {
676
801
  },
677
802
  }
678
803
  : {}),
804
+ projectEffectiveCoverage: (covered) => this.foldEffectiveModelHistory(covered),
679
805
  summarize: async ({ coveredRuntimeEvents, newlyFoldedRuntimeEvents, previousCheckpoint }) => {
806
+ // Same contract as the standalone path: the planner hands the
807
+ // effective (transition-folded) view to the summarizer and pins its
808
+ // digest, so a summary can never quote a body a durable transition
809
+ // removed (#4845).
680
810
  return await this.summarizeWithFailureCircuit(summarizer, {
681
811
  sessionId: this.sessionId,
682
812
  turnId,
683
- source: { foldedRuntimeEvents: [...coveredRuntimeEvents] },
813
+ ...(input.origin.runId ? { runId: input.origin.runId } : {}),
814
+ source: {
815
+ foldedRuntimeEvents: [...coveredRuntimeEvents],
816
+ invocations: state.priorInvocations,
817
+ },
684
818
  ...(previousCheckpoint ? { previousCheckpoint } : {}),
685
819
  newlyFoldedRuntimeEvents: [...newlyFoldedRuntimeEvents],
686
- inputBudget: {
687
- maxEstimatedTokens: Math.max(1, state.capacity.tokens - reserveTokens),
688
- charsPerToken,
689
- },
690
820
  ...(abortSignal ? { abortSignal } : {}),
691
821
  ...(midTurnTracker ? { providerRequestTracker: midTurnTracker } : {}),
692
822
  });
@@ -694,24 +824,32 @@ export class AiSdkCompaction {
694
824
  });
695
825
  if (plan.decision === 'fail_open') {
696
826
  const diagnosticReason = plan.diagnosticReason ?? plan.reason;
697
- if (isMalformedHistoryCompactSummaryReason(diagnosticReason)) {
698
- state.malformedSummaryFailure = diagnosticReason;
827
+ // Latch only a fail-open the summarizer actually produced. The baseline
828
+ // that fired this trigger survives a fail-open, so without the latch the
829
+ // next step evaluates the same condition and dispatches the same doomed
830
+ // summarizer call: a provider that answers slowly and fails (kimi's HTTP
831
+ // 200 with an error body) produced 15 such calls over 47 minutes before
832
+ // one main request (#4634). The latch covers the whole Turn and only
833
+ // fail-opens; a successful fold spends no part of it (#4559).
834
+ //
835
+ // no_safe_completed_span is not a summarizer failure — no call was made.
836
+ // It describes the event pool at this step, and a pool that has since
837
+ // grown a completed tool pair can present a safe cut, so the next
838
+ // attempt must re-read the ledger rather than inherit this miss (#5790).
839
+ if (plan.reason === 'summarizer_failed') {
840
+ state.summarizerFailure = diagnosticReason;
699
841
  }
700
842
  return {
701
843
  decision: 'fail',
702
- detail: isMalformedHistoryCompactSummaryReason(diagnosticReason)
703
- ? diagnosticReason
704
- : plan.reason,
705
844
  diagnosticReason,
706
845
  };
707
846
  }
708
- // Lifecycle order is validate → persist → apply, where validate =
709
- // materializable ∧ smaller ∧ replay-admissible. Replay applies the
710
- // session's latest checkpoint BEFORE any high-water check, so a
711
- // checkpoint that fails ANY of the three must never be persisted — it
712
- // would poison every later projection even though this step correctly
713
- // refused it.
714
- const replayPlan = buildRuntimeEventModelReplayPlan(plan.replacementEvents, {
847
+ // Lifecycle order is validate → persist → apply, where validate is
848
+ // materializable and replay-admissible. A checkpoint that fails either
849
+ // check must never be persisted because it would poison every later
850
+ // projection.
851
+ const effectiveReplacement = await this.foldEffectiveModelHistory(plan.replacementEvents);
852
+ const replayPlan = buildRuntimeEventModelReplayPlan(effectiveReplacement, {
715
853
  toolActivityTurnIds: collectToolActivityTurnIds(orderedEvents),
716
854
  });
717
855
  if (replayPlan.items.length === 0 ||
@@ -719,35 +857,13 @@ export class AiSdkCompaction {
719
857
  (replayPlan.hasProviderNativeSemantics && !this.canReplayProviderNative(replayPlan))) {
720
858
  return {
721
859
  decision: 'fail',
722
- detail: 'no_safe_completed_span',
723
860
  diagnosticReason: 'replacement_unmaterializable',
724
861
  };
725
862
  }
726
- const replacementMessages = await this.materializeRuntimeReplayPlan(replayPlan, input.origin.imageBudget, plan.checkpoint);
727
- // Apply the shape only when it actually shrinks the request versus the
728
- // reference payload (the incoming request for the proactive hook, the
729
- // request that overflowed for reactive recovery): a materialized
730
- // replacement that is not smaller proves the summarizer's OUTPUT is
731
- // unusable, reported as summarizer_failed via replacement_not_smaller.
732
- const replacedPayloadChars = midTurnRequestPayloadChars(replacementMessages, providerTools, activeToolsForStep, systemPromptChars);
733
- if (replacedPayloadChars >= input.referencePayloadChars) {
734
- return {
735
- decision: 'fail',
736
- detail: 'summarizer_failed',
737
- diagnosticReason: 'replacement_not_smaller',
738
- };
739
- }
740
- // Replay admissibility uses the same complete-prefix capacity gate as
741
- // recovery. Actual payload shrinkage was already checked above because
742
- // only this owner can measure the fully materialized provider request.
743
- const replayFit = evaluateHistoryCompactCheckpointReplay(plan.checkpoint, plan.checkpoint.version === 3 ? plan.replacementEvents : plan.replacementEvents.slice(1), policy?.charsPerToken, policy?.maxHistoryEstimatedTokens);
744
- if (!replayFit.fits) {
745
- return {
746
- decision: 'fail',
747
- detail: 'head_anchor_exceeds_capacity',
748
- diagnosticReason: `replay_rejected_${replayFit.reason}`,
749
- };
750
- }
863
+ const replacementMessages = await this.materializeRuntimeReplayPlan(replayPlan, input.origin.imageBudget, plan.checkpoint, compatibleProviderReasoningReplayEventIds(plan.replacementEvents, state.priorInvocations, this.targetProviderStateIdentity, this.input.modelId, input.origin.runId));
864
+ // Whether the replacement fits is the provider's answer once it goes out;
865
+ // no local measure stands between a materializable fold and dispatch
866
+ // (#4559).
751
867
  // The replacement is valid: durably persist the checkpoint BEFORE
752
868
  // applying the projection — the same order as the pre_turn path. A
753
869
  // persistence failure keeps raw messages and records write_failed.
@@ -757,7 +873,6 @@ export class AiSdkCompaction {
757
873
  catch {
758
874
  return {
759
875
  decision: 'fail',
760
- detail: 'summarizer_failed',
761
876
  diagnosticReason: 'write_failed',
762
877
  };
763
878
  }
@@ -772,8 +887,16 @@ export class AiSdkCompaction {
772
887
  // Memory extraction is fail-open and must never perturb Compaction.
773
888
  }
774
889
  }
775
- state.previousCheckpoint = plan.checkpoint;
776
890
  state.projectionCheckpoint = plan.checkpoint;
891
+ // The boundary is durable the moment the projection takes over: record it
892
+ // now, not at turn settlement, so usage readers ordering measurements
893
+ // against the compaction get the apply time.
894
+ try {
895
+ await input.onCompactionApplied?.();
896
+ }
897
+ catch {
898
+ // The boundary row explains the compaction; losing it must not undo one.
899
+ }
777
900
  return {
778
901
  decision: 'compacted',
779
902
  checkpoint: plan.checkpoint,
@@ -785,43 +908,38 @@ export class AiSdkCompaction {
785
908
  /**
786
909
  * Reactive overflow recovery (issue #882 PR 2): the second line of defense.
787
910
  * When a provider rejects a request with a context-length error, fold the
788
- * durable turn ledger once and resend once — a single compact-and-retry
789
- * latch (pi's `_overflowRecoveryAttempted`). Returns the compacted messages
790
- * to resend, or undefined when recovery is impossible or already spent, in
791
- * which case the caller surfaces the real provider error rather than a
792
- * fabricated success or a synthesized `context_budget_exhausted` (the
793
- * provider — not the runtime — rejected the request). Non-context-length
794
- * errors and turns without the mid-turn seam never reach compaction, so the
795
- * default (no seam) behavior is already better than the old fake end_turn.
911
+ * durable turn ledger and resend — once per step: a step that a fold or an
912
+ * image omission has already reshaped gets no second recovery, so the
913
+ * resend's own rejection is terminal, while a step the provider has since
914
+ * accepted earns a fresh attempt. Returns the compacted messages to resend,
915
+ * or undefined when recovery is impossible or already spent, in which case
916
+ * the caller surfaces the real provider error rather than a fabricated
917
+ * success or a locally synthesized verdict (the provider — not the runtime —
918
+ * rejected the request). Non-context-length errors and turns without the
919
+ * mid-turn seam never reach compaction, so the default (no seam) behavior is
920
+ * already better than the old fake end_turn.
796
921
  */
797
922
  async recoverFromOverflowError(input) {
798
923
  const state = input.midTurnState;
799
- if (input.retryAlreadyUsed || !state)
800
- return undefined;
801
- if (this.modelAdapter.classifyError(input.error) !== 'ContextLength')
924
+ if (!state || state.stepShaping.has('fold') || state.stepShaping.has('omit_images')) {
802
925
  return undefined;
926
+ }
803
927
  const eligibleImages = collectHistoricalImageToolResults(state.priorContentEvents);
804
928
  const imageOmission = omitHistoricalImageToolResults(input.currentMessages, eligibleImages);
805
929
  if (imageOmission.omittedParts > 0) {
806
- state.omittedImageToolResults = new Map([...imageOmission.omittedToolCallIds].flatMap((toolCallId) => {
930
+ state.stepShaping.add('omit_images');
931
+ for (const toolCallId of imageOmission.omittedToolCallIds) {
807
932
  const image = eligibleImages.get(toolCallId);
808
- return image ? [[toolCallId, image]] : [];
809
- }));
810
- state.lastRequestPayloadChars = undefined;
811
- state.lastRequestInputTokens = undefined;
933
+ // Earlier steps' omissions stay omitted: every later request is
934
+ // projected through this map, so losing an entry would put its image
935
+ // back into the very history the provider just rejected.
936
+ if (image)
937
+ state.omittedImageToolResults.set(toolCallId, image);
938
+ }
939
+ state.baselineTokens = undefined;
812
940
  return { messages: imageOmission.messages };
813
941
  }
814
- // The shrink baseline is the request the provider actually rejected. Its
815
- // single owner is the verdict owner's per-request payload measure
816
- // (state.lastRequestPayloadChars), recorded at the end of every
817
- // request-projection run — the attempt-INITIAL messages undercount the rejected
818
- // request by every same-turn tool step, and a baseline anchored there
819
- // refuses folds that genuinely shrink the real request (review P1-1).
820
- // The cold-start fallback only covers a send whose verdict owner never
821
- // ran request projection (defensive; step 0 records the baseline too).
822
- const referencePayloadChars = state.lastRequestPayloadChars ??
823
- midTurnRequestPayloadChars(input.currentMessages, input.providerTools, input.activeTools, input.systemPromptChars);
824
- const phase = input.stepNumber === 0 ? 'pre_turn' : 'mid_turn';
942
+ const phase = state.compactionPhase(input.stepNumber);
825
943
  const outcome = await this.compactActiveRequestHistory({
826
944
  turnId: input.turnId,
827
945
  phase,
@@ -831,12 +949,10 @@ export class AiSdkCompaction {
831
949
  // The stream has ended, so every completed step is already flushed; wait
832
950
  // only for the consumer to drain the durable ledger up to date.
833
951
  minFlushedSteps: state.flushedSteps,
834
- referencePayloadChars,
835
- providerTools: input.providerTools,
836
952
  activeToolsForStep: input.activeTools,
837
- systemPromptChars: input.systemPromptChars,
838
953
  memoryCompactionDecision: input.memoryCompactionDecision,
839
954
  onMemoryCompaction: input.onMemoryCompaction,
955
+ onCompactionApplied: input.onCompactionApplied,
840
956
  abortSignal: input.abortSignal,
841
957
  });
842
958
  if (outcome.decision !== 'compacted') {
@@ -867,161 +983,11 @@ export class AiSdkCompaction {
867
983
  estimatedTokensAfter: outcome.estimatedTokensAfter,
868
984
  reason: 'overflow',
869
985
  }));
870
- // A successful recovery restructures the request, so the rejected
871
- // request's payload measure no longer describes what the retry sends.
872
- // Reset the baseline: the capacity hook's usage anchor is only coherent
873
- // paired with the payload chars of the SAME request, and a missing
874
- // baseline forces the whole-payload cold-start estimate instead of a
875
- // stale pairing against the dead attempt.
876
- state.lastRequestPayloadChars = undefined;
986
+ // The fold replaced the request; the baseline described the rejected one.
987
+ state.stepShaping.add('fold');
988
+ state.baselineTokens = undefined;
877
989
  return { messages: outcome.replacementMessages };
878
990
  }
879
- /**
880
- * The single end-of-pipeline estimate owner for the mid-turn capacity
881
- * invariant. Every request-projection stage only shapes; this wrapper measures the
882
- * FINAL outgoing (messages, tools) payload — the bytes the provider will
883
- * actually see, after capacity compaction, active tool-result pruning, and
884
- * semantic/active-full compaction have all run — and issues the one
885
- * safety-critical verdict:
886
- *
887
- * - estimate = the last request's real INPUT tokens + signed char/4 delta
888
- * against the previous request's measured payload (recorded here on
889
- * every step, including step 0's baseline); the delta already carries
890
- * the step's fresh output, so an output-inclusive baseline would count
891
- * it twice, and an unusable usage sample falls back to the whole-payload
892
- * cold start rather than a zero baseline;
893
- * - over the window with no capacity attempt this step (the approximate
894
- * trigger missed, e.g. growth the trigger under-weighted), force ONE
895
- * capacity re-entry — the verdict must not terminate a turn a shaper can
896
- * still rescue, and one bounded re-entry preserves termination;
897
- * - still over the window → context_budget_exhausted, with the terminal
898
- * detail taken from this step's capacity outcome: a replacement that
899
- * remains too large is head_anchor_exceeds_capacity (the irreducible
900
- * remainder exceeds capacity); a recorded shaping failure keeps its own
901
- * detail and diagnostic reason.
902
- *
903
- * Step 0 is shaped by the pre_turn path. It is still measured here so an
904
- * unshapable first request cannot bypass the capacity invariant.
905
- */
906
- buildMidTurnFinalRequestVerdict(input) {
907
- const { shaped, reentry, state, providerTools, fallbackActiveTools, charsPerToken, systemPromptChars, onDiagnosticPatch, abortController, } = input;
908
- return async (options) => {
909
- let result = await Promise.resolve(shaped(options));
910
- const omissionProjection = projectHistoricalImageOmissions(result?.messages ?? options.messages, state.omittedImageToolResults);
911
- if (omissionProjection) {
912
- result = { ...(result ?? {}), messages: omissionProjection };
913
- }
914
- const finalPayloadChars = () => midTurnRequestPayloadChars(result?.messages ?? options.messages, providerTools, result?.activeTools ?? options.activeTools ?? fallbackActiveTools(), systemPromptChars);
915
- let payloadChars = finalPayloadChars();
916
- if ((options.stepNumber >= 1 || state.capacity.source === 'policy_fallback') &&
917
- !state.exhaustedDetail) {
918
- const estimateFinal = () => estimateNextRequestTokens({
919
- ...(state.lastRequestInputTokens !== undefined
920
- ? { priorUsageTokens: state.lastRequestInputTokens }
921
- : {}),
922
- appendedChars: payloadChars - (state.lastRequestPayloadChars ?? payloadChars),
923
- charsPerToken,
924
- coldStartChars: payloadChars,
925
- });
926
- let estimate = estimateFinal();
927
- const capacityAttemptedThisStep = state.replacedStepNumber === options.stepNumber ||
928
- state.lastShapeFailure?.stepNumber === options.stepNumber;
929
- if (options.stepNumber >= 1 &&
930
- estimate > state.capacity.tokens &&
931
- !capacityAttemptedThisStep) {
932
- // One bounded capacity re-entry: the trigger threshold is
933
- // approximate on purpose (recoverable), so a miss must become a
934
- // rescue attempt before it can become a terminal verdict. Re-run
935
- // only the capacity + prune shapers over the already-shaped
936
- // projection; a second attempt after a same-step failure is
937
- // pointless (the failure was not a trigger miss) and would double
938
- // recorder counters and summarizer calls.
939
- state.forcedTriggerEstimate = estimate;
940
- const reshaped = await Promise.resolve(reentry({
941
- ...options,
942
- messages: result?.messages ?? options.messages,
943
- ...(result?.activeTools ? { activeTools: result.activeTools } : {}),
944
- }));
945
- state.forcedTriggerEstimate = undefined;
946
- if (reshaped) {
947
- result = {
948
- ...(result ?? {}),
949
- ...reshaped,
950
- activeTools: reshaped.activeTools ?? result?.activeTools,
951
- };
952
- }
953
- payloadChars = finalPayloadChars();
954
- estimate = estimateFinal();
955
- }
956
- if (estimate > state.capacity.tokens) {
957
- const failure = state.lastShapeFailure?.stepNumber === options.stepNumber
958
- ? state.lastShapeFailure
959
- : undefined;
960
- const replacedThisStep = state.replacedStepNumber === options.stepNumber;
961
- const detail = replacedThisStep
962
- ? 'head_anchor_exceeds_capacity'
963
- : (failure?.detail ?? 'no_safe_completed_span');
964
- const diagnosticReason = replacedThisStep
965
- ? 'head_anchor_exceeds_capacity'
966
- : (failure?.diagnosticReason ?? 'no_safe_completed_span');
967
- state.exhaustedDetail = detail;
968
- onDiagnosticPatch({
969
- ...compactionDecisionDiagnosticPatch({
970
- stage: 'activeStep',
971
- sourceKind: 'runtimeEvents',
972
- decision: 'unchanged',
973
- phase: 'mid_turn',
974
- boundaryKind: 'historyCompact',
975
- reason: 'context_budget_exhausted',
976
- skippedReasonCounts: { [diagnosticReason]: 1 },
977
- }),
978
- });
979
- abortController?.abort(new Error(`mid-turn context budget exhausted: ${detail}`));
980
- return result;
981
- }
982
- }
983
- state.lastRequestPayloadChars = payloadChars;
984
- return result;
985
- };
986
- }
987
- }
988
- // -- moved helpers (defined in ai-sdk-backend, used only by cache write) -------
989
- function incrementRecord(counts, key) {
990
- counts[key] = (counts[key] ?? 0) + 1;
991
- }
992
- function mergeCountsInto(target, source) {
993
- for (const [key, value] of Object.entries(source ?? {})) {
994
- target[key] = (target[key] ?? 0) + value;
995
- }
996
- }
997
- // -- moved helpers (prepare-step / signature / prune) ------------------------
998
- function activeToolResultArchiveKey(candidate) {
999
- return `active:${candidate.turnId}:${candidate.toolCallId}:${candidate.bodySha256}`;
1000
- }
1001
- /**
1002
- * Tool results from the newest completed step have not crossed the provider
1003
- * boundary yet: projection is invoked immediately before the first request
1004
- * that could show those results to the model. By default active pruning defers
1005
- * the newest step and archives only older completed steps, after the model has
1006
- * had one request in which to consume their exact output.
1007
- *
1008
- * `includeNewestStep` widens eligibility to every completed step, including the
1009
- * newest. The caller sets it when mid-turn capacity compaction is active: the
1010
- * final-payload verdict may need an oversized newest result pruned to a
1011
- * placeholder before declaring exhaustion, and capacity/recovery rebuilds
1012
- * re-materialize raw bodies from the ledger that must be re-archived.
1013
- */
1014
- function collectPrunableCompletedStepToolCallIds(steps, includeNewestStep) {
1015
- const out = new Set();
1016
- const prunableSteps = includeNewestStep ? steps : steps.slice(0, -1);
1017
- for (const step of prunableSteps) {
1018
- for (const call of step.toolCalls ?? []) {
1019
- if (typeof call.toolCallId === 'string' && call.toolCallId.length > 0) {
1020
- out.add(call.toolCallId);
1021
- }
1022
- }
1023
- }
1024
- return out;
1025
991
  }
1026
992
  function projectHistoricalImageOmissions(messages, omittedImageToolResults) {
1027
993
  if (omittedImageToolResults.size === 0)
@@ -1044,9 +1010,6 @@ function projectAcceptedMidTurnCompactionMessages(incomingMessages, acceptedProj
1044
1010
  ...incomingMessages.slice(acceptedProjection.sourceSignatures.length),
1045
1011
  ];
1046
1012
  }
1047
- function sha256(text) {
1048
- return createHash('sha256').update(text).digest('hex');
1049
- }
1050
1013
  function modelMessageSignature(message) {
1051
1014
  return sha256(stableStringifyForSignature(message));
1052
1015
  }
@@ -1063,13 +1026,6 @@ function stableStringifyForSignature(value) {
1063
1026
  .map((key) => `${JSON.stringify(key)}:${stableStringifyForSignature(object[key])}`)
1064
1027
  .join(',')}}`;
1065
1028
  }
1066
- export function hasActiveToolResultPruneDiagnosticPatch(patch) {
1067
- return ((patch.activePrunedToolResults ?? 0) > 0 ||
1068
- (patch.activeSupersededToolResults ?? 0) > 0 ||
1069
- (patch.activeDuplicateToolResults ?? 0) > 0 ||
1070
- (patch.activeArchiveFailures ?? 0) > 0 ||
1071
- (patch.activeEstimatedTokensSaved ?? 0) > 0);
1072
- }
1073
1029
  /**
1074
1030
  * Per-send() state for the mid-turn capacity invariant. The coverage pool is
1075
1031
  * NOT mirrored here: every trigger reads the current turn's persisted
@@ -1080,35 +1036,45 @@ export function hasActiveToolResultPruneDiagnosticPatch(patch) {
1080
1036
  export class MidTurnCapacityCompactState {
1081
1037
  headAnchor;
1082
1038
  priorContentEvents;
1039
+ priorInvocations;
1083
1040
  capacity;
1084
1041
  /**
1085
- * Raw serialized chars of the final provider request. Overflow recovery
1086
- * uses this as its shrink-reference baseline because it must compare the
1087
- * actual rejected projection with a candidate replacement.
1042
+ * The last provider-accepted request's real input tokens plus its real
1043
+ * output tokens, as the provider counted them — everything already in the
1044
+ * next request that a number describes. Seeded from the previous turn's
1045
+ * persisted anchor, refreshed at every step boundary, and cleared by any
1046
+ * fold (the checkpoint changed the request; the next accepted one is the
1047
+ * first measurement). Undefined is "no baseline", never zero.
1088
1048
  */
1089
- lastRequestPayloadChars;
1049
+ baselineTokens;
1090
1050
  /**
1091
- * The last request's REAL input size: the inputTokens the provider reported
1092
- * for the last finished step. Never input+output — the signed payload delta
1093
- * already carries the step's freshly generated output (assistant text/tool
1094
- * calls) and its tool results, so an output-inclusive baseline would count
1095
- * them twice. Undefined when the last step's usage is missing or unusable
1096
- * (no positive input count); estimates then fall back to the whole-payload
1097
- * cold-start path — an unusable sample is unknown, never zero.
1051
+ * Input plus output of the last request the provider accepted, as it
1052
+ * counted them. Unlike `baselineTokens` it survives a fold: it is not a
1053
+ * trigger input but the number a rejected user can declare as their window,
1054
+ * proven to fit because the provider already accepted it (#4559).
1098
1055
  */
1099
- lastRequestInputTokens;
1100
- /** Latest durable checkpoint (loaded or written) for roll-forward summaries. */
1101
- previousCheckpoint;
1056
+ lastAcceptedTotalTokens;
1057
+ /**
1058
+ * Room the next reply may need: the model's declared output limit when the
1059
+ * connection or metadata states one, else 0. A provider fact, never an
1060
+ * estimate; it lets the trigger fire before a request that would otherwise
1061
+ * be accepted but leave the reply no room (#4559).
1062
+ */
1063
+ replyReserveTokens = 0;
1064
+ /** Pre-turn checkpoint the turn starts from, before any fold of its own. */
1065
+ seedCheckpoint;
1102
1066
  /** Checkpoint accepted during this send; pins every later durable projection. */
1103
1067
  projectionCheckpoint;
1104
- /** Set when the turn must end with a context_budget_exhausted outcome. */
1105
- exhaustedDetail;
1068
+ /** Latest durable checkpoint (loaded or written) for roll-forward summaries. */
1069
+ get previousCheckpoint() {
1070
+ return this.projectionCheckpoint ?? this.seedCheckpoint;
1071
+ }
1106
1072
  /**
1107
- * Step whose request the capacity hook replaced. Semantic/active-full
1108
- * compaction yields on that exact step so one step never runs two
1109
- * summarizers or double-projects.
1073
+ * What has reshaped the request since the last one a provider accepted. The
1074
+ * turn clears it at that acceptance; overflow recovery reads it so a request
1075
+ * that was already folded or stripped of images is not reshaped again.
1110
1076
  */
1111
- replacedStepNumber;
1077
+ stepShaping = new Set();
1112
1078
  /**
1113
1079
  * finish-step boundaries the event pump has flushed into the session-event
1114
1080
  * queue. The capacity hook's durability wait needs it: only after the pump
@@ -1116,46 +1082,146 @@ export class MidTurnCapacityCompactState {
1116
1082
  * events enqueued at all.
1117
1083
  */
1118
1084
  flushedSteps = 0;
1119
- /**
1120
- * Set by the final-request estimate owner to force one capacity re-entry on
1121
- * the current step, bypassing the (deliberately approximate) high-water
1122
- * trigger. Consumed by the capacity hook on its next invocation.
1123
- */
1124
- forcedTriggerEstimate;
1125
1085
  /** Exact historical image results omitted after a provider overflow. */
1126
1086
  omittedImageToolResults = new Map();
1127
1087
  /**
1128
- * The capacity hook's most recent shaping failure. The owner reads it (for
1129
- * the same step only) to pick the terminal detail and diagnostic reason
1130
- * when the final payload is over the window, and to avoid re-entering a
1131
- * shaper that already attempted and failed this step.
1088
+ * One bounded retry budget for the whole Turn, spent only by a failure the
1089
+ * summarizer actually produced (#4634). A structural miss like
1090
+ * no_safe_completed_span never reaches it: the pool may grow a safe cut, so
1091
+ * the next attempt re-reads the ledger instead of short-circuiting (#5790).
1092
+ */
1093
+ summarizerFailure;
1094
+ constructor(headAnchor, priorContentEvents, priorInvocations,
1095
+ /**
1096
+ * The Maka window: the context window the USER declared for this model,
1097
+ * a compaction target and nothing else. Absent when none is declared,
1098
+ * and then no proactive fold ever runs — the provider decides (#4559).
1132
1099
  */
1133
- lastShapeFailure;
1134
- /** Malformed summaries spend one bounded repair budget for this whole Turn. */
1135
- malformedSummaryFailure;
1136
- constructor(headAnchor, priorContentEvents, capacity) {
1100
+ capacity) {
1137
1101
  this.headAnchor = headAnchor;
1138
1102
  this.priorContentEvents = priorContentEvents;
1103
+ this.priorInvocations = priorInvocations;
1139
1104
  this.capacity = capacity;
1140
1105
  }
1106
+ compactionPhase(stepNumber) {
1107
+ return stepNumber === 0 &&
1108
+ !this.priorContentEvents.some((event) => event.id === this.headAnchor.id)
1109
+ ? 'pre_turn'
1110
+ : 'mid_turn';
1111
+ }
1141
1112
  }
1142
1113
  /**
1143
- * Char measure of the FULL provider-visible request input: the system prompt
1144
- * (sent through the separate `system` field), the (projected) messages, and
1145
- * the serialized schemas of the active tool subset. The capacity trigger and
1146
- * the final-request estimate owner both measure with this ONE function, so
1147
- * their raw payload comparisons against `lastRequestPayloadChars` are
1148
- * commensurable and
1149
- * same-turn tool-schema growth (a `tool_search` activation) is counted like
1150
- * any other payload growth. The system prompt is constant between adjacent
1151
- * requests — signed deltas cancel it — but the cold-start estimate (no usable
1152
- * usage sample) is the whole payload, so omitting it would under-estimate by
1153
- * exactly the system prompt and let an over-window request stream.
1114
+ * The baseline one accepted request leaves for the next: its real input plus
1115
+ * its real output tokens. Output is counted whole, reasoning included — a wire
1116
+ * that does not resend reasoning makes this err high, and high is the safe
1117
+ * direction for a trigger that can only ask for a compaction (#4559).
1154
1118
  */
1155
- function midTurnRequestPayloadChars(messages, providerTools, activeTools, systemPromptChars) {
1156
- return (Math.max(0, Math.floor(systemPromptChars)) +
1157
- JSON.stringify(messages).length +
1158
- toolSchemaCharsForDiagnostics(providerTools, activeTools));
1119
+ /**
1120
+ * Room to leave for the next reply, from the size of the last real one.
1121
+ *
1122
+ * Two real numbers and one bound: twice the last reply absorbs an answer that
1123
+ * grows, and the cap keeps a single long reply from turning the reserve into
1124
+ * the window. No previous reply means no reserve, never a guessed one.
1125
+ */
1126
+ const MAX_REPLY_RESERVE_TOKENS = 8_000;
1127
+ function replyReserveTokens(lastReplyTokens) {
1128
+ if (lastReplyTokens === undefined || !Number.isFinite(lastReplyTokens) || lastReplyTokens <= 0) {
1129
+ return 0;
1130
+ }
1131
+ return Math.min(lastReplyTokens * 2, MAX_REPLY_RESERVE_TOKENS);
1132
+ }
1133
+ function usageBaselineTokens(usage) {
1134
+ if (!usage)
1135
+ return undefined;
1136
+ const input = usage.inputTokens;
1137
+ if (!Number.isFinite(input) || input <= 0)
1138
+ return undefined;
1139
+ const output = Number.isFinite(usage.outputTokens) ? Math.max(0, usage.outputTokens) : 0;
1140
+ return input + output;
1141
+ }
1142
+ /**
1143
+ * The newest `LastRequestAnchor` persisted in the prior context.
1144
+ *
1145
+ * Reverse scan, and the FIRST anchor-bearing usage record decides — an older
1146
+ * anchor describes a request further from the one about to go out, so a
1147
+ * rejected newest anchor means cold start, never a fallback to an older one.
1148
+ * The synthetic `token_usage` a manual `/compact` writes carries no anchor and
1149
+ * is skipped for free.
1150
+ *
1151
+ * The anchor is a token count in the anchoring model's tokenizer, so it only
1152
+ * transfers to a request going to the same model over the same connection.
1153
+ */
1154
+ function persistedRequestAnchor(events, invocations, modelId, connectionId) {
1155
+ // The newest anchored usage row is the candidate — but a send that compacted
1156
+ // mid-turn and never completed another request settles its usage row AFTER
1157
+ // the compaction notes while the anchor still describes the pre-compaction
1158
+ // request (#5547). Position alone cannot order that pair, so the scan holds
1159
+ // the candidate and lets a boundary row behind it supersede by event time.
1160
+ let pending;
1161
+ for (let index = events.length - 1; index >= 0; index -= 1) {
1162
+ const event = events[index];
1163
+ const anchor = event?.actions?.tokenUsage?.lastRequestAnchor;
1164
+ if (anchor) {
1165
+ // A second anchored row settles the candidate: under ordered writes every
1166
+ // boundary behind it is strictly older than the candidate's completion.
1167
+ if (pending)
1168
+ return pending.anchor;
1169
+ const route = invocations.find((candidate) => candidate.runId === event?.runId)?.opening
1170
+ .route;
1171
+ if (route?.provenance !== 'runtime' ||
1172
+ route.backendKind === 'plugin-executor' ||
1173
+ route.modelId !== modelId ||
1174
+ route.llmConnectionId !== connectionId) {
1175
+ return undefined;
1176
+ }
1177
+ pending = { anchor, completedAt: anchor.completedAt };
1178
+ continue;
1179
+ }
1180
+ const note = event?.content?.kind === 'system_note' ? event.content.note : undefined;
1181
+ if (note === 'context_compaction_applied' || note === 'context_compacted') {
1182
+ // A boundary behind the candidate is strictly older under ordered
1183
+ // writes — unless the candidate's completion itself predates the compaction.
1184
+ if (!pending)
1185
+ return undefined;
1186
+ const boundaryAt = note === 'context_compacted'
1187
+ ? // The display row lands at settlement — after every request of
1188
+ // its turn — so its own row time would supersede even an anchor
1189
+ // that completed after the compaction. The compaction recorded its real
1190
+ // boundary at apply time earlier in the same turn; only when no
1191
+ // such row exists is the note's own time all there is.
1192
+ (compactionAppliedAtBefore(events, index, event.turnId) ?? event.ts)
1193
+ : event.ts;
1194
+ return pending.completedAt !== undefined &&
1195
+ boundaryAt !== undefined &&
1196
+ boundaryAt >= pending.completedAt
1197
+ ? undefined
1198
+ : pending.anchor;
1199
+ }
1200
+ }
1201
+ return pending?.anchor;
1202
+ }
1203
+ /**
1204
+ * The apply-time boundary a settlement `context_compacted` row describes:
1205
+ * the same turn's `context_compaction_applied` note. Between the compaction's
1206
+ * apply row and its display row sit only that turn's post-compaction output —
1207
+ * the turn's own usage row lands after the note — so the first relevant
1208
+ * row behind the note is the matching apply row when one was recorded. A
1209
+ * usage row, another display note, a different turn's apply row, or the
1210
+ * head of the log all mean the note's own write time is all there is.
1211
+ */
1212
+ function compactionAppliedAtBefore(events, noteIndex, turnId) {
1213
+ for (let index = noteIndex - 1; index >= 0; index -= 1) {
1214
+ const event = events[index];
1215
+ if (event?.actions?.tokenUsage !== undefined)
1216
+ return undefined;
1217
+ const note = event?.content?.kind === 'system_note' ? event.content.note : undefined;
1218
+ if (note === 'context_compaction_applied') {
1219
+ return event?.turnId === turnId ? event.ts : undefined;
1220
+ }
1221
+ if (note === 'context_compacted')
1222
+ return undefined;
1223
+ }
1224
+ return undefined;
1159
1225
  }
1160
1226
  /**
1161
1227
  * The `decision: 'replaced'` diagnostic patch for a durable active-send fold,