eve 1.0.0 → 1.0.2

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 (1932) hide show
  1. package/CHANGELOG.md +5 -375
  2. package/README.md +5 -1
  3. package/dist/src/channel/auth/oidc.js +1 -1
  4. package/dist/src/channel/channel-address.d.ts +13 -2
  5. package/dist/src/channel/channel-address.js +1 -1
  6. package/dist/src/cli/commands/init-git.js +1 -1
  7. package/dist/src/cli/commands/init-onboarding.js +1 -0
  8. package/dist/src/cli/commands/init.js +2 -1
  9. package/dist/src/cli/commands/registry-setup-command.js +1 -1
  10. package/dist/src/cli/dev/command-options.js +1 -1
  11. package/dist/src/cli/dev/command.js +1 -1
  12. package/dist/src/cli/dev/run-interactive-ui.js +1 -1
  13. package/dist/src/cli/dev/tui/message-queue.js +2 -2
  14. package/dist/src/cli/dev/tui/prompt-command-handler.js +1 -1
  15. package/dist/src/cli/dev/tui/run-setup-flow-command.js +1 -0
  16. package/dist/src/cli/dev/tui/runner.js +3 -3
  17. package/dist/src/cli/dev/tui/setup-commands.js +1 -1
  18. package/dist/src/cli/dev/tui/setup-panel.js +1 -1
  19. package/dist/src/cli/dev/tui/startup-onboarding.js +1 -0
  20. package/dist/src/cli/dev/tui/startup.js +1 -1
  21. package/dist/src/cli/dev/tui/terminal-renderer.js +10 -10
  22. package/dist/src/cli/dev/tui/test/mock-terminal.js +4 -4
  23. package/dist/src/cli/dev/tui/tui.js +1 -1
  24. package/dist/src/cli/run.js +1 -1
  25. package/dist/src/cli/ui/live-region.js +1 -1
  26. package/dist/src/cli/ui/live-row.js +1 -1
  27. package/dist/src/compiled/.vendor-stamp.json +17 -5
  28. package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -2
  29. package/dist/src/compiled/@ai-sdk/google/index.js +6 -6
  30. package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
  31. package/dist/src/compiled/@ai-sdk/openai/index.js +4 -4
  32. package/dist/src/compiled/@ai-sdk/otel/index.js +3 -3
  33. package/dist/src/compiled/@ai-sdk/provider/index.js +1 -1
  34. package/dist/src/compiled/@chat-adapter/slack/index.js +46 -51
  35. package/dist/src/compiled/@eve/catalog/index.js +1 -1
  36. package/dist/src/compiled/@opentelemetry/api/index.js +1 -1
  37. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.js +1 -1
  38. package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +61 -155
  39. package/dist/src/compiled/@vercel/agent-runs/delegation.js +1 -1
  40. package/dist/src/compiled/@vercel/agent-runs/index.js +1 -1
  41. package/dist/src/compiled/@vercel/agent-runs/otel.js +1 -1
  42. package/dist/src/compiled/@vercel/blob/index.js +11 -36
  43. package/dist/src/compiled/@vercel/connect/index.js +1 -63
  44. package/dist/src/compiled/@vercel/oidc/index.js +1 -63
  45. package/dist/src/compiled/@vercel/otel/index.js +1 -1
  46. package/dist/src/compiled/@vercel/queue/index.js +12 -43
  47. package/dist/src/compiled/@vercel/sandbox/index.js +13 -114
  48. package/dist/src/compiled/@vercel/schedules/index.js +2 -27
  49. package/dist/src/compiled/@workflow/core/index.js +1 -1
  50. package/dist/src/compiled/@workflow/core/private.js +1 -1
  51. package/dist/src/compiled/@workflow/core/runtime/helpers.js +1 -1
  52. package/dist/src/compiled/@workflow/core/runtime.js +1 -1
  53. package/dist/src/compiled/@workflow/core/serialization.js +1 -1
  54. package/dist/src/compiled/@workflow/core/workflow.js +1 -1
  55. package/dist/src/compiled/@workflow/world/index.js +1 -1
  56. package/dist/src/compiled/@workflow/world-local/index.js +6 -6
  57. package/dist/src/compiled/@workflow/world-vercel/index.js +36 -1
  58. package/dist/src/compiled/_chunks/{workflow/attribute-changes-BCNqKjr-.js → node/attribute-changes-9TDYamoB.js} +2 -2
  59. package/dist/src/compiled/_chunks/node/{auth-VDi2758t.js → auth-C6x8BkZ1.js} +2 -2
  60. package/dist/src/compiled/_chunks/node/chunk-5MU5Z6L3-DdGH_80b.js +1 -0
  61. package/dist/src/compiled/_chunks/node/chunk-WVKEO4WS-CcXj6Pbu.js +1 -0
  62. package/dist/src/compiled/_chunks/node/cjs-rUgqAJxb.js +1 -0
  63. package/dist/src/compiled/_chunks/node/delegation-nXIIGof2.js +1 -0
  64. package/dist/src/compiled/_chunks/node/delivery-ZirLueQB.js +1 -0
  65. package/dist/src/compiled/_chunks/node/dist-Ar8FFwah.js +1 -0
  66. package/dist/src/compiled/_chunks/node/dist-BlVGA8Bc.js +2 -0
  67. package/dist/src/compiled/_chunks/{workflow/dist-DkHcYt13.js → node/dist-C-W-BUim.js} +4 -4
  68. package/dist/src/compiled/_chunks/node/dist-CJqVJRdy.js +1 -0
  69. package/dist/src/compiled/_chunks/node/dist-Dff3FJd4.js +2 -0
  70. package/dist/src/compiled/_chunks/node/dist-SjWKZevK.js +1 -0
  71. package/dist/src/compiled/_chunks/node/dist-Y7k9L0_i.js +4 -0
  72. package/dist/src/compiled/_chunks/node/esm-BQbQSdEk.js +1 -0
  73. package/dist/src/compiled/_chunks/node/esm-V84xqwqm.js +7 -0
  74. package/dist/src/compiled/_chunks/{workflow/experimental-extraction-BE-Zv-lu.js → node/experimental-extraction-BddLppMC.js} +2 -2
  75. package/dist/src/compiled/_chunks/node/functions-CrSNYLMQ.js +2 -0
  76. package/dist/src/compiled/_chunks/{workflow/getMachineId-bsd-BDZRITBA-ByMis12M.js → node/getMachineId-bsd-BDZRITBA-DLL53RiE.js} +1 -1
  77. package/dist/src/compiled/_chunks/{workflow/getMachineId-darwin-YASTVJY7-BVAknd8k.js → node/getMachineId-darwin-YASTVJY7-Bt7YOVRS.js} +1 -1
  78. package/dist/src/compiled/_chunks/node/getMachineId-linux-NDQO5XIJ-35soE6HM.js +1 -0
  79. package/dist/src/compiled/_chunks/node/getMachineId-unsupported-4HKOBEHB-BIvYzL3H.js +1 -0
  80. package/dist/src/compiled/_chunks/{workflow/getMachineId-win-5LM2K5X3-Cj6CA3It.js → node/getMachineId-win-5LM2K5X3-DjHieqnK.js} +1 -1
  81. package/dist/src/compiled/_chunks/{workflow/helpers-D1eianSs.js → node/helpers-D0wk1DpF.js} +2 -2
  82. package/dist/src/compiled/_chunks/node/lib-kYMsDr_I.js +1 -0
  83. package/dist/src/compiled/_chunks/node/mcp-CpcK9m5J.js +5 -0
  84. package/dist/src/compiled/_chunks/node/ms-Cgt_-jny.js +1 -0
  85. package/dist/src/compiled/_chunks/node/node-http-BJoNWVEH.js +1 -0
  86. package/dist/src/compiled/_chunks/node/picocolors-BvkTgkT5.js +1 -0
  87. package/dist/src/compiled/_chunks/node/resume-hook-HOi86Mpt.js +1 -0
  88. package/dist/src/compiled/_chunks/node/resume-hook-MNXqhfUQ.js +1 -0
  89. package/dist/src/compiled/_chunks/node/retry-BsKFOQYI.js +1 -0
  90. package/dist/src/compiled/_chunks/node/run-iZaWiaIW.js +34 -0
  91. package/dist/src/compiled/_chunks/node/serialization-SOBM-hqQ.js +12 -0
  92. package/dist/src/compiled/_chunks/{workflow/signal-exit-fprSURbq.js → node/signal-exit-DUUCjAID.js} +1 -1
  93. package/dist/src/compiled/_chunks/node/sleep-kn6Idr6A.js +1 -0
  94. package/dist/src/compiled/_chunks/node/suspension-hooks-DGVf4ZTu.js +3 -0
  95. package/dist/src/compiled/_chunks/node/time-DlDfzITA.js +1 -0
  96. package/dist/src/compiled/_chunks/node/token-Bx_BK6UD.js +1 -0
  97. package/dist/src/compiled/_chunks/node/{token-DGjjdToG.js → token-C3MqBzSe.js} +1 -1
  98. package/dist/src/compiled/_chunks/node/token-C8MvBi8U.js +1 -0
  99. package/dist/src/compiled/_chunks/node/token-DCqq5r4M.js +1 -0
  100. package/dist/src/compiled/_chunks/node/token-d3oeMwv2.js +1 -0
  101. package/dist/src/compiled/_chunks/node/token-util-5HFX0QsS.js +1 -0
  102. package/dist/src/compiled/_chunks/node/token-util-B-3umg_h.js +59 -0
  103. package/dist/src/compiled/_chunks/node/token-util-BdFM23p-.js +1 -0
  104. package/dist/src/compiled/_chunks/node/token-util-Bga2H4s7.js +1 -0
  105. package/dist/src/compiled/_chunks/node/token-util-C53yPU2Q.js +1 -0
  106. package/dist/src/compiled/_chunks/node/token-util-CMdCnQTY.js +1 -0
  107. package/dist/src/compiled/_chunks/node/token-util-DRfyDqhP.js +59 -0
  108. package/dist/src/compiled/_chunks/node/token-util-DdfuyqVB.js +1 -0
  109. package/dist/src/compiled/_chunks/node/token-util-S816eCve.js +22 -0
  110. package/dist/src/compiled/_chunks/node/token-util-hJVPA0w0.js +22 -0
  111. package/dist/src/compiled/_chunks/node/undici-CXX9Qrag.js +95 -0
  112. package/dist/src/compiled/_chunks/node/websocket-server-Usb_vYYJ.js +6 -0
  113. package/dist/src/compiled/_chunks/node/wrapper-B8sMmFpP.js +1 -0
  114. package/dist/src/compiled/_chunks/node/wrapper-DTBQ2yNI.js +1 -0
  115. package/dist/src/compiled/_chunks/node/ws-transport-BWQwR7zD.js +1 -0
  116. package/dist/src/compiled/_chunks/node/ws-transport-Dah44MMA.js +3 -0
  117. package/dist/src/compiled/jose/index.js +1 -1
  118. package/dist/src/eve-channel/request.js +1 -1
  119. package/dist/src/execution/dynamic-workflow/tool.js +1 -1
  120. package/dist/src/execution/session-inbox/handle.js +1 -1
  121. package/dist/src/execution/session-inbox/owner.js +1 -1
  122. package/dist/src/execution/session-inbox/resume.js +1 -1
  123. package/dist/src/execution/tools/agent-router-workflow.js +1 -1
  124. package/dist/src/harness/provider-tools.js +1 -1
  125. package/dist/src/harness/step/prompt.js +1 -1
  126. package/dist/src/instrumentation/decide.js +1 -1
  127. package/dist/src/instrumentation/dispatch.js +1 -1
  128. package/dist/src/instrumentation/lifecycle.d.ts +10 -1
  129. package/dist/src/instrumentation/runtime.js +1 -1
  130. package/dist/src/internal/application/stamped-package-version.js +1 -1
  131. package/dist/src/public/channels/slack/attachments.js +1 -1
  132. package/dist/src/public/channels/slack/connections.js +1 -1
  133. package/dist/src/public/channels/slack/renderers.d.ts +4 -2
  134. package/dist/src/public/channels/slack/slackChannel.js +1 -1
  135. package/dist/src/runtime/subagents/workflow.js +1 -1
  136. package/dist/src/setup/primitives/pm/npm.js +1 -1
  137. package/dist/src/setup/primitives/pm/run.js +1 -1
  138. package/dist/src/setup/registry-setup-client.js +2 -2
  139. package/dist/src/setup/registry-setup-protocol.js +1 -1
  140. package/dist/src/setup/scaffold/create/project.js +1 -1
  141. package/dist/src/setup/scaffold/update/channels.js +1 -1
  142. package/dist/src/shared/forwarded-trace-policy.d.ts +2 -0
  143. package/dist/src/shared/forwarded-trace-policy.js +1 -1
  144. package/dist/src/tools/provided/ask-question-workflow.js +1 -1
  145. package/dist/src/tools/provided/sleep-workflow.js +1 -1
  146. package/dist/src/tools/provided/web-search.d.ts +2 -2
  147. package/dist/src/tools/provided/web-search.js +1 -1
  148. package/docs/channels/slack/reference.mdx +1 -1
  149. package/docs/concepts/built-in-tools.md +3 -3
  150. package/docs/getting-started.mdx +5 -1
  151. package/docs/guides/client/index.mdx +1 -1
  152. package/docs/reference/typescript-api.md +1 -1
  153. package/package.json +3 -7
  154. package/dist/src/acp/adapter.d.ts +0 -28
  155. package/dist/src/acp/line-limit.d.ts +0 -3
  156. package/dist/src/acp/server.d.ts +0 -21
  157. package/dist/src/ai/decision-adapter.d.ts +0 -15
  158. package/dist/src/approval/agent.d.ts +0 -24
  159. package/dist/src/approval/requester-only.d.ts +0 -11
  160. package/dist/src/channel/adapter-context.d.ts +0 -9
  161. package/dist/src/channel/auth/http-basic.d.ts +0 -8
  162. package/dist/src/channel/auth/jwt-ecdsa.d.ts +0 -8
  163. package/dist/src/channel/auth/jwt-hmac.d.ts +0 -8
  164. package/dist/src/channel/auth/oidc.d.ts +0 -8
  165. package/dist/src/channel/auth/result.d.ts +0 -3
  166. package/dist/src/channel/auth/token-claims.d.ts +0 -17
  167. package/dist/src/channel/auth/types.d.ts +0 -108
  168. package/dist/src/channel/auth/vercel-oidc-project.d.ts +0 -12
  169. package/dist/src/channel/conversation-context.d.ts +0 -8
  170. package/dist/src/channel/delivery-idempotency.d.ts +0 -10
  171. package/dist/src/channel/delivery.d.ts +0 -8
  172. package/dist/src/channel/http.d.ts +0 -29
  173. package/dist/src/channel/inactive-prompt.d.ts +0 -46
  174. package/dist/src/channel/pending-authorization.d.ts +0 -4
  175. package/dist/src/channel/principal-identity.d.ts +0 -11
  176. package/dist/src/channel/relay-event.d.ts +0 -11
  177. package/dist/src/channel/resolved-prompt.d.ts +0 -22
  178. package/dist/src/channel/route-args.d.ts +0 -35
  179. package/dist/src/channel/schedule.d.ts +0 -78
  180. package/dist/src/channel/send-input.d.ts +0 -10
  181. package/dist/src/channel/session-callback.d.ts +0 -11
  182. package/dist/src/channel/tool-eligibility.d.ts +0 -38
  183. package/dist/src/cli/acp/command.d.ts +0 -24
  184. package/dist/src/cli/agent-command.d.ts +0 -6
  185. package/dist/src/cli/agent-detection.d.ts +0 -7
  186. package/dist/src/cli/application-command.d.ts +0 -13
  187. package/dist/src/cli/application-root.d.ts +0 -5
  188. package/dist/src/cli/banner.d.ts +0 -11
  189. package/dist/src/cli/commands/agent-instructions.d.ts +0 -34
  190. package/dist/src/cli/commands/build.d.ts +0 -15
  191. package/dist/src/cli/commands/deploy.d.ts +0 -27
  192. package/dist/src/cli/commands/extension-build.d.ts +0 -9
  193. package/dist/src/cli/commands/extension-init.d.ts +0 -26
  194. package/dist/src/cli/commands/info.d.ts +0 -68
  195. package/dist/src/cli/commands/init-agent-workspace.d.ts +0 -18
  196. package/dist/src/cli/commands/init-git.d.ts +0 -17
  197. package/dist/src/cli/commands/init-install.d.ts +0 -11
  198. package/dist/src/cli/commands/init-project.d.ts +0 -44
  199. package/dist/src/cli/commands/init-recovery.d.ts +0 -3
  200. package/dist/src/cli/commands/init-target.d.ts +0 -20
  201. package/dist/src/cli/commands/init-telemetry.d.ts +0 -7
  202. package/dist/src/cli/commands/init.d.ts +0 -28
  203. package/dist/src/cli/commands/integration-connect.d.ts +0 -35
  204. package/dist/src/cli/commands/integration-setup.d.ts +0 -18
  205. package/dist/src/cli/commands/link.d.ts +0 -25
  206. package/dist/src/cli/commands/logs-events.d.ts +0 -38
  207. package/dist/src/cli/commands/logs.d.ts +0 -64
  208. package/dist/src/cli/commands/preconditions.d.ts +0 -22
  209. package/dist/src/cli/commands/register-integration-commands.d.ts +0 -15
  210. package/dist/src/cli/commands/register-project-commands.d.ts +0 -13
  211. package/dist/src/cli/commands/register-registry-commands.d.ts +0 -13
  212. package/dist/src/cli/commands/registry-add-command.d.ts +0 -3
  213. package/dist/src/cli/commands/registry-declared-setups.d.ts +0 -43
  214. package/dist/src/cli/commands/registry-install-transaction.d.ts +0 -10
  215. package/dist/src/cli/commands/registry-metadata.d.ts +0 -99
  216. package/dist/src/cli/commands/registry-pnpm-build-policy-flow.d.ts +0 -30
  217. package/dist/src/cli/commands/registry-presentation.d.ts +0 -19
  218. package/dist/src/cli/commands/registry-project.d.ts +0 -23
  219. package/dist/src/cli/commands/registry-recovery.d.ts +0 -20
  220. package/dist/src/cli/commands/registry-setup-command.d.ts +0 -21
  221. package/dist/src/cli/commands/registry.d.ts +0 -98
  222. package/dist/src/cli/commands/set.d.ts +0 -18
  223. package/dist/src/cli/commands/setup-answers.d.ts +0 -2
  224. package/dist/src/cli/commands/setup-headless.d.ts +0 -97
  225. package/dist/src/cli/commands/trace-detail.d.ts +0 -34
  226. package/dist/src/cli/commands/trace.d.ts +0 -18
  227. package/dist/src/cli/commands/vercel-non-interactive.d.ts +0 -37
  228. package/dist/src/cli/dev/boot-progress.d.ts +0 -3
  229. package/dist/src/cli/dev/command-options.d.ts +0 -27
  230. package/dist/src/cli/dev/command.d.ts +0 -34
  231. package/dist/src/cli/dev/console-records-preload.d.ts +0 -1
  232. package/dist/src/cli/dev/console-records.d.ts +0 -17
  233. package/dist/src/cli/dev/diagnostic-dump.d.ts +0 -58
  234. package/dist/src/cli/dev/diagnostic-sink.d.ts +0 -39
  235. package/dist/src/cli/dev/diagnostics.d.ts +0 -42
  236. package/dist/src/cli/dev/environment.d.ts +0 -20
  237. package/dist/src/cli/dev/local-server-child.d.ts +0 -1
  238. package/dist/src/cli/dev/local-server-cleanup.d.ts +0 -5
  239. package/dist/src/cli/dev/local-server-process.d.ts +0 -35
  240. package/dist/src/cli/dev/remote-print.d.ts +0 -8
  241. package/dist/src/cli/dev/run-interactive-ui.d.ts +0 -22
  242. package/dist/src/cli/dev/tui/agent-header.d.ts +0 -15
  243. package/dist/src/cli/dev/tui/argument-typeahead.d.ts +0 -36
  244. package/dist/src/cli/dev/tui/blocks.d.ts +0 -148
  245. package/dist/src/cli/dev/tui/clipboard.d.ts +0 -17
  246. package/dist/src/cli/dev/tui/command-typeahead.d.ts +0 -54
  247. package/dist/src/cli/dev/tui/conversation-view.d.ts +0 -59
  248. package/dist/src/cli/dev/tui/dev-rebuild-status.d.ts +0 -22
  249. package/dist/src/cli/dev/tui/diagnostic-presentation.d.ts +0 -17
  250. package/dist/src/cli/dev/tui/errors.d.ts +0 -14
  251. package/dist/src/cli/dev/tui/file-content-cache.d.ts +0 -41
  252. package/dist/src/cli/dev/tui/flow-drawer.d.ts +0 -15
  253. package/dist/src/cli/dev/tui/line-diff.d.ts +0 -24
  254. package/dist/src/cli/dev/tui/line-editor.d.ts +0 -124
  255. package/dist/src/cli/dev/tui/log-display-mode.d.ts +0 -7
  256. package/dist/src/cli/dev/tui/markdown.d.ts +0 -14
  257. package/dist/src/cli/dev/tui/mcp-connection-status.d.ts +0 -20
  258. package/dist/src/cli/dev/tui/message-queue.d.ts +0 -33
  259. package/dist/src/cli/dev/tui/prompt-command-handler.d.ts +0 -18
  260. package/dist/src/cli/dev/tui/prompt-commands.d.ts +0 -266
  261. package/dist/src/cli/dev/tui/prompt-placeholder.d.ts +0 -2
  262. package/dist/src/cli/dev/tui/provider-picker.d.ts +0 -65
  263. package/dist/src/cli/dev/tui/question-panel.d.ts +0 -31
  264. package/dist/src/cli/dev/tui/rail.d.ts +0 -15
  265. package/dist/src/cli/dev/tui/registry-result-message.d.ts +0 -27
  266. package/dist/src/cli/dev/tui/remote-auth-result.d.ts +0 -26
  267. package/dist/src/cli/dev/tui/remote-auth.d.ts +0 -33
  268. package/dist/src/cli/dev/tui/remote-connection-probe.d.ts +0 -12
  269. package/dist/src/cli/dev/tui/remote-connection-types.d.ts +0 -69
  270. package/dist/src/cli/dev/tui/remote-connection.d.ts +0 -3
  271. package/dist/src/cli/dev/tui/remote-startup.d.ts +0 -10
  272. package/dist/src/cli/dev/tui/runner.d.ts +0 -322
  273. package/dist/src/cli/dev/tui/setup-commands.d.ts +0 -72
  274. package/dist/src/cli/dev/tui/setup-flow.d.ts +0 -133
  275. package/dist/src/cli/dev/tui/setup-issues.d.ts +0 -66
  276. package/dist/src/cli/dev/tui/setup-panel.d.ts +0 -182
  277. package/dist/src/cli/dev/tui/setup-selection-input.d.ts +0 -52
  278. package/dist/src/cli/dev/tui/startup.d.ts +0 -20
  279. package/dist/src/cli/dev/tui/status-line.d.ts +0 -39
  280. package/dist/src/cli/dev/tui/stranded-session.d.ts +0 -9
  281. package/dist/src/cli/dev/tui/stream-format.d.ts +0 -158
  282. package/dist/src/cli/dev/tui/target.d.ts +0 -11
  283. package/dist/src/cli/dev/tui/task-activity.d.ts +0 -42
  284. package/dist/src/cli/dev/tui/task-records.d.ts +0 -17
  285. package/dist/src/cli/dev/tui/terminal-background.d.ts +0 -23
  286. package/dist/src/cli/dev/tui/terminal-renderer.d.ts +0 -148
  287. package/dist/src/cli/dev/tui/terminal-tool-part.d.ts +0 -2
  288. package/dist/src/cli/dev/tui/test/fake-eve-server.d.ts +0 -34
  289. package/dist/src/cli/dev/tui/test/fake-setup-flow-renderer.d.ts +0 -2
  290. package/dist/src/cli/dev/tui/test/index.d.ts +0 -15
  291. package/dist/src/cli/dev/tui/test/mock-terminal.d.ts +0 -51
  292. package/dist/src/cli/dev/tui/theme.d.ts +0 -127
  293. package/dist/src/cli/dev/tui/tool-block-groups.d.ts +0 -38
  294. package/dist/src/cli/dev/tui/tool-format.d.ts +0 -31
  295. package/dist/src/cli/dev/tui/tool-presentation.d.ts +0 -95
  296. package/dist/src/cli/dev/tui/tool-rows.d.ts +0 -16
  297. package/dist/src/cli/dev/tui/traces/trace-content.d.ts +0 -24
  298. package/dist/src/cli/dev/tui/traces/trace-conversation.d.ts +0 -61
  299. package/dist/src/cli/dev/tui/traces/trace-store.d.ts +0 -27
  300. package/dist/src/cli/dev/tui/traces/trace-surfaces.d.ts +0 -40
  301. package/dist/src/cli/dev/tui/traces/trace-view.d.ts +0 -56
  302. package/dist/src/cli/dev/tui/traces/trace-viewer-session.d.ts +0 -55
  303. package/dist/src/cli/dev/tui/traces/trace-viewer-state.d.ts +0 -109
  304. package/dist/src/cli/dev/tui/transcript-parts.d.ts +0 -85
  305. package/dist/src/cli/dev/tui/transcript.d.ts +0 -43
  306. package/dist/src/cli/dev/tui/tui-prompter.d.ts +0 -20
  307. package/dist/src/cli/dev/tui/tui.d.ts +0 -37
  308. package/dist/src/cli/dev/tui/turn-clock.d.ts +0 -21
  309. package/dist/src/cli/dev/tui/types.d.ts +0 -70
  310. package/dist/src/cli/dev/tui/vercel-status.d.ts +0 -44
  311. package/dist/src/cli/dev/tui/vercel-trusted-sources-policy.d.ts +0 -22
  312. package/dist/src/cli/dev/tui/vercel-trusted-sources.d.ts +0 -48
  313. package/dist/src/cli/dev/ui-options.d.ts +0 -22
  314. package/dist/src/cli/dev/url-target.d.ts +0 -15
  315. package/dist/src/cli/dev/url.d.ts +0 -4
  316. package/dist/src/cli/dev/wait-for-ui.d.ts +0 -13
  317. package/dist/src/cli/format-elapsed.d.ts +0 -2
  318. package/dist/src/cli/option-parsers.d.ts +0 -17
  319. package/dist/src/cli/run.d.ts +0 -38
  320. package/dist/src/cli/shutdown.d.ts +0 -25
  321. package/dist/src/cli/telemetry/command.d.ts +0 -9
  322. package/dist/src/cli/telemetry/flush.d.ts +0 -2
  323. package/dist/src/cli/telemetry/identity.d.ts +0 -13
  324. package/dist/src/cli/telemetry/index.d.ts +0 -37
  325. package/dist/src/cli/telemetry/preference.d.ts +0 -10
  326. package/dist/src/cli/ui/alt-screen.d.ts +0 -49
  327. package/dist/src/cli/ui/live-region.d.ts +0 -63
  328. package/dist/src/cli/ui/live-row.d.ts +0 -22
  329. package/dist/src/cli/ui/output.d.ts +0 -48
  330. package/dist/src/cli/ui/progress-pulse.d.ts +0 -10
  331. package/dist/src/cli/ui/terminal-text.d.ts +0 -36
  332. package/dist/src/cli/vercel-service-output.d.ts +0 -4
  333. package/dist/src/client/abort-signal.d.ts +0 -2
  334. package/dist/src/client/agent-base-url.d.ts +0 -4
  335. package/dist/src/client/agent-info-schema.d.ts +0 -1356
  336. package/dist/src/client/agent-stream-follower.d.ts +0 -17
  337. package/dist/src/client/conversation-client.d.ts +0 -51
  338. package/dist/src/client/delivery-events.d.ts +0 -3
  339. package/dist/src/client/file-parts.d.ts +0 -23
  340. package/dist/src/client/health-schema.d.ts +0 -7
  341. package/dist/src/client/messages.d.ts +0 -30
  342. package/dist/src/client/ndjson.d.ts +0 -18
  343. package/dist/src/client/open-stream.d.ts +0 -96
  344. package/dist/src/client/optimistic-message-submissions.d.ts +0 -15
  345. package/dist/src/client/session-controls.d.ts +0 -34
  346. package/dist/src/client/session-event-stream.d.ts +0 -19
  347. package/dist/src/client/session-store-helpers.d.ts +0 -8
  348. package/dist/src/client/stream-version.d.ts +0 -5
  349. package/dist/src/client/url.d.ts +0 -13
  350. package/dist/src/compiled/@agentclientprotocol/sdk/core/app-handlers.d.ts +0 -28
  351. package/dist/src/compiled/@agentclientprotocol/sdk/core/connection-access.d.ts +0 -23
  352. package/dist/src/compiled/@agentclientprotocol/sdk/core/jsonrpc.d.ts +0 -576
  353. package/dist/src/compiled/@agentclientprotocol/sdk/core/stream-limits.d.ts +0 -15
  354. package/dist/src/compiled/@agentclientprotocol/sdk/core/stream.d.ts +0 -33
  355. package/dist/src/compiled/@agentclientprotocol/sdk/index.d.ts +0 -1
  356. package/dist/src/compiled/@agentclientprotocol/sdk/transports/connection.d.ts +0 -273
  357. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/guards.gen.d.ts +0 -183
  358. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/index.d.ts +0 -33
  359. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/types.gen.d.ts +0 -4093
  360. package/dist/src/compiled/@agentclientprotocol/sdk/v1/stable/acp.d.ts +0 -812
  361. package/dist/src/compiled/@ai-sdk/anthropic/index.d.ts +0 -1891
  362. package/dist/src/compiled/@ai-sdk/google/index.d.ts +0 -961
  363. package/dist/src/compiled/@ai-sdk/mcp/index.d.ts +0 -1439
  364. package/dist/src/compiled/@ai-sdk/openai/index.d.ts +0 -2196
  365. package/dist/src/compiled/@ai-sdk/otel/index.d.ts +0 -1059
  366. package/dist/src/compiled/@ai-sdk/provider/index.d.ts +0 -9624
  367. package/dist/src/compiled/@ai-sdk/provider-utils/index.d.ts +0 -3364
  368. package/dist/src/compiled/@cfworker/json-schema/index.d.ts +0 -18
  369. package/dist/src/compiled/@chat-adapter/slack/_chat-adapter-shared.d.ts +0 -10
  370. package/dist/src/compiled/@chat-adapter/slack/_slack-web-api.d.ts +0 -8
  371. package/dist/src/compiled/@chat-adapter/slack/blocks.d.ts +0 -205
  372. package/dist/src/compiled/@chat-adapter/slack/format.d.ts +0 -33
  373. package/dist/src/compiled/@chat-adapter/slack/index.d.ts +0 -1437
  374. package/dist/src/compiled/@chat-adapter/state-memory/index.d.ts +0 -50
  375. package/dist/src/compiled/@chat-adapter/twilio/format.d.ts +0 -12
  376. package/dist/src/compiled/@chat-adapter/twilio/index.d.ts +0 -166
  377. package/dist/src/compiled/@clack/core/index.d.ts +0 -505
  378. package/dist/src/compiled/@modelcontextprotocol/server/index.d.ts +0 -180
  379. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.d.ts +0 -3
  380. package/dist/src/compiled/@vercel/agent-runs/adapters/agent-transport.d.ts +0 -8
  381. package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-payload.d.ts +0 -15
  382. package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-telemetry.d.ts +0 -14
  383. package/dist/src/compiled/@vercel/agent-runs/adapters/otel-error.d.ts +0 -3
  384. package/dist/src/compiled/@vercel/agent-runs/adapters/serialization.d.ts +0 -36
  385. package/dist/src/compiled/@vercel/agent-runs/ai-sdk.d.ts +0 -7
  386. package/dist/src/compiled/@vercel/agent-runs/core/activation.d.ts +0 -3
  387. package/dist/src/compiled/@vercel/agent-runs/core/attributes.d.ts +0 -14
  388. package/dist/src/compiled/@vercel/agent-runs/core/content-policy.d.ts +0 -36
  389. package/dist/src/compiled/@vercel/agent-runs/core/context.d.ts +0 -3
  390. package/dist/src/compiled/@vercel/agent-runs/core/delegation.d.ts +0 -13
  391. package/dist/src/compiled/@vercel/agent-runs/core/snapshot.d.ts +0 -7
  392. package/dist/src/compiled/@vercel/agent-runs/core/span-kinds.d.ts +0 -12
  393. package/dist/src/compiled/@vercel/agent-runs/core/writer.d.ts +0 -15
  394. package/dist/src/compiled/@vercel/agent-runs/delegation.d.ts +0 -2
  395. package/dist/src/compiled/@vercel/agent-runs/otel.d.ts +0 -12
  396. package/dist/src/compiled/@vercel/blob/client.d.ts +0 -488
  397. package/dist/src/compiled/@vercel/blob/create-folder-DoYODb65.d.ts +0 -487
  398. package/dist/src/compiled/@vercel/blob/index.d.ts +0 -633
  399. package/dist/src/compiled/@vercel/connect/authorization-details.d.ts +0 -11
  400. package/dist/src/compiled/@vercel/connect/authorization.d.ts +0 -47
  401. package/dist/src/compiled/@vercel/connect/connector.d.ts +0 -32
  402. package/dist/src/compiled/@vercel/connect/index.d.ts +0 -5
  403. package/dist/src/compiled/@vercel/connect/installation.d.ts +0 -48
  404. package/dist/src/compiled/@vercel/connect/token.d.ts +0 -147
  405. package/dist/src/compiled/@vercel/detect-agent/index.d.ts +0 -20
  406. package/dist/src/compiled/@vercel/oidc/index.d.ts +0 -21
  407. package/dist/src/compiled/@vercel/otel/index.d.ts +0 -76
  408. package/dist/src/compiled/@vercel/queue/index.d.ts +0 -1439
  409. package/dist/src/compiled/@vercel/sandbox/_async-retry.d.ts +0 -8
  410. package/dist/src/compiled/@vercel/sandbox/_workflow-serde.d.ts +0 -5
  411. package/dist/src/compiled/@vercel/sandbox/api-client/api-client.d.ts +0 -1914
  412. package/dist/src/compiled/@vercel/sandbox/api-client/api-error.d.ts +0 -29
  413. package/dist/src/compiled/@vercel/sandbox/api-client/base-client.d.ts +0 -39
  414. package/dist/src/compiled/@vercel/sandbox/api-client/file-writer.d.ts +0 -66
  415. package/dist/src/compiled/@vercel/sandbox/api-client/index.d.ts +0 -2
  416. package/dist/src/compiled/@vercel/sandbox/api-client/validators.d.ts +0 -951
  417. package/dist/src/compiled/@vercel/sandbox/api-client/with-retry.d.ts +0 -10
  418. package/dist/src/compiled/@vercel/sandbox/auth/error.d.ts +0 -15
  419. package/dist/src/compiled/@vercel/sandbox/auth/file.d.ts +0 -18
  420. package/dist/src/compiled/@vercel/sandbox/auth/index.d.ts +0 -6
  421. package/dist/src/compiled/@vercel/sandbox/auth/oauth.d.ts +0 -111
  422. package/dist/src/compiled/@vercel/sandbox/auth/poll-for-token.d.ts +0 -28
  423. package/dist/src/compiled/@vercel/sandbox/auth/project.d.ts +0 -40
  424. package/dist/src/compiled/@vercel/sandbox/command.d.ts +0 -370
  425. package/dist/src/compiled/@vercel/sandbox/constants.d.ts +0 -15
  426. package/dist/src/compiled/@vercel/sandbox/drive.d.ts +0 -201
  427. package/dist/src/compiled/@vercel/sandbox/execution-context.d.ts +0 -116
  428. package/dist/src/compiled/@vercel/sandbox/filesystem.d.ts +0 -258
  429. package/dist/src/compiled/@vercel/sandbox/index.d.ts +0 -15
  430. package/dist/src/compiled/@vercel/sandbox/network-policy.d.ts +0 -200
  431. package/dist/src/compiled/@vercel/sandbox/proxy.d.ts +0 -55
  432. package/dist/src/compiled/@vercel/sandbox/sandbox-user.d.ts +0 -211
  433. package/dist/src/compiled/@vercel/sandbox/sandbox.d.ts +0 -1330
  434. package/dist/src/compiled/@vercel/sandbox/session.d.ts +0 -461
  435. package/dist/src/compiled/@vercel/sandbox/snapshot.d.ts +0 -238
  436. package/dist/src/compiled/@vercel/sandbox/utils/get-credentials.d.ts +0 -21
  437. package/dist/src/compiled/@vercel/sandbox/utils/network-policy.d.ts +0 -27
  438. package/dist/src/compiled/@vercel/sandbox/utils/paginator.d.ts +0 -16
  439. package/dist/src/compiled/@vercel/sandbox/utils/pipe-stdin.d.ts +0 -19
  440. package/dist/src/compiled/@vercel/sandbox/utils/resolveSignal.d.ts +0 -15
  441. package/dist/src/compiled/@vercel/sandbox/utils/sandbox-snapshot.d.ts +0 -11
  442. package/dist/src/compiled/@vercel/sandbox/utils/types.d.ts +0 -11
  443. package/dist/src/compiled/@vercel/schedules/index.d.ts +0 -290
  444. package/dist/src/compiled/@vercel/sdk/index.d.ts +0 -41
  445. package/dist/src/compiled/@workflow/core/_devalue.d.ts +0 -8
  446. package/dist/src/compiled/@workflow/core/_ms.d.ts +0 -4
  447. package/dist/src/compiled/@workflow/core/_quickjs-wasi.d.ts +0 -11
  448. package/dist/src/compiled/@workflow/core/_workflow-serde.d.ts +0 -5
  449. package/dist/src/compiled/@workflow/core/_workflow-utils.d.ts +0 -8
  450. package/dist/src/compiled/@workflow/core/_workflow-vm.d.ts +0 -119
  451. package/dist/src/compiled/@workflow/core/attribute-changes.d.ts +0 -6
  452. package/dist/src/compiled/@workflow/core/capabilities.d.ts +0 -107
  453. package/dist/src/compiled/@workflow/core/capture-stack.d.ts +0 -16
  454. package/dist/src/compiled/@workflow/core/class-serialization.d.ts +0 -63
  455. package/dist/src/compiled/@workflow/core/classify-error.d.ts +0 -35
  456. package/dist/src/compiled/@workflow/core/context-errors.d.ts +0 -27
  457. package/dist/src/compiled/@workflow/core/context-violation-error.d.ts +0 -97
  458. package/dist/src/compiled/@workflow/core/create-hook.d.ts +0 -296
  459. package/dist/src/compiled/@workflow/core/define-hook.d.ts +0 -68
  460. package/dist/src/compiled/@workflow/core/describe-error.d.ts +0 -70
  461. package/dist/src/compiled/@workflow/core/encryption.d.ts +0 -79
  462. package/dist/src/compiled/@workflow/core/events-consumer.d.ts +0 -458
  463. package/dist/src/compiled/@workflow/core/flushable-stream.d.ts +0 -180
  464. package/dist/src/compiled/@workflow/core/global.d.ts +0 -100
  465. package/dist/src/compiled/@workflow/core/index.d.ts +0 -21
  466. package/dist/src/compiled/@workflow/core/log-format.d.ts +0 -29
  467. package/dist/src/compiled/@workflow/core/logger.d.ts +0 -30
  468. package/dist/src/compiled/@workflow/core/private.d.ts +0 -364
  469. package/dist/src/compiled/@workflow/core/replay-divergence.d.ts +0 -25
  470. package/dist/src/compiled/@workflow/core/replay-payload-cache.d.ts +0 -78
  471. package/dist/src/compiled/@workflow/core/runtime/after-terminal-write.d.ts +0 -33
  472. package/dist/src/compiled/@workflow/core/runtime/child-run-completion-notify.d.ts +0 -36
  473. package/dist/src/compiled/@workflow/core/runtime/child-run-completion.d.ts +0 -46
  474. package/dist/src/compiled/@workflow/core/runtime/compute-instance.d.ts +0 -13
  475. package/dist/src/compiled/@workflow/core/runtime/constants.d.ts +0 -321
  476. package/dist/src/compiled/@workflow/core/runtime/delivery.d.ts +0 -270
  477. package/dist/src/compiled/@workflow/core/runtime/deployment-guard.d.ts +0 -107
  478. package/dist/src/compiled/@workflow/core/runtime/dynamic-workflow.d.ts +0 -182
  479. package/dist/src/compiled/@workflow/core/runtime/event-limit-warning.d.ts +0 -32
  480. package/dist/src/compiled/@workflow/core/runtime/get-port-lazy.d.ts +0 -25
  481. package/dist/src/compiled/@workflow/core/runtime/get-world-lazy.d.ts +0 -23
  482. package/dist/src/compiled/@workflow/core/runtime/helpers.d.ts +0 -549
  483. package/dist/src/compiled/@workflow/core/runtime/hook-creation.d.ts +0 -45
  484. package/dist/src/compiled/@workflow/core/runtime/hook-wake.d.ts +0 -124
  485. package/dist/src/compiled/@workflow/core/runtime/invocations.d.ts +0 -35
  486. package/dist/src/compiled/@workflow/core/runtime/lifecycle-hooks.d.ts +0 -97
  487. package/dist/src/compiled/@workflow/core/runtime/out-of-band-observation.d.ts +0 -191
  488. package/dist/src/compiled/@workflow/core/runtime/queue-auth.d.ts +0 -53
  489. package/dist/src/compiled/@workflow/core/runtime/quickjs-assets.generated.d.ts +0 -21
  490. package/dist/src/compiled/@workflow/core/runtime/quickjs-delivery-shared.d.ts +0 -126
  491. package/dist/src/compiled/@workflow/core/runtime/quickjs-log-view.d.ts +0 -211
  492. package/dist/src/compiled/@workflow/core/runtime/quickjs-pending-ops.d.ts +0 -181
  493. package/dist/src/compiled/@workflow/core/runtime/quickjs-runtime.d.ts +0 -356
  494. package/dist/src/compiled/@workflow/core/runtime/quickjs-serde.d.ts +0 -107
  495. package/dist/src/compiled/@workflow/core/runtime/quickjs-snapshot-codec.d.ts +0 -74
  496. package/dist/src/compiled/@workflow/core/runtime/replay-budget.d.ts +0 -104
  497. package/dist/src/compiled/@workflow/core/runtime/replay-recovery-reporter.d.ts +0 -36
  498. package/dist/src/compiled/@workflow/core/runtime/resume-hook.d.ts +0 -167
  499. package/dist/src/compiled/@workflow/core/runtime/resume-latency.d.ts +0 -150
  500. package/dist/src/compiled/@workflow/core/runtime/run-id-time.d.ts +0 -19
  501. package/dist/src/compiled/@workflow/core/runtime/run-spec-routing.d.ts +0 -52
  502. package/dist/src/compiled/@workflow/core/runtime/run-spec-version.d.ts +0 -20
  503. package/dist/src/compiled/@workflow/core/runtime/run.d.ts +0 -221
  504. package/dist/src/compiled/@workflow/core/runtime/runs.d.ts +0 -166
  505. package/dist/src/compiled/@workflow/core/runtime/spec8/constants.d.ts +0 -129
  506. package/dist/src/compiled/@workflow/core/runtime/spec8/count-step-started-events.d.ts +0 -52
  507. package/dist/src/compiled/@workflow/core/runtime/spec8/delivery.d.ts +0 -6
  508. package/dist/src/compiled/@workflow/core/runtime/spec8/inline-steps-in-flight.d.ts +0 -58
  509. package/dist/src/compiled/@workflow/core/runtime/spec8/open-hook-wait-state.d.ts +0 -55
  510. package/dist/src/compiled/@workflow/core/runtime/spec8/quickjs-entrypoint.d.ts +0 -110
  511. package/dist/src/compiled/@workflow/core/runtime/spec8/step-executor.d.ts +0 -233
  512. package/dist/src/compiled/@workflow/core/runtime/spec8/step-ownership.d.ts +0 -72
  513. package/dist/src/compiled/@workflow/core/runtime/spec8/step-single-flight.d.ts +0 -34
  514. package/dist/src/compiled/@workflow/core/runtime/spec8/suspension-handler.d.ts +0 -352
  515. package/dist/src/compiled/@workflow/core/runtime/spec9/consume-after-commit.d.ts +0 -37
  516. package/dist/src/compiled/@workflow/core/runtime/spec9/consumed-position.d.ts +0 -38
  517. package/dist/src/compiled/@workflow/core/runtime/spec9/creator-rules.d.ts +0 -220
  518. package/dist/src/compiled/@workflow/core/runtime/spec9/deadline.d.ts +0 -18
  519. package/dist/src/compiled/@workflow/core/runtime/spec9/delivery.d.ts +0 -17
  520. package/dist/src/compiled/@workflow/core/runtime/spec9/fence-refusals.d.ts +0 -20
  521. package/dist/src/compiled/@workflow/core/runtime/spec9/in-band-writer.d.ts +0 -282
  522. package/dist/src/compiled/@workflow/core/runtime/spec9/live-feed.d.ts +0 -197
  523. package/dist/src/compiled/@workflow/core/runtime/spec9/log-index.d.ts +0 -74
  524. package/dist/src/compiled/@workflow/core/runtime/spec9/log-state.d.ts +0 -155
  525. package/dist/src/compiled/@workflow/core/runtime/spec9/quickjs-entrypoint.d.ts +0 -198
  526. package/dist/src/compiled/@workflow/core/runtime/spec9/read-deadline.d.ts +0 -46
  527. package/dist/src/compiled/@workflow/core/runtime/spec9/run-ahead.d.ts +0 -74
  528. package/dist/src/compiled/@workflow/core/runtime/spec9/step-delivery.d.ts +0 -146
  529. package/dist/src/compiled/@workflow/core/runtime/spec9/step-executor.d.ts +0 -225
  530. package/dist/src/compiled/@workflow/core/runtime/spec9/step-handler.d.ts +0 -92
  531. package/dist/src/compiled/@workflow/core/runtime/spec9/step-message.d.ts +0 -42
  532. package/dist/src/compiled/@workflow/core/runtime/spec9/step-retention.d.ts +0 -44
  533. package/dist/src/compiled/@workflow/core/runtime/spec9/step-single-flight.d.ts +0 -19
  534. package/dist/src/compiled/@workflow/core/runtime/spec9/step-wait-creation.d.ts +0 -162
  535. package/dist/src/compiled/@workflow/core/runtime/spec9/suspension-handler.d.ts +0 -125
  536. package/dist/src/compiled/@workflow/core/runtime/spec9/wait-timer.d.ts +0 -143
  537. package/dist/src/compiled/@workflow/core/runtime/start-hook-binding.d.ts +0 -51
  538. package/dist/src/compiled/@workflow/core/runtime/start-hook-delivery.d.ts +0 -47
  539. package/dist/src/compiled/@workflow/core/runtime/start-hook-holder.d.ts +0 -50
  540. package/dist/src/compiled/@workflow/core/runtime/start.d.ts +0 -308
  541. package/dist/src/compiled/@workflow/core/runtime/step-latency.d.ts +0 -221
  542. package/dist/src/compiled/@workflow/core/runtime/step-single-flight.d.ts +0 -8
  543. package/dist/src/compiled/@workflow/core/runtime/step-streams.d.ts +0 -6
  544. package/dist/src/compiled/@workflow/core/runtime/suspension-hooks.d.ts +0 -84
  545. package/dist/src/compiled/@workflow/core/runtime/unserializable-step.d.ts +0 -34
  546. package/dist/src/compiled/@workflow/core/runtime/vm-mode.d.ts +0 -132
  547. package/dist/src/compiled/@workflow/core/runtime/wait-continuation.d.ts +0 -133
  548. package/dist/src/compiled/@workflow/core/runtime/wait-until.d.ts +0 -18
  549. package/dist/src/compiled/@workflow/core/runtime/world-compatibility.d.ts +0 -51
  550. package/dist/src/compiled/@workflow/core/runtime/world-init.d.ts +0 -50
  551. package/dist/src/compiled/@workflow/core/runtime/world.d.ts +0 -44
  552. package/dist/src/compiled/@workflow/core/runtime.d.ts +0 -26
  553. package/dist/src/compiled/@workflow/core/schemas.d.ts +0 -15
  554. package/dist/src/compiled/@workflow/core/sealed-box.d.ts +0 -167
  555. package/dist/src/compiled/@workflow/core/seeded-nanoid.d.ts +0 -2
  556. package/dist/src/compiled/@workflow/core/serialization/abort-stream.d.ts +0 -11
  557. package/dist/src/compiled/@workflow/core/serialization/client.d.ts +0 -17
  558. package/dist/src/compiled/@workflow/core/serialization/codec-devalue-vm.d.ts +0 -16
  559. package/dist/src/compiled/@workflow/core/serialization/codec-devalue.d.ts +0 -14
  560. package/dist/src/compiled/@workflow/core/serialization/codec.d.ts +0 -140
  561. package/dist/src/compiled/@workflow/core/serialization/compression.d.ts +0 -149
  562. package/dist/src/compiled/@workflow/core/serialization/encryption.d.ts +0 -134
  563. package/dist/src/compiled/@workflow/core/serialization/errors.d.ts +0 -34
  564. package/dist/src/compiled/@workflow/core/serialization/format.d.ts +0 -60
  565. package/dist/src/compiled/@workflow/core/serialization/hardened.d.ts +0 -164
  566. package/dist/src/compiled/@workflow/core/serialization/index.d.ts +0 -20
  567. package/dist/src/compiled/@workflow/core/serialization/reducers/class-vm.d.ts +0 -20
  568. package/dist/src/compiled/@workflow/core/serialization/reducers/class.d.ts +0 -11
  569. package/dist/src/compiled/@workflow/core/serialization/reducers/common-vm.d.ts +0 -15
  570. package/dist/src/compiled/@workflow/core/serialization/reducers/common.d.ts +0 -16
  571. package/dist/src/compiled/@workflow/core/serialization/reducers/step-function-vm.d.ts +0 -44
  572. package/dist/src/compiled/@workflow/core/serialization/reducers/step-function.d.ts +0 -35
  573. package/dist/src/compiled/@workflow/core/serialization/state-recovery.d.ts +0 -21
  574. package/dist/src/compiled/@workflow/core/serialization/state-refs.d.ts +0 -229
  575. package/dist/src/compiled/@workflow/core/serialization/step.d.ts +0 -17
  576. package/dist/src/compiled/@workflow/core/serialization/types.d.ts +0 -298
  577. package/dist/src/compiled/@workflow/core/serialization/workflow-vm.d.ts +0 -29
  578. package/dist/src/compiled/@workflow/core/serialization/workflow.d.ts +0 -29
  579. package/dist/src/compiled/@workflow/core/serialization-format.d.ts +0 -220
  580. package/dist/src/compiled/@workflow/core/serialization.d.ts +0 -641
  581. package/dist/src/compiled/@workflow/core/set-attributes.d.ts +0 -13
  582. package/dist/src/compiled/@workflow/core/set-error-stack.d.ts +0 -12
  583. package/dist/src/compiled/@workflow/core/sleep.d.ts +0 -33
  584. package/dist/src/compiled/@workflow/core/source-map.d.ts +0 -35
  585. package/dist/src/compiled/@workflow/core/state-resolver.d.ts +0 -44
  586. package/dist/src/compiled/@workflow/core/state.d.ts +0 -56
  587. package/dist/src/compiled/@workflow/core/step/context-storage.d.ts +0 -76
  588. package/dist/src/compiled/@workflow/core/step/get-closure-vars.d.ts +0 -9
  589. package/dist/src/compiled/@workflow/core/step/get-step-metadata.d.ts +0 -53
  590. package/dist/src/compiled/@workflow/core/step/get-workflow-metadata.d.ts +0 -7
  591. package/dist/src/compiled/@workflow/core/step/writable-stream.d.ts +0 -22
  592. package/dist/src/compiled/@workflow/core/step.d.ts +0 -4
  593. package/dist/src/compiled/@workflow/core/symbols.d.ts +0 -72
  594. package/dist/src/compiled/@workflow/core/telemetry/semantic-conventions.d.ts +0 -995
  595. package/dist/src/compiled/@workflow/core/telemetry.d.ts +0 -156
  596. package/dist/src/compiled/@workflow/core/test-support/append-only-world.d.ts +0 -458
  597. package/dist/src/compiled/@workflow/core/test-support/fence-snapshot.d.ts +0 -11
  598. package/dist/src/compiled/@workflow/core/test-support/load-events.d.ts +0 -8
  599. package/dist/src/compiled/@workflow/core/test-support/orchestrator-context.d.ts +0 -25
  600. package/dist/src/compiled/@workflow/core/test-support/orchestrator-harness.d.ts +0 -504
  601. package/dist/src/compiled/@workflow/core/types.d.ts +0 -43
  602. package/dist/src/compiled/@workflow/core/util.d.ts +0 -35
  603. package/dist/src/compiled/@workflow/core/version.d.ts +0 -2
  604. package/dist/src/compiled/@workflow/core/vm/index.d.ts +0 -17
  605. package/dist/src/compiled/@workflow/core/vm/script-cache.d.ts +0 -26
  606. package/dist/src/compiled/@workflow/core/vm/uint8array-base64.d.ts +0 -21
  607. package/dist/src/compiled/@workflow/core/vm/uuid.d.ts +0 -10
  608. package/dist/src/compiled/@workflow/core/workflow/abort-controller.d.ts +0 -65
  609. package/dist/src/compiled/@workflow/core/workflow/attribute-dispatcher.d.ts +0 -6
  610. package/dist/src/compiled/@workflow/core/workflow/create-hook.d.ts +0 -7
  611. package/dist/src/compiled/@workflow/core/workflow/define-hook.d.ts +0 -10
  612. package/dist/src/compiled/@workflow/core/workflow/get-workflow-metadata.d.ts +0 -32
  613. package/dist/src/compiled/@workflow/core/workflow/hook.d.ts +0 -15
  614. package/dist/src/compiled/@workflow/core/workflow/index.d.ts +0 -13
  615. package/dist/src/compiled/@workflow/core/workflow/set-attributes.d.ts +0 -72
  616. package/dist/src/compiled/@workflow/core/workflow/sleep.d.ts +0 -4
  617. package/dist/src/compiled/@workflow/core/workflow/world-init-stub.d.ts +0 -15
  618. package/dist/src/compiled/@workflow/core/workflow/writable-stream.d.ts +0 -3
  619. package/dist/src/compiled/@workflow/core/workflow.d.ts +0 -2
  620. package/dist/src/compiled/@workflow/errors/_ms.d.ts +0 -4
  621. package/dist/src/compiled/@workflow/errors/ansi.d.ts +0 -57
  622. package/dist/src/compiled/@workflow/errors/error-codes.d.ts +0 -29
  623. package/dist/src/compiled/@workflow/errors/index.d.ts +0 -842
  624. package/dist/src/compiled/@workflow/serde/index.d.ts +0 -30
  625. package/dist/src/compiled/@workflow/world/analytics.d.ts +0 -275
  626. package/dist/src/compiled/@workflow/world/attributes-validation.d.ts +0 -101
  627. package/dist/src/compiled/@workflow/world/attributes.d.ts +0 -18
  628. package/dist/src/compiled/@workflow/world/capabilities.d.ts +0 -37
  629. package/dist/src/compiled/@workflow/world/env-config.d.ts +0 -76
  630. package/dist/src/compiled/@workflow/world/event-metadata.d.ts +0 -132
  631. package/dist/src/compiled/@workflow/world/events.d.ts +0 -1292
  632. package/dist/src/compiled/@workflow/world/hooks.d.ts +0 -147
  633. package/dist/src/compiled/@workflow/world/index.d.ts +0 -37
  634. package/dist/src/compiled/@workflow/world/interfaces.d.ts +0 -938
  635. package/dist/src/compiled/@workflow/world/invocation.d.ts +0 -19
  636. package/dist/src/compiled/@workflow/world/node-http-flag.d.ts +0 -41
  637. package/dist/src/compiled/@workflow/world/node-http.d.ts +0 -81
  638. package/dist/src/compiled/@workflow/world/queue.d.ts +0 -888
  639. package/dist/src/compiled/@workflow/world/recovery.d.ts +0 -36
  640. package/dist/src/compiled/@workflow/world/runs.d.ts +0 -314
  641. package/dist/src/compiled/@workflow/world/serialization.d.ts +0 -25
  642. package/dist/src/compiled/@workflow/world/shared.d.ts +0 -122
  643. package/dist/src/compiled/@workflow/world/slot-identity.d.ts +0 -90
  644. package/dist/src/compiled/@workflow/world/snapshots.d.ts +0 -64
  645. package/dist/src/compiled/@workflow/world/spec-version.d.ts +0 -257
  646. package/dist/src/compiled/@workflow/world/start-hook.d.ts +0 -177
  647. package/dist/src/compiled/@workflow/world/steps.d.ts +0 -82
  648. package/dist/src/compiled/@workflow/world/test-support/atomic-start-hook-conformance.d.ts +0 -109
  649. package/dist/src/compiled/@workflow/world/test-support/duplicate-event-fixtures.d.ts +0 -44
  650. package/dist/src/compiled/@workflow/world/test-support/in-band-fence-conformance.d.ts +0 -51
  651. package/dist/src/compiled/@workflow/world/ulid.d.ts +0 -50
  652. package/dist/src/compiled/@workflow/world/waits.d.ts +0 -21
  653. package/dist/src/compiled/@workflow/world-local/index.d.ts +0 -15
  654. package/dist/src/compiled/_chunks/node/retry-DrgXNq3T.js +0 -1
  655. package/dist/src/compiled/_chunks/node/token-util-Bjo0BJMz.js +0 -25
  656. package/dist/src/compiled/_chunks/node/token-util-Dz7NR_Tr.js +0 -1
  657. package/dist/src/compiled/_chunks/workflow/chunk-5MU5Z6L3-YIxCtn7b.js +0 -1
  658. package/dist/src/compiled/_chunks/workflow/chunk-WVKEO4WS-BAUmOByS.js +0 -1
  659. package/dist/src/compiled/_chunks/workflow/delegation-DLl-shwK.js +0 -1
  660. package/dist/src/compiled/_chunks/workflow/delivery-BrRGuXkQ.js +0 -1
  661. package/dist/src/compiled/_chunks/workflow/dist-74tor0XD.js +0 -66
  662. package/dist/src/compiled/_chunks/workflow/dist-DxRkCvK_.js +0 -4
  663. package/dist/src/compiled/_chunks/workflow/dist-M6hOHh4e.js +0 -1
  664. package/dist/src/compiled/_chunks/workflow/esm-B-KJJdww.js +0 -1
  665. package/dist/src/compiled/_chunks/workflow/functions-C4nAezjk.js +0 -60
  666. package/dist/src/compiled/_chunks/workflow/getMachineId-linux-NDQO5XIJ-Df0-OceL.js +0 -1
  667. package/dist/src/compiled/_chunks/workflow/getMachineId-unsupported-4HKOBEHB-Cp1dgBjO.js +0 -1
  668. package/dist/src/compiled/_chunks/workflow/mcp-BwOs3XEw.js +0 -5
  669. package/dist/src/compiled/_chunks/workflow/resume-hook-C7lViLeL.js +0 -1
  670. package/dist/src/compiled/_chunks/workflow/rolldown-runtime-Bdq61TOx.js +0 -1
  671. package/dist/src/compiled/_chunks/workflow/run-CBoukBsx.js +0 -34
  672. package/dist/src/compiled/_chunks/workflow/serialization-C5CU_DM9.js +0 -12
  673. package/dist/src/compiled/_chunks/workflow/sleep-c59AMqRs.js +0 -1
  674. package/dist/src/compiled/_chunks/workflow/suspension-hooks-CBo2hPl5.js +0 -3
  675. package/dist/src/compiled/_chunks/workflow/token-D3jqBt4E.js +0 -1
  676. package/dist/src/compiled/_chunks/workflow/token-DdYeX5AJ.js +0 -1
  677. package/dist/src/compiled/_chunks/workflow/token-lvcx9AkX.js +0 -1
  678. package/dist/src/compiled/_chunks/workflow/token-util-cvUzLGvF.js +0 -1
  679. package/dist/src/compiled/_chunks/workflow/undici-Dq-ari9z.js +0 -95
  680. package/dist/src/compiled/_chunks/workflow/wrapper-D2LPJXTV.js +0 -8
  681. package/dist/src/compiled/chokidar/index.d.ts +0 -33
  682. package/dist/src/compiled/commander/index.d.ts +0 -1116
  683. package/dist/src/compiled/croner/index.d.ts +0 -8
  684. package/dist/src/compiled/env-runner/index.d.ts +0 -74
  685. package/dist/src/compiled/env-runner/node-worker.d.ts +0 -1
  686. package/dist/src/compiled/eventsource-parser/stream/errors.d.ts +0 -35
  687. package/dist/src/compiled/eventsource-parser/stream/index.d.ts +0 -76
  688. package/dist/src/compiled/eventsource-parser/stream/types.d.ts +0 -130
  689. package/dist/src/compiled/immer/index.d.ts +0 -10
  690. package/dist/src/compiled/js-yaml/index.d.ts +0 -31
  691. package/dist/src/compiled/json-schema/index.d.ts +0 -749
  692. package/dist/src/compiled/jsonc-parser/index.d.ts +0 -32
  693. package/dist/src/compiled/just-secrets/index.d.ts +0 -20
  694. package/dist/src/compiled/marked/index.d.ts +0 -24
  695. package/dist/src/compiled/picocolors/index.d.ts +0 -55
  696. package/dist/src/compiled/run/index.d.ts +0 -388
  697. package/dist/src/compiled/semver/index.d.ts +0 -29
  698. package/dist/src/compiled/shadcn-registry/index.d.ts +0 -58
  699. package/dist/src/compiled/zod-validation-error/index.d.ts +0 -12
  700. package/dist/src/compiler/artifact-contract.d.ts +0 -43
  701. package/dist/src/compiler/artifacts.d.ts +0 -80
  702. package/dist/src/compiler/bundled-extension.d.ts +0 -23
  703. package/dist/src/compiler/channel-route-plan.d.ts +0 -12
  704. package/dist/src/compiler/compile-agent.d.ts +0 -58
  705. package/dist/src/compiler/connection-ownership.d.ts +0 -6
  706. package/dist/src/compiler/default-tool-policy.d.ts +0 -9
  707. package/dist/src/compiler/development-extensions.d.ts +0 -23
  708. package/dist/src/compiler/diagnostics.d.ts +0 -27
  709. package/dist/src/compiler/extension-compatibility.d.ts +0 -32
  710. package/dist/src/compiler/extension-mount-bindings.d.ts +0 -5
  711. package/dist/src/compiler/model-catalog.d.ts +0 -22
  712. package/dist/src/compiler/module-lifecycle.d.ts +0 -14
  713. package/dist/src/compiler/node-source-state.d.ts +0 -27
  714. package/dist/src/compiler/normalize-agent-config.d.ts +0 -14
  715. package/dist/src/compiler/normalize-channel.d.ts +0 -23
  716. package/dist/src/compiler/normalize-connection.d.ts +0 -30
  717. package/dist/src/compiler/normalize-definitions.d.ts +0 -8
  718. package/dist/src/compiler/normalize-helpers.d.ts +0 -48
  719. package/dist/src/compiler/normalize-instructions.d.ts +0 -32
  720. package/dist/src/compiler/normalize-manifest-helpers.d.ts +0 -45
  721. package/dist/src/compiler/normalize-manifest-types.d.ts +0 -28
  722. package/dist/src/compiler/normalize-manifest.d.ts +0 -5
  723. package/dist/src/compiler/normalize-sandbox.d.ts +0 -4
  724. package/dist/src/compiler/normalize-schedule-collection.d.ts +0 -10
  725. package/dist/src/compiler/normalize-schedule.d.ts +0 -15
  726. package/dist/src/compiler/normalize-skill.d.ts +0 -28
  727. package/dist/src/compiler/normalize-subagent.d.ts +0 -16
  728. package/dist/src/compiler/normalize-tool.d.ts +0 -36
  729. package/dist/src/compiler/project-sources.d.ts +0 -66
  730. package/dist/src/compiler/resolve-workspace-subagent.d.ts +0 -13
  731. package/dist/src/compiler/validate-artifact.d.ts +0 -17
  732. package/dist/src/compiler/workspace-resources.d.ts +0 -14
  733. package/dist/src/computer-use/extension/lib/command-failure.d.ts +0 -7
  734. package/dist/src/computer-use/extension/lib/computer-use-driver-source.d.ts +0 -12
  735. package/dist/src/computer-use/extension/lib/computer-use.d.ts +0 -38
  736. package/dist/src/computer-use/extension/lib/shell.d.ts +0 -1
  737. package/dist/src/connections/ownership.d.ts +0 -18
  738. package/dist/src/context/build-base-tool-context.d.ts +0 -14
  739. package/dist/src/context/build-callback-context.d.ts +0 -15
  740. package/dist/src/context/key-names.d.ts +0 -14
  741. package/dist/src/context/prewarm.d.ts +0 -27
  742. package/dist/src/context/provider.d.ts +0 -30
  743. package/dist/src/context/providers/connection-key.d.ts +0 -9
  744. package/dist/src/context/providers/connection.d.ts +0 -4
  745. package/dist/src/context/providers/sandbox.d.ts +0 -10
  746. package/dist/src/context/providers/session.d.ts +0 -21
  747. package/dist/src/context/providers/tool-stubs-key.d.ts +0 -8
  748. package/dist/src/context/run-step.d.ts +0 -23
  749. package/dist/src/context/schedule-collection-tools.d.ts +0 -23
  750. package/dist/src/context/serialize.d.ts +0 -19
  751. package/dist/src/context/turn-principals.d.ts +0 -12
  752. package/dist/src/context/workflow-step.d.ts +0 -3
  753. package/dist/src/definitions/agent-definitions.d.ts +0 -57
  754. package/dist/src/definitions/agent.d.ts +0 -7
  755. package/dist/src/definitions/approvals.d.ts +0 -6
  756. package/dist/src/definitions/builtins.d.ts +0 -6
  757. package/dist/src/definitions/catalog.d.ts +0 -7
  758. package/dist/src/definitions/combine.d.ts +0 -9
  759. package/dist/src/definitions/compiled-agent.d.ts +0 -12
  760. package/dist/src/definitions/connections.d.ts +0 -21
  761. package/dist/src/definitions/continuation.d.ts +0 -19
  762. package/dist/src/definitions/frame.d.ts +0 -13
  763. package/dist/src/definitions/hooks.d.ts +0 -33
  764. package/dist/src/definitions/instructions.d.ts +0 -21
  765. package/dist/src/definitions/intents.d.ts +0 -33
  766. package/dist/src/definitions/messages.d.ts +0 -17
  767. package/dist/src/definitions/session-agent.d.ts +0 -26
  768. package/dist/src/definitions/skills.d.ts +0 -27
  769. package/dist/src/definitions/state.d.ts +0 -113
  770. package/dist/src/definitions/step.d.ts +0 -53
  771. package/dist/src/definitions/subagents.d.ts +0 -16
  772. package/dist/src/definitions/tools.d.ts +0 -33
  773. package/dist/src/definitions/turn.d.ts +0 -12
  774. package/dist/src/discover/bundled-extension.d.ts +0 -11
  775. package/dist/src/discover/connections.d.ts +0 -19
  776. package/dist/src/discover/discover-agent.d.ts +0 -87
  777. package/dist/src/discover/discover-subagent.d.ts +0 -35
  778. package/dist/src/discover/extension-specifier.d.ts +0 -17
  779. package/dist/src/discover/extensions.d.ts +0 -127
  780. package/dist/src/discover/filesystem.d.ts +0 -74
  781. package/dist/src/discover/grammar.d.ts +0 -196
  782. package/dist/src/discover/lib.d.ts +0 -35
  783. package/dist/src/discover/manifest.d.ts +0 -297
  784. package/dist/src/discover/markdown.d.ts +0 -19
  785. package/dist/src/discover/memory.d.ts +0 -13
  786. package/dist/src/discover/named-source-directory.d.ts +0 -98
  787. package/dist/src/discover/project-source.d.ts +0 -113
  788. package/dist/src/discover/project.d.ts +0 -33
  789. package/dist/src/discover/sandbox.d.ts +0 -32
  790. package/dist/src/discover/schedules.d.ts +0 -38
  791. package/dist/src/discover/skills.d.ts +0 -35
  792. package/dist/src/discover/slots.d.ts +0 -30
  793. package/dist/src/evals/abort.d.ts +0 -2
  794. package/dist/src/evals/assertions/scoped.d.ts +0 -17
  795. package/dist/src/evals/cli/eval-client.d.ts +0 -20
  796. package/dist/src/evals/cli/eval-state-directory.d.ts +0 -7
  797. package/dist/src/evals/cli/eval.d.ts +0 -31
  798. package/dist/src/evals/cli/filter.d.ts +0 -14
  799. package/dist/src/evals/context.d.ts +0 -21
  800. package/dist/src/evals/control-flow.d.ts +0 -9
  801. package/dist/src/evals/diagnostics.d.ts +0 -8
  802. package/dist/src/evals/expect/levenshtein.d.ts +0 -2
  803. package/dist/src/evals/judge.d.ts +0 -12
  804. package/dist/src/evals/output.d.ts +0 -3
  805. package/dist/src/evals/reported-tool-name.d.ts +0 -9
  806. package/dist/src/evals/runner/artifacts.d.ts +0 -12
  807. package/dist/src/evals/runner/attempt-label.d.ts +0 -2
  808. package/dist/src/evals/runner/derive-run-facts.d.ts +0 -16
  809. package/dist/src/evals/runner/discover.d.ts +0 -51
  810. package/dist/src/evals/runner/execute-eval.d.ts +0 -31
  811. package/dist/src/evals/runner/execute-task.d.ts +0 -38
  812. package/dist/src/evals/runner/reporters/assertion-diagnostics.d.ts +0 -3
  813. package/dist/src/evals/runner/reporters/assertion-scores.d.ts +0 -30
  814. package/dist/src/evals/runner/reporters/datadog-runtime-trace-links.d.ts +0 -11
  815. package/dist/src/evals/runner/resolve-git-metadata.d.ts +0 -16
  816. package/dist/src/evals/runner/run-evals.d.ts +0 -44
  817. package/dist/src/evals/runner/verdict.d.ts +0 -14
  818. package/dist/src/evals/session-cleanup.d.ts +0 -7
  819. package/dist/src/evals/session-content.d.ts +0 -5
  820. package/dist/src/eve-channel/audience.d.ts +0 -3
  821. package/dist/src/eve-channel/create-request.d.ts +0 -24
  822. package/dist/src/eve-channel/descendant-stream.d.ts +0 -9
  823. package/dist/src/eve-channel/request.d.ts +0 -43
  824. package/dist/src/eve-channel/stream-headers.d.ts +0 -1
  825. package/dist/src/eve-channel/turn-policy-request.d.ts +0 -2
  826. package/dist/src/execution/agent-sessions/message.d.ts +0 -4
  827. package/dist/src/execution/agent-sessions/metadata.d.ts +0 -8
  828. package/dist/src/execution/agent-sessions/remote-credentials.d.ts +0 -19
  829. package/dist/src/execution/agent-sessions/remote-session.d.ts +0 -16
  830. package/dist/src/execution/agent-sessions/remote.d.ts +0 -117
  831. package/dist/src/execution/agent-sessions/requests.d.ts +0 -22
  832. package/dist/src/execution/agent-sessions/session.d.ts +0 -12
  833. package/dist/src/execution/agent-sessions/sessions-over.d.ts +0 -29
  834. package/dist/src/execution/agent-sessions/steps.d.ts +0 -27
  835. package/dist/src/execution/agent-sessions/usage.d.ts +0 -10
  836. package/dist/src/execution/authorization-callback-match.d.ts +0 -14
  837. package/dist/src/execution/callback-hook-tokens.d.ts +0 -18
  838. package/dist/src/execution/cancelled-model-call-batch.d.ts +0 -17
  839. package/dist/src/execution/cancelled-turn-message.d.ts +0 -2
  840. package/dist/src/execution/catalog/catalog-tools.d.ts +0 -22
  841. package/dist/src/execution/catalog/connection-auth.d.ts +0 -43
  842. package/dist/src/execution/catalog/connection-entry.d.ts +0 -17
  843. package/dist/src/execution/catalog/listing.d.ts +0 -12
  844. package/dist/src/execution/catalog/rank.d.ts +0 -44
  845. package/dist/src/execution/catalog/search.d.ts +0 -28
  846. package/dist/src/execution/catalog/signatures.d.ts +0 -11
  847. package/dist/src/execution/catalog/step-catalog.d.ts +0 -74
  848. package/dist/src/execution/channel-context.d.ts +0 -5
  849. package/dist/src/execution/close-session-stream-step.d.ts +0 -9
  850. package/dist/src/execution/connections/callback-route.d.ts +0 -27
  851. package/dist/src/execution/continuation-conflict-step.d.ts +0 -8
  852. package/dist/src/execution/coordination-dispatch-step.d.ts +0 -20
  853. package/dist/src/execution/create-session-step.d.ts +0 -35
  854. package/dist/src/execution/delegated-session-context.d.ts +0 -2
  855. package/dist/src/execution/deliver-payloads.d.ts +0 -3
  856. package/dist/src/execution/dynamic-workflow/program-step.d.ts +0 -21
  857. package/dist/src/execution/dynamic-workflow/schema.d.ts +0 -42
  858. package/dist/src/execution/dynamic-workflow/security-step.d.ts +0 -3
  859. package/dist/src/execution/dynamic-workflow/tool.d.ts +0 -8
  860. package/dist/src/execution/dynamic-workflow/workflow.d.ts +0 -10
  861. package/dist/src/execution/effective-agent-config.d.ts +0 -29
  862. package/dist/src/execution/eve-workflow-attributes.d.ts +0 -159
  863. package/dist/src/execution/failure-summary.d.ts +0 -11
  864. package/dist/src/execution/forward-session-input.d.ts +0 -4
  865. package/dist/src/execution/framework-workflow-bodies.d.ts +0 -7
  866. package/dist/src/execution/hook-ownership.d.ts +0 -23
  867. package/dist/src/execution/hosts.d.ts +0 -131
  868. package/dist/src/execution/initial-session-values.d.ts +0 -17
  869. package/dist/src/execution/install-workflow-deployment-id.d.ts +0 -3
  870. package/dist/src/execution/install-workflow-world.d.ts +0 -15
  871. package/dist/src/execution/invoke-tool.d.ts +0 -39
  872. package/dist/src/execution/legacy-session/authorization.d.ts +0 -1
  873. package/dist/src/execution/legacy-session/completion-step.d.ts +0 -12
  874. package/dist/src/execution/legacy-session/inbox.d.ts +0 -24
  875. package/dist/src/execution/legacy-session/input.d.ts +0 -17
  876. package/dist/src/execution/legacy-session/interrupt-step.d.ts +0 -3
  877. package/dist/src/execution/legacy-session/prepare-step.d.ts +0 -24
  878. package/dist/src/execution/legacy-session/snapshot.d.ts +0 -21
  879. package/dist/src/execution/legacy-session/turn-workflow.d.ts +0 -8
  880. package/dist/src/execution/model-call-batching.d.ts +0 -12
  881. package/dist/src/execution/ndjson-stream.d.ts +0 -19
  882. package/dist/src/execution/node-step.d.ts +0 -78
  883. package/dist/src/execution/proxied-deliver-step.d.ts +0 -45
  884. package/dist/src/execution/public-destination.d.ts +0 -37
  885. package/dist/src/execution/reconcile-session-continuation-token.d.ts +0 -4
  886. package/dist/src/execution/report-dropped-wire-payload-step.d.ts +0 -13
  887. package/dist/src/execution/route-child-delivery.d.ts +0 -20
  888. package/dist/src/execution/run-host.d.ts +0 -52
  889. package/dist/src/execution/runtime-context.d.ts +0 -14
  890. package/dist/src/execution/sandbox/abort-bound-session.d.ts +0 -6
  891. package/dist/src/execution/sandbox/active-connections.d.ts +0 -28
  892. package/dist/src/execution/sandbox/bash.d.ts +0 -69
  893. package/dist/src/execution/sandbox/bindings/docker-base-setup.d.ts +0 -7
  894. package/dist/src/execution/sandbox/bindings/docker-connection.d.ts +0 -15
  895. package/dist/src/execution/sandbox/bindings/docker-container.d.ts +0 -18
  896. package/dist/src/execution/sandbox/bindings/docker-network.d.ts +0 -13
  897. package/dist/src/execution/sandbox/bindings/docker-options.d.ts +0 -20
  898. package/dist/src/execution/sandbox/bindings/docker-templates.d.ts +0 -41
  899. package/dist/src/execution/sandbox/bindings/docker-utils.d.ts +0 -2
  900. package/dist/src/execution/sandbox/bindings/docker.d.ts +0 -32
  901. package/dist/src/execution/sandbox/bindings/just-bash-runtime.d.ts +0 -26
  902. package/dist/src/execution/sandbox/bindings/just-bash.d.ts +0 -18
  903. package/dist/src/execution/sandbox/bindings/local-provider-utils.d.ts +0 -6
  904. package/dist/src/execution/sandbox/bindings/local-template-prune.d.ts +0 -16
  905. package/dist/src/execution/sandbox/bindings/local.d.ts +0 -22
  906. package/dist/src/execution/sandbox/bindings/vercel-base-runtime.d.ts +0 -12
  907. package/dist/src/execution/sandbox/bindings/vercel-create-sdk.d.ts +0 -19
  908. package/dist/src/execution/sandbox/bindings/vercel-credentials.d.ts +0 -10
  909. package/dist/src/execution/sandbox/bindings/vercel-errors.d.ts +0 -13
  910. package/dist/src/execution/sandbox/bindings/vercel-lifecycle.d.ts +0 -15
  911. package/dist/src/execution/sandbox/bindings/vercel-lookup.d.ts +0 -12
  912. package/dist/src/execution/sandbox/bindings/vercel-options.d.ts +0 -9
  913. package/dist/src/execution/sandbox/bindings/vercel-read-stream.d.ts +0 -5
  914. package/dist/src/execution/sandbox/bindings/vercel-sdk-types.d.ts +0 -5
  915. package/dist/src/execution/sandbox/bindings/vercel-tool-sessions.d.ts +0 -7
  916. package/dist/src/execution/sandbox/bindings/vercel.d.ts +0 -21
  917. package/dist/src/execution/sandbox/development-cleanup.d.ts +0 -4
  918. package/dist/src/execution/sandbox/development-lazy-prewarm.d.ts +0 -7
  919. package/dist/src/execution/sandbox/development-run.d.ts +0 -5
  920. package/dist/src/execution/sandbox/dockerfile.d.ts +0 -20
  921. package/dist/src/execution/sandbox/ensure.d.ts +0 -42
  922. package/dist/src/execution/sandbox/glob-tool.d.ts +0 -22
  923. package/dist/src/execution/sandbox/logging-session.d.ts +0 -5
  924. package/dist/src/execution/sandbox/multiplexed-command.d.ts +0 -38
  925. package/dist/src/execution/sandbox/prewarm.d.ts +0 -61
  926. package/dist/src/execution/sandbox/provider-files.d.ts +0 -2
  927. package/dist/src/execution/sandbox/provider-identity.d.ts +0 -1
  928. package/dist/src/execution/sandbox/read-file.d.ts +0 -35
  929. package/dist/src/execution/sandbox/require-sandbox.d.ts +0 -7
  930. package/dist/src/execution/sandbox/ripgrep-probe.d.ts +0 -2
  931. package/dist/src/execution/sandbox/shell-quote.d.ts +0 -1
  932. package/dist/src/execution/sandbox/stream-utils.d.ts +0 -9
  933. package/dist/src/execution/sandbox/truncate-output.d.ts +0 -69
  934. package/dist/src/execution/session/accepted-deployment.d.ts +0 -3
  935. package/dist/src/execution/session/active-turn.d.ts +0 -117
  936. package/dist/src/execution/session/admission.d.ts +0 -40
  937. package/dist/src/execution/session/answer-caller.d.ts +0 -19
  938. package/dist/src/execution/session/checkpoint-migrations.d.ts +0 -32
  939. package/dist/src/execution/session/checkpoint-refusal.d.ts +0 -4
  940. package/dist/src/execution/session/control-delivery.d.ts +0 -4
  941. package/dist/src/execution/session/delivery-facts.d.ts +0 -27
  942. package/dist/src/execution/session/end-sandbox-step.d.ts +0 -12
  943. package/dist/src/execution/session/entry.d.ts +0 -17
  944. package/dist/src/execution/session/finalization.d.ts +0 -35
  945. package/dist/src/execution/session/handoff-state.d.ts +0 -5
  946. package/dist/src/execution/session/handoff-steps.d.ts +0 -130
  947. package/dist/src/execution/session/handoff.d.ts +0 -124
  948. package/dist/src/execution/session/handover-tracing.d.ts +0 -3
  949. package/dist/src/execution/session/hook-tokens.d.ts +0 -11
  950. package/dist/src/execution/session/imported-conversation.d.ts +0 -2
  951. package/dist/src/execution/session/input-queue.d.ts +0 -101
  952. package/dist/src/execution/session/interrupted-step.d.ts +0 -69
  953. package/dist/src/execution/session/next-input.d.ts +0 -37
  954. package/dist/src/execution/session/owner-boot.d.ts +0 -31
  955. package/dist/src/execution/session/pending-history.d.ts +0 -5
  956. package/dist/src/execution/session/pending-turn-state.d.ts +0 -37
  957. package/dist/src/execution/session/pre-v27-checkpoint.d.ts +0 -42
  958. package/dist/src/execution/session/prewarm-step.d.ts +0 -13
  959. package/dist/src/execution/session/principal.d.ts +0 -22
  960. package/dist/src/execution/session/program.d.ts +0 -87
  961. package/dist/src/execution/session/route-selected-delivery.d.ts +0 -10
  962. package/dist/src/execution/session/run-watch.d.ts +0 -26
  963. package/dist/src/execution/session/settle-control-delivery-step.d.ts +0 -8
  964. package/dist/src/execution/session/settle-duplicate-delivery-step.d.ts +0 -8
  965. package/dist/src/execution/session/state-cursor.d.ts +0 -50
  966. package/dist/src/execution/session/state-delta.d.ts +0 -30
  967. package/dist/src/execution/session/step-decision-check.d.ts +0 -9
  968. package/dist/src/execution/session/step-state-delta.d.ts +0 -24
  969. package/dist/src/execution/session/task-tool-tracing-step.d.ts +0 -2
  970. package/dist/src/execution/session/timeout-control.d.ts +0 -31
  971. package/dist/src/execution/session/timeout-steps.d.ts +0 -14
  972. package/dist/src/execution/session/timeout-workflow.d.ts +0 -8
  973. package/dist/src/execution/session/timeout.d.ts +0 -2
  974. package/dist/src/execution/session/turn-control.d.ts +0 -17
  975. package/dist/src/execution/session/turn-event-handler.d.ts +0 -17
  976. package/dist/src/execution/session/turn-step-result.d.ts +0 -8
  977. package/dist/src/execution/session/turn-step-types.d.ts +0 -110
  978. package/dist/src/execution/session/turn-step.d.ts +0 -28
  979. package/dist/src/execution/session/turn.d.ts +0 -110
  980. package/dist/src/execution/session/workflow-host.d.ts +0 -7
  981. package/dist/src/execution/session-callback-request.d.ts +0 -14
  982. package/dist/src/execution/session-commands.d.ts +0 -7
  983. package/dist/src/execution/session-event-stream.d.ts +0 -65
  984. package/dist/src/execution/session-inbox/end-stranded-session.d.ts +0 -36
  985. package/dist/src/execution/session-inbox/handle.d.ts +0 -7
  986. package/dist/src/execution/session-inbox/hook-release.d.ts +0 -11
  987. package/dist/src/execution/session-inbox/owner.d.ts +0 -69
  988. package/dist/src/execution/session-inbox/pre-v27.d.ts +0 -5
  989. package/dist/src/execution/session-inbox/protocol.d.ts +0 -12
  990. package/dist/src/execution/session-inbox/resume.d.ts +0 -42
  991. package/dist/src/execution/session-inbox/runnable-owner.d.ts +0 -13
  992. package/dist/src/execution/session-inbox/stranded-replay-guard.d.ts +0 -16
  993. package/dist/src/execution/session-inbox/workflow-transport.d.ts +0 -10
  994. package/dist/src/execution/session-line-store.d.ts +0 -19
  995. package/dist/src/execution/session-workflow-tool-run.d.ts +0 -21
  996. package/dist/src/execution/session.d.ts +0 -27
  997. package/dist/src/execution/settle-cancelled-turn-step.d.ts +0 -32
  998. package/dist/src/execution/skills/instructions.d.ts +0 -29
  999. package/dist/src/execution/stable-workflow-names.d.ts +0 -6
  1000. package/dist/src/execution/stop-runs.d.ts +0 -35
  1001. package/dist/src/execution/tasks/model-step.d.ts +0 -54
  1002. package/dist/src/execution/tasks/render.d.ts +0 -69
  1003. package/dist/src/execution/tasks/session.d.ts +0 -23
  1004. package/dist/src/execution/tasks/start.d.ts +0 -50
  1005. package/dist/src/execution/tasks/steps.d.ts +0 -39
  1006. package/dist/src/execution/tasks/task-id-input.d.ts +0 -19
  1007. package/dist/src/execution/tasks/tool-entry-point.d.ts +0 -11
  1008. package/dist/src/execution/tasks/workflow-target.d.ts +0 -2
  1009. package/dist/src/execution/terminal-session-completion-step.d.ts +0 -24
  1010. package/dist/src/execution/terminal-session-failure-step.d.ts +0 -14
  1011. package/dist/src/execution/terminate-child-sessions-step.d.ts +0 -12
  1012. package/dist/src/execution/tool-auth.d.ts +0 -17
  1013. package/dist/src/execution/tool-session/id.d.ts +0 -22
  1014. package/dist/src/execution/tool-stub-host.d.ts +0 -20
  1015. package/dist/src/execution/tool-stubs/playback.d.ts +0 -11
  1016. package/dist/src/execution/tool-stubs/steps.d.ts +0 -18
  1017. package/dist/src/execution/tools/channel-to.d.ts +0 -15
  1018. package/dist/src/execution/tools/file-state.d.ts +0 -56
  1019. package/dist/src/execution/tools/workflow/answer.d.ts +0 -10
  1020. package/dist/src/execution/tools/workflow/apply-run-messages-step.d.ts +0 -3
  1021. package/dist/src/execution/tools/workflow/apply-run-messages.d.ts +0 -36
  1022. package/dist/src/execution/tools/workflow/ask.d.ts +0 -79
  1023. package/dist/src/execution/tools/workflow/authorization-completion.d.ts +0 -3
  1024. package/dist/src/execution/tools/workflow/body.d.ts +0 -92
  1025. package/dist/src/execution/tools/workflow/cancellation-policy.d.ts +0 -2
  1026. package/dist/src/execution/tools/workflow/harness-definition.d.ts +0 -14
  1027. package/dist/src/execution/tools/workflow/interrupt.d.ts +0 -9
  1028. package/dist/src/execution/tools/workflow/owner-channels.d.ts +0 -29
  1029. package/dist/src/execution/tools/workflow/owner-inbox.d.ts +0 -13
  1030. package/dist/src/execution/tools/workflow/owner.d.ts +0 -36
  1031. package/dist/src/execution/tools/workflow/resume-hook-step.d.ts +0 -4
  1032. package/dist/src/execution/tools/workflow/resume-hook.d.ts +0 -4
  1033. package/dist/src/execution/tools/workflow/run.d.ts +0 -8
  1034. package/dist/src/execution/tools/workflow/serve.d.ts +0 -3
  1035. package/dist/src/execution/tools/workflow/start.d.ts +0 -51
  1036. package/dist/src/execution/tools/workflow/step.d.ts +0 -3
  1037. package/dist/src/execution/tools/workflow/types.d.ts +0 -10
  1038. package/dist/src/execution/tools/workflow/withdraw-step.d.ts +0 -29
  1039. package/dist/src/execution/tools/workflow/workflow-owner-blocking.d.ts +0 -23
  1040. package/dist/src/execution/tools/workflow/workflow-run-host.d.ts +0 -2
  1041. package/dist/src/execution/tools/workflow/workflow.d.ts +0 -3
  1042. package/dist/src/execution/v26-history.fixtures.d.ts +0 -4
  1043. package/dist/src/execution/web-fetch/execute.d.ts +0 -39
  1044. package/dist/src/execution/web-fetch/html.d.ts +0 -8
  1045. package/dist/src/execution/web-fetch/request.d.ts +0 -15
  1046. package/dist/src/execution/workflow-errors.d.ts +0 -19
  1047. package/dist/src/execution/workflow-host/dispatch-step.d.ts +0 -9
  1048. package/dist/src/execution/workflow-host/host.d.ts +0 -5
  1049. package/dist/src/execution/workflow-host/start-run.d.ts +0 -6
  1050. package/dist/src/execution/workflow-host/tool-stubs.d.ts +0 -7
  1051. package/dist/src/execution/workflow-host/turn-step.d.ts +0 -3
  1052. package/dist/src/execution/workflow-references.d.ts +0 -23
  1053. package/dist/src/execution/workflow-registry.d.ts +0 -5
  1054. package/dist/src/execution/workflow-runtime.d.ts +0 -41
  1055. package/dist/src/execution/workflow-webhook-route.d.ts +0 -4
  1056. package/dist/src/extensions/code/extension/hooks/authenticate.d.ts +0 -2
  1057. package/dist/src/extensions/code/extension/instructions/project.d.ts +0 -2
  1058. package/dist/src/extensions/code/extension/lib/command-failure.d.ts +0 -7
  1059. package/dist/src/extensions/code/extension/lib/connect-authentication.d.ts +0 -7
  1060. package/dist/src/extensions/code/extension/lib/project-instructions.d.ts +0 -13
  1061. package/dist/src/extensions/code/extension/lib/tooling.d.ts +0 -15
  1062. package/dist/src/extensions/custom-skills/extension/instructions/always-on.d.ts +0 -4
  1063. package/dist/src/extensions/custom-skills/extension/lib/lifecycle.d.ts +0 -122
  1064. package/dist/src/extensions/custom-skills/extension/lib/render.d.ts +0 -5
  1065. package/dist/src/extensions/custom-skills/extension/lib/runtime.d.ts +0 -26
  1066. package/dist/src/extensions/custom-skills/extension/lib/tool-support.d.ts +0 -102
  1067. package/dist/src/extensions/custom-skills/extension/skills/custom.d.ts +0 -9
  1068. package/dist/src/extensions/custom-skills/extension/tools/create.d.ts +0 -28
  1069. package/dist/src/extensions/custom-skills/extension/tools/list.d.ts +0 -60
  1070. package/dist/src/extensions/custom-skills/extension/tools/publish.d.ts +0 -36
  1071. package/dist/src/extensions/custom-skills/extension/tools/read.d.ts +0 -32
  1072. package/dist/src/extensions/custom-skills/extension/tools/remove.d.ts +0 -17
  1073. package/dist/src/extensions/custom-skills/extension/tools/set_mode.d.ts +0 -19
  1074. package/dist/src/extensions/git/extension/instructions/github.d.ts +0 -2
  1075. package/dist/src/extensions/git/extension/lib/connect-user-auth.d.ts +0 -15
  1076. package/dist/src/extensions/git/extension/lib/gh-tool.d.ts +0 -28
  1077. package/dist/src/extensions/git/extension/lib/github-guidance.d.ts +0 -4
  1078. package/dist/src/extensions/git/extension/lib/github-shell-schema.d.ts +0 -9
  1079. package/dist/src/extensions/git/extension/lib/repository-root.d.ts +0 -11
  1080. package/dist/src/extensions/git/extension/lib/sandbox-lease-lock.d.ts +0 -32
  1081. package/dist/src/extensions/git/extension/lib/shell.d.ts +0 -1
  1082. package/dist/src/extensions/git/extension/skills/pr.d.ts +0 -2
  1083. package/dist/src/extensions/git/extension/tools/gh.d.ts +0 -3
  1084. package/dist/src/framework/host-inventory.d.ts +0 -8
  1085. package/dist/src/framework/sources/default-tools.d.ts +0 -36
  1086. package/dist/src/framework/sources/modules/agent.d.ts +0 -5
  1087. package/dist/src/framework/sources/modules/eve-channel.d.ts +0 -1
  1088. package/dist/src/framework/sources/modules/home-channel.d.ts +0 -2
  1089. package/dist/src/framework/sources/modules/sandbox.d.ts +0 -3
  1090. package/dist/src/harness/action-presentation.d.ts +0 -18
  1091. package/dist/src/harness/action-result-helpers.d.ts +0 -52
  1092. package/dist/src/harness/approval-outcome.d.ts +0 -32
  1093. package/dist/src/harness/attachment-staging.d.ts +0 -47
  1094. package/dist/src/harness/call-facts.d.ts +0 -34
  1095. package/dist/src/harness/call-outcome.d.ts +0 -6
  1096. package/dist/src/harness/compaction/config.d.ts +0 -17
  1097. package/dist/src/harness/compaction/engine.d.ts +0 -64
  1098. package/dist/src/harness/compaction/over-limit-error.d.ts +0 -8
  1099. package/dist/src/harness/compaction/prompt.d.ts +0 -50
  1100. package/dist/src/harness/compaction/step.d.ts +0 -42
  1101. package/dist/src/harness/coordination.d.ts +0 -80
  1102. package/dist/src/harness/emission.d.ts +0 -40
  1103. package/dist/src/harness/execute-call.d.ts +0 -31
  1104. package/dist/src/harness/final-output.d.ts +0 -15
  1105. package/dist/src/harness/finish-reason.d.ts +0 -8
  1106. package/dist/src/harness/generation-steering.d.ts +0 -24
  1107. package/dist/src/harness/hitl/approval-prompt.d.ts +0 -10
  1108. package/dist/src/harness/hitl/approved-calls.d.ts +0 -51
  1109. package/dist/src/harness/hitl/budget.d.ts +0 -28
  1110. package/dist/src/harness/hitl/stale-responses.d.ts +0 -46
  1111. package/dist/src/harness/interaction-facts.d.ts +0 -42
  1112. package/dist/src/harness/interaction-relay.d.ts +0 -10
  1113. package/dist/src/harness/interruptible-stream.d.ts +0 -5
  1114. package/dist/src/harness/kernel.d.ts +0 -9
  1115. package/dist/src/harness/model-call/call.d.ts +0 -113
  1116. package/dist/src/harness/model-call/errors.d.ts +0 -94
  1117. package/dist/src/harness/model-call/failure.d.ts +0 -17
  1118. package/dist/src/harness/model-call/model.d.ts +0 -17
  1119. package/dist/src/harness/model-call/recovery.d.ts +0 -24
  1120. package/dist/src/harness/model-call/request.d.ts +0 -42
  1121. package/dist/src/harness/model-call/response.d.ts +0 -53
  1122. package/dist/src/harness/model-call/retry.d.ts +0 -28
  1123. package/dist/src/harness/model-call/run.d.ts +0 -33
  1124. package/dist/src/harness/model-call/tools.d.ts +0 -19
  1125. package/dist/src/harness/model-call/unique-call-ids.d.ts +0 -13
  1126. package/dist/src/harness/model-call/usage.d.ts +0 -26
  1127. package/dist/src/harness/ordered-stream-emitter.d.ts +0 -19
  1128. package/dist/src/harness/prompt-cache.d.ts +0 -71
  1129. package/dist/src/harness/provider-safety.d.ts +0 -15
  1130. package/dist/src/harness/provider-tool-history.d.ts +0 -31
  1131. package/dist/src/harness/provider-tool-schemas.d.ts +0 -23
  1132. package/dist/src/harness/provider-tools.d.ts +0 -39
  1133. package/dist/src/harness/publication.d.ts +0 -4
  1134. package/dist/src/harness/request-envelope.d.ts +0 -8
  1135. package/dist/src/harness/running-work.d.ts +0 -10
  1136. package/dist/src/harness/runtime-action-settlement-state.d.ts +0 -3
  1137. package/dist/src/harness/semantic-errors/index.d.ts +0 -9
  1138. package/dist/src/harness/semantic-errors/rule.d.ts +0 -83
  1139. package/dist/src/harness/semantic-errors/rules/gateway.d.ts +0 -11
  1140. package/dist/src/harness/semantic-errors/rules/model-provider.d.ts +0 -11
  1141. package/dist/src/harness/semantic-errors/rules/sandbox.d.ts +0 -14
  1142. package/dist/src/harness/semantic-errors/rules/system.d.ts +0 -2
  1143. package/dist/src/harness/semantic-errors/rules/workflow.d.ts +0 -9
  1144. package/dist/src/harness/semantic-errors/signals.d.ts +0 -31
  1145. package/dist/src/harness/session-machine/calls.d.ts +0 -16
  1146. package/dist/src/harness/session-machine/cascade.d.ts +0 -18
  1147. package/dist/src/harness/session-machine/children.d.ts +0 -11
  1148. package/dist/src/harness/session-machine/content.d.ts +0 -4
  1149. package/dist/src/harness/session-machine/context-changes.d.ts +0 -32
  1150. package/dist/src/harness/session-machine/deliveries.d.ts +0 -41
  1151. package/dist/src/harness/session-machine/lines.d.ts +0 -21
  1152. package/dist/src/harness/session-machine/runs.d.ts +0 -44
  1153. package/dist/src/harness/session-machine/waiting.d.ts +0 -16
  1154. package/dist/src/harness/session-stream-write-error.d.ts +0 -11
  1155. package/dist/src/harness/session-usage.d.ts +0 -22
  1156. package/dist/src/harness/step/after-model.d.ts +0 -29
  1157. package/dist/src/harness/step/park.d.ts +0 -19
  1158. package/dist/src/harness/step-hooks.d.ts +0 -103
  1159. package/dist/src/harness/stream-actions.d.ts +0 -17
  1160. package/dist/src/harness/token-estimate.d.ts +0 -13
  1161. package/dist/src/harness/tool-call-input-errors.d.ts +0 -40
  1162. package/dist/src/harness/tool-call-io.d.ts +0 -28
  1163. package/dist/src/harness/tool-history-repair.d.ts +0 -11
  1164. package/dist/src/harness/tool-model-output.d.ts +0 -59
  1165. package/dist/src/harness/tool-output-serialization.d.ts +0 -17
  1166. package/dist/src/harness/turn-cancellation.d.ts +0 -16
  1167. package/dist/src/harness/usage-sink.d.ts +0 -21
  1168. package/dist/src/harness/user-parts.d.ts +0 -4
  1169. package/dist/src/harness/workflow-admission.d.ts +0 -6
  1170. package/dist/src/harness/workflow-stream-error.d.ts +0 -22
  1171. package/dist/src/harness/workflow-tool-runs.d.ts +0 -28
  1172. package/dist/src/instrumentation/ai-sdk-hook-bridge.d.ts +0 -4
  1173. package/dist/src/instrumentation/ai-sdk-telemetry.d.ts +0 -35
  1174. package/dist/src/instrumentation/ai-sdk-warnings.d.ts +0 -6
  1175. package/dist/src/instrumentation/channel-delivery.d.ts +0 -5
  1176. package/dist/src/instrumentation/content-policy.d.ts +0 -7
  1177. package/dist/src/instrumentation/content.d.ts +0 -10
  1178. package/dist/src/instrumentation/decide.d.ts +0 -4
  1179. package/dist/src/instrumentation/decision-results.d.ts +0 -37
  1180. package/dist/src/instrumentation/dispatch.d.ts +0 -2
  1181. package/dist/src/instrumentation/parent-lineage.d.ts +0 -11
  1182. package/dist/src/instrumentation/principal-summary.d.ts +0 -13
  1183. package/dist/src/instrumentation/providers.d.ts +0 -13
  1184. package/dist/src/instrumentation/scope.d.ts +0 -18
  1185. package/dist/src/instrumentation/session-context.d.ts +0 -25
  1186. package/dist/src/instrumentation/setup-context.d.ts +0 -1
  1187. package/dist/src/instrumentation/trace-decision.d.ts +0 -5
  1188. package/dist/src/internal/a2a/execution.d.ts +0 -56
  1189. package/dist/src/internal/a2a/json-rpc.d.ts +0 -18
  1190. package/dist/src/internal/agent-name.d.ts +0 -2
  1191. package/dist/src/internal/application/build-output-environment.d.ts +0 -3
  1192. package/dist/src/internal/application/build-profile.d.ts +0 -67
  1193. package/dist/src/internal/application/build-workspace.d.ts +0 -35
  1194. package/dist/src/internal/application/compiled-artifacts.d.ts +0 -74
  1195. package/dist/src/internal/application/dev-environment.d.ts +0 -32
  1196. package/dist/src/internal/application/dev-transport.d.ts +0 -4
  1197. package/dist/src/internal/application/import-specifier.d.ts +0 -19
  1198. package/dist/src/internal/application/optional-package-import.d.ts +0 -24
  1199. package/dist/src/internal/application/optional-package-install.d.ts +0 -37
  1200. package/dist/src/internal/application/output-publication-artifacts.d.ts +0 -7
  1201. package/dist/src/internal/application/output-publication-journal.d.ts +0 -30
  1202. package/dist/src/internal/application/output-publication-lock.d.ts +0 -16
  1203. package/dist/src/internal/application/output-publication.d.ts +0 -33
  1204. package/dist/src/internal/application/package.d.ts +0 -63
  1205. package/dist/src/internal/application/paths.d.ts +0 -37
  1206. package/dist/src/internal/application/production-compiler-artifacts.d.ts +0 -4
  1207. package/dist/src/internal/application/runtime-compiled-artifacts-source.d.ts +0 -6
  1208. package/dist/src/internal/application/stamped-package-version.d.ts +0 -5
  1209. package/dist/src/internal/application/tsconfig-dependencies.d.ts +0 -7
  1210. package/dist/src/internal/attachments/data.d.ts +0 -37
  1211. package/dist/src/internal/attachments/errors.d.ts +0 -41
  1212. package/dist/src/internal/attachments/limited-read.d.ts +0 -18
  1213. package/dist/src/internal/attachments/media-metadata.d.ts +0 -40
  1214. package/dist/src/internal/attachments/public-link.d.ts +0 -5
  1215. package/dist/src/internal/attachments/read-media-metadata.d.ts +0 -7
  1216. package/dist/src/internal/attachments/sandbox-refs.d.ts +0 -52
  1217. package/dist/src/internal/attachments/url-refs.d.ts +0 -17
  1218. package/dist/src/internal/authored-asset-import-plugin.d.ts +0 -24
  1219. package/dist/src/internal/authored-definition/approval.d.ts +0 -8
  1220. package/dist/src/internal/authored-definition/channel.d.ts +0 -16
  1221. package/dist/src/internal/authored-definition/connection.d.ts +0 -18
  1222. package/dist/src/internal/authored-definition/core.d.ts +0 -49
  1223. package/dist/src/internal/authored-definition/hook.d.ts +0 -5
  1224. package/dist/src/internal/authored-definition/memory.d.ts +0 -5
  1225. package/dist/src/internal/authored-definition/schedule-collection.d.ts +0 -2
  1226. package/dist/src/internal/authored-definition/schema-backed.d.ts +0 -57
  1227. package/dist/src/internal/authored-definition/source-identity.d.ts +0 -32
  1228. package/dist/src/internal/authored-module-build-options.d.ts +0 -13
  1229. package/dist/src/internal/authored-module-bundle.d.ts +0 -4
  1230. package/dist/src/internal/authored-module-cache.d.ts +0 -10
  1231. package/dist/src/internal/authored-module-conditions.d.ts +0 -2
  1232. package/dist/src/internal/authored-module-evaluation-error.d.ts +0 -2
  1233. package/dist/src/internal/authored-module-map-loader.d.ts +0 -8
  1234. package/dist/src/internal/authored-package-tsconfig-paths.d.ts +0 -17
  1235. package/dist/src/internal/authored-relative-extension-resolver.d.ts +0 -14
  1236. package/dist/src/internal/authored-runtime-modules.d.ts +0 -25
  1237. package/dist/src/internal/bundler/authored-plugins.d.ts +0 -30
  1238. package/dist/src/internal/bundler/extension-mount-plugin.d.ts +0 -19
  1239. package/dist/src/internal/bundler/extension-scope-plugin.d.ts +0 -45
  1240. package/dist/src/internal/bundler/filters.d.ts +0 -33
  1241. package/dist/src/internal/bundler/pseudo-packages.d.ts +0 -21
  1242. package/dist/src/internal/bundler/rolldown.d.ts +0 -30
  1243. package/dist/src/internal/bundler/vendored-dependency-log.d.ts +0 -6
  1244. package/dist/src/internal/capability-error.d.ts +0 -3
  1245. package/dist/src/internal/classify-model-routing.d.ts +0 -23
  1246. package/dist/src/internal/client-context.d.ts +0 -2
  1247. package/dist/src/internal/compiled-manifest-fingerprint.d.ts +0 -5
  1248. package/dist/src/internal/dev-boot-progress.d.ts +0 -13
  1249. package/dist/src/internal/development-programmatic-source-loader.d.ts +0 -7
  1250. package/dist/src/internal/eve-project-root.d.ts +0 -5
  1251. package/dist/src/internal/external-resources-snapshot.d.ts +0 -46
  1252. package/dist/src/internal/external-resources.d.ts +0 -19
  1253. package/dist/src/internal/gateway.d.ts +0 -11
  1254. package/dist/src/internal/helpers/frontmatter.d.ts +0 -24
  1255. package/dist/src/internal/helpers/markdown.d.ts +0 -42
  1256. package/dist/src/internal/host-traced-dependencies.d.ts +0 -16
  1257. package/dist/src/internal/http/basic-auth.d.ts +0 -1
  1258. package/dist/src/internal/http/json-body.d.ts +0 -16
  1259. package/dist/src/internal/http/request-guards.d.ts +0 -34
  1260. package/dist/src/internal/input-text.d.ts +0 -13
  1261. package/dist/src/internal/installed-packages.d.ts +0 -28
  1262. package/dist/src/internal/instrumentation-layout.d.ts +0 -14
  1263. package/dist/src/internal/instrumentation.d.ts +0 -29
  1264. package/dist/src/internal/invocation/agent-invocation.d.ts +0 -53
  1265. package/dist/src/internal/invocation/attributes.d.ts +0 -2
  1266. package/dist/src/internal/invocation/metadata.d.ts +0 -7
  1267. package/dist/src/internal/invocation/owned-run.d.ts +0 -110
  1268. package/dist/src/internal/invocation/workflow-execution.d.ts +0 -30
  1269. package/dist/src/internal/materialized-authored-modules.d.ts +0 -21
  1270. package/dist/src/internal/mcp/forwarded-principal-header.d.ts +0 -31
  1271. package/dist/src/internal/mcp/protected-resource.d.ts +0 -10
  1272. package/dist/src/internal/mcp/published-tools.d.ts +0 -20
  1273. package/dist/src/internal/mcp/request-trace-context.d.ts +0 -12
  1274. package/dist/src/internal/mcp/skills.d.ts +0 -57
  1275. package/dist/src/internal/mcp/streamable-http-server.d.ts +0 -114
  1276. package/dist/src/internal/mock-model-identity.d.ts +0 -2
  1277. package/dist/src/internal/model-auth/api-key.d.ts +0 -7
  1278. package/dist/src/internal/model-auth/available-models.d.ts +0 -2
  1279. package/dist/src/internal/model-auth/development-broker-client.d.ts +0 -3
  1280. package/dist/src/internal/model-auth/development-broker-protocol.d.ts +0 -12
  1281. package/dist/src/internal/model-auth/development-broker-server.d.ts +0 -4
  1282. package/dist/src/internal/model-auth/gateway-credential.d.ts +0 -2
  1283. package/dist/src/internal/model-auth/store.d.ts +0 -16
  1284. package/dist/src/internal/model-auth/transport.d.ts +0 -8
  1285. package/dist/src/internal/model-auth/vercel-cli.d.ts +0 -9
  1286. package/dist/src/internal/model-auth/vercel-team.d.ts +0 -3
  1287. package/dist/src/internal/model-auth/vercel.d.ts +0 -13
  1288. package/dist/src/internal/nitro/dev-client-address.d.ts +0 -36
  1289. package/dist/src/internal/nitro/dev-runtime-artifacts-retention.d.ts +0 -11
  1290. package/dist/src/internal/nitro/dev-runtime-artifacts.d.ts +0 -49
  1291. package/dist/src/internal/nitro/dev-runtime-generation-metadata.d.ts +0 -13
  1292. package/dist/src/internal/nitro/dev-runtime-source-snapshot-copy.d.ts +0 -2
  1293. package/dist/src/internal/nitro/dev-runtime-source-snapshot-local-roots.d.ts +0 -14
  1294. package/dist/src/internal/nitro/dev-runtime-source-snapshot.d.ts +0 -38
  1295. package/dist/src/internal/nitro/development-generation.d.ts +0 -33
  1296. package/dist/src/internal/nitro/host/artifacts-config.d.ts +0 -21
  1297. package/dist/src/internal/nitro/host/build-application.d.ts +0 -5
  1298. package/dist/src/internal/nitro/host/build-deployment-id.d.ts +0 -8
  1299. package/dist/src/internal/nitro/host/build-extension.d.ts +0 -15
  1300. package/dist/src/internal/nitro/host/build-vercel-agent-summary.d.ts +0 -34
  1301. package/dist/src/internal/nitro/host/connection-drain-plugin.d.ts +0 -12
  1302. package/dist/src/internal/nitro/host/copy-host-middleware.d.ts +0 -12
  1303. package/dist/src/internal/nitro/host/create-host-nitro.d.ts +0 -7
  1304. package/dist/src/internal/nitro/host/dev-authored-rebuild-coordinator.d.ts +0 -40
  1305. package/dist/src/internal/nitro/host/dev-authored-source-watcher.d.ts +0 -24
  1306. package/dist/src/internal/nitro/host/dev-build-host.d.ts +0 -83
  1307. package/dist/src/internal/nitro/host/dev-build-operations.d.ts +0 -6
  1308. package/dist/src/internal/nitro/host/dev-build-process.d.ts +0 -1
  1309. package/dist/src/internal/nitro/host/dev-host-candidate.d.ts +0 -17
  1310. package/dist/src/internal/nitro/host/dev-host-fingerprint.d.ts +0 -6
  1311. package/dist/src/internal/nitro/host/dev-host-supervisor.d.ts +0 -61
  1312. package/dist/src/internal/nitro/host/dev-host-workspace.d.ts +0 -10
  1313. package/dist/src/internal/nitro/host/dev-runner.d.ts +0 -19
  1314. package/dist/src/internal/nitro/host/dev-server-http.d.ts +0 -5
  1315. package/dist/src/internal/nitro/host/dev-server-state.d.ts +0 -20
  1316. package/dist/src/internal/nitro/host/dev-server-url.d.ts +0 -6
  1317. package/dist/src/internal/nitro/host/dev-watcher-log.d.ts +0 -40
  1318. package/dist/src/internal/nitro/host/dev-worker-entry.d.ts +0 -1
  1319. package/dist/src/internal/nitro/host/dev-workflow-world-setup.d.ts +0 -10
  1320. package/dist/src/internal/nitro/host/dispatch-schedule-in-dev.d.ts +0 -46
  1321. package/dist/src/internal/nitro/host/extension-build-config.d.ts +0 -20
  1322. package/dist/src/internal/nitro/host/extension-build-lock.d.ts +0 -9
  1323. package/dist/src/internal/nitro/host/extension-declarations.d.ts +0 -10
  1324. package/dist/src/internal/nitro/host/extension-distribution.d.ts +0 -32
  1325. package/dist/src/internal/nitro/host/extension-external-dependencies.d.ts +0 -7
  1326. package/dist/src/internal/nitro/host/extension-state-usage.d.ts +0 -7
  1327. package/dist/src/internal/nitro/host/external-dependency-output-check.d.ts +0 -20
  1328. package/dist/src/internal/nitro/host/externals-policy.d.ts +0 -21
  1329. package/dist/src/internal/nitro/host/host-plugins.d.ts +0 -46
  1330. package/dist/src/internal/nitro/host/host-routes.d.ts +0 -100
  1331. package/dist/src/internal/nitro/host/host-spec.d.ts +0 -70
  1332. package/dist/src/internal/nitro/host/hosted-graph-plugin.d.ts +0 -44
  1333. package/dist/src/internal/nitro/host/instrumentation-entry.d.ts +0 -35
  1334. package/dist/src/internal/nitro/host/local-schedules-runtime-plugin.d.ts +0 -5
  1335. package/dist/src/internal/nitro/host/local-tracing-runtime.d.ts +0 -6
  1336. package/dist/src/internal/nitro/host/ports.d.ts +0 -18
  1337. package/dist/src/internal/nitro/host/prepare-application-host.d.ts +0 -26
  1338. package/dist/src/internal/nitro/host/route-handlers.d.ts +0 -65
  1339. package/dist/src/internal/nitro/host/runtime-plugin.d.ts +0 -17
  1340. package/dist/src/internal/nitro/host/sandbox-shutdown-plugin.d.ts +0 -32
  1341. package/dist/src/internal/nitro/host/skill-files-plugin.d.ts +0 -21
  1342. package/dist/src/internal/nitro/host/stage-build-deployment-id.d.ts +0 -2
  1343. package/dist/src/internal/nitro/host/start-development-server.d.ts +0 -20
  1344. package/dist/src/internal/nitro/host/start-production-server.d.ts +0 -9
  1345. package/dist/src/internal/nitro/host/timezone-schedules-runtime.d.ts +0 -13
  1346. package/dist/src/internal/nitro/host/types.d.ts +0 -91
  1347. package/dist/src/internal/nitro/host/vercel-build-output-config.d.ts +0 -49
  1348. package/dist/src/internal/nitro/host/vercel-build-prewarm.d.ts +0 -12
  1349. package/dist/src/internal/nitro/host/vercel-output.d.ts +0 -17
  1350. package/dist/src/internal/nitro/host/vercel-schedule-name.d.ts +0 -17
  1351. package/dist/src/internal/nitro/host/workflow-sandbox-runtime.d.ts +0 -2
  1352. package/dist/src/internal/nitro/host/workspace-extensions.d.ts +0 -31
  1353. package/dist/src/internal/nitro/host.d.ts +0 -4
  1354. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +0 -11
  1355. package/dist/src/internal/nitro/routes/agent-info/load-agent-info-data.d.ts +0 -25
  1356. package/dist/src/internal/nitro/routes/channel-dispatch.d.ts +0 -20
  1357. package/dist/src/internal/nitro/routes/channel-request-instrumentation.d.ts +0 -17
  1358. package/dist/src/internal/nitro/routes/channel-route-context.d.ts +0 -39
  1359. package/dist/src/internal/nitro/routes/connection-events.d.ts +0 -5
  1360. package/dist/src/internal/nitro/routes/dev-runtime-artifacts.d.ts +0 -10
  1361. package/dist/src/internal/nitro/routes/dev-schedule-dispatch.d.ts +0 -14
  1362. package/dist/src/internal/nitro/routes/index.d.ts +0 -14
  1363. package/dist/src/internal/nitro/routes/info.d.ts +0 -5
  1364. package/dist/src/internal/nitro/routes/method-guard.d.ts +0 -6
  1365. package/dist/src/internal/nitro/routes/route-invoke-tool.d.ts +0 -24
  1366. package/dist/src/internal/nitro/routes/runtime-artifacts.d.ts +0 -29
  1367. package/dist/src/internal/nitro/routes/runtime-stack.d.ts +0 -29
  1368. package/dist/src/internal/nitro/routes/schedule-collection-consumer.d.ts +0 -9
  1369. package/dist/src/internal/nitro/routes/schedule-task.d.ts +0 -24
  1370. package/dist/src/internal/node-esm-compat-banner.d.ts +0 -45
  1371. package/dist/src/internal/package-imports-hook.d.ts +0 -1
  1372. package/dist/src/internal/package-imports.d.ts +0 -2
  1373. package/dist/src/internal/package-name.d.ts +0 -8
  1374. package/dist/src/internal/project-context.d.ts +0 -31
  1375. package/dist/src/internal/resolve-model-endpoint-status.d.ts +0 -61
  1376. package/dist/src/internal/runtime-model.d.ts +0 -21
  1377. package/dist/src/internal/runtime-registry.d.ts +0 -76
  1378. package/dist/src/internal/schedules/consumer-route.d.ts +0 -19
  1379. package/dist/src/internal/schedules/dev-environment.d.ts +0 -2
  1380. package/dist/src/internal/schedules/disabled.d.ts +0 -2
  1381. package/dist/src/internal/schedules/verify-delivery.d.ts +0 -25
  1382. package/dist/src/internal/user-agent.d.ts +0 -13
  1383. package/dist/src/internal/vercel/api-resource.d.ts +0 -4
  1384. package/dist/src/internal/vercel/assemble-eve-services.d.ts +0 -18
  1385. package/dist/src/internal/vercel/build-agent-workspace.d.ts +0 -5
  1386. package/dist/src/internal/vercel/build-command.d.ts +0 -5
  1387. package/dist/src/internal/vercel/build-multi-agent-landing-page.d.ts +0 -3
  1388. package/dist/src/internal/vercel/eve-service-contribution.d.ts +0 -32
  1389. package/dist/src/internal/vercel/project-link.d.ts +0 -11
  1390. package/dist/src/internal/vercel/vercel-service-config-operations.d.ts +0 -18
  1391. package/dist/src/internal/vercel/vercel-service-name.d.ts +0 -6
  1392. package/dist/src/internal/vercel-agent-summary.d.ts +0 -248
  1393. package/dist/src/internal/workflow/builtins.d.ts +0 -34
  1394. package/dist/src/internal/workflow/cancel-expired-development-run.d.ts +0 -2
  1395. package/dist/src/internal/workflow/development-run-unavailable-error.d.ts +0 -15
  1396. package/dist/src/internal/workflow/development-runtime-compatibility.d.ts +0 -12
  1397. package/dist/src/internal/workflow/development-world-client.d.ts +0 -29
  1398. package/dist/src/internal/workflow/development-world-codec.d.ts +0 -12
  1399. package/dist/src/internal/workflow/development-world-protocol.d.ts +0 -36
  1400. package/dist/src/internal/workflow/development-world-server.d.ts +0 -29
  1401. package/dist/src/internal/workflow/index.d.ts +0 -6
  1402. package/dist/src/internal/workflow/local-world-data-directory.d.ts +0 -3
  1403. package/dist/src/internal/workflow/local-world-delivery-auth.d.ts +0 -17
  1404. package/dist/src/internal/workflow/local-world-delivery-timeouts.d.ts +0 -7
  1405. package/dist/src/internal/workflow/local-world-recovery.d.ts +0 -23
  1406. package/dist/src/internal/workflow/owner-deployment-deleted.d.ts +0 -9
  1407. package/dist/src/internal/workflow/queue-namespace.d.ts +0 -19
  1408. package/dist/src/internal/workflow/runtime.d.ts +0 -5
  1409. package/dist/src/internal/workflow/spec-version-default.d.ts +0 -9
  1410. package/dist/src/internal/workflow/start-claim.d.ts +0 -16
  1411. package/dist/src/internal/workflow/validate-world.d.ts +0 -16
  1412. package/dist/src/internal/workflow/vercel-world-defaults.d.ts +0 -4
  1413. package/dist/src/internal/workflow/world-compatibility.d.ts +0 -22
  1414. package/dist/src/internal/workflow/world-target.d.ts +0 -7
  1415. package/dist/src/internal/workflow-bundle/authored-workflow-directives.d.ts +0 -16
  1416. package/dist/src/internal/workflow-bundle/builder.d.ts +0 -26
  1417. package/dist/src/internal/workflow-bundle/flow-route.d.ts +0 -2
  1418. package/dist/src/internal/workflow-bundle/framework-driver-cache.d.ts +0 -30
  1419. package/dist/src/internal/workflow-bundle/nitro-step-entry.d.ts +0 -21
  1420. package/dist/src/internal/workflow-bundle/stable-module-id.d.ts +0 -6
  1421. package/dist/src/internal/workflow-bundle/workflow-core-shim.d.ts +0 -83
  1422. package/dist/src/internal/workflow-bundle/workflow-directive-ast.d.ts +0 -8
  1423. package/dist/src/internal/workflow-bundle/workflow-source-ast.d.ts +0 -6
  1424. package/dist/src/internal/workflow-bundle/workflow-transformer.d.ts +0 -37
  1425. package/dist/src/memory/definition.d.ts +0 -85
  1426. package/dist/src/protocol/baggage.d.ts +0 -26
  1427. package/dist/src/protocol/catalog-tools.d.ts +0 -12
  1428. package/dist/src/protocol/interaction-json.d.ts +0 -68
  1429. package/dist/src/protocol/remote-agent-protocol.d.ts +0 -45
  1430. package/dist/src/protocol/reply-tool.d.ts +0 -2
  1431. package/dist/src/protocol/reset-session.d.ts +0 -12
  1432. package/dist/src/protocol/routes.d.ts +0 -160
  1433. package/dist/src/protocol/runtime-tools.d.ts +0 -6
  1434. package/dist/src/protocol/session-events/common.d.ts +0 -105
  1435. package/dist/src/protocol/session-events/index.d.ts +0 -16
  1436. package/dist/src/protocol/session-events/schemas.d.ts +0 -320
  1437. package/dist/src/protocol/session-http.d.ts +0 -7
  1438. package/dist/src/protocol/session-lines.d.ts +0 -19
  1439. package/dist/src/protocol/session-projection/display-name.d.ts +0 -15
  1440. package/dist/src/protocol/session-projection/index.d.ts +0 -4
  1441. package/dist/src/protocol/session-projection/tree.d.ts +0 -72
  1442. package/dist/src/protocol/traceparent.d.ts +0 -24
  1443. package/dist/src/protocol/v26-interactions.d.ts +0 -11
  1444. package/dist/src/protocol/v26-lines.d.ts +0 -5
  1445. package/dist/src/public/channels/chat-sdk/attachment-refs.d.ts +0 -15
  1446. package/dist/src/public/channels/chat-sdk/audience.d.ts +0 -9
  1447. package/dist/src/public/channels/chat-sdk/authorization.d.ts +0 -6
  1448. package/dist/src/public/channels/chat-sdk/fetch-message.d.ts +0 -10
  1449. package/dist/src/public/channels/chat-sdk/input-actions.d.ts +0 -22
  1450. package/dist/src/public/channels/chat-sdk/reply-context.d.ts +0 -15
  1451. package/dist/src/public/channels/discord/attachments.d.ts +0 -15
  1452. package/dist/src/public/channels/discord/audience.d.ts +0 -14
  1453. package/dist/src/public/channels/discord/authorization.d.ts +0 -35
  1454. package/dist/src/public/channels/discord/gateway/forwarder.d.ts +0 -14
  1455. package/dist/src/public/channels/discord/hitl.d.ts +0 -48
  1456. package/dist/src/public/channels/discord/responses.d.ts +0 -11
  1457. package/dist/src/public/channels/discord/verifyInbound.d.ts +0 -6
  1458. package/dist/src/public/channels/github/checkout.d.ts +0 -53
  1459. package/dist/src/public/channels/github/constants.d.ts +0 -2
  1460. package/dist/src/public/channels/github/dispatch.d.ts +0 -61
  1461. package/dist/src/public/channels/github/limits.d.ts +0 -2
  1462. package/dist/src/public/channels/linear/constants.d.ts +0 -2
  1463. package/dist/src/public/channels/linear/hitl.d.ts +0 -9
  1464. package/dist/src/public/channels/linear/inbound-uploads.d.ts +0 -21
  1465. package/dist/src/public/channels/linq/inboundContent.d.ts +0 -17
  1466. package/dist/src/public/channels/photon/attachments.d.ts +0 -24
  1467. package/dist/src/public/channels/photon/inboundContent.d.ts +0 -11
  1468. package/dist/src/public/channels/reply.d.ts +0 -22
  1469. package/dist/src/public/channels/same-environment-oidc.d.ts +0 -7
  1470. package/dist/src/public/channels/slack/action-status.d.ts +0 -14
  1471. package/dist/src/public/channels/slack/answers.d.ts +0 -13
  1472. package/dist/src/public/channels/slack/app-manifest.d.ts +0 -14
  1473. package/dist/src/public/channels/slack/attachments.d.ts +0 -67
  1474. package/dist/src/public/channels/slack/auth.d.ts +0 -27
  1475. package/dist/src/public/channels/slack/connections.d.ts +0 -50
  1476. package/dist/src/public/channels/slack/constants.d.ts +0 -7
  1477. package/dist/src/public/channels/slack/inbound-content.d.ts +0 -4
  1478. package/dist/src/public/channels/slack/interaction-cards.d.ts +0 -34
  1479. package/dist/src/public/channels/slack/interactions.d.ts +0 -56
  1480. package/dist/src/public/channels/slack/limits.d.ts +0 -103
  1481. package/dist/src/public/channels/slack/model-context.d.ts +0 -34
  1482. package/dist/src/public/channels/slack/mrkdwn.d.ts +0 -2
  1483. package/dist/src/public/channels/slack/privacy.d.ts +0 -24
  1484. package/dist/src/public/channels/slack/private-approval-delivery.d.ts +0 -34
  1485. package/dist/src/public/channels/slack/request-card-render.d.ts +0 -51
  1486. package/dist/src/public/channels/slack/request-cards.d.ts +0 -36
  1487. package/dist/src/public/channels/slack/sign-in-cancel.d.ts +0 -18
  1488. package/dist/src/public/channels/slack/slash-command.d.ts +0 -13
  1489. package/dist/src/public/channels/slack/space.d.ts +0 -17
  1490. package/dist/src/public/channels/slack/task-card.d.ts +0 -24
  1491. package/dist/src/public/channels/slack/thread-status.d.ts +0 -33
  1492. package/dist/src/public/channels/slack/utils.d.ts +0 -1
  1493. package/dist/src/public/channels/teams/authorization.d.ts +0 -49
  1494. package/dist/src/public/channels/teams/hitl.d.ts +0 -73
  1495. package/dist/src/public/channels/teams/limits.d.ts +0 -8
  1496. package/dist/src/public/channels/teams/space.d.ts +0 -9
  1497. package/dist/src/public/channels/telegram/attachments.d.ts +0 -31
  1498. package/dist/src/public/channels/telegram/audience.d.ts +0 -10
  1499. package/dist/src/public/channels/telegram/authorization-callback.d.ts +0 -10
  1500. package/dist/src/public/channels/telegram/authorization.d.ts +0 -15
  1501. package/dist/src/public/channels/telegram/state.d.ts +0 -8
  1502. package/dist/src/public/channels/text.d.ts +0 -4
  1503. package/dist/src/public/channels/twilio/defaults.d.ts +0 -9
  1504. package/dist/src/public/channels/twilio/routing.d.ts +0 -14
  1505. package/dist/src/public/definitions/connections/protocol.d.ts +0 -12
  1506. package/dist/src/public/definitions/removed-event-keys.d.ts +0 -2
  1507. package/dist/src/public/memory/file/backends/default.d.ts +0 -7
  1508. package/dist/src/public/memory/file/backends/lazy.d.ts +0 -3
  1509. package/dist/src/public/models/openai/chatgpt/auth.d.ts +0 -4
  1510. package/dist/src/public/models/openai/chatgpt/codex-app-server.d.ts +0 -41
  1511. package/dist/src/public/models/openai/chatgpt/credential-store.d.ts +0 -28
  1512. package/dist/src/public/models/openai/chatgpt/model.d.ts +0 -9
  1513. package/dist/src/public/models/openai/chatgpt/oauth.d.ts +0 -22
  1514. package/dist/src/public/models/openai/chatgpt/token-broker.d.ts +0 -34
  1515. package/dist/src/public/models/openai/chatgpt/token.d.ts +0 -13
  1516. package/dist/src/public/models/openai/chatgpt/transport.d.ts +0 -15
  1517. package/dist/src/public/next/server.d.ts +0 -22
  1518. package/dist/src/public/next/vercel-output-config.d.ts +0 -19
  1519. package/dist/src/public/nuxt/production-origin.d.ts +0 -12
  1520. package/dist/src/public/schedules/testing.d.ts +0 -1
  1521. package/dist/src/runtime/actions/results.d.ts +0 -6
  1522. package/dist/src/runtime/agent/bootstrap-model-utils.d.ts +0 -47
  1523. package/dist/src/runtime/agent/bootstrap-model.d.ts +0 -7
  1524. package/dist/src/runtime/agent/mock-model-adapter.d.ts +0 -19
  1525. package/dist/src/runtime/agent/mock-model-fixtures.d.ts +0 -11
  1526. package/dist/src/runtime/agent/mock-model-skill-selection.d.ts +0 -11
  1527. package/dist/src/runtime/agent/mock-structured-output.d.ts +0 -5
  1528. package/dist/src/runtime/agent/resolve-model.d.ts +0 -35
  1529. package/dist/src/runtime/attributes/emit.d.ts +0 -32
  1530. package/dist/src/runtime/authorization-context.d.ts +0 -19
  1531. package/dist/src/runtime/cache-key.d.ts +0 -9
  1532. package/dist/src/runtime/connections/approval-scope.d.ts +0 -9
  1533. package/dist/src/runtime/connections/authorization-complete-page.d.ts +0 -23
  1534. package/dist/src/runtime/connections/authorization-tokens.d.ts +0 -50
  1535. package/dist/src/runtime/connections/events/actions.d.ts +0 -17
  1536. package/dist/src/runtime/connections/events/delivery.d.ts +0 -10
  1537. package/dist/src/runtime/connections/events/dispatch-step.d.ts +0 -20
  1538. package/dist/src/runtime/connections/events/lifecycle-step.d.ts +0 -42
  1539. package/dist/src/runtime/connections/events/owner.d.ts +0 -38
  1540. package/dist/src/runtime/connections/events/owners.d.ts +0 -15
  1541. package/dist/src/runtime/connections/events/path.d.ts +0 -4
  1542. package/dist/src/runtime/connections/events/state.d.ts +0 -37
  1543. package/dist/src/runtime/connections/events/workflow.d.ts +0 -28
  1544. package/dist/src/runtime/connections/instance-identity.d.ts +0 -9
  1545. package/dist/src/runtime/connections/mcp-client.d.ts +0 -88
  1546. package/dist/src/runtime/connections/mcp-tracing.d.ts +0 -14
  1547. package/dist/src/runtime/connections/openapi-client.d.ts +0 -42
  1548. package/dist/src/runtime/connections/openapi-operations.d.ts +0 -34
  1549. package/dist/src/runtime/connections/openapi-schema.d.ts +0 -44
  1550. package/dist/src/runtime/connections/openapi-security.d.ts +0 -42
  1551. package/dist/src/runtime/connections/openapi-spec.d.ts +0 -15
  1552. package/dist/src/runtime/connections/principal.d.ts +0 -73
  1553. package/dist/src/runtime/connections/provided-arguments.d.ts +0 -10
  1554. package/dist/src/runtime/connections/registry-types.d.ts +0 -14
  1555. package/dist/src/runtime/connections/registry.d.ts +0 -42
  1556. package/dist/src/runtime/connections/resolve-authorization.d.ts +0 -11
  1557. package/dist/src/runtime/connections/tool-result.d.ts +0 -27
  1558. package/dist/src/runtime/development-generation.d.ts +0 -8
  1559. package/dist/src/runtime/loaders/artifact-paths.d.ts +0 -21
  1560. package/dist/src/runtime/loaders/bundled-artifacts.d.ts +0 -40
  1561. package/dist/src/runtime/loaders/compile-metadata.d.ts +0 -14
  1562. package/dist/src/runtime/loaders/manifest.d.ts +0 -21
  1563. package/dist/src/runtime/loaders/model-metadata.d.ts +0 -4
  1564. package/dist/src/runtime/loaders/module-map.d.ts +0 -21
  1565. package/dist/src/runtime/prompt/compose.d.ts +0 -14
  1566. package/dist/src/runtime/resolve-agent-graph.d.ts +0 -17
  1567. package/dist/src/runtime/resolve-agent.d.ts +0 -18
  1568. package/dist/src/runtime/resolve-channel.d.ts +0 -17
  1569. package/dist/src/runtime/resolve-connection.d.ts +0 -20
  1570. package/dist/src/runtime/resolve-definition.d.ts +0 -24
  1571. package/dist/src/runtime/resolve-helpers.d.ts +0 -43
  1572. package/dist/src/runtime/resolve-sandbox.d.ts +0 -4
  1573. package/dist/src/runtime/resolve-tool.d.ts +0 -14
  1574. package/dist/src/runtime/sandbox/prepared-artifacts.d.ts +0 -12
  1575. package/dist/src/runtime/schedules/dispatch-occurrence.d.ts +0 -34
  1576. package/dist/src/runtime/schedules/load-collection.d.ts +0 -14
  1577. package/dist/src/runtime/schedules/named-scope.d.ts +0 -11
  1578. package/dist/src/runtime/schedules/payload.d.ts +0 -24
  1579. package/dist/src/runtime/schedules/queue-namespace.d.ts +0 -2
  1580. package/dist/src/runtime/schedules/record.d.ts +0 -4
  1581. package/dist/src/runtime/schedules/register.d.ts +0 -32
  1582. package/dist/src/runtime/schedules/resolve-schedule.d.ts +0 -31
  1583. package/dist/src/runtime/schedules/validation.d.ts +0 -6
  1584. package/dist/src/runtime/sessions/compiled-session-agent.d.ts +0 -13
  1585. package/dist/src/runtime/sessions/runtime-session.d.ts +0 -66
  1586. package/dist/src/runtime/subagents/workflow-reference.d.ts +0 -8
  1587. package/dist/src/runtime/validation.d.ts +0 -5
  1588. package/dist/src/runtime/workspace/seed-files.d.ts +0 -12
  1589. package/dist/src/runtime/workspace/spec.d.ts +0 -6
  1590. package/dist/src/sandbox/providers.d.ts +0 -4
  1591. package/dist/src/self-modification/credentials.d.ts +0 -6
  1592. package/dist/src/self-modification/deployed-sandbox.d.ts +0 -9
  1593. package/dist/src/self-modification/extension/classify-registry-item.d.ts +0 -22
  1594. package/dist/src/self-modification/extension/config-schema.d.ts +0 -10
  1595. package/dist/src/self-modification/extension/eve-add.d.ts +0 -61
  1596. package/dist/src/self-modification/extension/local-only.d.ts +0 -5
  1597. package/dist/src/self-modification/extension/subagents/agent/agent.d.ts +0 -30
  1598. package/dist/src/self-modification/extension/subagents/agent/instructions.d.ts +0 -2
  1599. package/dist/src/self-modification/extension/subagents/agent/sandbox.d.ts +0 -3
  1600. package/dist/src/self-modification/extension/subagents/agent/skills/trace_analysis.d.ts +0 -10
  1601. package/dist/src/self-modification/extension/subagents/agent/tools/edit_file.d.ts +0 -16
  1602. package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace.d.ts +0 -128
  1603. package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace_spans.d.ts +0 -80
  1604. package/dist/src/self-modification/extension/subagents/agent/tools/registry_add.d.ts +0 -56
  1605. package/dist/src/self-modification/extension/subagents/agent/tools/search_models.d.ts +0 -22
  1606. package/dist/src/self-modification/extension/subagents/agent/tools/search_registry.d.ts +0 -100
  1607. package/dist/src/self-modification/extension/subagents/agent/tools/search_traces.d.ts +0 -53
  1608. package/dist/src/self-modification/extension/trace-inspection.d.ts +0 -15
  1609. package/dist/src/self-modification/filesystem.d.ts +0 -7
  1610. package/dist/src/self-modification/git-workspace.d.ts +0 -31
  1611. package/dist/src/self-modification/git.d.ts +0 -10
  1612. package/dist/src/self-modification/github-publisher.d.ts +0 -28
  1613. package/dist/src/self-modification/identifiers.d.ts +0 -4
  1614. package/dist/src/self-modification/mode.d.ts +0 -13
  1615. package/dist/src/self-modification/network-policy.d.ts +0 -1
  1616. package/dist/src/self-modification/proposal.d.ts +0 -37
  1617. package/dist/src/self-modification/remote/config-schema.d.ts +0 -20
  1618. package/dist/src/self-modification/remote/production-registry-add.d.ts +0 -42
  1619. package/dist/src/self-modification/remote/subagents/agent/agent.d.ts +0 -7
  1620. package/dist/src/self-modification/remote/subagents/agent/instructions.d.ts +0 -2
  1621. package/dist/src/self-modification/remote/subagents/agent/sandbox.d.ts +0 -2
  1622. package/dist/src/self-modification/remote/subagents/agent/tools/edit_file.d.ts +0 -1
  1623. package/dist/src/self-modification/remote/subagents/agent/tools/publish.d.ts +0 -5
  1624. package/dist/src/self-modification/remote/subagents/agent/tools/registry_add.d.ts +0 -30
  1625. package/dist/src/self-modification/remote/subagents/agent/tools/search_models.d.ts +0 -1
  1626. package/dist/src/self-modification/remote/subagents/agent/tools/search_registry.d.ts +0 -1
  1627. package/dist/src/self-modification/scaffold.d.ts +0 -2
  1628. package/dist/src/self-modification/setup.d.ts +0 -48
  1629. package/dist/src/self-modification/subagent-guidance.d.ts +0 -15
  1630. package/dist/src/self-modification/workspace-lock.d.ts +0 -2
  1631. package/dist/src/services/dev-client/agent-info-probe.d.ts +0 -18
  1632. package/dist/src/services/dev-client/client-options.d.ts +0 -25
  1633. package/dist/src/services/dev-client/credential-gate.d.ts +0 -24
  1634. package/dist/src/services/dev-client/local-host.d.ts +0 -4
  1635. package/dist/src/services/dev-client/request-headers.d.ts +0 -54
  1636. package/dist/src/services/dev-client/runtime-artifacts.d.ts +0 -28
  1637. package/dist/src/services/dev-client/target.d.ts +0 -19
  1638. package/dist/src/services/dev-client/vercel-auth-error.d.ts +0 -34
  1639. package/dist/src/services/dev-client.d.ts +0 -42
  1640. package/dist/src/services/inspect-application.d.ts +0 -23
  1641. package/dist/src/setup/ai-gateway-api-key.d.ts +0 -16
  1642. package/dist/src/setup/append-env.d.ts +0 -22
  1643. package/dist/src/setup/ask-editable.d.ts +0 -22
  1644. package/dist/src/setup/ask-signals.d.ts +0 -23
  1645. package/dist/src/setup/ask.d.ts +0 -206
  1646. package/dist/src/setup/boxes/apply-ai-gateway-credential.d.ts +0 -29
  1647. package/dist/src/setup/boxes/deploy-project.d.ts +0 -73
  1648. package/dist/src/setup/boxes/detect-ai-gateway.d.ts +0 -17
  1649. package/dist/src/setup/boxes/link-project.d.ts +0 -34
  1650. package/dist/src/setup/boxes/model-capabilities.d.ts +0 -24
  1651. package/dist/src/setup/boxes/resolve-provisioning.d.ts +0 -76
  1652. package/dist/src/setup/boxes/select-model.d.ts +0 -14
  1653. package/dist/src/setup/cli/channel-setup-prompter.d.ts +0 -51
  1654. package/dist/src/setup/cli/command-output.d.ts +0 -12
  1655. package/dist/src/setup/cli/connection-add-prompter.d.ts +0 -8
  1656. package/dist/src/setup/cli/index.d.ts +0 -8
  1657. package/dist/src/setup/cli/option-row.d.ts +0 -100
  1658. package/dist/src/setup/cli/prompt-ui.d.ts +0 -160
  1659. package/dist/src/setup/cli/rail-log.d.ts +0 -51
  1660. package/dist/src/setup/cli/select-component.d.ts +0 -90
  1661. package/dist/src/setup/cli/select-option-codec.d.ts +0 -13
  1662. package/dist/src/setup/cli/select-state.d.ts +0 -87
  1663. package/dist/src/setup/cli/whimsy.d.ts +0 -16
  1664. package/dist/src/setup/connect-provisioning.d.ts +0 -33
  1665. package/dist/src/setup/connection-connector.d.ts +0 -45
  1666. package/dist/src/setup/flows/chatgpt-auth.d.ts +0 -15
  1667. package/dist/src/setup/flows/deploy.d.ts +0 -43
  1668. package/dist/src/setup/flows/ensure-vercel-project.d.ts +0 -23
  1669. package/dist/src/setup/flows/in-project.d.ts +0 -16
  1670. package/dist/src/setup/flows/install-vercel-cli.d.ts +0 -47
  1671. package/dist/src/setup/flows/link.d.ts +0 -63
  1672. package/dist/src/setup/flows/login.d.ts +0 -53
  1673. package/dist/src/setup/flows/model-login-connection.d.ts +0 -20
  1674. package/dist/src/setup/flows/model-login-options.d.ts +0 -59
  1675. package/dist/src/setup/flows/model-login-progress.d.ts +0 -7
  1676. package/dist/src/setup/flows/model-login.d.ts +0 -26
  1677. package/dist/src/setup/flows/model-source-change.d.ts +0 -44
  1678. package/dist/src/setup/flows/model.d.ts +0 -7
  1679. package/dist/src/setup/flows/provider.d.ts +0 -27
  1680. package/dist/src/setup/flows/registry-session.d.ts +0 -61
  1681. package/dist/src/setup/flows/registry.d.ts +0 -41
  1682. package/dist/src/setup/flows/vercel-model-login.d.ts +0 -5
  1683. package/dist/src/setup/headless.d.ts +0 -46
  1684. package/dist/src/setup/human-action.d.ts +0 -23
  1685. package/dist/src/setup/index.d.ts +0 -15
  1686. package/dist/src/setup/integrations/discord/api.d.ts +0 -23
  1687. package/dist/src/setup/integrations/discord/connect.d.ts +0 -24
  1688. package/dist/src/setup/integrations/discord/daemon.d.ts +0 -18
  1689. package/dist/src/setup/integrations/discord/setup.d.ts +0 -52
  1690. package/dist/src/setup/integrations/file-memory/setup.d.ts +0 -15
  1691. package/dist/src/setup/integrations/file-memory/vercel.d.ts +0 -103
  1692. package/dist/src/setup/integrations/github/connect.d.ts +0 -28
  1693. package/dist/src/setup/integrations/github/setup.d.ts +0 -44
  1694. package/dist/src/setup/integrations/linear/connect.d.ts +0 -42
  1695. package/dist/src/setup/integrations/linear/setup.d.ts +0 -31
  1696. package/dist/src/setup/integrations/linq/connect.d.ts +0 -31
  1697. package/dist/src/setup/integrations/linq/management.d.ts +0 -6
  1698. package/dist/src/setup/integrations/linq/setup.d.ts +0 -18
  1699. package/dist/src/setup/integrations/photon/connect.d.ts +0 -38
  1700. package/dist/src/setup/integrations/photon/management.d.ts +0 -42
  1701. package/dist/src/setup/integrations/photon/setup-flow.d.ts +0 -44
  1702. package/dist/src/setup/integrations/photon/setup.d.ts +0 -1
  1703. package/dist/src/setup/integrations/registry.d.ts +0 -4
  1704. package/dist/src/setup/integrations/runner.d.ts +0 -32
  1705. package/dist/src/setup/integrations/self-modification/setup.d.ts +0 -37
  1706. package/dist/src/setup/integrations/shared/environment.d.ts +0 -16
  1707. package/dist/src/setup/integrations/shared/prerequisite.d.ts +0 -25
  1708. package/dist/src/setup/integrations/shared/scaffold.d.ts +0 -20
  1709. package/dist/src/setup/integrations/shared/ui.d.ts +0 -26
  1710. package/dist/src/setup/integrations/shared/vercel-project.d.ts +0 -12
  1711. package/dist/src/setup/integrations/shopify/setup.d.ts +0 -21
  1712. package/dist/src/setup/integrations/shopify/templates.d.ts +0 -1
  1713. package/dist/src/setup/integrations/slack/setup.d.ts +0 -51
  1714. package/dist/src/setup/integrations/teams/connect.d.ts +0 -22
  1715. package/dist/src/setup/integrations/teams/setup.d.ts +0 -22
  1716. package/dist/src/setup/integrations/telegram/connect.d.ts +0 -27
  1717. package/dist/src/setup/integrations/telegram/management.d.ts +0 -6
  1718. package/dist/src/setup/integrations/telegram/setup.d.ts +0 -25
  1719. package/dist/src/setup/integrations/types.d.ts +0 -64
  1720. package/dist/src/setup/integrations/web/auth-options.d.ts +0 -4
  1721. package/dist/src/setup/integrations/web/auth-scaffold.d.ts +0 -7
  1722. package/dist/src/setup/integrations/web/framework.d.ts +0 -8
  1723. package/dist/src/setup/integrations/web/hosting.d.ts +0 -43
  1724. package/dist/src/setup/integrations/web/provision-auth.d.ts +0 -3
  1725. package/dist/src/setup/integrations/web/setup.d.ts +0 -25
  1726. package/dist/src/setup/path-exists.d.ts +0 -1
  1727. package/dist/src/setup/primitives/coding-agent-env.d.ts +0 -17
  1728. package/dist/src/setup/primitives/index.d.ts +0 -4
  1729. package/dist/src/setup/primitives/open-url.d.ts +0 -14
  1730. package/dist/src/setup/primitives/pm/bun.d.ts +0 -10
  1731. package/dist/src/setup/primitives/pm/index.d.ts +0 -11
  1732. package/dist/src/setup/primitives/pm/npm.d.ts +0 -10
  1733. package/dist/src/setup/primitives/pm/pnpm-build-policy.d.ts +0 -16
  1734. package/dist/src/setup/primitives/pm/pnpm.d.ts +0 -46
  1735. package/dist/src/setup/primitives/pm/process-result.d.ts +0 -35
  1736. package/dist/src/setup/primitives/pm/run.d.ts +0 -38
  1737. package/dist/src/setup/primitives/pm/shared.d.ts +0 -9
  1738. package/dist/src/setup/primitives/pm/types.d.ts +0 -53
  1739. package/dist/src/setup/primitives/pm/yarn.d.ts +0 -10
  1740. package/dist/src/setup/primitives/process-abort.d.ts +0 -7
  1741. package/dist/src/setup/primitives/process-output.d.ts +0 -25
  1742. package/dist/src/setup/primitives/run-vercel.d.ts +0 -79
  1743. package/dist/src/setup/project-name.d.ts +0 -5
  1744. package/dist/src/setup/project-resolution.d.ts +0 -65
  1745. package/dist/src/setup/prompter.d.ts +0 -274
  1746. package/dist/src/setup/provider-settings.d.ts +0 -25
  1747. package/dist/src/setup/question-options.d.ts +0 -15
  1748. package/dist/src/setup/quit-guard.d.ts +0 -48
  1749. package/dist/src/setup/registry-setup-client.d.ts +0 -21
  1750. package/dist/src/setup/registry-setup-completion.d.ts +0 -3
  1751. package/dist/src/setup/registry-setup-protocol.d.ts +0 -108
  1752. package/dist/src/setup/run-vercel-link.d.ts +0 -10
  1753. package/dist/src/setup/runner.d.ts +0 -52
  1754. package/dist/src/setup/scaffold/channels-catalog.d.ts +0 -31
  1755. package/dist/src/setup/scaffold/create/add-to-project.d.ts +0 -36
  1756. package/dist/src/setup/scaffold/create/agent-paths.d.ts +0 -5
  1757. package/dist/src/setup/scaffold/create/extension.d.ts +0 -30
  1758. package/dist/src/setup/scaffold/create/instructions-template.d.ts +0 -1
  1759. package/dist/src/setup/scaffold/create/web-template.d.ts +0 -99
  1760. package/dist/src/setup/scaffold/create-in-place.d.ts +0 -1
  1761. package/dist/src/setup/scaffold/files.d.ts +0 -10
  1762. package/dist/src/setup/scaffold/index.d.ts +0 -9
  1763. package/dist/src/setup/scaffold/update/dependencies.d.ts +0 -12
  1764. package/dist/src/setup/scaffold/update/module-files.d.ts +0 -3
  1765. package/dist/src/setup/scaffold/update/update-connection-connector.d.ts +0 -8
  1766. package/dist/src/setup/scaffold/update/update-slack-channel.d.ts +0 -23
  1767. package/dist/src/setup/scaffold/workspace-glob.d.ts +0 -4
  1768. package/dist/src/setup/setup-question-wire.d.ts +0 -48
  1769. package/dist/src/setup/slack-connect-create.d.ts +0 -49
  1770. package/dist/src/setup/slack-connect-lifecycle.d.ts +0 -160
  1771. package/dist/src/setup/slack-connect.d.ts +0 -79
  1772. package/dist/src/setup/slack-setup-plan.d.ts +0 -72
  1773. package/dist/src/setup/slackbot.d.ts +0 -125
  1774. package/dist/src/setup/state.d.ts +0 -183
  1775. package/dist/src/setup/step.d.ts +0 -49
  1776. package/dist/src/setup/validate-gateway-key.d.ts +0 -30
  1777. package/dist/src/setup/vercel-api-failure.d.ts +0 -7
  1778. package/dist/src/setup/vercel-deployment.d.ts +0 -60
  1779. package/dist/src/setup/vercel-project-api.d.ts +0 -45
  1780. package/dist/src/setup/vercel-project-framework.d.ts +0 -24
  1781. package/dist/src/setup/vercel-project.d.ts +0 -87
  1782. package/dist/src/setup/vercel-trace-sampling.d.ts +0 -3
  1783. package/dist/src/setup/verified-remote-agent.d.ts +0 -29
  1784. package/dist/src/setup/verified-remote-client.d.ts +0 -30
  1785. package/dist/src/setup/with-spinner.d.ts +0 -3
  1786. package/dist/src/shared/action-label.d.ts +0 -12
  1787. package/dist/src/shared/action-request-name.d.ts +0 -5
  1788. package/dist/src/shared/agent-info-access.d.ts +0 -5
  1789. package/dist/src/shared/answers-delivery-id.d.ts +0 -1
  1790. package/dist/src/shared/async-iterable.d.ts +0 -2
  1791. package/dist/src/shared/atomic-write-file.d.ts +0 -11
  1792. package/dist/src/shared/built-server-start-failure.d.ts +0 -16
  1793. package/dist/src/shared/chatgpt-model.d.ts +0 -16
  1794. package/dist/src/shared/continuation-token.d.ts +0 -2
  1795. package/dist/src/shared/conversation-identity.d.ts +0 -2
  1796. package/dist/src/shared/default-agent-model.d.ts +0 -14
  1797. package/dist/src/shared/dev-checks.d.ts +0 -8
  1798. package/dist/src/shared/development-env-files.d.ts +0 -4
  1799. package/dist/src/shared/errors.d.ts +0 -22
  1800. package/dist/src/shared/eve-route-path.d.ts +0 -4
  1801. package/dist/src/shared/extension-mount.d.ts +0 -2
  1802. package/dist/src/shared/extension-package-contract.d.ts +0 -16
  1803. package/dist/src/shared/format-duration.d.ts +0 -2
  1804. package/dist/src/shared/framework-eve-integration.d.ts +0 -33
  1805. package/dist/src/shared/gateway-model-catalog.d.ts +0 -44
  1806. package/dist/src/shared/gateway-routing.d.ts +0 -20
  1807. package/dist/src/shared/gateway-service-tier.d.ts +0 -20
  1808. package/dist/src/shared/git.d.ts +0 -16
  1809. package/dist/src/shared/guards.d.ts +0 -54
  1810. package/dist/src/shared/html-to-markdown.d.ts +0 -21
  1811. package/dist/src/shared/instrumentation-channel-kind.d.ts +0 -3
  1812. package/dist/src/shared/json-schemas.d.ts +0 -10
  1813. package/dist/src/shared/line-diff.d.ts +0 -11
  1814. package/dist/src/shared/map-concurrent.d.ts +0 -2
  1815. package/dist/src/shared/map-with-concurrency.d.ts +0 -2
  1816. package/dist/src/shared/memory-state.d.ts +0 -12
  1817. package/dist/src/shared/model-connection.d.ts +0 -17
  1818. package/dist/src/shared/model-endpoint-status.d.ts +0 -33
  1819. package/dist/src/shared/model-helper.d.ts +0 -26
  1820. package/dist/src/shared/model-summary.d.ts +0 -8
  1821. package/dist/src/shared/network-address.d.ts +0 -38
  1822. package/dist/src/shared/objects.d.ts +0 -5
  1823. package/dist/src/shared/package-name.d.ts +0 -4
  1824. package/dist/src/shared/path-exists.d.ts +0 -9
  1825. package/dist/src/shared/path-inside.d.ts +0 -2
  1826. package/dist/src/shared/poll-until.d.ts +0 -5
  1827. package/dist/src/shared/presentation-text.d.ts +0 -8
  1828. package/dist/src/shared/principal-scope.d.ts +0 -2
  1829. package/dist/src/shared/public-route-prefix.d.ts +0 -23
  1830. package/dist/src/shared/read-optional-file.d.ts +0 -2
  1831. package/dist/src/shared/rename-with-retry.d.ts +0 -5
  1832. package/dist/src/shared/resolve-eve-binary.d.ts +0 -12
  1833. package/dist/src/shared/restriction.d.ts +0 -13
  1834. package/dist/src/shared/result.d.ts +0 -12
  1835. package/dist/src/shared/run-errors.d.ts +0 -39
  1836. package/dist/src/shared/sandbox-prepared-artifacts.d.ts +0 -16
  1837. package/dist/src/shared/sandbox-recorded-data-error.d.ts +0 -4
  1838. package/dist/src/shared/sandbox-tool-session-error.d.ts +0 -4
  1839. package/dist/src/shared/schedule-collection-tools.d.ts +0 -11
  1840. package/dist/src/shared/schedule-timezone.d.ts +0 -6
  1841. package/dist/src/shared/session-auth.d.ts +0 -39
  1842. package/dist/src/shared/shell-quote.d.ts +0 -2
  1843. package/dist/src/shared/skill-package.d.ts +0 -49
  1844. package/dist/src/shared/skill-paths.d.ts +0 -24
  1845. package/dist/src/shared/text-boundaries.d.ts +0 -19
  1846. package/dist/src/shared/token-usage-math.d.ts +0 -5
  1847. package/dist/src/shared/trace-root.d.ts +0 -8
  1848. package/dist/src/shared/ulid.d.ts +0 -33
  1849. package/dist/src/shared/validate-authorization.d.ts +0 -21
  1850. package/dist/src/shared/value-delta.d.ts +0 -40
  1851. package/dist/src/shared/vercel-output-directory.d.ts +0 -2
  1852. package/dist/src/shared/vercel-project.d.ts +0 -27
  1853. package/dist/src/shared/wait-with-signal.d.ts +0 -2
  1854. package/dist/src/shared/workflow-function-id.d.ts +0 -2
  1855. package/dist/src/shared/workflow-sandbox.d.ts +0 -10
  1856. package/dist/src/shared/workflow-tool-context.d.ts +0 -2
  1857. package/dist/src/source-change/agent-config-ast.d.ts +0 -61
  1858. package/dist/src/source-change/agent-config-string-path.d.ts +0 -18
  1859. package/dist/src/source-change/apply-agent-model-settings.d.ts +0 -27
  1860. package/dist/src/source-change/apply-model-selection.d.ts +0 -15
  1861. package/dist/src/source-change/static-source-change.d.ts +0 -51
  1862. package/dist/src/subagents/adapter-state.d.ts +0 -39
  1863. package/dist/src/subagents/adapter.d.ts +0 -8
  1864. package/dist/src/subagents/callback-route.d.ts +0 -2
  1865. package/dist/src/subagents/event-proxy-step.d.ts +0 -23
  1866. package/dist/src/subagents/hitl-proxy.d.ts +0 -47
  1867. package/dist/src/subagents/parent-notification.d.ts +0 -47
  1868. package/dist/src/subagents/protocol-two-callback.d.ts +0 -27
  1869. package/dist/src/subagents/remote-route-url.d.ts +0 -2
  1870. package/dist/src/tool-stubs/execute.d.ts +0 -10
  1871. package/dist/src/tool-stubs/output.d.ts +0 -4
  1872. package/dist/src/tool-stubs/playback.d.ts +0 -15
  1873. package/dist/src/tool-stubs/rules.d.ts +0 -3
  1874. package/dist/src/tool-stubs/schema.d.ts +0 -4
  1875. package/dist/src/tool-stubs/target.d.ts +0 -8
  1876. package/dist/src/tool-stubs/validate-targets.d.ts +0 -6
  1877. package/dist/src/tools/agent-models.d.ts +0 -7
  1878. package/dist/src/tools/framework/agent-contract.d.ts +0 -4
  1879. package/dist/src/tools/provided/ask-question-body.d.ts +0 -10
  1880. package/dist/src/tools/provided/ask-question-workflow.d.ts +0 -4
  1881. package/dist/src/tools/provided/framework-tool.d.ts +0 -13
  1882. package/dist/src/tools/provided/sleep-workflow.d.ts +0 -4
  1883. package/dist/src/tools/provided/task-cancel.d.ts +0 -6
  1884. package/dist/src/tools/provided/task-wait.d.ts +0 -9
  1885. package/dist/src/tools/signature.d.ts +0 -16
  1886. package/dist/src/tools/tool-label.d.ts +0 -1
  1887. package/dist/src/tools/workflow-body.d.ts +0 -15
  1888. package/dist/src/tools/workflow-program-input.d.ts +0 -6
  1889. package/dist/src/tracing/eve/agent-approval-instrumentation.d.ts +0 -13
  1890. package/dist/src/tracing/eve/agent-channel-delivery-instrumentation.d.ts +0 -7
  1891. package/dist/src/tracing/eve/agent-memory-instrumentation.d.ts +0 -17
  1892. package/dist/src/tracing/eve/agent-otel-provider.d.ts +0 -30
  1893. package/dist/src/tracing/eve/agent-tool-instrumentation.d.ts +0 -43
  1894. package/dist/src/tracing/eve/agent-trace-context-store.d.ts +0 -24
  1895. package/dist/src/tracing/eve/agent-trace-context.d.ts +0 -3
  1896. package/dist/src/tracing/eve/agent-trace-state.d.ts +0 -70
  1897. package/dist/src/tracing/eve/batch-span-processor.d.ts +0 -25
  1898. package/dist/src/tracing/eve/channel-audience-context.d.ts +0 -4
  1899. package/dist/src/tracing/eve/connection-authorization.d.ts +0 -11
  1900. package/dist/src/tracing/eve/connection-events.d.ts +0 -25
  1901. package/dist/src/tracing/eve/content-span-processor.d.ts +0 -1
  1902. package/dist/src/tracing/eve/conversation-context.d.ts +0 -15
  1903. package/dist/src/tracing/eve/delegation.d.ts +0 -20
  1904. package/dist/src/tracing/eve/gateway.d.ts +0 -22
  1905. package/dist/src/tracing/eve/install-instrumentation-runtime.d.ts +0 -19
  1906. package/dist/src/tracing/eve/invoke-tool-span.d.ts +0 -63
  1907. package/dist/src/tracing/eve/mcp.d.ts +0 -30
  1908. package/dist/src/tracing/eve/metadata.d.ts +0 -7
  1909. package/dist/src/tracing/eve/operation-input.d.ts +0 -18
  1910. package/dist/src/tracing/eve/policy.d.ts +0 -15
  1911. package/dist/src/tracing/eve/profile.d.ts +0 -7
  1912. package/dist/src/tracing/eve/session.d.ts +0 -32
  1913. package/dist/src/tracing/eve/vercel-runtime-span-exporter.d.ts +0 -5
  1914. package/dist/src/tracing/local/agent-trace-span-processor.d.ts +0 -16
  1915. package/dist/src/tracing/local/inspection.d.ts +0 -15
  1916. package/dist/src/tracing/local/instrumentation-runtime.d.ts +0 -7
  1917. package/dist/src/tracing/local/trace-analysis.d.ts +0 -52
  1918. package/dist/src/tracing/local/trace-discovery-index.d.ts +0 -13
  1919. package/dist/src/tracing/local/trace-operations.d.ts +0 -13
  1920. package/dist/src/tracing/local/trace-query.d.ts +0 -18
  1921. package/dist/src/tracing/local/trace-reader.d.ts +0 -83
  1922. package/dist/src/tracing/local/trace-retention.d.ts +0 -67
  1923. package/dist/src/tracing/local/trace-span-processor.d.ts +0 -19
  1924. package/dist/src/tracing/local/trace-summary.d.ts +0 -31
  1925. package/dist/src/tracing/local/traces.d.ts +0 -27
  1926. /package/dist/src/compiled/_chunks/{workflow → node}/LogRecord-CbGROCJy.js +0 -0
  1927. /package/dist/src/compiled/_chunks/{workflow → node}/_eve-core-quickjs-entrypoint-stub-qIV0OaFz.js +0 -0
  1928. /package/dist/src/compiled/_chunks/{workflow → node}/global-singleton-BNinwFrL.js +0 -0
  1929. /package/dist/src/compiled/_chunks/{workflow → node}/private-DD2PSMRM.js +0 -0
  1930. /package/dist/src/compiled/_chunks/{workflow → node}/queue-auth-C7YIFJ-G.js +0 -0
  1931. /package/dist/src/compiled/_chunks/{workflow → node}/run-id-Ct9AjQDR.js +0 -0
  1932. /package/dist/src/compiled/_chunks/{workflow → node}/workflow-routes-BaljomCk.js +0 -0
@@ -1,51 +0,0 @@
1
- import type { Storage, WorldCapabilities } from '../interfaces.js';
2
- /**
3
- * Conformance for the in-band writer fence a World that creates spec 9 runs
4
- * implements (see `Storage['events']` and `CreateEventParams.inBand`).
5
- *
6
- * What every such World must agree on, whatever it stores the count in:
7
- *
8
- * - It declares `capabilities.inBandFence`, without which the runtime refuses
9
- * it.
10
- * - `list` returns `snapshot: { seq, seqInBand }`, and a new run holds one
11
- * in-band position (`run_created`'s), which `atRunCreation` names.
12
- * - An in-band write at the current count is accepted and advances it by one.
13
- * - A stale in-band write is refused with `InBandSupersededError` (412,
14
- * `in-band-superseded`) and allocates nothing: the log and the counts are
15
- * unchanged, and the next accepted write takes the very next slot.
16
- * - Out-of-band writes move `seq` and never `seqInBand`.
17
- * - Of several concurrent in-band writers holding the same count, exactly one
18
- * wins.
19
- * - An in-band write with no expected count is refused with a 400.
20
- * - The single-orchestrator step bookkeeping (`inline`, `creatorMessageId`,
21
- * `stepName`, `attempt`) survives the round trip, including the
22
- * `creatorMessageId` of an inline step's `step_retrying`.
23
- * - An in-band write is stored with the `occurredAt` it was sent with as its
24
- * `createdAt`.
25
- *
26
- * Import it from a World's own test file (by relative path, like the other
27
- * test-support modules) and call it at module level.
28
- */
29
- export interface InBandFenceConformanceOptions {
30
- /** Describe-block name, usually the World's name. */
31
- name: string;
32
- /** The events storage under test. Called once per test. */
33
- events: () => Storage['events'];
34
- /** The capabilities the World under test declares (`World.capabilities`). */
35
- capabilities: () => WorldCapabilities | undefined;
36
- /** A run id for `run_created`, or `null` when the World mints it. */
37
- newRunId: () => string | null;
38
- /** In-band positions a new run holds (the World's documented initial count). */
39
- atRunCreation: number;
40
- /**
41
- * A second events storage over the same backing data as the one passed in
42
- * (for example a second instance on the same data directory or database),
43
- * to check that the fence is shared between instances. Omit when the World
44
- * cannot have two instances over one store.
45
- */
46
- secondEvents?: (first: Storage['events']) => Storage['events'];
47
- /** How many concurrent writers to race. Defaults to 8. */
48
- concurrentWriters?: number;
49
- }
50
- export declare function inBandFenceConformance(options: InBandFenceConformanceOptions): void;
51
- //# sourceMappingURL=in-band-fence-conformance.d.ts.map
@@ -1,50 +0,0 @@
1
- import { z } from '#compiled/zod/index.js';
2
- /**
3
- * A workflow run ID: the `wrun_` prefix followed by a 26-char ULID (minted
4
- * client-side in core's `start()`). Validates the exact shape (prefix plus a
5
- * well-formed ULID) rather than a loose length bound, so callers can't smuggle
6
- * arbitrary strings through APIs that persist a run ID verbatim.
7
- */
8
- export declare const workflowRunIdSchema: z.ZodTemplateLiteral<`wrun_${string}`>;
9
- export type WorkflowRunId = z.infer<typeof workflowRunIdSchema>;
10
- /**
11
- * Default threshold for ULID timestamps in the past (24 hours).
12
- *
13
- * Set to 24 hours to support the resilient start path: when start() fails to
14
- * create run_created, the queue carries the run input and the runtime creates
15
- * the run on run_started. VQS supports delayed messages up to 24 hours.
16
- */
17
- export declare const DEFAULT_TIMESTAMP_THRESHOLD_PAST_MS: number;
18
- /**
19
- * Default threshold for ULID timestamps in the future (5 minutes).
20
- *
21
- * Kept tight to prevent abuse from client-generated ULIDs with manipulated
22
- * future timestamps while still tolerating minor clock skew.
23
- */
24
- export declare const DEFAULT_TIMESTAMP_THRESHOLD_FUTURE_MS: number;
25
- /** @deprecated Use DEFAULT_TIMESTAMP_THRESHOLD_PAST_MS instead */
26
- export declare const DEFAULT_TIMESTAMP_THRESHOLD_MS: number;
27
- /**
28
- * Extracts a Date from a ULID string, or null if the string is not a valid ULID.
29
- *
30
- * A slot-numbered event id is syntactically a valid ULID (26 zero-padded
31
- * decimal digits are all Crockford characters) whose timestamp component is
32
- * zero, so decoding one would silently yield the Unix epoch. Slots carry no
33
- * time at all, so this returns null for them and callers fall back to a real
34
- * `createdAt`. See `slot-identity.ts`.
35
- */
36
- export declare function ulidToDate(maybeUlid: string): Date | null;
37
- /**
38
- * Validates that a prefixed ULID's embedded timestamp is within acceptable thresholds
39
- * of the current server time. Uses asymmetric thresholds: 24h in the past (to support
40
- * resilient start with queue delays) and 5min in the future (to prevent abuse while
41
- * tolerating clock skew).
42
- *
43
- * @param prefixedUlid - The prefixed ULID to validate (e.g., "wrun_01ARYZ...")
44
- * @param prefix - The prefix to strip (e.g., "wrun_")
45
- * @param pastThresholdMs - Maximum allowed age in the past (default: 24 hours)
46
- * @param futureThresholdMs - Maximum allowed distance in the future (default: 5 minutes)
47
- * @returns null if valid, or an error message string if invalid
48
- */
49
- export declare function validateUlidTimestamp(prefixedUlid: string, prefix: string, pastThresholdMs?: number, futureThresholdMs?: number): string | null;
50
- //# sourceMappingURL=ulid.d.ts.map
@@ -1,21 +0,0 @@
1
- import { z } from '#compiled/zod/index.js';
2
- export declare const WaitStatusSchema: z.ZodEnum<{
3
- completed: "completed";
4
- waiting: "waiting";
5
- }>;
6
- export declare const WaitSchema: z.ZodObject<{
7
- waitId: z.ZodString;
8
- runId: z.ZodString;
9
- status: z.ZodEnum<{
10
- completed: "completed";
11
- waiting: "waiting";
12
- }>;
13
- resumeAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
14
- completedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
15
- createdAt: z.ZodCoercedDate<unknown>;
16
- updatedAt: z.ZodCoercedDate<unknown>;
17
- specVersion: z.ZodOptional<z.ZodNumber>;
18
- }, z.core.$strip>;
19
- export type WaitStatus = z.infer<typeof WaitStatusSchema>;
20
- export type Wait = z.infer<typeof WaitSchema>;
21
- //# sourceMappingURL=waits.d.ts.map
@@ -1,15 +0,0 @@
1
- import type { QueuePrefix, World } from "#compiled/@workflow/world/index.js";
2
-
3
- export type LocalWorld = World & {
4
- clear(): Promise<void>;
5
- registerHandler(prefix: QueuePrefix, handler: (request: Request) => Promise<Response>): void;
6
- releaseOrphanedSteps(runId: string): Promise<void>;
7
- };
8
-
9
- export function createWorld(options?: {
10
- readonly baseUrl?: string;
11
- readonly dataDir?: string;
12
- readonly recoverActiveRuns?: boolean;
13
- readonly streamFlushIntervalMs?: number;
14
- readonly tag?: string;
15
- }): LocalWorld;
@@ -1 +0,0 @@
1
- import{t as e}from"./rolldown-runtime-nUh0tHLY.js";var t=e(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return c(e);if(n===`number`&&isFinite(e))return t.long?u(e):l(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function l(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function u(e){var t=Math.abs(e);return t>=a?d(e,t,a,`day`):t>=i?d(e,t,i,`hour`):t>=r?d(e,t,r,`minute`):t>=n?d(e,t,n,`second`):e+` ms`}function d(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),n=e(((e,t)=>{function n(e,t){typeof t==`boolean`&&(t={forever:t}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}t.exports=n,n.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)},n.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null},n.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(Error(`RetryOperation timeout occurred`)),!1;this._errors.push(e);var n=this._timeouts.shift();if(n===void 0){if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),n=this._cachedTimeouts.slice(-1);else return!1}var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},n),this._options.unref&&this._timer.unref(),!0},n.prototype.attempt=function(e,t){this._fn=e,t&&(t.timeout&&(this._operationTimeout=t.timeout),t.cb&&(this._operationTimeoutCb=t.cb));var n=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){n._operationTimeoutCb()},n._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)},n.prototype.try=function(e){console.log(`Using RetryOperation.try() is deprecated`),this.attempt(e)},n.prototype.start=function(e){console.log(`Using RetryOperation.start() is deprecated`),this.attempt(e)},n.prototype.start=n.prototype.try,n.prototype.errors=function(){return this._errors},n.prototype.attempts=function(){return this._attempts},n.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,n=0,r=0;r<this._errors.length;r++){var i=this._errors[r],a=i.message,o=(e[a]||0)+1;e[a]=o,o>=n&&(t=i,n=o)}return t}})),r=e((e=>{var t=n();e.operation=function(n){return new t(e.timeouts(n),{forever:n&&(n.forever||n.retries===1/0),unref:n&&n.unref,maxRetryTime:n&&n.maxRetryTime})},e.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1e3,maxTimeout:1/0,randomize:!1};for(var n in e)t[n]=e[n];if(t.minTimeout>t.maxTimeout)throw Error(`minTimeout is greater than maxTimeout`);for(var r=[],i=0;i<t.retries;i++)r.push(this.createTimeout(i,t));return e&&e.forever&&!r.length&&r.push(this.createTimeout(i,t)),r.sort(function(e,t){return e-t}),r},e.createTimeout=function(e,t){var n=t.randomize?Math.random()+1:1,r=Math.round(n*Math.max(t.minTimeout,1)*t.factor**+e);return r=Math.min(r,t.maxTimeout),r},e.wrap=function(t,n,r){if(n instanceof Array&&(r=n,n=null),!r)for(var i in r=[],t)typeof t[i]==`function`&&r.push(i);for(var a=0;a<r.length;a++){var o=r[a],s=t[o];t[o]=function(r){var i=e.operation(n),a=Array.prototype.slice.call(arguments,1),o=a.pop();a.push(function(e){i.retry(e)||(e&&(arguments[0]=i.mainError()),o.apply(this,arguments))}),i.attempt(function(){r.apply(t,a)})}.bind(t,s),t[o].options=n}}})),i=e(((e,t)=>{t.exports=r()}));export{t as n,i as t};
@@ -1,25 +0,0 @@
1
- import{i as e,t}from"./rolldown-runtime-nUh0tHLY.js";import{t as n}from"./is-stream-k1ORVyb3.js";var r=t(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},s=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},c=e=>s(n({},`__esModule`,{value:!0}),e),l={};o(l,{VercelOidcTokenError:()=>u}),t.exports=c(l);var u=class extends Error{constructor(e,t){super(e),this.name=`VercelOidcTokenError`,this.cause=t}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}};0&&(t.exports={VercelOidcTokenError:u})})),i=t(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},s=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},c=e=>s(n({},`__esModule`,{value:!0}),e),l={};o(l,{AccessTokenMissingError:()=>u,RefreshAccessTokenFailedError:()=>d}),t.exports=c(l);var u=class extends Error{constructor(){super(`No authentication found. Please log in with the Vercel CLI (vercel login).`),this.name=`AccessTokenMissingError`}},d=class extends Error{constructor(e){super(`Failed to refresh authentication token.`),this.name=`RefreshAccessTokenFailedError`,e!==void 0&&(this.cause=e)}};0&&(t.exports={AccessTokenMissingError:u,RefreshAccessTokenFailedError:d})})),a=t(((t,n)=>{var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},c=(e,t,n,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of a(t))!o.call(e,c)&&c!==n&&r(e,c,{get:()=>t[c],enumerable:!(s=i(t,c))||s.enumerable});return e},l=e=>c(r({},`__esModule`,{value:!0}),e),u={};s(u,{VercelCliError:()=>f,assertValidCwd:()=>m,getCliNotFoundMessage:()=>p,toVercelCliError:()=>h}),n.exports=l(u);var d=e(`node:fs/promises`),f=class extends Error{constructor(e){super(e.message),this.name=`VercelCliError`,this.code=e.code,this.invocation=e.invocation,this.stdout=e.stdout,this.stderr=e.stderr,this.exitCode=e.exitCode,e.cause!==void 0&&(this.cause=e.cause)}};function p(e){let t=[],{localBinSearch:n}=e;n.stopReason===`project-root-marker`?t.push(`Local bin lookup stopped at ${JSON.stringify(n.stoppedAt)} (${JSON.stringify(n.markerPath)}).`):n.stopReason===`filesystem-root`&&t.push(`No project root marker was found from ${JSON.stringify(n.searchRoot)}; local bin lookup reached the filesystem root.`);for(let e of n.skippedNodeModules)t.push(`Skipped ${JSON.stringify(e.directory)}: ${e.reason}.`);for(let n of e.skippedLocalBins)t.push(`Skipped ${JSON.stringify(n.candidate)}: ${n.reason}.`);return t.length===0?`Unable to find a usable Vercel CLI installation.`:[`Unable to find a usable Vercel CLI installation.`,...t].join(`
2
- `)}async function m(e){try{if(!(await(0,d.stat)(e)).isDirectory())throw Error(`not a directory`)}catch{throw new f({code:`VERCEL_CLI_INVALID_CWD`,message:`Working directory ${JSON.stringify(e)} does not exist or is not a directory.`})}}function h(e,t){if(typeof t==`object`&&t){let n=t;if(n.code===`ENOENT`)return new f({code:`VERCEL_CLI_NOT_FOUND`,message:`Unable to find Vercel CLI command ${JSON.stringify(e.command)}.`,invocation:e,cause:t});if(n.code===`EACCES`||n.code===`EPERM`)return new f({code:`VERCEL_CLI_PERMISSION_DENIED`,message:`Permission denied while executing Vercel CLI command ${JSON.stringify(e.command)}.`,invocation:e,cause:t});if(n.timedOut)return new f({code:`VERCEL_CLI_TIMED_OUT`,message:`Timed out while executing Vercel CLI command ${JSON.stringify(e.command)}.`,invocation:e,stdout:n.stdout,stderr:n.stderr,cause:t});if(n.isCanceled)return new f({code:`VERCEL_CLI_CANCELED`,message:`Canceled while executing Vercel CLI command ${JSON.stringify(e.command)}.`,invocation:e,stdout:n.stdout,stderr:n.stderr,cause:t});if(n.signal)return new f({code:`VERCEL_CLI_SIGNALED`,message:`Vercel CLI command ${JSON.stringify(e.command)} exited due to signal ${n.signal}.`,invocation:e,stdout:n.stdout,stderr:n.stderr,cause:t});if(typeof n.exitCode==`number`)return new f({code:`VERCEL_CLI_ERRORED`,message:n.shortMessage??n.message??`Vercel CLI command ${JSON.stringify(e.command)} exited with code ${n.exitCode}.`,invocation:e,stdout:n.stdout,stderr:n.stderr,exitCode:n.exitCode,cause:t})}return new f({code:`VERCEL_CLI_EXEC_FAILED`,message:`Could not execute Vercel CLI command ${JSON.stringify(e.command)}.`,invocation:e,cause:t})}0&&(n.exports={VercelCliError:f,assertValidCwd:m,getCliNotFoundMessage:p,toVercelCliError:h})})),o=t(((t,n)=>{n.exports=o,o.sync=s;var r=e(`fs`);function i(e,t){var n=t.pathExt===void 0?process.env.PATHEXT:t.pathExt;if(!n||(n=n.split(`;`),n.indexOf(``)!==-1))return!0;for(var r=0;r<n.length;r++){var i=n[r].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}function a(e,t,n){return!e.isSymbolicLink()&&!e.isFile()?!1:i(t,n)}function o(e,t,n){r.stat(e,function(r,i){n(r,!r&&a(i,e,t))})}function s(e,t){return a(r.statSync(e),e,t)}})),s=t(((t,n)=>{n.exports=i,i.sync=a;var r=e(`fs`);function i(e,t,n){r.stat(e,function(e,r){n(e,!e&&o(r,t))})}function a(e,t){return o(r.statSync(e),t)}function o(e,t){return e.isFile()&&s(e,t)}function s(e,t){var n=e.mode,r=e.uid,i=e.gid,a=t.uid===void 0?process.getuid&&process.getuid():t.uid,o=t.gid===void 0?process.getgid&&process.getgid():t.gid,s=64,c=8,l=1,u=s|c;return n&l||n&c&&i===o||n&s&&r===a||n&u&&a===0}})),c=t(((t,n)=>{e(`fs`);var r=process.platform===`win32`||global.TESTING_WINDOWS?o():s();n.exports=i,i.sync=a;function i(e,t,n){if(typeof t==`function`&&(n=t,t={}),!n){if(typeof Promise!=`function`)throw TypeError(`callback not provided`);return new Promise(function(n,r){i(e,t||{},function(e,t){e?r(e):n(t)})})}r(e,t||{},function(e,r){e&&(e.code===`EACCES`||t&&t.ignoreErrors)&&(e=null,r=!1),n(e,r)})}function a(e,t){try{return r.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||e.code===`EACCES`)return!1;throw e}}})),l=t(((t,n)=>{let r=process.platform===`win32`||process.env.OSTYPE===`cygwin`||process.env.OSTYPE===`msys`,i=e(`path`),a=r?`;`:`:`,o=c(),s=e=>Object.assign(Error(`not found: ${e}`),{code:`ENOENT`}),l=(e,t)=>{let n=t.colon||a,i=e.match(/\//)||r&&e.match(/\\/)?[``]:[...r?[process.cwd()]:[],...(t.path||process.env.PATH||``).split(n)],o=r?t.pathExt||process.env.PATHEXT||`.EXE;.CMD;.BAT;.COM`:``,s=r?o.split(n):[``];return r&&e.indexOf(`.`)!==-1&&s[0]!==``&&s.unshift(``),{pathEnv:i,pathExt:s,pathExtExe:o}},u=(e,t,n)=>{typeof t==`function`&&(n=t,t={}),t||={};let{pathEnv:r,pathExt:a,pathExtExe:c}=l(e,t),u=[],d=n=>new Promise((a,o)=>{if(n===r.length)return t.all&&u.length?a(u):o(s(e));let c=r[n],l=/^".*"$/.test(c)?c.slice(1,-1):c,d=i.join(l,e),p=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+d:d;a(f(p,n,0))}),f=(e,n,r)=>new Promise((i,s)=>{if(r===a.length)return i(d(n+1));let l=a[r];o(e+l,{pathExt:c},(a,o)=>{if(!a&&o){if(t.all)u.push(e+l);else return i(e+l)}return i(f(e,n,r+1))})});return n?d(0).then(e=>n(null,e),n):d(0)};n.exports=u,u.sync=(e,t)=>{t||={};let{pathEnv:n,pathExt:r,pathExtExe:a}=l(e,t),c=[];for(let s=0;s<n.length;s++){let l=n[s],u=/^".*"$/.test(l)?l.slice(1,-1):l,d=i.join(u,e),f=!u&&/^\.[\\\/]/.test(e)?e.slice(0,2)+d:d;for(let e=0;e<r.length;e++){let n=f+r[e];try{if(o.sync(n,{pathExt:a})){if(t.all)c.push(n);else return n}}catch{}}}if(t.all&&c.length)return c;if(t.nothrow)return null;throw s(e)}})),u=t(((e,t)=>{let n=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)===`win32`?Object.keys(t).reverse().find(e=>e.toUpperCase()===`PATH`)||`Path`:`PATH`};t.exports=n,t.exports.default=n})),d=t(((t,n)=>{let r=e(`path`),i=l(),a=u();function o(e,t){let n=e.options.env||process.env,o=process.cwd(),s=e.options.cwd!=null,c=s&&process.chdir!==void 0&&!process.chdir.disabled;if(c)try{process.chdir(e.options.cwd)}catch{}let l;try{l=i.sync(e.command,{path:n[a({env:n})],pathExt:t?r.delimiter:void 0})}catch{}finally{c&&process.chdir(o)}return l&&=r.resolve(s?e.options.cwd:``,l),l}function s(e){return o(e)||o(e,!0)}n.exports=s})),f=t(((e,t)=>{let n=/([()\][%!^"`<>&|;, *?])/g;function r(e){return e=e.replace(n,`^$1`),e}function i(e,t){return e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,`$1$1\\"`),e=e.replace(/(?=(\\+?)?)\1$/,`$1$1`),e=`"${e}"`,e=e.replace(n,`^$1`),t&&(e=e.replace(n,`^$1`)),e}t.exports.command=r,t.exports.argument=i})),p=t(((e,t)=>{t.exports=/^#!(.*)/})),m=t(((e,t)=>{let n=p();t.exports=(e=``)=>{let t=e.match(n);if(!t)return null;let[r,i]=t[0].replace(/#! ?/,``).split(` `),a=r.split(`/`).pop();return a===`env`?i:i?`${a} ${i}`:a}})),h=t(((t,n)=>{let r=e(`fs`),i=m();function a(e){let t=Buffer.alloc(150),n;try{n=r.openSync(e,`r`),r.readSync(n,t,0,150,0),r.closeSync(n)}catch{}return i(t.toString())}n.exports=a})),g=t(((t,n)=>{let r=e(`path`),i=d(),a=f(),o=h(),s=process.platform===`win32`,c=/\.(?:com|exe)$/i,l=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function u(e){e.file=i(e);let t=e.file&&o(e.file);return t?(e.args.unshift(e.file),e.command=t,i(e)):e.file}function p(e){if(!s)return e;let t=u(e),n=!c.test(t);if(e.options.forceShell||n){let n=l.test(t);e.command=r.normalize(e.command),e.command=a.command(e.command),e.args=e.args.map(e=>a.argument(e,n)),e.args=[`/d`,`/s`,`/c`,`"${[e.command].concat(e.args).join(` `)}"`],e.command=process.env.comspec||`cmd.exe`,e.options.windowsVerbatimArguments=!0}return e}function m(e,t,n){t&&!Array.isArray(t)&&(n=t,t=null),t=t?t.slice(0):[],n=Object.assign({},n);let r={command:e,args:t,options:n,file:void 0,original:{command:e,args:t}};return n.shell?r:p(r)}n.exports=m})),_=t(((e,t)=>{let n=process.platform===`win32`;function r(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:`ENOENT`,errno:`ENOENT`,syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function i(e,t){if(!n)return;let r=e.emit;e.emit=function(n,i){if(n===`exit`){let n=a(i,t);if(n)return r.call(e,`error`,n)}return r.apply(e,arguments)}}function a(e,t){return n&&e===1&&!t.file?r(t.original,`spawn`):null}function o(e,t){return n&&e===1&&!t.file?r(t.original,`spawnSync`):null}t.exports={hookChildProcess:i,verifyENOENT:a,verifyENOENTSync:o,notFoundError:r}})),v=t(((t,n)=>{let r=e(`child_process`),i=g(),a=_();function o(e,t,n){let o=i(e,t,n),s=r.spawn(o.command,o.args,o.options);return a.hookChildProcess(s,o),s}function s(e,t,n){let o=i(e,t,n),s=r.spawnSync(o.command,o.args,o.options);return s.error=s.error||a.verifyENOENTSync(s.status,o),s}n.exports=o,n.exports.spawn=o,n.exports.sync=s,n.exports._parse=i,n.exports._enoent=a})),y=t(((e,t)=>{t.exports=e=>{let t=typeof e==`string`?`
3
- `:10,n=typeof e==`string`?`\r`:13;return e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e[e.length-1]===n&&(e=e.slice(0,e.length-1)),e}})),b=t(((t,n)=>{let r=e(`path`),i=u(),a=e=>{e={cwd:process.cwd(),path:process.env[i()],execPath:process.execPath,...e};let t,n=r.resolve(e.cwd),a=[];for(;t!==n;)a.push(r.join(n,`node_modules/.bin`)),t=n,n=r.resolve(n,`..`);let o=r.resolve(e.cwd,e.execPath,`..`);return a.push(o),a.concat(e.path).join(r.delimiter)};n.exports=a,n.exports.default=a,n.exports.env=e=>{e={env:process.env,...e};let t={...e.env},r=i({env:t});return e.path=t[r],t[r]=n.exports(e),t}})),x=t(((e,t)=>{let n=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};t.exports=n,t.exports.default=n})),S=t(((e,t)=>{let n=x(),r=new WeakMap,i=(e,t={})=>{if(typeof e!=`function`)throw TypeError(`Expected a function`);let i,a=0,o=e.displayName||e.name||`<anonymous>`,s=function(...n){if(r.set(s,++a),a===1)i=e.apply(this,n),e=null;else if(t.throw===!0)throw Error(`Function \`${o}\` can only be called once`);return i};return n(s,e),r.set(s,a),s};t.exports=i,t.exports.default=i,t.exports.callCount=e=>{if(!r.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return r.get(e)}})),C=t((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIGNALS=void 0,e.SIGNALS=[{name:`SIGHUP`,number:1,action:`terminate`,description:`Terminal closed`,standard:`posix`},{name:`SIGINT`,number:2,action:`terminate`,description:`User interruption with CTRL-C`,standard:`ansi`},{name:`SIGQUIT`,number:3,action:`core`,description:`User interruption with CTRL-\\`,standard:`posix`},{name:`SIGILL`,number:4,action:`core`,description:`Invalid machine instruction`,standard:`ansi`},{name:`SIGTRAP`,number:5,action:`core`,description:`Debugger breakpoint`,standard:`posix`},{name:`SIGABRT`,number:6,action:`core`,description:`Aborted`,standard:`ansi`},{name:`SIGIOT`,number:6,action:`core`,description:`Aborted`,standard:`bsd`},{name:`SIGBUS`,number:7,action:`core`,description:`Bus error due to misaligned, non-existing address or paging error`,standard:`bsd`},{name:`SIGEMT`,number:7,action:`terminate`,description:`Command should be emulated but is not implemented`,standard:`other`},{name:`SIGFPE`,number:8,action:`core`,description:`Floating point arithmetic error`,standard:`ansi`},{name:`SIGKILL`,number:9,action:`terminate`,description:`Forced termination`,standard:`posix`,forced:!0},{name:`SIGUSR1`,number:10,action:`terminate`,description:`Application-specific signal`,standard:`posix`},{name:`SIGSEGV`,number:11,action:`core`,description:`Segmentation fault`,standard:`ansi`},{name:`SIGUSR2`,number:12,action:`terminate`,description:`Application-specific signal`,standard:`posix`},{name:`SIGPIPE`,number:13,action:`terminate`,description:`Broken pipe or socket`,standard:`posix`},{name:`SIGALRM`,number:14,action:`terminate`,description:`Timeout or timer`,standard:`posix`},{name:`SIGTERM`,number:15,action:`terminate`,description:`Termination`,standard:`ansi`},{name:`SIGSTKFLT`,number:16,action:`terminate`,description:`Stack is empty or overflowed`,standard:`other`},{name:`SIGCHLD`,number:17,action:`ignore`,description:`Child process terminated, paused or unpaused`,standard:`posix`},{name:`SIGCLD`,number:17,action:`ignore`,description:`Child process terminated, paused or unpaused`,standard:`other`},{name:`SIGCONT`,number:18,action:`unpause`,description:`Unpaused`,standard:`posix`,forced:!0},{name:`SIGSTOP`,number:19,action:`pause`,description:`Paused`,standard:`posix`,forced:!0},{name:`SIGTSTP`,number:20,action:`pause`,description:`Paused using CTRL-Z or "suspend"`,standard:`posix`},{name:`SIGTTIN`,number:21,action:`pause`,description:`Background process cannot read terminal input`,standard:`posix`},{name:`SIGBREAK`,number:21,action:`terminate`,description:`User interruption with CTRL-BREAK`,standard:`other`},{name:`SIGTTOU`,number:22,action:`pause`,description:`Background process cannot write to terminal output`,standard:`posix`},{name:`SIGURG`,number:23,action:`ignore`,description:`Socket received out-of-band data`,standard:`bsd`},{name:`SIGXCPU`,number:24,action:`core`,description:`Process timed out`,standard:`bsd`},{name:`SIGXFSZ`,number:25,action:`core`,description:`File too big`,standard:`bsd`},{name:`SIGVTALRM`,number:26,action:`terminate`,description:`Timeout or timer`,standard:`bsd`},{name:`SIGPROF`,number:27,action:`terminate`,description:`Timeout or timer`,standard:`bsd`},{name:`SIGWINCH`,number:28,action:`ignore`,description:`Terminal window size changed`,standard:`bsd`},{name:`SIGIO`,number:29,action:`terminate`,description:`I/O is available`,standard:`other`},{name:`SIGPOLL`,number:29,action:`terminate`,description:`Watched event`,standard:`other`},{name:`SIGINFO`,number:29,action:`ignore`,description:`Request for process information`,standard:`other`},{name:`SIGPWR`,number:30,action:`terminate`,description:`Device running out of power`,standard:`systemv`},{name:`SIGSYS`,number:31,action:`core`,description:`Invalid system call`,standard:`other`},{name:`SIGUNUSED`,number:31,action:`terminate`,description:`Invalid system call`,standard:`other`}]})),w=t((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIGRTMAX=e.getRealtimeSignals=void 0,e.getRealtimeSignals=function(){let e=r-n+1;return Array.from({length:e},t)};let t=function(e,t){return{name:`SIGRT${t+1}`,number:n+t,action:`terminate`,description:`Application-specific signal (realtime)`,standard:`posix`}},n=34,r=64;e.SIGRTMAX=64})),T=t((t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSignals=void 0;var n=e(`os`),r=C(),i=w();t.getSignals=function(){let e=(0,i.getRealtimeSignals)();return[...r.SIGNALS,...e].map(a)};let a=function({name:e,number:t,description:r,action:i,forced:a=!1,standard:o}){let{signals:{[e]:s}}=n.constants,c=s!==void 0;return{name:e,number:c?s:t,description:r,supported:c,action:i,forced:a,standard:o}}})),E=t((t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.signalsByNumber=t.signalsByName=void 0;var n=e(`os`),r=T(),i=w();let a=function(){return(0,r.getSignals)().reduce(o,{})},o=function(e,{name:t,number:n,description:r,supported:i,action:a,forced:o,standard:s}){return{...e,[t]:{name:t,number:n,description:r,supported:i,action:a,forced:o,standard:s}}};t.signalsByName=a();let s=function(){let e=(0,r.getSignals)(),t=i.SIGRTMAX+1,n=Array.from({length:t},(t,n)=>c(n,e));return Object.assign({},...n)},c=function(e,t){let n=l(e,t);if(n===void 0)return{};let{name:r,description:i,supported:a,action:o,forced:s,standard:c}=n;return{[e]:{name:r,number:e,description:i,supported:a,action:o,forced:s,standard:c}}},l=function(e,t){let r=t.find(({name:t})=>n.constants.signals[t]===e);return r===void 0?t.find(t=>t.number===e):r};t.signalsByNumber=s()})),ee=t(((e,t)=>{let{signalsByName:n}=E(),r=({timedOut:e,timeout:t,errorCode:n,signal:r,signalDescription:i,exitCode:a,isCanceled:o})=>e?`timed out after ${t} milliseconds`:o?`was canceled`:n===void 0?r===void 0?a===void 0?`failed`:`failed with exit code ${a}`:`was killed with ${r} (${i})`:`failed with ${n}`;t.exports=({stdout:e,stderr:t,all:i,error:a,signal:o,exitCode:s,command:c,escapedCommand:l,timedOut:u,isCanceled:d,killed:f,parsed:{options:{timeout:p}}})=>{s=s===null?void 0:s,o=o===null?void 0:o;let m=o===void 0?void 0:n[o].description,h=a&&a.code,g=`Command ${r({timedOut:u,timeout:p,errorCode:h,signal:o,signalDescription:m,exitCode:s,isCanceled:d})}: ${c}`,_=Object.prototype.toString.call(a)===`[object Error]`,v=_?`${g}\n${a.message}`:g,y=[v,t,e].filter(Boolean).join(`
4
- `);return _?(a.originalMessage=a.message,a.message=y):a=Error(y),a.shortMessage=v,a.command=c,a.escapedCommand=l,a.exitCode=s,a.signal=o,a.signalDescription=m,a.stdout=e,a.stderr=t,i!==void 0&&(a.all=i),`bufferedData`in a&&delete a.bufferedData,a.failed=!0,a.timedOut=!!u,a.isCanceled=d,a.killed=f&&!u,a}})),D=t(((e,t)=>{let n=[`stdin`,`stdout`,`stderr`],r=e=>n.some(t=>e[t]!==void 0),i=e=>{if(!e)return;let{stdio:t}=e;if(t===void 0)return n.map(t=>e[t]);if(r(e))throw Error(`It's not possible to provide \`stdio\` in combination with one of ${n.map(e=>`\`${e}\``).join(`, `)}`);if(typeof t==`string`)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let i=Math.max(t.length,n.length);return Array.from({length:i},(e,n)=>t[n])};t.exports=i,t.exports.node=e=>{let t=i(e);return t===`ipc`?`ipc`:t===void 0||typeof t==`string`?[t,t,t,`ipc`]:t.includes(`ipc`)?t:[...t,`ipc`]}})),O=t(((e,t)=>{t.exports=[`SIGABRT`,`SIGALRM`,`SIGHUP`,`SIGINT`,`SIGTERM`],process.platform!==`win32`&&t.exports.push(`SIGVTALRM`,`SIGXCPU`,`SIGXFSZ`,`SIGUSR2`,`SIGTRAP`,`SIGSYS`,`SIGQUIT`,`SIGIOT`),process.platform===`linux`&&t.exports.push(`SIGIO`,`SIGPOLL`,`SIGPWR`,`SIGSTKFLT`,`SIGUNUSED`)})),k=t(((t,n)=>{var r=global.process;let i=function(e){return e&&typeof e==`object`&&typeof e.removeListener==`function`&&typeof e.emit==`function`&&typeof e.reallyExit==`function`&&typeof e.listeners==`function`&&typeof e.kill==`function`&&typeof e.pid==`number`&&typeof e.on==`function`};if(!i(r))n.exports=function(){return function(){}};else{var a=e(`assert`),o=O(),s=/^win/i.test(r.platform),c=e(`events`);typeof c!=`function`&&(c=c.EventEmitter);var l;r.__signal_exit_emitter__?l=r.__signal_exit_emitter__:(l=r.__signal_exit_emitter__=new c,l.count=0,l.emitted={}),l.infinite||(l.setMaxListeners(1/0),l.infinite=!0),n.exports=function(e,t){if(!i(global.process))return function(){};a.equal(typeof e,`function`,`a callback must be provided for exit handler`),p===!1&&m();var n=`exit`;return t&&t.alwaysLast&&(n=`afterexit`),l.on(n,e),function(){l.removeListener(n,e),l.listeners(`exit`).length===0&&l.listeners(`afterexit`).length===0&&u()}};var u=function(){p&&i(global.process)&&(p=!1,o.forEach(function(e){try{r.removeListener(e,f[e])}catch{}}),r.emit=_,r.reallyExit=h,--l.count)};n.exports.unload=u;var d=function(e,t,n){l.emitted[e]||(l.emitted[e]=!0,l.emit(e,t,n))},f={};o.forEach(function(e){f[e]=function(){i(global.process)&&r.listeners(e).length===l.count&&(u(),d(`exit`,null,e),d(`afterexit`,null,e),s&&e===`SIGHUP`&&(e=`SIGINT`),r.kill(r.pid,e))}}),n.exports.signals=function(){return o};var p=!1,m=function(){!p&&i(global.process)&&(p=!0,l.count+=1,o=o.filter(function(e){try{return r.on(e,f[e]),!0}catch{return!1}}),r.emit=v,r.reallyExit=g)};n.exports.load=m;var h=r.reallyExit,g=function(e){i(global.process)&&(r.exitCode=e||0,d(`exit`,r.exitCode,null),d(`afterexit`,r.exitCode,null),h.call(r,r.exitCode))},_=r.emit,v=function(e,t){if(e===`exit`&&i(global.process)){t!==void 0&&(r.exitCode=t);var n=_.apply(this,arguments);return d(`exit`,r.exitCode,null),d(`afterexit`,r.exitCode,null),n}return _.apply(this,arguments)}}})),te=t(((t,n)=>{let r=e(`os`),i=k(),a=(e,t=`SIGTERM`,n={})=>{let r=e(t);return o(e,t,n,r),r},o=(e,t,n,r)=>{if(!s(t,n,r))return;let i=l(n),a=setTimeout(()=>{e(`SIGKILL`)},i);a.unref&&a.unref()},s=(e,{forceKillAfterTimeout:t},n)=>c(e)&&t!==!1&&n,c=e=>e===r.constants.signals.SIGTERM||typeof e==`string`&&e.toUpperCase()===`SIGTERM`,l=({forceKillAfterTimeout:e=!0})=>{if(e===!0)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},u=(e,t)=>{e.kill()&&(t.isCanceled=!0)},d=(e,t,n)=>{e.kill(t),n(Object.assign(Error(`Timed out`),{timedOut:!0,signal:t}))};n.exports={spawnedKill:a,spawnedCancel:u,setupTimeout:(e,{timeout:t,killSignal:n=`SIGTERM`},r)=>{if(t===0||t===void 0)return r;let i,a=new Promise((r,a)=>{i=setTimeout(()=>{d(e,n,a)},t)}),o=r.finally(()=>{clearTimeout(i)});return Promise.race([a,o])},validateTimeout:({timeout:e})=>{if(e!==void 0&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},setExitHandler:async(e,{cleanup:t,detached:n},r)=>{if(!t||n)return r;let a=i(()=>{e.kill()});return r.finally(()=>{a()})}}})),A=t(((t,n)=>{let{PassThrough:r}=e(`stream`);n.exports=e=>{e={...e};let{array:t}=e,{encoding:n}=e,i=n===`buffer`,a=!1;t?a=!(n||i):n||=`utf8`,i&&(n=null);let o=new r({objectMode:a});n&&o.setEncoding(n);let s=0,c=[];return o.on(`data`,e=>{c.push(e),a?s=c.length:s+=e.length}),o.getBufferedValue=()=>t?c:i?Buffer.concat(c,s):c.join(``),o.getBufferedLength=()=>s,o}})),j=t(((t,n)=>{let{constants:r}=e(`buffer`),i=e(`stream`),{promisify:a}=e(`util`),o=A(),s=a(i.pipeline);var c=class extends Error{constructor(){super(`maxBuffer exceeded`),this.name=`MaxBufferError`}};async function l(e,t){if(!e)throw Error(`Expected a stream`);t={maxBuffer:1/0,...t};let{maxBuffer:n}=t,i=o(t);return await new Promise((t,a)=>{let o=e=>{e&&i.getBufferedLength()<=r.MAX_LENGTH&&(e.bufferedData=i.getBufferedValue()),a(e)};(async()=>{try{await s(e,i),t()}catch(e){o(e)}})(),i.on(`data`,()=>{i.getBufferedLength()>n&&o(new c)})}),i.getBufferedValue()}n.exports=l,n.exports.buffer=(e,t)=>l(e,{...t,encoding:`buffer`}),n.exports.array=(e,t)=>l(e,{...t,array:!0}),n.exports.MaxBufferError=c})),M=t(((t,n)=>{let{PassThrough:r}=e(`stream`);n.exports=function(){var e=[],t=new r({objectMode:!0});return t.setMaxListeners(0),t.add=n,t.isEmpty=i,t.on(`unpipe`,a),Array.prototype.slice.call(arguments).forEach(n),t;function n(r){return Array.isArray(r)?(r.forEach(n),this):(e.push(r),r.once(`end`,a.bind(null,r)),r.once(`error`,t.emit.bind(t,`error`)),r.pipe(t,{end:!1}),this)}function i(){return e.length==0}function a(n){e=e.filter(function(e){return e!==n}),!e.length&&t.readable&&t.end()}}})),N=t(((e,t)=>{let r=n(),i=j(),a=M(),o=(e,t)=>{t!==void 0&&e.stdin!==void 0&&(r(t)?t.pipe(e.stdin):e.stdin.end(t))},s=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let n=a();return e.stdout&&n.add(e.stdout),e.stderr&&n.add(e.stderr),n},c=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},l=(e,{encoding:t,buffer:n,maxBuffer:r})=>{if(e&&n)return t?i(e,{encoding:t,maxBuffer:r}):i.buffer(e,{maxBuffer:r})};t.exports={handleInput:o,makeAllStream:s,getSpawnedResult:async({stdout:e,stderr:t,all:n},{encoding:r,buffer:i,maxBuffer:a},o)=>{let s=l(e,{encoding:r,buffer:i,maxBuffer:a}),u=l(t,{encoding:r,buffer:i,maxBuffer:a}),d=l(n,{encoding:r,buffer:i,maxBuffer:a*2});try{return await Promise.all([o,s,u,d])}catch(r){return Promise.all([{error:r,signal:r.signal,timedOut:r.timedOut},c(e,s),c(t,u),c(n,d)])}},validateInputSync:({input:e})=>{if(r(e))throw TypeError("The `input` option cannot be a stream in sync mode")}}})),P=t(((e,t)=>{let n=(async()=>{})().constructor.prototype,r=[`then`,`catch`,`finally`].map(e=>[e,Reflect.getOwnPropertyDescriptor(n,e)]);t.exports={mergePromise:(e,t)=>{for(let[n,i]of r){let r=typeof t==`function`?(...e)=>Reflect.apply(i.value,t(),e):i.value.bind(t);Reflect.defineProperty(e,n,{...i,value:r})}return e},getSpawnedPromise:e=>new Promise((t,n)=>{e.on(`exit`,(e,n)=>{t({exitCode:e,signal:n})}),e.on(`error`,e=>{n(e)}),e.stdin&&e.stdin.on(`error`,e=>{n(e)})})}})),F=t(((e,t)=>{let n=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],r=/^[\w.-]+$/,i=/"/g,a=e=>typeof e!=`string`||r.test(e)?e:`"${e.replace(i,`\\"`)}"`,o=(e,t)=>n(e,t).join(` `),s=(e,t)=>n(e,t).map(e=>a(e)).join(` `),c=/ +/g;t.exports={joinCommand:o,getEscapedCommand:s,parseCommand:e=>{let t=[];for(let n of e.trim().split(c)){let e=t[t.length-1];e&&e.endsWith(`\\`)?t[t.length-1]=`${e.slice(0,-1)} ${n}`:t.push(n)}return t}}})),I=t(((t,n)=>{let r=e(`path`),i=e(`child_process`),a=v(),o=y(),s=b(),c=S(),l=ee(),u=D(),{spawnedKill:d,spawnedCancel:f,setupTimeout:p,validateTimeout:m,setExitHandler:h}=te(),{handleInput:g,getSpawnedResult:_,makeAllStream:x,validateInputSync:C}=N(),{mergePromise:w,getSpawnedPromise:T}=P(),{joinCommand:E,parseCommand:O,getEscapedCommand:k}=F(),A=({env:e,extendEnv:t,preferLocal:n,localDir:r,execPath:i})=>{let a=t?{...process.env,...e}:e;return n?s.env({env:a,cwd:r,execPath:i}):a},j=(e,t,n={})=>{let i=a._parse(e,t,n);return e=i.command,t=i.args,n=i.options,n={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:n.cwd||process.cwd(),execPath:process.execPath,encoding:`utf8`,reject:!0,cleanup:!0,all:!1,windowsHide:!0,...n},n.env=A(n),n.stdio=u(n),process.platform===`win32`&&r.basename(e,`.exe`)===`cmd`&&t.unshift(`/q`),{file:e,args:t,options:n,parsed:i}},M=(e,t,n)=>typeof t!=`string`&&!Buffer.isBuffer(t)?n===void 0?void 0:``:e.stripFinalNewline?o(t):t,I=(e,t,n)=>{let r=j(e,t,n),a=E(e,t),o=k(e,t);m(r.options);let s;try{s=i.spawn(r.file,r.args,r.options)}catch(e){let t=new i.ChildProcess,n=Promise.reject(l({error:e,stdout:``,stderr:``,all:``,command:a,escapedCommand:o,parsed:r,timedOut:!1,isCanceled:!1,killed:!1}));return w(t,n)}let u=T(s),v=p(s,r.options,u),y=h(s,r.options,v),b={isCanceled:!1};s.kill=d.bind(null,s.kill.bind(s)),s.cancel=f.bind(null,s,b);let S=c(async()=>{let[{error:e,exitCode:t,signal:n,timedOut:i},c,u,d]=await _(s,r.options,y),f=M(r.options,c),p=M(r.options,u),m=M(r.options,d);if(e||t!==0||n!==null){let c=l({error:e,exitCode:t,signal:n,stdout:f,stderr:p,all:m,command:a,escapedCommand:o,parsed:r,timedOut:i,isCanceled:b.isCanceled,killed:s.killed});if(!r.options.reject)return c;throw c}return{command:a,escapedCommand:o,exitCode:0,stdout:f,stderr:p,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return g(s,r.options.input),s.all=x(s,r.options),w(s,S)};n.exports=I,n.exports.sync=(e,t,n)=>{let r=j(e,t,n),a=E(e,t),o=k(e,t);C(r.options);let s;try{s=i.spawnSync(r.file,r.args,r.options)}catch(e){throw l({error:e,stdout:``,stderr:``,all:``,command:a,escapedCommand:o,parsed:r,timedOut:!1,isCanceled:!1,killed:!1})}let c=M(r.options,s.stdout,s.error),u=M(r.options,s.stderr,s.error);if(s.error||s.status!==0||s.signal!==null){let e=l({stdout:c,stderr:u,error:s.error,signal:s.signal,exitCode:s.status,command:a,escapedCommand:o,parsed:r,timedOut:s.error&&s.error.code===`ETIMEDOUT`,isCanceled:!1,killed:s.signal!==null});if(!r.options.reject)return e;throw e}return{command:a,escapedCommand:o,exitCode:0,stdout:c,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},n.exports.command=(e,t)=>{let[n,...r]=O(e);return I(n,r,t)},n.exports.commandSync=(e,t)=>{let[n,...r]=O(e);return I.sync(n,r,t)},n.exports.node=(e,t,n={})=>{t&&!Array.isArray(t)&&typeof t==`object`&&(n=t,t=[]);let r=u.node(n),i=process.execArgv.filter(e=>!e.startsWith(`--inspect`)),{nodePath:a=process.execPath,nodeOptions:o=i}=n;return I(a,[...o,e,...Array.isArray(t)?t:[]],{...n,stdin:void 0,stdout:void 0,stderr:void 0,stdio:r,shell:!1})}})),ne=t(((t,n)=>{var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let s of o(t))!c.call(e,s)&&s!==n&&i(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e},d=(e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)),f=e=>u(i({},`__esModule`,{value:!0}),e),p={};l(p,{getEnvPath:()=>_,prependPathEntries:()=>h,setEnvPath:()=>v,splitPath:()=>g}),n.exports=f(p);var m=d(e(`node:path`));function h(e,t){let n=e.split(m.default.delimiter).filter(Boolean),r=[];for(let e of t)!n.includes(e)&&!r.includes(e)&&r.push(e);return r.length===0?e:e===``||e===m.default.delimiter?`${r.join(m.default.delimiter)}${e}`:[...r,e].join(m.default.delimiter)}function g(e){return e.split(m.default.delimiter).filter(Boolean)}function _(e=process.env){if(process.platform!==`win32`)return e.PATH??``;let t=Object.keys(e).filter(e=>e.toLowerCase()===`path`);for(let n=t.length-1;n>=0;n--){let r=e[t[n]];if(r!==void 0)return r}return``}function v(e=process.env,t){if(process.platform!==`win32`)return{...e,PATH:t};let n={...e};for(let e of Object.keys(n))e!==`PATH`&&e.toLowerCase()===`path`&&delete n[e];return n.PATH=t,n}0&&(n.exports={getEnvPath:_,prependPathEntries:h,setEnvPath:v,splitPath:g})})),L=t(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},s=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},c=e=>s(n({},`__esModule`,{value:!0}),e),l={};o(l,{getErrorMessage:()=>u,isMissingPathError:()=>d}),t.exports=c(l);function u(e){return e instanceof Error?e.message:String(e)}function d(e){return typeof e==`object`&&!!e&&`code`in e&&(e.code===`ENOENT`||e.code===`ENOTDIR`)}0&&(t.exports={getErrorMessage:u,isMissingPathError:d})})),re=t(((t,n)=>{var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let s of o(t))!c.call(e,s)&&s!==n&&i(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e},d=(e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)),f=e=>u(i({},`__esModule`,{value:!0}),e),p={};l(p,{getCanonicalPath:()=>_,getCommandBase:()=>S,getDirectoriesBetween:()=>v,isNodeScript:()=>b,isSubpath:()=>x,statIfExists:()=>y}),n.exports=f(p);var m=e(`node:fs/promises`),h=d(e(`node:path`)),g=L();async function _(e){try{return await(0,m.realpath)(e)}catch{return e}}function v(e,t){let n=[],r=h.default.resolve(t),i=h.default.resolve(e);for(;;){if(n.push(r),r===i)return n.reverse();let e=h.default.dirname(r);if(e===r)return[];r=e}}async function y(e){try{return{stats:await(0,m.stat)(e)}}catch(e){return(0,g.isMissingPathError)(e)?{missing:!0}:{reason:`could not inspect: ${(0,g.getErrorMessage)(e)}`}}}function b(e){return[`.js`,`.cjs`,`.mjs`].includes(h.default.extname(e))}function x(e,t){let n=h.default.relative(e,t);return n===``||n!==``&&!n.startsWith(`..`)&&!h.default.isAbsolute(n)}function S(e){let t=h.default.extname(e).toLowerCase();return process.platform===`win32`&&[`.cmd`,`.exe`].includes(t)?h.default.basename(e,t):h.default.basename(e)}0&&(n.exports={getCanonicalPath:_,getCommandBase:S,getDirectoriesBetween:v,isNodeScript:b,isSubpath:x,statIfExists:y})})),R=t(((t,n)=>{var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let s of o(t))!c.call(e,s)&&s!==n&&i(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e},d=(e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)),f=e=>u(i({},`__esModule`,{value:!0}),e),p={};l(p,{getSkippedNodeModulesReason:()=>v,getUnsafeDirectoryReason:()=>C,getUnsafePackageBinReason:()=>b,getUnsafePackageDirectoryReason:()=>x,getUnsafePackageFileReason:()=>S,getUnsafeStatsReason:()=>T}),n.exports=f(p);var m=e(`node:fs/promises`),h=d(e(`node:path`)),g=L(),_=re();async function v(e,t){let n=h.default.dirname(e);t??=[n];for(let e of t){let t;try{t=await C(e)}catch(e){t=`could not inspect: ${(0,g.getErrorMessage)(e)}`}if(t)return`${e} is ${t}`}let r=await(0,_.statIfExists)(e);return`missing`in r?null:`reason`in r?r.reason:r.stats.isDirectory()?T(r.stats)||await y(h.default.join(e,`.bin`)):`not a directory`}async function y(e){let t=await(0,_.statIfExists)(e);if(`missing`in t)return null;if(`reason`in t)return`${e} ${t.reason}`;if(!t.stats.isDirectory())return`${e} is not a directory`;let n=T(t.stats);return n?`${e} is ${n}`:null}async function b(e,t,n){return await x(e,t)||await S(t,n)}async function x(e,t){let n=(0,_.getDirectoriesBetween)(e,t);if(n.length===0)return`${t} resolves outside local node_modules`;for(let e of n){let t=await C(e);if(t)return`${e} is ${t}`}return null}async function S(e,t){let n=(0,_.getDirectoriesBetween)(e,h.default.dirname(t));if(n.length===0)return`${t} resolves outside package`;for(let e of n){let t=await C(e);if(t)return`${e} is ${t}`}let r=await w(t);return r?`${t} is ${r}`:null}async function C(e){let t=await(0,m.stat)(e);return t.isDirectory()?T(t):`not a directory`}async function w(e){let t=await(0,m.stat)(e);return t.isFile()?T(t):`not a file`}function T(e){let t=process.geteuid??process.getuid;if(typeof t!=`function`)return null;let n=t();return e.mode&18?e.mode&2?`world-writable`:`group-writable`:e.uid===n?null:`owned by uid ${e.uid}, current uid is ${n}`}0&&(n.exports={getSkippedNodeModulesReason:v,getUnsafeDirectoryReason:C,getUnsafePackageBinReason:b,getUnsafePackageDirectoryReason:x,getUnsafePackageFileReason:S,getUnsafeStatsReason:T})})),z=t(((t,n)=>{var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let s of o(t))!c.call(e,s)&&s!==n&&i(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e},d=(e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)),f=e=>u(i({},`__esModule`,{value:!0}),e),p={};l(p,{clearCachedCliInvocation:()=>T,clearVercelCliLookupCache:()=>w,findVercelCli:()=>x,getLocalBinSearch:()=>M,resolveCachedCliInvocation:()=>S,toVercelCliInvocation:()=>C}),n.exports=f(p);var m=e(`node:fs/promises`),h=d(e(`node:path`)),g=ne(),_=L(),v=re(),y=R();let b=new Map;async function x(e={}){let t=await S(h.default.resolve(e.cwd??process.cwd()),e.path??(0,g.getEnvPath)(process.env));return t.found?C(t):null}function S(e,t){let n=le(e,t);if(b.has(n))return b.get(n);let r=E(e,t).catch(e=>{throw b.delete(n),e});return b.set(n,r),r}function C(e){return{command:e.command,commandArgs:e.commandArgs,source:e.source}}function w(){b.clear()}function T(e,t){b.delete(le(e,t))}async function E(e,t){let n=await M(e),r={localBinSearch:n.diagnostics,skippedLocalBins:[]},i=(0,g.prependPathEntries)(t,n.directories);for(let t of j()){let a=await ee(t,i,e,n,r);if(a)return(0,v.isNodeScript)(a.realPath)?{found:!0,command:process.execPath,commandArgs:[a.realPath],source:a.source,diagnostics:r}:{found:!0,command:a.realPath,commandArgs:[],source:a.source,diagnostics:r}}return{found:!1,diagnostics:r}}async function ee(e,t,n,r,i){for(let a of(0,g.splitPath)(t)){let t=D(a,e,n);try{if(await O(t,r,i)){let n=await te(e,t,r,i);if(n)return n}}catch{}}return null}function D(e,t,n){let r=h.default.isAbsolute(e)?e:h.default.resolve(n,e);return h.default.join(r,t)}async function O(e,t,n){try{return await(0,m.access)(e,process.platform===`win32`?m.constants.F_OK:m.constants.F_OK|m.constants.X_OK),!0}catch(r){return(0,_.isMissingPathError)(r)||await k(e,r,t,n),!1}}async function k(e,t,n,r){let i=await z(e,n.directories);i&&A(r,e,`reason`in i?i.reason:`local bin is not accessible: ${(0,_.getErrorMessage)(t)}`)}async function te(e,t,n,r){if(!(await(0,m.stat)(t)).isFile())return null;let i=await(0,m.realpath)(t),a=await z(t,n.directories);if(!a)return{realPath:i,source:`path`};if(`reason`in a)return A(r,t,a.reason),null;let o=await ie(e,a.directory);return`reason`in o?(A(r,t,o.reason),null):{realPath:o.binPath,source:`local-bin`}}function A(e,t,n){e.skippedLocalBins.push({candidate:t,reason:n})}function j(){let e=[`vercel`];if(process.platform!==`win32`)return e;let t=[`.cmd`,`.exe`,``];return e.flatMap(e=>t.map(t=>`${e}${t}`))}async function M(e){let t=await(0,v.getCanonicalPath)(h.default.resolve(e)),n=await N(t),r=[],i=[];for(let e of n.directories){let a=h.default.join(e,`node_modules`),o=n.stopReason===`project-root-marker`?(0,v.getDirectoriesBetween)(n.stoppedAt,e):(0,v.getDirectoriesBetween)(e,t),s=await(0,y.getSkippedNodeModulesReason)(a,o);s?r.push({directory:a,reason:s}):i.push(h.default.join(a,`.bin`))}return{directories:i,diagnostics:{searchRoot:t,stoppedAt:n.stoppedAt,stopReason:n.stopReason,markerPath:n.markerPath,skippedNodeModules:r}}}async function N(e){let t=[],n=h.default.resolve(e);for(;;){t.push(n);let e=await P(n);if(e)return{directories:t,stoppedAt:n,stopReason:`project-root-marker`,markerPath:e.path};let r=h.default.dirname(n);if(r===n)return{directories:t,stoppedAt:n,stopReason:`filesystem-root`};n=r}}async function P(e){let t=h.default.join(e,`.git`);try{return await(0,m.stat)(t),{path:t}}catch{}return null}async function F(e,t){let n=h.default.resolve(e),r=n;try{r=h.default.join(await(0,m.realpath)(h.default.dirname(n)),h.default.basename(n))}catch{}for(let e of t){try{e=await(0,m.realpath)(e)}catch{}if(r.startsWith(`${e}${h.default.sep}`))return e}return null}async function I(e){let t=h.default.resolve(h.default.dirname(e)),n=[t];try{let e=await(0,m.realpath)(t);n.includes(e)||n.push(e)}catch{}for(let e of n)if(h.default.basename(e)===`.bin`&&h.default.basename(h.default.dirname(e))===`node_modules`)return e;return null}async function z(e,t){let n=await F(e,t);if(n)return{directory:n};let r=await I(e);if(!r)return null;let i=h.default.dirname(r),a=await(0,y.getSkippedNodeModulesReason)(i);return a?{reason:`local node_modules is ${a}`}:{reason:`local bin is outside project lookup boundary`}}async function ie(e,t){let n=(0,v.getCommandBase)(e),r=h.default.dirname(t);if(n!==`vercel`||h.default.basename(r)!==`node_modules`)return{reason:`not a local vercel bin`};try{let e=await ae(r);if(`reason`in e)return e;let t=await oe(e.realPackageDirectory);return`reason`in t?t:(e.packageJson=t.packageJson,await se(e,n))}catch(e){return{reason:`could not validate local vercel package: ${(0,_.getErrorMessage)(e)}`}}}async function ae(e){let t=h.default.join(e,`vercel`),n=await(0,m.realpath)(e),r=await(0,m.realpath)(t);if(!(0,v.isSubpath)(n,r))return{reason:`local vercel package resolves outside local node_modules`};let i=await(0,y.getUnsafePackageDirectoryReason)(n,r);return i?{reason:`local vercel package is unsafe: ${i}`}:{realNodeModulesDirectory:n,realPackageDirectory:r,packageJson:{}}}async function oe(e){let t=h.default.join(e,`package.json`),n=await(0,m.realpath)(t);if(!(0,v.isSubpath)(e,n))return{reason:`local vercel package.json resolves outside package`};let r=await(0,y.getUnsafePackageFileReason)(e,n);if(r)return{reason:`local vercel package.json is unsafe: ${r}`};let i=JSON.parse(await(0,m.readFile)(n,`utf8`));return i.name===`vercel`?{packageJson:i}:{reason:`local vercel package.json does not have name "vercel"`}}async function se(e,t){let{packageJson:n,realNodeModulesDirectory:r,realPackageDirectory:i}=e,a=ce(n,t);if(!a)return{reason:`local vercel package does not declare bin.vercel`};let o=h.default.resolve(i,a),s=await(0,m.realpath)(o);if(!(0,v.isSubpath)(i,s))return{reason:`local vercel package bin resolves outside package`};let c=await(0,y.getUnsafePackageBinReason)(r,i,s);if(c)return{reason:`local vercel package bin is unsafe: ${c}`};if(process.platform!==`win32`&&!(0,v.isNodeScript)(s))try{await(0,m.access)(s,m.constants.F_OK|m.constants.X_OK)}catch(e){return{reason:`local vercel package bin is not executable: ${(0,_.getErrorMessage)(e)}`}}return{binPath:s}}function ce(e,t){let n=e.bin;if(typeof n==`string`)return t===`vercel`?n:null;if(n&&typeof n==`object`){let e=n[t];if(typeof e==`string`)return e}return null}function le(e,t){return`${e}\0${t}`}0&&(n.exports={clearCachedCliInvocation:T,clearVercelCliLookupCache:w,findVercelCli:x,getLocalBinSearch:M,resolveCachedCliInvocation:S,toVercelCliInvocation:C})})),ie=t(((t,n)=>{var r=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let a of s(t))!l.call(e,a)&&a!==n&&i(e,a,{get:()=>t[a],enumerable:!(r=o(t,a))||r.enumerable});return e},f=(e,t,n)=>(n=e==null?{}:r(c(e)),d(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)),p=e=>d(i({},`__esModule`,{value:!0}),e),m={};u(m,{execVercelCli:()=>b}),n.exports=p(m);var h=f(e(`node:path`)),g=f(I()),_=ne(),v=a(),y=z();async function b(e,t={}){let n=h.default.resolve(t.cwd??process.cwd());await(0,v.assertValidCwd)(n);let r=C(t.env),i=(0,_.getEnvPath)(r);try{return await x(e,t,n,r,i)}catch(a){if(a instanceof v.VercelCliError&&a.code===`VERCEL_CLI_NOT_FOUND`)return(0,y.clearCachedCliInvocation)(n,i),await x(e,t,n,r,i);throw a}}async function x(e,t,n,r,i){let a=await S(n,i);try{let i={input:t.input,stdio:t.stdio,stdin:t.stdin,stdout:t.stdout,stderr:t.stderr,timeout:t.timeout,cwd:n,env:await w(n,r),windowsHide:!0};t.signal&&(i.signal=t.signal);let{stdout:o,stderr:s}=await(0,g.default)(a.command,[...a.commandArgs,...e],i);return{stdout:o,stderr:s,invocation:a}}catch(e){throw(0,v.toVercelCliError)(a,e)}}async function S(e,t){let n=await(0,y.resolveCachedCliInvocation)(e,t);if(!n.found)throw new v.VercelCliError({code:`VERCEL_CLI_NOT_FOUND`,message:(0,v.getCliNotFoundMessage)(n.diagnostics)});return(0,y.toVercelCliInvocation)(n)}function C(e){return e?{...process.env,...e}:process.env}async function w(e,t=process.env){let n=await T(e,(0,_.getEnvPath)(t));return(0,_.setEnvPath)(t,(0,_.prependPathEntries)(n,[h.default.dirname(process.execPath)]))}async function T(e,t=``){return(0,_.prependPathEntries)(t,(await(0,y.getLocalBinSearch)(e)).directories)}0&&(n.exports={execVercelCli:b})})),ae=t(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!o.call(e,c)&&c!==a&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},l=e=>c(n({},`__esModule`,{value:!0}),e),u={};s(u,{VercelCliError:()=>d.VercelCliError,clearVercelCliLookupCache:()=>p.clearVercelCliLookupCache,execVercelCli:()=>f.execVercelCli,findVercelCli:()=>p.findVercelCli}),t.exports=l(u);var d=a(),f=ie(),p=z();0&&(t.exports={VercelCliError,clearVercelCliLookupCache,execVercelCli,findVercelCli})})),oe=t(((t,n)=>{var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>function(){return t||(0,e[o(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let s of o(t))!c.call(e,s)&&s!==n&&i(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e},f=(e,t,n)=>(n=e==null?{}:r(s(e)),d(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)),p=e=>d(i({},`__esModule`,{value:!0}),e),m=l({"../../node_modules/.pnpm/os-paths@4.4.0/node_modules/os-paths/src/lib/index.js"(t,n){var r=e(`os`),i=e(`path`),a=/^win/i.test(process.platform);function o(e){return i.normalize(i.join(e,`.`))}var s=()=>{let{env:e}=process,t={};return t.home=()=>o(r.homedir?r.homedir():e.HOME),t.temp=()=>o(r.tmpdir?r.tmpdir():e.TMPDIR||e.TEMP||e.TMP),t},c=()=>{let{env:e}=process,t={};return t.home=()=>o(r.homedir?r.homedir():e.USERPROFILE||i.join(e.HOMEDRIVE,e.HOMEPATH)||e.HOME),t.temp=()=>o(r.tmpdir?r.tmpdir():e.TEMP||e.TMP||i.join(e.LOCALAPPDATA||e.SystemRoot||e.windir,`Temp`)),t};n.exports=new class e{constructor(){let t=function(){return new e};this._fn=t;let n=a?c():s();return Object.keys(n).forEach(e=>{this._fn[e]=n[e]}),this._fn}}}}),h=l({"../../node_modules/.pnpm/xdg-portable@7.3.0/node_modules/xdg-portable/src/lib/index.js"(t,n){var r=e(`path`),i=m(),a=()=>{let e={};return e.cache=()=>process.env.XDG_CACHE_HOME||r.join(i.home()||i.temp(),`.cache`),e.config=()=>process.env.XDG_CONFIG_HOME||r.join(i.home()||i.temp(),`.config`),e.data=()=>process.env.XDG_DATA_HOME||r.join(i.home()||i.temp(),`.local`,`share`),e.runtime=()=>process.env.XDG_RUNTIME_DIR||void 0,e.state=()=>process.env.XDG_STATE_HOME||r.join(i.home()||i.temp(),`.local`,`state`),e},o=()=>{let e={};return e.cache=()=>process.env.XDG_CACHE_HOME||r.join(r.join(i.home()||i.temp(),`Library`),`Caches`),e.config=()=>process.env.XDG_CONFIG_HOME||r.join(r.join(i.home()||i.temp(),`Library`),`Preferences`),e.data=()=>process.env.XDG_DATA_HOME||r.join(r.join(i.home()||i.temp(),`Library`),`Application Support`),e.runtime=()=>process.env.XDG_RUNTIME_DIR||void 0,e.state=()=>process.env.XDG_STATE_HOME||r.join(r.join(i.home()||i.temp(),`Library`),`State`),e},s=()=>{let e={};return e.cache=()=>{let e=process.env.LOCALAPPDATA||r.join(i.home()||i.temp(),`AppData`,`Local`);return process.env.XDG_CACHE_HOME||r.join(e,`xdg.cache`)},e.config=()=>{let e=process.env.APPDATA||r.join(i.home()||i.temp(),`AppData`,`Roaming`);return process.env.XDG_CONFIG_HOME||r.join(e,`xdg.config`)},e.data=()=>{let e=process.env.APPDATA||r.join(i.home()||i.temp(),`AppData`,`Roaming`);return process.env.XDG_DATA_HOME||r.join(e,`xdg.data`)},e.runtime=()=>process.env.XDG_RUNTIME_DIR||void 0,e.state=()=>{let e=process.env.LOCALAPPDATA||r.join(i.home()||i.temp(),`AppData`,`Local`);return process.env.XDG_STATE_HOME||r.join(e,`xdg.state`)},e},c=()=>{let e=function(){return c()},t={};return t=/^darwin$/i.test(process.platform)?o():/^win/i.test(process.platform)?s():a(),t.configDirs=()=>{let e=[];return e.push(t.config()),process.env.XDG_CONFIG_DIRS&&e.push(...process.env.XDG_CONFIG_DIRS.split(r.delimiter)),e},t.dataDirs=()=>{let e=[];return e.push(t.data()),process.env.XDG_DATA_DIRS&&e.push(...process.env.XDG_DATA_DIRS.split(r.delimiter)),e},Object.keys(t).forEach(n=>{e[n]=t[n]}),e};n.exports=c()}}),g=l({"../../node_modules/.pnpm/xdg-app-paths@5.1.0/node_modules/xdg-app-paths/index.js"(t,n){var r=e(`path`),i=e(`os`),a=h(),o=/^win/i.test(process.platform);function s(e,t){if(e||={},typeof e!=`object`&&(e={isolated:e}),e.isolated=e.isolated===void 0||e.isolated===null?t:e.isolated,typeof e.isolated!=`boolean`)throw TypeError(`Expected boolean for "isolated" argument, got ${typeof e.isolated}`);return e}var c=(e,t)=>{let n={};return n.cache=(n={isolated:null})=>(n=s(n,t),r.join(a.cache(),n.isolated?e:``)),n.config=(n={isolated:null})=>(n=s(n,t),r.join(a.config(),n.isolated?e:``)),n.data=(n={isolated:null})=>(n=s(n,t),r.join(a.data(),n.isolated?e:``)),n.runtime=(n={isolated:null})=>(n=s(n,t),a.runtime()?r.join(a.runtime(),n.isolated?e:``):void 0),n.state=(n={isolated:null})=>(n=s(n,t),r.join(a.state(),n.isolated?e:``)),n.configDirs=(n={isolated:null})=>(n=s(n,t),a.configDirs().map(t=>r.join(t,n.isolated?e:``))),n.dataDirs=(n={isolated:null})=>(n=s(n,t),a.dataDirs().map(t=>r.join(t,n.isolated?e:``))),n},l=(e,t)=>{let{env:n}=process,o=i.homedir(),c=i.tmpdir(),l=n.APPDATA||r.join(o||c,`AppData`,`Roaming`),u=n.LOCALAPPDATA||r.join(o||c,`AppData`,`Local`),d={};return d.cache=(i={isolated:null})=>(i=s(i,t),!i.isolated||n.XDG_CACHE_HOME?r.join(a.cache(),i.isolated?e:``):r.join(u,i.isolated?e:``,`Cache`)),d.config=(i={isolated:null})=>(i=s(i,t),!i.isolated||n.XDG_CONFIG_HOME?r.join(a.config(),i.isolated?e:``):r.join(l,i.isolated?e:``,`Config`)),d.data=(i={isolated:null})=>(i=s(i,t),!i.isolated||n.XDG_DATA_HOME?r.join(a.data(),i.isolated?e:``):r.join(l,i.isolated?e:``,`Data`)),d.runtime=(n={isolated:null})=>(n=s(n,t),a.runtime()?r.join(a.runtime(),n.isolated?e:``):void 0),d.state=(i={isolated:null})=>(i=s(i,t),!i.isolated||n.XDG_STATE_HOME?r.join(a.state(),i.isolated?e:``):r.join(u,i.isolated?e:``,`State`)),d.configDirs=(i={isolated:null})=>{i=s(i,t);let a=[d.config(i)];return n.XDG_CONFIG_DIRS&&a.push(...n.XDG_CONFIG_DIRS.split(r.delimiter).map(t=>r.join(t,i.isolated?e:``))),a},d.dataDirs=(i={isolated:null})=>{i=s(i,t);let a=[d.data(i)];return n.XDG_DATA_DIRS&&a.push(...n.XDG_DATA_DIRS.split(r.delimiter).map(t=>r.join(t,i.isolated?e:``))),a},d};n.exports=new class t{constructor(n={name:null,suffix:null,isolated:!0}){let i=function(e={name:null,suffix:null,isolated:!0}){return new t(e)};this._fn=i,n||={},typeof n!=`object`&&(n={name:n});let a=n.name||``;if(typeof a!=`string`)throw TypeError(`Expected string for "name" argument, got ${typeof a}`);let s=n.suffix||``;if(typeof s!=`string`)throw TypeError(`Expected string for "suffix" argument, got ${typeof s}`);let u=n.isolated===void 0||n.isolated===null||n.isolated;if(typeof u!=`boolean`)throw TypeError(`Expected boolean for "isolated" argument, got ${typeof u}`);a||=r.parse(process.pkg?process.execPath:e.main?e.main.filename:process.argv[0]).name,s&&(a+=s),this._fn.$name=()=>a,this._fn.$isolated=()=>u;let d=o?l(a,u):c(a,u);return Object.keys(d).forEach(e=>{this._fn[e]=d[e]}),this._fn}}}}),_={};u(_,{CRED_STORAGE_CONFIG_VALUES:()=>v,CRED_STORAGE_VALUES:()=>y,DEFAULT_CRED_STORAGE:()=>b,authConfigHasUsableTokenData:()=>Ko,authConfigSchema:()=>io,credStorageSchema:()=>no,defaultAuthConfig:()=>So,defaultGlobalConfig:()=>bo,deleteAuthConfig:()=>Bo,deleteAuthConfigFile:()=>zo,getAuthConfigFilePath:()=>vo,getCachePath:()=>ho,getConfigFilePath:()=>_o,getDataPath:()=>mo,getDefaultAuthConfig:()=>xo,getGlobalPathConfig:()=>go,getLikelyEffectiveCredStorage:()=>Yo,globalConfigSchema:()=>ro,guidanceConfigSchema:()=>eo,parseAuthConfig:()=>To,parseAuthFileConfig:()=>Eo,parseGlobalConfig:()=>wo,readAuthConfig:()=>Fo,readAuthConfigFile:()=>No,readAuthFileConfig:()=>Po,readConfigFile:()=>ko,readGlobalConfigFile:()=>jo,telemetryConfigSchema:()=>$a,tryReadAuthConfig:()=>Io,updatesConfigSchema:()=>to,writeAuthConfig:()=>Ro,writeAuthConfigFile:()=>Lo,writeConfigFile:()=>Ao,writeGlobalConfigFile:()=>Mo}),n.exports=p(_);var v=[`auto`,`file`,`keyring`],y=v.filter(e=>e!==`auto`),b=`file`;Object.freeze({status:`aborted`});function x(e,t,n){function r(n,r){var i;Object.defineProperty(n,"_zod",{value:n._zod??{},enumerable:!1}),(i=n._zod).traits??(i.traits=new Set),n._zod.traits.add(e),t(n,r);for(let e in o.prototype)e in n||Object.defineProperty(n,e,{value:o.prototype[e].bind(n)});n._zod.constr=o,n._zod.def=r}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var S=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},C=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},w={};function T(e){return e&&Object.assign(w,e),w}var E={};u(E,{BIGINT_FORMAT_RANGES:()=>xe,Class:()=>Ve,NUMBER_FORMAT_RANGES:()=>be,aborted:()=>W,allowsEval:()=>de,assert:()=>te,assertEqual:()=>ee,assertIs:()=>O,assertNever:()=>k,assertNotEqual:()=>D,assignProp:()=>R,base64ToUint8Array:()=>Fe,base64urlToUint8Array:()=>Le,cached:()=>N,captureStackTrace:()=>le,cleanEnum:()=>Pe,cleanRegex:()=>F,clone:()=>H,cloneDef:()=>ie,createTransparentProxy:()=>_e,defineLazy:()=>L,esc:()=>ce,escapeRegex:()=>V,extend:()=>we,finalizeIssue:()=>G,floatSafeRemainder:()=>I,getElementAtPath:()=>ae,getEnumValues:()=>A,getLengthableOrigin:()=>Me,getParsedType:()=>me,getSizableOrigin:()=>je,hexToUint8Array:()=>ze,isObject:()=>ue,isPlainObject:()=>B,issue:()=>Ne,joinValues:()=>j,jsonStringifyReplacer:()=>M,merge:()=>Ee,mergeDefs:()=>z,normalizeParams:()=>U,nullish:()=>P,numKeys:()=>pe,objectClone:()=>re,omit:()=>Ce,optionalKeys:()=>ye,partial:()=>De,pick:()=>Se,prefixIssues:()=>ke,primitiveTypes:()=>ge,promiseAllObject:()=>oe,propertyKeyTypes:()=>he,randomString:()=>se,required:()=>Oe,safeExtend:()=>Te,shallowClone:()=>fe,stringifyPrimitive:()=>ve,uint8ArrayToBase64:()=>Ie,uint8ArrayToBase64url:()=>Re,uint8ArrayToHex:()=>Be,unwrapMessage:()=>Ae});function ee(e){return e}function D(e){return e}function O(e){}function k(e){throw Error()}function te(e){}function A(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function j(e,t=`|`){return e.map(e=>ve(e)).join(t)}function M(e,t){return typeof t==`bigint`?t.toString():t}function N(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function P(e){return e==null}function F(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function I(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=t.toString(),i=(r.split(`.`)[1]||``).length;if(i===0&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}var ne=Symbol(`evaluating`);function L(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==ne)return r===void 0&&(r=ne,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function re(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function R(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function z(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function ie(e){return z(e._zod.def)}function ae(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function oe(e){let t=Object.keys(e),n=t.map(t=>e[t]);return Promise.all(n).then(e=>{let n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n})}function se(e=10){let t=``;for(let n=0;n<e;n++)t+=`abcdefghijklmnopqrstuvwxyz`[Math.floor(Math.random()*26)];return t}function ce(e){return JSON.stringify(e)}var le=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function ue(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var de=N(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function B(e){if(ue(e)===!1)return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return ue(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function fe(e){return B(e)?{...e}:Array.isArray(e)?[...e]:e}function pe(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var me=e=>{let t=typeof e;switch(t){case`undefined`:return`undefined`;case`string`:return`string`;case`number`:return Number.isNaN(e)?`nan`:`number`;case`boolean`:return`boolean`;case`function`:return`function`;case`bigint`:return`bigint`;case`symbol`:return`symbol`;case`object`:return Array.isArray(e)?`array`:e===null?`null`:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?`promise`:typeof Map<`u`&&e instanceof Map?`map`:typeof Set<`u`&&e instanceof Set?`set`:typeof Date<`u`&&e instanceof Date?`date`:typeof File<`u`&&e instanceof File?`file`:`object`;default:throw Error(`Unknown data type: ${t}`)}},he=new Set([`string`,`number`,`symbol`]),ge=new Set([`string`,`number`,`bigint`,`boolean`,`symbol`,`undefined`]);function V(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function H(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function U(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function _e(e){let t;return new Proxy({},{get(n,r,i){return t??=e(),Reflect.get(t,r,i)},set(n,r,i,a){return t??=e(),Reflect.set(t,r,i,a)},has(n,r){return t??=e(),Reflect.has(t,r)},deleteProperty(n,r){return t??=e(),Reflect.deleteProperty(t,r)},ownKeys(n){return t??=e(),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,r){return t??=e(),Reflect.getOwnPropertyDescriptor(t,r)},defineProperty(n,r,i){return t??=e(),Reflect.defineProperty(t,r,i)}})}function ve(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function ye(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var be={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},xe={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function Se(e,t){let n=e._zod.def;return H(e,z(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return R(this,`shape`,e),e},checks:[]}))}function Ce(e,t){let n=e._zod.def;return H(e,z(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return R(this,`shape`,r),r},checks:[]}))}function we(e,t){if(!B(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0)throw Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");return H(e,z(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return R(this,`shape`,n),n},checks:[]}))}function Te(e,t){if(!B(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return H(e,{...e._zod.def,get shape(){let n={...e._zod.def.shape,...t};return R(this,`shape`,n),n},checks:e._zod.def.checks})}function Ee(e,t){return H(e,z(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return R(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function De(e,t,n){return H(t,z(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return R(this,`shape`,i),i},checks:[]}))}function Oe(e,t,n){return H(t,z(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return R(this,`shape`,i),i},checks:[]}))}function W(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ke(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Ae(e){return typeof e==`string`?e:e?.message}function G(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=Ae(e.inst?._zod.def?.error?.(e))??Ae(t?.error?.(e))??Ae(n.customError?.(e))??Ae(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function je(e){return e instanceof Set?`set`:e instanceof Map?`map`:e instanceof File?`file`:`unknown`}function Me(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Ne(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function Pe(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function Fe(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function Ie(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function Le(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return Fe(t+`=`.repeat((4-t.length%4)%4))}function Re(e){return Ie(e).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=/g,``)}function ze(e){let t=e.replace(/^0x/,``);if(t.length%2!=0)throw Error(`Invalid hex string length`);let n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)n[e/2]=Number.parseInt(t.slice(e,e+2),16);return n}function Be(e){return Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``)}var Ve=class{constructor(...e){}},He=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,M,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Ue=x(`$ZodError`,He),We=x(`$ZodError`,He,{Parent:Error});function Ge(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Ke(e,t){let n=t||function(e){return e.message},r={_errors:[]},i=e=>{for(let t of e.issues)if(t.code===`invalid_union`&&t.errors.length)t.errors.map(e=>i({issues:e}));else if(t.code===`invalid_key`)i({issues:t.issues});else if(t.code===`invalid_element`)i({issues:t.issues});else if(t.path.length===0)r._errors.push(n(t));else{let e=r,i=0;for(;i<t.path.length;){let r=t.path[i];i===t.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(n(t))):e[r]=e[r]||{_errors:[]},e=e[r],i++}}};return i(e),r}var qe=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new S;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>G(e,a,T())));throw le(t,i?.callee),t}return o.value},Je=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>G(e,a,T())));throw le(t,i?.callee),t}return o.value},Ye=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new S;return a.issues.length?{success:!1,error:new(e??Ue)(a.issues.map(e=>G(e,i,T())))}:{success:!0,data:a.value}},Xe=Ye(We),Ze=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>G(e,i,T())))}:{success:!0,data:a.value}},Qe=Ze(We),$e=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return qe(e)(t,n,i)},et=e=>(t,n,r)=>qe(e)(t,n,r),tt=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return Je(e)(t,n,i)},nt=e=>async(t,n,r)=>Je(e)(t,n,r),rt=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return Ye(e)(t,n,i)},it=e=>(t,n,r)=>Ye(e)(t,n,r),at=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return Ze(e)(t,n,i)},ot=e=>async(t,n,r)=>Ze(e)(t,n,r),st=/^[cC][^\s-]{8,}$/,ct=/^[0-9a-z]+$/,lt=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,ut=/^[0-9a-vA-V]{20}$/,dt=/^[A-Za-z0-9]{27}$/,ft=/^[a-zA-Z0-9_-]{21}$/,pt=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,mt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ht=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,gt=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,_t=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function vt(){return new RegExp(_t,`u`)}var yt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,bt=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,xt=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,St=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ct=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,wt=/^[A-Za-z0-9_-]*$/,Tt=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Et=/^\+(?:[0-9]){6,14}[0-9]$/,Dt=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,Ot=RegExp(`^${Dt}$`);function kt(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function At(e){return RegExp(`^${kt(e)}$`)}function jt(e){let t=kt({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${Dt}T(?:${r})$`)}var Mt=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Nt=/^-?\d+$/,Pt=/^-?\d+(?:\.\d+)?/,Ft=/^(?:true|false)$/i,It=/^[^A-Z]*$/,Lt=/^[^a-z]*$/,K=x(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Rt={number:`number`,bigint:`bigint`,object:`date`},zt=x(`$ZodCheckLessThan`,(e,t)=>{K.init(e,t);let n=Rt[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Bt=x(`$ZodCheckGreaterThan`,(e,t)=>{K.init(e,t);let n=Rt[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Vt=x(`$ZodCheckMultipleOf`,(e,t)=>{K.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):I(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Ht=x(`$ZodCheckNumberFormat`,(e,t)=>{K.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=be[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=Nt)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inst:e})}}),Ut=x(`$ZodCheckMaxLength`,(e,t)=>{var n;K.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!P(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=Me(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Wt=x(`$ZodCheckMinLength`,(e,t)=>{var n;K.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!P(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Me(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Gt=x(`$ZodCheckLengthEquals`,(e,t)=>{var n;K.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!P(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=Me(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Kt=x(`$ZodCheckStringFormat`,(e,t)=>{var n,r;K.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),qt=x(`$ZodCheckRegex`,(e,t)=>{Kt.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Jt=x(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=It,Kt.init(e,t)}),Yt=x(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Lt,Kt.init(e,t)}),Xt=x(`$ZodCheckIncludes`,(e,t)=>{K.init(e,t);let n=V(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Zt=x(`$ZodCheckStartsWith`,(e,t)=>{K.init(e,t);let n=RegExp(`^${V(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Qt=x(`$ZodCheckEndsWith`,(e,t)=>{K.init(e,t);let n=RegExp(`.*${V(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),$t=x(`$ZodCheckOverwrite`,(e,t)=>{K.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),en=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
5
- `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`
6
- `))}},tn={major:4,minor:1,patch:11},q=x(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=tn;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=W(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new S;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=W(e,t))});else{if(e.issues.length===t)continue;r||=W(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(W(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new S;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new S;return o.then(e=>t(e,r,a))}return t(o,r,a)}}e[`~standard`]={validate:t=>{try{let n=Xe(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Qe(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}}),nn=x(`$ZodString`,(e,t)=>{q.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Mt(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),J=x(`$ZodStringFormat`,(e,t)=>{Kt.init(e,t),nn.init(e,t)}),rn=x(`$ZodGUID`,(e,t)=>{t.pattern??=mt,J.init(e,t)}),an=x(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=ht(e)}else t.pattern??=ht();J.init(e,t)}),on=x(`$ZodEmail`,(e,t)=>{t.pattern??=gt,J.init(e,t)}),sn=x(`$ZodURL`,(e,t)=>{J.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:Tt.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),n.value=t.normalize?i.href:r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),cn=x(`$ZodEmoji`,(e,t)=>{t.pattern??=vt(),J.init(e,t)}),ln=x(`$ZodNanoID`,(e,t)=>{t.pattern??=ft,J.init(e,t)}),un=x(`$ZodCUID`,(e,t)=>{t.pattern??=st,J.init(e,t)}),dn=x(`$ZodCUID2`,(e,t)=>{t.pattern??=ct,J.init(e,t)}),fn=x(`$ZodULID`,(e,t)=>{t.pattern??=lt,J.init(e,t)}),pn=x(`$ZodXID`,(e,t)=>{t.pattern??=ut,J.init(e,t)}),mn=x(`$ZodKSUID`,(e,t)=>{t.pattern??=dt,J.init(e,t)}),hn=x(`$ZodISODateTime`,(e,t)=>{t.pattern??=jt(t),J.init(e,t)}),gn=x(`$ZodISODate`,(e,t)=>{t.pattern??=Ot,J.init(e,t)}),_n=x(`$ZodISOTime`,(e,t)=>{t.pattern??=At(t),J.init(e,t)}),vn=x(`$ZodISODuration`,(e,t)=>{t.pattern??=pt,J.init(e,t)}),yn=x(`$ZodIPv4`,(e,t)=>{t.pattern??=yt,J.init(e,t),e._zod.onattach.push(e=>{let t=e._zod.bag;t.format=`ipv4`})}),bn=x(`$ZodIPv6`,(e,t)=>{t.pattern??=bt,J.init(e,t),e._zod.onattach.push(e=>{let t=e._zod.bag;t.format=`ipv6`}),e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),xn=x(`$ZodCIDRv4`,(e,t)=>{t.pattern??=xt,J.init(e,t)}),Sn=x(`$ZodCIDRv6`,(e,t)=>{t.pattern??=St,J.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function Cn(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var wn=x(`$ZodBase64`,(e,t)=>{t.pattern??=Ct,J.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding=`base64`}),e._zod.check=n=>{Cn(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function Tn(e){if(!wt.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Cn(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var En=x(`$ZodBase64URL`,(e,t)=>{t.pattern??=wt,J.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding=`base64url`}),e._zod.check=n=>{Tn(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),Dn=x(`$ZodE164`,(e,t)=>{t.pattern??=Et,J.init(e,t)});function On(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var kn=x(`$ZodJWT`,(e,t)=>{J.init(e,t),e._zod.check=n=>{On(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),An=x(`$ZodNumber`,(e,t)=>{q.init(e,t),e._zod.pattern=e._zod.bag.pattern??Pt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),jn=x(`$ZodNumber`,(e,t)=>{Ht.init(e,t),An.init(e,t)}),Mn=x(`$ZodBoolean`,(e,t)=>{q.init(e,t),e._zod.pattern=Ft,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),Nn=x(`$ZodUnknown`,(e,t)=>{q.init(e,t),e._zod.parse=e=>e}),Pn=x(`$ZodNever`,(e,t)=>{q.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function Fn(e,t,n){e.issues.length&&t.issues.push(...ke(n,e.issues)),t.value[n]=e.value}var In=x(`$ZodArray`,(e,t)=>{q.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Fn(t,n,e))):Fn(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function Ln(e,t,n,r){e.issues.length&&t.issues.push(...ke(n,e.issues)),e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function Rn(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=ye(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function zn(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type;for(let i of Object.keys(t)){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>Ln(e,n,i,t))):Ln(a,n,i,t)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var Bn=x(`$ZodObject`,(e,t)=>{if(q.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let n=N(()=>Rn(t));L(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=ue,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e]._zod.run({value:s[e],issues:[]},o);n instanceof Promise?c.push(n.then(n=>Ln(n,t,e,s))):Ln(n,t,e,s)}return i?zn(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Vn=x(`$ZodObjectJIT`,(e,t)=>{Bn.init(e,t);let n=e._zod.parse,r=N(()=>Rn(t)),i=e=>{let t=new en([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=ce(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let e of n.keys){let n=a[e],r=ce(e);t.write(`const ${n} = ${i(e)};`),t.write(`
7
- if (${n}.issues.length) {
8
- payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
9
- ...iss,
10
- path: iss.path ? [${r}, ...iss.path] : [${r}]
11
- })));
12
- }
13
-
14
-
15
- if (${n}.value === undefined) {
16
- if (${r} in input) {
17
- newResult[${r}] = undefined;
18
- }
19
- } else {
20
- newResult[${r}] = ${n}.value;
21
- }
22
-
23
- `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=ue,s=!w.jitless,c=s&&de.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?zn([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function Hn(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!W(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>G(e,r,T())))}),t)}var Un=x(`$ZodUnion`,(e,t)=>{q.init(e,t),L(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),L(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),L(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),L(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>F(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>Hn(t,i,e,a)):Hn(s,i,e,a)}}),Wn=x(`$ZodIntersection`,(e,t)=>{q.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Kn(e,t,n)):Kn(e,i,a)}});function Gn(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(B(e)&&B(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Gn(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Gn(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Kn(e,t,n){if(t.issues.length&&e.issues.push(...t.issues),n.issues.length&&e.issues.push(...n.issues),W(e))return e;let r=Gn(t.value,n.value);if(!r.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return e.value=r.data,e}var qn=x(`$ZodEnum`,(e,t)=>{q.init(e,t);let n=A(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>he.has(typeof e)).map(e=>typeof e==`string`?V(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Jn=x(`$ZodLiteral`,(e,t)=>{if(q.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);e._zod.values=new Set(t.values),e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?V(e):e?V(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(n,r)=>{let i=n.value;return e._zod.values.has(i)||n.issues.push({code:`invalid_value`,values:t.values,input:i,inst:e}),n}}),Yn=x(`$ZodTransform`,(e,t)=>{q.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new C(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new S;return n.value=i,n}});function Xn(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var Zn=x(`$ZodOptional`,(e,t)=>{q.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,L(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),L(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${F(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>Xn(t,e.value)):Xn(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Qn=x(`$ZodNullable`,(e,t)=>{q.init(e,t),L(e._zod,`optin`,()=>t.innerType._zod.optin),L(e._zod,`optout`,()=>t.innerType._zod.optout),L(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${F(e.source)}|null)$`):void 0}),L(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),$n=x(`$ZodDefault`,(e,t)=>{q.init(e,t),e._zod.optin=`optional`,L(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>er(e,t)):er(r,t)}});function er(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var tr=x(`$ZodPrefault`,(e,t)=>{q.init(e,t),e._zod.optin=`optional`,L(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),nr=x(`$ZodNonOptional`,(e,t)=>{q.init(e,t),L(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>rr(t,e)):rr(i,e)}});function rr(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var ir=x(`$ZodCatch`,(e,t)=>{q.init(e,t),L(e._zod,`optin`,()=>t.innerType._zod.optin),L(e._zod,`optout`,()=>t.innerType._zod.optout),L(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>G(e,n,T()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>G(e,n,T()))},input:e.value}),e.issues=[]),e)}}),ar=x(`$ZodPipe`,(e,t)=>{q.init(e,t),L(e._zod,`values`,()=>t.in._zod.values),L(e._zod,`optin`,()=>t.in._zod.optin),L(e._zod,`optout`,()=>t.out._zod.optout),L(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>or(e,t.in,n)):or(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>or(e,t.out,n)):or(r,t.out,n)}});function or(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var sr=x(`$ZodReadonly`,(e,t)=>{q.init(e,t),L(e._zod,`propValues`,()=>t.innerType._zod.propValues),L(e._zod,`values`,()=>t.innerType._zod.values),L(e._zod,`optin`,()=>t.innerType._zod.optin),L(e._zod,`optout`,()=>t.innerType._zod.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(cr):cr(r)}});function cr(e){return e.value=Object.freeze(e.value),e}var lr=x(`$ZodCustom`,(e,t)=>{K.init(e,t),q.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>ur(t,n,r,e));ur(i,n,r,e)}});function ur(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Ne(e))}}var dr=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];if(this._map.set(e,n),n&&typeof n==`object`&&`id`in n){if(this._idmap.has(n.id))throw Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function fr(){return new dr}var pr=fr();function mr(e,t){return new e({type:`string`,...U(t)})}function hr(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...U(t)})}function gr(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...U(t)})}function _r(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...U(t)})}function vr(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...U(t)})}function yr(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...U(t)})}function br(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...U(t)})}function xr(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...U(t)})}function Sr(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...U(t)})}function Cr(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...U(t)})}function wr(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...U(t)})}function Tr(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...U(t)})}function Er(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...U(t)})}function Dr(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...U(t)})}function Or(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...U(t)})}function kr(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...U(t)})}function Ar(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...U(t)})}function jr(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...U(t)})}function Mr(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...U(t)})}function Nr(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...U(t)})}function Pr(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...U(t)})}function Fr(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...U(t)})}function Ir(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...U(t)})}function Lr(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...U(t)})}function Rr(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...U(t)})}function zr(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...U(t)})}function Br(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...U(t)})}function Vr(e,t){return new e({type:`number`,checks:[],...U(t)})}function Hr(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...U(t)})}function Ur(e,t){return new e({type:`boolean`,...U(t)})}function Wr(e){return new e({type:`unknown`})}function Gr(e,t){return new e({type:`never`,...U(t)})}function Kr(e,t){return new zt({check:`less_than`,...U(t),value:e,inclusive:!1})}function qr(e,t){return new zt({check:`less_than`,...U(t),value:e,inclusive:!0})}function Jr(e,t){return new Bt({check:`greater_than`,...U(t),value:e,inclusive:!1})}function Yr(e,t){return new Bt({check:`greater_than`,...U(t),value:e,inclusive:!0})}function Xr(e,t){return new Vt({check:`multiple_of`,...U(t),value:e})}function Zr(e,t){return new Ut({check:`max_length`,...U(t),maximum:e})}function Qr(e,t){return new Wt({check:`min_length`,...U(t),minimum:e})}function $r(e,t){return new Gt({check:`length_equals`,...U(t),length:e})}function ei(e,t){return new qt({check:`string_format`,format:`regex`,...U(t),pattern:e})}function ti(e){return new Jt({check:`string_format`,format:`lowercase`,...U(e)})}function ni(e){return new Yt({check:`string_format`,format:`uppercase`,...U(e)})}function ri(e,t){return new Xt({check:`string_format`,format:`includes`,...U(t),includes:e})}function ii(e,t){return new Zt({check:`string_format`,format:`starts_with`,...U(t),prefix:e})}function ai(e,t){return new Qt({check:`string_format`,format:`ends_with`,...U(t),suffix:e})}function oi(e){return new $t({check:`overwrite`,tx:e})}function si(e){return oi(t=>t.normalize(e))}function ci(){return oi(e=>e.trim())}function li(){return oi(e=>e.toLowerCase())}function ui(){return oi(e=>e.toUpperCase())}function di(e,t,n){return new e({type:`array`,element:t,...U(n)})}function fi(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...U(n)})}function pi(e){let t=mi(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(Ne(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(Ne(r))}},e(n.value,n)));return t}function mi(e,t){let n=new K({check:`custom`,...U(t)});return n._zod.check=e,n}var hi=x(`ZodISODateTime`,(e,t)=>{hn.init(e,t),Q.init(e,t)});function gi(e){return Lr(hi,e)}var _i=x(`ZodISODate`,(e,t)=>{gn.init(e,t),Q.init(e,t)});function vi(e){return Rr(_i,e)}var yi=x(`ZodISOTime`,(e,t)=>{_n.init(e,t),Q.init(e,t)});function bi(e){return zr(yi,e)}var xi=x(`ZodISODuration`,(e,t)=>{vn.init(e,t),Q.init(e,t)});function Si(e){return Br(xi,e)}var Ci=(e,t)=>{Ue.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>Ke(e,t)},flatten:{value:t=>Ge(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,M,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,M,2)}},isEmpty:{get(){return e.issues.length===0}}})},wi=x(`ZodError`,Ci),Y=x(`ZodError`,Ci,{Parent:Error}),Ti=qe(Y),Ei=Je(Y),Di=Ye(Y),Oi=Ze(Y),ki=$e(Y),Ai=et(Y),ji=tt(Y),Mi=nt(Y),Ni=rt(Y),Pi=it(Y),Fi=at(Y),Ii=ot(Y),X=x(`ZodType`,(e,t)=>(q.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(E.mergeDefs(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]})),e.clone=(t,n)=>H(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>Ti(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>Di(e,t,n),e.parseAsync=async(t,n)=>Ei(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Oi(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>ki(e,t,n),e.decode=(t,n)=>Ai(e,t,n),e.encodeAsync=async(t,n)=>ji(e,t,n),e.decodeAsync=async(t,n)=>Mi(e,t,n),e.safeEncode=(t,n)=>Ni(e,t,n),e.safeDecode=(t,n)=>Pi(e,t,n),e.safeEncodeAsync=async(t,n)=>Fi(e,t,n),e.safeDecodeAsync=async(t,n)=>Ii(e,t,n),e.refine=(t,n)=>e.check(Wa(t,n)),e.superRefine=t=>e.check(Ga(t)),e.overwrite=t=>e.check(oi(t)),e.optional=()=>Oa(e),e.nullable=()=>Aa(e),e.nullish=()=>Oa(Aa(e)),e.nonoptional=t=>Ia(e,t),e.array=()=>ma(e),e.or=t=>va([e,t]),e.and=t=>ba(e,t),e.transform=t=>Ba(e,Ea(t)),e.default=t=>Ma(e,t),e.prefault=t=>Pa(e,t),e.catch=t=>Ra(e,t),e.pipe=t=>Ba(e,t),e.readonly=()=>Ha(e),e.describe=t=>{let n=e.clone();return pr.add(n,{description:t}),n},Object.defineProperty(e,"description",{get(){return pr.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return pr.get(e);let n=e.clone();return pr.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Li=x(`_ZodString`,(e,t)=>{nn.init(e,t),X.init(e,t);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(ei(...t)),e.includes=(...t)=>e.check(ri(...t)),e.startsWith=(...t)=>e.check(ii(...t)),e.endsWith=(...t)=>e.check(ai(...t)),e.min=(...t)=>e.check(Qr(...t)),e.max=(...t)=>e.check(Zr(...t)),e.length=(...t)=>e.check($r(...t)),e.nonempty=(...t)=>e.check(Qr(1,...t)),e.lowercase=t=>e.check(ti(t)),e.uppercase=t=>e.check(ni(t)),e.trim=()=>e.check(ci()),e.normalize=(...t)=>e.check(si(...t)),e.toLowerCase=()=>e.check(li()),e.toUpperCase=()=>e.check(ui())}),Ri=x(`ZodString`,(e,t)=>{nn.init(e,t),Li.init(e,t),e.email=t=>e.check(hr(zi,t)),e.url=t=>e.check(xr(Hi,t)),e.jwt=t=>e.check(Ir(ra,t)),e.emoji=t=>e.check(Sr(Ui,t)),e.guid=t=>e.check(gr(Bi,t)),e.uuid=t=>e.check(_r(Vi,t)),e.uuidv4=t=>e.check(vr(Vi,t)),e.uuidv6=t=>e.check(yr(Vi,t)),e.uuidv7=t=>e.check(br(Vi,t)),e.nanoid=t=>e.check(Cr(Wi,t)),e.guid=t=>e.check(gr(Bi,t)),e.cuid=t=>e.check(wr(Gi,t)),e.cuid2=t=>e.check(Tr(Ki,t)),e.ulid=t=>e.check(Er(qi,t)),e.base64=t=>e.check(Nr(ea,t)),e.base64url=t=>e.check(Pr(ta,t)),e.xid=t=>e.check(Dr(Ji,t)),e.ksuid=t=>e.check(Or(Yi,t)),e.ipv4=t=>e.check(kr(Xi,t)),e.ipv6=t=>e.check(Ar(Zi,t)),e.cidrv4=t=>e.check(jr(Qi,t)),e.cidrv6=t=>e.check(Mr($i,t)),e.e164=t=>e.check(Fr(na,t)),e.datetime=t=>e.check(gi(t)),e.date=t=>e.check(vi(t)),e.time=t=>e.check(bi(t)),e.duration=t=>e.check(Si(t))});function Z(e){return mr(Ri,e)}var Q=x(`ZodStringFormat`,(e,t)=>{J.init(e,t),Li.init(e,t)}),zi=x(`ZodEmail`,(e,t)=>{on.init(e,t),Q.init(e,t)}),Bi=x(`ZodGUID`,(e,t)=>{rn.init(e,t),Q.init(e,t)}),Vi=x(`ZodUUID`,(e,t)=>{an.init(e,t),Q.init(e,t)}),Hi=x(`ZodURL`,(e,t)=>{sn.init(e,t),Q.init(e,t)}),Ui=x(`ZodEmoji`,(e,t)=>{cn.init(e,t),Q.init(e,t)}),Wi=x(`ZodNanoID`,(e,t)=>{ln.init(e,t),Q.init(e,t)}),Gi=x(`ZodCUID`,(e,t)=>{un.init(e,t),Q.init(e,t)}),Ki=x(`ZodCUID2`,(e,t)=>{dn.init(e,t),Q.init(e,t)}),qi=x(`ZodULID`,(e,t)=>{fn.init(e,t),Q.init(e,t)}),Ji=x(`ZodXID`,(e,t)=>{pn.init(e,t),Q.init(e,t)}),Yi=x(`ZodKSUID`,(e,t)=>{mn.init(e,t),Q.init(e,t)}),Xi=x(`ZodIPv4`,(e,t)=>{yn.init(e,t),Q.init(e,t)}),Zi=x(`ZodIPv6`,(e,t)=>{bn.init(e,t),Q.init(e,t)}),Qi=x(`ZodCIDRv4`,(e,t)=>{xn.init(e,t),Q.init(e,t)}),$i=x(`ZodCIDRv6`,(e,t)=>{Sn.init(e,t),Q.init(e,t)}),ea=x(`ZodBase64`,(e,t)=>{wn.init(e,t),Q.init(e,t)}),ta=x(`ZodBase64URL`,(e,t)=>{En.init(e,t),Q.init(e,t)}),na=x(`ZodE164`,(e,t)=>{Dn.init(e,t),Q.init(e,t)}),ra=x(`ZodJWT`,(e,t)=>{kn.init(e,t),Q.init(e,t)}),ia=x(`ZodNumber`,(e,t)=>{An.init(e,t),X.init(e,t),e.gt=(t,n)=>e.check(Jr(t,n)),e.gte=(t,n)=>e.check(Yr(t,n)),e.min=(t,n)=>e.check(Yr(t,n)),e.lt=(t,n)=>e.check(Kr(t,n)),e.lte=(t,n)=>e.check(qr(t,n)),e.max=(t,n)=>e.check(qr(t,n)),e.int=t=>e.check(sa(t)),e.safe=t=>e.check(sa(t)),e.positive=t=>e.check(Jr(0,t)),e.nonnegative=t=>e.check(Yr(0,t)),e.negative=t=>e.check(Kr(0,t)),e.nonpositive=t=>e.check(qr(0,t)),e.multipleOf=(t,n)=>e.check(Xr(t,n)),e.step=(t,n)=>e.check(Xr(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function aa(e){return Vr(ia,e)}var oa=x(`ZodNumberFormat`,(e,t)=>{jn.init(e,t),ia.init(e,t)});function sa(e){return Hr(oa,e)}var ca=x(`ZodBoolean`,(e,t)=>{Mn.init(e,t),X.init(e,t)});function $(e){return Ur(ca,e)}var la=x(`ZodUnknown`,(e,t)=>{Nn.init(e,t),X.init(e,t)});function ua(){return Wr(la)}var da=x(`ZodNever`,(e,t)=>{Pn.init(e,t),X.init(e,t)});function fa(e){return Gr(da,e)}var pa=x(`ZodArray`,(e,t)=>{In.init(e,t),X.init(e,t),e.element=t.element,e.min=(t,n)=>e.check(Qr(t,n)),e.nonempty=t=>e.check(Qr(1,t)),e.max=(t,n)=>e.check(Zr(t,n)),e.length=(t,n)=>e.check($r(t,n)),e.unwrap=()=>e.element});function ma(e,t){return di(pa,e,t)}var ha=x(`ZodObject`,(e,t)=>{Vn.init(e,t),X.init(e,t),E.defineLazy(e,`shape`,()=>t.shape),e.keyof=()=>Sa(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:ua()}),e.loose=()=>e.clone({...e._zod.def,catchall:ua()}),e.strict=()=>e.clone({...e._zod.def,catchall:fa()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>E.extend(e,t),e.safeExtend=t=>E.safeExtend(e,t),e.merge=t=>E.merge(e,t),e.pick=t=>E.pick(e,t),e.omit=t=>E.omit(e,t),e.partial=(...t)=>E.partial(Da,e,t[0]),e.required=(...t)=>E.required(Fa,e,t[0])});function ga(e,t){return new ha({type:`object`,shape:e??{},...E.normalizeParams(t)})}var _a=x(`ZodUnion`,(e,t)=>{Un.init(e,t),X.init(e,t),e.options=t.options});function va(e,t){return new _a({type:`union`,options:e,...E.normalizeParams(t)})}var ya=x(`ZodIntersection`,(e,t)=>{Wn.init(e,t),X.init(e,t)});function ba(e,t){return new ya({type:`intersection`,left:e,right:t})}var xa=x(`ZodEnum`,(e,t)=>{qn.init(e,t),X.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new xa({...t,checks:[],...E.normalizeParams(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new xa({...t,checks:[],...E.normalizeParams(r),entries:i})}});function Sa(e,t){return new xa({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...E.normalizeParams(t)})}var Ca=x(`ZodLiteral`,(e,t)=>{Jn.init(e,t),X.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function wa(e,t){return new Ca({type:`literal`,values:Array.isArray(e)?e:[e],...E.normalizeParams(t)})}var Ta=x(`ZodTransform`,(e,t)=>{Yn.init(e,t),X.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new C(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(E.issue(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(E.issue(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function Ea(e){return new Ta({type:`transform`,transform:e})}var Da=x(`ZodOptional`,(e,t)=>{Zn.init(e,t),X.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Oa(e){return new Da({type:`optional`,innerType:e})}var ka=x(`ZodNullable`,(e,t)=>{Qn.init(e,t),X.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Aa(e){return new ka({type:`nullable`,innerType:e})}var ja=x(`ZodDefault`,(e,t)=>{$n.init(e,t),X.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Ma(e,t){return new ja({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():E.shallowClone(t)}})}var Na=x(`ZodPrefault`,(e,t)=>{tr.init(e,t),X.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Pa(e,t){return new Na({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():E.shallowClone(t)}})}var Fa=x(`ZodNonOptional`,(e,t)=>{nr.init(e,t),X.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Ia(e,t){return new Fa({type:`nonoptional`,innerType:e,...E.normalizeParams(t)})}var La=x(`ZodCatch`,(e,t)=>{ir.init(e,t),X.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ra(e,t){return new La({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var za=x(`ZodPipe`,(e,t)=>{ar.init(e,t),X.init(e,t),e.in=t.in,e.out=t.out});function Ba(e,t){return new za({type:`pipe`,in:e,out:t})}var Va=x(`ZodReadonly`,(e,t)=>{sr.init(e,t),X.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Ha(e){return new Va({type:`readonly`,innerType:e})}var Ua=x(`ZodCustom`,(e,t)=>{lr.init(e,t),X.init(e,t)});function Wa(e,t={}){return fi(Ua,e,t)}function Ga(e){return pi(e)}var Ka=ga({enabled:$().optional()}),qa=ga({enabled:$().optional()}),Ja=ga({auto:$().optional(),bypassMinReleaseAge:$().optional()}),Ya=va([wa(`auto`),wa(`file`),wa(`keyring`)]),Xa=ga({"// Note":Z().optional(),"// Docs":Z().optional(),skipWrite:$().optional(),token:Z().optional(),userId:Z().optional(),refreshToken:Z().optional(),expiresAt:aa().optional(),tokenSource:va([wa(`flag`),wa(`env`)]).optional()});Xa.omit({tokenSource:!0});var Za=ga({"// Note":Z().optional(),"// Docs":Z().optional(),credStorage:Ya.optional(),currentTeam:Z().optional(),api:Z().optional(),telemetry:Ka.optional(),guidance:qa.optional(),updates:Ja.optional(),useNativeBinary:$().optional(),nativeBinaryAutoOptIn:$().optional()});function Qa(e){return`Invalid value for \`credStorage\`: ${JSON.stringify(e)}. Expected one of: ${v.map(e=>JSON.stringify(e)).join(`, `)}.`}var $a=Ka.passthrough(),eo=qa.passthrough(),to=Ja.passthrough(),no=Sa(v,{error:e=>Qa(e.input)}).optional(),ro=Za.extend({credStorage:no,telemetry:$a.optional(),guidance:eo.optional(),updates:to.optional()}).passthrough(),io=Xa.passthrough(),ao=f(e(`fs`)),oo=f(e(`path`)),so=f(e(`fs`)),co=f(e(`path`)),lo=e(`os`);function uo(e){try{return so.default.lstatSync(e).isDirectory()}catch{return!1}}function fo(e){return g()(e)}function po(e){return fo(e).dataDirs()}function mo(){return po(`com.vercel.cli`)[0]}function ho(){return fo(`com.vercel.cli`).cache()}function go(){let e=po(`com.vercel.cli`);return[...e,co.default.join((0,lo.homedir)(),`.now`),...po(`now`)].find(e=>uo(e))||e[0]}function _o(e){return co.default.join(e,`config.json`)}function vo(e){return co.default.join(e,`auth.json`)}var yo=`https://vercel.com/docs/projects/project-configuration/global-configuration`,bo={"// Note":`This is your Vercel config file. For more information see the global configuration documentation.`,"// Docs":`${yo}#config.json`};function xo(){return{"// Note":`This is your Vercel credentials file. DO NOT SHARE!`,"// Docs":`${yo}#auth.json`}}var So=xo();function Co(e){if(e instanceof wi){let t=e.issues.find(e=>e.path[0]===`credStorage`);if(t)throw Error(t.message)}throw e}function wo(e){try{return ro.parse(e)}catch(e){Co(e)}}function To(e){return io.parse(e)}function Eo(e){let{tokenSource:t,...n}=To(e);return n}function Do(e){let t=ao.default.readFileSync(e,`utf8`).replace(/^\uFEFF/,``);return JSON.parse(t)}function Oo(e,t,n={}){let r=oo.default.dirname(e),i=oo.default.join(r,`.${oo.default.basename(e)}.${process.pid}.${Date.now()}.tmp`),a=`${JSON.stringify(t,null,n.indent??2)}
24
- `;ao.default.mkdirSync(r,{recursive:!0});try{ao.default.writeFileSync(i,a,{encoding:`utf8`,mode:n.mode}),ao.default.renameSync(i,e)}catch(e){try{ao.default.rmSync(i,{force:!0})}catch{}throw e}}function ko(e,t){return t.parse(Do(e))}function Ao(e,t,n,r){Oo(e,ki(t,n),{indent:2,...r})}function jo(e){try{return ko(e,ro)}catch(e){Co(e)}}function Mo(e,t){Ao(e,ro,t)}function No(e){return ko(e,io)}function Po(e){return Eo(Do(e))}function Fo(e){return No(vo(e))}function Io(e){try{return Fo(e)}catch{return null}}function Lo(e,t){t.skipWrite||Ao(e,io,t,{mode:384})}function Ro(e,t){Lo(vo(e),t)}function zo(e){ao.default.rmSync(e,{force:!0})}function Bo(e){zo(vo(e))}var Vo=`VERCEL_TOKEN_STORAGE`;function Ho(e){return typeof e==`object`&&!!e&&`code`in e}function Uo(e){return v.includes(e)}function Wo(e,t){return`Invalid value for \`${t}\`: ${JSON.stringify(e)}. Expected one of: ${v.map(e=>JSON.stringify(e)).join(`, `)}.`}function Go(e,t=`credStorage`){if(typeof e<`u`){if(Uo(e))return e;throw Error(Wo(e,t))}}function Ko(e){if(!e||typeof e!=`object`)return!1;let t=e;return typeof t.token==`string`&&t.token.length>0||typeof t.refreshToken==`string`&&t.refreshToken.length>0}function qo(e){try{return Ko(No(vo(e)))?`file`:`keyring`}catch{return`keyring`}}function Jo(e,t){return t===`keyring`?`keyring`:t===`auto`?qo(e):b}function Yo(e){let t={},n=process.env[Vo];if(typeof n<`u`)return Jo(e,Go(n,Vo));try{let n=jo(_o(e));t={...n,credStorage:Go(n.credStorage)}}catch(e){if(!(Ho(e)&&e.code===`ENOENT`))throw e}return Jo(e,t.credStorage)}0&&(n.exports={CRED_STORAGE_CONFIG_VALUES:v,CRED_STORAGE_VALUES:y,DEFAULT_CRED_STORAGE:b,authConfigHasUsableTokenData:Ko,authConfigSchema:Xa,credStorageSchema:Ya,defaultAuthConfig:So,defaultGlobalConfig:bo,deleteAuthConfig:Bo,deleteAuthConfigFile:zo,getAuthConfigFilePath:vo,getCachePath:ho,getConfigFilePath:_o,getDataPath:mo,getDefaultAuthConfig:xo,getGlobalPathConfig:go,getLikelyEffectiveCredStorage:Yo,globalConfigSchema:Za,guidanceConfigSchema:qa,parseAuthConfig:To,parseAuthFileConfig:Eo,parseGlobalConfig:wo,readAuthConfig:Fo,readAuthConfigFile:No,readAuthFileConfig:Po,readConfigFile:ko,readGlobalConfigFile:jo,telemetryConfigSchema:Ka,tryReadAuthConfig:Io,updatesConfigSchema:Ja,writeAuthConfig:Ro,writeAuthConfigFile:Lo,writeConfigFile:Ao,writeGlobalConfigFile:Mo})})),se=t(((t,n)=>{var i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},d=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of s(t))!l.call(e,i)&&i!==n&&a(e,i,{get:()=>t[i],enumerable:!(r=o(t,i))||r.enumerable});return e},f=(e,t,n)=>(n=e==null?{}:i(c(e)),d(t||!e||!e.__esModule?a(n,`default`,{value:e,enumerable:!0}):n,e)),p=e=>d(a({},`__esModule`,{value:!0}),e),m={};u(m,{findRootDir:()=>y,getUserDataDir:()=>b}),n.exports=p(m);var h=f(e(`path`)),g=f(e(`fs`)),_=f(e(`os`)),v=r();function y(){try{let e=process.cwd();for(;e!==h.default.dirname(e);){let t=h.default.join(e,`.vercel`);if(g.default.existsSync(t))return e;e=h.default.dirname(e)}}catch{throw new v.VercelOidcTokenError(`Token refresh only supported in node server environments`)}return null}function b(){if(process.env.XDG_DATA_HOME)return process.env.XDG_DATA_HOME;switch(_.default.platform()){case`darwin`:return h.default.join(_.default.homedir(),`Library/Application Support`);case`linux`:return h.default.join(_.default.homedir(),`.local/share`);case`win32`:return process.env.LOCALAPPDATA?process.env.LOCALAPPDATA:null;default:return null}}0&&(n.exports={findRootDir:y,getUserDataDir:b})})),ce=t(((t,n)=>{var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},c=(e,t,n,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of a(t))!o.call(e,c)&&c!==n&&r(e,c,{get:()=>t[c],enumerable:!(s=i(t,c))||s.enumerable});return e},l=e=>c(r({},`__esModule`,{value:!0}),e),u={};s(u,{processTokenResponse:()=>g,refreshTokenRequest:()=>h}),n.exports=l(u);var d=e(`os`);let f=`@vercel/oidc node-${process.version} ${(0,d.platform)()} (${(0,d.arch)()}) ${(0,d.hostname)()}`,p=null;async function m(){if(p)return p;let e=await fetch(`https://vercel.com/.well-known/openid-configuration`,{headers:{"user-agent":f}});if(!e.ok)throw Error(`Failed to discover OAuth endpoints`);let t=await e.json();if(!t||typeof t.token_endpoint!=`string`)throw Error(`Invalid OAuth discovery response`);let n=t.token_endpoint;return p=n,n}async function h(e){let t=await m();return await fetch(t,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`,"user-agent":f},body:new URLSearchParams({client_id:`cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp`,grant_type:`refresh_token`,...e})})}async function g(e){let t=await e.json();if(!e.ok){let e=typeof t==`object`&&t&&`error`in t?String(t.error):`Token refresh failed`;return[Error(e)]}return typeof t!=`object`||!t?[Error(`Invalid token response`)]:typeof t.access_token==`string`?t.token_type===`Bearer`?typeof t.expires_in==`number`?[null,t]:[Error(`Missing expires_in in response`)]:[Error(`Invalid token_type in response`)]:[Error(`Missing access_token in response`)]}0&&(n.exports={processTokenResponse:g,refreshTokenRequest:h})})),le=t(((t,n)=>{var a=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,l=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,d=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},f=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of c(t))!u.call(e,i)&&i!==n&&o(e,i,{get:()=>t[i],enumerable:!(r=s(t,i))||r.enumerable});return e},p=(e,t,n)=>(n=e==null?{}:a(l(e)),f(t||!e||!e.__esModule?o(n,`default`,{value:e,enumerable:!0}):n,e)),m=e=>f(o({},`__esModule`,{value:!0}),e),h={};d(h,{assertVercelOidcTokenResponse:()=>D,findProjectInfo:()=>O,getTokenPayload:()=>A,getVercelOidcToken:()=>ee,getVercelOidcTokenFromCli:()=>E,getVercelToken:()=>w,isExpired:()=>j,loadToken:()=>te,saveToken:()=>k}),n.exports=m(h);var g=p(e(`path`)),_=p(e(`fs`)),v=ae(),y=oe(),b=r(),x=se(),S=ce(),C=i();async function w(e){let t=(0,y.getGlobalPathConfig)(),n=(0,y.tryReadAuthConfig)(t);if(!n||!n.token&&!n.refreshToken)throw new C.AccessTokenMissingError;if(T(n,e?.expirationBufferMs))return n.token;if(!n.refreshToken)throw(0,y.writeAuthConfig)(t,{}),new C.RefreshAccessTokenFailedError(`No refresh token available`);try{let e=await(0,S.refreshTokenRequest)({refresh_token:n.refreshToken}),[r,i]=await(0,S.processTokenResponse)(e);if(r||!i)throw(0,y.writeAuthConfig)(t,{}),new C.RefreshAccessTokenFailedError(r);let a={token:i.access_token,expiresAt:Math.floor(Date.now()/1e3)+i.expires_in,refreshToken:i.refresh_token};return(0,y.writeAuthConfig)(t,a),a.token}catch(e){throw(0,y.writeAuthConfig)(t,{}),e instanceof C.AccessTokenMissingError||e instanceof C.RefreshAccessTokenFailedError?e:new C.RefreshAccessTokenFailedError(e)}}function T(e,t=0){if(!e.token)return!1;if(typeof e.expiresAt!=`number`)return!0;let n=Math.floor(Date.now()/1e3),r=t/1e3;return e.expiresAt>=n+r}async function E(e,t){let n=[`project`,`token`,e,`--format=json`];t&&n.push(`--scope`,t);try{let{stdout:e}=await(0,v.execVercelCli)(n),t;if(typeof e!=`string`)throw new b.VercelOidcTokenError("Failed to refresh OIDC token: `vercel project token` did not return stdout");try{t=JSON.parse(e)}catch{throw new b.VercelOidcTokenError("Failed to refresh OIDC token: `vercel project token` returned invalid JSON: "+e)}return D(t),t}catch(e){if(e instanceof b.VercelOidcTokenError)throw e;let t=e instanceof Error?e.message:``,n=e instanceof v.VercelCliError?e.stderr?.trim():void 0;throw n&&!t.includes(n)&&(t=`${t}
25
- ${n}`.trim()),new b.VercelOidcTokenError(t?`Failed to refresh OIDC token with the Vercel CLI: ${t}`:`Failed to refresh OIDC token with the Vercel CLI`)}}async function ee(e,t,n){let r=`https://api.vercel.com/v1/projects/${t}/token?source=vercel-oidc-refresh${n?`&teamId=${n}`:``}`,i=await fetch(r,{method:`POST`,headers:{Authorization:`Bearer ${e}`}});if(!i.ok)throw new b.VercelOidcTokenError(`Failed to refresh OIDC token: ${i.statusText}`);let a=await i.json();return D(a),a}function D(e){if(!e||typeof e!=`object`)throw TypeError(`Vercel OIDC token is malformed. Expected an object.`);if(!(`token`in e)||typeof e.token!=`string`)throw TypeError(`Vercel OIDC token is malformed. Expected a string-valued token property.`)}function O(){let e=(0,x.findRootDir)();if(!e)throw new b.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");let t=g.join(e,`.vercel`,`project.json`);if(!_.existsSync(t))throw new b.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");let n=JSON.parse(_.readFileSync(t,`utf8`));if(typeof n.projectId!=`string`&&typeof n.orgId!=`string`)throw TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:n.projectId,teamId:n.orgId}}function k(e,t){let n=(0,x.getUserDataDir)();if(!n)throw new b.VercelOidcTokenError(`Unable to find user data directory. Please reach out to Vercel support.`);let r=g.join(n,`com.vercel.token`,`${t}.json`),i=JSON.stringify(e);_.mkdirSync(g.dirname(r),{mode:504,recursive:!0}),_.writeFileSync(r,i),_.chmodSync(r,432)}function te(e){let t=(0,x.getUserDataDir)();if(!t)throw new b.VercelOidcTokenError(`Unable to find user data directory. Please reach out to Vercel support.`);let n=g.join(t,`com.vercel.token`,`${e}.json`);if(!_.existsSync(n))return null;let r=JSON.parse(_.readFileSync(n,`utf8`));return D(r),r}function A(e){let t=e.split(`.`);if(t.length!==3)throw new b.VercelOidcTokenError(`Invalid token.`);let n=t[1].replace(/-/g,`+`).replace(/_/g,`/`),r=n.padEnd(n.length+(4-n.length%4)%4,`=`);return JSON.parse(Buffer.from(r,`base64`).toString(`utf8`))}function j(e,t=0){return e.exp*1e3<Date.now()+t}0&&(n.exports={assertVercelOidcTokenResponse:D,findProjectInfo:O,getTokenPayload:A,getVercelOidcToken:ee,getVercelOidcTokenFromCli:E,getVercelToken:w,isExpired:j,loadToken:te,saveToken:k})}));export{r as i,oe as n,i as r,le as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./token-util-Bjo0BJMz.js";export default e();export{};
@@ -1 +0,0 @@
1
- import{n as e}from"./esm-B-KJJdww.js";import{fileURLToPath as t}from"url";import{createRequire as n}from"module";import r from"path";const i=n(import.meta.url),a=t(import.meta.url);r.dirname(a);var o=Object.create,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=(e=>typeof i<`u`?i:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof i<`u`?i:e)[t]}):e)(function(e){if(typeof i<`u`)return i.apply(this,arguments);throw Error(`Dynamic require of "`+e+`" is not supported`)}),p=(e,t)=>()=>(e&&(t=e(e=0)),t),m=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h=(e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of l(t))!d.call(e,i)&&i!==n&&s(e,i,{get:()=>t[i],enumerable:!(r=c(t,i))||r.enumerable});return e},_=(e,t,n)=>(g(e,t,`default`),n&&g(n,t,`default`)),v=(e,t,n)=>(n=e==null?{}:o(u(e)),g(t||!e||!e.__esModule?s(n,`default`,{value:e,enumerable:!0}):n,e)),y=e=>g(s({},`__esModule`,{value:!0}),e),b={},x=p(()=>{_(b,e)});export{h as a,b as c,m as i,_ as l,x as n,v as o,f as r,y as s,p as t};
@@ -1 +0,0 @@
1
- import{i as e,r as t}from"./chunk-5MU5Z6L3-YIxCtn7b.js";import{fileURLToPath as n}from"url";import{createRequire as r}from"module";import i from"path";r(import.meta.url);const a=n(import.meta.url);i.dirname(a);var o=e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.execAsync=void 0;var n=t(`child_process`);e.execAsync=t(`util`).promisify(n.exec)});export{o as t};
@@ -1 +0,0 @@
1
- import{D as e,s as t}from"./esm-B-KJJdww.js";const n=e(`agent.tracing.handoff`),r=()=>t.active().getValue(n);function i(e,r){return t.with(t.active().setValue(n,e),r)}export{i as n,r as t};