maka-agent 0.2.0-dev.5.20260830 → 0.2.0-dev.50.20260925

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 (2556) hide show
  1. package/DISCLAIMER-WIP +6 -1
  2. package/LICENSE +290 -9
  3. package/README.md +50 -20
  4. package/README.zh-CN.md +39 -19
  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 +482 -263
  8. package/dist/acp/active-promise.js +38 -0
  9. package/dist/acp/maka-acp-agent.js +88 -7
  10. package/dist/acp/prompt-content.js +225 -0
  11. package/dist/acp/session-configuration.js +143 -0
  12. package/dist/acp/session-event-mapper.js +205 -0
  13. package/dist/acp/session-interactions.js +550 -0
  14. package/dist/acp/session-mcp.js +361 -0
  15. package/dist/acp/session-registry.js +1970 -0
  16. package/dist/acp/stdio-server.js +32 -1
  17. package/dist/acp/tool-event-mapper.js +424 -0
  18. package/dist/acp/turn-observation.js +260 -0
  19. package/dist/activation-command.js +1 -2
  20. package/dist/bounded-chunk-buffer.js +16 -3
  21. package/dist/cli-core.js +98 -102
  22. package/dist/cli-ui-locale.js +7 -2
  23. package/dist/mcp-capability-provider.js +21 -12
  24. package/dist/mcp-capability-publication.js +155 -0
  25. package/dist/onboarding-catalog.js +23 -8
  26. package/dist/pi-transcript-tools.js +17 -5
  27. package/dist/pi-transcript.js +77 -31
  28. package/dist/pi-tui-form-interaction.js +497 -0
  29. package/dist/pi-tui-layout.js +101 -24
  30. package/dist/pi-tui-mcp-status.js +122 -124
  31. package/dist/pi-tui-pickers.js +588 -103
  32. package/dist/pi-tui-runner.js +1096 -250
  33. package/dist/pi-tui-todo.js +221 -0
  34. package/dist/pi-tui-transcript-viewer.js +134 -7
  35. package/dist/run-command-core.js +6 -14
  36. package/dist/runtime-host-access-command.js +37 -4
  37. package/dist/runtime-host-capability-provider-command.js +41 -8
  38. package/dist/runtime-host-cli-context.js +300 -80
  39. package/dist/runtime-host-cli-installation.js +8 -2
  40. package/dist/runtime-host-cli.js +360 -64
  41. package/dist/runtime-host-handoff-surface.js +108 -0
  42. package/dist/runtime-host-help.js +244 -0
  43. package/dist/runtime-host-installed-update-activator.js +70 -33
  44. package/dist/runtime-host-installed-update-bootstrap.js +16 -1
  45. package/dist/runtime-host-installed-update-coordinator.js +44 -96
  46. package/dist/runtime-host-lifecycle-transaction.js +101 -28
  47. package/dist/runtime-host-local-handoff.js +215 -41
  48. package/dist/runtime-host-local-managed-activation.js +84 -0
  49. package/dist/runtime-host-local-source-retirement.js +119 -0
  50. package/dist/runtime-host-local-target-activation.js +141 -0
  51. package/dist/runtime-host-managed-deployment.js +158 -51
  52. package/dist/runtime-host-managed-lifecycle-manager.js +5 -6
  53. package/dist/runtime-host-onboarding.js +363 -23
  54. package/dist/runtime-host-openrc-service.js +469 -0
  55. package/dist/runtime-host-operator-retirement.js +50 -0
  56. package/dist/runtime-host-package-deployment.js +36 -2
  57. package/dist/runtime-host-peer-artifact.js +3 -3
  58. package/dist/runtime-host-peer-management-command.js +30 -12
  59. package/dist/runtime-host-peer-mesh-management-command.js +1 -1
  60. package/dist/runtime-host-plugin-command.js +101 -0
  61. package/dist/runtime-host-profile-command.js +1 -1
  62. package/dist/runtime-host-run-command.js +50 -61
  63. package/dist/runtime-host-service-command.js +3 -3
  64. package/dist/runtime-host-service-management-command.js +67 -17
  65. package/dist/runtime-host-service-manager.js +30 -11
  66. package/dist/runtime-host-session-channel.js +278 -28
  67. package/dist/runtime-host-session-driver.js +93 -53
  68. package/dist/runtime-host-session-update.js +62 -0
  69. package/dist/runtime-host-setup-command.js +72 -52
  70. package/dist/runtime-host-task-readiness.js +2 -3
  71. package/dist/runtime-host-tui-command.js +63 -82
  72. package/dist/runtime-host-tui-context.js +74 -11
  73. package/dist/runtime-host-tui-owner.js +226 -0
  74. package/dist/runtime-host-update-command.js +165 -70
  75. package/dist/runtime-host-update-discovery.js +1 -0
  76. package/dist/runtime-host-update-reconciliation.js +7 -7
  77. package/dist/runtime-host-windows-service.js +166 -0
  78. package/dist/runtime-host-windows-task-launcher-artifact.js +75 -0
  79. package/dist/session-export-command.js +72 -0
  80. package/dist/session-import-command.js +69 -0
  81. package/dist/tui-autocomplete-layout.js +3 -1
  82. package/dist/tui-clipboard.js +86 -0
  83. package/dist/tui-context-refresh.js +92 -0
  84. package/dist/tui-copy-catalog.js +1054 -14
  85. package/dist/tui-copy-command.js +103 -0
  86. package/dist/tui-editor-render.js +36 -0
  87. package/dist/tui-host-owner-copy.js +24 -0
  88. package/dist/tui-mcp-control.js +151 -120
  89. package/dist/tui-mcp-remote-publication.js +395 -0
  90. package/native/runtime-host-peer/prebuilds/darwin-arm64/maka_runtime_host_peer.node +0 -0
  91. package/native/runtime-host-peer/prebuilds/linux-arm64/maka_runtime_host_peer.node +0 -0
  92. package/native/runtime-host-peer/prebuilds/linux-x64/maka_runtime_host_peer.node +0 -0
  93. package/native/runtime-host-peer/prebuilds/win32-x64/maka_runtime_host_peer.node +0 -0
  94. package/native/runtime-host-windows-task-launcher/prebuilds/win32-x64/maka-runtime-host-task-launcher.exe +0 -0
  95. package/node_modules/@ai-sdk/anthropic/CHANGELOG.md +117 -0
  96. package/node_modules/@ai-sdk/anthropic/dist/index.js +937 -411
  97. package/node_modules/@ai-sdk/anthropic/dist/internal/index.js +335 -160
  98. package/node_modules/@ai-sdk/anthropic/docs/05-anthropic.mdx +132 -43
  99. package/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
  100. package/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/package.json +63 -0
  101. package/node_modules/@ai-sdk/anthropic/package.json +6 -6
  102. package/node_modules/@ai-sdk/cohere/CHANGELOG.md +105 -0
  103. package/node_modules/@ai-sdk/cohere/dist/index.js +20 -22
  104. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
  105. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/README.md +1 -0
  106. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/dist/index.js +426 -0
  107. package/node_modules/@ai-sdk/cohere/node_modules/@ai-sdk/provider/package.json +63 -0
  108. package/node_modules/@ai-sdk/cohere/package.json +6 -6
  109. package/node_modules/@ai-sdk/google/CHANGELOG.md +176 -0
  110. package/node_modules/@ai-sdk/google/dist/index.js +4441 -2801
  111. package/node_modules/@ai-sdk/google/dist/internal/index.js +640 -177
  112. package/node_modules/@ai-sdk/google/docs/15-google.mdx +225 -97
  113. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
  114. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/README.md +1 -0
  115. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/dist/index.js +426 -0
  116. package/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/package.json +63 -0
  117. package/node_modules/@ai-sdk/google/package.json +6 -6
  118. package/node_modules/@ai-sdk/open-responses/CHANGELOG.md +81 -0
  119. package/node_modules/@ai-sdk/open-responses/dist/index.js +570 -22
  120. package/node_modules/@ai-sdk/open-responses/docs/06-open-responses.mdx +123 -2
  121. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/CHANGELOG.md +38 -0
  122. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider/package.json +1 -1
  123. package/node_modules/@ai-sdk/open-responses/package.json +3 -3
  124. package/node_modules/@ai-sdk/openai/CHANGELOG.md +184 -0
  125. package/node_modules/@ai-sdk/openai/dist/index.js +2013 -736
  126. package/node_modules/@ai-sdk/openai/dist/internal/index.js +1377 -478
  127. package/node_modules/@ai-sdk/openai/docs/03-openai.mdx +208 -52
  128. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
  129. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/LICENSE +13 -0
  130. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/README.md +1 -0
  131. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/dist/index.js +426 -0
  132. package/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/package.json +63 -0
  133. package/node_modules/@ai-sdk/openai/package.json +6 -6
  134. package/node_modules/@ai-sdk/openai-compatible/CHANGELOG.md +126 -0
  135. package/node_modules/@ai-sdk/openai-compatible/dist/index.js +105 -20
  136. package/node_modules/@ai-sdk/openai-compatible/dist/internal/index.js +9 -0
  137. package/node_modules/@ai-sdk/openai-compatible/docs/index.mdx +78 -0
  138. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
  139. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/README.md +1 -0
  140. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/dist/index.js +426 -0
  141. package/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/package.json +63 -0
  142. package/node_modules/@ai-sdk/openai-compatible/package.json +6 -6
  143. package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +92 -0
  144. package/node_modules/@ai-sdk/provider-utils/dist/index.js +664 -168
  145. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
  146. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/LICENSE +13 -0
  147. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/README.md +1 -0
  148. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.js +426 -0
  149. package/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +63 -0
  150. package/node_modules/@ai-sdk/provider-utils/package.json +5 -5
  151. package/node_modules/@earendil-works/pi-tui/README.md +53 -4
  152. package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js +202 -42
  153. package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +36 -3
  154. package/node_modules/@earendil-works/pi-tui/dist/components/box.js +29 -0
  155. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +107 -22
  156. package/node_modules/@earendil-works/pi-tui/dist/components/input.js +44 -5
  157. package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +10 -3
  158. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +9 -4
  159. package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.js +21 -0
  160. package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.js +8 -2
  161. package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js +49 -2
  162. package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +79 -9
  163. package/node_modules/@earendil-works/pi-tui/dist/components/text.js +5 -4
  164. package/node_modules/@earendil-works/pi-tui/dist/index.js +2 -1
  165. package/node_modules/@earendil-works/pi-tui/dist/keybindings.js +2 -2
  166. package/node_modules/@earendil-works/pi-tui/dist/latex.js +14 -0
  167. package/node_modules/@earendil-works/pi-tui/dist/layout.js +32 -9
  168. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +2 -8
  169. package/node_modules/@earendil-works/pi-tui/dist/native-module-path.js +19 -0
  170. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +38 -6
  171. package/node_modules/@earendil-works/pi-tui/dist/terminal.js +21 -14
  172. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +405 -57
  173. package/node_modules/@earendil-works/pi-tui/dist/tui-main-screen.js +111 -50
  174. package/node_modules/@earendil-works/pi-tui/dist/tui.js +123 -9
  175. package/node_modules/@earendil-works/pi-tui/dist/utils.js +9 -0
  176. package/node_modules/@earendil-works/pi-tui/package.json +1 -1
  177. package/node_modules/@larksuiteoapi/node-sdk/es/index.js +199 -35
  178. package/node_modules/@larksuiteoapi/node-sdk/lib/index.js +199 -35
  179. package/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
  180. package/node_modules/@maka/acp-executor-plugin/dist/acp-errors.js +26 -0
  181. package/node_modules/@maka/acp-executor-plugin/dist/acp-filesystem.js +103 -0
  182. package/node_modules/@maka/acp-executor-plugin/dist/acp-process.js +119 -0
  183. package/node_modules/@maka/acp-executor-plugin/dist/acp-projection.js +146 -0
  184. package/node_modules/@maka/acp-executor-plugin/dist/index.js +653 -0
  185. package/node_modules/@maka/acp-executor-plugin/dist/plugin.mjs +24446 -0
  186. package/node_modules/@maka/acp-executor-plugin/package.json +15 -0
  187. package/node_modules/@maka/antigravity-acp-plugin/dist/index.js +88 -0
  188. package/node_modules/@maka/antigravity-acp-plugin/dist/model-presentation.js +53 -0
  189. package/node_modules/@maka/antigravity-acp-plugin/dist/plugin.mjs +115 -0
  190. package/node_modules/@maka/antigravity-acp-plugin/package.json +15 -0
  191. package/node_modules/@maka/core/dist/agent-graph-schedule.js +15 -4
  192. package/node_modules/@maka/core/dist/agent-run.js +25 -336
  193. package/node_modules/@maka/core/dist/artifacts.js +33 -23
  194. package/node_modules/@maka/core/dist/attachments.js +100 -1
  195. package/node_modules/@maka/core/dist/bot-events.js +18 -63
  196. package/node_modules/@maka/core/dist/bounded-response.js +71 -0
  197. package/node_modules/@maka/core/dist/canonical-json.js +27 -0
  198. package/node_modules/@maka/core/dist/canonical-runtime-event.js +3 -1
  199. package/node_modules/@maka/core/dist/capabilities.js +35 -0
  200. package/node_modules/@maka/core/dist/chat-model-choice.js +14 -31
  201. package/node_modules/@maka/core/dist/client-capability-grant.js +149 -0
  202. package/node_modules/@maka/core/dist/collaboration.js +12 -0
  203. package/node_modules/@maka/core/dist/computer-use.js +27 -93
  204. package/node_modules/@maka/core/dist/connection-error-copy.js +17 -34
  205. package/node_modules/@maka/core/dist/connection-readiness.js +3 -31
  206. package/node_modules/@maka/core/dist/diagnostic-log.js +18 -7
  207. package/node_modules/@maka/core/dist/display-redaction.js +18 -0
  208. package/node_modules/@maka/core/dist/durable-tool-result-projection.js +126 -0
  209. package/node_modules/@maka/core/dist/events.js +114 -21
  210. package/node_modules/@maka/core/dist/execution-inspect.js +12 -21
  211. package/node_modules/@maka/core/dist/executor-catalog.js +106 -0
  212. package/node_modules/@maka/core/dist/executor-id.js +22 -0
  213. package/node_modules/@maka/core/dist/external-session.js +65 -3
  214. package/node_modules/@maka/core/dist/goal.js +44 -2
  215. package/node_modules/@maka/core/dist/health.js +50 -45
  216. package/node_modules/@maka/core/dist/interaction.js +657 -2
  217. package/node_modules/@maka/core/dist/llm-connections.js +108 -97
  218. package/node_modules/@maka/core/dist/local-memory.js +2 -2
  219. package/node_modules/@maka/core/dist/maka-wordmark.js +23 -0
  220. package/node_modules/@maka/core/dist/mcp.js +4 -1
  221. package/node_modules/@maka/core/dist/model-call-attempt.js +134 -82
  222. package/node_modules/@maka/core/dist/model-call-usage-projection.js +0 -196
  223. package/node_modules/@maka/core/dist/model-catalog.js +194 -337
  224. package/node_modules/@maka/core/dist/model-facts.js +204 -0
  225. package/node_modules/@maka/core/dist/model-failure.js +40 -0
  226. package/node_modules/@maka/core/dist/model-metadata.generated.js +2069 -1878
  227. package/node_modules/@maka/core/dist/model-metadata.js +369 -214
  228. package/node_modules/@maka/core/dist/model-projection-transition.js +145 -0
  229. package/node_modules/@maka/core/dist/model-thinking.js +133 -34
  230. package/node_modules/@maka/core/dist/model-web-search.js +11 -12
  231. package/node_modules/@maka/core/dist/models-dev-projection.js +320 -0
  232. package/node_modules/@maka/core/dist/models-dev-refresh.js +55 -0
  233. package/node_modules/@maka/core/dist/onboarding.js +3 -5
  234. package/node_modules/@maka/core/dist/permission-profile.js +17 -0
  235. package/node_modules/@maka/core/dist/permission.js +0 -1
  236. package/node_modules/@maka/core/dist/provider-auth.js +49 -291
  237. package/node_modules/@maka/core/dist/provider-registry.js +240 -492
  238. package/node_modules/@maka/core/dist/recall.js +1143 -0
  239. package/node_modules/@maka/core/dist/record-schema.js +22 -2
  240. package/node_modules/@maka/core/dist/redaction.js +86 -40
  241. package/node_modules/@maka/core/dist/refresh-read-coordinator.js +62 -0
  242. package/node_modules/@maka/core/dist/relative-time.js +15 -6
  243. package/node_modules/@maka/core/dist/run-composition.js +77 -2
  244. package/node_modules/@maka/core/dist/runtime-boundary.js +182 -66
  245. package/node_modules/@maka/core/dist/runtime-event-store.js +31 -0
  246. package/node_modules/@maka/core/dist/runtime-event.js +270 -12
  247. package/node_modules/@maka/core/dist/runtime-handoff.js +106 -0
  248. package/node_modules/@maka/core/dist/runtime-invocation.js +228 -0
  249. package/node_modules/@maka/core/dist/runtime-logical-execution.js +137 -0
  250. package/node_modules/@maka/core/dist/runtime-policy/connection-catalog-codec.js +247 -74
  251. package/node_modules/@maka/core/dist/runtime-policy/credential-vault-codec.js +15 -1
  252. package/node_modules/@maka/core/dist/runtime-policy/model-catalog-entry-codec.js +106 -0
  253. package/node_modules/@maka/core/dist/runtime-policy/policy-codec.js +139 -4
  254. package/node_modules/@maka/core/dist/runtime-policy.js +7 -3
  255. package/node_modules/@maka/core/dist/scheduled-task.js +12 -2
  256. package/node_modules/@maka/core/dist/session-name.js +2 -3
  257. package/node_modules/@maka/core/dist/session-reference.js +149 -0
  258. package/node_modules/@maka/core/dist/session-send-projection.js +8 -4
  259. package/node_modules/@maka/core/dist/session-start-mode.js +39 -0
  260. package/node_modules/@maka/core/dist/session-todo.js +101 -0
  261. package/node_modules/@maka/core/dist/session-trace.js +5 -1
  262. package/node_modules/@maka/core/dist/session.js +356 -57
  263. package/node_modules/@maka/core/dist/settings.js +50 -12
  264. package/node_modules/@maka/core/dist/shell-run-result.js +1 -0
  265. package/node_modules/@maka/core/dist/shell-run.js +15 -0
  266. package/node_modules/@maka/core/dist/skill-locations.js +29 -0
  267. package/node_modules/@maka/core/dist/slash-command-catalog.js +4 -0
  268. package/node_modules/@maka/core/dist/task-submission-readiness.js +2 -1
  269. package/node_modules/@maka/core/dist/text-sanitize.js +29 -4
  270. package/node_modules/@maka/core/dist/tool-activity-args.js +4 -0
  271. package/node_modules/@maka/core/dist/tool-ledger-scanner.js +365 -104
  272. package/node_modules/@maka/core/dist/tool-quiet-preview.js +53 -26
  273. package/node_modules/@maka/core/dist/tool-result-archive-evidence.js +22 -0
  274. package/node_modules/@maka/core/dist/tool-result-record-schema.js +12 -2
  275. package/node_modules/@maka/core/dist/transcript-search.js +46 -0
  276. package/node_modules/@maka/core/dist/turn-origin.js +14 -0
  277. package/node_modules/@maka/core/dist/ui-locale.js +23 -10
  278. package/node_modules/@maka/core/dist/unified-diff.js +33 -26
  279. package/node_modules/@maka/core/dist/usage-ledger-merge.js +10 -9
  280. package/node_modules/@maka/core/dist/usage-record-schema.js +38 -31
  281. package/node_modules/@maka/core/dist/usage-stats/types.js +3 -0
  282. package/node_modules/@maka/core/dist/work-board.js +94 -1
  283. package/node_modules/@maka/core/dist/workhub-action-result.js +68 -0
  284. package/node_modules/@maka/core/dist/workhub-routing.js +126 -0
  285. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/index.js +2178 -0
  286. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +209 -0
  287. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +162 -0
  288. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/package.json +21 -0
  289. package/node_modules/@maka/core/node_modules/@formatjs/icu-messageformat-parser/printer.js +224 -0
  290. package/node_modules/@maka/core/node_modules/intl-messageformat/intl-messageformat.iife.js +2810 -0
  291. package/node_modules/@maka/core/node_modules/intl-messageformat/package.json +40 -0
  292. package/node_modules/@maka/core/package.json +32 -8
  293. package/node_modules/@maka/eval/dist/experiment-directory.js +4 -13
  294. package/node_modules/@maka/eval/dist/fleet-simulation.js +270 -0
  295. package/node_modules/@maka/eval/dist/fleet-store.js +243 -0
  296. package/node_modules/@maka/eval/dist/fleet-worker.js +125 -0
  297. package/node_modules/@maka/eval/dist/fleet.js +329 -0
  298. package/node_modules/@maka/eval/dist/harbor-external-subject.js +2 -1
  299. package/node_modules/@maka/eval/dist/harbor-maka-subject.js +16 -3
  300. package/node_modules/@maka/eval/dist/harness-executor.js +3 -2
  301. package/node_modules/@maka/eval/dist/index.js +3 -0
  302. package/node_modules/@maka/eval/dist/install-preflight.js +39 -10
  303. package/node_modules/@maka/eval/dist/maka-artifacts.js +28 -14
  304. package/node_modules/@maka/eval/dist/maka-subject.js +35 -3
  305. package/node_modules/@maka/eval/dist/metering-checkpoint.js +4 -4
  306. package/node_modules/@maka/eval/dist/process-termination.js +83 -0
  307. package/node_modules/@maka/eval/dist/toolchain-verification.js +1 -1
  308. package/node_modules/@maka/eval/harbor/egress-proxy/entrypoint.sh +2 -1
  309. package/node_modules/@maka/eval/harbor/relay_agent.py +43 -4
  310. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Client.md +4 -0
  311. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  312. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  313. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
  314. package/node_modules/@maka/eval/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  315. package/node_modules/@maka/eval/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  316. package/node_modules/@maka/eval/node_modules/undici/lib/core/symbols.js +2 -0
  317. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/agent.js +7 -2
  318. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  319. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
  320. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
  321. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/client.js +3 -2
  322. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  323. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  324. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  325. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
  326. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
  327. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  328. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  329. package/node_modules/@maka/eval/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  330. package/node_modules/@maka/eval/node_modules/undici/lib/handler/cache-handler.js +29 -5
  331. package/node_modules/@maka/eval/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  332. package/node_modules/@maka/eval/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  333. package/node_modules/@maka/eval/node_modules/undici/lib/handler/redirect-handler.js +21 -4
  334. package/node_modules/@maka/eval/node_modules/undici/lib/handler/retry-handler.js +148 -30
  335. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/cache.js +65 -12
  336. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/decompress.js +115 -13
  337. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  338. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/dns.js +7 -0
  339. package/node_modules/@maka/eval/node_modules/undici/lib/interceptor/dump.js +10 -23
  340. package/node_modules/@maka/eval/node_modules/undici/lib/mock/mock-agent.js +13 -1
  341. package/node_modules/@maka/eval/node_modules/undici/lib/mock/mock-utils.js +11 -10
  342. package/node_modules/@maka/eval/node_modules/undici/lib/util/cache.js +45 -3
  343. package/node_modules/@maka/eval/node_modules/undici/lib/web/cookies/parse.js +150 -147
  344. package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  345. package/node_modules/@maka/eval/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  346. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/index.js +6 -0
  347. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/request.js +2 -3
  348. package/node_modules/@maka/eval/node_modules/undici/lib/web/fetch/util.js +6 -1
  349. package/node_modules/@maka/eval/node_modules/undici/lib/web/webidl/index.js +3 -3
  350. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/connection.js +1 -1
  351. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  352. package/node_modules/@maka/eval/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  353. package/node_modules/@maka/eval/node_modules/undici/package.json +3 -3
  354. package/node_modules/@maka/eval/package.json +1 -1
  355. package/node_modules/@maka/mcp/dist/credential-coordinator.js +6 -1
  356. package/node_modules/@maka/mcp/dist/form-elicitation.js +213 -0
  357. package/node_modules/@maka/mcp/dist/index.js +517 -72
  358. package/node_modules/@maka/mcp/dist/oauth.js +58 -8
  359. package/node_modules/@maka/mcp/dist/sep-2243.js +3 -3
  360. package/node_modules/@maka/mcp/dist/tool-progress.js +45 -0
  361. package/node_modules/@maka/runtime/dist/agent-graph-timeline.js +12 -11
  362. package/node_modules/@maka/runtime/dist/agent-run-inspect.js +38 -86
  363. package/node_modules/@maka/runtime/dist/agent-run-recovery.js +36 -46
  364. package/node_modules/@maka/runtime/dist/agent-run.js +603 -470
  365. package/node_modules/@maka/runtime/dist/agent-swarm-status-tool.js +0 -1
  366. package/node_modules/@maka/runtime/dist/ai-sdk-backend.js +116 -3753
  367. package/node_modules/@maka/runtime/dist/ai-sdk-compaction-contract.js +6 -1
  368. package/node_modules/@maka/runtime/dist/ai-sdk-compaction.js +500 -546
  369. package/node_modules/@maka/runtime/dist/ai-sdk-message-projection.js +593 -0
  370. package/node_modules/@maka/runtime/dist/ai-sdk-tool-repair.js +115 -0
  371. package/node_modules/@maka/runtime/dist/ai-sdk-turn.js +2558 -0
  372. package/node_modules/@maka/runtime/dist/apply-patch-profile.js +64 -14
  373. package/node_modules/@maka/runtime/dist/ask-user-question-tool.js +0 -1
  374. package/node_modules/@maka/runtime/dist/background-task-health-tool.js +104 -0
  375. package/node_modules/@maka/runtime/dist/bash-model-output.js +7 -1
  376. package/node_modules/@maka/runtime/dist/bash-tail-buffer.js +13 -52
  377. package/node_modules/@maka/runtime/dist/bots/base-adapter.js +17 -0
  378. package/node_modules/@maka/runtime/dist/bots/bot-test.js +40 -23
  379. package/node_modules/@maka/runtime/dist/bots/dingtalk-bridge.js +93 -24
  380. package/node_modules/@maka/runtime/dist/bots/discord-bridge.js +4 -4
  381. package/node_modules/@maka/runtime/dist/bots/feishu-bridge.js +28 -25
  382. package/node_modules/@maka/runtime/dist/bots/qq-bridge.js +6 -4
  383. package/node_modules/@maka/runtime/dist/bots/slack-bridge.js +8 -7
  384. package/node_modules/@maka/runtime/dist/bots/telegram-bridge.js +7 -31
  385. package/node_modules/@maka/runtime/dist/bots/wechat-bridge.js +104 -48
  386. package/node_modules/@maka/runtime/dist/bots/wecom-bridge.js +45 -42
  387. package/node_modules/@maka/runtime/dist/bots/ws-bridge-base.js +2 -3
  388. package/node_modules/@maka/runtime/dist/builtin-tools.js +133 -132
  389. package/node_modules/@maka/runtime/dist/bundled-skill-catalog.generated.js +1 -1
  390. package/node_modules/@maka/runtime/dist/child-fd-input.js +3 -2
  391. package/node_modules/@maka/runtime/dist/code-mode.js +7 -4
  392. package/node_modules/@maka/runtime/dist/codex-v4a-patch.js +18 -0
  393. package/node_modules/@maka/runtime/dist/computer-use-codec.js +1 -141
  394. package/node_modules/@maka/runtime/dist/computer-use-tools.js +27 -106
  395. package/node_modules/@maka/runtime/dist/context-budget-helpers.js +4 -57
  396. package/node_modules/@maka/runtime/dist/context-budget-policy.js +26 -65
  397. package/node_modules/@maka/runtime/dist/context-budget.js +44 -103
  398. package/node_modules/@maka/runtime/dist/context-diagnostics.js +72 -33
  399. package/node_modules/@maka/runtime/dist/continuation-replay.js +25 -12
  400. package/node_modules/@maka/runtime/dist/conversation-copy.js +717 -188
  401. package/node_modules/@maka/runtime/dist/cua-frame-state.js +1 -69
  402. package/node_modules/@maka/runtime/dist/durable-tool-result-projection.js +436 -0
  403. package/node_modules/@maka/runtime/dist/edit-replace.js +2 -2
  404. package/node_modules/@maka/runtime/dist/execution-inspect.js +56 -41
  405. package/node_modules/@maka/runtime/dist/filesystem-executor.js +10 -6
  406. package/node_modules/@maka/runtime/dist/filesystem-worker/client.js +77 -19
  407. package/node_modules/@maka/runtime/dist/filesystem-worker/launch-spec.js +66 -55
  408. package/node_modules/@maka/runtime/dist/filesystem-worker/operations.js +34 -98
  409. package/node_modules/@maka/runtime/dist/filesystem-worker/protocol.js +25 -10
  410. package/node_modules/@maka/runtime/dist/filesystem-worker/worker-entry.js +2 -0
  411. package/node_modules/@maka/runtime/dist/github-copilot-oauth-enrollment.js +267 -0
  412. package/node_modules/@maka/runtime/dist/glob-search.js +74 -0
  413. package/node_modules/@maka/runtime/dist/goal-continuation.js +119 -13
  414. package/node_modules/@maka/runtime/dist/goal-evaluator.js +10 -4
  415. package/node_modules/@maka/runtime/dist/goal-state.js +7 -0
  416. package/node_modules/@maka/runtime/dist/grep-search.js +155 -0
  417. package/node_modules/@maka/runtime/dist/history-compact-checkpoint-coordinator.js +16 -6
  418. package/node_modules/@maka/runtime/dist/history-compact-checkpoint.js +79 -29
  419. package/node_modules/@maka/runtime/dist/history-compact-error.js +10 -2
  420. package/node_modules/@maka/runtime/dist/history-compact-input-fit.js +7 -1
  421. package/node_modules/@maka/runtime/dist/history-compact-ledger.js +18 -18
  422. package/node_modules/@maka/runtime/dist/history-compact-summarizer.js +132 -110
  423. package/node_modules/@maka/runtime/dist/history-compact-summary-validation.js +14 -30
  424. package/node_modules/@maka/runtime/dist/history-compaction.js +103 -89
  425. package/node_modules/@maka/runtime/dist/image-file.js +5 -20
  426. package/node_modules/@maka/runtime/dist/interaction-authority.js +85 -0
  427. package/node_modules/@maka/runtime/dist/latest-context-snapshot.js +112 -23
  428. package/node_modules/@maka/runtime/dist/ledger-tool-result-archive-reader.js +164 -0
  429. package/node_modules/@maka/runtime/dist/local-web-fetch.js +26 -55
  430. package/node_modules/@maka/runtime/dist/mcp-tools.js +102 -37
  431. package/node_modules/@maka/runtime/dist/memory-extraction-evidence.js +7 -1
  432. package/node_modules/@maka/runtime/dist/memory-extraction.js +30 -19
  433. package/node_modules/@maka/runtime/dist/message-authority.js +9 -0
  434. package/node_modules/@maka/runtime/dist/model-adapter.js +266 -188
  435. package/node_modules/@maka/runtime/dist/model-factory.js +101 -135
  436. package/node_modules/@maka/runtime/dist/model-fetcher.js +100 -89
  437. package/node_modules/@maka/runtime/dist/model-history.js +335 -169
  438. package/node_modules/@maka/runtime/dist/model-projection-transition-ledger.js +207 -0
  439. package/node_modules/@maka/runtime/dist/model-runtime.js +89 -113
  440. package/node_modules/@maka/runtime/dist/native-web-search-tool.js +2 -1
  441. package/node_modules/@maka/runtime/dist/oauth-provider-contracts.js +28 -1
  442. package/node_modules/@maka/runtime/dist/openai-apply-patch.js +5 -0
  443. package/node_modules/@maka/runtime/dist/openai-codex-history-compactor.js +28 -74
  444. package/node_modules/@maka/runtime/dist/openai-responses-websocket.js +2 -5
  445. package/node_modules/@maka/runtime/dist/opencode-session-header.js +30 -0
  446. package/node_modules/@maka/runtime/dist/pipe-tail-collector.js +6 -9
  447. package/node_modules/@maka/runtime/dist/plan-mode.js +0 -65
  448. package/node_modules/@maka/runtime/dist/plan-tools.js +0 -3
  449. package/node_modules/@maka/runtime/dist/plugin-agent-service.js +131 -0
  450. package/node_modules/@maka/runtime/dist/plugin-approval-service.js +33 -0
  451. package/node_modules/@maka/runtime/dist/plugin-attachment-service.js +53 -0
  452. package/node_modules/@maka/runtime/dist/plugin-client-bridge-service.js +308 -0
  453. package/node_modules/@maka/runtime/dist/plugin-command-service.js +100 -0
  454. package/node_modules/@maka/runtime/dist/plugin-composition-loader.js +188 -25
  455. package/node_modules/@maka/runtime/dist/plugin-data-services.js +332 -0
  456. package/node_modules/@maka/runtime/dist/plugin-executor-backend.js +430 -0
  457. package/node_modules/@maka/runtime/dist/plugin-executor-service.js +540 -0
  458. package/node_modules/@maka/runtime/dist/plugin-fs-service.js +62 -0
  459. package/node_modules/@maka/runtime/dist/plugin-goal-service.js +61 -0
  460. package/node_modules/@maka/runtime/dist/plugin-invocation-signal.js +24 -0
  461. package/node_modules/@maka/runtime/dist/plugin-llm-service.js +85 -0
  462. package/node_modules/@maka/runtime/dist/plugin-lsp-service.js +94 -0
  463. package/node_modules/@maka/runtime/dist/plugin-runtime.js +239 -10
  464. package/node_modules/@maka/runtime/dist/plugin-scope-registry.js +91 -0
  465. package/node_modules/@maka/runtime/dist/plugin-session-query-service.js +71 -0
  466. package/node_modules/@maka/runtime/dist/plugin-shell-env-service.js +87 -0
  467. package/node_modules/@maka/runtime/dist/plugin-shell-service.js +74 -0
  468. package/node_modules/@maka/runtime/dist/plugin-skill-service.js +93 -0
  469. package/node_modules/@maka/runtime/dist/plugin-system-prompt-service.js +346 -0
  470. package/node_modules/@maka/runtime/dist/plugin-tool-service.js +171 -0
  471. package/node_modules/@maka/runtime/dist/plugin-user-question-service.js +43 -0
  472. package/node_modules/@maka/runtime/dist/plugin-web-service.js +69 -0
  473. package/node_modules/@maka/runtime/dist/prior-run-context.js +24 -94
  474. package/node_modules/@maka/runtime/dist/process-tree-terminator.js +2 -2
  475. package/node_modules/@maka/runtime/dist/prompt-composition.js +36 -31
  476. package/node_modules/@maka/runtime/dist/provider-error-classification.js +114 -155
  477. package/node_modules/@maka/runtime/dist/provider-image-overflow-recovery.js +12 -31
  478. package/node_modules/@maka/runtime/dist/provider-request-telemetry.js +207 -204
  479. package/node_modules/@maka/runtime/dist/pty-screen-collector.js +32 -6
  480. package/node_modules/@maka/runtime/dist/quiescent-session-snapshot.js +78 -0
  481. package/node_modules/@maka/runtime/dist/read-page.js +234 -0
  482. package/node_modules/@maka/runtime/dist/recall-candidates.js +53 -0
  483. package/node_modules/@maka/runtime/dist/recall-tools.js +282 -0
  484. package/node_modules/@maka/runtime/dist/recovery-resolver.js +56 -25
  485. package/node_modules/@maka/runtime/dist/request-customization-fetch.js +14 -7
  486. package/node_modules/@maka/runtime/dist/request-projection.js +2 -15
  487. package/node_modules/@maka/runtime/dist/request-shape.js +187 -365
  488. package/node_modules/@maka/runtime/dist/responses-reasoning-state.js +19 -7
  489. package/node_modules/@maka/runtime/dist/ripgrep-executable.js +62 -0
  490. package/node_modules/@maka/runtime/dist/ripgrep-guidance.js +81 -0
  491. package/node_modules/@maka/runtime/dist/run-handoff-gate.js +97 -0
  492. package/node_modules/@maka/runtime/dist/run-trace.js +2 -34
  493. package/node_modules/@maka/runtime/dist/runtime-continuation-admission.js +1 -1
  494. package/node_modules/@maka/runtime/dist/runtime-event-backfill.js +114 -66
  495. package/node_modules/@maka/runtime/dist/runtime-event-read-model.js +420 -234
  496. package/node_modules/@maka/runtime/dist/runtime-invocation-route.js +49 -0
  497. package/node_modules/@maka/runtime/dist/runtime-kernel.js +575 -357
  498. package/node_modules/@maka/runtime/dist/runtime-ledger-repair.js +235 -450
  499. package/node_modules/@maka/runtime/dist/runtime-read-model.js +94 -200
  500. package/node_modules/@maka/runtime/dist/runtime-resume.js +162 -126
  501. package/node_modules/@maka/runtime/dist/sandbox/index.js +0 -1
  502. package/node_modules/@maka/runtime/dist/sandbox/linux-profile-path.js +7 -1
  503. package/node_modules/@maka/runtime/dist/sandbox/linux-sandbox.js +20 -17
  504. package/node_modules/@maka/runtime/dist/sandbox/macos-seatbelt.js +0 -12
  505. package/node_modules/@maka/runtime/dist/sandbox/sandbox-manager.js +0 -35
  506. package/node_modules/@maka/runtime/dist/sandbox/windows-sandbox.js +0 -12
  507. package/node_modules/@maka/runtime/dist/scheduled-task-tools.js +42 -8
  508. package/node_modules/@maka/runtime/dist/session-event-runtime-mapper.js +67 -20
  509. package/node_modules/@maka/runtime/dist/session-export.js +178 -0
  510. package/node_modules/@maka/runtime/dist/session-import.js +100 -0
  511. package/node_modules/@maka/runtime/dist/session-manager.js +943 -1023
  512. package/node_modules/@maka/runtime/dist/session-projection-helpers.js +16 -28
  513. package/node_modules/@maka/runtime/dist/session-recap.js +90 -17
  514. package/node_modules/@maka/runtime/dist/session-todo-tools.js +67 -0
  515. package/node_modules/@maka/runtime/dist/session-trace-projection.js +25 -30
  516. package/node_modules/@maka/runtime/dist/shell-detect.js +3 -7
  517. package/node_modules/@maka/runtime/dist/shell-exec.js +7 -25
  518. package/node_modules/@maka/runtime/dist/shell-run-contract.js +0 -1
  519. package/node_modules/@maka/runtime/dist/shell-run-manager.js +75 -70
  520. package/node_modules/@maka/runtime/dist/shell-run-tool-result.js +19 -9
  521. package/node_modules/@maka/runtime/dist/shell-tools.js +84 -14
  522. package/node_modules/@maka/runtime/dist/skills-discovery.js +17 -23
  523. package/node_modules/@maka/runtime/dist/stream-graph-coordinator.js +93 -17
  524. package/node_modules/@maka/runtime/dist/stream-graph-handoff.js +6 -1
  525. package/node_modules/@maka/runtime/dist/stream-graph-projection.js +18 -15
  526. package/node_modules/@maka/runtime/dist/stream-graph-read-model.js +5 -0
  527. package/node_modules/@maka/runtime/dist/stream-graph-schedule-reconcile.js +1 -0
  528. package/node_modules/@maka/runtime/dist/stream-graph-supervisor-tools.js +26 -12
  529. package/node_modules/@maka/runtime/dist/stream-usage-fallback-fetch.js +74 -0
  530. package/node_modules/@maka/runtime/dist/subagent-tools.js +77 -90
  531. package/node_modules/@maka/runtime/dist/subscription-credentials.js +51 -4
  532. package/node_modules/@maka/runtime/dist/subscription-model-fetch.js +51 -11
  533. package/node_modules/@maka/runtime/dist/system-prompt/main-session-prompt.js +21 -2
  534. package/node_modules/@maka/runtime/dist/system-prompt/workspace-instructions.js +11 -6
  535. package/node_modules/@maka/runtime/dist/tavily-search.js +8 -2
  536. package/node_modules/@maka/runtime/dist/telemetry/model-pricing.generated.js +299 -215
  537. package/node_modules/@maka/runtime/dist/terminal-run-commit.js +37 -172
  538. package/node_modules/@maka/runtime/dist/test-connection.js +34 -84
  539. package/node_modules/@maka/runtime/dist/text-line-window.js +49 -0
  540. package/node_modules/@maka/runtime/dist/tool-activation-identity.js +41 -0
  541. package/node_modules/@maka/runtime/dist/tool-availability.js +89 -8
  542. package/node_modules/@maka/runtime/dist/tool-output.js +36 -13
  543. package/node_modules/@maka/runtime/dist/tool-result-archive-capability.js +24 -36
  544. package/node_modules/@maka/runtime/dist/tool-result-archive-encoding.js +38 -0
  545. package/node_modules/@maka/runtime/dist/tool-result-archive-resource.js +93 -245
  546. package/node_modules/@maka/runtime/dist/tool-result-archive-transition.js +186 -0
  547. package/node_modules/@maka/runtime/dist/tool-result-archive.js +50 -173
  548. package/node_modules/@maka/runtime/dist/tool-runtime.js +410 -609
  549. package/node_modules/@maka/runtime/dist/unified-diff.js +40 -10
  550. package/node_modules/@maka/runtime/dist/web-fetch-tool.js +4 -2
  551. package/node_modules/@maka/runtime/dist/workers/filesystem-worker.js +13497 -5003
  552. package/node_modules/@maka/runtime/dist/workspace-executor.js +22 -30
  553. package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/LICENSE +13 -0
  554. package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/dist/run-code-mode.js +538 -0
  555. package/node_modules/@maka/runtime/node_modules/@ai-sdk/code-mode/package.json +78 -0
  556. package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/CHANGELOG.md +3269 -0
  557. package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/LICENSE +13 -0
  558. package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/dist/index.js +3835 -0
  559. package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +1610 -0
  560. package/node_modules/@maka/runtime/node_modules/@ai-sdk/gateway/package.json +80 -0
  561. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/CHANGELOG.md +1262 -0
  562. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/LICENSE +13 -0
  563. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/README.md +1 -0
  564. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/dist/index.js +426 -0
  565. package/node_modules/@maka/runtime/node_modules/@ai-sdk/provider/package.json +63 -0
  566. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/README.md +44 -8
  567. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/package.json +4 -4
  568. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +39 -3
  569. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js +4 -0
  570. package/node_modules/@maka/runtime/node_modules/@slack/socket-mode/package.json +4 -4
  571. package/node_modules/@maka/runtime/node_modules/ai/CHANGELOG.md +10271 -0
  572. package/node_modules/@maka/runtime/node_modules/ai/LICENSE +13 -0
  573. package/node_modules/@maka/runtime/node_modules/ai/dist/index.js +20146 -0
  574. package/node_modules/@maka/runtime/node_modules/ai/dist/internal/index.js +3690 -0
  575. package/node_modules/@maka/runtime/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +185 -0
  576. package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/04-loop-control.mdx +517 -0
  577. package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/06-policy-tool-approvals.mdx +413 -0
  578. package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/06-tool-approvals.mdx +338 -0
  579. package/node_modules/@maka/runtime/node_modules/ai/docs/03-agents/07-workflow-agent.mdx +815 -0
  580. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +525 -0
  581. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +1512 -0
  582. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +680 -0
  583. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +371 -0
  584. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +333 -0
  585. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +163 -0
  586. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/39-file-uploads.mdx +180 -0
  587. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/42-batch.mdx +372 -0
  588. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +241 -0
  589. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +855 -0
  590. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-core/index.mdx +137 -0
  591. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +683 -0
  592. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-harnesses/04-skills.mdx +69 -0
  593. package/node_modules/@maka/runtime/node_modules/ai/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +47 -0
  594. package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +826 -0
  595. package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +406 -0
  596. package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +216 -0
  597. package/node_modules/@maka/runtime/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +582 -0
  598. package/node_modules/@maka/runtime/node_modules/ai/docs/06-advanced/04-caching.mdx +182 -0
  599. package/node_modules/@maka/runtime/node_modules/ai/docs/06-advanced/11-secure-url-fetching.mdx +117 -0
  600. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +3267 -0
  601. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +4303 -0
  602. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +330 -0
  603. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +332 -0
  604. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +331 -0
  605. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +253 -0
  606. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +125 -0
  607. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +1102 -0
  608. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-start-batch.mdx +154 -0
  609. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/21-get-batch-status.mdx +133 -0
  610. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-get-batch-results.mdx +109 -0
  611. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-cancel-batch.mdx +96 -0
  612. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/24-list-batches.mdx +121 -0
  613. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +368 -0
  614. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +331 -0
  615. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +147 -0
  616. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +250 -0
  617. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +493 -0
  618. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +256 -0
  619. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +199 -0
  620. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +125 -0
  621. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +1035 -0
  622. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +361 -0
  623. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/03-generate-video.mdx +157 -0
  624. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/index.mdx +32 -0
  625. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +31 -0
  626. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +43 -0
  627. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-stream-provider-error.mdx +52 -0
  628. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-choice-violation-error.mdx +38 -0
  629. package/node_modules/@maka/runtime/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +43 -0
  630. package/node_modules/@maka/runtime/node_modules/ai/package.json +127 -0
  631. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Client.md +4 -0
  632. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  633. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  634. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
  635. package/node_modules/@maka/runtime/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  636. package/node_modules/@maka/runtime/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  637. package/node_modules/@maka/runtime/node_modules/undici/lib/core/symbols.js +2 -0
  638. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/agent.js +7 -2
  639. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  640. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
  641. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
  642. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/client.js +3 -2
  643. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  644. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  645. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  646. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
  647. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
  648. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  649. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  650. package/node_modules/@maka/runtime/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  651. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/cache-handler.js +29 -5
  652. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  653. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  654. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/redirect-handler.js +21 -4
  655. package/node_modules/@maka/runtime/node_modules/undici/lib/handler/retry-handler.js +148 -30
  656. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/cache.js +65 -12
  657. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/decompress.js +115 -13
  658. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  659. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/dns.js +7 -0
  660. package/node_modules/@maka/runtime/node_modules/undici/lib/interceptor/dump.js +10 -23
  661. package/node_modules/@maka/runtime/node_modules/undici/lib/mock/mock-agent.js +13 -1
  662. package/node_modules/@maka/runtime/node_modules/undici/lib/mock/mock-utils.js +11 -10
  663. package/node_modules/@maka/runtime/node_modules/undici/lib/util/cache.js +45 -3
  664. package/node_modules/@maka/runtime/node_modules/undici/lib/web/cookies/parse.js +150 -147
  665. package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  666. package/node_modules/@maka/runtime/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  667. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/index.js +6 -0
  668. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/request.js +2 -3
  669. package/node_modules/@maka/runtime/node_modules/undici/lib/web/fetch/util.js +6 -1
  670. package/node_modules/@maka/runtime/node_modules/undici/lib/web/webidl/index.js +3 -3
  671. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/connection.js +1 -1
  672. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  673. package/node_modules/@maka/runtime/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  674. package/node_modules/@maka/runtime/node_modules/undici/package.json +3 -3
  675. package/node_modules/@maka/runtime/package.json +52 -21
  676. package/node_modules/@maka/runtime-host/dist/adapter/session-projector.js +106 -98
  677. package/node_modules/@maka/runtime-host/dist/candidate-entry.js +18 -7
  678. package/node_modules/@maka/runtime-host/dist/candidate-launch-owner-guard.js +13 -0
  679. package/node_modules/@maka/runtime-host/dist/client/capability-provider-service.js +2 -0
  680. package/node_modules/@maka/runtime-host/dist/client/catalog-reader.js +64 -25
  681. package/node_modules/@maka/runtime-host/dist/client/client-capability-channel.js +190 -30
  682. package/node_modules/@maka/runtime-host/dist/client/connect-or-spawn.js +60 -20
  683. package/node_modules/@maka/runtime-host/dist/client/connection.js +170 -63
  684. package/node_modules/@maka/runtime-host/dist/client/host-handoff-copy.js +245 -0
  685. package/node_modules/@maka/runtime-host/dist/client/host-handoff.js +311 -0
  686. package/node_modules/@maka/runtime-host/dist/client/host-profile.js +483 -94
  687. package/node_modules/@maka/runtime-host/dist/client/host-retirement.js +28 -5
  688. package/node_modules/@maka/runtime-host/dist/client/hosted-execution-target.js +33 -6
  689. package/node_modules/@maka/runtime-host/dist/client/hosted-execution.js +10 -28
  690. package/node_modules/@maka/runtime-host/dist/client/index.js +15 -11
  691. package/node_modules/@maka/runtime-host/dist/client/launcher.js +12 -3
  692. package/node_modules/@maka/runtime-host/dist/client/oauth-presentation.js +1 -1
  693. package/node_modules/@maka/runtime-host/dist/client/owner-connection-code.js +38 -4
  694. package/node_modules/@maka/runtime-host/dist/client/peer-client.js +389 -25
  695. package/node_modules/@maka/runtime-host/dist/client/process-identity.js +73 -0
  696. package/node_modules/@maka/runtime-host/dist/client/reconnect-lifecycle.js +80 -8
  697. package/node_modules/@maka/runtime-host/dist/client/reconnecting-connection.js +15 -4
  698. package/node_modules/@maka/runtime-host/dist/client/registered-host-termination.js +107 -0
  699. package/node_modules/@maka/runtime-host/dist/client/remote-compatibility-error.js +2 -0
  700. package/node_modules/@maka/runtime-host/dist/client/session-catalog-summary.js +6 -0
  701. package/node_modules/@maka/runtime-host/dist/client/session-subscription.js +105 -125
  702. package/node_modules/@maka/runtime-host/dist/client/ssh-operator-activation.js +48 -11
  703. package/node_modules/@maka/runtime-host/dist/client/startup-error.js +1 -1
  704. package/node_modules/@maka/runtime-host/dist/client/wait-for-ready.js +1 -1
  705. package/node_modules/@maka/runtime-host/dist/client/wsl-control.js +0 -8
  706. package/node_modules/@maka/runtime-host/dist/client/wsl-environment.js +12 -8
  707. package/node_modules/@maka/runtime-host/dist/client-capability-entity-id.js +27 -0
  708. package/node_modules/@maka/runtime-host/dist/composition-identity.js +19 -0
  709. package/node_modules/@maka/runtime-host/dist/control/endpoint.js +8 -9
  710. package/node_modules/@maka/runtime-host/dist/execution-candidate-main.js +8 -1
  711. package/node_modules/@maka/runtime-host/dist/node-error.js +22 -0
  712. package/node_modules/@maka/runtime-host/dist/operator/access-management-frame.js +10 -1
  713. package/node_modules/@maka/runtime-host/dist/operator/index.js +5 -2
  714. package/node_modules/@maka/runtime-host/dist/operator/managed-deployment.js +17 -8
  715. package/node_modules/@maka/runtime-host/dist/operator/operator-command.js +110 -0
  716. package/node_modules/@maka/runtime-host/dist/operator/peer-management-frame.js +2 -0
  717. package/node_modules/@maka/runtime-host/dist/operator/retirement-cancellation.js +20 -0
  718. package/node_modules/@maka/runtime-host/dist/operator/service-management-frame.js +5 -6
  719. package/node_modules/@maka/runtime-host/dist/operator/setup-frame.js +32 -6
  720. package/node_modules/@maka/runtime-host/dist/peer-mesh/index.js +3 -3
  721. package/node_modules/@maka/runtime-host/dist/peer-mesh/limits.js +1 -2
  722. package/node_modules/@maka/runtime-host/dist/peer-mesh/model.js +48 -60
  723. package/node_modules/@maka/runtime-host/dist/peer-mesh/node.js +1228 -472
  724. package/node_modules/@maka/runtime-host/dist/peer-mesh/owner.js +33 -70
  725. package/node_modules/@maka/runtime-host/dist/peer-mesh/store.js +141 -59
  726. package/node_modules/@maka/runtime-host/dist/peer-reachability/index.js +21 -0
  727. package/node_modules/@maka/runtime-host/dist/peer-reachability/model.js +202 -0
  728. package/node_modules/@maka/runtime-host/dist/peer-reachability/owner.js +118 -0
  729. package/node_modules/@maka/runtime-host/dist/peer-reachability/publisher.js +243 -0
  730. package/node_modules/@maka/runtime-host/dist/protocol/agent-graph.js +5 -12
  731. package/node_modules/@maka/runtime-host/dist/protocol/artifact.js +11 -20
  732. package/node_modules/@maka/runtime-host/dist/protocol/client-capability.js +273 -46
  733. package/node_modules/@maka/runtime-host/dist/protocol/codec.js +11 -0
  734. package/node_modules/@maka/runtime-host/dist/protocol/configuration.js +55 -9
  735. package/node_modules/@maka/runtime-host/dist/protocol/connection-catalog-change.js +26 -0
  736. package/node_modules/@maka/runtime-host/dist/protocol/connection-effects.js +42 -9
  737. package/node_modules/@maka/runtime-host/dist/protocol/external-agent-setup.js +149 -0
  738. package/node_modules/@maka/runtime-host/dist/protocol/external-session.js +41 -12
  739. package/node_modules/@maka/runtime-host/dist/protocol/host-resources.js +253 -0
  740. package/node_modules/@maka/runtime-host/dist/protocol/host-status.js +49 -11
  741. package/node_modules/@maka/runtime-host/dist/protocol/index.js +262 -3
  742. package/node_modules/@maka/runtime-host/dist/protocol/message.js +24 -9
  743. package/node_modules/@maka/runtime-host/dist/protocol/network-proxy.js +1 -7
  744. package/node_modules/@maka/runtime-host/dist/protocol/oauth.js +104 -8
  745. package/node_modules/@maka/runtime-host/dist/protocol/operations.js +34 -10
  746. package/node_modules/@maka/runtime-host/dist/protocol/peer-mesh.js +14 -31
  747. package/node_modules/@maka/runtime-host/dist/protocol/plan.js +1 -0
  748. package/node_modules/@maka/runtime-host/dist/protocol/plugin-platform.js +899 -0
  749. package/node_modules/@maka/runtime-host/dist/protocol/project-catalog.js +2 -2
  750. package/node_modules/@maka/runtime-host/dist/protocol/prompt-suggestions.js +61 -0
  751. package/node_modules/@maka/runtime-host/dist/protocol/recall.js +270 -0
  752. package/node_modules/@maka/runtime-host/dist/protocol/runtime-policy.js +84 -26
  753. package/node_modules/@maka/runtime-host/dist/protocol/runtime-resource.js +4 -17
  754. package/node_modules/@maka/runtime-host/dist/protocol/scheduled-task.js +19 -6
  755. package/node_modules/@maka/runtime-host/dist/protocol/session-bundle.js +100 -0
  756. package/node_modules/@maka/runtime-host/dist/protocol/session-catalog.js +106 -8
  757. package/node_modules/@maka/runtime-host/dist/protocol/session-collaboration.js +68 -4
  758. package/node_modules/@maka/runtime-host/dist/protocol/session-continuity.js +71 -34
  759. package/node_modules/@maka/runtime-host/dist/protocol/session-retirement.js +30 -3
  760. package/node_modules/@maka/runtime-host/dist/protocol/session-revision.js +11 -2
  761. package/node_modules/@maka/runtime-host/dist/protocol/session-todo.js +53 -0
  762. package/node_modules/@maka/runtime-host/dist/protocol/session-transcript.js +34 -127
  763. package/node_modules/@maka/runtime-host/dist/protocol/session-turns.js +38 -59
  764. package/node_modules/@maka/runtime-host/dist/protocol/skill-catalog.js +2 -1
  765. package/node_modules/@maka/runtime-host/dist/protocol/turn.js +25 -47
  766. package/node_modules/@maka/runtime-host/dist/protocol/usage-pricing.js +39 -3
  767. package/node_modules/@maka/runtime-host/dist/protocol/usage-screen.js +312 -0
  768. package/node_modules/@maka/runtime-host/dist/protocol/workhub-coordination.js +218 -75
  769. package/node_modules/@maka/runtime-host/dist/server/access-authority.js +78 -17
  770. package/node_modules/@maka/runtime-host/dist/server/access-credential-metadata.js +4 -2
  771. package/node_modules/@maka/runtime-host/dist/server/access-credential-store.js +137 -49
  772. package/node_modules/@maka/runtime-host/dist/server/acp/antigravity-install.js +242 -0
  773. package/node_modules/@maka/runtime-host/dist/server/acp/antigravity.js +154 -0
  774. package/node_modules/@maka/runtime-host/dist/server/acp/connection.js +116 -0
  775. package/node_modules/@maka/runtime-host/dist/server/agent-graph-coordinator.js +0 -3
  776. package/node_modules/@maka/runtime-host/dist/server/agent-graph-execution-coordinator.js +1 -2
  777. package/node_modules/@maka/runtime-host/dist/server/artifact-coordinator.js +19 -22
  778. package/node_modules/@maka/runtime-host/dist/server/bootstrap-runtime-policy.js +95 -97
  779. package/node_modules/@maka/runtime-host/dist/server/builtin-external-agent-plugins.js +188 -0
  780. package/node_modules/@maka/runtime-host/dist/server/candidate.js +15 -7
  781. package/node_modules/@maka/runtime-host/dist/server/canonical-session-projection.js +2 -1
  782. package/node_modules/@maka/runtime-host/dist/server/canonical-turn-snapshot.js +34 -24
  783. package/node_modules/@maka/runtime-host/dist/server/canonical-usage-reader.js +24 -11
  784. package/node_modules/@maka/runtime-host/dist/server/child-agent-composition.js +2 -1
  785. package/node_modules/@maka/runtime-host/dist/server/client-capability-coordinator.js +623 -94
  786. package/node_modules/@maka/runtime-host/dist/server/client-capability-invocation-broker.js +266 -53
  787. package/node_modules/@maka/runtime-host/dist/server/client-capability-provider-id.js +31 -0
  788. package/node_modules/@maka/runtime-host/dist/server/client-capability-recovery.js +45 -44
  789. package/node_modules/@maka/runtime-host/dist/server/configuration-coordinator.js +20 -1
  790. package/node_modules/@maka/runtime-host/dist/server/connection-effect-coordinator.js +46 -18
  791. package/node_modules/@maka/runtime-host/dist/server/connection-session.js +42 -19
  792. package/node_modules/@maka/runtime-host/dist/server/context-coordinator.js +2 -0
  793. package/node_modules/@maka/runtime-host/dist/server/daily-review-coordinator.js +164 -82
  794. package/node_modules/@maka/runtime-host/dist/server/execution-artifacts.js +59 -57
  795. package/node_modules/@maka/runtime-host/dist/server/execution-candidate.js +4 -1
  796. package/node_modules/@maka/runtime-host/dist/server/execution-composition-factory.js +10 -4
  797. package/node_modules/@maka/runtime-host/dist/server/execution-composition.js +1489 -239
  798. package/node_modules/@maka/runtime-host/dist/server/execution-inspect-coordinator.js +35 -29
  799. package/node_modules/@maka/runtime-host/dist/server/execution-model-authority.js +154 -18
  800. package/node_modules/@maka/runtime-host/dist/server/execution-model-composition.js +85 -73
  801. package/node_modules/@maka/runtime-host/dist/server/execution-service.js +49 -25
  802. package/node_modules/@maka/runtime-host/dist/server/extension-bundle.js +253 -0
  803. package/node_modules/@maka/runtime-host/dist/server/extension-package-manifest.js +280 -0
  804. package/node_modules/@maka/runtime-host/dist/server/external-agent-setup-coordinator.js +190 -0
  805. package/node_modules/@maka/runtime-host/dist/server/external-session-coordinator.js +130 -55
  806. package/node_modules/@maka/runtime-host/dist/server/failure-diagnostic.js +24 -0
  807. package/node_modules/@maka/runtime-host/dist/server/generated-text.js +39 -0
  808. package/node_modules/@maka/runtime-host/dist/server/goal-coordinator.js +134 -35
  809. package/node_modules/@maka/runtime-host/dist/server/host-change-feed.js +11 -0
  810. package/node_modules/@maka/runtime-host/dist/server/host-composition-source.js +47 -0
  811. package/node_modules/@maka/runtime-host/dist/server/host-composition.js +1 -29
  812. package/node_modules/@maka/runtime-host/dist/server/host-kernel.js +164 -35
  813. package/node_modules/@maka/runtime-host/dist/server/host-residency-registry.js +41 -20
  814. package/node_modules/@maka/runtime-host/dist/server/host-resource-collector.js +223 -0
  815. package/node_modules/@maka/runtime-host/dist/server/host-resource-probe-main.js +44 -0
  816. package/node_modules/@maka/runtime-host/dist/server/host-resource-probe.js +83 -0
  817. package/node_modules/@maka/runtime-host/dist/server/host-session-availability.js +15 -4
  818. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-admission-registry.js +3 -1
  819. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-projection.js +12 -7
  820. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-recovery.js +203 -75
  821. package/node_modules/@maka/runtime-host/dist/server/hosted-execution-tool-profile.js +82 -12
  822. package/node_modules/@maka/runtime-host/dist/server/index.js +5 -0
  823. package/node_modules/@maka/runtime-host/dist/server/interaction-coordinator.js +437 -37
  824. package/node_modules/@maka/runtime-host/dist/server/interaction-projection.js +36 -1
  825. package/node_modules/@maka/runtime-host/dist/server/interactive-run-composer.js +178 -126
  826. package/node_modules/@maka/runtime-host/dist/server/interactive-turn-coordinator.js +1 -16
  827. package/node_modules/@maka/runtime-host/dist/server/jev-routing-model.js +157 -0
  828. package/node_modules/@maka/runtime-host/dist/server/json-array-page-budget.js +48 -0
  829. package/node_modules/@maka/runtime-host/dist/server/listener-set.js +8 -6
  830. package/node_modules/@maka/runtime-host/dist/server/memory-projection.js +14 -15
  831. package/node_modules/@maka/runtime-host/dist/server/message-coordinator.js +374 -80
  832. package/node_modules/@maka/runtime-host/dist/server/model-metadata-refresh.js +96 -0
  833. package/node_modules/@maka/runtime-host/dist/server/network-proxy-coordinator.js +0 -1
  834. package/node_modules/@maka/runtime-host/dist/server/oauth-coordinator.js +169 -45
  835. package/node_modules/@maka/runtime-host/dist/server/oauth-execution-authority.js +20 -3
  836. package/node_modules/@maka/runtime-host/dist/server/operation-dispatcher.js +62 -127
  837. package/node_modules/@maka/runtime-host/dist/server/peer-listener.js +131 -48
  838. package/node_modules/@maka/runtime-host/dist/server/peer-mesh-authority.js +1 -1
  839. package/node_modules/@maka/runtime-host/dist/server/plan-coordinator.js +52 -16
  840. package/node_modules/@maka/runtime-host/dist/server/plugin-composition-patch.js +58 -0
  841. package/node_modules/@maka/runtime-host/dist/server/plugin-composition-store.js +141 -0
  842. package/node_modules/@maka/runtime-host/dist/server/plugin-data-runtime.js +234 -0
  843. package/node_modules/@maka/runtime-host/dist/server/plugin-package-loader.js +204 -0
  844. package/node_modules/@maka/runtime-host/dist/server/plugin-package-store.js +545 -0
  845. package/node_modules/@maka/runtime-host/dist/server/plugin-platform-coordinator.js +400 -0
  846. package/node_modules/@maka/runtime-host/dist/server/plugin-platform.js +1273 -0
  847. package/node_modules/@maka/runtime-host/dist/server/process-lifecycle.js +1 -1
  848. package/node_modules/@maka/runtime-host/dist/server/process-termination-error.js +27 -0
  849. package/node_modules/@maka/runtime-host/dist/server/project-catalog-coordinator.js +10 -12
  850. package/node_modules/@maka/runtime-host/dist/server/project-directory-authority.js +4 -3
  851. package/node_modules/@maka/runtime-host/dist/server/prompt-suggestion.js +179 -0
  852. package/node_modules/@maka/runtime-host/dist/server/recall-coordinator.js +117 -0
  853. package/node_modules/@maka/runtime-host/dist/server/recall-material-fetch.js +92 -0
  854. package/node_modules/@maka/runtime-host/dist/server/root-admission-owner.js +32 -7
  855. package/node_modules/@maka/runtime-host/dist/server/root-turn-coordinator.js +796 -210
  856. package/node_modules/@maka/runtime-host/dist/server/runtime-policy-coordinator.js +74 -18
  857. package/node_modules/@maka/runtime-host/dist/server/runtime-resource-coordinator.js +24 -31
  858. package/node_modules/@maka/runtime-host/dist/server/runtime-resource-projection.js +15 -32
  859. package/node_modules/@maka/runtime-host/dist/server/sandbox-boundary-graph-wake.js +3 -5
  860. package/node_modules/@maka/runtime-host/dist/server/scheduled-task-coordinator.js +150 -41
  861. package/node_modules/@maka/runtime-host/dist/server/serial-outbound-writer.js +46 -4
  862. package/node_modules/@maka/runtime-host/dist/server/session-admission-gate.js +21 -1
  863. package/node_modules/@maka/runtime-host/dist/server/session-bundle-coordinator.js +166 -0
  864. package/node_modules/@maka/runtime-host/dist/server/session-catalog-coordinator.js +456 -59
  865. package/node_modules/@maka/runtime-host/dist/server/session-continuity-coordinator.js +407 -513
  866. package/node_modules/@maka/runtime-host/dist/server/session-effect-coordinator.js +13 -7
  867. package/node_modules/@maka/runtime-host/dist/server/session-retirement-coordinator.js +68 -16
  868. package/node_modules/@maka/runtime-host/dist/server/session-revision-coordinator.js +141 -82
  869. package/node_modules/@maka/runtime-host/dist/server/session-revision-graph-references.js +18 -10
  870. package/node_modules/@maka/runtime-host/dist/server/session-sidecar-purge.js +2 -1
  871. package/node_modules/@maka/runtime-host/dist/server/session-title.js +3 -16
  872. package/node_modules/@maka/runtime-host/dist/server/session-todo-coordinator.js +77 -0
  873. package/node_modules/@maka/runtime-host/dist/server/session-transcript-pager.js +23 -488
  874. package/node_modules/@maka/runtime-host/dist/server/session-transcript-reader.js +391 -115
  875. package/node_modules/@maka/runtime-host/dist/server/session-turn-access-request-coordinator.js +33 -26
  876. package/node_modules/@maka/runtime-host/dist/server/shared-session-transcript.js +4 -1
  877. package/node_modules/@maka/runtime-host/dist/server/skill-catalog-coordinator.js +18 -2
  878. package/node_modules/@maka/runtime-host/dist/server/skill-catalog-repository.js +16 -17
  879. package/node_modules/@maka/runtime-host/dist/server/storage-maintenance.js +109 -0
  880. package/node_modules/@maka/runtime-host/dist/server/usage-pricing-coordinator.js +120 -36
  881. package/node_modules/@maka/runtime-host/dist/server/web-fetch-tool.js +38 -2
  882. package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-action-gate.js +625 -39
  883. package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-coordinator.js +625 -132
  884. package/node_modules/@maka/runtime-host/dist/server/workhub-message-attachments.js +47 -0
  885. package/node_modules/@maka/runtime-host/dist/server/workhub-result-coordinator.js +173 -0
  886. package/node_modules/@maka/runtime-host/dist/server/workhub-result-runtime.js +293 -0
  887. package/node_modules/@maka/runtime-host/dist/server/workhub-target-execution-authority.js +161 -0
  888. package/node_modules/@maka/runtime-host/dist/transport/framed-byte-stream-transport.js +4 -1
  889. package/node_modules/@maka/runtime-host/dist/transport/local-ipc-framing.js +4 -2
  890. package/node_modules/@maka/runtime-host/dist/transport/peer-native.js +112 -24
  891. package/node_modules/@maka/runtime-host/dist/transport/resumable-peer-stream.js +469 -0
  892. package/node_modules/@maka/runtime-host/dist/webrtc-stun-policy.js +114 -0
  893. package/node_modules/@maka/runtime-host/package.json +9 -1
  894. package/node_modules/@maka/storage/dist/agent-run-store-contract.js +953 -0
  895. package/node_modules/@maka/storage/dist/agent-run-store.js +250 -1053
  896. package/node_modules/@maka/storage/dist/artifact-attachments.js +66 -18
  897. package/node_modules/@maka/storage/dist/artifact-metadata-codec.js +28 -31
  898. package/node_modules/@maka/storage/dist/artifact-store.js +265 -783
  899. package/node_modules/@maka/storage/dist/artifact-stores.js +6 -10
  900. package/node_modules/@maka/storage/dist/artifact-writer-lock.js +1 -1
  901. package/node_modules/@maka/storage/dist/atomic-file-write.js +74 -0
  902. package/node_modules/@maka/storage/dist/claude-code-session-adapter.js +700 -269
  903. package/node_modules/@maka/storage/dist/claude-code-transcript-lineage.js +106 -77
  904. package/node_modules/@maka/storage/dist/codex-session-adapter.js +632 -310
  905. package/node_modules/@maka/storage/dist/config-transfer.js +14 -8
  906. package/node_modules/@maka/storage/dist/context-offload-snapshot.js +397 -0
  907. package/node_modules/@maka/storage/dist/context-value-mutation-gate.js +59 -0
  908. package/node_modules/@maka/storage/dist/conversation-operational-state.js +10 -0
  909. package/node_modules/@maka/storage/dist/credential-store.js +15 -63
  910. package/node_modules/@maka/storage/dist/execution-persistence-provider.js +54 -0
  911. package/node_modules/@maka/storage/dist/execution-record-codec.js +1 -22
  912. package/node_modules/@maka/storage/dist/execution-stores.js +253 -81
  913. package/node_modules/@maka/storage/dist/external-session-importer.js +25 -3
  914. package/node_modules/@maka/storage/dist/file-lifetime-owner.js +30 -2
  915. package/node_modules/@maka/storage/dist/file-session-repository.js +1012 -0
  916. package/node_modules/@maka/storage/dist/git-exec.js +61 -0
  917. package/node_modules/@maka/storage/dist/git-worktree-child-executor.js +8 -35
  918. package/node_modules/@maka/storage/dist/goal-authority.js +41 -10
  919. package/node_modules/@maka/storage/dist/graph-control-values.js +126 -0
  920. package/node_modules/@maka/storage/dist/interaction-store-contract.js +231 -0
  921. package/node_modules/@maka/storage/dist/interaction-store-public.js +1 -1
  922. package/node_modules/@maka/storage/dist/interaction-store.js +196 -166
  923. package/node_modules/@maka/storage/dist/legacy-run-header.js +327 -0
  924. package/node_modules/@maka/storage/dist/local-execution-persistence.js +80 -0
  925. package/node_modules/@maka/storage/dist/mcp-config-store.js +101 -27
  926. package/node_modules/@maka/storage/dist/message-admission-store.js +8 -3
  927. package/node_modules/@maka/storage/dist/model-call-ledger.js +199 -32
  928. package/node_modules/@maka/storage/dist/model-call-usage-sql.js +136 -0
  929. package/node_modules/@maka/storage/dist/model-facts-store.js +56 -0
  930. package/node_modules/@maka/storage/dist/offset-external-session-catalog.js +69 -0
  931. package/node_modules/@maka/storage/dist/opencode-session-adapter.js +278 -77
  932. package/node_modules/@maka/storage/dist/operational-state-backup.js +15 -11
  933. package/node_modules/@maka/storage/dist/operational-state-store-public.js +1 -1
  934. package/node_modules/@maka/storage/dist/operational-state-store.js +60 -8
  935. package/node_modules/@maka/storage/dist/plan-authority.js +50 -0
  936. package/node_modules/@maka/storage/dist/plan-store.js +30 -0
  937. package/node_modules/@maka/storage/dist/process-lifetime-file-update-lock.js +0 -41
  938. package/node_modules/@maka/storage/dist/production-session-snapshot.js +761 -0
  939. package/node_modules/@maka/storage/dist/project-catalog.js +8 -23
  940. package/node_modules/@maka/storage/dist/quiescent-session-snapshot.js +1154 -0
  941. package/node_modules/@maka/storage/dist/recall-fold.js +65 -0
  942. package/node_modules/@maka/storage/dist/root-authority.js +4 -0
  943. package/node_modules/@maka/storage/dist/runtime-event-invariants.js +2 -2
  944. package/node_modules/@maka/storage/dist/runtime-event-persistence.js +9 -0
  945. package/node_modules/@maka/storage/dist/runtime-event-store-contract.js +19 -0
  946. package/node_modules/@maka/storage/dist/runtime-partial-values.js +118 -0
  947. package/node_modules/@maka/storage/dist/runtime-policy/connection-catalog-document.js +181 -112
  948. package/node_modules/@maka/storage/dist/runtime-policy/coordinator.js +552 -121
  949. package/node_modules/@maka/storage/dist/runtime-policy/credential-vault-document.js +4 -1
  950. package/node_modules/@maka/storage/dist/runtime-policy/document-io.js +22 -16
  951. package/node_modules/@maka/storage/dist/runtime-policy/legacy-custom-connection.js +65 -0
  952. package/node_modules/@maka/storage/dist/runtime-policy/oauth-login-receipt-document.js +207 -0
  953. package/node_modules/@maka/storage/dist/runtime-policy/onboarding-transaction.js +157 -9
  954. package/node_modules/@maka/storage/dist/runtime-policy/policy-document.js +12 -4
  955. package/node_modules/@maka/storage/dist/runtime-policy-stores.js +7 -4
  956. package/node_modules/@maka/storage/dist/runtime-transcript-query.js +333 -0
  957. package/node_modules/@maka/storage/dist/scheduled-task-store.js +256 -283
  958. package/node_modules/@maka/storage/dist/session-bundle-manifest.js +5 -17
  959. package/node_modules/@maka/storage/dist/session-bundle-policy.js +1042 -34
  960. package/node_modules/@maka/storage/dist/session-bundle-ustar.js +12 -0
  961. package/node_modules/@maka/storage/dist/session-copy-cleanup.js +12 -7
  962. package/node_modules/@maka/storage/dist/session-message-projection.js +24 -5
  963. package/node_modules/@maka/storage/dist/session-repository.js +767 -0
  964. package/node_modules/@maka/storage/dist/session-store-contract.js +61 -0
  965. package/node_modules/@maka/storage/dist/session-store-values.js +354 -0
  966. package/node_modules/@maka/storage/dist/session-store.js +129 -433
  967. package/node_modules/@maka/storage/dist/session-todo-authority.js +106 -0
  968. package/node_modules/@maka/storage/dist/session-todo-store.js +169 -0
  969. package/node_modules/@maka/storage/dist/settings-store.js +24 -29
  970. package/node_modules/@maka/storage/dist/shell-run-authority.js +1 -0
  971. package/node_modules/@maka/storage/dist/shell-run-store.js +15 -0
  972. package/node_modules/@maka/storage/dist/sqlite-artifact-metadata.js +51 -17
  973. package/node_modules/@maka/storage/dist/sqlite-artifact-schema.js +55 -5
  974. package/node_modules/@maka/storage/dist/sqlite-context-offload-store.js +42 -12
  975. package/node_modules/@maka/storage/dist/sqlite-core-execution-schema.js +46 -2
  976. package/node_modules/@maka/storage/dist/sqlite-long-term-memory-store.js +86 -12
  977. package/node_modules/@maka/storage/dist/sqlite-runtime-schema.js +455 -1
  978. package/node_modules/@maka/storage/dist/sqlite-runtime-store.js +1390 -359
  979. package/node_modules/@maka/storage/dist/sqlite-session-metadata-schema.js +63 -5
  980. package/node_modules/@maka/storage/dist/sqlite-session-metadata-store.js +671 -1047
  981. package/node_modules/@maka/storage/dist/sqlite-usage-schema.js +280 -20
  982. package/node_modules/@maka/storage/dist/sqlite-usage-store.js +29 -6
  983. package/node_modules/@maka/storage/dist/sqlite-workflow-schema.js +7 -8
  984. package/node_modules/@maka/storage/dist/stable-storage.js +16 -2
  985. package/node_modules/@maka/storage/dist/storage-id.js +28 -0
  986. package/node_modules/@maka/storage/dist/storage-writer-composition.js +5 -9
  987. package/node_modules/@maka/storage/dist/telemetry-file-schema.js +5 -3
  988. package/node_modules/@maka/storage/dist/tool-commit-validation.js +111 -0
  989. package/node_modules/@maka/storage/dist/tool-result-archive-evidence.js +138 -0
  990. package/node_modules/@maka/storage/dist/usage-screen.js +384 -0
  991. package/node_modules/@maka/storage/dist/usage-stores.js +30 -9
  992. package/node_modules/@maka/storage/dist/work-board-store.js +44 -5
  993. package/node_modules/@maka/storage/dist/workspace-identity.js +2 -15
  994. package/node_modules/@maka/storage/dist/workspace-version-authority-internal.js +1 -8
  995. package/node_modules/@maka/storage/package.json +9 -5
  996. package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs +22 -5
  997. package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs +22 -5
  998. package/node_modules/@openai/agents-core/dist/agent.js +8 -10
  999. package/node_modules/@openai/agents-core/dist/agent.mjs +9 -11
  1000. package/node_modules/@openai/agents-core/dist/agentToolInput.js +2 -30
  1001. package/node_modules/@openai/agents-core/dist/agentToolInput.mjs +1 -29
  1002. package/node_modules/@openai/agents-core/dist/defaultModel.js +23 -3
  1003. package/node_modules/@openai/agents-core/dist/defaultModel.mjs +21 -3
  1004. package/node_modules/@openai/agents-core/dist/handoff.js +5 -5
  1005. package/node_modules/@openai/agents-core/dist/handoff.mjs +5 -5
  1006. package/node_modules/@openai/agents-core/dist/index.js +2 -1
  1007. package/node_modules/@openai/agents-core/dist/index.mjs +1 -1
  1008. package/node_modules/@openai/agents-core/dist/items.js +8 -1
  1009. package/node_modules/@openai/agents-core/dist/items.mjs +8 -1
  1010. package/node_modules/@openai/agents-core/dist/mcp.js +26 -16
  1011. package/node_modules/@openai/agents-core/dist/mcp.mjs +27 -17
  1012. package/node_modules/@openai/agents-core/dist/mcpServers.js +18 -15
  1013. package/node_modules/@openai/agents-core/dist/mcpServers.mjs +18 -15
  1014. package/node_modules/@openai/agents-core/dist/mcpShared.js +12 -0
  1015. package/node_modules/@openai/agents-core/dist/mcpShared.mjs +12 -0
  1016. package/node_modules/@openai/agents-core/dist/memory/session.js +8 -0
  1017. package/node_modules/@openai/agents-core/dist/memory/session.mjs +7 -0
  1018. package/node_modules/@openai/agents-core/dist/metadata.js +2 -2
  1019. package/node_modules/@openai/agents-core/dist/metadata.mjs +2 -2
  1020. package/node_modules/@openai/agents-core/dist/run.js +550 -248
  1021. package/node_modules/@openai/agents-core/dist/run.mjs +555 -253
  1022. package/node_modules/@openai/agents-core/dist/runState.js +747 -420
  1023. package/node_modules/@openai/agents-core/dist/runState.mjs +742 -421
  1024. package/node_modules/@openai/agents-core/dist/runStateLegacyCompaction.js +440 -0
  1025. package/node_modules/@openai/agents-core/dist/runStateLegacyCompaction.mjs +404 -0
  1026. package/node_modules/@openai/agents-core/dist/runner/blockedOutputPersistence.js +274 -78
  1027. package/node_modules/@openai/agents-core/dist/runner/blockedOutputPersistence.mjs +268 -77
  1028. package/node_modules/@openai/agents-core/dist/runner/conversation.js +22 -3
  1029. package/node_modules/@openai/agents-core/dist/runner/conversation.mjs +23 -4
  1030. package/node_modules/@openai/agents-core/dist/runner/guardrails.js +80 -15
  1031. package/node_modules/@openai/agents-core/dist/runner/guardrails.mjs +78 -15
  1032. package/node_modules/@openai/agents-core/dist/runner/items.js +35 -2
  1033. package/node_modules/@openai/agents-core/dist/runner/items.mjs +35 -2
  1034. package/node_modules/@openai/agents-core/dist/runner/modelOutputs.js +47 -18
  1035. package/node_modules/@openai/agents-core/dist/runner/modelOutputs.mjs +50 -21
  1036. package/node_modules/@openai/agents-core/dist/runner/modelPreparation.js +28 -0
  1037. package/node_modules/@openai/agents-core/dist/runner/modelPreparation.mjs +28 -1
  1038. package/node_modules/@openai/agents-core/dist/runner/modelRetry.js +322 -217
  1039. package/node_modules/@openai/agents-core/dist/runner/modelRetry.mjs +322 -217
  1040. package/node_modules/@openai/agents-core/dist/runner/modelSettings.js +15 -22
  1041. package/node_modules/@openai/agents-core/dist/runner/modelSettings.mjs +15 -22
  1042. package/node_modules/@openai/agents-core/dist/runner/outputGuardrailBlockedMessage.js +32 -0
  1043. package/node_modules/@openai/agents-core/dist/runner/outputGuardrailBlockedMessage.mjs +28 -0
  1044. package/node_modules/@openai/agents-core/dist/runner/runLoop.js +53 -8
  1045. package/node_modules/@openai/agents-core/dist/runner/runLoop.mjs +53 -8
  1046. package/node_modules/@openai/agents-core/dist/runner/sessionItems.js +119 -0
  1047. package/node_modules/@openai/agents-core/dist/runner/sessionItems.mjs +114 -0
  1048. package/node_modules/@openai/agents-core/dist/runner/sessionPersistence.js +408 -157
  1049. package/node_modules/@openai/agents-core/dist/runner/sessionPersistence.mjs +388 -142
  1050. package/node_modules/@openai/agents-core/dist/runner/toolExecution.js +42 -3
  1051. package/node_modules/@openai/agents-core/dist/runner/toolExecution.mjs +42 -3
  1052. package/node_modules/@openai/agents-core/dist/runner/toolSearch.js +1 -0
  1053. package/node_modules/@openai/agents-core/dist/runner/toolSearch.mjs +1 -1
  1054. package/node_modules/@openai/agents-core/dist/runner/toolSearchAttribution.js +19 -0
  1055. package/node_modules/@openai/agents-core/dist/runner/toolSearchAttribution.mjs +15 -0
  1056. package/node_modules/@openai/agents-core/dist/runner/turnResolution.js +65 -13
  1057. package/node_modules/@openai/agents-core/dist/runner/turnResolution.mjs +65 -13
  1058. package/node_modules/@openai/agents-core/dist/runner/usageTracking.js +69 -0
  1059. package/node_modules/@openai/agents-core/dist/runner/usageTracking.mjs +65 -0
  1060. package/node_modules/@openai/agents-core/dist/sandbox/manifest.js +4 -0
  1061. package/node_modules/@openai/agents-core/dist/sandbox/manifest.mjs +4 -0
  1062. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/docker.js +317 -127
  1063. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/docker.mjs +319 -129
  1064. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/localWorkspace.js +1 -1
  1065. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/localWorkspace.mjs +1 -1
  1066. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/pty.js +27 -13
  1067. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/pty.mjs +27 -13
  1068. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFileWorker.js +196 -0
  1069. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFileWorker.mjs +193 -0
  1070. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFiles.js +215 -0
  1071. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/shared/unixLocalFiles.mjs +211 -0
  1072. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/unixLocal.js +193 -83
  1073. package/node_modules/@openai/agents-core/dist/sandbox/sandboxes/unixLocal.mjs +196 -86
  1074. package/node_modules/@openai/agents-core/dist/sandbox/session.js +2 -1
  1075. package/node_modules/@openai/agents-core/dist/sandbox/session.mjs +2 -1
  1076. package/node_modules/@openai/agents-core/dist/tracing/processor.js +21 -7
  1077. package/node_modules/@openai/agents-core/dist/tracing/processor.mjs +21 -7
  1078. package/node_modules/@openai/agents-core/dist/tracing/spans.js +40 -6
  1079. package/node_modules/@openai/agents-core/dist/tracing/spans.mjs +7 -3
  1080. package/node_modules/@openai/agents-core/dist/types/protocol.js +6 -0
  1081. package/node_modules/@openai/agents-core/dist/types/protocol.mjs +6 -0
  1082. package/node_modules/@openai/agents-core/dist/usage.js +13 -4
  1083. package/node_modules/@openai/agents-core/dist/usage.mjs +13 -4
  1084. package/node_modules/@openai/agents-core/dist/utils/applyDiff.js +24 -7
  1085. package/node_modules/@openai/agents-core/dist/utils/applyDiff.mjs +24 -7
  1086. package/node_modules/@openai/agents-core/dist/utils/internal.js +3 -1
  1087. package/node_modules/@openai/agents-core/dist/utils/internal.mjs +1 -1
  1088. package/node_modules/@openai/agents-core/dist/utils/zodCompat.js +29 -0
  1089. package/node_modules/@openai/agents-core/dist/utils/zodCompat.mjs +28 -0
  1090. package/node_modules/@openai/agents-core/dist/utils/zodJsonSchemaCompat.js +3 -31
  1091. package/node_modules/@openai/agents-core/dist/utils/zodJsonSchemaCompat.mjs +1 -29
  1092. package/node_modules/@openai/agents-core/package.json +1 -1
  1093. package/node_modules/@slack/types/dist/events/agent.js +3 -0
  1094. package/node_modules/@slack/types/dist/events/index.js +44 -0
  1095. package/node_modules/@slack/types/package.json +47 -0
  1096. package/node_modules/@slack/web-api/README.md +382 -0
  1097. package/node_modules/@slack/web-api/dist/methods.js +1636 -0
  1098. package/node_modules/@slack/web-api/dist/types/request/agents.js +3 -0
  1099. package/node_modules/@slack/web-api/dist/types/request/blocks.js +3 -0
  1100. package/node_modules/@slack/web-api/dist/types/response/AdminUsersGetExpirationResponse.js +11 -0
  1101. package/node_modules/@slack/web-api/dist/types/response/AgentsSessionsRenameResponse.js +11 -0
  1102. package/node_modules/@slack/web-api/dist/types/response/AgentsSessionsSetStatusResponse.js +11 -0
  1103. package/node_modules/@slack/web-api/dist/types/response/BlocksValidateResponse.js +11 -0
  1104. package/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +11 -0
  1105. package/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +11 -0
  1106. package/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +48 -0
  1107. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +67 -0
  1108. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js +72 -0
  1109. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js +48 -0
  1110. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +11 -0
  1111. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +11 -0
  1112. package/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +11 -0
  1113. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +11 -0
  1114. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +11 -0
  1115. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +11 -0
  1116. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +11 -0
  1117. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +11 -0
  1118. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +11 -0
  1119. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +11 -0
  1120. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +11 -0
  1121. package/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +11 -0
  1122. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +11 -0
  1123. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +11 -0
  1124. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +11 -0
  1125. package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +11 -0
  1126. package/node_modules/@slack/web-api/node_modules/@types/retry/LICENSE +21 -0
  1127. package/node_modules/@slack/web-api/node_modules/@types/retry/README.md +15 -0
  1128. package/node_modules/@slack/web-api/node_modules/@types/retry/package.json +30 -0
  1129. package/node_modules/@slack/web-api/package.json +71 -0
  1130. package/node_modules/@types/node/README.md +1 -1
  1131. package/node_modules/@types/node/package.json +3 -3
  1132. package/node_modules/balanced-match/LICENSE.md +23 -0
  1133. package/node_modules/balanced-match/README.md +57 -0
  1134. package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  1135. package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  1136. package/node_modules/balanced-match/dist/esm/index.js +54 -0
  1137. package/node_modules/balanced-match/dist/esm/package.json +3 -0
  1138. package/node_modules/balanced-match/package.json +68 -0
  1139. package/node_modules/brace-expansion/LICENSE +23 -0
  1140. package/node_modules/brace-expansion/README.md +105 -0
  1141. package/node_modules/brace-expansion/dist/commonjs/index.js +289 -0
  1142. package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  1143. package/node_modules/brace-expansion/dist/esm/index.js +285 -0
  1144. package/node_modules/brace-expansion/dist/esm/package.json +3 -0
  1145. package/node_modules/brace-expansion/package.json +64 -0
  1146. package/node_modules/fast-uri/index.js +215 -47
  1147. package/node_modules/fast-uri/lib/schemes.js +9 -4
  1148. package/node_modules/fast-uri/lib/utils.js +396 -92
  1149. package/node_modules/fast-uri/package.json +1 -1
  1150. package/node_modules/fs-native-extensions/package.json +1 -1
  1151. package/node_modules/fs-native-extensions/prebuilds/android-arm/fs-native-extensions.bare +0 -0
  1152. package/node_modules/fs-native-extensions/prebuilds/android-arm64/fs-native-extensions.bare +0 -0
  1153. package/node_modules/fs-native-extensions/prebuilds/android-ia32/fs-native-extensions.bare +0 -0
  1154. package/node_modules/fs-native-extensions/prebuilds/android-x64/fs-native-extensions.bare +0 -0
  1155. package/node_modules/fs-native-extensions/prebuilds/darwin-arm64/fs-native-extensions.bare +0 -0
  1156. package/node_modules/fs-native-extensions/prebuilds/darwin-arm64/fs-native-extensions.node +0 -0
  1157. package/node_modules/fs-native-extensions/prebuilds/darwin-x64/fs-native-extensions.bare +0 -0
  1158. package/node_modules/fs-native-extensions/prebuilds/darwin-x64/fs-native-extensions.node +0 -0
  1159. package/node_modules/fs-native-extensions/prebuilds/ios-arm64/fs-native-extensions.bare +0 -0
  1160. package/node_modules/fs-native-extensions/prebuilds/ios-arm64-simulator/fs-native-extensions.bare +0 -0
  1161. package/node_modules/fs-native-extensions/prebuilds/ios-x64-simulator/fs-native-extensions.bare +0 -0
  1162. package/node_modules/fs-native-extensions/prebuilds/linux-arm64/fs-native-extensions.bare +0 -0
  1163. package/node_modules/fs-native-extensions/prebuilds/linux-x64/fs-native-extensions.bare +0 -0
  1164. package/node_modules/fs-native-extensions/prebuilds/win32-arm64/fs-native-extensions.bare +0 -0
  1165. package/node_modules/fs-native-extensions/prebuilds/win32-arm64/fs-native-extensions.node +0 -0
  1166. package/node_modules/fs-native-extensions/prebuilds/win32-x64/fs-native-extensions.bare +0 -0
  1167. package/node_modules/fs-native-extensions/prebuilds/win32-x64/fs-native-extensions.node +0 -0
  1168. package/node_modules/fs-native-extensions/src/win32.c +50 -11
  1169. package/node_modules/glob/LICENSE.md +63 -0
  1170. package/node_modules/glob/README.md +1203 -0
  1171. package/node_modules/glob/dist/commonjs/glob.js +248 -0
  1172. package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  1173. package/node_modules/glob/dist/commonjs/ignore.js +119 -0
  1174. package/node_modules/glob/dist/commonjs/index.js +68 -0
  1175. package/node_modules/glob/dist/commonjs/index.min.js +4 -0
  1176. package/node_modules/glob/dist/commonjs/package.json +3 -0
  1177. package/node_modules/glob/dist/commonjs/pattern.js +223 -0
  1178. package/node_modules/glob/dist/commonjs/processor.js +301 -0
  1179. package/node_modules/glob/dist/commonjs/walker.js +387 -0
  1180. package/node_modules/glob/dist/esm/glob.js +244 -0
  1181. package/node_modules/glob/dist/esm/has-magic.js +23 -0
  1182. package/node_modules/glob/dist/esm/ignore.js +115 -0
  1183. package/node_modules/glob/dist/esm/index.js +55 -0
  1184. package/node_modules/glob/dist/esm/index.min.js +4 -0
  1185. package/node_modules/glob/dist/esm/package.json +3 -0
  1186. package/node_modules/glob/dist/esm/pattern.js +219 -0
  1187. package/node_modules/glob/dist/esm/processor.js +294 -0
  1188. package/node_modules/glob/dist/esm/walker.js +381 -0
  1189. package/node_modules/glob/package.json +98 -0
  1190. package/node_modules/minimatch/LICENSE.md +55 -0
  1191. package/node_modules/minimatch/README.md +528 -0
  1192. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  1193. package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
  1194. package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
  1195. package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
  1196. package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
  1197. package/node_modules/minimatch/dist/commonjs/package.json +3 -0
  1198. package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
  1199. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  1200. package/node_modules/minimatch/dist/esm/ast.js +841 -0
  1201. package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
  1202. package/node_modules/minimatch/dist/esm/escape.js +26 -0
  1203. package/node_modules/minimatch/dist/esm/index.js +1114 -0
  1204. package/node_modules/minimatch/dist/esm/package.json +3 -0
  1205. package/node_modules/minimatch/dist/esm/unescape.js +34 -0
  1206. package/node_modules/minimatch/package.json +73 -0
  1207. package/node_modules/minipass/LICENSE.md +55 -0
  1208. package/node_modules/minipass/README.md +825 -0
  1209. package/node_modules/minipass/dist/commonjs/index.js +1038 -0
  1210. package/node_modules/minipass/dist/commonjs/package.json +3 -0
  1211. package/node_modules/minipass/dist/esm/index.js +1020 -0
  1212. package/node_modules/minipass/dist/esm/package.json +3 -0
  1213. package/node_modules/minipass/package.json +77 -0
  1214. package/node_modules/path-scurry/LICENSE.md +55 -0
  1215. package/node_modules/path-scurry/README.md +636 -0
  1216. package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
  1217. package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  1218. package/node_modules/path-scurry/dist/esm/index.js +1983 -0
  1219. package/node_modules/path-scurry/dist/esm/package.json +3 -0
  1220. package/node_modules/path-scurry/node_modules/lru-cache/LICENSE.md +55 -0
  1221. package/node_modules/path-scurry/node_modules/lru-cache/README.md +469 -0
  1222. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
  1223. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.js +1726 -0
  1224. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
  1225. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
  1226. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
  1227. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
  1228. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +1726 -0
  1229. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1230. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
  1231. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.js +1726 -0
  1232. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
  1233. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
  1234. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1235. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
  1236. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
  1237. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.js +1722 -0
  1238. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
  1239. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
  1240. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
  1241. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
  1242. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js +1722 -0
  1243. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1244. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
  1245. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.js +1722 -0
  1246. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
  1247. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
  1248. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/package.json +3 -0
  1249. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.js +7 -0
  1250. package/node_modules/path-scurry/node_modules/lru-cache/package.json +154 -0
  1251. package/node_modules/path-scurry/package.json +72 -0
  1252. package/node_modules/qs/.github/THREAT_MODEL.md +3 -3
  1253. package/node_modules/qs/CHANGELOG.md +15 -0
  1254. package/node_modules/qs/README.md +19 -1
  1255. package/node_modules/qs/dist/qs.js +21 -21
  1256. package/node_modules/qs/eslint.config.mjs +1 -1
  1257. package/node_modules/qs/lib/parse.js +3 -4
  1258. package/node_modules/qs/lib/stringify.js +23 -8
  1259. package/node_modules/qs/lib/utils.js +10 -3
  1260. package/node_modules/qs/package.json +4 -4
  1261. package/node_modules/run/README.md +109 -18
  1262. package/node_modules/run/THIRD_PARTY_NOTICES.md +11 -11
  1263. package/node_modules/run/dist/continuation-validation.js +116 -1
  1264. package/node_modules/run/dist/errors.js +12 -2
  1265. package/node_modules/run/dist/host-function-invocation.js +2 -1
  1266. package/node_modules/run/dist/run.js +30 -4
  1267. package/node_modules/run/dist/runtime/guest-serde-source.js +1 -1
  1268. package/node_modules/run/dist/runtime/guest-sources.js +214 -56
  1269. package/node_modules/run/dist/runtime/manager.js +575 -116
  1270. package/node_modules/run/dist/runtime/max-workers.js +8 -4
  1271. package/node_modules/run/dist/runtime/protocol-validation.js +20 -7
  1272. package/node_modules/run/dist/runtime/sync-bridge-protocol.js +135 -0
  1273. package/node_modules/run/dist/runtime/worker-source.js +1 -1
  1274. package/node_modules/run/dist/utils/options.js +7 -0
  1275. package/node_modules/run/dist/utils/promise-with-resolvers.js +13 -1
  1276. package/node_modules/run/dist/utils/serde.js +1 -7
  1277. package/node_modules/run/dist/utils/source-cache.js +83 -13
  1278. package/node_modules/run/package.json +6 -4
  1279. package/node_modules/socks/build/common/helpers.js +5 -6
  1280. package/node_modules/socks/build/common/util.js +2 -2
  1281. package/node_modules/socks/package.json +7 -7
  1282. package/node_modules/systeminformation/LICENSE +20 -0
  1283. package/node_modules/systeminformation/README.md +1251 -0
  1284. package/node_modules/systeminformation/lib/audio.js +335 -0
  1285. package/node_modules/systeminformation/lib/battery.js +334 -0
  1286. package/node_modules/systeminformation/lib/bluetooth.js +315 -0
  1287. package/node_modules/systeminformation/lib/bluetoothVendors.js +1138 -0
  1288. package/node_modules/systeminformation/lib/cli.js +100 -0
  1289. package/node_modules/systeminformation/lib/cpu.js +2285 -0
  1290. package/node_modules/systeminformation/lib/docker.js +791 -0
  1291. package/node_modules/systeminformation/lib/dockerSocket.js +117 -0
  1292. package/node_modules/systeminformation/lib/filesystem.js +1927 -0
  1293. package/node_modules/systeminformation/lib/graphics.js +1317 -0
  1294. package/node_modules/systeminformation/lib/index.js +520 -0
  1295. package/node_modules/systeminformation/lib/internet.js +265 -0
  1296. package/node_modules/systeminformation/lib/memory.js +622 -0
  1297. package/node_modules/systeminformation/lib/network.js +2008 -0
  1298. package/node_modules/systeminformation/lib/osinfo.js +1290 -0
  1299. package/node_modules/systeminformation/lib/printer.js +209 -0
  1300. package/node_modules/systeminformation/lib/processes.js +1496 -0
  1301. package/node_modules/systeminformation/lib/system.js +855 -0
  1302. package/node_modules/systeminformation/lib/usb.js +309 -0
  1303. package/node_modules/systeminformation/lib/users.js +412 -0
  1304. package/node_modules/systeminformation/lib/util.js +2833 -0
  1305. package/node_modules/systeminformation/lib/virtualbox.js +116 -0
  1306. package/node_modules/systeminformation/lib/wifi.js +839 -0
  1307. package/node_modules/systeminformation/package.json +102 -0
  1308. package/node_modules/undici/docs/docs/api/Client.md +4 -0
  1309. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  1310. package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  1311. package/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
  1312. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  1313. package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  1314. package/node_modules/undici/lib/core/symbols.js +2 -0
  1315. package/node_modules/undici/lib/dispatcher/agent.js +7 -2
  1316. package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  1317. package/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
  1318. package/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
  1319. package/node_modules/undici/lib/dispatcher/client.js +3 -2
  1320. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  1321. package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  1322. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  1323. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
  1324. package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
  1325. package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  1326. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  1327. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  1328. package/node_modules/undici/lib/handler/cache-handler.js +29 -5
  1329. package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  1330. package/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  1331. package/node_modules/undici/lib/handler/redirect-handler.js +21 -4
  1332. package/node_modules/undici/lib/handler/retry-handler.js +148 -30
  1333. package/node_modules/undici/lib/interceptor/cache.js +65 -12
  1334. package/node_modules/undici/lib/interceptor/decompress.js +115 -13
  1335. package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  1336. package/node_modules/undici/lib/interceptor/dns.js +7 -0
  1337. package/node_modules/undici/lib/interceptor/dump.js +10 -23
  1338. package/node_modules/undici/lib/mock/mock-agent.js +13 -1
  1339. package/node_modules/undici/lib/mock/mock-utils.js +11 -10
  1340. package/node_modules/undici/lib/util/cache.js +45 -3
  1341. package/node_modules/undici/lib/web/cookies/parse.js +150 -147
  1342. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  1343. package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  1344. package/node_modules/undici/lib/web/fetch/index.js +6 -0
  1345. package/node_modules/undici/lib/web/fetch/request.js +2 -3
  1346. package/node_modules/undici/lib/web/fetch/util.js +6 -1
  1347. package/node_modules/undici/lib/web/webidl/index.js +3 -3
  1348. package/node_modules/undici/lib/web/websocket/connection.js +1 -1
  1349. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  1350. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  1351. package/node_modules/undici/package.json +3 -3
  1352. package/node_modules/undici-types/package.json +1 -1
  1353. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +19 -18
  1354. package/node_modules/yaml/browser/dist/nodes/Alias.js +25 -23
  1355. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +19 -18
  1356. package/node_modules/yaml/dist/nodes/Alias.js +25 -23
  1357. package/node_modules/yaml/package.json +1 -1
  1358. package/node_modules/zod/README.md +29 -2
  1359. package/node_modules/zod/compile.cjs +96 -0
  1360. package/node_modules/zod/compile.js +52 -0
  1361. package/node_modules/zod/index.cjs +21 -2
  1362. package/node_modules/zod/index.js +5 -2
  1363. package/node_modules/zod/locales/index.cjs +19 -0
  1364. package/node_modules/zod/mini/index.cjs +19 -0
  1365. package/node_modules/zod/package.json +20 -8
  1366. package/node_modules/zod/v3/ZodError.cjs +41 -12
  1367. package/node_modules/zod/v3/ZodError.js +22 -12
  1368. package/node_modules/zod/v3/errors.cjs +19 -0
  1369. package/node_modules/zod/v3/external.cjs +19 -0
  1370. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  1371. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  1372. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  1373. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  1374. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  1375. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  1376. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  1377. package/node_modules/zod/v3/index.cjs +19 -0
  1378. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  1379. package/node_modules/zod/v3/types.cjs +26 -5
  1380. package/node_modules/zod/v3/types.js +7 -5
  1381. package/node_modules/zod/v4/classic/checks.cjs +21 -1
  1382. package/node_modules/zod/v4/classic/checks.js +1 -1
  1383. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  1384. package/node_modules/zod/v4/classic/compat.cjs +19 -0
  1385. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  1386. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  1387. package/node_modules/zod/v4/classic/errors.cjs +62 -34
  1388. package/node_modules/zod/v4/classic/errors.js +43 -34
  1389. package/node_modules/zod/v4/classic/external.cjs +51 -27
  1390. package/node_modules/zod/v4/classic/external.js +5 -8
  1391. package/node_modules/zod/v4/classic/from-json-schema.cjs +376 -75
  1392. package/node_modules/zod/v4/classic/from-json-schema.js +357 -75
  1393. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  1394. package/node_modules/zod/v4/classic/in-out.js +36 -0
  1395. package/node_modules/zod/v4/classic/index.cjs +21 -2
  1396. package/node_modules/zod/v4/classic/index.js +2 -2
  1397. package/node_modules/zod/v4/classic/iso.cjs +30 -22
  1398. package/node_modules/zod/v4/classic/iso.js +2 -17
  1399. package/node_modules/zod/v4/classic/parse.cjs +23 -1
  1400. package/node_modules/zod/v4/classic/parse.js +1 -0
  1401. package/node_modules/zod/v4/classic/schemas.cjs +591 -426
  1402. package/node_modules/zod/v4/classic/schemas.js +564 -424
  1403. package/node_modules/zod/v4/core/api.cjs +66 -24
  1404. package/node_modules/zod/v4/core/api.js +44 -24
  1405. package/node_modules/zod/v4/core/checks.cjs +88 -128
  1406. package/node_modules/zod/v4/core/checks.js +68 -127
  1407. package/node_modules/zod/v4/core/compile.cjs +1908 -0
  1408. package/node_modules/zod/v4/core/compile.js +1858 -0
  1409. package/node_modules/zod/v4/core/core.cjs +101 -19
  1410. package/node_modules/zod/v4/core/core.js +83 -20
  1411. package/node_modules/zod/v4/core/doc.cjs +31 -9
  1412. package/node_modules/zod/v4/core/doc.js +12 -9
  1413. package/node_modules/zod/v4/core/errors.cjs +126 -25
  1414. package/node_modules/zod/v4/core/errors.js +107 -25
  1415. package/node_modules/zod/v4/core/index.cjs +24 -1
  1416. package/node_modules/zod/v4/core/index.js +3 -0
  1417. package/node_modules/zod/v4/core/json-schema-generator.cjs +24 -1
  1418. package/node_modules/zod/v4/core/json-schema-generator.js +6 -2
  1419. package/node_modules/zod/v4/core/json-schema-processors.cjs +441 -156
  1420. package/node_modules/zod/v4/core/json-schema-processors.js +400 -158
  1421. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  1422. package/node_modules/zod/v4/core/memoizer.cjs +356 -0
  1423. package/node_modules/zod/v4/core/memoizer.js +307 -0
  1424. package/node_modules/zod/v4/core/parse.cjs +148 -46
  1425. package/node_modules/zod/v4/core/parse.js +127 -45
  1426. package/node_modules/zod/v4/core/regexes.cjs +54 -17
  1427. package/node_modules/zod/v4/core/regexes.js +32 -15
  1428. package/node_modules/zod/v4/core/registries.cjs +19 -0
  1429. package/node_modules/zod/v4/core/registries.js +2 -2
  1430. package/node_modules/zod/v4/core/schemas.cjs +785 -386
  1431. package/node_modules/zod/v4/core/schemas.js +753 -386
  1432. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  1433. package/node_modules/zod/v4/core/to-json-schema.cjs +269 -45
  1434. package/node_modules/zod/v4/core/to-json-schema.js +247 -44
  1435. package/node_modules/zod/v4/core/util.cjs +372 -157
  1436. package/node_modules/zod/v4/core/util.js +341 -156
  1437. package/node_modules/zod/v4/core/versions.cjs +21 -2
  1438. package/node_modules/zod/v4/core/versions.js +2 -2
  1439. package/node_modules/zod/v4/core/visit.cjs +214 -0
  1440. package/node_modules/zod/v4/core/visit.js +169 -0
  1441. package/node_modules/zod/v4/index.cjs +34 -5
  1442. package/node_modules/zod/v4/index.js +3 -2
  1443. package/node_modules/zod/v4/locales/ar.cjs +5 -0
  1444. package/node_modules/zod/v4/locales/ar.js +5 -0
  1445. package/node_modules/zod/v4/locales/az.cjs +5 -0
  1446. package/node_modules/zod/v4/locales/az.js +5 -0
  1447. package/node_modules/zod/v4/locales/be.cjs +12 -0
  1448. package/node_modules/zod/v4/locales/be.js +12 -0
  1449. package/node_modules/zod/v4/locales/bg.cjs +5 -0
  1450. package/node_modules/zod/v4/locales/bg.js +5 -0
  1451. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  1452. package/node_modules/zod/v4/locales/bn.js +113 -0
  1453. package/node_modules/zod/v4/locales/ca.cjs +5 -0
  1454. package/node_modules/zod/v4/locales/ca.js +5 -0
  1455. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  1456. package/node_modules/zod/v4/locales/ckb.js +133 -0
  1457. package/node_modules/zod/v4/locales/cs.cjs +5 -0
  1458. package/node_modules/zod/v4/locales/cs.js +5 -0
  1459. package/node_modules/zod/v4/locales/da.cjs +7 -2
  1460. package/node_modules/zod/v4/locales/da.js +7 -2
  1461. package/node_modules/zod/v4/locales/de.cjs +5 -0
  1462. package/node_modules/zod/v4/locales/de.js +5 -0
  1463. package/node_modules/zod/v4/locales/el.cjs +3 -0
  1464. package/node_modules/zod/v4/locales/el.js +3 -0
  1465. package/node_modules/zod/v4/locales/en.cjs +16 -4
  1466. package/node_modules/zod/v4/locales/en.js +16 -4
  1467. package/node_modules/zod/v4/locales/eo.cjs +5 -0
  1468. package/node_modules/zod/v4/locales/eo.js +5 -0
  1469. package/node_modules/zod/v4/locales/es.cjs +4 -0
  1470. package/node_modules/zod/v4/locales/es.js +4 -0
  1471. package/node_modules/zod/v4/locales/fa.cjs +5 -0
  1472. package/node_modules/zod/v4/locales/fa.js +5 -0
  1473. package/node_modules/zod/v4/locales/fi.cjs +5 -0
  1474. package/node_modules/zod/v4/locales/fi.js +5 -0
  1475. package/node_modules/zod/v4/locales/fr-CA.cjs +5 -0
  1476. package/node_modules/zod/v4/locales/fr-CA.js +5 -0
  1477. package/node_modules/zod/v4/locales/fr.cjs +18 -14
  1478. package/node_modules/zod/v4/locales/fr.js +18 -14
  1479. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  1480. package/node_modules/zod/v4/locales/gu.js +113 -0
  1481. package/node_modules/zod/v4/locales/he.cjs +7 -0
  1482. package/node_modules/zod/v4/locales/he.js +7 -0
  1483. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  1484. package/node_modules/zod/v4/locales/hi.js +111 -0
  1485. package/node_modules/zod/v4/locales/hr.cjs +4 -0
  1486. package/node_modules/zod/v4/locales/hr.js +4 -0
  1487. package/node_modules/zod/v4/locales/hu.cjs +5 -0
  1488. package/node_modules/zod/v4/locales/hu.js +5 -0
  1489. package/node_modules/zod/v4/locales/hy.cjs +11 -0
  1490. package/node_modules/zod/v4/locales/hy.js +11 -0
  1491. package/node_modules/zod/v4/locales/id.cjs +5 -0
  1492. package/node_modules/zod/v4/locales/id.js +5 -0
  1493. package/node_modules/zod/v4/locales/index.cjs +43 -2
  1494. package/node_modules/zod/v4/locales/index.js +11 -0
  1495. package/node_modules/zod/v4/locales/is.cjs +5 -0
  1496. package/node_modules/zod/v4/locales/is.js +5 -0
  1497. package/node_modules/zod/v4/locales/it.cjs +5 -0
  1498. package/node_modules/zod/v4/locales/it.js +5 -0
  1499. package/node_modules/zod/v4/locales/ja.cjs +5 -0
  1500. package/node_modules/zod/v4/locales/ja.js +5 -0
  1501. package/node_modules/zod/v4/locales/ka.cjs +5 -0
  1502. package/node_modules/zod/v4/locales/ka.js +5 -0
  1503. package/node_modules/zod/v4/locales/km.cjs +5 -0
  1504. package/node_modules/zod/v4/locales/km.js +5 -0
  1505. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  1506. package/node_modules/zod/v4/locales/kn.js +116 -0
  1507. package/node_modules/zod/v4/locales/ko.cjs +5 -0
  1508. package/node_modules/zod/v4/locales/ko.js +5 -0
  1509. package/node_modules/zod/v4/locales/lt.cjs +4 -0
  1510. package/node_modules/zod/v4/locales/lt.js +4 -0
  1511. package/node_modules/zod/v4/locales/mk.cjs +5 -0
  1512. package/node_modules/zod/v4/locales/mk.js +5 -0
  1513. package/node_modules/zod/v4/locales/ms.cjs +5 -0
  1514. package/node_modules/zod/v4/locales/ms.js +5 -0
  1515. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  1516. package/node_modules/zod/v4/locales/ne.js +111 -0
  1517. package/node_modules/zod/v4/locales/nl.cjs +5 -0
  1518. package/node_modules/zod/v4/locales/nl.js +5 -0
  1519. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  1520. package/node_modules/zod/v4/locales/nn.js +113 -0
  1521. package/node_modules/zod/v4/locales/no.cjs +7 -2
  1522. package/node_modules/zod/v4/locales/no.js +7 -2
  1523. package/node_modules/zod/v4/locales/ota.cjs +5 -0
  1524. package/node_modules/zod/v4/locales/ota.js +5 -0
  1525. package/node_modules/zod/v4/locales/pl.cjs +5 -0
  1526. package/node_modules/zod/v4/locales/pl.js +5 -0
  1527. package/node_modules/zod/v4/locales/ps.cjs +5 -0
  1528. package/node_modules/zod/v4/locales/ps.js +5 -0
  1529. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  1530. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  1531. package/node_modules/zod/v4/locales/pt.cjs +89 -55
  1532. package/node_modules/zod/v4/locales/pt.js +89 -55
  1533. package/node_modules/zod/v4/locales/ro.cjs +3 -0
  1534. package/node_modules/zod/v4/locales/ro.js +3 -0
  1535. package/node_modules/zod/v4/locales/ru.cjs +12 -0
  1536. package/node_modules/zod/v4/locales/ru.js +12 -0
  1537. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  1538. package/node_modules/zod/v4/locales/sk.js +116 -0
  1539. package/node_modules/zod/v4/locales/sl.cjs +5 -0
  1540. package/node_modules/zod/v4/locales/sl.js +5 -0
  1541. package/node_modules/zod/v4/locales/sv.cjs +7 -2
  1542. package/node_modules/zod/v4/locales/sv.js +7 -2
  1543. package/node_modules/zod/v4/locales/ta.cjs +5 -0
  1544. package/node_modules/zod/v4/locales/ta.js +5 -0
  1545. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  1546. package/node_modules/zod/v4/locales/tg.js +117 -0
  1547. package/node_modules/zod/v4/locales/th.cjs +5 -0
  1548. package/node_modules/zod/v4/locales/th.js +5 -0
  1549. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  1550. package/node_modules/zod/v4/locales/tk.js +107 -0
  1551. package/node_modules/zod/v4/locales/tr.cjs +5 -0
  1552. package/node_modules/zod/v4/locales/tr.js +5 -0
  1553. package/node_modules/zod/v4/locales/uk.cjs +5 -0
  1554. package/node_modules/zod/v4/locales/uk.js +5 -0
  1555. package/node_modules/zod/v4/locales/ur.cjs +5 -0
  1556. package/node_modules/zod/v4/locales/ur.js +5 -0
  1557. package/node_modules/zod/v4/locales/uz.cjs +3 -0
  1558. package/node_modules/zod/v4/locales/uz.js +3 -0
  1559. package/node_modules/zod/v4/locales/vi.cjs +5 -0
  1560. package/node_modules/zod/v4/locales/vi.js +5 -0
  1561. package/node_modules/zod/v4/locales/yo.cjs +5 -0
  1562. package/node_modules/zod/v4/locales/yo.js +5 -0
  1563. package/node_modules/zod/v4/locales/zh-CN.cjs +5 -0
  1564. package/node_modules/zod/v4/locales/zh-CN.js +5 -0
  1565. package/node_modules/zod/v4/locales/zh-TW.cjs +5 -0
  1566. package/node_modules/zod/v4/locales/zh-TW.js +5 -0
  1567. package/node_modules/zod/v4/mini/checks.cjs +21 -1
  1568. package/node_modules/zod/v4/mini/checks.js +1 -1
  1569. package/node_modules/zod/v4/mini/coerce.cjs +19 -0
  1570. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  1571. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  1572. package/node_modules/zod/v4/mini/external.cjs +33 -1
  1573. package/node_modules/zod/v4/mini/external.js +3 -1
  1574. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  1575. package/node_modules/zod/v4/mini/in-out.js +36 -0
  1576. package/node_modules/zod/v4/mini/index.cjs +19 -0
  1577. package/node_modules/zod/v4/mini/iso.cjs +19 -0
  1578. package/node_modules/zod/v4/mini/parse.cjs +22 -1
  1579. package/node_modules/zod/v4/mini/parse.js +1 -1
  1580. package/node_modules/zod/v4/mini/schemas.cjs +117 -53
  1581. package/node_modules/zod/v4/mini/schemas.js +92 -51
  1582. package/node_modules/zod/v4-mini/index.cjs +19 -0
  1583. package/package.json +3 -3
  1584. package/node_modules/@ai-sdk/code-mode/dist/run-code-mode.js +0 -549
  1585. package/node_modules/@ai-sdk/code-mode/package.json +0 -78
  1586. package/node_modules/@ai-sdk/gateway/CHANGELOG.md +0 -3067
  1587. package/node_modules/@ai-sdk/gateway/dist/index.js +0 -3208
  1588. package/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +0 -1297
  1589. package/node_modules/@ai-sdk/gateway/package.json +0 -80
  1590. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -2444
  1591. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/README.md +0 -1
  1592. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/dist/index.js +0 -4295
  1593. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/package.json +0 -82
  1594. package/node_modules/@ai-sdk/open-responses/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/LICENSE +0 -16
  1595. 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
  1596. package/node_modules/@ai-sdk/open-responses/node_modules/undici/LICENSE +0 -21
  1597. package/node_modules/@ai-sdk/open-responses/node_modules/undici/README.md +0 -741
  1598. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1599. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1600. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1601. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1602. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Client.md +0 -288
  1603. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1604. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1605. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1606. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Cookies.md +0 -128
  1607. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1608. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1609. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1610. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1611. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1612. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1613. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1614. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1615. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1616. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1617. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1618. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1619. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1620. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1621. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1622. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1623. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1624. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1625. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1626. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1627. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1628. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1629. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1630. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -275
  1631. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/Util.md +0 -25
  1632. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1633. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1634. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1635. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1636. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1637. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1638. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1639. package/node_modules/@ai-sdk/open-responses/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1640. package/node_modules/@ai-sdk/open-responses/node_modules/undici/index-fetch.js +0 -65
  1641. package/node_modules/@ai-sdk/open-responses/node_modules/undici/index.js +0 -234
  1642. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/abort-signal.js +0 -59
  1643. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-connect.js +0 -110
  1644. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1645. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-request.js +0 -214
  1646. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-stream.js +0 -209
  1647. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/api-upgrade.js +0 -111
  1648. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/index.js +0 -7
  1649. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/api/readable.js +0 -580
  1650. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
  1651. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -467
  1652. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/connect.js +0 -153
  1653. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/constants.js +0 -143
  1654. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/diagnostics.js +0 -227
  1655. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/errors.js +0 -477
  1656. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/request.js +0 -464
  1657. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/socks5-client.js +0 -422
  1658. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/socks5-utils.js +0 -212
  1659. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/symbols.js +0 -75
  1660. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/tree.js +0 -160
  1661. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/core/util.js +0 -992
  1662. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/agent.js +0 -158
  1663. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  1664. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client-h1.js +0 -1731
  1665. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  1666. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/client.js +0 -664
  1667. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
  1668. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  1669. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  1670. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1671. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1672. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  1673. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/pool.js +0 -118
  1674. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
  1675. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  1676. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  1677. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
  1678. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/encoding/index.js +0 -33
  1679. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/global.js +0 -59
  1680. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/cache-handler.js +0 -760
  1681. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  1682. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  1683. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  1684. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1685. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/retry-handler.js +0 -418
  1686. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
  1687. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  1688. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/cache.js +0 -602
  1689. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/decompress.js +0 -259
  1690. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  1691. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/dns.js +0 -571
  1692. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/dump.js +0 -112
  1693. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1694. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1695. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/interceptor/retry.js +0 -19
  1696. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1697. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/constants.js +0 -531
  1698. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1699. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1700. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/llhttp/utils.js +0 -12
  1701. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-agent.js +0 -232
  1702. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1703. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-client.js +0 -68
  1704. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1705. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  1706. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1707. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1708. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/mock-utils.js +0 -486
  1709. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1710. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  1711. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  1712. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1713. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/cache.js +0 -676
  1714. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/date.js +0 -670
  1715. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/promise.js +0 -28
  1716. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/runtime-features.js +0 -124
  1717. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/stats.js +0 -32
  1718. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/util/timers.js +0 -425
  1719. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/cache.js +0 -864
  1720. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1721. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cache/util.js +0 -45
  1722. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1723. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/index.js +0 -199
  1724. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/parse.js +0 -314
  1725. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/cookies/util.js +0 -352
  1726. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  1727. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  1728. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/eventsource/util.js +0 -29
  1729. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1730. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/body.js +0 -509
  1731. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1732. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1733. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  1734. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  1735. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/global.js +0 -40
  1736. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1737. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/index.js +0 -2413
  1738. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/request.js +0 -1115
  1739. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/response.js +0 -641
  1740. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/fetch/util.js +0 -1522
  1741. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/infra/index.js +0 -229
  1742. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1743. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1744. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/webidl/index.js +0 -1006
  1745. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1746. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1747. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/events.js +0 -331
  1748. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/frame.js +0 -133
  1749. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
  1750. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/receiver.js +0 -507
  1751. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1752. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1753. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
  1754. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/util.js +0 -347
  1755. package/node_modules/@ai-sdk/open-responses/node_modules/undici/lib/web/websocket/websocket.js +0 -758
  1756. package/node_modules/@ai-sdk/open-responses/node_modules/undici/package.json +0 -152
  1757. package/node_modules/@ai-sdk/open-responses/node_modules/undici/scripts/strip-comments.js +0 -10
  1758. package/node_modules/@ai-sdk/open-responses/node_modules/undici/types/README.md +0 -6
  1759. package/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -1218
  1760. package/node_modules/@ai-sdk/provider/package.json +0 -63
  1761. package/node_modules/@formatjs/icu-messageformat-parser/index.js +0 -2173
  1762. package/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +0 -207
  1763. package/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +0 -160
  1764. package/node_modules/@formatjs/icu-messageformat-parser/package.json +0 -21
  1765. package/node_modules/@formatjs/icu-messageformat-parser/printer.js +0 -224
  1766. package/node_modules/@maka/core/dist/deep-research-client-progress.js +0 -132
  1767. package/node_modules/@maka/core/dist/deep-research-run.js +0 -625
  1768. package/node_modules/@maka/core/dist/deep-research.js +0 -227
  1769. package/node_modules/@maka/core/dist/foreign-session.js +0 -596
  1770. package/node_modules/@maka/core/dist/task-ledger.js +0 -797
  1771. package/node_modules/@maka/core/dist/thread-search.js +0 -498
  1772. package/node_modules/@maka/eval/dist/maka-runtime-policy.js +0 -42
  1773. package/node_modules/@maka/runtime/dist/active-tool-result-prune.js +0 -334
  1774. package/node_modules/@maka/runtime/dist/active-tool-result-working-set.js +0 -218
  1775. package/node_modules/@maka/runtime/dist/archive-read-tool.js +0 -92
  1776. package/node_modules/@maka/runtime/dist/deep-research-tools.js +0 -741
  1777. package/node_modules/@maka/runtime/dist/history-tools.js +0 -429
  1778. package/node_modules/@maka/runtime/dist/provider-runtime-policy.js +0 -43
  1779. package/node_modules/@maka/runtime/dist/sandbox/diagnostics.js +0 -285
  1780. package/node_modules/@maka/runtime/dist/system-prompt/sandbox-context-prompt.js +0 -77
  1781. package/node_modules/@maka/runtime/dist/system-prompt/session-environment-prompt.js +0 -47
  1782. package/node_modules/@maka/runtime/dist/task-ledger-tools.js +0 -244
  1783. package/node_modules/@maka/runtime/dist/test-helpers.js +0 -61
  1784. package/node_modules/@maka/runtime/node_modules/@slack/types/dist/events/index.js +0 -43
  1785. package/node_modules/@maka/runtime/node_modules/@slack/types/package.json +0 -47
  1786. package/node_modules/@maka/runtime/node_modules/@slack/web-api/README.md +0 -390
  1787. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/methods.js +0 -1610
  1788. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +0 -3
  1789. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +0 -3
  1790. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +0 -3
  1791. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +0 -37
  1792. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js +0 -82
  1793. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js +0 -63
  1794. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +0 -3
  1795. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +0 -3
  1796. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +0 -3
  1797. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +0 -3
  1798. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +0 -3
  1799. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +0 -3
  1800. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +0 -3
  1801. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +0 -3
  1802. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +0 -3
  1803. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +0 -3
  1804. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +0 -3
  1805. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +0 -3
  1806. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +0 -3
  1807. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +0 -3
  1808. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +0 -3
  1809. package/node_modules/@maka/runtime/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +0 -3
  1810. package/node_modules/@maka/runtime/node_modules/@slack/web-api/package.json +0 -71
  1811. package/node_modules/@maka/runtime-host/dist/protocol/deep-research.js +0 -233
  1812. package/node_modules/@maka/runtime-host/dist/protocol/task-ledger.js +0 -321
  1813. package/node_modules/@maka/runtime-host/dist/server/deep-research-coordinator.js +0 -116
  1814. package/node_modules/@maka/runtime-host/dist/server/task-ledger-coordinator.js +0 -154
  1815. package/node_modules/@maka/storage/dist/artifact-storage-layout.js +0 -26
  1816. package/node_modules/@maka/storage/dist/deep-research-authority.js +0 -129
  1817. package/node_modules/@maka/storage/dist/deep-research-store.js +0 -343
  1818. package/node_modules/@maka/storage/dist/foreign-session-store.js +0 -641
  1819. package/node_modules/@maka/storage/dist/provider-request-capture-artifact.js +0 -31
  1820. package/node_modules/@maka/storage/dist/task-ledger-authority.js +0 -121
  1821. package/node_modules/@maka/storage/dist/task-ledger-store-internal.js +0 -32
  1822. package/node_modules/@maka/storage/dist/task-ledger-store.js +0 -663
  1823. package/node_modules/ai/CHANGELOG.md +0 -9971
  1824. package/node_modules/ai/dist/index.js +0 -18513
  1825. package/node_modules/ai/dist/internal/index.js +0 -3680
  1826. package/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +0 -179
  1827. package/node_modules/ai/docs/03-agents/04-loop-control.mdx +0 -515
  1828. package/node_modules/ai/docs/03-agents/06-policy-tool-approvals.mdx +0 -412
  1829. package/node_modules/ai/docs/03-agents/06-tool-approvals.mdx +0 -326
  1830. package/node_modules/ai/docs/03-agents/07-workflow-agent.mdx +0 -718
  1831. package/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +0 -513
  1832. package/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +0 -1509
  1833. package/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +0 -617
  1834. package/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +0 -344
  1835. package/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +0 -332
  1836. package/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +0 -180
  1837. package/node_modules/ai/docs/03-ai-sdk-core/39-file-uploads.mdx +0 -155
  1838. package/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +0 -149
  1839. package/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +0 -830
  1840. package/node_modules/ai/docs/03-ai-sdk-core/index.mdx +0 -132
  1841. package/node_modules/ai/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +0 -495
  1842. package/node_modules/ai/docs/03-ai-sdk-harnesses/04-skills.mdx +0 -65
  1843. package/node_modules/ai/docs/03-ai-sdk-harnesses/05-harness-adapters.mdx +0 -45
  1844. package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +0 -798
  1845. package/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +0 -401
  1846. package/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +0 -212
  1847. package/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +0 -578
  1848. package/node_modules/ai/docs/06-advanced/04-caching.mdx +0 -175
  1849. package/node_modules/ai/docs/06-advanced/11-secure-url-fetching.mdx +0 -111
  1850. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +0 -3253
  1851. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +0 -4261
  1852. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +0 -304
  1853. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +0 -302
  1854. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +0 -317
  1855. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +0 -252
  1856. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/14-upload-file.mdx +0 -92
  1857. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +0 -1102
  1858. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +0 -342
  1859. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +0 -268
  1860. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +0 -145
  1861. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +0 -225
  1862. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +0 -493
  1863. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +0 -256
  1864. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +0 -166
  1865. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +0 -120
  1866. package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/01-workflow-agent.mdx +0 -954
  1867. package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/02-workflow-chat-transport.mdx +0 -347
  1868. package/node_modules/ai/docs/07-reference/04-ai-sdk-workflow/index.mdx +0 -26
  1869. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +0 -26
  1870. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +0 -36
  1871. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +0 -41
  1872. package/node_modules/ai/package.json +0 -117
  1873. package/node_modules/intl-messageformat/intl-messageformat.iife.js +0 -2807
  1874. package/node_modules/intl-messageformat/package.json +0 -40
  1875. package/node_modules/socks/.eslintrc.cjs +0 -11
  1876. /package/node_modules/@ai-sdk/{code-mode → anthropic/node_modules/@ai-sdk/provider}/LICENSE +0 -0
  1877. /package/node_modules/@ai-sdk/{provider → anthropic/node_modules/@ai-sdk/provider}/README.md +0 -0
  1878. /package/node_modules/@ai-sdk/{provider → anthropic/node_modules/@ai-sdk/provider}/dist/index.js +0 -0
  1879. /package/node_modules/@ai-sdk/{gateway → cohere/node_modules/@ai-sdk/provider}/LICENSE +0 -0
  1880. /package/node_modules/@ai-sdk/{provider → google/node_modules/@ai-sdk/provider}/LICENSE +0 -0
  1881. /package/node_modules/{ai → @ai-sdk/openai-compatible/node_modules/@ai-sdk/provider}/LICENSE +0 -0
  1882. /package/node_modules/@maka/{storage/dist/artifact-metadata-repository.js → core/dist/client-plugin-bridge.js} +0 -0
  1883. /package/node_modules/{@formatjs → @maka/core/node_modules/@formatjs}/icu-messageformat-parser/LICENSE.md +0 -0
  1884. /package/node_modules/{@formatjs → @maka/core/node_modules/@formatjs}/icu-messageformat-parser/README.md +0 -0
  1885. /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/LICENSE.md +0 -0
  1886. /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/README.md +0 -0
  1887. /package/node_modules/{intl-messageformat → @maka/core/node_modules/intl-messageformat}/index.js +0 -0
  1888. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/README.md +0 -0
  1889. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/approval-continuation.js +0 -0
  1890. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/approval.js +0 -0
  1891. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/code-mode-tool.js +0 -0
  1892. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/continuation-capability.js +0 -0
  1893. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/direct-tool-call.js +0 -0
  1894. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/errors.js +0 -0
  1895. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/host-interrupt.js +0 -0
  1896. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/index.js +0 -0
  1897. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/interrupt-continuation.js +0 -0
  1898. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/tool-invocation.js +0 -0
  1899. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/tool-prompt.js +0 -0
  1900. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/types.js +0 -0
  1901. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/dist/utils/serialization.js +0 -0
  1902. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/code-mode/src/tsconfig.json +0 -0
  1903. /package/node_modules/{@ai-sdk → @maka/runtime/node_modules/@ai-sdk}/gateway/README.md +0 -0
  1904. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/README.md +0 -0
  1905. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/00-introduction/index.mdx +0 -0
  1906. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/01-overview.mdx +0 -0
  1907. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/03-prompts.mdx +0 -0
  1908. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/04-tools.mdx +0 -0
  1909. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/05-streaming.mdx +0 -0
  1910. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/06-provider-options.mdx +0 -0
  1911. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-foundations/index.mdx +0 -0
  1912. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/00-choosing-a-provider.mdx +0 -0
  1913. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/01-navigating-the-library.mdx +0 -0
  1914. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/02-nextjs-app-router.mdx +0 -0
  1915. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/03-nextjs-pages-router.mdx +0 -0
  1916. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/04-svelte.mdx +0 -0
  1917. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/05-nuxt.mdx +0 -0
  1918. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/06-nodejs.mdx +0 -0
  1919. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/07-expo.mdx +0 -0
  1920. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/08-tanstack-start.mdx +0 -0
  1921. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/09-coding-agents.mdx +0 -0
  1922. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/02-getting-started/index.mdx +0 -0
  1923. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/01-overview.mdx +0 -0
  1924. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/02-building-agents.mdx +0 -0
  1925. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/03-workflows.mdx +0 -0
  1926. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/05-configuring-call-options.mdx +0 -0
  1927. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/06-memory.mdx +0 -0
  1928. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/06-subagents.mdx +0 -0
  1929. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/08-terminal-ui.mdx +0 -0
  1930. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-agents/index.mdx +0 -0
  1931. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/01-overview.mdx +0 -0
  1932. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/05-generating-text.mdx +0 -0
  1933. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/17-mcp-apps.mdx +0 -0
  1934. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/17-runtime-and-tool-context.mdx +0 -0
  1935. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/18-code-mode.mdx +0 -0
  1936. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/20-prompt-engineering.mdx +0 -0
  1937. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/25-settings.mdx +0 -0
  1938. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/26-reasoning.mdx +0 -0
  1939. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/30-embeddings.mdx +0 -0
  1940. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/31-reranking.mdx +0 -0
  1941. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/36-realtime.mdx +0 -0
  1942. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/36-translation.mdx +0 -0
  1943. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/38-video-generation.mdx +0 -0
  1944. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/40-middleware.mdx +0 -0
  1945. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/41-skill-uploads.mdx +0 -0
  1946. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/45-provider-management.mdx +0 -0
  1947. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/55-testing.mdx +0 -0
  1948. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/65-devtools.mdx +0 -0
  1949. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-core/65-lifecycle-callbacks.mdx +0 -0
  1950. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/01-overview.mdx +0 -0
  1951. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/03-tools.mdx +0 -0
  1952. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/06-workflow-utilities.mdx +0 -0
  1953. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/07-ui.mdx +0 -0
  1954. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/08-terminal-ui.mdx +0 -0
  1955. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/03-ai-sdk-harnesses/index.mdx +0 -0
  1956. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/01-overview.mdx +0 -0
  1957. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/02-chatbot.mdx +0 -0
  1958. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +0 -0
  1959. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +0 -0
  1960. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/04-generative-user-interfaces.mdx +0 -0
  1961. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/05-completion.mdx +0 -0
  1962. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/08-object-generation.mdx +0 -0
  1963. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/21-error-handling.mdx +0 -0
  1964. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/24-reading-ui-message-streams.mdx +0 -0
  1965. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/25-message-metadata.mdx +0 -0
  1966. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/04-ai-sdk-ui/index.mdx +0 -0
  1967. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/01-overview.mdx +0 -0
  1968. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +0 -0
  1969. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/03-generative-ui-state.mdx +0 -0
  1970. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/03-saving-and-restoring-states.mdx +0 -0
  1971. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +0 -0
  1972. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/05-streaming-values.mdx +0 -0
  1973. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/06-loading-state.mdx +0 -0
  1974. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/08-error-handling.mdx +0 -0
  1975. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/09-authentication.mdx +0 -0
  1976. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +0 -0
  1977. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/05-ai-sdk-rsc/index.mdx +0 -0
  1978. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/01-prompt-engineering.mdx +0 -0
  1979. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/02-stopping-streams.mdx +0 -0
  1980. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/03-backpressure.mdx +0 -0
  1981. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/05-multiple-streamables.mdx +0 -0
  1982. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/06-rate-limiting.mdx +0 -0
  1983. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/07-rendering-ui-with-language-models.mdx +0 -0
  1984. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/08-model-as-router.mdx +0 -0
  1985. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/09-multistep-interfaces.mdx +0 -0
  1986. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/09-sequential-generations.mdx +0 -0
  1987. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/10-vercel-deployment-guide.mdx +0 -0
  1988. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/06-advanced/index.mdx +0 -0
  1989. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/11-stream-transcribe.mdx +0 -0
  1990. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/11-stream-translate.mdx +0 -0
  1991. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +0 -0
  1992. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +0 -0
  1993. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/13-generate-video.mdx +0 -0
  1994. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/14-upload-skill.mdx +0 -0
  1995. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/15-agent.mdx +0 -0
  1996. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/17-create-agent-ui-stream.mdx +0 -0
  1997. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/18-create-agent-ui-stream-response.mdx +0 -0
  1998. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/18-pipe-agent-ui-stream-to-response.mdx +0 -0
  1999. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/20-tool.mdx +0 -0
  2000. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +0 -0
  2001. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +0 -0
  2002. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/23-get-realtime-tool-definitions.mdx +0 -0
  2003. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/24-mcp-apps.mdx +0 -0
  2004. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/24-mcp-stdio-transport.mdx +0 -0
  2005. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/25-json-schema.mdx +0 -0
  2006. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/26-zod-schema.mdx +0 -0
  2007. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/27-valibot-schema.mdx +0 -0
  2008. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/29-filter-active-tools.mdx +0 -0
  2009. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/30-model-message.mdx +0 -0
  2010. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +0 -0
  2011. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +0 -0
  2012. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/34-sandbox.mdx +0 -0
  2013. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +0 -0
  2014. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +0 -0
  2015. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/50-cosine-similarity.mdx +0 -0
  2016. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +0 -0
  2017. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +0 -0
  2018. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/65-language-model-v2-middleware.mdx +0 -0
  2019. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/66-extract-reasoning-middleware.mdx +0 -0
  2020. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/67-simulate-streaming-middleware.mdx +0 -0
  2021. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/68-default-instructions-middleware.mdx +0 -0
  2022. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/68-default-settings-middleware.mdx +0 -0
  2023. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/69-add-tool-input-examples-middleware.mdx +0 -0
  2024. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/70-extract-json-middleware.mdx +0 -0
  2025. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/70-is-step-count.mdx +0 -0
  2026. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/71-has-tool-call.mdx +0 -0
  2027. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/72-loop-finished.mdx +0 -0
  2028. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/75-simulate-readable-stream.mdx +0 -0
  2029. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/90-generate-id.mdx +0 -0
  2030. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/91-create-id-generator.mdx +0 -0
  2031. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/01-ai-sdk-core/92-default-generated-file.mdx +0 -0
  2032. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/02-use-completion.mdx +0 -0
  2033. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +0 -0
  2034. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/05-use-realtime.mdx +0 -0
  2035. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/32-prune-messages.mdx +0 -0
  2036. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/42-pipe-ui-message-stream-to-response.mdx +0 -0
  2037. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/43-read-ui-message-stream.mdx +0 -0
  2038. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/46-infer-ui-tools.mdx +0 -0
  2039. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/47-infer-ui-tool.mdx +0 -0
  2040. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/48-mcp-app-renderer.mdx +0 -0
  2041. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +0 -0
  2042. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/02-ai-sdk-ui/index.mdx +0 -0
  2043. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +0 -0
  2044. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +0 -0
  2045. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +0 -0
  2046. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/04-create-streamable-value.mdx +0 -0
  2047. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/05-read-streamable-value.mdx +0 -0
  2048. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/06-get-ai-state.mdx +0 -0
  2049. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/07-get-mutable-ai-state.mdx +0 -0
  2050. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/08-use-ai-state.mdx +0 -0
  2051. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/09-use-actions.mdx +0 -0
  2052. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/10-use-ui-state.mdx +0 -0
  2053. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/11-use-streamable-value.mdx +0 -0
  2054. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/20-render.mdx +0 -0
  2055. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/03-ai-sdk-rsc/index.mdx +0 -0
  2056. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +0 -0
  2057. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-download-error.mdx +0 -0
  2058. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-empty-response-body-error.mdx +0 -0
  2059. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-data-content-error.mdx +0 -0
  2060. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-message-role-error.mdx +0 -0
  2061. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-prompt-error.mdx +0 -0
  2062. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-response-data-error.mdx +0 -0
  2063. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-error.mdx +0 -0
  2064. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-signature-error.mdx +0 -0
  2065. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-input-error.mdx +0 -0
  2066. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-json-parse-error.mdx +0 -0
  2067. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-load-api-key-error.mdx +0 -0
  2068. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-load-setting-error.mdx +0 -0
  2069. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-message-conversion-error.mdx +0 -0
  2070. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-content-generated-error.mdx +0 -0
  2071. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-object-generated-error.mdx +0 -0
  2072. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-output-generated-error.mdx +0 -0
  2073. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-speech-generated-error.mdx +0 -0
  2074. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +0 -0
  2075. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +0 -0
  2076. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-reference-error.mdx +0 -0
  2077. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-such-tool-error.mdx +0 -0
  2078. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-transcript-generated-error.mdx +0 -0
  2079. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-translation-generated-error.mdx +0 -0
  2080. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-no-video-generated-error.mdx +0 -0
  2081. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-retry-error.mdx +0 -0
  2082. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-too-many-embedding-values-for-call-error.mdx +0 -0
  2083. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-call-not-found-for-approval-error.mdx +0 -0
  2084. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-tool-call-repair-error.mdx +0 -0
  2085. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-type-validation-error.mdx +0 -0
  2086. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +0 -0
  2087. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/05-ai-sdk-errors/ai-unsupported-functionality-error.mdx +0 -0
  2088. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/06-ai-sdk-tui/01-run-agent-tui.mdx +0 -0
  2089. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/06-ai-sdk-tui/index.mdx +0 -0
  2090. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/07-reference/index.mdx +0 -0
  2091. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/00-versioning.mdx +0 -0
  2092. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/23-migration-guide-7-0.mdx +0 -0
  2093. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/24-migration-guide-6-0.mdx +0 -0
  2094. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/25-migration-guide-5-0-data.mdx +0 -0
  2095. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/26-migration-guide-5-0.mdx +0 -0
  2096. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/27-migration-guide-4-2.mdx +0 -0
  2097. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/28-migration-guide-4-1.mdx +0 -0
  2098. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/29-migration-guide-4-0.mdx +0 -0
  2099. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/36-migration-guide-3-4.mdx +0 -0
  2100. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/37-migration-guide-3-3.mdx +0 -0
  2101. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/38-migration-guide-3-2.mdx +0 -0
  2102. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/39-migration-guide-3-1.mdx +0 -0
  2103. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/08-migration-guides/index.mdx +0 -0
  2104. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/01-azure-stream-slow.mdx +0 -0
  2105. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/03-server-actions-in-client-components.mdx +0 -0
  2106. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/04-strange-stream-output.mdx +0 -0
  2107. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/05-streamable-ui-errors.mdx +0 -0
  2108. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/05-tool-invocation-missing-result.mdx +0 -0
  2109. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/06-streaming-not-working-when-deployed.mdx +0 -0
  2110. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/06-streaming-not-working-when-proxied.mdx +0 -0
  2111. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/06-timeout-on-vercel.mdx +0 -0
  2112. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/07-unclosed-streams.mdx +0 -0
  2113. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/08-use-chat-failed-to-parse-stream.mdx +0 -0
  2114. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/09-client-stream-error.mdx +0 -0
  2115. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/10-use-chat-tools-no-response.mdx +0 -0
  2116. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +0 -0
  2117. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/12-typescript-performance-zod.mdx +0 -0
  2118. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/12-use-chat-an-error-occurred.mdx +0 -0
  2119. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +0 -0
  2120. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/14-stream-abort-handling.mdx +0 -0
  2121. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/14-tool-calling-with-structured-outputs.mdx +0 -0
  2122. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/15-abort-breaks-resumable-streams.mdx +0 -0
  2123. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/15-stream-text-not-working.mdx +0 -0
  2124. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/16-streaming-status-delay.mdx +0 -0
  2125. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +0 -0
  2126. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/18-ontoolcall-type-narrowing.mdx +0 -0
  2127. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/19-unsupported-model-version.mdx +0 -0
  2128. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/20-no-object-generated-content-filter.mdx +0 -0
  2129. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/21-missing-tool-results-error.mdx +0 -0
  2130. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/30-model-is-not-assignable-to-type.mdx +0 -0
  2131. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/40-typescript-cannot-find-namespace-jsx.mdx +0 -0
  2132. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/50-react-maximum-update-depth-exceeded.mdx +0 -0
  2133. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/60-jest-cannot-find-module-ai-rsc.mdx +0 -0
  2134. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +0 -0
  2135. /package/node_modules/{ai → @maka/runtime/node_modules/ai}/docs/09-troubleshooting/index.mdx +0 -0
  2136. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/LICENSE +0 -0
  2137. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/README.md +0 -0
  2138. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/dist/index.js +0 -0
  2139. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/logger/package.json +0 -0
  2140. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/LICENSE +0 -0
  2141. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/README.md +0 -0
  2142. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/block-elements.js +0 -0
  2143. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/blocks.js +0 -0
  2144. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/composition-objects.js +0 -0
  2145. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/block-kit/extensions.js +0 -0
  2146. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/calls.js +0 -0
  2147. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/chunk.js +0 -0
  2148. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/common/bot-profile.js +0 -0
  2149. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/common/status-emoji-display-info.js +0 -0
  2150. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/dialog.js +0 -0
  2151. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/app.js +0 -0
  2152. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/assistant.js +0 -0
  2153. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/call.js +0 -0
  2154. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/channel.js +0 -0
  2155. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/dnd.js +0 -0
  2156. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/email.js +0 -0
  2157. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/emoji.js +0 -0
  2158. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/entity-details-requested.js +0 -0
  2159. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/file.js +0 -0
  2160. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/function.js +0 -0
  2161. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/grid-migration.js +0 -0
  2162. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/group.js +0 -0
  2163. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/im.js +0 -0
  2164. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/invite.js +0 -0
  2165. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/link-shared.js +0 -0
  2166. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/member.js +0 -0
  2167. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/message-metadata.js +0 -0
  2168. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/message.js +0 -0
  2169. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/pin.js +0 -0
  2170. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/reaction.js +0 -0
  2171. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/shared-channel.js +0 -0
  2172. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/star.js +0 -0
  2173. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/steps-from-apps.js +0 -0
  2174. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/subteam.js +0 -0
  2175. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/team.js +0 -0
  2176. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/token.js +0 -0
  2177. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/events/user.js +0 -0
  2178. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/index.js +0 -0
  2179. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/message-attachments.js +0 -0
  2180. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/message-metadata.js +0 -0
  2181. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/types/dist/views.js +0 -0
  2182. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/LICENSE +0 -0
  2183. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/WebClient.js +0 -0
  2184. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/chat-stream.js +0 -0
  2185. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/errors.js +0 -0
  2186. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/file-upload.js +0 -0
  2187. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/helpers.js +0 -0
  2188. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/index.js +0 -0
  2189. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/instrument.js +0 -0
  2190. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/logger.js +0 -0
  2191. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/retry-policies.js +0 -0
  2192. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/helpers.js +0 -0
  2193. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/analytics.js +0 -0
  2194. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/apps.js +0 -0
  2195. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/auth.js +0 -0
  2196. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/barriers.js +0 -0
  2197. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/conversations.js +0 -0
  2198. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/emoji.js +0 -0
  2199. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/functions.js +0 -0
  2200. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/inviteRequests.js +0 -0
  2201. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/roles.js +0 -0
  2202. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/teams.js +0 -0
  2203. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/usergroups.js +0 -0
  2204. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/users.js +0 -0
  2205. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/admin/workflows.js +0 -0
  2206. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/api.js +0 -0
  2207. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/apps.js +0 -0
  2208. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/assistant.js +0 -0
  2209. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/auth.js +0 -0
  2210. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/bookmarks.js +0 -0
  2211. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/bots.js +0 -0
  2212. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/calls.js +0 -0
  2213. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/canvas.js +0 -0
  2214. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/chat.js +0 -0
  2215. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/common.js +0 -0
  2216. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/conversations.js +0 -0
  2217. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/dialog.js +0 -0
  2218. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/dnd.js +0 -0
  2219. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/emoji.js +0 -0
  2220. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/entity.js +0 -0
  2221. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/files.js +0 -0
  2222. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/functions.js +0 -0
  2223. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/index.js +0 -0
  2224. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/manifest.js +0 -0
  2225. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/migration.js +0 -0
  2226. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/oauth.js +0 -0
  2227. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/openid.js +0 -0
  2228. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/pins.js +0 -0
  2229. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/reactions.js +0 -0
  2230. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/reminders.js +0 -0
  2231. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/rtm.js +0 -0
  2232. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/search.js +0 -0
  2233. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/slackLists.js +0 -0
  2234. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/stars.js +0 -0
  2235. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/team.js +0 -0
  2236. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/tooling.js +0 -0
  2237. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/usergroups.js +0 -0
  2238. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/users.js +0 -0
  2239. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/views.js +0 -0
  2240. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/request/workflows.js +0 -0
  2241. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAnalyticsGetFileResponse.js +0 -0
  2242. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsActivitiesListResponse.js +0 -0
  2243. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsApproveResponse.js +0 -0
  2244. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsApprovedListResponse.js +0 -0
  2245. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsClearResolutionResponse.js +0 -0
  2246. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsConfigLookupResponse.js +0 -0
  2247. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsConfigSetResponse.js +0 -0
  2248. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRequestsCancelResponse.js +0 -0
  2249. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRequestsListResponse.js +0 -0
  2250. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRestrictResponse.js +0 -0
  2251. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsRestrictedListResponse.js +0 -0
  2252. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAppsUninstallResponse.js +0 -0
  2253. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyAssignEntitiesResponse.js +0 -0
  2254. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyGetEntitiesResponse.js +0 -0
  2255. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminAuthPolicyRemoveEntitiesResponse.js +0 -0
  2256. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersCreateResponse.js +0 -0
  2257. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersDeleteResponse.js +0 -0
  2258. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersListResponse.js +0 -0
  2259. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminBarriersUpdateResponse.js +0 -0
  2260. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsArchiveResponse.js +0 -0
  2261. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkArchiveResponse.js +0 -0
  2262. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkDeleteResponse.js +0 -0
  2263. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsBulkMoveResponse.js +0 -0
  2264. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsConvertToPrivateResponse.js +0 -0
  2265. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsConvertToPublicResponse.js +0 -0
  2266. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsCreateResponse.js +0 -0
  2267. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsDeleteResponse.js +0 -0
  2268. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsDisconnectSharedResponse.js +0 -0
  2269. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.js +0 -0
  2270. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetConversationPrefsResponse.js +0 -0
  2271. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetCustomRetentionResponse.js +0 -0
  2272. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsGetTeamsResponse.js +0 -0
  2273. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsInviteResponse.js +0 -0
  2274. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsLookupResponse.js +0 -0
  2275. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRemoveCustomRetentionResponse.js +0 -0
  2276. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRenameResponse.js +0 -0
  2277. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessAddGroupResponse.js +0 -0
  2278. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessListGroupsResponse.js +0 -0
  2279. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.js +0 -0
  2280. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSearchResponse.js +0 -0
  2281. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetConversationPrefsResponse.js +0 -0
  2282. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetCustomRetentionResponse.js +0 -0
  2283. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsSetTeamsResponse.js +0 -0
  2284. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsUnarchiveResponse.js +0 -0
  2285. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistAddResponse.js +0 -0
  2286. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.js +0 -0
  2287. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminConversationsWhitelistRemoveResponse.js +0 -0
  2288. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiAddAliasResponse.js +0 -0
  2289. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiAddResponse.js +0 -0
  2290. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiListResponse.js +0 -0
  2291. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiRemoveResponse.js +0 -0
  2292. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminEmojiRenameResponse.js +0 -0
  2293. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsListResponse.js +0 -0
  2294. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.js +0 -0
  2295. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminFunctionsPermissionsSetResponse.js +0 -0
  2296. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsApproveResponse.js +0 -0
  2297. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsApprovedListResponse.js +0 -0
  2298. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsDeniedListResponse.js +0 -0
  2299. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsDenyResponse.js +0 -0
  2300. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminInviteRequestsListResponse.js +0 -0
  2301. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesAddAssignmentsResponse.js +0 -0
  2302. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesListAssignmentsResponse.js +0 -0
  2303. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminRolesRemoveAssignmentsResponse.js +0 -0
  2304. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsAdminsListResponse.js +0 -0
  2305. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsCreateResponse.js +0 -0
  2306. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsListResponse.js +0 -0
  2307. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsOwnersListResponse.js +0 -0
  2308. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsInfoResponse.js +0 -0
  2309. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.js +0 -0
  2310. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDescriptionResponse.js +0 -0
  2311. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.js +0 -0
  2312. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetIconResponse.js +0 -0
  2313. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminTeamsSettingsSetNameResponse.js +0 -0
  2314. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsAddChannelsResponse.js +0 -0
  2315. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsAddTeamsResponse.js +0 -0
  2316. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsListChannelsResponse.js +0 -0
  2317. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsergroupsRemoveChannelsResponse.js +0 -0
  2318. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersAssignResponse.js +0 -0
  2319. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersInviteResponse.js +0 -0
  2320. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersListResponse.js +0 -0
  2321. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersRemoveResponse.js +0 -0
  2322. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionClearSettingsResponse.js +0 -0
  2323. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionGetSettingsResponse.js +0 -0
  2324. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionInvalidateResponse.js +0 -0
  2325. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionListResponse.js +0 -0
  2326. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionResetBulkResponse.js +0 -0
  2327. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionResetResponse.js +0 -0
  2328. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSessionSetSettingsResponse.js +0 -0
  2329. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetAdminResponse.js +0 -0
  2330. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetExpirationResponse.js +0 -0
  2331. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetOwnerResponse.js +0 -0
  2332. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersSetRegularResponse.js +0 -0
  2333. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminUsersUnsupportedVersionsExportResponse.js +0 -0
  2334. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsCollaboratorsAddResponse.js +0 -0
  2335. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsCollaboratorsRemoveResponse.js +0 -0
  2336. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsPermissionsLookupResponse.js +0 -0
  2337. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsSearchResponse.js +0 -0
  2338. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AdminWorkflowsUnpublishResponse.js +0 -0
  2339. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ApiTestResponse.js +0 -0
  2340. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsConnectionsOpenResponse.js +0 -0
  2341. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsEventAuthorizationsListResponse.js +0 -0
  2342. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestCreateResponse.js +0 -0
  2343. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestDeleteResponse.js +0 -0
  2344. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestExportResponse.js +0 -0
  2345. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestUpdateResponse.js +0 -0
  2346. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsManifestValidateResponse.js +0 -0
  2347. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsInfoResponse.js +0 -0
  2348. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsRequestResponse.js +0 -0
  2349. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsResourcesListResponse.js +0 -0
  2350. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsScopesListResponse.js +0 -0
  2351. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsUsersListResponse.js +0 -0
  2352. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsPermissionsUsersRequestResponse.js +0 -0
  2353. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsUninstallResponse.js +0 -0
  2354. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +0 -0
  2355. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetStatusResponse.js +0 -0
  2356. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetSuggestedPromptsResponse.js +0 -0
  2357. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AssistantThreadsSetTitleResponse.js +0 -0
  2358. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthRevokeResponse.js +0 -0
  2359. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthTeamsListResponse.js +0 -0
  2360. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/AuthTestResponse.js +0 -0
  2361. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksAddResponse.js +0 -0
  2362. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksEditResponse.js +0 -0
  2363. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksListResponse.js +0 -0
  2364. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BookmarksRemoveResponse.js +0 -0
  2365. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/BotsInfoResponse.js +0 -0
  2366. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsAddResponse.js +0 -0
  2367. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsEndResponse.js +0 -0
  2368. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsInfoResponse.js +0 -0
  2369. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsParticipantsAddResponse.js +0 -0
  2370. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsParticipantsRemoveResponse.js +0 -0
  2371. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CallsUpdateResponse.js +0 -0
  2372. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesAccessDeleteResponse.js +0 -0
  2373. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesAccessSetResponse.js +0 -0
  2374. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesCreateResponse.js +0 -0
  2375. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesDeleteResponse.js +0 -0
  2376. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesEditResponse.js +0 -0
  2377. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/CanvasesSectionsLookupResponse.js +0 -0
  2378. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsArchiveResponse.js +0 -0
  2379. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsCreateResponse.js +0 -0
  2380. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsHistoryResponse.js +0 -0
  2381. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsInfoResponse.js +0 -0
  2382. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsInviteResponse.js +0 -0
  2383. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsJoinResponse.js +0 -0
  2384. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsKickResponse.js +0 -0
  2385. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsLeaveResponse.js +0 -0
  2386. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsListResponse.js +0 -0
  2387. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsMarkResponse.js +0 -0
  2388. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsRenameResponse.js +0 -0
  2389. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsRepliesResponse.js +0 -0
  2390. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsSetPurposeResponse.js +0 -0
  2391. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsSetTopicResponse.js +0 -0
  2392. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChannelsUnarchiveResponse.js +0 -0
  2393. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatDeleteResponse.js +0 -0
  2394. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatDeleteScheduledMessageResponse.js +0 -0
  2395. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatGetPermalinkResponse.js +0 -0
  2396. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatMeMessageResponse.js +0 -0
  2397. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatPostEphemeralResponse.js +0 -0
  2398. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatPostMessageResponse.js +0 -0
  2399. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatScheduleMessageResponse.js +0 -0
  2400. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatScheduledMessagesListResponse.js +0 -0
  2401. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatUnfurlResponse.js +0 -0
  2402. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ChatUpdateResponse.js +0 -0
  2403. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsAcceptSharedInviteResponse.js +0 -0
  2404. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsApproveSharedInviteResponse.js +0 -0
  2405. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsArchiveResponse.js +0 -0
  2406. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCanvasesCreateResponse.js +0 -0
  2407. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCloseResponse.js +0 -0
  2408. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsCreateResponse.js +0 -0
  2409. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsDeclineSharedInviteResponse.js +0 -0
  2410. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsExternalInvitePermissionsSetResponse.js +0 -0
  2411. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsHistoryResponse.js +0 -0
  2412. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInfoResponse.js +0 -0
  2413. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInviteResponse.js +0 -0
  2414. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsInviteSharedResponse.js +0 -0
  2415. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsJoinResponse.js +0 -0
  2416. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsKickResponse.js +0 -0
  2417. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsLeaveResponse.js +0 -0
  2418. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsListConnectInvitesResponse.js +0 -0
  2419. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsListResponse.js +0 -0
  2420. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsMarkResponse.js +0 -0
  2421. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsMembersResponse.js +0 -0
  2422. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsOpenResponse.js +0 -0
  2423. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRenameResponse.js +0 -0
  2424. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRepliesResponse.js +0 -0
  2425. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteApproveResponse.js +0 -0
  2426. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteDenyResponse.js +0 -0
  2427. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.js +0 -0
  2428. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsSetPurposeResponse.js +0 -0
  2429. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsSetTopicResponse.js +0 -0
  2430. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ConversationsUnarchiveResponse.js +0 -0
  2431. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DialogOpenResponse.js +0 -0
  2432. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndEndDndResponse.js +0 -0
  2433. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndEndSnoozeResponse.js +0 -0
  2434. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndInfoResponse.js +0 -0
  2435. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndSetSnoozeResponse.js +0 -0
  2436. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/DndTeamInfoResponse.js +0 -0
  2437. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/EmojiListResponse.js +0 -0
  2438. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/EntityPresentDetailsResponse.js +0 -0
  2439. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsAddResponse.js +0 -0
  2440. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsDeleteResponse.js +0 -0
  2441. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCommentsEditResponse.js +0 -0
  2442. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesCompleteUploadExternalResponse.js +0 -0
  2443. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesDeleteResponse.js +0 -0
  2444. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesGetUploadURLExternalResponse.js +0 -0
  2445. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesInfoResponse.js +0 -0
  2446. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesListResponse.js +0 -0
  2447. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteAddResponse.js +0 -0
  2448. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteInfoResponse.js +0 -0
  2449. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteListResponse.js +0 -0
  2450. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteRemoveResponse.js +0 -0
  2451. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteShareResponse.js +0 -0
  2452. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRemoteUpdateResponse.js +0 -0
  2453. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesRevokePublicURLResponse.js +0 -0
  2454. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesSharedPublicURLResponse.js +0 -0
  2455. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FilesUploadResponse.js +0 -0
  2456. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FunctionsCompleteErrorResponse.js +0 -0
  2457. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/FunctionsCompleteSuccessResponse.js +0 -0
  2458. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsArchiveResponse.js +0 -0
  2459. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCloseResponse.js +0 -0
  2460. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCreateChildResponse.js +0 -0
  2461. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsCreateResponse.js +0 -0
  2462. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsHistoryResponse.js +0 -0
  2463. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsInfoResponse.js +0 -0
  2464. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsInviteResponse.js +0 -0
  2465. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsKickResponse.js +0 -0
  2466. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsLeaveResponse.js +0 -0
  2467. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsListResponse.js +0 -0
  2468. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsMarkResponse.js +0 -0
  2469. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsOpenResponse.js +0 -0
  2470. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsRenameResponse.js +0 -0
  2471. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsRepliesResponse.js +0 -0
  2472. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsSetPurposeResponse.js +0 -0
  2473. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsSetTopicResponse.js +0 -0
  2474. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/GroupsUnarchiveResponse.js +0 -0
  2475. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImCloseResponse.js +0 -0
  2476. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImHistoryResponse.js +0 -0
  2477. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImListResponse.js +0 -0
  2478. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImMarkResponse.js +0 -0
  2479. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImOpenResponse.js +0 -0
  2480. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ImRepliesResponse.js +0 -0
  2481. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MigrationExchangeResponse.js +0 -0
  2482. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimCloseResponse.js +0 -0
  2483. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimHistoryResponse.js +0 -0
  2484. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimListResponse.js +0 -0
  2485. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimMarkResponse.js +0 -0
  2486. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimOpenResponse.js +0 -0
  2487. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/MpimRepliesResponse.js +0 -0
  2488. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthAccessResponse.js +0 -0
  2489. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthTokenResponse.js +0 -0
  2490. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthV2AccessResponse.js +0 -0
  2491. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OauthV2ExchangeResponse.js +0 -0
  2492. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OpenIDConnectTokenResponse.js +0 -0
  2493. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/OpenIDConnectUserInfoResponse.js +0 -0
  2494. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/PinsAddResponse.js +0 -0
  2495. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/PinsRemoveResponse.js +0 -0
  2496. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsAddResponse.js +0 -0
  2497. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsGetResponse.js +0 -0
  2498. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsListResponse.js +0 -0
  2499. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ReactionsRemoveResponse.js +0 -0
  2500. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersAddResponse.js +0 -0
  2501. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersCompleteResponse.js +0 -0
  2502. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersDeleteResponse.js +0 -0
  2503. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersInfoResponse.js +0 -0
  2504. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RemindersListResponse.js +0 -0
  2505. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RtmConnectResponse.js +0 -0
  2506. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/RtmStartResponse.js +0 -0
  2507. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/SearchMessagesResponse.js +0 -0
  2508. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsAddResponse.js +0 -0
  2509. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsListResponse.js +0 -0
  2510. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/StarsRemoveResponse.js +0 -0
  2511. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamAccessLogsResponse.js +0 -0
  2512. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamBillableInfoResponse.js +0 -0
  2513. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamBillingInfoResponse.js +0 -0
  2514. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamExternalTeamsDisconnectResponse.js +0 -0
  2515. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamExternalTeamsListResponse.js +0 -0
  2516. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamInfoResponse.js +0 -0
  2517. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamIntegrationLogsResponse.js +0 -0
  2518. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamPreferencesListResponse.js +0 -0
  2519. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/TeamProfileGetResponse.js +0 -0
  2520. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ToolingTokensRotateResponse.js +0 -0
  2521. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsCreateResponse.js +0 -0
  2522. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsDisableResponse.js +0 -0
  2523. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsEnableResponse.js +0 -0
  2524. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsListResponse.js +0 -0
  2525. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUpdateResponse.js +0 -0
  2526. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUsersListResponse.js +0 -0
  2527. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsergroupsUsersUpdateResponse.js +0 -0
  2528. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersConversationsResponse.js +0 -0
  2529. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersDeletePhotoResponse.js +0 -0
  2530. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersDiscoverableContactsLookupResponse.js +0 -0
  2531. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersGetPresenceResponse.js +0 -0
  2532. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersIdentityResponse.js +0 -0
  2533. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersInfoResponse.js +0 -0
  2534. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersListResponse.js +0 -0
  2535. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersLookupByEmailResponse.js +0 -0
  2536. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersProfileGetResponse.js +0 -0
  2537. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersProfileSetResponse.js +0 -0
  2538. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetActiveResponse.js +0 -0
  2539. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetPhotoResponse.js +0 -0
  2540. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/UsersSetPresenceResponse.js +0 -0
  2541. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsOpenResponse.js +0 -0
  2542. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsPublishResponse.js +0 -0
  2543. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsPushResponse.js +0 -0
  2544. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/ViewsUpdateResponse.js +0 -0
  2545. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsStepCompletedResponse.js +0 -0
  2546. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsStepFailedResponse.js +0 -0
  2547. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/WorkflowsUpdateStepResponse.js +0 -0
  2548. /package/node_modules/{@maka/runtime/node_modules/@slack → @slack}/web-api/dist/types/response/index.js +0 -0
  2549. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/License +0 -0
  2550. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/README.md +0 -0
  2551. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/example/dns.js +0 -0
  2552. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/example/stop.js +0 -0
  2553. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/index.js +0 -0
  2554. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/lib/retry.js +0 -0
  2555. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/lib/retry_operation.js +0 -0
  2556. /package/node_modules/{@maka/runtime → @slack/web-api}/node_modules/retry/package.json +0 -0
@@ -3,15 +3,18 @@ import { randomUUID } from '@openai/agents-core/_shims';
3
3
  import { Agent } from "./agent.mjs";
4
4
  import { getAgentToolSourceAgent } from "./agentToolSourceRegistry.mjs";
5
5
  import { buildAgentIdentityMap } from "./runStateIdentity.mjs";
6
+ import { getToolSearchAgentName } from "./runner/toolSearchAttribution.mjs";
7
+ import { rehydrateLegacyCompactionRunItems } from "./runStateLegacyCompaction.mjs";
6
8
  export { buildAgentIdentityMap } from "./runStateIdentity.mjs";
7
9
  import { RunMessageOutputItem, RunInputItem, RunToolApprovalItem, RunToolCallItem, RunToolCallOutputItem, RunToolSearchCallItem, RunToolSearchOutputItem, RunReasoningItem, RunCompactionItem, RunHandoffCallItem, RunHandoffOutputItem, } from "./items.mjs";
8
10
  import { RunContext } from "./runContext.mjs";
9
11
  import { extractOutputItemsFromRunItems, getTurnInput, toAgentInputList, } from "./runner/items.mjs";
12
+ import { normalizeItemsForSessionPersistence } from "./runner/sessionItems.mjs";
10
13
  import { getServerConversationOwner } from "./runner/conversation.mjs";
11
14
  import { AgentToolUseTracker } from "./runner/toolUseTracker.mjs";
12
15
  import { nextStepSchema } from "./runner/steps.mjs";
13
16
  import { createToolRunFunction } from "./runner/types.mjs";
14
- import { hasBlockedOutputExecutionEffect } from "./runner/blockedOutputPersistence.mjs";
17
+ import { getCurrentResponseToolOutputGuardrailResultStart, hasBlockedOutputExecutionEffect, hasDeterministicTerminalToolOutputSource, hasPendingApprovedToolInputCompaction, hasTerminalToolOutputSource, restoreCurrentResponseToolOutputGuardrailResultStart, } from "./runner/blockedOutputPersistence.mjs";
15
18
  import { ModelBehaviorError, SystemError, UserError } from "./errors.mjs";
16
19
  import { getGlobalTraceProvider } from "./tracing/provider.mjs";
17
20
  import { Usage } from "./usage.mjs";
@@ -20,6 +23,7 @@ import logger from "./logger.mjs";
20
23
  import * as protocol from "./types/protocol.mjs";
21
24
  import { SANDBOX_SESSION_STATE_VERSION, SUPPORTED_SANDBOX_SESSION_STATE_VERSIONS, } from "./sandbox/session.mjs";
22
25
  import { safeExecute } from "./utils/safeExecute.mjs";
26
+ import { toSmartString } from "./utils/smartString.mjs";
23
27
  import { getClientToolSearchExecutor, getToolSearchRuntimeRoutingKey, } from "./tool.mjs";
24
28
  import { buildFunctionToolLookupMap, getFunctionToolLookupKey, getFunctionToolLegacyStateKeyFromStateKey, getFunctionToolQualifiedName, getFunctionToolStateKey, getFunctionToolStateKeyForCall, getFunctionToolStateKeyForResolvedCall, getFunctionToolStateKeys, getHostedMcpApprovalRequestIdentity, getHostedMcpApprovalRequestKey, getToolCallName, getToolCallNamespace, getToolCallDisplayName, resolveFunctionToolCall, } from "./toolIdentity.mjs";
25
29
  import { getToolSearchExecution, getToolSearchOutputReplacementKey, getToolSearchProviderCallId, resolveToolSearchCallId, } from "./utils/toolSearch.mjs";
@@ -73,8 +77,14 @@ import { sanitizeSerializedSandboxState, } from "./sandbox/runtime/sessionState.
73
77
  * same canonical approval identity, and adds sandbox session-state envelope version 4
74
78
  * so Docker network-isolation state cannot be consumed by older SDKs that would drop it
75
79
  * during container replacement.
80
+ * - 1.20: Preserves resolved function identities on tool call items and adds sandbox
81
+ * session-state envelope version 5 so Docker labels cannot be
82
+ * consumed by older SDKs that would drop them during container replacement, preserves
83
+ * exact current-response ownership for serialized approval resumes, and checkpoints
84
+ * unacknowledged ordinary Session appends completed during approval resume, including
85
+ * filtered handoff input held until its source append settles.
76
86
  */
77
- export const CURRENT_SCHEMA_VERSION = '1.19';
87
+ export const CURRENT_SCHEMA_VERSION = '1.20';
78
88
  export const SUPPORTED_SCHEMA_VERSIONS = [
79
89
  '1.0',
80
90
  '1.1',
@@ -95,6 +105,7 @@ export const SUPPORTED_SCHEMA_VERSIONS = [
95
105
  '1.16',
96
106
  '1.17',
97
107
  '1.18',
108
+ '1.19',
98
109
  CURRENT_SCHEMA_VERSION,
99
110
  ];
100
111
  const $schemaVersion = z.enum(SUPPORTED_SCHEMA_VERSIONS);
@@ -102,6 +113,9 @@ function schemaVersionSupportsV118State(schemaVersion) {
102
113
  return (schemaVersion === '1.18' || schemaVersionSupportsV119State(schemaVersion));
103
114
  }
104
115
  function schemaVersionSupportsV119State(schemaVersion) {
116
+ return (schemaVersion === '1.19' || schemaVersionSupportsV120State(schemaVersion));
117
+ }
118
+ function schemaVersionSupportsV120State(schemaVersion) {
105
119
  return schemaVersion === CURRENT_SCHEMA_VERSION;
106
120
  }
107
121
  function schemaVersionSupportsV116State(schemaVersion) {
@@ -123,6 +137,76 @@ const pendingSessionHistoryTransactionSchema = z
123
137
  deferredItemIndexes: z.array(z.number().int().min(0)),
124
138
  })
125
139
  .strict();
140
+ const pendingSessionWriteBaseSchema = {
141
+ sessionId: z.string().min(1),
142
+ alreadyPersistedCount: z.number().int().min(0),
143
+ persistedItemCount: z.number().int().min(1),
144
+ reasoningItemIdPolicy: z.enum(['preserve', 'omit']),
145
+ // Kept separately from canonical append items until the source turn is durable.
146
+ handoffInput: z.lazy(() => handoffInputSnapshotSchema).optional(),
147
+ terminalToolFinalization: z
148
+ .object({
149
+ behavior: z.enum([
150
+ 'stop_on_first_tool',
151
+ 'stop_at_tool_names',
152
+ 'function',
153
+ ]),
154
+ selectedCallId: z.string().min(1).optional(),
155
+ selectedGeneratedItemIndex: z.number().int().min(0).optional(),
156
+ finalOutput: z.string(),
157
+ })
158
+ .strict()
159
+ .optional(),
160
+ };
161
+ const pendingSessionWriteSchema = z.discriminatedUnion('phase', [
162
+ z
163
+ .object({
164
+ ...pendingSessionWriteBaseSchema,
165
+ phase: z.literal('prepared'),
166
+ })
167
+ .strict(),
168
+ z
169
+ .object({
170
+ ...pendingSessionWriteBaseSchema,
171
+ phase: z.literal('append_ready'),
172
+ beforeItems: z.array(protocol.ModelItem),
173
+ comparableAppendItems: z.array(protocol.ModelItem).min(1),
174
+ })
175
+ .strict(),
176
+ z
177
+ .object({
178
+ ...pendingSessionWriteBaseSchema,
179
+ phase: z.literal('compaction_pending'),
180
+ })
181
+ .strict(),
182
+ ]);
183
+ export function getPendingSessionWriteAppendItems(state, pending) {
184
+ const ownedItems = normalizeItemsForSessionPersistence(extractOutputItemsFromRunItems(state._generatedItems.slice(pending.alreadyPersistedCount, pending.persistedItemCount), pending.reasoningItemIdPolicy));
185
+ if (ownedItems.length === 0) {
186
+ throw new UserError('RunState pending Session write does not own a persistable generated item.');
187
+ }
188
+ const inputPrefix = state._currentTurnSessionHistoryTransactionInputItems ?? [];
189
+ if ((inputPrefix.length > 0 &&
190
+ state._currentTurnSessionHistoryTransactionSessionId === undefined) ||
191
+ (state._currentTurnSessionHistoryTransactionSessionId !== undefined &&
192
+ state._currentTurnSessionHistoryTransactionSessionId !==
193
+ pending.sessionId)) {
194
+ throw new UserError('RunState pending Session write input is missing its transaction-aware Session binding.');
195
+ }
196
+ return normalizeItemsForSessionPersistence([...inputPrefix, ...ownedItems]);
197
+ }
198
+ const pendingSessionWriteTerminalProducers = new WeakMap();
199
+ export function recordPendingSessionWriteTerminalProducer(state, producer) {
200
+ if (producer) {
201
+ pendingSessionWriteTerminalProducers.set(state, producer);
202
+ }
203
+ else {
204
+ pendingSessionWriteTerminalProducers.delete(state);
205
+ }
206
+ }
207
+ export function clearPendingSessionWriteTerminalProducer(state) {
208
+ pendingSessionWriteTerminalProducers.delete(state);
209
+ }
126
210
  function getLocalToolResultCallId(rawItem) {
127
211
  switch (rawItem.type) {
128
212
  case 'function_call_result':
@@ -140,9 +224,19 @@ function isTrackedLocalToolResult(rawItem) {
140
224
  rawItem.type === 'shell_call_output' ||
141
225
  rawItem.type === 'apply_patch_call_output');
142
226
  }
143
- function getSerializedLocalToolIdentity(toolCall, approvalNames, agent) {
227
+ function getSerializedLocalToolIdentity(toolCall, approvalNames, agent, functionToolStateKey) {
144
228
  if (toolCall.type === 'function_call') {
145
- return getFunctionToolStateKeyForCall(toolCall, toolCall.name);
229
+ const callIdentity = getFunctionToolStateKeyForCall(toolCall, toolCall.name);
230
+ if (functionToolStateKey !== undefined) {
231
+ if (functionToolStateKey !== callIdentity &&
232
+ (getToolCallNamespace(toolCall) ||
233
+ functionToolStateKey !==
234
+ getFunctionToolLookupKey(toolCall.name, toolCall.name))) {
235
+ throw new UserError('RunState function tool identity does not match its call.');
236
+ }
237
+ return functionToolStateKey;
238
+ }
239
+ return callIdentity;
146
240
  }
147
241
  const callId = getToolInvocationCallId(toolCall);
148
242
  if (callId) {
@@ -276,6 +370,8 @@ function inferCompletedToolInvocations(generatedItems) {
276
370
  const completed = new Map();
277
371
  const ambiguous = new Map();
278
372
  const evidence = new Map();
373
+ // Completed calls retain their execution-time identity even when a handoff
374
+ // filter removes discovery history. Completion evidence is checked separately.
279
375
  for (const item of generatedItems) {
280
376
  if (item instanceof RunToolApprovalItem) {
281
377
  const callId = getToolInvocationCallId(item.rawItem);
@@ -374,7 +470,7 @@ function inferCompletedToolInvocations(generatedItems) {
374
470
  if (!callId) {
375
471
  throw new UserError('RunState contains a local tool call without a non-empty call ID.');
376
472
  }
377
- const toolName = getSerializedLocalToolIdentity(rawItem, approvalNames.get(item.agent) ?? new Map(), item.agent);
473
+ const toolName = getSerializedLocalToolIdentity(rawItem, approvalNames.get(item.agent) ?? new Map(), item.agent, item.functionToolStateKey);
378
474
  const agentPending = getAgentInvocationMap(pendingLocalCalls, item.agent);
379
475
  const previousPending = agentPending.get(callId);
380
476
  if (previousPending &&
@@ -548,10 +644,13 @@ function validateToolInvocationCompletionEvidence(agent, callId, evidence) {
548
644
  toolCall.type === 'function_call'
549
645
  ? callItem instanceof RunToolApprovalItem
550
646
  ? (callItem.functionToolStateKey ?? callItem.name)
551
- : getFunctionToolLegacyStateKeyFromStateKey(toolName ?? '') ===
552
- getFunctionToolLegacyStateKeyFromStateKey(getFunctionToolStateKeyForCall(toolCall, toolCall.name) ?? '')
553
- ? toolName
554
- : undefined
647
+ : callItem.functionToolStateKey !== undefined
648
+ ? getSerializedLocalToolIdentity(toolCall, new Map(), agent, callItem.functionToolStateKey)
649
+ : getFunctionToolLegacyStateKeyFromStateKey(toolName ?? '') ===
650
+ getFunctionToolLegacyStateKeyFromStateKey(getFunctionToolStateKeyForCall(toolCall, toolCall.name) ??
651
+ '')
652
+ ? toolName
653
+ : undefined
555
654
  : callItem instanceof RunToolApprovalItem
556
655
  ? callItem.name
557
656
  : toolName;
@@ -845,6 +944,7 @@ const itemSchema = z.discriminatedUnion('type', [
845
944
  type: z.literal('tool_call_item'),
846
945
  rawItem: protocol.ToolCallItem.or(protocol.HostedToolCallItem),
847
946
  agent: serializedAgentSchema,
947
+ functionToolStateKey: z.string().optional(),
848
948
  }),
849
949
  z.object({
850
950
  type: z.literal('tool_call_output_item'),
@@ -1001,6 +1101,10 @@ const sandboxStateSchema = z.object({
1001
1101
  sessionState: sandboxSessionStateEnvelopeSchema,
1002
1102
  sessionsByAgent: z.record(z.string(), sandboxSessionEntrySchema),
1003
1103
  });
1104
+ const handoffInputSnapshotSchema = z.object({
1105
+ originalInput: z.string().or(z.array(protocol.ModelItem)),
1106
+ generatedItems: z.array(itemSchema),
1107
+ });
1004
1108
  const serializedProcessedResponseSchema = z.object({
1005
1109
  newItems: z.array(itemSchema),
1006
1110
  toolsUsed: z.array(z.string()),
@@ -1017,6 +1121,8 @@ const serializedProcessedResponseSchema = z.object({
1017
1121
  .array(z.object({
1018
1122
  toolCall: z.any(),
1019
1123
  toolName: z.string(),
1124
+ // Describes the error only; persisted input cannot select search execution.
1125
+ reason: z.literal('not_loaded').optional(),
1020
1126
  }))
1021
1127
  .optional(),
1022
1128
  computerActions: z.array(z.object({
@@ -1059,6 +1165,14 @@ const serializedProcessedResponseSchema = z.object({
1059
1165
  }))
1060
1166
  .optional(),
1061
1167
  });
1168
+ const currentResponseGeneratedItemOwnershipSchema = z
1169
+ .object({
1170
+ generatedItemStartIndex: z.number().int().min(0),
1171
+ generatedItemEndIndexExclusive: z.number().int().min(0),
1172
+ interruptionGeneratedItemIndexes: z.array(z.number().int().min(0)),
1173
+ toolOutputGuardrailResultStartIndex: z.number().int().min(0),
1174
+ })
1175
+ .strict();
1062
1176
  const guardrailFunctionOutputSchema = z.object({
1063
1177
  tripwireTriggered: z.boolean(),
1064
1178
  outputInfo: z.any(),
@@ -1176,6 +1290,7 @@ export const SerializedRunState = z.object({
1176
1290
  currentStep: nextStepSchema.optional(),
1177
1291
  lastModelResponse: modelResponseSchema.optional(),
1178
1292
  generatedItems: z.array(itemSchema),
1293
+ currentResponseGeneratedItemOwnership: currentResponseGeneratedItemOwnershipSchema.optional(),
1179
1294
  pendingAgentToolRuns: z.record(z.string(), z.string()).optional().default({}),
1180
1295
  pendingAgentToolRunAliases: z
1181
1296
  .record(z.string(), z.string())
@@ -1183,6 +1298,7 @@ export const SerializedRunState = z.object({
1183
1298
  .default({}),
1184
1299
  lastProcessedResponse: serializedProcessedResponseSchema.optional(),
1185
1300
  currentTurnPersistedItemCount: z.number().int().min(0).optional(),
1301
+ currentTurnSessionWriteCompactedItemCount: z.number().int().min(0).optional(),
1186
1302
  currentTurnDeferredSessionItemIndexes: z
1187
1303
  .array(z.number().int().min(0))
1188
1304
  .optional(),
@@ -1190,6 +1306,7 @@ export const SerializedRunState = z.object({
1190
1306
  currentTurnExecutedWithSessionBinding: z.literal(true).optional(),
1191
1307
  currentTurnSessionInputItems: z.array(protocol.ModelItem).optional(),
1192
1308
  pendingSessionHistoryTransaction: pendingSessionHistoryTransactionSchema.optional(),
1309
+ pendingSessionWrite: pendingSessionWriteSchema.optional(),
1193
1310
  completedToolInvocations: z
1194
1311
  .array(z.object({
1195
1312
  agentIdentity: z.string(),
@@ -1215,6 +1332,176 @@ export const SerializedRunState = z.object({
1215
1332
  trace: serializedTraceSchema.nullable(),
1216
1333
  sandbox: sandboxStateSchema.optional(),
1217
1334
  });
1335
+ function findUniqueContiguousIdentityStart(items, sequence) {
1336
+ if (sequence.length === 0 || sequence.length > items.length) {
1337
+ return undefined;
1338
+ }
1339
+ let match;
1340
+ for (let start = 0; start <= items.length - sequence.length; start += 1) {
1341
+ if (!sequence.every((item, offset) => {
1342
+ const candidate = items[start + offset];
1343
+ if (candidate === item) {
1344
+ return true;
1345
+ }
1346
+ try {
1347
+ return (candidate !== undefined &&
1348
+ candidate.type === item.type &&
1349
+ 'rawItem' in candidate &&
1350
+ 'rawItem' in item &&
1351
+ candidate.rawItem === item.rawItem);
1352
+ }
1353
+ catch {
1354
+ return false;
1355
+ }
1356
+ })) {
1357
+ continue;
1358
+ }
1359
+ if (match !== undefined) {
1360
+ return undefined;
1361
+ }
1362
+ match = start;
1363
+ }
1364
+ return match;
1365
+ }
1366
+ function captureCurrentResponseGeneratedItemOwnership(state) {
1367
+ if (state._currentStep?.type !== 'next_step_interruption') {
1368
+ return undefined;
1369
+ }
1370
+ const processedItems = state._lastProcessedResponse?.newItems ?? [];
1371
+ const interruptions = state._currentStep.data.interruptions;
1372
+ if (processedItems.length === 0 || interruptions.length === 0) {
1373
+ return undefined;
1374
+ }
1375
+ const generatedItemStartIndex = findUniqueContiguousIdentityStart(state._generatedItems, processedItems);
1376
+ if (generatedItemStartIndex === undefined) {
1377
+ return undefined;
1378
+ }
1379
+ const processedEndIndex = generatedItemStartIndex + processedItems.length;
1380
+ const interruptionGeneratedItemIndexes = [];
1381
+ for (const interruption of interruptions) {
1382
+ const matchingIndexes = state._generatedItems.flatMap((item, index) => {
1383
+ if (index < processedEndIndex) {
1384
+ return [];
1385
+ }
1386
+ if (item === interruption) {
1387
+ return [index];
1388
+ }
1389
+ try {
1390
+ if ('rawItem' in item && item.rawItem === interruption.rawItem) {
1391
+ return [index];
1392
+ }
1393
+ // A partial live resume can recreate the remaining approval wrapper. In that case,
1394
+ // use the existing canonical invocation identity, but only inside the already-proven
1395
+ // terminal current-response range and only when it selects one candidate.
1396
+ return item instanceof RunToolApprovalItem &&
1397
+ item.agent === interruption.agent &&
1398
+ getToolInvocationCallId(item.rawItem) ===
1399
+ getToolInvocationCallId(interruption.rawItem) &&
1400
+ getToolInvocationFingerprint(item.functionToolStateKey ?? item.name ?? '', item.rawItem) ===
1401
+ getToolInvocationFingerprint(interruption.functionToolStateKey ?? interruption.name ?? '', interruption.rawItem)
1402
+ ? [index]
1403
+ : [];
1404
+ }
1405
+ catch {
1406
+ return [];
1407
+ }
1408
+ });
1409
+ if (matchingIndexes.length !== 1 ||
1410
+ matchingIndexes[0] < processedEndIndex) {
1411
+ return undefined;
1412
+ }
1413
+ interruptionGeneratedItemIndexes.push(matchingIndexes[0]);
1414
+ }
1415
+ if (interruptionGeneratedItemIndexes.some((index, offset) => offset > 0 && index <= interruptionGeneratedItemIndexes[offset - 1])) {
1416
+ return undefined;
1417
+ }
1418
+ const lastModelResponseIndex = state._modelResponses.lastIndexOf(state._lastTurnResponse);
1419
+ if (state._lastTurnResponse === undefined ||
1420
+ lastModelResponseIndex !== state._modelResponses.length - 1 ||
1421
+ state._modelResponses.indexOf(state._lastTurnResponse) !==
1422
+ lastModelResponseIndex) {
1423
+ return undefined;
1424
+ }
1425
+ const toolOutputGuardrailResultStartIndex = getCurrentResponseToolOutputGuardrailResultStart(state);
1426
+ if (toolOutputGuardrailResultStartIndex === undefined ||
1427
+ toolOutputGuardrailResultStartIndex >
1428
+ state._toolOutputGuardrailResults.length) {
1429
+ return undefined;
1430
+ }
1431
+ return {
1432
+ generatedItemStartIndex,
1433
+ generatedItemEndIndexExclusive: state._generatedItems.length,
1434
+ interruptionGeneratedItemIndexes,
1435
+ toolOutputGuardrailResultStartIndex,
1436
+ };
1437
+ }
1438
+ function serializedValuesEqual(left, right) {
1439
+ try {
1440
+ return JSON.stringify(left) === JSON.stringify(right);
1441
+ }
1442
+ catch {
1443
+ return false;
1444
+ }
1445
+ }
1446
+ function throwCurrentResponseOwnershipError(reason = 'invalid boundary') {
1447
+ throw new UserError(`RunState current-response generated-item ownership has an ${reason}. Start a new run from safe input.`);
1448
+ }
1449
+ function validateCurrentResponseGeneratedItemOwnership(stateJson, ownership) {
1450
+ // Validate only serialized values here, before tool rehydration or caller-owned context work.
1451
+ // Deserialized object identity is restored only after the complete terminal boundary is proven.
1452
+ const processedItems = stateJson.lastProcessedResponse?.newItems;
1453
+ const serializedInterruptions = stateJson.currentStep?.type === 'next_step_interruption' &&
1454
+ Array.isArray(stateJson.currentStep.data?.interruptions)
1455
+ ? stateJson.currentStep.data.interruptions
1456
+ : undefined;
1457
+ const generatedEnd = ownership.generatedItemEndIndexExclusive;
1458
+ const processedEnd = ownership.generatedItemStartIndex + (processedItems?.length ?? 0);
1459
+ if (!processedItems ||
1460
+ processedItems.length === 0 ||
1461
+ !serializedInterruptions ||
1462
+ serializedInterruptions.length === 0 ||
1463
+ !stateJson.lastModelResponse ||
1464
+ stateJson.modelResponses.length === 0 ||
1465
+ generatedEnd !== stateJson.generatedItems.length ||
1466
+ ownership.generatedItemStartIndex >= generatedEnd ||
1467
+ processedEnd > generatedEnd ||
1468
+ ownership.interruptionGeneratedItemIndexes.length !==
1469
+ serializedInterruptions.length ||
1470
+ ownership.toolOutputGuardrailResultStartIndex >
1471
+ stateJson.toolOutputGuardrailResults.length ||
1472
+ !serializedValuesEqual(stateJson.lastModelResponse, stateJson.modelResponses.at(-1))) {
1473
+ throwCurrentResponseOwnershipError();
1474
+ }
1475
+ for (const [offset, processedItem] of processedItems.entries()) {
1476
+ if (!serializedValuesEqual(processedItem, stateJson.generatedItems[ownership.generatedItemStartIndex + offset])) {
1477
+ throwCurrentResponseOwnershipError();
1478
+ }
1479
+ }
1480
+ const interruptionIndexes = new Set();
1481
+ for (const [offset, interruptionIndex,] of ownership.interruptionGeneratedItemIndexes.entries()) {
1482
+ const parsedInterruption = itemSchema.safeParse(serializedInterruptions[offset]);
1483
+ const mismatch = !serializedValuesEqual(parsedInterruption.success ? parsedInterruption.data : undefined, stateJson.generatedItems[interruptionIndex]);
1484
+ if (!parsedInterruption.success ||
1485
+ parsedInterruption.data.type !== 'tool_approval_item' ||
1486
+ interruptionIndexes.has(interruptionIndex) ||
1487
+ interruptionIndex < processedEnd ||
1488
+ interruptionIndex >= generatedEnd ||
1489
+ (offset > 0 &&
1490
+ interruptionIndex <=
1491
+ ownership.interruptionGeneratedItemIndexes[offset - 1]) ||
1492
+ mismatch) {
1493
+ throwCurrentResponseOwnershipError(mismatch ? 'interruption content mismatch' : 'interruption index error');
1494
+ }
1495
+ interruptionIndexes.add(interruptionIndex);
1496
+ }
1497
+ const unownedApproval = stateJson.generatedItems
1498
+ .slice(processedEnd, generatedEnd)
1499
+ .some((item, offset) => item.type === 'tool_approval_item' &&
1500
+ !interruptionIndexes.has(processedEnd + offset));
1501
+ if (unownedApproval) {
1502
+ throwCurrentResponseOwnershipError();
1503
+ }
1504
+ }
1218
1505
  function cloneInterruptionSnapshot(interruption) {
1219
1506
  let rawItem;
1220
1507
  try {
@@ -1392,6 +1679,10 @@ export class RunState {
1392
1679
  * output still gets stored.
1393
1680
  */
1394
1681
  _currentTurnPersistedItemCount;
1682
+ /**
1683
+ * Persisted-item count whose resumed-write recovery input compaction has settled.
1684
+ */
1685
+ _currentTurnSessionWriteCompactedItemCount;
1395
1686
  /**
1396
1687
  * Current-turn item indexes intentionally deferred when a blocked output persisted only a
1397
1688
  * replay-safe subset. A later accepted resume replaces the sparse suffix in original order.
@@ -1432,6 +1723,15 @@ export class RunState {
1432
1723
  * retries on the same live RunState; input stays in the separately frozen current-turn snapshot.
1433
1724
  */
1434
1725
  _pendingSessionHistoryTransaction;
1726
+ /**
1727
+ * Ordinary Session append whose outcome must be reconciled before another resumed model call.
1728
+ */
1729
+ _pendingSessionWrite;
1730
+ /**
1731
+ * Prevents two live resume attempts from executing or reconciling the same resumed Session
1732
+ * append concurrently.
1733
+ */
1734
+ _resumedSessionWriteInProgress;
1435
1735
  /**
1436
1736
  * Compaction marker and persisted suffix that an ordinary session must reconcile once after a
1437
1737
  * pre-1.16 snapshot is restored. The field remains serialized until reconciliation succeeds.
@@ -1510,6 +1810,7 @@ export class RunState {
1510
1810
  this._ambiguousToolInvocationCallIds = new Map();
1511
1811
  this._generatedItems = [];
1512
1812
  this._currentTurnPersistedItemCount = 0;
1813
+ this._currentTurnSessionWriteCompactedItemCount = undefined;
1513
1814
  this._currentTurnDeferredSessionItemIndexes = new Set();
1514
1815
  this._currentTurnBlockedSessionStartIndex = undefined;
1515
1816
  this._currentTurnSessionHistoryTransactionSessionId = undefined;
@@ -1520,6 +1821,8 @@ export class RunState {
1520
1821
  this._serializedCurrentStep = undefined;
1521
1822
  this._sessionHistoryTransactionId = randomUUID();
1522
1823
  this._pendingSessionHistoryTransaction = undefined;
1824
+ this._pendingSessionWrite = undefined;
1825
+ this._resumedSessionWriteInProgress = false;
1523
1826
  this._pendingLegacyCompactionSessionItems = undefined;
1524
1827
  this._maxTurns = maxTurns;
1525
1828
  this._inputGuardrailResults = [];
@@ -1607,6 +1910,24 @@ export class RunState {
1607
1910
  if (!evidence) {
1608
1911
  return;
1609
1912
  }
1913
+ // Preserve the execution-time owner when resuming older pending calls that
1914
+ // predate call-item identity metadata. Observed invocations are runtime-only.
1915
+ const toolName = getToolInvocationNameFromFingerprint(fingerprint);
1916
+ for (const candidate of evidenceCandidates) {
1917
+ if (toolName !== undefined &&
1918
+ candidate instanceof RunToolCallItem &&
1919
+ candidate.functionToolStateKey === undefined &&
1920
+ candidate.agent === agent &&
1921
+ candidate.rawItem.type === 'function_call' &&
1922
+ candidate.rawItem.callId === callId &&
1923
+ !getToolCallNamespace(candidate.rawItem) &&
1924
+ toolName ===
1925
+ getFunctionToolLookupKey(candidate.rawItem.name, candidate.rawItem.name) &&
1926
+ getToolInvocationFingerprint(toolName, candidate.rawItem) ===
1927
+ fingerprint) {
1928
+ candidate.functionToolStateKey = toolName;
1929
+ }
1930
+ }
1610
1931
  getAgentInvocationMap(this._completedToolInvocations, agent).set(callId, fingerprint);
1611
1932
  getAgentInvocationMap(this._completedToolInvocationEvidence, agent).set(callId, evidence);
1612
1933
  };
@@ -1650,6 +1971,26 @@ export class RunState {
1650
1971
  _replaceGeneratedItems(generatedItems) {
1651
1972
  this._generatedItems = generatedItems;
1652
1973
  }
1974
+ /** @internal Captures an input view without retaining mutable filter-owned items. */
1975
+ _captureHandoffInput(originalInput, generatedItems) {
1976
+ const identities = buildAgentIdentityMap(this.#startingAgent);
1977
+ return structuredClone(handoffInputSnapshotSchema.parse({
1978
+ originalInput,
1979
+ generatedItems: generatedItems.map((item) => serializeRunItem(item, identities.byAgent)),
1980
+ }));
1981
+ }
1982
+ /** @internal Reuses ordinary RunState item reconstruction for the accepted input view. */
1983
+ _deserializeHandoffInput(input) {
1984
+ const identities = buildAgentIdentityMap(this.#startingAgent);
1985
+ return {
1986
+ originalInput: structuredClone(input.originalInput),
1987
+ generatedItems: input.generatedItems.map((item) => deserializeItem(item, identities.byIdentity)),
1988
+ };
1989
+ }
1990
+ /** @internal Resolves discovery ownership within the complete starting Agent graph. */
1991
+ _getToolSearchAgentName(agent) {
1992
+ return getToolSearchAgentName(agent, buildAgentIdentityMap(this.#startingAgent).byAgent.keys());
1993
+ }
1653
1994
  getOrCreateToolSearchRuntimeToolState(agent) {
1654
1995
  let state = this._toolSearchRuntimeToolsByAgent.get(agent);
1655
1996
  if (!state) {
@@ -1735,6 +2076,7 @@ export class RunState {
1735
2076
  */
1736
2077
  resetTurnPersistence() {
1737
2078
  this._currentTurnPersistedItemCount = 0;
2079
+ this._currentTurnSessionWriteCompactedItemCount = undefined;
1738
2080
  this._currentTurnDeferredSessionItemIndexes.clear();
1739
2081
  }
1740
2082
  /**
@@ -1745,6 +2087,10 @@ export class RunState {
1745
2087
  return;
1746
2088
  }
1747
2089
  this._currentTurnPersistedItemCount = Math.max(0, this._currentTurnPersistedItemCount - count);
2090
+ if (this._currentTurnSessionWriteCompactedItemCount !==
2091
+ this._currentTurnPersistedItemCount) {
2092
+ this._currentTurnSessionWriteCompactedItemCount = undefined;
2093
+ }
1748
2094
  }
1749
2095
  /**
1750
2096
  * The history of the agent run. This includes the input items and the new items generated during the run.
@@ -1974,6 +2320,7 @@ export class RunState {
1974
2320
  }
1975
2321
  const includeTracingApiKey = options.includeTracingApiKey === true;
1976
2322
  const contextJson = this._context._toJSONForRunState(agentIdentity.byAgent);
2323
+ const currentResponseGeneratedItemOwnership = captureCurrentResponseGeneratedItemOwnership(this);
1977
2324
  const output = {
1978
2325
  $schemaVersion: CURRENT_SCHEMA_VERSION,
1979
2326
  currentTurn: this._currentTurn,
@@ -2027,12 +2374,14 @@ export class RunState {
2027
2374
  currentStep: serializeCurrentStep(this._currentStep, agentIdentity.byAgent),
2028
2375
  lastModelResponse: this._lastTurnResponse,
2029
2376
  generatedItems: this._generatedItems.map((item) => serializeRunItem(item, agentIdentity.byAgent)),
2377
+ currentResponseGeneratedItemOwnership,
2030
2378
  pendingAgentToolRuns: Object.fromEntries(this._pendingAgentToolRuns.entries()),
2031
2379
  pendingAgentToolRunAliases: Object.fromEntries(this._pendingAgentToolRunAliases.entries()),
2032
2380
  completedToolInvocations: serializeAgentInvocationRecords(completedToolInvocations, agentIdentity.byAgent),
2033
2381
  completedToolInvocationEvidence: serializeAgentInvocationEvidence(completedToolInvocationEvidence, agentIdentity.byAgent, this._generatedItems),
2034
2382
  ambiguousToolInvocationCallIds: serializeAgentCallIdSets(ambiguousToolInvocationCallIds, agentIdentity.byAgent),
2035
2383
  currentTurnPersistedItemCount: this._currentTurnPersistedItemCount,
2384
+ currentTurnSessionWriteCompactedItemCount: this._currentTurnSessionWriteCompactedItemCount,
2036
2385
  currentTurnDeferredSessionItemIndexes: this._currentTurnDeferredSessionItemIndexes.size > 0
2037
2386
  ? [...this._currentTurnDeferredSessionItemIndexes].sort((left, right) => left - right)
2038
2387
  : undefined,
@@ -2041,13 +2390,17 @@ export class RunState {
2041
2390
  hasBlockedOutputExecutionEffect(this._generatedItems, this._currentTurnPersistedItemCount)
2042
2391
  ? true
2043
2392
  : undefined,
2044
- currentTurnSessionInputItems: this._currentTurnSessionHistoryTransactionSessionId === undefined &&
2393
+ currentTurnSessionInputItems: (this._pendingSessionWrite !== undefined ||
2394
+ this._currentTurnSessionHistoryTransactionSessionId === undefined) &&
2045
2395
  this._currentTurnSessionHistoryTransactionInputItems !== undefined &&
2046
2396
  this._currentTurnSessionHistoryTransactionInputItems.length > 0 &&
2047
2397
  hasBlockedOutputExecutionEffect(this._generatedItems, this._currentTurnPersistedItemCount)
2048
2398
  ? this._currentTurnSessionHistoryTransactionInputItems
2049
2399
  : undefined,
2050
2400
  pendingSessionHistoryTransaction: this._pendingSessionHistoryTransaction,
2401
+ pendingSessionWrite: this._pendingSessionWrite
2402
+ ? structuredClone(this._pendingSessionWrite)
2403
+ : undefined,
2051
2404
  pendingLegacyCompactionSessionItems: this._pendingLegacyCompactionSessionItems,
2052
2405
  lastProcessedResponse: this._lastProcessedResponse
2053
2406
  ? serializeProcessedResponse(this._lastProcessedResponse, agentIdentity.byAgent)
@@ -2110,6 +2463,12 @@ async function buildRunStateFromString(initialAgent, str, options = {}) {
2110
2463
  const hasPendingInputField = jsonResult !== null &&
2111
2464
  typeof jsonResult === 'object' &&
2112
2465
  hasOwnProperty(jsonResult, 'pendingInput');
2466
+ const hasPendingSessionWriteField = jsonResult !== null &&
2467
+ typeof jsonResult === 'object' &&
2468
+ hasOwnProperty(jsonResult, 'pendingSessionWrite');
2469
+ const hasSessionWriteCompactedItemCountField = jsonResult !== null &&
2470
+ typeof jsonResult === 'object' &&
2471
+ hasOwnProperty(jsonResult, 'currentTurnSessionWriteCompactedItemCount');
2113
2472
  const stateJson = SerializedRunState.parse(jsonResult);
2114
2473
  assertSchemaVersionSupportsStructuredToolOutputs(currentSchemaVersion, stateJson);
2115
2474
  assertSchemaVersionSupportsToolSearch(currentSchemaVersion, stateJson);
@@ -2118,8 +2477,12 @@ async function buildRunStateFromString(initialAgent, str, options = {}) {
2118
2477
  assertSchemaVersionSupportsSandboxSessionEnvelope(currentSchemaVersion, stateJson);
2119
2478
  assertSchemaVersionSupportsCompactionItems(currentSchemaVersion, stateJson);
2120
2479
  assertSchemaVersionSupportsOutputGuardrailSessionPersistence(currentSchemaVersion, stateJson);
2480
+ assertSchemaVersionSupportsCurrentResponseGeneratedItemOwnership(currentSchemaVersion, stateJson);
2481
+ assertSchemaVersionSupportsPendingSessionWrite(currentSchemaVersion, stateJson, hasPendingSessionWriteField, hasSessionWriteCompactedItemCountField);
2121
2482
  assertSchemaVersionSupportsPendingInput(currentSchemaVersion, stateJson, hasPendingInputField);
2122
- const normalizedState = rehydrateLegacyCompactionRunItems(currentSchemaVersion, stateJson);
2483
+ const normalizedState = schemaVersionSupportsV116State(currentSchemaVersion)
2484
+ ? { stateJson }
2485
+ : rehydrateLegacyCompactionRunItems(stateJson);
2123
2486
  const state = await buildRunStateFromJson(initialAgent, normalizedState.stateJson, options);
2124
2487
  if (normalizedState.sessionReconciliation) {
2125
2488
  const { generatedInsertionIndex, previousPersistedItemCount } = normalizedState.sessionReconciliation;
@@ -2225,18 +2588,21 @@ function assertSchemaVersionSupportsSandboxSessionEnvelope(schemaVersion, stateJ
2225
2588
  schemaVersion === '1.17' ||
2226
2589
  schemaVersionSupportsV118State(schemaVersion);
2227
2590
  const supportsVersion3 = schemaVersionSupportsV118State(schemaVersion);
2591
+ const supportsVersion4 = schemaVersionSupportsV119State(schemaVersion);
2228
2592
  if (envelopes.every((envelope) => envelope.version === 1 ||
2229
2593
  (envelope.version === 2 && supportsVersion2) ||
2230
2594
  (envelope.version === 3 && supportsVersion3) ||
2595
+ (envelope.version === 4 && supportsVersion4) ||
2231
2596
  (envelope.version === SANDBOX_SESSION_STATE_VERSION &&
2232
- schemaVersionSupportsV119State(schemaVersion)))) {
2597
+ schemaVersionSupportsV120State(schemaVersion)))) {
2233
2598
  return;
2234
2599
  }
2235
2600
  const rejectedVersion = envelopes.find((envelope) => envelope.version !== 1 &&
2236
2601
  !(envelope.version === 2 && supportsVersion2) &&
2237
2602
  !(envelope.version === 3 && supportsVersion3) &&
2603
+ !(envelope.version === 4 && supportsVersion4) &&
2238
2604
  !(envelope.version === SANDBOX_SESSION_STATE_VERSION &&
2239
- schemaVersionSupportsV119State(schemaVersion)))?.version;
2605
+ schemaVersionSupportsV120State(schemaVersion)))?.version;
2240
2606
  throw new UserError(`Run state schema version ${schemaVersion} does not support sandbox session state version ${rejectedVersion}. Please reserialize the run state with schema ${CURRENT_SCHEMA_VERSION}.`);
2241
2607
  }
2242
2608
  function assertSandboxStateUsesCurrentSessionEnvelope(sandbox) {
@@ -2287,6 +2653,311 @@ function assertSchemaVersionSupportsOutputGuardrailSessionPersistence(schemaVers
2287
2653
  }
2288
2654
  throw new UserError(`Run state schema version ${schemaVersion} does not support output guardrail session persistence state. Please reserialize the run state with schema ${CURRENT_SCHEMA_VERSION}.`);
2289
2655
  }
2656
+ function assertSchemaVersionSupportsCurrentResponseGeneratedItemOwnership(schemaVersion, stateJson) {
2657
+ const ownership = stateJson.currentResponseGeneratedItemOwnership;
2658
+ if (ownership === undefined) {
2659
+ return;
2660
+ }
2661
+ if (!schemaVersionSupportsV120State(schemaVersion)) {
2662
+ throw new UserError(`Run state schema version ${schemaVersion} does not support current-response generated-item ownership. Please reserialize the run state with schema ${CURRENT_SCHEMA_VERSION}.`);
2663
+ }
2664
+ validateCurrentResponseGeneratedItemOwnership(stateJson, ownership);
2665
+ }
2666
+ function assertSchemaVersionSupportsPendingSessionWrite(schemaVersion, stateJson, hasPendingSessionWriteField, hasSessionWriteCompactedItemCountField) {
2667
+ if (!schemaVersionSupportsV120State(schemaVersion)) {
2668
+ if (!hasPendingSessionWriteField &&
2669
+ !hasSessionWriteCompactedItemCountField) {
2670
+ return;
2671
+ }
2672
+ throw new UserError(`Run state schema version ${schemaVersion} does not support pending Session writes. Please reserialize the run state with schema ${CURRENT_SCHEMA_VERSION}.`);
2673
+ }
2674
+ const pending = stateJson.pendingSessionWrite;
2675
+ const compactedItemCount = stateJson.currentTurnSessionWriteCompactedItemCount;
2676
+ const persistedItemCount = stateJson.currentTurnPersistedItemCount ?? 0;
2677
+ if (compactedItemCount !== undefined &&
2678
+ (pending !== undefined ||
2679
+ compactedItemCount !== persistedItemCount ||
2680
+ (stateJson.currentStep?.type !== 'next_step_run_again' &&
2681
+ stateJson.currentStep?.type !== 'next_step_interruption' &&
2682
+ stateJson.currentStep?.type !== 'next_step_final_output'))) {
2683
+ throw new UserError('RunState resumed Session write compaction marker is invalid.');
2684
+ }
2685
+ if (pending === undefined) {
2686
+ return;
2687
+ }
2688
+ const alreadyPersistedCount = persistedItemCount;
2689
+ const terminalFinalization = pending.terminalToolFinalization;
2690
+ const terminalStep = stateJson.currentStep?.type === 'next_step_final_output';
2691
+ const terminalFinalizationShapeIsInvalid = terminalFinalization
2692
+ ? terminalFinalization.behavior === 'function'
2693
+ ? terminalFinalization.selectedCallId !== undefined ||
2694
+ terminalFinalization.selectedGeneratedItemIndex !== undefined
2695
+ : terminalFinalization.selectedCallId === undefined ||
2696
+ terminalFinalization.selectedGeneratedItemIndex === undefined
2697
+ : terminalStep;
2698
+ const pendingCompaction = pending.phase === 'compaction_pending';
2699
+ const expectedPersistedItemCount = pendingCompaction
2700
+ ? pending.persistedItemCount
2701
+ : pending.alreadyPersistedCount;
2702
+ if ((stateJson.currentStep?.type !== 'next_step_run_again' &&
2703
+ stateJson.currentStep?.type !== 'next_step_interruption' &&
2704
+ stateJson.currentStep?.type !== 'next_step_final_output') ||
2705
+ terminalStep !== (terminalFinalization !== undefined) ||
2706
+ terminalFinalizationShapeIsInvalid ||
2707
+ expectedPersistedItemCount !== alreadyPersistedCount ||
2708
+ pending.persistedItemCount <= pending.alreadyPersistedCount ||
2709
+ pending.persistedItemCount !== stateJson.generatedItems.length ||
2710
+ stateJson.pendingSessionHistoryTransaction !== undefined ||
2711
+ stateJson.pendingLegacyCompactionSessionItems !== undefined ||
2712
+ (stateJson.currentTurnDeferredSessionItemIndexes?.length ?? 0) > 0 ||
2713
+ stateJson.currentTurnBlockedSessionStartIndex !== undefined ||
2714
+ (pendingCompaction &&
2715
+ (stateJson.currentTurnExecutedWithSessionBinding !== undefined ||
2716
+ stateJson.currentTurnSessionInputItems !== undefined)) ||
2717
+ (stateJson.currentTurnSessionInputItems !== undefined &&
2718
+ stateJson.currentTurnExecutedWithSessionBinding !== true) ||
2719
+ stateJson.conversationId !== undefined ||
2720
+ stateJson.previousResponseId !== undefined) {
2721
+ throw new UserError('RunState pending Session write is invalid.');
2722
+ }
2723
+ }
2724
+ export function assertPendingSessionWriteOwnership(state, pending, options = {}) {
2725
+ const pendingCompaction = pending.phase === 'compaction_pending';
2726
+ const ownsTerminalToolFinalization = state._currentStep?.type === 'next_step_final_output' &&
2727
+ ownsPendingTerminalToolFinalization(state, pending, options);
2728
+ if ((state._currentStep?.type !== 'next_step_run_again' &&
2729
+ state._currentStep?.type !== 'next_step_interruption' &&
2730
+ !ownsTerminalToolFinalization) ||
2731
+ state._currentTurnPersistedItemCount !==
2732
+ (pendingCompaction
2733
+ ? pending.persistedItemCount
2734
+ : pending.alreadyPersistedCount) ||
2735
+ pending.persistedItemCount <= pending.alreadyPersistedCount ||
2736
+ pending.persistedItemCount !== state._generatedItems.length ||
2737
+ state._currentTurnSessionWriteCompactedItemCount !== undefined ||
2738
+ state._pendingSessionHistoryTransaction !== undefined ||
2739
+ state._pendingLegacyCompactionSessionItems !== undefined ||
2740
+ state._currentTurnDeferredSessionItemIndexes.size > 0 ||
2741
+ state._currentTurnBlockedSessionStartIndex !== undefined ||
2742
+ (pendingCompaction &&
2743
+ (state._currentTurnSessionHistoryTransactionSessionId !== undefined ||
2744
+ state._currentTurnSessionHistoryTransactionInputItems !== undefined)) ||
2745
+ state._conversationId !== undefined ||
2746
+ state._previousResponseId !== undefined) {
2747
+ throw new UserError('RunState pending Session write is invalid.');
2748
+ }
2749
+ getPendingSessionWriteAppendItems(state, pending);
2750
+ if (pending.handoffInput) {
2751
+ if (state._currentStep?.type !== 'next_step_run_again' ||
2752
+ !state._noActiveAgentRun ||
2753
+ state._currentTurnInProgress ||
2754
+ !state._generatedItems.some((item) => item instanceof RunHandoffOutputItem &&
2755
+ item.targetAgent === state._currentAgent)) {
2756
+ throw new UserError('RunState pending handoff input is invalid.');
2757
+ }
2758
+ state._deserializeHandoffInput(pending.handoffInput);
2759
+ }
2760
+ }
2761
+ function getPendingSessionWriteBehaviorKind(behavior) {
2762
+ if (behavior === 'stop_on_first_tool') {
2763
+ return 'stop_on_first_tool';
2764
+ }
2765
+ if (typeof behavior === 'object') {
2766
+ return 'stop_at_tool_names';
2767
+ }
2768
+ if (typeof behavior === 'function') {
2769
+ return 'function';
2770
+ }
2771
+ return undefined;
2772
+ }
2773
+ /** @internal */
2774
+ export function assertPendingSessionCompactionTerminalAuthority(state) {
2775
+ const currentStep = state._currentStep;
2776
+ if (currentStep?.type !== 'next_step_final_output') {
2777
+ return;
2778
+ }
2779
+ const behavior = state._currentAgent.toolUseBehavior;
2780
+ const producer = pendingSessionWriteTerminalProducers.get(state);
2781
+ if (producer !== undefined &&
2782
+ getPendingSessionWriteBehaviorKind(producer.behavior) !==
2783
+ getPendingSessionWriteBehaviorKind(behavior)) {
2784
+ throw new UserError('RunState pending Session compaction terminal output is invalid.');
2785
+ }
2786
+ if (typeof behavior !== 'function') {
2787
+ if (!hasDeterministicTerminalToolOutputSource(state)) {
2788
+ throw new UserError('RunState pending Session compaction terminal output is invalid.');
2789
+ }
2790
+ return;
2791
+ }
2792
+ const completedInvocations = state._completedToolInvocationEvidence.get(state._currentAgent);
2793
+ const validProducer = producer !== undefined &&
2794
+ producer.behavior === behavior &&
2795
+ producer.finalOutput === currentStep.output &&
2796
+ producer.selectedCallId === undefined &&
2797
+ producer.resultItems.length > 0 &&
2798
+ producer.resultItems.length === producer.resultCallIds.length &&
2799
+ producer.resultItems.every((item, index) => {
2800
+ const callId = producer.resultCallIds[index];
2801
+ const generatedItemIndex = state._generatedItems.indexOf(item);
2802
+ return (callId !== undefined &&
2803
+ generatedItemIndex >= 0 &&
2804
+ generatedItemIndex < state._currentTurnPersistedItemCount &&
2805
+ getCompletionOutputCallId(item, state._currentAgent) === callId &&
2806
+ completedInvocations?.get(callId)?.items[1] === item);
2807
+ });
2808
+ if (!validProducer) {
2809
+ throw new UserError('RunState pending Session compaction terminal output is invalid.');
2810
+ }
2811
+ }
2812
+ export function capturePendingSessionWriteTerminalFinalization(state) {
2813
+ const producer = pendingSessionWriteTerminalProducers.get(state);
2814
+ if (!producer || state._currentStep?.type !== 'next_step_final_output') {
2815
+ return undefined;
2816
+ }
2817
+ const behavior = getPendingSessionWriteBehaviorKind(producer.behavior);
2818
+ if (!behavior) {
2819
+ return undefined;
2820
+ }
2821
+ const selectedResultIndex = producer.selectedCallId
2822
+ ? producer.resultCallIds.indexOf(producer.selectedCallId)
2823
+ : -1;
2824
+ const selectedGeneratedItemIndex = selectedResultIndex >= 0
2825
+ ? state._generatedItems.indexOf(producer.resultItems[selectedResultIndex])
2826
+ : undefined;
2827
+ if (behavior !== 'function' &&
2828
+ (selectedGeneratedItemIndex === undefined || selectedGeneratedItemIndex < 0)) {
2829
+ return undefined;
2830
+ }
2831
+ return {
2832
+ behavior,
2833
+ selectedCallId: producer.selectedCallId,
2834
+ selectedGeneratedItemIndex,
2835
+ finalOutput: producer.finalOutput,
2836
+ };
2837
+ }
2838
+ function getPendingDeclarativeTerminalCandidate(state, item, completedInvocations) {
2839
+ if (!(item instanceof RunToolCallOutputItem) ||
2840
+ item.agent !== state._currentAgent ||
2841
+ item.rawItem.type !== 'function_call_result' ||
2842
+ item.rawItem.status === 'incomplete' ||
2843
+ getCanonicalToolCaller(item.rawItem).type === 'program') {
2844
+ return undefined;
2845
+ }
2846
+ const callId = getCompletionOutputCallId(item, state._currentAgent);
2847
+ const completionEvidence = callId
2848
+ ? completedInvocations?.get(callId)
2849
+ : undefined;
2850
+ if (!callId || !completionEvidence || completionEvidence.items[1] !== item) {
2851
+ return undefined;
2852
+ }
2853
+ return { callId, completionEvidence, outputItem: item };
2854
+ }
2855
+ function selectPendingDeclarativeTerminalCandidate(behavior, candidates) {
2856
+ if (behavior === 'stop_on_first_tool') {
2857
+ return candidates[0];
2858
+ }
2859
+ if (typeof behavior !== 'object') {
2860
+ return undefined;
2861
+ }
2862
+ return candidates.find(({ completionEvidence }) => {
2863
+ const callItem = completionEvidence.items[0];
2864
+ if ((!(callItem instanceof RunToolCallItem) &&
2865
+ !(callItem instanceof RunToolApprovalItem)) ||
2866
+ callItem.rawItem.type !== 'function_call') {
2867
+ return false;
2868
+ }
2869
+ const invocationName = getToolInvocationNameFromFingerprint(completionEvidence.fingerprint);
2870
+ const qualifiedName = invocationName
2871
+ ? getFunctionToolLegacyStateKeyFromStateKey(invocationName)
2872
+ : undefined;
2873
+ const callName = getToolCallName(callItem.rawItem);
2874
+ return behavior.stopAtToolNames.some((toolName) => toolName === callName || toolName === qualifiedName);
2875
+ });
2876
+ }
2877
+ function ownsPendingTerminalToolFinalization(state, pending, options) {
2878
+ const provenance = pending.terminalToolFinalization;
2879
+ const currentStep = state._currentStep;
2880
+ if (!provenance ||
2881
+ (provenance.behavior === 'function' &&
2882
+ options.allowUnhydratedTerminalToolStep === true) ||
2883
+ currentStep?.type !== 'next_step_final_output' ||
2884
+ currentStep.output !== provenance.finalOutput ||
2885
+ getPendingSessionWriteBehaviorKind(state._currentAgent.toolUseBehavior) !==
2886
+ provenance.behavior ||
2887
+ (options.allowUnhydratedTerminalToolStep !== true &&
2888
+ !hasTerminalToolOutputSource(state))) {
2889
+ return false;
2890
+ }
2891
+ const completedInvocations = state._completedToolInvocationEvidence.get(state._currentAgent);
2892
+ const pendingGeneratedItems = state._generatedItems.slice(pending.alreadyPersistedCount, pending.persistedItemCount);
2893
+ if (pendingGeneratedItems.some((item) => {
2894
+ const callId = getCompletionOutputCallId(item, state._currentAgent);
2895
+ const completionEvidence = callId
2896
+ ? completedInvocations?.get(callId)
2897
+ : undefined;
2898
+ return (completionEvidence !== undefined && completionEvidence.items[1] !== item);
2899
+ })) {
2900
+ return false;
2901
+ }
2902
+ const liveProducer = options.allowUnhydratedTerminalToolStep === true
2903
+ ? undefined
2904
+ : pendingSessionWriteTerminalProducers.get(state);
2905
+ if (provenance.behavior === 'function') {
2906
+ return Boolean(liveProducer &&
2907
+ liveProducer.behavior === state._currentAgent.toolUseBehavior &&
2908
+ liveProducer.finalOutput === provenance.finalOutput &&
2909
+ liveProducer.selectedCallId === undefined &&
2910
+ liveProducer.resultItems.length > 0 &&
2911
+ liveProducer.resultItems.every((item, index) => {
2912
+ const generatedItemIndex = state._generatedItems.indexOf(item);
2913
+ const callId = liveProducer.resultCallIds[index];
2914
+ return (callId !== undefined &&
2915
+ generatedItemIndex >= pending.alreadyPersistedCount &&
2916
+ generatedItemIndex < pending.persistedItemCount &&
2917
+ completedInvocations?.has(callId));
2918
+ }));
2919
+ }
2920
+ const selectedCallId = provenance.selectedCallId;
2921
+ const selectedGeneratedItemIndex = provenance.selectedGeneratedItemIndex;
2922
+ if (!selectedCallId ||
2923
+ selectedGeneratedItemIndex === undefined ||
2924
+ selectedGeneratedItemIndex < pending.alreadyPersistedCount ||
2925
+ selectedGeneratedItemIndex >= pending.persistedItemCount) {
2926
+ return false;
2927
+ }
2928
+ const selectedOutput = state._generatedItems[selectedGeneratedItemIndex];
2929
+ const completionEvidence = completedInvocations?.get(selectedCallId);
2930
+ if (!(selectedOutput instanceof RunToolCallOutputItem) ||
2931
+ getCompletionOutputCallId(selectedOutput, state._currentAgent) !==
2932
+ selectedCallId ||
2933
+ !completionEvidence ||
2934
+ toSmartString(selectedOutput.output) !== provenance.finalOutput) {
2935
+ return false;
2936
+ }
2937
+ const currentBehavior = state._currentAgent.toolUseBehavior;
2938
+ if (liveProducer &&
2939
+ liveProducer.finalOutput === provenance.finalOutput &&
2940
+ liveProducer.selectedCallId === selectedCallId) {
2941
+ const liveCandidates = liveProducer.resultItems.map((item, index) => {
2942
+ const candidate = getPendingDeclarativeTerminalCandidate(state, item, completedInvocations);
2943
+ const generatedItemIndex = state._generatedItems.indexOf(item);
2944
+ return candidate &&
2945
+ liveProducer.resultCallIds[index] === candidate.callId &&
2946
+ generatedItemIndex >= pending.alreadyPersistedCount &&
2947
+ generatedItemIndex < pending.persistedItemCount
2948
+ ? candidate
2949
+ : undefined;
2950
+ });
2951
+ if (liveCandidates.every((candidate) => candidate !== undefined)) {
2952
+ return (selectPendingDeclarativeTerminalCandidate(currentBehavior, liveCandidates)?.outputItem === selectedOutput);
2953
+ }
2954
+ }
2955
+ const restoredCandidates = pendingGeneratedItems.flatMap((item) => {
2956
+ const candidate = getPendingDeclarativeTerminalCandidate(state, item, completedInvocations);
2957
+ return candidate ? [candidate] : [];
2958
+ });
2959
+ return (selectPendingDeclarativeTerminalCandidate(currentBehavior, restoredCandidates)?.outputItem === selectedOutput);
2960
+ }
2290
2961
  function assertSchemaVersionSupportsPendingInput(schemaVersion, stateJson, hasPendingInputField) {
2291
2962
  if (schemaVersionSupportsV118State(schemaVersion)) {
2292
2963
  validateAcceptedResponseState(stateJson);
@@ -2348,7 +3019,8 @@ function validateOutputGuardrailSessionPersistenceState(stateJson) {
2348
3019
  const deferredIndexes = stateJson.currentTurnDeferredSessionItemIndexes ?? [];
2349
3020
  if (deferredIndexes.length > 0 ||
2350
3021
  stateJson.currentTurnBlockedSessionStartIndex !== undefined ||
2351
- stateJson.currentTurnExecutedWithSessionBinding === true ||
3022
+ (stateJson.currentTurnExecutedWithSessionBinding === true &&
3023
+ stateJson.pendingSessionWrite === undefined) ||
2352
3024
  stateJson.pendingSessionHistoryTransaction !== undefined) {
2353
3025
  throw new UserError('Serialized output guardrail session transaction authority cannot be resumed safely. Start a new run from the persisted session history.');
2354
3026
  }
@@ -2375,409 +3047,6 @@ function containsSerializedCompactionRunItems(stateJson) {
2375
3047
  function containsCompactionRunItems(items) {
2376
3048
  return Boolean(items?.some((item) => item.type === 'compaction_item'));
2377
3049
  }
2378
- function getCompactionSourceResponses(stateJson) {
2379
- return stateJson.modelResponses.length > 0
2380
- ? stateJson.modelResponses
2381
- : stateJson.lastModelResponse
2382
- ? [stateJson.lastModelResponse]
2383
- : [];
2384
- }
2385
- function findLatestCompactionSource(stateJson) {
2386
- const sourceResponses = getCompactionSourceResponses(stateJson);
2387
- for (let responseIndex = sourceResponses.length - 1; responseIndex >= 0; responseIndex -= 1) {
2388
- const output = sourceResponses[responseIndex].output;
2389
- for (let itemIndex = output.length - 1; itemIndex >= 0; itemIndex -= 1) {
2390
- const item = output[itemIndex];
2391
- if (item.type === 'compaction') {
2392
- return { sourceResponses, responseIndex, itemIndex, item };
2393
- }
2394
- }
2395
- }
2396
- return undefined;
2397
- }
2398
- function rehydrateLegacyCompactionRunItems(schemaVersion, stateJson) {
2399
- if (schemaVersionSupportsV116State(schemaVersion)) {
2400
- return { stateJson };
2401
- }
2402
- const latestCompaction = findLatestCompactionSource(stateJson);
2403
- if (!latestCompaction) {
2404
- return { stateJson };
2405
- }
2406
- const { sourceResponses, responseIndex: sourceResponseIndex, itemIndex: compactionIndex, item: compactionItem, } = latestCompaction;
2407
- const sourceResponse = sourceResponses[sourceResponseIndex];
2408
- const isLatestSourceResponse = sourceResponseIndex === sourceResponses.length - 1;
2409
- const processedItems = isLatestSourceResponse
2410
- ? stateJson.lastProcessedResponse?.newItems
2411
- : undefined;
2412
- const optionalLatestFunctionCallIndices = getOmittedLegacyHandoffFunctionCallIndices(sourceResponses.at(-1)?.output ?? [], stateJson.lastProcessedResponse);
2413
- const processedInsertion = processedItems
2414
- ? findLegacyCompactionInsertionIndex(processedItems, sourceResponse.output, compactionIndex, optionalLatestFunctionCallIndices)
2415
- : undefined;
2416
- let generatedInsertionAgent;
2417
- let generatedInsertionIndex;
2418
- if (!isLatestSourceResponse) {
2419
- const followingResponseBoundary = stateJson.lastProcessedResponse
2420
- ? findFollowingLegacyResponsesBoundary(stateJson.generatedItems, stateJson.lastProcessedResponse.newItems, sourceResponses
2421
- .slice(sourceResponseIndex + 1)
2422
- .map((response) => response.output), optionalLatestFunctionCallIndices)
2423
- : undefined;
2424
- if (!followingResponseBoundary) {
2425
- throwLegacyCompactionOrderingError();
2426
- }
2427
- const historicalInsertion = findHistoricalLegacyCompactionInsertion(stateJson.generatedItems.slice(0, followingResponseBoundary.itemIndex), sourceResponse.output, compactionIndex, followingResponseBoundary, sourceResponseIndex > 0);
2428
- generatedInsertionIndex = historicalInsertion.itemIndex;
2429
- generatedInsertionAgent = historicalInsertion.agent;
2430
- }
2431
- else if (processedItems !== undefined) {
2432
- const segmentStart = findTrailingProcessedSegmentStart(stateJson.generatedItems, processedItems);
2433
- if (segmentStart === undefined) {
2434
- throwLegacyCompactionOrderingError();
2435
- }
2436
- const generatedInsertion = findLegacyCompactionInsertionIndex(stateJson.generatedItems.slice(segmentStart), sourceResponse.output, compactionIndex, optionalLatestFunctionCallIndices);
2437
- generatedInsertionIndex = segmentStart + generatedInsertion.itemIndex;
2438
- generatedInsertionAgent = generatedInsertion.agent;
2439
- }
2440
- else {
2441
- const generatedInsertion = findLegacyCompactionInsertionIndex(stateJson.generatedItems, sourceResponse.output, compactionIndex);
2442
- generatedInsertionIndex = generatedInsertion.itemIndex;
2443
- generatedInsertionAgent = generatedInsertion.agent;
2444
- }
2445
- const serializedCompactionAgent = processedInsertion?.agent ??
2446
- generatedInsertionAgent ??
2447
- stateJson.currentAgent;
2448
- if (processedInsertion?.agent &&
2449
- generatedInsertionAgent &&
2450
- getCanonicalLegacyCompactionKey(processedInsertion.agent) !==
2451
- getCanonicalLegacyCompactionKey(generatedInsertionAgent)) {
2452
- throwLegacyCompactionOrderingError();
2453
- }
2454
- const serializedCompactionItem = {
2455
- type: 'compaction_item',
2456
- rawItem: compactionItem,
2457
- agent: serializedCompactionAgent,
2458
- };
2459
- const previousPersistedItemCount = stateJson.currentTurnPersistedItemCount ?? 0;
2460
- return {
2461
- stateJson: {
2462
- ...stateJson,
2463
- generatedItems: [
2464
- ...stateJson.generatedItems.slice(0, generatedInsertionIndex),
2465
- serializedCompactionItem,
2466
- ...stateJson.generatedItems.slice(generatedInsertionIndex),
2467
- ],
2468
- ...(processedItems
2469
- ? {
2470
- lastProcessedResponse: {
2471
- ...stateJson.lastProcessedResponse,
2472
- newItems: [
2473
- ...processedItems.slice(0, processedInsertion.itemIndex),
2474
- serializedCompactionItem,
2475
- ...processedItems.slice(processedInsertion.itemIndex),
2476
- ],
2477
- },
2478
- }
2479
- : {}),
2480
- },
2481
- ...(generatedInsertionIndex < previousPersistedItemCount
2482
- ? {
2483
- sessionReconciliation: {
2484
- generatedInsertionIndex,
2485
- previousPersistedItemCount,
2486
- },
2487
- }
2488
- : {}),
2489
- };
2490
- }
2491
- function findHistoricalLegacyCompactionInsertion(items, sourceOutput, compactionIndex, followingResponseBoundary, allowEarlierResponseAnchors) {
2492
- const providerAnchors = getLegacyProviderOutputAnchors(items, sourceOutput);
2493
- const representedSourceItems = getRepresentedLegacySourceItems(sourceOutput, compactionIndex, providerAnchors);
2494
- const requiredSourceItems = getRequiredLegacySourceItems(sourceOutput, compactionIndex);
2495
- assertRequiredLegacySourceItemsRepresented(requiredSourceItems, representedSourceItems);
2496
- if (representedSourceItems.length === 0) {
2497
- if (!allowEarlierResponseAnchors && providerAnchors.length > 0) {
2498
- throwLegacyCompactionOrderingError();
2499
- }
2500
- return followingResponseBoundary;
2501
- }
2502
- const matchingStarts = [];
2503
- for (let start = 0; start <= providerAnchors.length - representedSourceItems.length; start += 1) {
2504
- if (representedSourceItems.every((sourceItem, offset) => providerAnchors[start + offset]?.key === sourceItem.key)) {
2505
- matchingStarts.push(start);
2506
- }
2507
- }
2508
- if (matchingStarts.length !== 1) {
2509
- throwLegacyCompactionOrderingError();
2510
- }
2511
- const matchedAnchors = providerAnchors.slice(matchingStarts[0], matchingStarts[0] + representedSourceItems.length);
2512
- const agent = matchedAnchors[0].agent;
2513
- const agentKey = getCanonicalLegacyCompactionKey(agent);
2514
- if (matchedAnchors.some((anchor) => getCanonicalLegacyCompactionKey(anchor.agent) !== agentKey)) {
2515
- throwLegacyCompactionOrderingError();
2516
- }
2517
- const followingSourceIndex = representedSourceItems.findIndex((item) => item.sourceIndex > compactionIndex);
2518
- if (followingSourceIndex >= 0) {
2519
- return {
2520
- itemIndex: matchedAnchors[followingSourceIndex].itemIndex,
2521
- agent,
2522
- };
2523
- }
2524
- const previousAnchor = matchedAnchors[matchedAnchors.length - 1];
2525
- let itemIndex = previousAnchor.itemIndex + 1;
2526
- while (items[itemIndex]?.type === 'tool_approval_item' &&
2527
- getCanonicalLegacyCompactionKey(items[itemIndex].rawItem) ===
2528
- previousAnchor.key) {
2529
- itemIndex += 1;
2530
- }
2531
- return { itemIndex, agent };
2532
- }
2533
- function findFollowingLegacyResponseBoundary(generatedItems, processedItems, sourceOutput, optionalFunctionCallIndices = new Set()) {
2534
- const itemIndex = findTrailingProcessedSegmentStart(generatedItems, processedItems);
2535
- if (itemIndex === undefined) {
2536
- throwLegacyCompactionOrderingError();
2537
- }
2538
- if (getLegacyProviderOutputAnchors(generatedItems.slice(itemIndex + processedItems.length), sourceOutput).length > 0) {
2539
- throwLegacyCompactionOrderingError();
2540
- }
2541
- const providerAnchors = getLegacyProviderOutputAnchors(processedItems, sourceOutput);
2542
- const representedSourceItems = getRepresentedLegacySourceItems(sourceOutput, -1, providerAnchors, optionalFunctionCallIndices);
2543
- assertRequiredLegacySourceItemsRepresented(getRequiredLegacySourceItems(sourceOutput, -1, optionalFunctionCallIndices), representedSourceItems);
2544
- if (providerAnchors.length === 0 ||
2545
- providerAnchors.length !== representedSourceItems.length ||
2546
- providerAnchors.some((anchor, index) => anchor.key !== representedSourceItems[index]?.key)) {
2547
- return undefined;
2548
- }
2549
- const agent = providerAnchors[0].agent;
2550
- const agentKey = getCanonicalLegacyCompactionKey(agent);
2551
- if (providerAnchors.some((anchor) => getCanonicalLegacyCompactionKey(anchor.agent) !== agentKey)) {
2552
- throwLegacyCompactionOrderingError();
2553
- }
2554
- return { itemIndex, agent };
2555
- }
2556
- function findFollowingLegacyResponsesBoundary(generatedItems, processedItems, sourceOutputs, optionalLatestFunctionCallIndices) {
2557
- const latestSourceOutput = sourceOutputs.at(-1);
2558
- if (!latestSourceOutput) {
2559
- return undefined;
2560
- }
2561
- let boundary = findFollowingLegacyResponseBoundary(generatedItems, processedItems, latestSourceOutput, optionalLatestFunctionCallIndices);
2562
- if (!boundary) {
2563
- return undefined;
2564
- }
2565
- for (let index = sourceOutputs.length - 2; index >= 0; index -= 1) {
2566
- boundary = findPrecedingLegacyResponseBoundary(generatedItems, boundary.itemIndex, sourceOutputs[index]);
2567
- }
2568
- return boundary;
2569
- }
2570
- function findPrecedingLegacyResponseBoundary(generatedItems, followingBoundaryIndex, sourceOutput) {
2571
- const precedingItems = generatedItems.slice(0, followingBoundaryIndex);
2572
- const providerAnchors = getLegacyProviderOutputAnchors(precedingItems, sourceOutput);
2573
- const representedSourceItems = getRepresentedLegacySourceItems(sourceOutput, -1, providerAnchors);
2574
- assertRequiredLegacySourceItemsRepresented(getRequiredLegacySourceItems(sourceOutput, -1), representedSourceItems);
2575
- if (representedSourceItems.length === 0) {
2576
- throwLegacyCompactionOrderingError();
2577
- }
2578
- const matchingStarts = [];
2579
- for (let start = 0; start <= providerAnchors.length - representedSourceItems.length; start += 1) {
2580
- if (representedSourceItems.every((sourceItem, offset) => providerAnchors[start + offset]?.key === sourceItem.key)) {
2581
- matchingStarts.push(start);
2582
- }
2583
- }
2584
- if (matchingStarts.length !== 1) {
2585
- throwLegacyCompactionOrderingError();
2586
- }
2587
- const matchingStart = matchingStarts[0];
2588
- const matchedAnchors = providerAnchors.slice(matchingStart, matchingStart + representedSourceItems.length);
2589
- const trailingAnchors = providerAnchors.slice(matchingStart + representedSourceItems.length);
2590
- if (trailingAnchors.some((anchor) => precedingItems[anchor.itemIndex]?.type !== 'tool_call_output_item')) {
2591
- throwLegacyCompactionOrderingError();
2592
- }
2593
- const agent = matchedAnchors[0].agent;
2594
- const agentKey = getCanonicalLegacyCompactionKey(agent);
2595
- if (matchedAnchors.some((anchor) => getCanonicalLegacyCompactionKey(anchor.agent) !== agentKey)) {
2596
- throwLegacyCompactionOrderingError();
2597
- }
2598
- return { itemIndex: matchedAnchors[0].itemIndex, agent };
2599
- }
2600
- function isLegacyProviderOutputRunItem(item) {
2601
- return (item.type === 'message_output_item' ||
2602
- item.type === 'tool_search_call_item' ||
2603
- item.type === 'tool_search_output_item' ||
2604
- item.type === 'tool_call_item' ||
2605
- (item.type === 'tool_call_output_item' &&
2606
- (item.rawItem.type === 'program_output' ||
2607
- item.rawItem.type === 'shell_call_output')) ||
2608
- item.type === 'reasoning_item' ||
2609
- item.type === 'handoff_call_item');
2610
- }
2611
- function getLegacyProviderOutputAnchors(items, sourceOutput) {
2612
- const sourceOutputKeys = new Set(sourceOutput.map((item) => getLegacyProviderOutputKey(item)));
2613
- return items.flatMap((item, itemIndex) => {
2614
- if (!isLegacyProviderOutputRunItem(item)) {
2615
- return [];
2616
- }
2617
- const key = getLegacyProviderOutputKey(item.rawItem);
2618
- if ((item.type === 'tool_search_output_item' ||
2619
- (item.type === 'tool_call_output_item' &&
2620
- (item.rawItem.type === 'program_output' ||
2621
- item.rawItem.type === 'shell_call_output'))) &&
2622
- !sourceOutputKeys.has(key)) {
2623
- return [];
2624
- }
2625
- return [{ key, itemIndex, agent: item.agent }];
2626
- });
2627
- }
2628
- function getRepresentedLegacySourceItems(sourceOutput, compactionIndex, providerAnchors, optionalFunctionCallIndices = new Set()) {
2629
- if (optionalFunctionCallIndices.size > 0) {
2630
- let providerAnchorIndex = 0;
2631
- return sourceOutput.flatMap((item, sourceIndex) => {
2632
- if (sourceIndex === compactionIndex ||
2633
- optionalFunctionCallIndices.has(sourceIndex)) {
2634
- return [];
2635
- }
2636
- const key = getLegacyProviderOutputKey(item);
2637
- if (providerAnchors[providerAnchorIndex]?.key !== key) {
2638
- return [];
2639
- }
2640
- providerAnchorIndex += 1;
2641
- return [{ key, sourceIndex }];
2642
- });
2643
- }
2644
- const providerKeys = new Set(providerAnchors.map((anchor) => anchor.key));
2645
- return sourceOutput.flatMap((item, sourceIndex) => {
2646
- if (sourceIndex === compactionIndex) {
2647
- return [];
2648
- }
2649
- const key = getLegacyProviderOutputKey(item);
2650
- return providerKeys.has(key) ? [{ key, sourceIndex }] : [];
2651
- });
2652
- }
2653
- function getRequiredLegacySourceItems(sourceOutput, compactionIndex, optionalFunctionCallIndices = new Set()) {
2654
- return sourceOutput.flatMap((item, sourceIndex) => {
2655
- const isOmittedHandoff = item.type === 'function_call' &&
2656
- optionalFunctionCallIndices.has(sourceIndex);
2657
- if (sourceIndex === compactionIndex ||
2658
- item.type === 'compaction' ||
2659
- isOmittedHandoff ||
2660
- item.type === 'function_call_result' ||
2661
- item.type === 'apply_patch_call_output' ||
2662
- item.type === 'unknown') {
2663
- return [];
2664
- }
2665
- return [{ key: getLegacyProviderOutputKey(item), sourceIndex }];
2666
- });
2667
- }
2668
- function getOmittedLegacyHandoffFunctionCallIndices(sourceOutput, processedResponse) {
2669
- const matchedIndices = [];
2670
- let sourceStartIndex = 0;
2671
- for (const serializedHandoff of processedResponse?.handoffs ?? []) {
2672
- const parsedToolCall = protocol.FunctionCallItem.safeParse(serializedHandoff.toolCall);
2673
- if (!parsedToolCall.success) {
2674
- return new Set();
2675
- }
2676
- const key = getLegacyProviderOutputKey(parsedToolCall.data);
2677
- const sourceIndex = sourceOutput.findIndex((item, index) => index >= sourceStartIndex &&
2678
- item.type === 'function_call' &&
2679
- getLegacyProviderOutputKey(item) === key);
2680
- if (sourceIndex < 0) {
2681
- return new Set();
2682
- }
2683
- matchedIndices.push(sourceIndex);
2684
- sourceStartIndex = sourceIndex + 1;
2685
- }
2686
- return new Set(matchedIndices.slice(1));
2687
- }
2688
- function assertRequiredLegacySourceItemsRepresented(requiredItems, representedItems) {
2689
- if (!isLegacySourceSubsequenceRepresented(requiredItems, representedItems)) {
2690
- throwLegacyCompactionOrderingError();
2691
- }
2692
- }
2693
- function isLegacySourceSubsequenceRepresented(requiredItems, representedItems) {
2694
- let representedIndex = 0;
2695
- for (const requiredItem of requiredItems) {
2696
- while (representedIndex < representedItems.length &&
2697
- representedItems[representedIndex].sourceIndex < requiredItem.sourceIndex) {
2698
- representedIndex += 1;
2699
- }
2700
- if (representedItems[representedIndex]?.sourceIndex !==
2701
- requiredItem.sourceIndex ||
2702
- representedItems[representedIndex]?.key !== requiredItem.key) {
2703
- return false;
2704
- }
2705
- representedIndex += 1;
2706
- }
2707
- return true;
2708
- }
2709
- function getLegacyProviderOutputKey(item) {
2710
- if (item.type !== 'function_call') {
2711
- return getCanonicalLegacyCompactionKey(item);
2712
- }
2713
- const namespace = getToolCallNamespace(item);
2714
- if (!namespace) {
2715
- return getCanonicalLegacyCompactionKey(item);
2716
- }
2717
- const normalizedItem = { ...item, name: `${namespace}.${item.name}` };
2718
- delete normalizedItem.namespace;
2719
- return getCanonicalLegacyCompactionKey(normalizedItem);
2720
- }
2721
- function findLegacyCompactionInsertionIndex(items, sourceOutput, compactionIndex, optionalFunctionCallIndices = new Set()) {
2722
- const providerAnchors = getLegacyProviderOutputAnchors(items, sourceOutput);
2723
- const representedSourceItems = getRepresentedLegacySourceItems(sourceOutput, compactionIndex, providerAnchors, optionalFunctionCallIndices);
2724
- assertRequiredLegacySourceItemsRepresented(getRequiredLegacySourceItems(sourceOutput, compactionIndex, optionalFunctionCallIndices), representedSourceItems);
2725
- if (providerAnchors.length !== representedSourceItems.length ||
2726
- providerAnchors.some((anchor, index) => anchor.key !== representedSourceItems[index]?.key)) {
2727
- throwLegacyCompactionOrderingError();
2728
- }
2729
- if (representedSourceItems.length === 0) {
2730
- if (items.length !== 0) {
2731
- throwLegacyCompactionOrderingError();
2732
- }
2733
- return { itemIndex: 0 };
2734
- }
2735
- const agent = providerAnchors[0].agent;
2736
- const agentKey = getCanonicalLegacyCompactionKey(agent);
2737
- if (providerAnchors.some((anchor) => getCanonicalLegacyCompactionKey(anchor.agent) !== agentKey)) {
2738
- throwLegacyCompactionOrderingError();
2739
- }
2740
- const retainedBeforeCompaction = representedSourceItems.filter((item) => item.sourceIndex < compactionIndex).length;
2741
- const followingAnchor = providerAnchors[retainedBeforeCompaction];
2742
- if (followingAnchor) {
2743
- if (retainedBeforeCompaction === 0 && followingAnchor.itemIndex !== 0) {
2744
- throwLegacyCompactionOrderingError();
2745
- }
2746
- return { itemIndex: followingAnchor.itemIndex, agent };
2747
- }
2748
- return { itemIndex: items.length, agent };
2749
- }
2750
- function findTrailingProcessedSegmentStart(generatedItems, processedItems) {
2751
- for (let start = generatedItems.length - processedItems.length; start >= 0; start -= 1) {
2752
- const matches = processedItems.every((processedItem, offset) => {
2753
- const generatedItem = generatedItems[start + offset];
2754
- return (getCanonicalLegacyCompactionKey(generatedItem) ===
2755
- getCanonicalLegacyCompactionKey(processedItem));
2756
- });
2757
- if (matches) {
2758
- return start;
2759
- }
2760
- }
2761
- return undefined;
2762
- }
2763
- function throwLegacyCompactionOrderingError() {
2764
- throw new UserError('Run state cannot safely restore a legacy compaction item because its provider order is ambiguous.');
2765
- }
2766
- function getCanonicalLegacyCompactionKey(value) {
2767
- return JSON.stringify(sortLegacyCompactionValue(value));
2768
- }
2769
- function sortLegacyCompactionValue(value) {
2770
- if (Array.isArray(value)) {
2771
- return value.map(sortLegacyCompactionValue);
2772
- }
2773
- if (typeof value !== 'object' || value === null) {
2774
- return value;
2775
- }
2776
- const record = value;
2777
- return Object.fromEntries(Object.keys(record)
2778
- .sort()
2779
- .map((key) => [key, sortLegacyCompactionValue(record[key])]));
2780
- }
2781
3050
  function containsProgrammaticToolCallingState(stateJson) {
2782
3051
  return (containsProgrammaticToolCallingProtocolItems(stateJson.originalInput) ||
2783
3052
  stateJson.modelResponses.some(containsProgrammaticToolCallingInModelResponse) ||
@@ -3454,6 +3723,29 @@ async function rehydrateToolSearchRuntimeTools(state, options) {
3454
3723
  }
3455
3724
  return capabilitySnapshotsByAgent;
3456
3725
  }
3726
+ function restoreCurrentResponseProcessedOwnership(state, stateJson) {
3727
+ const ownership = stateJson.currentResponseGeneratedItemOwnership;
3728
+ if (!ownership || !state._lastProcessedResponse) {
3729
+ return;
3730
+ }
3731
+ const processedItemCount = stateJson.lastProcessedResponse?.newItems.length ?? 0;
3732
+ state._lastProcessedResponse.newItems = state._generatedItems.slice(ownership.generatedItemStartIndex, ownership.generatedItemStartIndex + processedItemCount);
3733
+ state._lastTurnResponse = state._modelResponses.at(-1);
3734
+ restoreCurrentResponseToolOutputGuardrailResultStart(state, ownership.toolOutputGuardrailResultStartIndex);
3735
+ }
3736
+ function restoreCurrentResponseInterruptionOwnership(stateJson, generatedItems, interruptions) {
3737
+ const ownership = stateJson.currentResponseGeneratedItemOwnership;
3738
+ if (!ownership) {
3739
+ return interruptions;
3740
+ }
3741
+ return ownership.interruptionGeneratedItemIndexes.map((index) => {
3742
+ const interruption = generatedItems[index];
3743
+ if (!(interruption instanceof RunToolApprovalItem)) {
3744
+ throwCurrentResponseOwnershipError();
3745
+ }
3746
+ return interruption;
3747
+ });
3748
+ }
3457
3749
  async function buildRunStateFromJson(initialAgent, stateJson, options = {}) {
3458
3750
  const schemaVersion = stateJson.$schemaVersion;
3459
3751
  const serializedApprovals = stateJson.context.approvals;
@@ -3608,14 +3900,25 @@ async function buildRunStateFromJson(initialAgent, stateJson, options = {}) {
3608
3900
  state._generatedItems = generatedItems;
3609
3901
  state._currentTurnPersistedItemCount =
3610
3902
  stateJson.currentTurnPersistedItemCount ?? 0;
3903
+ state._currentTurnSessionWriteCompactedItemCount =
3904
+ schemaVersionSupportsV120State(schemaVersion)
3905
+ ? stateJson.currentTurnSessionWriteCompactedItemCount
3906
+ : undefined;
3611
3907
  const supportsOutputGuardrailSessionPersistence = schemaVersionSupportsV117State(schemaVersion);
3612
3908
  const deferredSessionItemIndexes = supportsOutputGuardrailSessionPersistence
3613
3909
  ? (stateJson.currentTurnDeferredSessionItemIndexes ?? [])
3614
3910
  : [];
3615
3911
  state._currentTurnDeferredSessionItemIndexes = new Set(deferredSessionItemIndexes);
3616
3912
  state._currentTurnBlockedSessionStartIndex = undefined;
3617
- state._currentTurnSessionHistoryTransactionSessionId = undefined;
3618
- state._currentTurnSessionReasoningItemIdPolicy = undefined;
3913
+ const restoredPendingSessionBinding = stateJson.currentTurnExecutedWithSessionBinding === true &&
3914
+ stateJson.pendingSessionWrite !== undefined
3915
+ ? stateJson.pendingSessionWrite.sessionId
3916
+ : undefined;
3917
+ state._currentTurnSessionHistoryTransactionSessionId =
3918
+ restoredPendingSessionBinding;
3919
+ state._currentTurnSessionReasoningItemIdPolicy = restoredPendingSessionBinding
3920
+ ? stateJson.pendingSessionWrite?.reasoningItemIdPolicy
3921
+ : undefined;
3619
3922
  state._currentTurnSessionHistoryTransactionInputItems =
3620
3923
  schemaVersionSupportsV117State(schemaVersion)
3621
3924
  ? stateJson.currentTurnSessionInputItems
@@ -3624,8 +3927,22 @@ async function buildRunStateFromJson(initialAgent, stateJson, options = {}) {
3624
3927
  undefined;
3625
3928
  state._sessionHistoryTransactionId = randomUUID();
3626
3929
  state._pendingSessionHistoryTransaction = undefined;
3930
+ state._pendingSessionWrite = stateJson.pendingSessionWrite
3931
+ ? structuredClone(stateJson.pendingSessionWrite)
3932
+ : undefined;
3933
+ state._resumedSessionWriteInProgress = false;
3627
3934
  state._pendingLegacyCompactionSessionItems =
3628
3935
  stateJson.pendingLegacyCompactionSessionItems;
3936
+ if (state._pendingSessionWrite?.phase === 'compaction_pending' &&
3937
+ state._currentStep?.type === 'next_step_final_output' &&
3938
+ typeof state._currentAgent.toolUseBehavior === 'function') {
3939
+ throw new UserError('RunState pending Session compaction terminal output is invalid.');
3940
+ }
3941
+ if (state._pendingSessionWrite) {
3942
+ assertPendingSessionWriteOwnership(state, state._pendingSessionWrite, {
3943
+ allowUnhydratedTerminalToolStep: true,
3944
+ });
3945
+ }
3629
3946
  state._sandbox = stateJson.sandbox
3630
3947
  ? sanitizeSerializedSandboxState(stateJson.sandbox)
3631
3948
  : undefined;
@@ -3645,6 +3962,7 @@ async function buildRunStateFromJson(initialAgent, stateJson, options = {}) {
3645
3962
  executionFunctionToolsByCallId: currentCapabilitySnapshot.functionToolsByCallId,
3646
3963
  })
3647
3964
  : undefined;
3965
+ restoreCurrentResponseProcessedOwnership(state, stateJson);
3648
3966
  restorePendingAgentToolRunAliases(state, stateJson.pendingAgentToolRunAliases ?? {});
3649
3967
  if (stateJson.currentStep?.type === 'next_step_handoff') {
3650
3968
  state._currentStep = {
@@ -3653,7 +3971,7 @@ async function buildRunStateFromJson(initialAgent, stateJson, options = {}) {
3653
3971
  };
3654
3972
  }
3655
3973
  else if (stateJson.currentStep?.type === 'next_step_interruption') {
3656
- const interruptions = deserializeInterruptions(stateJson.currentStep.data?.interruptions, agentMap, state._currentAgent);
3974
+ const interruptions = restoreCurrentResponseInterruptionOwnership(stateJson, generatedItems, deserializeInterruptions(stateJson.currentStep.data?.interruptions, agentMap, state._currentAgent));
3657
3975
  rebindInterruptionFunctionToolStateKeys(interruptions, state._lastProcessedResponse, state._currentAgent, state, schemaVersion);
3658
3976
  if (!schemaVersionSupportsV118State(schemaVersion) &&
3659
3977
  shouldRestoreSerializedContext) {
@@ -3713,6 +4031,9 @@ async function buildRunStateFromJson(initialAgent, stateJson, options = {}) {
3713
4031
  state._context = contextOverride;
3714
4032
  }
3715
4033
  state._serializedCurrentStep = state._currentStep;
4034
+ if (hasPendingApprovedToolInputCompaction(state)) {
4035
+ assertPendingSessionCompactionTerminalAuthority(state);
4036
+ }
3716
4037
  return state;
3717
4038
  }
3718
4039
  /**
@@ -3894,7 +4215,7 @@ export function deserializeItem(serializedItem, agentMap) {
3894
4215
  case 'tool_search_output_item':
3895
4216
  return new RunToolSearchOutputItem(serializedItem.rawItem, resolveSerializedAgent(serializedItem.agent, agentMap));
3896
4217
  case 'tool_call_item':
3897
- return new RunToolCallItem(serializedItem.rawItem, resolveSerializedAgent(serializedItem.agent, agentMap));
4218
+ return new RunToolCallItem(serializedItem.rawItem, resolveSerializedAgent(serializedItem.agent, agentMap), serializedItem.functionToolStateKey);
3898
4219
  case 'tool_call_output_item':
3899
4220
  return new RunToolCallOutputItem(serializedItem.rawItem, resolveSerializedAgent(serializedItem.agent, agentMap), serializedItem.output, serializedItem.customData, serializedItem.executionStatus);
3900
4221
  case 'reasoning_item':