eve 1.0.0 → 1.0.1

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 (1929) hide show
  1. package/CHANGELOG.md +33 -373
  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 +1 -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/tui.js +1 -1
  23. package/dist/src/cli/run.js +1 -1
  24. package/dist/src/compiled/.vendor-stamp.json +17 -5
  25. package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -2
  26. package/dist/src/compiled/@ai-sdk/google/index.js +6 -6
  27. package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
  28. package/dist/src/compiled/@ai-sdk/openai/index.js +4 -4
  29. package/dist/src/compiled/@ai-sdk/otel/index.js +3 -3
  30. package/dist/src/compiled/@ai-sdk/provider/index.js +1 -1
  31. package/dist/src/compiled/@chat-adapter/slack/index.js +46 -51
  32. package/dist/src/compiled/@eve/catalog/index.js +1 -1
  33. package/dist/src/compiled/@opentelemetry/api/index.js +1 -1
  34. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.js +1 -1
  35. package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +61 -155
  36. package/dist/src/compiled/@vercel/agent-runs/delegation.js +1 -1
  37. package/dist/src/compiled/@vercel/agent-runs/index.js +1 -1
  38. package/dist/src/compiled/@vercel/agent-runs/otel.js +1 -1
  39. package/dist/src/compiled/@vercel/blob/index.js +11 -36
  40. package/dist/src/compiled/@vercel/connect/index.js +1 -63
  41. package/dist/src/compiled/@vercel/oidc/index.js +1 -63
  42. package/dist/src/compiled/@vercel/otel/index.js +1 -1
  43. package/dist/src/compiled/@vercel/queue/index.js +12 -43
  44. package/dist/src/compiled/@vercel/sandbox/index.js +13 -114
  45. package/dist/src/compiled/@vercel/schedules/index.js +2 -27
  46. package/dist/src/compiled/@workflow/core/index.js +1 -1
  47. package/dist/src/compiled/@workflow/core/private.js +1 -1
  48. package/dist/src/compiled/@workflow/core/runtime/helpers.js +1 -1
  49. package/dist/src/compiled/@workflow/core/runtime.js +1 -1
  50. package/dist/src/compiled/@workflow/core/serialization.js +1 -1
  51. package/dist/src/compiled/@workflow/core/workflow.js +1 -1
  52. package/dist/src/compiled/@workflow/world/index.js +1 -1
  53. package/dist/src/compiled/@workflow/world-local/index.js +6 -6
  54. package/dist/src/compiled/@workflow/world-vercel/index.js +36 -1
  55. package/dist/src/compiled/_chunks/{workflow/attribute-changes-BCNqKjr-.js → node/attribute-changes-9TDYamoB.js} +2 -2
  56. package/dist/src/compiled/_chunks/node/{auth-VDi2758t.js → auth-C6x8BkZ1.js} +2 -2
  57. package/dist/src/compiled/_chunks/node/chunk-5MU5Z6L3-DdGH_80b.js +1 -0
  58. package/dist/src/compiled/_chunks/node/chunk-WVKEO4WS-CcXj6Pbu.js +1 -0
  59. package/dist/src/compiled/_chunks/node/cjs-rUgqAJxb.js +1 -0
  60. package/dist/src/compiled/_chunks/node/delegation-nXIIGof2.js +1 -0
  61. package/dist/src/compiled/_chunks/node/delivery-ZirLueQB.js +1 -0
  62. package/dist/src/compiled/_chunks/node/dist-Ar8FFwah.js +1 -0
  63. package/dist/src/compiled/_chunks/node/dist-BlVGA8Bc.js +2 -0
  64. package/dist/src/compiled/_chunks/{workflow/dist-DkHcYt13.js → node/dist-C-W-BUim.js} +4 -4
  65. package/dist/src/compiled/_chunks/node/dist-CJqVJRdy.js +1 -0
  66. package/dist/src/compiled/_chunks/node/dist-Dff3FJd4.js +2 -0
  67. package/dist/src/compiled/_chunks/node/dist-SjWKZevK.js +1 -0
  68. package/dist/src/compiled/_chunks/node/dist-Y7k9L0_i.js +4 -0
  69. package/dist/src/compiled/_chunks/node/esm-BQbQSdEk.js +1 -0
  70. package/dist/src/compiled/_chunks/node/esm-V84xqwqm.js +7 -0
  71. package/dist/src/compiled/_chunks/{workflow/experimental-extraction-BE-Zv-lu.js → node/experimental-extraction-BddLppMC.js} +2 -2
  72. package/dist/src/compiled/_chunks/node/functions-CrSNYLMQ.js +2 -0
  73. package/dist/src/compiled/_chunks/{workflow/getMachineId-bsd-BDZRITBA-ByMis12M.js → node/getMachineId-bsd-BDZRITBA-DLL53RiE.js} +1 -1
  74. package/dist/src/compiled/_chunks/{workflow/getMachineId-darwin-YASTVJY7-BVAknd8k.js → node/getMachineId-darwin-YASTVJY7-Bt7YOVRS.js} +1 -1
  75. package/dist/src/compiled/_chunks/node/getMachineId-linux-NDQO5XIJ-35soE6HM.js +1 -0
  76. package/dist/src/compiled/_chunks/node/getMachineId-unsupported-4HKOBEHB-BIvYzL3H.js +1 -0
  77. package/dist/src/compiled/_chunks/{workflow/getMachineId-win-5LM2K5X3-Cj6CA3It.js → node/getMachineId-win-5LM2K5X3-DjHieqnK.js} +1 -1
  78. package/dist/src/compiled/_chunks/{workflow/helpers-D1eianSs.js → node/helpers-D0wk1DpF.js} +2 -2
  79. package/dist/src/compiled/_chunks/node/lib-kYMsDr_I.js +1 -0
  80. package/dist/src/compiled/_chunks/node/mcp-CpcK9m5J.js +5 -0
  81. package/dist/src/compiled/_chunks/node/ms-Cgt_-jny.js +1 -0
  82. package/dist/src/compiled/_chunks/node/node-http-BJoNWVEH.js +1 -0
  83. package/dist/src/compiled/_chunks/node/picocolors-BvkTgkT5.js +1 -0
  84. package/dist/src/compiled/_chunks/node/resume-hook-HOi86Mpt.js +1 -0
  85. package/dist/src/compiled/_chunks/node/resume-hook-MNXqhfUQ.js +1 -0
  86. package/dist/src/compiled/_chunks/node/retry-BsKFOQYI.js +1 -0
  87. package/dist/src/compiled/_chunks/node/run-iZaWiaIW.js +34 -0
  88. package/dist/src/compiled/_chunks/node/serialization-SOBM-hqQ.js +12 -0
  89. package/dist/src/compiled/_chunks/{workflow/signal-exit-fprSURbq.js → node/signal-exit-DUUCjAID.js} +1 -1
  90. package/dist/src/compiled/_chunks/node/sleep-kn6Idr6A.js +1 -0
  91. package/dist/src/compiled/_chunks/node/suspension-hooks-DGVf4ZTu.js +3 -0
  92. package/dist/src/compiled/_chunks/node/time-DlDfzITA.js +1 -0
  93. package/dist/src/compiled/_chunks/node/token-Bx_BK6UD.js +1 -0
  94. package/dist/src/compiled/_chunks/node/{token-DGjjdToG.js → token-C3MqBzSe.js} +1 -1
  95. package/dist/src/compiled/_chunks/node/token-C8MvBi8U.js +1 -0
  96. package/dist/src/compiled/_chunks/node/token-DCqq5r4M.js +1 -0
  97. package/dist/src/compiled/_chunks/node/token-d3oeMwv2.js +1 -0
  98. package/dist/src/compiled/_chunks/node/token-util-5HFX0QsS.js +1 -0
  99. package/dist/src/compiled/_chunks/node/token-util-B-3umg_h.js +59 -0
  100. package/dist/src/compiled/_chunks/node/token-util-BdFM23p-.js +1 -0
  101. package/dist/src/compiled/_chunks/node/token-util-Bga2H4s7.js +1 -0
  102. package/dist/src/compiled/_chunks/node/token-util-C53yPU2Q.js +1 -0
  103. package/dist/src/compiled/_chunks/node/token-util-CMdCnQTY.js +1 -0
  104. package/dist/src/compiled/_chunks/node/token-util-DRfyDqhP.js +59 -0
  105. package/dist/src/compiled/_chunks/node/token-util-DdfuyqVB.js +1 -0
  106. package/dist/src/compiled/_chunks/node/token-util-S816eCve.js +22 -0
  107. package/dist/src/compiled/_chunks/node/token-util-hJVPA0w0.js +22 -0
  108. package/dist/src/compiled/_chunks/node/undici-CXX9Qrag.js +95 -0
  109. package/dist/src/compiled/_chunks/node/websocket-server-Usb_vYYJ.js +6 -0
  110. package/dist/src/compiled/_chunks/node/wrapper-B8sMmFpP.js +1 -0
  111. package/dist/src/compiled/_chunks/node/wrapper-DTBQ2yNI.js +1 -0
  112. package/dist/src/compiled/_chunks/node/ws-transport-BWQwR7zD.js +1 -0
  113. package/dist/src/compiled/_chunks/node/ws-transport-Dah44MMA.js +3 -0
  114. package/dist/src/compiled/jose/index.js +1 -1
  115. package/dist/src/eve-channel/request.js +1 -1
  116. package/dist/src/execution/dynamic-workflow/tool.js +1 -1
  117. package/dist/src/execution/session-inbox/handle.js +1 -1
  118. package/dist/src/execution/session-inbox/owner.js +1 -1
  119. package/dist/src/execution/session-inbox/resume.js +1 -1
  120. package/dist/src/execution/tools/agent-router-workflow.js +1 -1
  121. package/dist/src/harness/provider-tools.js +1 -1
  122. package/dist/src/harness/step/prompt.js +1 -1
  123. package/dist/src/instrumentation/decide.js +1 -1
  124. package/dist/src/instrumentation/dispatch.js +1 -1
  125. package/dist/src/instrumentation/lifecycle.d.ts +10 -1
  126. package/dist/src/instrumentation/runtime.js +1 -1
  127. package/dist/src/internal/application/stamped-package-version.js +1 -1
  128. package/dist/src/public/channels/slack/attachments.js +1 -1
  129. package/dist/src/public/channels/slack/connections.js +1 -1
  130. package/dist/src/public/channels/slack/renderers.d.ts +4 -2
  131. package/dist/src/public/channels/slack/slackChannel.js +1 -1
  132. package/dist/src/runtime/subagents/workflow.js +1 -1
  133. package/dist/src/setup/primitives/pm/npm.js +1 -1
  134. package/dist/src/setup/primitives/pm/run.js +1 -1
  135. package/dist/src/setup/registry-setup-client.js +2 -2
  136. package/dist/src/setup/registry-setup-protocol.js +1 -1
  137. package/dist/src/setup/scaffold/create/project.js +1 -1
  138. package/dist/src/setup/scaffold/update/channels.js +1 -1
  139. package/dist/src/shared/forwarded-trace-policy.d.ts +2 -0
  140. package/dist/src/shared/forwarded-trace-policy.js +1 -1
  141. package/dist/src/tools/provided/ask-question-workflow.js +1 -1
  142. package/dist/src/tools/provided/sleep-workflow.js +1 -1
  143. package/dist/src/tools/provided/web-search.d.ts +2 -2
  144. package/dist/src/tools/provided/web-search.js +1 -1
  145. package/docs/channels/slack/reference.mdx +1 -1
  146. package/docs/concepts/built-in-tools.md +3 -3
  147. package/docs/getting-started.mdx +5 -1
  148. package/docs/guides/client/index.mdx +1 -1
  149. package/docs/reference/typescript-api.md +1 -1
  150. package/package.json +3 -7
  151. package/dist/src/acp/adapter.d.ts +0 -28
  152. package/dist/src/acp/line-limit.d.ts +0 -3
  153. package/dist/src/acp/server.d.ts +0 -21
  154. package/dist/src/ai/decision-adapter.d.ts +0 -15
  155. package/dist/src/approval/agent.d.ts +0 -24
  156. package/dist/src/approval/requester-only.d.ts +0 -11
  157. package/dist/src/channel/adapter-context.d.ts +0 -9
  158. package/dist/src/channel/auth/http-basic.d.ts +0 -8
  159. package/dist/src/channel/auth/jwt-ecdsa.d.ts +0 -8
  160. package/dist/src/channel/auth/jwt-hmac.d.ts +0 -8
  161. package/dist/src/channel/auth/oidc.d.ts +0 -8
  162. package/dist/src/channel/auth/result.d.ts +0 -3
  163. package/dist/src/channel/auth/token-claims.d.ts +0 -17
  164. package/dist/src/channel/auth/types.d.ts +0 -108
  165. package/dist/src/channel/auth/vercel-oidc-project.d.ts +0 -12
  166. package/dist/src/channel/conversation-context.d.ts +0 -8
  167. package/dist/src/channel/delivery-idempotency.d.ts +0 -10
  168. package/dist/src/channel/delivery.d.ts +0 -8
  169. package/dist/src/channel/http.d.ts +0 -29
  170. package/dist/src/channel/inactive-prompt.d.ts +0 -46
  171. package/dist/src/channel/pending-authorization.d.ts +0 -4
  172. package/dist/src/channel/principal-identity.d.ts +0 -11
  173. package/dist/src/channel/relay-event.d.ts +0 -11
  174. package/dist/src/channel/resolved-prompt.d.ts +0 -22
  175. package/dist/src/channel/route-args.d.ts +0 -35
  176. package/dist/src/channel/schedule.d.ts +0 -78
  177. package/dist/src/channel/send-input.d.ts +0 -10
  178. package/dist/src/channel/session-callback.d.ts +0 -11
  179. package/dist/src/channel/tool-eligibility.d.ts +0 -38
  180. package/dist/src/cli/acp/command.d.ts +0 -24
  181. package/dist/src/cli/agent-command.d.ts +0 -6
  182. package/dist/src/cli/agent-detection.d.ts +0 -7
  183. package/dist/src/cli/application-command.d.ts +0 -13
  184. package/dist/src/cli/application-root.d.ts +0 -5
  185. package/dist/src/cli/banner.d.ts +0 -11
  186. package/dist/src/cli/commands/agent-instructions.d.ts +0 -34
  187. package/dist/src/cli/commands/build.d.ts +0 -15
  188. package/dist/src/cli/commands/deploy.d.ts +0 -27
  189. package/dist/src/cli/commands/extension-build.d.ts +0 -9
  190. package/dist/src/cli/commands/extension-init.d.ts +0 -26
  191. package/dist/src/cli/commands/info.d.ts +0 -68
  192. package/dist/src/cli/commands/init-agent-workspace.d.ts +0 -18
  193. package/dist/src/cli/commands/init-git.d.ts +0 -17
  194. package/dist/src/cli/commands/init-install.d.ts +0 -11
  195. package/dist/src/cli/commands/init-project.d.ts +0 -44
  196. package/dist/src/cli/commands/init-recovery.d.ts +0 -3
  197. package/dist/src/cli/commands/init-target.d.ts +0 -20
  198. package/dist/src/cli/commands/init-telemetry.d.ts +0 -7
  199. package/dist/src/cli/commands/init.d.ts +0 -28
  200. package/dist/src/cli/commands/integration-connect.d.ts +0 -35
  201. package/dist/src/cli/commands/integration-setup.d.ts +0 -18
  202. package/dist/src/cli/commands/link.d.ts +0 -25
  203. package/dist/src/cli/commands/logs-events.d.ts +0 -38
  204. package/dist/src/cli/commands/logs.d.ts +0 -64
  205. package/dist/src/cli/commands/preconditions.d.ts +0 -22
  206. package/dist/src/cli/commands/register-integration-commands.d.ts +0 -15
  207. package/dist/src/cli/commands/register-project-commands.d.ts +0 -13
  208. package/dist/src/cli/commands/register-registry-commands.d.ts +0 -13
  209. package/dist/src/cli/commands/registry-add-command.d.ts +0 -3
  210. package/dist/src/cli/commands/registry-declared-setups.d.ts +0 -43
  211. package/dist/src/cli/commands/registry-install-transaction.d.ts +0 -10
  212. package/dist/src/cli/commands/registry-metadata.d.ts +0 -99
  213. package/dist/src/cli/commands/registry-pnpm-build-policy-flow.d.ts +0 -30
  214. package/dist/src/cli/commands/registry-presentation.d.ts +0 -19
  215. package/dist/src/cli/commands/registry-project.d.ts +0 -23
  216. package/dist/src/cli/commands/registry-recovery.d.ts +0 -20
  217. package/dist/src/cli/commands/registry-setup-command.d.ts +0 -21
  218. package/dist/src/cli/commands/registry.d.ts +0 -98
  219. package/dist/src/cli/commands/set.d.ts +0 -18
  220. package/dist/src/cli/commands/setup-answers.d.ts +0 -2
  221. package/dist/src/cli/commands/setup-headless.d.ts +0 -97
  222. package/dist/src/cli/commands/trace-detail.d.ts +0 -34
  223. package/dist/src/cli/commands/trace.d.ts +0 -18
  224. package/dist/src/cli/commands/vercel-non-interactive.d.ts +0 -37
  225. package/dist/src/cli/dev/boot-progress.d.ts +0 -3
  226. package/dist/src/cli/dev/command-options.d.ts +0 -27
  227. package/dist/src/cli/dev/command.d.ts +0 -34
  228. package/dist/src/cli/dev/console-records-preload.d.ts +0 -1
  229. package/dist/src/cli/dev/console-records.d.ts +0 -17
  230. package/dist/src/cli/dev/diagnostic-dump.d.ts +0 -58
  231. package/dist/src/cli/dev/diagnostic-sink.d.ts +0 -39
  232. package/dist/src/cli/dev/diagnostics.d.ts +0 -42
  233. package/dist/src/cli/dev/environment.d.ts +0 -20
  234. package/dist/src/cli/dev/local-server-child.d.ts +0 -1
  235. package/dist/src/cli/dev/local-server-cleanup.d.ts +0 -5
  236. package/dist/src/cli/dev/local-server-process.d.ts +0 -35
  237. package/dist/src/cli/dev/remote-print.d.ts +0 -8
  238. package/dist/src/cli/dev/run-interactive-ui.d.ts +0 -22
  239. package/dist/src/cli/dev/tui/agent-header.d.ts +0 -15
  240. package/dist/src/cli/dev/tui/argument-typeahead.d.ts +0 -36
  241. package/dist/src/cli/dev/tui/blocks.d.ts +0 -148
  242. package/dist/src/cli/dev/tui/clipboard.d.ts +0 -17
  243. package/dist/src/cli/dev/tui/command-typeahead.d.ts +0 -54
  244. package/dist/src/cli/dev/tui/conversation-view.d.ts +0 -59
  245. package/dist/src/cli/dev/tui/dev-rebuild-status.d.ts +0 -22
  246. package/dist/src/cli/dev/tui/diagnostic-presentation.d.ts +0 -17
  247. package/dist/src/cli/dev/tui/errors.d.ts +0 -14
  248. package/dist/src/cli/dev/tui/file-content-cache.d.ts +0 -41
  249. package/dist/src/cli/dev/tui/flow-drawer.d.ts +0 -15
  250. package/dist/src/cli/dev/tui/line-diff.d.ts +0 -24
  251. package/dist/src/cli/dev/tui/line-editor.d.ts +0 -124
  252. package/dist/src/cli/dev/tui/log-display-mode.d.ts +0 -7
  253. package/dist/src/cli/dev/tui/markdown.d.ts +0 -14
  254. package/dist/src/cli/dev/tui/mcp-connection-status.d.ts +0 -20
  255. package/dist/src/cli/dev/tui/message-queue.d.ts +0 -33
  256. package/dist/src/cli/dev/tui/prompt-command-handler.d.ts +0 -18
  257. package/dist/src/cli/dev/tui/prompt-commands.d.ts +0 -266
  258. package/dist/src/cli/dev/tui/prompt-placeholder.d.ts +0 -2
  259. package/dist/src/cli/dev/tui/provider-picker.d.ts +0 -65
  260. package/dist/src/cli/dev/tui/question-panel.d.ts +0 -31
  261. package/dist/src/cli/dev/tui/rail.d.ts +0 -15
  262. package/dist/src/cli/dev/tui/registry-result-message.d.ts +0 -27
  263. package/dist/src/cli/dev/tui/remote-auth-result.d.ts +0 -26
  264. package/dist/src/cli/dev/tui/remote-auth.d.ts +0 -33
  265. package/dist/src/cli/dev/tui/remote-connection-probe.d.ts +0 -12
  266. package/dist/src/cli/dev/tui/remote-connection-types.d.ts +0 -69
  267. package/dist/src/cli/dev/tui/remote-connection.d.ts +0 -3
  268. package/dist/src/cli/dev/tui/remote-startup.d.ts +0 -10
  269. package/dist/src/cli/dev/tui/runner.d.ts +0 -322
  270. package/dist/src/cli/dev/tui/setup-commands.d.ts +0 -72
  271. package/dist/src/cli/dev/tui/setup-flow.d.ts +0 -133
  272. package/dist/src/cli/dev/tui/setup-issues.d.ts +0 -66
  273. package/dist/src/cli/dev/tui/setup-panel.d.ts +0 -182
  274. package/dist/src/cli/dev/tui/setup-selection-input.d.ts +0 -52
  275. package/dist/src/cli/dev/tui/startup.d.ts +0 -20
  276. package/dist/src/cli/dev/tui/status-line.d.ts +0 -39
  277. package/dist/src/cli/dev/tui/stranded-session.d.ts +0 -9
  278. package/dist/src/cli/dev/tui/stream-format.d.ts +0 -158
  279. package/dist/src/cli/dev/tui/target.d.ts +0 -11
  280. package/dist/src/cli/dev/tui/task-activity.d.ts +0 -42
  281. package/dist/src/cli/dev/tui/task-records.d.ts +0 -17
  282. package/dist/src/cli/dev/tui/terminal-background.d.ts +0 -23
  283. package/dist/src/cli/dev/tui/terminal-renderer.d.ts +0 -148
  284. package/dist/src/cli/dev/tui/terminal-tool-part.d.ts +0 -2
  285. package/dist/src/cli/dev/tui/test/fake-eve-server.d.ts +0 -34
  286. package/dist/src/cli/dev/tui/test/fake-setup-flow-renderer.d.ts +0 -2
  287. package/dist/src/cli/dev/tui/test/index.d.ts +0 -15
  288. package/dist/src/cli/dev/tui/test/mock-terminal.d.ts +0 -51
  289. package/dist/src/cli/dev/tui/theme.d.ts +0 -127
  290. package/dist/src/cli/dev/tui/tool-block-groups.d.ts +0 -38
  291. package/dist/src/cli/dev/tui/tool-format.d.ts +0 -31
  292. package/dist/src/cli/dev/tui/tool-presentation.d.ts +0 -95
  293. package/dist/src/cli/dev/tui/tool-rows.d.ts +0 -16
  294. package/dist/src/cli/dev/tui/traces/trace-content.d.ts +0 -24
  295. package/dist/src/cli/dev/tui/traces/trace-conversation.d.ts +0 -61
  296. package/dist/src/cli/dev/tui/traces/trace-store.d.ts +0 -27
  297. package/dist/src/cli/dev/tui/traces/trace-surfaces.d.ts +0 -40
  298. package/dist/src/cli/dev/tui/traces/trace-view.d.ts +0 -56
  299. package/dist/src/cli/dev/tui/traces/trace-viewer-session.d.ts +0 -55
  300. package/dist/src/cli/dev/tui/traces/trace-viewer-state.d.ts +0 -109
  301. package/dist/src/cli/dev/tui/transcript-parts.d.ts +0 -85
  302. package/dist/src/cli/dev/tui/transcript.d.ts +0 -43
  303. package/dist/src/cli/dev/tui/tui-prompter.d.ts +0 -20
  304. package/dist/src/cli/dev/tui/tui.d.ts +0 -37
  305. package/dist/src/cli/dev/tui/turn-clock.d.ts +0 -21
  306. package/dist/src/cli/dev/tui/types.d.ts +0 -70
  307. package/dist/src/cli/dev/tui/vercel-status.d.ts +0 -44
  308. package/dist/src/cli/dev/tui/vercel-trusted-sources-policy.d.ts +0 -22
  309. package/dist/src/cli/dev/tui/vercel-trusted-sources.d.ts +0 -48
  310. package/dist/src/cli/dev/ui-options.d.ts +0 -22
  311. package/dist/src/cli/dev/url-target.d.ts +0 -15
  312. package/dist/src/cli/dev/url.d.ts +0 -4
  313. package/dist/src/cli/dev/wait-for-ui.d.ts +0 -13
  314. package/dist/src/cli/format-elapsed.d.ts +0 -2
  315. package/dist/src/cli/option-parsers.d.ts +0 -17
  316. package/dist/src/cli/run.d.ts +0 -38
  317. package/dist/src/cli/shutdown.d.ts +0 -25
  318. package/dist/src/cli/telemetry/command.d.ts +0 -9
  319. package/dist/src/cli/telemetry/flush.d.ts +0 -2
  320. package/dist/src/cli/telemetry/identity.d.ts +0 -13
  321. package/dist/src/cli/telemetry/index.d.ts +0 -37
  322. package/dist/src/cli/telemetry/preference.d.ts +0 -10
  323. package/dist/src/cli/ui/alt-screen.d.ts +0 -49
  324. package/dist/src/cli/ui/live-region.d.ts +0 -63
  325. package/dist/src/cli/ui/live-row.d.ts +0 -22
  326. package/dist/src/cli/ui/output.d.ts +0 -48
  327. package/dist/src/cli/ui/progress-pulse.d.ts +0 -10
  328. package/dist/src/cli/ui/terminal-text.d.ts +0 -36
  329. package/dist/src/cli/vercel-service-output.d.ts +0 -4
  330. package/dist/src/client/abort-signal.d.ts +0 -2
  331. package/dist/src/client/agent-base-url.d.ts +0 -4
  332. package/dist/src/client/agent-info-schema.d.ts +0 -1356
  333. package/dist/src/client/agent-stream-follower.d.ts +0 -17
  334. package/dist/src/client/conversation-client.d.ts +0 -51
  335. package/dist/src/client/delivery-events.d.ts +0 -3
  336. package/dist/src/client/file-parts.d.ts +0 -23
  337. package/dist/src/client/health-schema.d.ts +0 -7
  338. package/dist/src/client/messages.d.ts +0 -30
  339. package/dist/src/client/ndjson.d.ts +0 -18
  340. package/dist/src/client/open-stream.d.ts +0 -96
  341. package/dist/src/client/optimistic-message-submissions.d.ts +0 -15
  342. package/dist/src/client/session-controls.d.ts +0 -34
  343. package/dist/src/client/session-event-stream.d.ts +0 -19
  344. package/dist/src/client/session-store-helpers.d.ts +0 -8
  345. package/dist/src/client/stream-version.d.ts +0 -5
  346. package/dist/src/client/url.d.ts +0 -13
  347. package/dist/src/compiled/@agentclientprotocol/sdk/core/app-handlers.d.ts +0 -28
  348. package/dist/src/compiled/@agentclientprotocol/sdk/core/connection-access.d.ts +0 -23
  349. package/dist/src/compiled/@agentclientprotocol/sdk/core/jsonrpc.d.ts +0 -576
  350. package/dist/src/compiled/@agentclientprotocol/sdk/core/stream-limits.d.ts +0 -15
  351. package/dist/src/compiled/@agentclientprotocol/sdk/core/stream.d.ts +0 -33
  352. package/dist/src/compiled/@agentclientprotocol/sdk/index.d.ts +0 -1
  353. package/dist/src/compiled/@agentclientprotocol/sdk/transports/connection.d.ts +0 -273
  354. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/guards.gen.d.ts +0 -183
  355. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/index.d.ts +0 -33
  356. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/types.gen.d.ts +0 -4093
  357. package/dist/src/compiled/@agentclientprotocol/sdk/v1/stable/acp.d.ts +0 -812
  358. package/dist/src/compiled/@ai-sdk/anthropic/index.d.ts +0 -1891
  359. package/dist/src/compiled/@ai-sdk/google/index.d.ts +0 -961
  360. package/dist/src/compiled/@ai-sdk/mcp/index.d.ts +0 -1439
  361. package/dist/src/compiled/@ai-sdk/openai/index.d.ts +0 -2196
  362. package/dist/src/compiled/@ai-sdk/otel/index.d.ts +0 -1059
  363. package/dist/src/compiled/@ai-sdk/provider/index.d.ts +0 -9624
  364. package/dist/src/compiled/@ai-sdk/provider-utils/index.d.ts +0 -3364
  365. package/dist/src/compiled/@cfworker/json-schema/index.d.ts +0 -18
  366. package/dist/src/compiled/@chat-adapter/slack/_chat-adapter-shared.d.ts +0 -10
  367. package/dist/src/compiled/@chat-adapter/slack/_slack-web-api.d.ts +0 -8
  368. package/dist/src/compiled/@chat-adapter/slack/blocks.d.ts +0 -205
  369. package/dist/src/compiled/@chat-adapter/slack/format.d.ts +0 -33
  370. package/dist/src/compiled/@chat-adapter/slack/index.d.ts +0 -1437
  371. package/dist/src/compiled/@chat-adapter/state-memory/index.d.ts +0 -50
  372. package/dist/src/compiled/@chat-adapter/twilio/format.d.ts +0 -12
  373. package/dist/src/compiled/@chat-adapter/twilio/index.d.ts +0 -166
  374. package/dist/src/compiled/@clack/core/index.d.ts +0 -505
  375. package/dist/src/compiled/@modelcontextprotocol/server/index.d.ts +0 -180
  376. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.d.ts +0 -3
  377. package/dist/src/compiled/@vercel/agent-runs/adapters/agent-transport.d.ts +0 -8
  378. package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-payload.d.ts +0 -15
  379. package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-telemetry.d.ts +0 -14
  380. package/dist/src/compiled/@vercel/agent-runs/adapters/otel-error.d.ts +0 -3
  381. package/dist/src/compiled/@vercel/agent-runs/adapters/serialization.d.ts +0 -36
  382. package/dist/src/compiled/@vercel/agent-runs/ai-sdk.d.ts +0 -7
  383. package/dist/src/compiled/@vercel/agent-runs/core/activation.d.ts +0 -3
  384. package/dist/src/compiled/@vercel/agent-runs/core/attributes.d.ts +0 -14
  385. package/dist/src/compiled/@vercel/agent-runs/core/content-policy.d.ts +0 -36
  386. package/dist/src/compiled/@vercel/agent-runs/core/context.d.ts +0 -3
  387. package/dist/src/compiled/@vercel/agent-runs/core/delegation.d.ts +0 -13
  388. package/dist/src/compiled/@vercel/agent-runs/core/snapshot.d.ts +0 -7
  389. package/dist/src/compiled/@vercel/agent-runs/core/span-kinds.d.ts +0 -12
  390. package/dist/src/compiled/@vercel/agent-runs/core/writer.d.ts +0 -15
  391. package/dist/src/compiled/@vercel/agent-runs/delegation.d.ts +0 -2
  392. package/dist/src/compiled/@vercel/agent-runs/otel.d.ts +0 -12
  393. package/dist/src/compiled/@vercel/blob/client.d.ts +0 -488
  394. package/dist/src/compiled/@vercel/blob/create-folder-DoYODb65.d.ts +0 -487
  395. package/dist/src/compiled/@vercel/blob/index.d.ts +0 -633
  396. package/dist/src/compiled/@vercel/connect/authorization-details.d.ts +0 -11
  397. package/dist/src/compiled/@vercel/connect/authorization.d.ts +0 -47
  398. package/dist/src/compiled/@vercel/connect/connector.d.ts +0 -32
  399. package/dist/src/compiled/@vercel/connect/index.d.ts +0 -5
  400. package/dist/src/compiled/@vercel/connect/installation.d.ts +0 -48
  401. package/dist/src/compiled/@vercel/connect/token.d.ts +0 -147
  402. package/dist/src/compiled/@vercel/detect-agent/index.d.ts +0 -20
  403. package/dist/src/compiled/@vercel/oidc/index.d.ts +0 -21
  404. package/dist/src/compiled/@vercel/otel/index.d.ts +0 -76
  405. package/dist/src/compiled/@vercel/queue/index.d.ts +0 -1439
  406. package/dist/src/compiled/@vercel/sandbox/_async-retry.d.ts +0 -8
  407. package/dist/src/compiled/@vercel/sandbox/_workflow-serde.d.ts +0 -5
  408. package/dist/src/compiled/@vercel/sandbox/api-client/api-client.d.ts +0 -1914
  409. package/dist/src/compiled/@vercel/sandbox/api-client/api-error.d.ts +0 -29
  410. package/dist/src/compiled/@vercel/sandbox/api-client/base-client.d.ts +0 -39
  411. package/dist/src/compiled/@vercel/sandbox/api-client/file-writer.d.ts +0 -66
  412. package/dist/src/compiled/@vercel/sandbox/api-client/index.d.ts +0 -2
  413. package/dist/src/compiled/@vercel/sandbox/api-client/validators.d.ts +0 -951
  414. package/dist/src/compiled/@vercel/sandbox/api-client/with-retry.d.ts +0 -10
  415. package/dist/src/compiled/@vercel/sandbox/auth/error.d.ts +0 -15
  416. package/dist/src/compiled/@vercel/sandbox/auth/file.d.ts +0 -18
  417. package/dist/src/compiled/@vercel/sandbox/auth/index.d.ts +0 -6
  418. package/dist/src/compiled/@vercel/sandbox/auth/oauth.d.ts +0 -111
  419. package/dist/src/compiled/@vercel/sandbox/auth/poll-for-token.d.ts +0 -28
  420. package/dist/src/compiled/@vercel/sandbox/auth/project.d.ts +0 -40
  421. package/dist/src/compiled/@vercel/sandbox/command.d.ts +0 -370
  422. package/dist/src/compiled/@vercel/sandbox/constants.d.ts +0 -15
  423. package/dist/src/compiled/@vercel/sandbox/drive.d.ts +0 -201
  424. package/dist/src/compiled/@vercel/sandbox/execution-context.d.ts +0 -116
  425. package/dist/src/compiled/@vercel/sandbox/filesystem.d.ts +0 -258
  426. package/dist/src/compiled/@vercel/sandbox/index.d.ts +0 -15
  427. package/dist/src/compiled/@vercel/sandbox/network-policy.d.ts +0 -200
  428. package/dist/src/compiled/@vercel/sandbox/proxy.d.ts +0 -55
  429. package/dist/src/compiled/@vercel/sandbox/sandbox-user.d.ts +0 -211
  430. package/dist/src/compiled/@vercel/sandbox/sandbox.d.ts +0 -1330
  431. package/dist/src/compiled/@vercel/sandbox/session.d.ts +0 -461
  432. package/dist/src/compiled/@vercel/sandbox/snapshot.d.ts +0 -238
  433. package/dist/src/compiled/@vercel/sandbox/utils/get-credentials.d.ts +0 -21
  434. package/dist/src/compiled/@vercel/sandbox/utils/network-policy.d.ts +0 -27
  435. package/dist/src/compiled/@vercel/sandbox/utils/paginator.d.ts +0 -16
  436. package/dist/src/compiled/@vercel/sandbox/utils/pipe-stdin.d.ts +0 -19
  437. package/dist/src/compiled/@vercel/sandbox/utils/resolveSignal.d.ts +0 -15
  438. package/dist/src/compiled/@vercel/sandbox/utils/sandbox-snapshot.d.ts +0 -11
  439. package/dist/src/compiled/@vercel/sandbox/utils/types.d.ts +0 -11
  440. package/dist/src/compiled/@vercel/schedules/index.d.ts +0 -290
  441. package/dist/src/compiled/@vercel/sdk/index.d.ts +0 -41
  442. package/dist/src/compiled/@workflow/core/_devalue.d.ts +0 -8
  443. package/dist/src/compiled/@workflow/core/_ms.d.ts +0 -4
  444. package/dist/src/compiled/@workflow/core/_quickjs-wasi.d.ts +0 -11
  445. package/dist/src/compiled/@workflow/core/_workflow-serde.d.ts +0 -5
  446. package/dist/src/compiled/@workflow/core/_workflow-utils.d.ts +0 -8
  447. package/dist/src/compiled/@workflow/core/_workflow-vm.d.ts +0 -119
  448. package/dist/src/compiled/@workflow/core/attribute-changes.d.ts +0 -6
  449. package/dist/src/compiled/@workflow/core/capabilities.d.ts +0 -107
  450. package/dist/src/compiled/@workflow/core/capture-stack.d.ts +0 -16
  451. package/dist/src/compiled/@workflow/core/class-serialization.d.ts +0 -63
  452. package/dist/src/compiled/@workflow/core/classify-error.d.ts +0 -35
  453. package/dist/src/compiled/@workflow/core/context-errors.d.ts +0 -27
  454. package/dist/src/compiled/@workflow/core/context-violation-error.d.ts +0 -97
  455. package/dist/src/compiled/@workflow/core/create-hook.d.ts +0 -296
  456. package/dist/src/compiled/@workflow/core/define-hook.d.ts +0 -68
  457. package/dist/src/compiled/@workflow/core/describe-error.d.ts +0 -70
  458. package/dist/src/compiled/@workflow/core/encryption.d.ts +0 -79
  459. package/dist/src/compiled/@workflow/core/events-consumer.d.ts +0 -458
  460. package/dist/src/compiled/@workflow/core/flushable-stream.d.ts +0 -180
  461. package/dist/src/compiled/@workflow/core/global.d.ts +0 -100
  462. package/dist/src/compiled/@workflow/core/index.d.ts +0 -21
  463. package/dist/src/compiled/@workflow/core/log-format.d.ts +0 -29
  464. package/dist/src/compiled/@workflow/core/logger.d.ts +0 -30
  465. package/dist/src/compiled/@workflow/core/private.d.ts +0 -364
  466. package/dist/src/compiled/@workflow/core/replay-divergence.d.ts +0 -25
  467. package/dist/src/compiled/@workflow/core/replay-payload-cache.d.ts +0 -78
  468. package/dist/src/compiled/@workflow/core/runtime/after-terminal-write.d.ts +0 -33
  469. package/dist/src/compiled/@workflow/core/runtime/child-run-completion-notify.d.ts +0 -36
  470. package/dist/src/compiled/@workflow/core/runtime/child-run-completion.d.ts +0 -46
  471. package/dist/src/compiled/@workflow/core/runtime/compute-instance.d.ts +0 -13
  472. package/dist/src/compiled/@workflow/core/runtime/constants.d.ts +0 -321
  473. package/dist/src/compiled/@workflow/core/runtime/delivery.d.ts +0 -270
  474. package/dist/src/compiled/@workflow/core/runtime/deployment-guard.d.ts +0 -107
  475. package/dist/src/compiled/@workflow/core/runtime/dynamic-workflow.d.ts +0 -182
  476. package/dist/src/compiled/@workflow/core/runtime/event-limit-warning.d.ts +0 -32
  477. package/dist/src/compiled/@workflow/core/runtime/get-port-lazy.d.ts +0 -25
  478. package/dist/src/compiled/@workflow/core/runtime/get-world-lazy.d.ts +0 -23
  479. package/dist/src/compiled/@workflow/core/runtime/helpers.d.ts +0 -549
  480. package/dist/src/compiled/@workflow/core/runtime/hook-creation.d.ts +0 -45
  481. package/dist/src/compiled/@workflow/core/runtime/hook-wake.d.ts +0 -124
  482. package/dist/src/compiled/@workflow/core/runtime/invocations.d.ts +0 -35
  483. package/dist/src/compiled/@workflow/core/runtime/lifecycle-hooks.d.ts +0 -97
  484. package/dist/src/compiled/@workflow/core/runtime/out-of-band-observation.d.ts +0 -191
  485. package/dist/src/compiled/@workflow/core/runtime/queue-auth.d.ts +0 -53
  486. package/dist/src/compiled/@workflow/core/runtime/quickjs-assets.generated.d.ts +0 -21
  487. package/dist/src/compiled/@workflow/core/runtime/quickjs-delivery-shared.d.ts +0 -126
  488. package/dist/src/compiled/@workflow/core/runtime/quickjs-log-view.d.ts +0 -211
  489. package/dist/src/compiled/@workflow/core/runtime/quickjs-pending-ops.d.ts +0 -181
  490. package/dist/src/compiled/@workflow/core/runtime/quickjs-runtime.d.ts +0 -356
  491. package/dist/src/compiled/@workflow/core/runtime/quickjs-serde.d.ts +0 -107
  492. package/dist/src/compiled/@workflow/core/runtime/quickjs-snapshot-codec.d.ts +0 -74
  493. package/dist/src/compiled/@workflow/core/runtime/replay-budget.d.ts +0 -104
  494. package/dist/src/compiled/@workflow/core/runtime/replay-recovery-reporter.d.ts +0 -36
  495. package/dist/src/compiled/@workflow/core/runtime/resume-hook.d.ts +0 -167
  496. package/dist/src/compiled/@workflow/core/runtime/resume-latency.d.ts +0 -150
  497. package/dist/src/compiled/@workflow/core/runtime/run-id-time.d.ts +0 -19
  498. package/dist/src/compiled/@workflow/core/runtime/run-spec-routing.d.ts +0 -52
  499. package/dist/src/compiled/@workflow/core/runtime/run-spec-version.d.ts +0 -20
  500. package/dist/src/compiled/@workflow/core/runtime/run.d.ts +0 -221
  501. package/dist/src/compiled/@workflow/core/runtime/runs.d.ts +0 -166
  502. package/dist/src/compiled/@workflow/core/runtime/spec8/constants.d.ts +0 -129
  503. package/dist/src/compiled/@workflow/core/runtime/spec8/count-step-started-events.d.ts +0 -52
  504. package/dist/src/compiled/@workflow/core/runtime/spec8/delivery.d.ts +0 -6
  505. package/dist/src/compiled/@workflow/core/runtime/spec8/inline-steps-in-flight.d.ts +0 -58
  506. package/dist/src/compiled/@workflow/core/runtime/spec8/open-hook-wait-state.d.ts +0 -55
  507. package/dist/src/compiled/@workflow/core/runtime/spec8/quickjs-entrypoint.d.ts +0 -110
  508. package/dist/src/compiled/@workflow/core/runtime/spec8/step-executor.d.ts +0 -233
  509. package/dist/src/compiled/@workflow/core/runtime/spec8/step-ownership.d.ts +0 -72
  510. package/dist/src/compiled/@workflow/core/runtime/spec8/step-single-flight.d.ts +0 -34
  511. package/dist/src/compiled/@workflow/core/runtime/spec8/suspension-handler.d.ts +0 -352
  512. package/dist/src/compiled/@workflow/core/runtime/spec9/consume-after-commit.d.ts +0 -37
  513. package/dist/src/compiled/@workflow/core/runtime/spec9/consumed-position.d.ts +0 -38
  514. package/dist/src/compiled/@workflow/core/runtime/spec9/creator-rules.d.ts +0 -220
  515. package/dist/src/compiled/@workflow/core/runtime/spec9/deadline.d.ts +0 -18
  516. package/dist/src/compiled/@workflow/core/runtime/spec9/delivery.d.ts +0 -17
  517. package/dist/src/compiled/@workflow/core/runtime/spec9/fence-refusals.d.ts +0 -20
  518. package/dist/src/compiled/@workflow/core/runtime/spec9/in-band-writer.d.ts +0 -282
  519. package/dist/src/compiled/@workflow/core/runtime/spec9/live-feed.d.ts +0 -197
  520. package/dist/src/compiled/@workflow/core/runtime/spec9/log-index.d.ts +0 -74
  521. package/dist/src/compiled/@workflow/core/runtime/spec9/log-state.d.ts +0 -155
  522. package/dist/src/compiled/@workflow/core/runtime/spec9/quickjs-entrypoint.d.ts +0 -198
  523. package/dist/src/compiled/@workflow/core/runtime/spec9/read-deadline.d.ts +0 -46
  524. package/dist/src/compiled/@workflow/core/runtime/spec9/run-ahead.d.ts +0 -74
  525. package/dist/src/compiled/@workflow/core/runtime/spec9/step-delivery.d.ts +0 -146
  526. package/dist/src/compiled/@workflow/core/runtime/spec9/step-executor.d.ts +0 -225
  527. package/dist/src/compiled/@workflow/core/runtime/spec9/step-handler.d.ts +0 -92
  528. package/dist/src/compiled/@workflow/core/runtime/spec9/step-message.d.ts +0 -42
  529. package/dist/src/compiled/@workflow/core/runtime/spec9/step-retention.d.ts +0 -44
  530. package/dist/src/compiled/@workflow/core/runtime/spec9/step-single-flight.d.ts +0 -19
  531. package/dist/src/compiled/@workflow/core/runtime/spec9/step-wait-creation.d.ts +0 -162
  532. package/dist/src/compiled/@workflow/core/runtime/spec9/suspension-handler.d.ts +0 -125
  533. package/dist/src/compiled/@workflow/core/runtime/spec9/wait-timer.d.ts +0 -143
  534. package/dist/src/compiled/@workflow/core/runtime/start-hook-binding.d.ts +0 -51
  535. package/dist/src/compiled/@workflow/core/runtime/start-hook-delivery.d.ts +0 -47
  536. package/dist/src/compiled/@workflow/core/runtime/start-hook-holder.d.ts +0 -50
  537. package/dist/src/compiled/@workflow/core/runtime/start.d.ts +0 -308
  538. package/dist/src/compiled/@workflow/core/runtime/step-latency.d.ts +0 -221
  539. package/dist/src/compiled/@workflow/core/runtime/step-single-flight.d.ts +0 -8
  540. package/dist/src/compiled/@workflow/core/runtime/step-streams.d.ts +0 -6
  541. package/dist/src/compiled/@workflow/core/runtime/suspension-hooks.d.ts +0 -84
  542. package/dist/src/compiled/@workflow/core/runtime/unserializable-step.d.ts +0 -34
  543. package/dist/src/compiled/@workflow/core/runtime/vm-mode.d.ts +0 -132
  544. package/dist/src/compiled/@workflow/core/runtime/wait-continuation.d.ts +0 -133
  545. package/dist/src/compiled/@workflow/core/runtime/wait-until.d.ts +0 -18
  546. package/dist/src/compiled/@workflow/core/runtime/world-compatibility.d.ts +0 -51
  547. package/dist/src/compiled/@workflow/core/runtime/world-init.d.ts +0 -50
  548. package/dist/src/compiled/@workflow/core/runtime/world.d.ts +0 -44
  549. package/dist/src/compiled/@workflow/core/runtime.d.ts +0 -26
  550. package/dist/src/compiled/@workflow/core/schemas.d.ts +0 -15
  551. package/dist/src/compiled/@workflow/core/sealed-box.d.ts +0 -167
  552. package/dist/src/compiled/@workflow/core/seeded-nanoid.d.ts +0 -2
  553. package/dist/src/compiled/@workflow/core/serialization/abort-stream.d.ts +0 -11
  554. package/dist/src/compiled/@workflow/core/serialization/client.d.ts +0 -17
  555. package/dist/src/compiled/@workflow/core/serialization/codec-devalue-vm.d.ts +0 -16
  556. package/dist/src/compiled/@workflow/core/serialization/codec-devalue.d.ts +0 -14
  557. package/dist/src/compiled/@workflow/core/serialization/codec.d.ts +0 -140
  558. package/dist/src/compiled/@workflow/core/serialization/compression.d.ts +0 -149
  559. package/dist/src/compiled/@workflow/core/serialization/encryption.d.ts +0 -134
  560. package/dist/src/compiled/@workflow/core/serialization/errors.d.ts +0 -34
  561. package/dist/src/compiled/@workflow/core/serialization/format.d.ts +0 -60
  562. package/dist/src/compiled/@workflow/core/serialization/hardened.d.ts +0 -164
  563. package/dist/src/compiled/@workflow/core/serialization/index.d.ts +0 -20
  564. package/dist/src/compiled/@workflow/core/serialization/reducers/class-vm.d.ts +0 -20
  565. package/dist/src/compiled/@workflow/core/serialization/reducers/class.d.ts +0 -11
  566. package/dist/src/compiled/@workflow/core/serialization/reducers/common-vm.d.ts +0 -15
  567. package/dist/src/compiled/@workflow/core/serialization/reducers/common.d.ts +0 -16
  568. package/dist/src/compiled/@workflow/core/serialization/reducers/step-function-vm.d.ts +0 -44
  569. package/dist/src/compiled/@workflow/core/serialization/reducers/step-function.d.ts +0 -35
  570. package/dist/src/compiled/@workflow/core/serialization/state-recovery.d.ts +0 -21
  571. package/dist/src/compiled/@workflow/core/serialization/state-refs.d.ts +0 -229
  572. package/dist/src/compiled/@workflow/core/serialization/step.d.ts +0 -17
  573. package/dist/src/compiled/@workflow/core/serialization/types.d.ts +0 -298
  574. package/dist/src/compiled/@workflow/core/serialization/workflow-vm.d.ts +0 -29
  575. package/dist/src/compiled/@workflow/core/serialization/workflow.d.ts +0 -29
  576. package/dist/src/compiled/@workflow/core/serialization-format.d.ts +0 -220
  577. package/dist/src/compiled/@workflow/core/serialization.d.ts +0 -641
  578. package/dist/src/compiled/@workflow/core/set-attributes.d.ts +0 -13
  579. package/dist/src/compiled/@workflow/core/set-error-stack.d.ts +0 -12
  580. package/dist/src/compiled/@workflow/core/sleep.d.ts +0 -33
  581. package/dist/src/compiled/@workflow/core/source-map.d.ts +0 -35
  582. package/dist/src/compiled/@workflow/core/state-resolver.d.ts +0 -44
  583. package/dist/src/compiled/@workflow/core/state.d.ts +0 -56
  584. package/dist/src/compiled/@workflow/core/step/context-storage.d.ts +0 -76
  585. package/dist/src/compiled/@workflow/core/step/get-closure-vars.d.ts +0 -9
  586. package/dist/src/compiled/@workflow/core/step/get-step-metadata.d.ts +0 -53
  587. package/dist/src/compiled/@workflow/core/step/get-workflow-metadata.d.ts +0 -7
  588. package/dist/src/compiled/@workflow/core/step/writable-stream.d.ts +0 -22
  589. package/dist/src/compiled/@workflow/core/step.d.ts +0 -4
  590. package/dist/src/compiled/@workflow/core/symbols.d.ts +0 -72
  591. package/dist/src/compiled/@workflow/core/telemetry/semantic-conventions.d.ts +0 -995
  592. package/dist/src/compiled/@workflow/core/telemetry.d.ts +0 -156
  593. package/dist/src/compiled/@workflow/core/test-support/append-only-world.d.ts +0 -458
  594. package/dist/src/compiled/@workflow/core/test-support/fence-snapshot.d.ts +0 -11
  595. package/dist/src/compiled/@workflow/core/test-support/load-events.d.ts +0 -8
  596. package/dist/src/compiled/@workflow/core/test-support/orchestrator-context.d.ts +0 -25
  597. package/dist/src/compiled/@workflow/core/test-support/orchestrator-harness.d.ts +0 -504
  598. package/dist/src/compiled/@workflow/core/types.d.ts +0 -43
  599. package/dist/src/compiled/@workflow/core/util.d.ts +0 -35
  600. package/dist/src/compiled/@workflow/core/version.d.ts +0 -2
  601. package/dist/src/compiled/@workflow/core/vm/index.d.ts +0 -17
  602. package/dist/src/compiled/@workflow/core/vm/script-cache.d.ts +0 -26
  603. package/dist/src/compiled/@workflow/core/vm/uint8array-base64.d.ts +0 -21
  604. package/dist/src/compiled/@workflow/core/vm/uuid.d.ts +0 -10
  605. package/dist/src/compiled/@workflow/core/workflow/abort-controller.d.ts +0 -65
  606. package/dist/src/compiled/@workflow/core/workflow/attribute-dispatcher.d.ts +0 -6
  607. package/dist/src/compiled/@workflow/core/workflow/create-hook.d.ts +0 -7
  608. package/dist/src/compiled/@workflow/core/workflow/define-hook.d.ts +0 -10
  609. package/dist/src/compiled/@workflow/core/workflow/get-workflow-metadata.d.ts +0 -32
  610. package/dist/src/compiled/@workflow/core/workflow/hook.d.ts +0 -15
  611. package/dist/src/compiled/@workflow/core/workflow/index.d.ts +0 -13
  612. package/dist/src/compiled/@workflow/core/workflow/set-attributes.d.ts +0 -72
  613. package/dist/src/compiled/@workflow/core/workflow/sleep.d.ts +0 -4
  614. package/dist/src/compiled/@workflow/core/workflow/world-init-stub.d.ts +0 -15
  615. package/dist/src/compiled/@workflow/core/workflow/writable-stream.d.ts +0 -3
  616. package/dist/src/compiled/@workflow/core/workflow.d.ts +0 -2
  617. package/dist/src/compiled/@workflow/errors/_ms.d.ts +0 -4
  618. package/dist/src/compiled/@workflow/errors/ansi.d.ts +0 -57
  619. package/dist/src/compiled/@workflow/errors/error-codes.d.ts +0 -29
  620. package/dist/src/compiled/@workflow/errors/index.d.ts +0 -842
  621. package/dist/src/compiled/@workflow/serde/index.d.ts +0 -30
  622. package/dist/src/compiled/@workflow/world/analytics.d.ts +0 -275
  623. package/dist/src/compiled/@workflow/world/attributes-validation.d.ts +0 -101
  624. package/dist/src/compiled/@workflow/world/attributes.d.ts +0 -18
  625. package/dist/src/compiled/@workflow/world/capabilities.d.ts +0 -37
  626. package/dist/src/compiled/@workflow/world/env-config.d.ts +0 -76
  627. package/dist/src/compiled/@workflow/world/event-metadata.d.ts +0 -132
  628. package/dist/src/compiled/@workflow/world/events.d.ts +0 -1292
  629. package/dist/src/compiled/@workflow/world/hooks.d.ts +0 -147
  630. package/dist/src/compiled/@workflow/world/index.d.ts +0 -37
  631. package/dist/src/compiled/@workflow/world/interfaces.d.ts +0 -938
  632. package/dist/src/compiled/@workflow/world/invocation.d.ts +0 -19
  633. package/dist/src/compiled/@workflow/world/node-http-flag.d.ts +0 -41
  634. package/dist/src/compiled/@workflow/world/node-http.d.ts +0 -81
  635. package/dist/src/compiled/@workflow/world/queue.d.ts +0 -888
  636. package/dist/src/compiled/@workflow/world/recovery.d.ts +0 -36
  637. package/dist/src/compiled/@workflow/world/runs.d.ts +0 -314
  638. package/dist/src/compiled/@workflow/world/serialization.d.ts +0 -25
  639. package/dist/src/compiled/@workflow/world/shared.d.ts +0 -122
  640. package/dist/src/compiled/@workflow/world/slot-identity.d.ts +0 -90
  641. package/dist/src/compiled/@workflow/world/snapshots.d.ts +0 -64
  642. package/dist/src/compiled/@workflow/world/spec-version.d.ts +0 -257
  643. package/dist/src/compiled/@workflow/world/start-hook.d.ts +0 -177
  644. package/dist/src/compiled/@workflow/world/steps.d.ts +0 -82
  645. package/dist/src/compiled/@workflow/world/test-support/atomic-start-hook-conformance.d.ts +0 -109
  646. package/dist/src/compiled/@workflow/world/test-support/duplicate-event-fixtures.d.ts +0 -44
  647. package/dist/src/compiled/@workflow/world/test-support/in-band-fence-conformance.d.ts +0 -51
  648. package/dist/src/compiled/@workflow/world/ulid.d.ts +0 -50
  649. package/dist/src/compiled/@workflow/world/waits.d.ts +0 -21
  650. package/dist/src/compiled/@workflow/world-local/index.d.ts +0 -15
  651. package/dist/src/compiled/_chunks/node/retry-DrgXNq3T.js +0 -1
  652. package/dist/src/compiled/_chunks/node/token-util-Bjo0BJMz.js +0 -25
  653. package/dist/src/compiled/_chunks/node/token-util-Dz7NR_Tr.js +0 -1
  654. package/dist/src/compiled/_chunks/workflow/chunk-5MU5Z6L3-YIxCtn7b.js +0 -1
  655. package/dist/src/compiled/_chunks/workflow/chunk-WVKEO4WS-BAUmOByS.js +0 -1
  656. package/dist/src/compiled/_chunks/workflow/delegation-DLl-shwK.js +0 -1
  657. package/dist/src/compiled/_chunks/workflow/delivery-BrRGuXkQ.js +0 -1
  658. package/dist/src/compiled/_chunks/workflow/dist-74tor0XD.js +0 -66
  659. package/dist/src/compiled/_chunks/workflow/dist-DxRkCvK_.js +0 -4
  660. package/dist/src/compiled/_chunks/workflow/dist-M6hOHh4e.js +0 -1
  661. package/dist/src/compiled/_chunks/workflow/esm-B-KJJdww.js +0 -1
  662. package/dist/src/compiled/_chunks/workflow/functions-C4nAezjk.js +0 -60
  663. package/dist/src/compiled/_chunks/workflow/getMachineId-linux-NDQO5XIJ-Df0-OceL.js +0 -1
  664. package/dist/src/compiled/_chunks/workflow/getMachineId-unsupported-4HKOBEHB-Cp1dgBjO.js +0 -1
  665. package/dist/src/compiled/_chunks/workflow/mcp-BwOs3XEw.js +0 -5
  666. package/dist/src/compiled/_chunks/workflow/resume-hook-C7lViLeL.js +0 -1
  667. package/dist/src/compiled/_chunks/workflow/rolldown-runtime-Bdq61TOx.js +0 -1
  668. package/dist/src/compiled/_chunks/workflow/run-CBoukBsx.js +0 -34
  669. package/dist/src/compiled/_chunks/workflow/serialization-C5CU_DM9.js +0 -12
  670. package/dist/src/compiled/_chunks/workflow/sleep-c59AMqRs.js +0 -1
  671. package/dist/src/compiled/_chunks/workflow/suspension-hooks-CBo2hPl5.js +0 -3
  672. package/dist/src/compiled/_chunks/workflow/token-D3jqBt4E.js +0 -1
  673. package/dist/src/compiled/_chunks/workflow/token-DdYeX5AJ.js +0 -1
  674. package/dist/src/compiled/_chunks/workflow/token-lvcx9AkX.js +0 -1
  675. package/dist/src/compiled/_chunks/workflow/token-util-cvUzLGvF.js +0 -1
  676. package/dist/src/compiled/_chunks/workflow/undici-Dq-ari9z.js +0 -95
  677. package/dist/src/compiled/_chunks/workflow/wrapper-D2LPJXTV.js +0 -8
  678. package/dist/src/compiled/chokidar/index.d.ts +0 -33
  679. package/dist/src/compiled/commander/index.d.ts +0 -1116
  680. package/dist/src/compiled/croner/index.d.ts +0 -8
  681. package/dist/src/compiled/env-runner/index.d.ts +0 -74
  682. package/dist/src/compiled/env-runner/node-worker.d.ts +0 -1
  683. package/dist/src/compiled/eventsource-parser/stream/errors.d.ts +0 -35
  684. package/dist/src/compiled/eventsource-parser/stream/index.d.ts +0 -76
  685. package/dist/src/compiled/eventsource-parser/stream/types.d.ts +0 -130
  686. package/dist/src/compiled/immer/index.d.ts +0 -10
  687. package/dist/src/compiled/js-yaml/index.d.ts +0 -31
  688. package/dist/src/compiled/json-schema/index.d.ts +0 -749
  689. package/dist/src/compiled/jsonc-parser/index.d.ts +0 -32
  690. package/dist/src/compiled/just-secrets/index.d.ts +0 -20
  691. package/dist/src/compiled/marked/index.d.ts +0 -24
  692. package/dist/src/compiled/picocolors/index.d.ts +0 -55
  693. package/dist/src/compiled/run/index.d.ts +0 -388
  694. package/dist/src/compiled/semver/index.d.ts +0 -29
  695. package/dist/src/compiled/shadcn-registry/index.d.ts +0 -58
  696. package/dist/src/compiled/zod-validation-error/index.d.ts +0 -12
  697. package/dist/src/compiler/artifact-contract.d.ts +0 -43
  698. package/dist/src/compiler/artifacts.d.ts +0 -80
  699. package/dist/src/compiler/bundled-extension.d.ts +0 -23
  700. package/dist/src/compiler/channel-route-plan.d.ts +0 -12
  701. package/dist/src/compiler/compile-agent.d.ts +0 -58
  702. package/dist/src/compiler/connection-ownership.d.ts +0 -6
  703. package/dist/src/compiler/default-tool-policy.d.ts +0 -9
  704. package/dist/src/compiler/development-extensions.d.ts +0 -23
  705. package/dist/src/compiler/diagnostics.d.ts +0 -27
  706. package/dist/src/compiler/extension-compatibility.d.ts +0 -32
  707. package/dist/src/compiler/extension-mount-bindings.d.ts +0 -5
  708. package/dist/src/compiler/model-catalog.d.ts +0 -22
  709. package/dist/src/compiler/module-lifecycle.d.ts +0 -14
  710. package/dist/src/compiler/node-source-state.d.ts +0 -27
  711. package/dist/src/compiler/normalize-agent-config.d.ts +0 -14
  712. package/dist/src/compiler/normalize-channel.d.ts +0 -23
  713. package/dist/src/compiler/normalize-connection.d.ts +0 -30
  714. package/dist/src/compiler/normalize-definitions.d.ts +0 -8
  715. package/dist/src/compiler/normalize-helpers.d.ts +0 -48
  716. package/dist/src/compiler/normalize-instructions.d.ts +0 -32
  717. package/dist/src/compiler/normalize-manifest-helpers.d.ts +0 -45
  718. package/dist/src/compiler/normalize-manifest-types.d.ts +0 -28
  719. package/dist/src/compiler/normalize-manifest.d.ts +0 -5
  720. package/dist/src/compiler/normalize-sandbox.d.ts +0 -4
  721. package/dist/src/compiler/normalize-schedule-collection.d.ts +0 -10
  722. package/dist/src/compiler/normalize-schedule.d.ts +0 -15
  723. package/dist/src/compiler/normalize-skill.d.ts +0 -28
  724. package/dist/src/compiler/normalize-subagent.d.ts +0 -16
  725. package/dist/src/compiler/normalize-tool.d.ts +0 -36
  726. package/dist/src/compiler/project-sources.d.ts +0 -66
  727. package/dist/src/compiler/resolve-workspace-subagent.d.ts +0 -13
  728. package/dist/src/compiler/validate-artifact.d.ts +0 -17
  729. package/dist/src/compiler/workspace-resources.d.ts +0 -14
  730. package/dist/src/computer-use/extension/lib/command-failure.d.ts +0 -7
  731. package/dist/src/computer-use/extension/lib/computer-use-driver-source.d.ts +0 -12
  732. package/dist/src/computer-use/extension/lib/computer-use.d.ts +0 -38
  733. package/dist/src/computer-use/extension/lib/shell.d.ts +0 -1
  734. package/dist/src/connections/ownership.d.ts +0 -18
  735. package/dist/src/context/build-base-tool-context.d.ts +0 -14
  736. package/dist/src/context/build-callback-context.d.ts +0 -15
  737. package/dist/src/context/key-names.d.ts +0 -14
  738. package/dist/src/context/prewarm.d.ts +0 -27
  739. package/dist/src/context/provider.d.ts +0 -30
  740. package/dist/src/context/providers/connection-key.d.ts +0 -9
  741. package/dist/src/context/providers/connection.d.ts +0 -4
  742. package/dist/src/context/providers/sandbox.d.ts +0 -10
  743. package/dist/src/context/providers/session.d.ts +0 -21
  744. package/dist/src/context/providers/tool-stubs-key.d.ts +0 -8
  745. package/dist/src/context/run-step.d.ts +0 -23
  746. package/dist/src/context/schedule-collection-tools.d.ts +0 -23
  747. package/dist/src/context/serialize.d.ts +0 -19
  748. package/dist/src/context/turn-principals.d.ts +0 -12
  749. package/dist/src/context/workflow-step.d.ts +0 -3
  750. package/dist/src/definitions/agent-definitions.d.ts +0 -57
  751. package/dist/src/definitions/agent.d.ts +0 -7
  752. package/dist/src/definitions/approvals.d.ts +0 -6
  753. package/dist/src/definitions/builtins.d.ts +0 -6
  754. package/dist/src/definitions/catalog.d.ts +0 -7
  755. package/dist/src/definitions/combine.d.ts +0 -9
  756. package/dist/src/definitions/compiled-agent.d.ts +0 -12
  757. package/dist/src/definitions/connections.d.ts +0 -21
  758. package/dist/src/definitions/continuation.d.ts +0 -19
  759. package/dist/src/definitions/frame.d.ts +0 -13
  760. package/dist/src/definitions/hooks.d.ts +0 -33
  761. package/dist/src/definitions/instructions.d.ts +0 -21
  762. package/dist/src/definitions/intents.d.ts +0 -33
  763. package/dist/src/definitions/messages.d.ts +0 -17
  764. package/dist/src/definitions/session-agent.d.ts +0 -26
  765. package/dist/src/definitions/skills.d.ts +0 -27
  766. package/dist/src/definitions/state.d.ts +0 -113
  767. package/dist/src/definitions/step.d.ts +0 -53
  768. package/dist/src/definitions/subagents.d.ts +0 -16
  769. package/dist/src/definitions/tools.d.ts +0 -33
  770. package/dist/src/definitions/turn.d.ts +0 -12
  771. package/dist/src/discover/bundled-extension.d.ts +0 -11
  772. package/dist/src/discover/connections.d.ts +0 -19
  773. package/dist/src/discover/discover-agent.d.ts +0 -87
  774. package/dist/src/discover/discover-subagent.d.ts +0 -35
  775. package/dist/src/discover/extension-specifier.d.ts +0 -17
  776. package/dist/src/discover/extensions.d.ts +0 -127
  777. package/dist/src/discover/filesystem.d.ts +0 -74
  778. package/dist/src/discover/grammar.d.ts +0 -196
  779. package/dist/src/discover/lib.d.ts +0 -35
  780. package/dist/src/discover/manifest.d.ts +0 -297
  781. package/dist/src/discover/markdown.d.ts +0 -19
  782. package/dist/src/discover/memory.d.ts +0 -13
  783. package/dist/src/discover/named-source-directory.d.ts +0 -98
  784. package/dist/src/discover/project-source.d.ts +0 -113
  785. package/dist/src/discover/project.d.ts +0 -33
  786. package/dist/src/discover/sandbox.d.ts +0 -32
  787. package/dist/src/discover/schedules.d.ts +0 -38
  788. package/dist/src/discover/skills.d.ts +0 -35
  789. package/dist/src/discover/slots.d.ts +0 -30
  790. package/dist/src/evals/abort.d.ts +0 -2
  791. package/dist/src/evals/assertions/scoped.d.ts +0 -17
  792. package/dist/src/evals/cli/eval-client.d.ts +0 -20
  793. package/dist/src/evals/cli/eval-state-directory.d.ts +0 -7
  794. package/dist/src/evals/cli/eval.d.ts +0 -31
  795. package/dist/src/evals/cli/filter.d.ts +0 -14
  796. package/dist/src/evals/context.d.ts +0 -21
  797. package/dist/src/evals/control-flow.d.ts +0 -9
  798. package/dist/src/evals/diagnostics.d.ts +0 -8
  799. package/dist/src/evals/expect/levenshtein.d.ts +0 -2
  800. package/dist/src/evals/judge.d.ts +0 -12
  801. package/dist/src/evals/output.d.ts +0 -3
  802. package/dist/src/evals/reported-tool-name.d.ts +0 -9
  803. package/dist/src/evals/runner/artifacts.d.ts +0 -12
  804. package/dist/src/evals/runner/attempt-label.d.ts +0 -2
  805. package/dist/src/evals/runner/derive-run-facts.d.ts +0 -16
  806. package/dist/src/evals/runner/discover.d.ts +0 -51
  807. package/dist/src/evals/runner/execute-eval.d.ts +0 -31
  808. package/dist/src/evals/runner/execute-task.d.ts +0 -38
  809. package/dist/src/evals/runner/reporters/assertion-diagnostics.d.ts +0 -3
  810. package/dist/src/evals/runner/reporters/assertion-scores.d.ts +0 -30
  811. package/dist/src/evals/runner/reporters/datadog-runtime-trace-links.d.ts +0 -11
  812. package/dist/src/evals/runner/resolve-git-metadata.d.ts +0 -16
  813. package/dist/src/evals/runner/run-evals.d.ts +0 -44
  814. package/dist/src/evals/runner/verdict.d.ts +0 -14
  815. package/dist/src/evals/session-cleanup.d.ts +0 -7
  816. package/dist/src/evals/session-content.d.ts +0 -5
  817. package/dist/src/eve-channel/audience.d.ts +0 -3
  818. package/dist/src/eve-channel/create-request.d.ts +0 -24
  819. package/dist/src/eve-channel/descendant-stream.d.ts +0 -9
  820. package/dist/src/eve-channel/request.d.ts +0 -43
  821. package/dist/src/eve-channel/stream-headers.d.ts +0 -1
  822. package/dist/src/eve-channel/turn-policy-request.d.ts +0 -2
  823. package/dist/src/execution/agent-sessions/message.d.ts +0 -4
  824. package/dist/src/execution/agent-sessions/metadata.d.ts +0 -8
  825. package/dist/src/execution/agent-sessions/remote-credentials.d.ts +0 -19
  826. package/dist/src/execution/agent-sessions/remote-session.d.ts +0 -16
  827. package/dist/src/execution/agent-sessions/remote.d.ts +0 -117
  828. package/dist/src/execution/agent-sessions/requests.d.ts +0 -22
  829. package/dist/src/execution/agent-sessions/session.d.ts +0 -12
  830. package/dist/src/execution/agent-sessions/sessions-over.d.ts +0 -29
  831. package/dist/src/execution/agent-sessions/steps.d.ts +0 -27
  832. package/dist/src/execution/agent-sessions/usage.d.ts +0 -10
  833. package/dist/src/execution/authorization-callback-match.d.ts +0 -14
  834. package/dist/src/execution/callback-hook-tokens.d.ts +0 -18
  835. package/dist/src/execution/cancelled-model-call-batch.d.ts +0 -17
  836. package/dist/src/execution/cancelled-turn-message.d.ts +0 -2
  837. package/dist/src/execution/catalog/catalog-tools.d.ts +0 -22
  838. package/dist/src/execution/catalog/connection-auth.d.ts +0 -43
  839. package/dist/src/execution/catalog/connection-entry.d.ts +0 -17
  840. package/dist/src/execution/catalog/listing.d.ts +0 -12
  841. package/dist/src/execution/catalog/rank.d.ts +0 -44
  842. package/dist/src/execution/catalog/search.d.ts +0 -28
  843. package/dist/src/execution/catalog/signatures.d.ts +0 -11
  844. package/dist/src/execution/catalog/step-catalog.d.ts +0 -74
  845. package/dist/src/execution/channel-context.d.ts +0 -5
  846. package/dist/src/execution/close-session-stream-step.d.ts +0 -9
  847. package/dist/src/execution/connections/callback-route.d.ts +0 -27
  848. package/dist/src/execution/continuation-conflict-step.d.ts +0 -8
  849. package/dist/src/execution/coordination-dispatch-step.d.ts +0 -20
  850. package/dist/src/execution/create-session-step.d.ts +0 -35
  851. package/dist/src/execution/delegated-session-context.d.ts +0 -2
  852. package/dist/src/execution/deliver-payloads.d.ts +0 -3
  853. package/dist/src/execution/dynamic-workflow/program-step.d.ts +0 -21
  854. package/dist/src/execution/dynamic-workflow/schema.d.ts +0 -42
  855. package/dist/src/execution/dynamic-workflow/security-step.d.ts +0 -3
  856. package/dist/src/execution/dynamic-workflow/tool.d.ts +0 -8
  857. package/dist/src/execution/dynamic-workflow/workflow.d.ts +0 -10
  858. package/dist/src/execution/effective-agent-config.d.ts +0 -29
  859. package/dist/src/execution/eve-workflow-attributes.d.ts +0 -159
  860. package/dist/src/execution/failure-summary.d.ts +0 -11
  861. package/dist/src/execution/forward-session-input.d.ts +0 -4
  862. package/dist/src/execution/framework-workflow-bodies.d.ts +0 -7
  863. package/dist/src/execution/hook-ownership.d.ts +0 -23
  864. package/dist/src/execution/hosts.d.ts +0 -131
  865. package/dist/src/execution/initial-session-values.d.ts +0 -17
  866. package/dist/src/execution/install-workflow-deployment-id.d.ts +0 -3
  867. package/dist/src/execution/install-workflow-world.d.ts +0 -15
  868. package/dist/src/execution/invoke-tool.d.ts +0 -39
  869. package/dist/src/execution/legacy-session/authorization.d.ts +0 -1
  870. package/dist/src/execution/legacy-session/completion-step.d.ts +0 -12
  871. package/dist/src/execution/legacy-session/inbox.d.ts +0 -24
  872. package/dist/src/execution/legacy-session/input.d.ts +0 -17
  873. package/dist/src/execution/legacy-session/interrupt-step.d.ts +0 -3
  874. package/dist/src/execution/legacy-session/prepare-step.d.ts +0 -24
  875. package/dist/src/execution/legacy-session/snapshot.d.ts +0 -21
  876. package/dist/src/execution/legacy-session/turn-workflow.d.ts +0 -8
  877. package/dist/src/execution/model-call-batching.d.ts +0 -12
  878. package/dist/src/execution/ndjson-stream.d.ts +0 -19
  879. package/dist/src/execution/node-step.d.ts +0 -78
  880. package/dist/src/execution/proxied-deliver-step.d.ts +0 -45
  881. package/dist/src/execution/public-destination.d.ts +0 -37
  882. package/dist/src/execution/reconcile-session-continuation-token.d.ts +0 -4
  883. package/dist/src/execution/report-dropped-wire-payload-step.d.ts +0 -13
  884. package/dist/src/execution/route-child-delivery.d.ts +0 -20
  885. package/dist/src/execution/run-host.d.ts +0 -52
  886. package/dist/src/execution/runtime-context.d.ts +0 -14
  887. package/dist/src/execution/sandbox/abort-bound-session.d.ts +0 -6
  888. package/dist/src/execution/sandbox/active-connections.d.ts +0 -28
  889. package/dist/src/execution/sandbox/bash.d.ts +0 -69
  890. package/dist/src/execution/sandbox/bindings/docker-base-setup.d.ts +0 -7
  891. package/dist/src/execution/sandbox/bindings/docker-connection.d.ts +0 -15
  892. package/dist/src/execution/sandbox/bindings/docker-container.d.ts +0 -18
  893. package/dist/src/execution/sandbox/bindings/docker-network.d.ts +0 -13
  894. package/dist/src/execution/sandbox/bindings/docker-options.d.ts +0 -20
  895. package/dist/src/execution/sandbox/bindings/docker-templates.d.ts +0 -41
  896. package/dist/src/execution/sandbox/bindings/docker-utils.d.ts +0 -2
  897. package/dist/src/execution/sandbox/bindings/docker.d.ts +0 -32
  898. package/dist/src/execution/sandbox/bindings/just-bash-runtime.d.ts +0 -26
  899. package/dist/src/execution/sandbox/bindings/just-bash.d.ts +0 -18
  900. package/dist/src/execution/sandbox/bindings/local-provider-utils.d.ts +0 -6
  901. package/dist/src/execution/sandbox/bindings/local-template-prune.d.ts +0 -16
  902. package/dist/src/execution/sandbox/bindings/local.d.ts +0 -22
  903. package/dist/src/execution/sandbox/bindings/vercel-base-runtime.d.ts +0 -12
  904. package/dist/src/execution/sandbox/bindings/vercel-create-sdk.d.ts +0 -19
  905. package/dist/src/execution/sandbox/bindings/vercel-credentials.d.ts +0 -10
  906. package/dist/src/execution/sandbox/bindings/vercel-errors.d.ts +0 -13
  907. package/dist/src/execution/sandbox/bindings/vercel-lifecycle.d.ts +0 -15
  908. package/dist/src/execution/sandbox/bindings/vercel-lookup.d.ts +0 -12
  909. package/dist/src/execution/sandbox/bindings/vercel-options.d.ts +0 -9
  910. package/dist/src/execution/sandbox/bindings/vercel-read-stream.d.ts +0 -5
  911. package/dist/src/execution/sandbox/bindings/vercel-sdk-types.d.ts +0 -5
  912. package/dist/src/execution/sandbox/bindings/vercel-tool-sessions.d.ts +0 -7
  913. package/dist/src/execution/sandbox/bindings/vercel.d.ts +0 -21
  914. package/dist/src/execution/sandbox/development-cleanup.d.ts +0 -4
  915. package/dist/src/execution/sandbox/development-lazy-prewarm.d.ts +0 -7
  916. package/dist/src/execution/sandbox/development-run.d.ts +0 -5
  917. package/dist/src/execution/sandbox/dockerfile.d.ts +0 -20
  918. package/dist/src/execution/sandbox/ensure.d.ts +0 -42
  919. package/dist/src/execution/sandbox/glob-tool.d.ts +0 -22
  920. package/dist/src/execution/sandbox/logging-session.d.ts +0 -5
  921. package/dist/src/execution/sandbox/multiplexed-command.d.ts +0 -38
  922. package/dist/src/execution/sandbox/prewarm.d.ts +0 -61
  923. package/dist/src/execution/sandbox/provider-files.d.ts +0 -2
  924. package/dist/src/execution/sandbox/provider-identity.d.ts +0 -1
  925. package/dist/src/execution/sandbox/read-file.d.ts +0 -35
  926. package/dist/src/execution/sandbox/require-sandbox.d.ts +0 -7
  927. package/dist/src/execution/sandbox/ripgrep-probe.d.ts +0 -2
  928. package/dist/src/execution/sandbox/shell-quote.d.ts +0 -1
  929. package/dist/src/execution/sandbox/stream-utils.d.ts +0 -9
  930. package/dist/src/execution/sandbox/truncate-output.d.ts +0 -69
  931. package/dist/src/execution/session/accepted-deployment.d.ts +0 -3
  932. package/dist/src/execution/session/active-turn.d.ts +0 -117
  933. package/dist/src/execution/session/admission.d.ts +0 -40
  934. package/dist/src/execution/session/answer-caller.d.ts +0 -19
  935. package/dist/src/execution/session/checkpoint-migrations.d.ts +0 -32
  936. package/dist/src/execution/session/checkpoint-refusal.d.ts +0 -4
  937. package/dist/src/execution/session/control-delivery.d.ts +0 -4
  938. package/dist/src/execution/session/delivery-facts.d.ts +0 -27
  939. package/dist/src/execution/session/end-sandbox-step.d.ts +0 -12
  940. package/dist/src/execution/session/entry.d.ts +0 -17
  941. package/dist/src/execution/session/finalization.d.ts +0 -35
  942. package/dist/src/execution/session/handoff-state.d.ts +0 -5
  943. package/dist/src/execution/session/handoff-steps.d.ts +0 -130
  944. package/dist/src/execution/session/handoff.d.ts +0 -124
  945. package/dist/src/execution/session/handover-tracing.d.ts +0 -3
  946. package/dist/src/execution/session/hook-tokens.d.ts +0 -11
  947. package/dist/src/execution/session/imported-conversation.d.ts +0 -2
  948. package/dist/src/execution/session/input-queue.d.ts +0 -101
  949. package/dist/src/execution/session/interrupted-step.d.ts +0 -69
  950. package/dist/src/execution/session/next-input.d.ts +0 -37
  951. package/dist/src/execution/session/owner-boot.d.ts +0 -31
  952. package/dist/src/execution/session/pending-history.d.ts +0 -5
  953. package/dist/src/execution/session/pending-turn-state.d.ts +0 -37
  954. package/dist/src/execution/session/pre-v27-checkpoint.d.ts +0 -42
  955. package/dist/src/execution/session/prewarm-step.d.ts +0 -13
  956. package/dist/src/execution/session/principal.d.ts +0 -22
  957. package/dist/src/execution/session/program.d.ts +0 -87
  958. package/dist/src/execution/session/route-selected-delivery.d.ts +0 -10
  959. package/dist/src/execution/session/run-watch.d.ts +0 -26
  960. package/dist/src/execution/session/settle-control-delivery-step.d.ts +0 -8
  961. package/dist/src/execution/session/settle-duplicate-delivery-step.d.ts +0 -8
  962. package/dist/src/execution/session/state-cursor.d.ts +0 -50
  963. package/dist/src/execution/session/state-delta.d.ts +0 -30
  964. package/dist/src/execution/session/step-decision-check.d.ts +0 -9
  965. package/dist/src/execution/session/step-state-delta.d.ts +0 -24
  966. package/dist/src/execution/session/task-tool-tracing-step.d.ts +0 -2
  967. package/dist/src/execution/session/timeout-control.d.ts +0 -31
  968. package/dist/src/execution/session/timeout-steps.d.ts +0 -14
  969. package/dist/src/execution/session/timeout-workflow.d.ts +0 -8
  970. package/dist/src/execution/session/timeout.d.ts +0 -2
  971. package/dist/src/execution/session/turn-control.d.ts +0 -17
  972. package/dist/src/execution/session/turn-event-handler.d.ts +0 -17
  973. package/dist/src/execution/session/turn-step-result.d.ts +0 -8
  974. package/dist/src/execution/session/turn-step-types.d.ts +0 -110
  975. package/dist/src/execution/session/turn-step.d.ts +0 -28
  976. package/dist/src/execution/session/turn.d.ts +0 -110
  977. package/dist/src/execution/session/workflow-host.d.ts +0 -7
  978. package/dist/src/execution/session-callback-request.d.ts +0 -14
  979. package/dist/src/execution/session-commands.d.ts +0 -7
  980. package/dist/src/execution/session-event-stream.d.ts +0 -65
  981. package/dist/src/execution/session-inbox/end-stranded-session.d.ts +0 -36
  982. package/dist/src/execution/session-inbox/handle.d.ts +0 -7
  983. package/dist/src/execution/session-inbox/hook-release.d.ts +0 -11
  984. package/dist/src/execution/session-inbox/owner.d.ts +0 -69
  985. package/dist/src/execution/session-inbox/pre-v27.d.ts +0 -5
  986. package/dist/src/execution/session-inbox/protocol.d.ts +0 -12
  987. package/dist/src/execution/session-inbox/resume.d.ts +0 -42
  988. package/dist/src/execution/session-inbox/runnable-owner.d.ts +0 -13
  989. package/dist/src/execution/session-inbox/stranded-replay-guard.d.ts +0 -16
  990. package/dist/src/execution/session-inbox/workflow-transport.d.ts +0 -10
  991. package/dist/src/execution/session-line-store.d.ts +0 -19
  992. package/dist/src/execution/session-workflow-tool-run.d.ts +0 -21
  993. package/dist/src/execution/session.d.ts +0 -27
  994. package/dist/src/execution/settle-cancelled-turn-step.d.ts +0 -32
  995. package/dist/src/execution/skills/instructions.d.ts +0 -29
  996. package/dist/src/execution/stable-workflow-names.d.ts +0 -6
  997. package/dist/src/execution/stop-runs.d.ts +0 -35
  998. package/dist/src/execution/tasks/model-step.d.ts +0 -54
  999. package/dist/src/execution/tasks/render.d.ts +0 -69
  1000. package/dist/src/execution/tasks/session.d.ts +0 -23
  1001. package/dist/src/execution/tasks/start.d.ts +0 -50
  1002. package/dist/src/execution/tasks/steps.d.ts +0 -39
  1003. package/dist/src/execution/tasks/task-id-input.d.ts +0 -19
  1004. package/dist/src/execution/tasks/tool-entry-point.d.ts +0 -11
  1005. package/dist/src/execution/tasks/workflow-target.d.ts +0 -2
  1006. package/dist/src/execution/terminal-session-completion-step.d.ts +0 -24
  1007. package/dist/src/execution/terminal-session-failure-step.d.ts +0 -14
  1008. package/dist/src/execution/terminate-child-sessions-step.d.ts +0 -12
  1009. package/dist/src/execution/tool-auth.d.ts +0 -17
  1010. package/dist/src/execution/tool-session/id.d.ts +0 -22
  1011. package/dist/src/execution/tool-stub-host.d.ts +0 -20
  1012. package/dist/src/execution/tool-stubs/playback.d.ts +0 -11
  1013. package/dist/src/execution/tool-stubs/steps.d.ts +0 -18
  1014. package/dist/src/execution/tools/channel-to.d.ts +0 -15
  1015. package/dist/src/execution/tools/file-state.d.ts +0 -56
  1016. package/dist/src/execution/tools/workflow/answer.d.ts +0 -10
  1017. package/dist/src/execution/tools/workflow/apply-run-messages-step.d.ts +0 -3
  1018. package/dist/src/execution/tools/workflow/apply-run-messages.d.ts +0 -36
  1019. package/dist/src/execution/tools/workflow/ask.d.ts +0 -79
  1020. package/dist/src/execution/tools/workflow/authorization-completion.d.ts +0 -3
  1021. package/dist/src/execution/tools/workflow/body.d.ts +0 -92
  1022. package/dist/src/execution/tools/workflow/cancellation-policy.d.ts +0 -2
  1023. package/dist/src/execution/tools/workflow/harness-definition.d.ts +0 -14
  1024. package/dist/src/execution/tools/workflow/interrupt.d.ts +0 -9
  1025. package/dist/src/execution/tools/workflow/owner-channels.d.ts +0 -29
  1026. package/dist/src/execution/tools/workflow/owner-inbox.d.ts +0 -13
  1027. package/dist/src/execution/tools/workflow/owner.d.ts +0 -36
  1028. package/dist/src/execution/tools/workflow/resume-hook-step.d.ts +0 -4
  1029. package/dist/src/execution/tools/workflow/resume-hook.d.ts +0 -4
  1030. package/dist/src/execution/tools/workflow/run.d.ts +0 -8
  1031. package/dist/src/execution/tools/workflow/serve.d.ts +0 -3
  1032. package/dist/src/execution/tools/workflow/start.d.ts +0 -51
  1033. package/dist/src/execution/tools/workflow/step.d.ts +0 -3
  1034. package/dist/src/execution/tools/workflow/types.d.ts +0 -10
  1035. package/dist/src/execution/tools/workflow/withdraw-step.d.ts +0 -29
  1036. package/dist/src/execution/tools/workflow/workflow-owner-blocking.d.ts +0 -23
  1037. package/dist/src/execution/tools/workflow/workflow-run-host.d.ts +0 -2
  1038. package/dist/src/execution/tools/workflow/workflow.d.ts +0 -3
  1039. package/dist/src/execution/v26-history.fixtures.d.ts +0 -4
  1040. package/dist/src/execution/web-fetch/execute.d.ts +0 -39
  1041. package/dist/src/execution/web-fetch/html.d.ts +0 -8
  1042. package/dist/src/execution/web-fetch/request.d.ts +0 -15
  1043. package/dist/src/execution/workflow-errors.d.ts +0 -19
  1044. package/dist/src/execution/workflow-host/dispatch-step.d.ts +0 -9
  1045. package/dist/src/execution/workflow-host/host.d.ts +0 -5
  1046. package/dist/src/execution/workflow-host/start-run.d.ts +0 -6
  1047. package/dist/src/execution/workflow-host/tool-stubs.d.ts +0 -7
  1048. package/dist/src/execution/workflow-host/turn-step.d.ts +0 -3
  1049. package/dist/src/execution/workflow-references.d.ts +0 -23
  1050. package/dist/src/execution/workflow-registry.d.ts +0 -5
  1051. package/dist/src/execution/workflow-runtime.d.ts +0 -41
  1052. package/dist/src/execution/workflow-webhook-route.d.ts +0 -4
  1053. package/dist/src/extensions/code/extension/hooks/authenticate.d.ts +0 -2
  1054. package/dist/src/extensions/code/extension/instructions/project.d.ts +0 -2
  1055. package/dist/src/extensions/code/extension/lib/command-failure.d.ts +0 -7
  1056. package/dist/src/extensions/code/extension/lib/connect-authentication.d.ts +0 -7
  1057. package/dist/src/extensions/code/extension/lib/project-instructions.d.ts +0 -13
  1058. package/dist/src/extensions/code/extension/lib/tooling.d.ts +0 -15
  1059. package/dist/src/extensions/custom-skills/extension/instructions/always-on.d.ts +0 -4
  1060. package/dist/src/extensions/custom-skills/extension/lib/lifecycle.d.ts +0 -122
  1061. package/dist/src/extensions/custom-skills/extension/lib/render.d.ts +0 -5
  1062. package/dist/src/extensions/custom-skills/extension/lib/runtime.d.ts +0 -26
  1063. package/dist/src/extensions/custom-skills/extension/lib/tool-support.d.ts +0 -102
  1064. package/dist/src/extensions/custom-skills/extension/skills/custom.d.ts +0 -9
  1065. package/dist/src/extensions/custom-skills/extension/tools/create.d.ts +0 -28
  1066. package/dist/src/extensions/custom-skills/extension/tools/list.d.ts +0 -60
  1067. package/dist/src/extensions/custom-skills/extension/tools/publish.d.ts +0 -36
  1068. package/dist/src/extensions/custom-skills/extension/tools/read.d.ts +0 -32
  1069. package/dist/src/extensions/custom-skills/extension/tools/remove.d.ts +0 -17
  1070. package/dist/src/extensions/custom-skills/extension/tools/set_mode.d.ts +0 -19
  1071. package/dist/src/extensions/git/extension/instructions/github.d.ts +0 -2
  1072. package/dist/src/extensions/git/extension/lib/connect-user-auth.d.ts +0 -15
  1073. package/dist/src/extensions/git/extension/lib/gh-tool.d.ts +0 -28
  1074. package/dist/src/extensions/git/extension/lib/github-guidance.d.ts +0 -4
  1075. package/dist/src/extensions/git/extension/lib/github-shell-schema.d.ts +0 -9
  1076. package/dist/src/extensions/git/extension/lib/repository-root.d.ts +0 -11
  1077. package/dist/src/extensions/git/extension/lib/sandbox-lease-lock.d.ts +0 -32
  1078. package/dist/src/extensions/git/extension/lib/shell.d.ts +0 -1
  1079. package/dist/src/extensions/git/extension/skills/pr.d.ts +0 -2
  1080. package/dist/src/extensions/git/extension/tools/gh.d.ts +0 -3
  1081. package/dist/src/framework/host-inventory.d.ts +0 -8
  1082. package/dist/src/framework/sources/default-tools.d.ts +0 -36
  1083. package/dist/src/framework/sources/modules/agent.d.ts +0 -5
  1084. package/dist/src/framework/sources/modules/eve-channel.d.ts +0 -1
  1085. package/dist/src/framework/sources/modules/home-channel.d.ts +0 -2
  1086. package/dist/src/framework/sources/modules/sandbox.d.ts +0 -3
  1087. package/dist/src/harness/action-presentation.d.ts +0 -18
  1088. package/dist/src/harness/action-result-helpers.d.ts +0 -52
  1089. package/dist/src/harness/approval-outcome.d.ts +0 -32
  1090. package/dist/src/harness/attachment-staging.d.ts +0 -47
  1091. package/dist/src/harness/call-facts.d.ts +0 -34
  1092. package/dist/src/harness/call-outcome.d.ts +0 -6
  1093. package/dist/src/harness/compaction/config.d.ts +0 -17
  1094. package/dist/src/harness/compaction/engine.d.ts +0 -64
  1095. package/dist/src/harness/compaction/over-limit-error.d.ts +0 -8
  1096. package/dist/src/harness/compaction/prompt.d.ts +0 -50
  1097. package/dist/src/harness/compaction/step.d.ts +0 -42
  1098. package/dist/src/harness/coordination.d.ts +0 -80
  1099. package/dist/src/harness/emission.d.ts +0 -40
  1100. package/dist/src/harness/execute-call.d.ts +0 -31
  1101. package/dist/src/harness/final-output.d.ts +0 -15
  1102. package/dist/src/harness/finish-reason.d.ts +0 -8
  1103. package/dist/src/harness/generation-steering.d.ts +0 -24
  1104. package/dist/src/harness/hitl/approval-prompt.d.ts +0 -10
  1105. package/dist/src/harness/hitl/approved-calls.d.ts +0 -51
  1106. package/dist/src/harness/hitl/budget.d.ts +0 -28
  1107. package/dist/src/harness/hitl/stale-responses.d.ts +0 -46
  1108. package/dist/src/harness/interaction-facts.d.ts +0 -42
  1109. package/dist/src/harness/interaction-relay.d.ts +0 -10
  1110. package/dist/src/harness/interruptible-stream.d.ts +0 -5
  1111. package/dist/src/harness/kernel.d.ts +0 -9
  1112. package/dist/src/harness/model-call/call.d.ts +0 -113
  1113. package/dist/src/harness/model-call/errors.d.ts +0 -94
  1114. package/dist/src/harness/model-call/failure.d.ts +0 -17
  1115. package/dist/src/harness/model-call/model.d.ts +0 -17
  1116. package/dist/src/harness/model-call/recovery.d.ts +0 -24
  1117. package/dist/src/harness/model-call/request.d.ts +0 -42
  1118. package/dist/src/harness/model-call/response.d.ts +0 -53
  1119. package/dist/src/harness/model-call/retry.d.ts +0 -28
  1120. package/dist/src/harness/model-call/run.d.ts +0 -33
  1121. package/dist/src/harness/model-call/tools.d.ts +0 -19
  1122. package/dist/src/harness/model-call/unique-call-ids.d.ts +0 -13
  1123. package/dist/src/harness/model-call/usage.d.ts +0 -26
  1124. package/dist/src/harness/ordered-stream-emitter.d.ts +0 -19
  1125. package/dist/src/harness/prompt-cache.d.ts +0 -71
  1126. package/dist/src/harness/provider-safety.d.ts +0 -15
  1127. package/dist/src/harness/provider-tool-history.d.ts +0 -31
  1128. package/dist/src/harness/provider-tool-schemas.d.ts +0 -23
  1129. package/dist/src/harness/provider-tools.d.ts +0 -39
  1130. package/dist/src/harness/publication.d.ts +0 -4
  1131. package/dist/src/harness/request-envelope.d.ts +0 -8
  1132. package/dist/src/harness/running-work.d.ts +0 -10
  1133. package/dist/src/harness/runtime-action-settlement-state.d.ts +0 -3
  1134. package/dist/src/harness/semantic-errors/index.d.ts +0 -9
  1135. package/dist/src/harness/semantic-errors/rule.d.ts +0 -83
  1136. package/dist/src/harness/semantic-errors/rules/gateway.d.ts +0 -11
  1137. package/dist/src/harness/semantic-errors/rules/model-provider.d.ts +0 -11
  1138. package/dist/src/harness/semantic-errors/rules/sandbox.d.ts +0 -14
  1139. package/dist/src/harness/semantic-errors/rules/system.d.ts +0 -2
  1140. package/dist/src/harness/semantic-errors/rules/workflow.d.ts +0 -9
  1141. package/dist/src/harness/semantic-errors/signals.d.ts +0 -31
  1142. package/dist/src/harness/session-machine/calls.d.ts +0 -16
  1143. package/dist/src/harness/session-machine/cascade.d.ts +0 -18
  1144. package/dist/src/harness/session-machine/children.d.ts +0 -11
  1145. package/dist/src/harness/session-machine/content.d.ts +0 -4
  1146. package/dist/src/harness/session-machine/context-changes.d.ts +0 -32
  1147. package/dist/src/harness/session-machine/deliveries.d.ts +0 -41
  1148. package/dist/src/harness/session-machine/lines.d.ts +0 -21
  1149. package/dist/src/harness/session-machine/runs.d.ts +0 -44
  1150. package/dist/src/harness/session-machine/waiting.d.ts +0 -16
  1151. package/dist/src/harness/session-stream-write-error.d.ts +0 -11
  1152. package/dist/src/harness/session-usage.d.ts +0 -22
  1153. package/dist/src/harness/step/after-model.d.ts +0 -29
  1154. package/dist/src/harness/step/park.d.ts +0 -19
  1155. package/dist/src/harness/step-hooks.d.ts +0 -103
  1156. package/dist/src/harness/stream-actions.d.ts +0 -17
  1157. package/dist/src/harness/token-estimate.d.ts +0 -13
  1158. package/dist/src/harness/tool-call-input-errors.d.ts +0 -40
  1159. package/dist/src/harness/tool-call-io.d.ts +0 -28
  1160. package/dist/src/harness/tool-history-repair.d.ts +0 -11
  1161. package/dist/src/harness/tool-model-output.d.ts +0 -59
  1162. package/dist/src/harness/tool-output-serialization.d.ts +0 -17
  1163. package/dist/src/harness/turn-cancellation.d.ts +0 -16
  1164. package/dist/src/harness/usage-sink.d.ts +0 -21
  1165. package/dist/src/harness/user-parts.d.ts +0 -4
  1166. package/dist/src/harness/workflow-admission.d.ts +0 -6
  1167. package/dist/src/harness/workflow-stream-error.d.ts +0 -22
  1168. package/dist/src/harness/workflow-tool-runs.d.ts +0 -28
  1169. package/dist/src/instrumentation/ai-sdk-hook-bridge.d.ts +0 -4
  1170. package/dist/src/instrumentation/ai-sdk-telemetry.d.ts +0 -35
  1171. package/dist/src/instrumentation/ai-sdk-warnings.d.ts +0 -6
  1172. package/dist/src/instrumentation/channel-delivery.d.ts +0 -5
  1173. package/dist/src/instrumentation/content-policy.d.ts +0 -7
  1174. package/dist/src/instrumentation/content.d.ts +0 -10
  1175. package/dist/src/instrumentation/decide.d.ts +0 -4
  1176. package/dist/src/instrumentation/decision-results.d.ts +0 -37
  1177. package/dist/src/instrumentation/dispatch.d.ts +0 -2
  1178. package/dist/src/instrumentation/parent-lineage.d.ts +0 -11
  1179. package/dist/src/instrumentation/principal-summary.d.ts +0 -13
  1180. package/dist/src/instrumentation/providers.d.ts +0 -13
  1181. package/dist/src/instrumentation/scope.d.ts +0 -18
  1182. package/dist/src/instrumentation/session-context.d.ts +0 -25
  1183. package/dist/src/instrumentation/setup-context.d.ts +0 -1
  1184. package/dist/src/instrumentation/trace-decision.d.ts +0 -5
  1185. package/dist/src/internal/a2a/execution.d.ts +0 -56
  1186. package/dist/src/internal/a2a/json-rpc.d.ts +0 -18
  1187. package/dist/src/internal/agent-name.d.ts +0 -2
  1188. package/dist/src/internal/application/build-output-environment.d.ts +0 -3
  1189. package/dist/src/internal/application/build-profile.d.ts +0 -67
  1190. package/dist/src/internal/application/build-workspace.d.ts +0 -35
  1191. package/dist/src/internal/application/compiled-artifacts.d.ts +0 -74
  1192. package/dist/src/internal/application/dev-environment.d.ts +0 -32
  1193. package/dist/src/internal/application/dev-transport.d.ts +0 -4
  1194. package/dist/src/internal/application/import-specifier.d.ts +0 -19
  1195. package/dist/src/internal/application/optional-package-import.d.ts +0 -24
  1196. package/dist/src/internal/application/optional-package-install.d.ts +0 -37
  1197. package/dist/src/internal/application/output-publication-artifacts.d.ts +0 -7
  1198. package/dist/src/internal/application/output-publication-journal.d.ts +0 -30
  1199. package/dist/src/internal/application/output-publication-lock.d.ts +0 -16
  1200. package/dist/src/internal/application/output-publication.d.ts +0 -33
  1201. package/dist/src/internal/application/package.d.ts +0 -63
  1202. package/dist/src/internal/application/paths.d.ts +0 -37
  1203. package/dist/src/internal/application/production-compiler-artifacts.d.ts +0 -4
  1204. package/dist/src/internal/application/runtime-compiled-artifacts-source.d.ts +0 -6
  1205. package/dist/src/internal/application/stamped-package-version.d.ts +0 -5
  1206. package/dist/src/internal/application/tsconfig-dependencies.d.ts +0 -7
  1207. package/dist/src/internal/attachments/data.d.ts +0 -37
  1208. package/dist/src/internal/attachments/errors.d.ts +0 -41
  1209. package/dist/src/internal/attachments/limited-read.d.ts +0 -18
  1210. package/dist/src/internal/attachments/media-metadata.d.ts +0 -40
  1211. package/dist/src/internal/attachments/public-link.d.ts +0 -5
  1212. package/dist/src/internal/attachments/read-media-metadata.d.ts +0 -7
  1213. package/dist/src/internal/attachments/sandbox-refs.d.ts +0 -52
  1214. package/dist/src/internal/attachments/url-refs.d.ts +0 -17
  1215. package/dist/src/internal/authored-asset-import-plugin.d.ts +0 -24
  1216. package/dist/src/internal/authored-definition/approval.d.ts +0 -8
  1217. package/dist/src/internal/authored-definition/channel.d.ts +0 -16
  1218. package/dist/src/internal/authored-definition/connection.d.ts +0 -18
  1219. package/dist/src/internal/authored-definition/core.d.ts +0 -49
  1220. package/dist/src/internal/authored-definition/hook.d.ts +0 -5
  1221. package/dist/src/internal/authored-definition/memory.d.ts +0 -5
  1222. package/dist/src/internal/authored-definition/schedule-collection.d.ts +0 -2
  1223. package/dist/src/internal/authored-definition/schema-backed.d.ts +0 -57
  1224. package/dist/src/internal/authored-definition/source-identity.d.ts +0 -32
  1225. package/dist/src/internal/authored-module-build-options.d.ts +0 -13
  1226. package/dist/src/internal/authored-module-bundle.d.ts +0 -4
  1227. package/dist/src/internal/authored-module-cache.d.ts +0 -10
  1228. package/dist/src/internal/authored-module-conditions.d.ts +0 -2
  1229. package/dist/src/internal/authored-module-evaluation-error.d.ts +0 -2
  1230. package/dist/src/internal/authored-module-map-loader.d.ts +0 -8
  1231. package/dist/src/internal/authored-package-tsconfig-paths.d.ts +0 -17
  1232. package/dist/src/internal/authored-relative-extension-resolver.d.ts +0 -14
  1233. package/dist/src/internal/authored-runtime-modules.d.ts +0 -25
  1234. package/dist/src/internal/bundler/authored-plugins.d.ts +0 -30
  1235. package/dist/src/internal/bundler/extension-mount-plugin.d.ts +0 -19
  1236. package/dist/src/internal/bundler/extension-scope-plugin.d.ts +0 -45
  1237. package/dist/src/internal/bundler/filters.d.ts +0 -33
  1238. package/dist/src/internal/bundler/pseudo-packages.d.ts +0 -21
  1239. package/dist/src/internal/bundler/rolldown.d.ts +0 -30
  1240. package/dist/src/internal/bundler/vendored-dependency-log.d.ts +0 -6
  1241. package/dist/src/internal/capability-error.d.ts +0 -3
  1242. package/dist/src/internal/classify-model-routing.d.ts +0 -23
  1243. package/dist/src/internal/client-context.d.ts +0 -2
  1244. package/dist/src/internal/compiled-manifest-fingerprint.d.ts +0 -5
  1245. package/dist/src/internal/dev-boot-progress.d.ts +0 -13
  1246. package/dist/src/internal/development-programmatic-source-loader.d.ts +0 -7
  1247. package/dist/src/internal/eve-project-root.d.ts +0 -5
  1248. package/dist/src/internal/external-resources-snapshot.d.ts +0 -46
  1249. package/dist/src/internal/external-resources.d.ts +0 -19
  1250. package/dist/src/internal/gateway.d.ts +0 -11
  1251. package/dist/src/internal/helpers/frontmatter.d.ts +0 -24
  1252. package/dist/src/internal/helpers/markdown.d.ts +0 -42
  1253. package/dist/src/internal/host-traced-dependencies.d.ts +0 -16
  1254. package/dist/src/internal/http/basic-auth.d.ts +0 -1
  1255. package/dist/src/internal/http/json-body.d.ts +0 -16
  1256. package/dist/src/internal/http/request-guards.d.ts +0 -34
  1257. package/dist/src/internal/input-text.d.ts +0 -13
  1258. package/dist/src/internal/installed-packages.d.ts +0 -28
  1259. package/dist/src/internal/instrumentation-layout.d.ts +0 -14
  1260. package/dist/src/internal/instrumentation.d.ts +0 -29
  1261. package/dist/src/internal/invocation/agent-invocation.d.ts +0 -53
  1262. package/dist/src/internal/invocation/attributes.d.ts +0 -2
  1263. package/dist/src/internal/invocation/metadata.d.ts +0 -7
  1264. package/dist/src/internal/invocation/owned-run.d.ts +0 -110
  1265. package/dist/src/internal/invocation/workflow-execution.d.ts +0 -30
  1266. package/dist/src/internal/materialized-authored-modules.d.ts +0 -21
  1267. package/dist/src/internal/mcp/forwarded-principal-header.d.ts +0 -31
  1268. package/dist/src/internal/mcp/protected-resource.d.ts +0 -10
  1269. package/dist/src/internal/mcp/published-tools.d.ts +0 -20
  1270. package/dist/src/internal/mcp/request-trace-context.d.ts +0 -12
  1271. package/dist/src/internal/mcp/skills.d.ts +0 -57
  1272. package/dist/src/internal/mcp/streamable-http-server.d.ts +0 -114
  1273. package/dist/src/internal/mock-model-identity.d.ts +0 -2
  1274. package/dist/src/internal/model-auth/api-key.d.ts +0 -7
  1275. package/dist/src/internal/model-auth/available-models.d.ts +0 -2
  1276. package/dist/src/internal/model-auth/development-broker-client.d.ts +0 -3
  1277. package/dist/src/internal/model-auth/development-broker-protocol.d.ts +0 -12
  1278. package/dist/src/internal/model-auth/development-broker-server.d.ts +0 -4
  1279. package/dist/src/internal/model-auth/gateway-credential.d.ts +0 -2
  1280. package/dist/src/internal/model-auth/store.d.ts +0 -16
  1281. package/dist/src/internal/model-auth/transport.d.ts +0 -8
  1282. package/dist/src/internal/model-auth/vercel-cli.d.ts +0 -9
  1283. package/dist/src/internal/model-auth/vercel-team.d.ts +0 -3
  1284. package/dist/src/internal/model-auth/vercel.d.ts +0 -13
  1285. package/dist/src/internal/nitro/dev-client-address.d.ts +0 -36
  1286. package/dist/src/internal/nitro/dev-runtime-artifacts-retention.d.ts +0 -11
  1287. package/dist/src/internal/nitro/dev-runtime-artifacts.d.ts +0 -49
  1288. package/dist/src/internal/nitro/dev-runtime-generation-metadata.d.ts +0 -13
  1289. package/dist/src/internal/nitro/dev-runtime-source-snapshot-copy.d.ts +0 -2
  1290. package/dist/src/internal/nitro/dev-runtime-source-snapshot-local-roots.d.ts +0 -14
  1291. package/dist/src/internal/nitro/dev-runtime-source-snapshot.d.ts +0 -38
  1292. package/dist/src/internal/nitro/development-generation.d.ts +0 -33
  1293. package/dist/src/internal/nitro/host/artifacts-config.d.ts +0 -21
  1294. package/dist/src/internal/nitro/host/build-application.d.ts +0 -5
  1295. package/dist/src/internal/nitro/host/build-deployment-id.d.ts +0 -8
  1296. package/dist/src/internal/nitro/host/build-extension.d.ts +0 -15
  1297. package/dist/src/internal/nitro/host/build-vercel-agent-summary.d.ts +0 -34
  1298. package/dist/src/internal/nitro/host/connection-drain-plugin.d.ts +0 -12
  1299. package/dist/src/internal/nitro/host/copy-host-middleware.d.ts +0 -12
  1300. package/dist/src/internal/nitro/host/create-host-nitro.d.ts +0 -7
  1301. package/dist/src/internal/nitro/host/dev-authored-rebuild-coordinator.d.ts +0 -40
  1302. package/dist/src/internal/nitro/host/dev-authored-source-watcher.d.ts +0 -24
  1303. package/dist/src/internal/nitro/host/dev-build-host.d.ts +0 -83
  1304. package/dist/src/internal/nitro/host/dev-build-operations.d.ts +0 -6
  1305. package/dist/src/internal/nitro/host/dev-build-process.d.ts +0 -1
  1306. package/dist/src/internal/nitro/host/dev-host-candidate.d.ts +0 -17
  1307. package/dist/src/internal/nitro/host/dev-host-fingerprint.d.ts +0 -6
  1308. package/dist/src/internal/nitro/host/dev-host-supervisor.d.ts +0 -61
  1309. package/dist/src/internal/nitro/host/dev-host-workspace.d.ts +0 -10
  1310. package/dist/src/internal/nitro/host/dev-runner.d.ts +0 -19
  1311. package/dist/src/internal/nitro/host/dev-server-http.d.ts +0 -5
  1312. package/dist/src/internal/nitro/host/dev-server-state.d.ts +0 -20
  1313. package/dist/src/internal/nitro/host/dev-server-url.d.ts +0 -6
  1314. package/dist/src/internal/nitro/host/dev-watcher-log.d.ts +0 -40
  1315. package/dist/src/internal/nitro/host/dev-worker-entry.d.ts +0 -1
  1316. package/dist/src/internal/nitro/host/dev-workflow-world-setup.d.ts +0 -10
  1317. package/dist/src/internal/nitro/host/dispatch-schedule-in-dev.d.ts +0 -46
  1318. package/dist/src/internal/nitro/host/extension-build-config.d.ts +0 -20
  1319. package/dist/src/internal/nitro/host/extension-build-lock.d.ts +0 -9
  1320. package/dist/src/internal/nitro/host/extension-declarations.d.ts +0 -10
  1321. package/dist/src/internal/nitro/host/extension-distribution.d.ts +0 -32
  1322. package/dist/src/internal/nitro/host/extension-external-dependencies.d.ts +0 -7
  1323. package/dist/src/internal/nitro/host/extension-state-usage.d.ts +0 -7
  1324. package/dist/src/internal/nitro/host/external-dependency-output-check.d.ts +0 -20
  1325. package/dist/src/internal/nitro/host/externals-policy.d.ts +0 -21
  1326. package/dist/src/internal/nitro/host/host-plugins.d.ts +0 -46
  1327. package/dist/src/internal/nitro/host/host-routes.d.ts +0 -100
  1328. package/dist/src/internal/nitro/host/host-spec.d.ts +0 -70
  1329. package/dist/src/internal/nitro/host/hosted-graph-plugin.d.ts +0 -44
  1330. package/dist/src/internal/nitro/host/instrumentation-entry.d.ts +0 -35
  1331. package/dist/src/internal/nitro/host/local-schedules-runtime-plugin.d.ts +0 -5
  1332. package/dist/src/internal/nitro/host/local-tracing-runtime.d.ts +0 -6
  1333. package/dist/src/internal/nitro/host/ports.d.ts +0 -18
  1334. package/dist/src/internal/nitro/host/prepare-application-host.d.ts +0 -26
  1335. package/dist/src/internal/nitro/host/route-handlers.d.ts +0 -65
  1336. package/dist/src/internal/nitro/host/runtime-plugin.d.ts +0 -17
  1337. package/dist/src/internal/nitro/host/sandbox-shutdown-plugin.d.ts +0 -32
  1338. package/dist/src/internal/nitro/host/skill-files-plugin.d.ts +0 -21
  1339. package/dist/src/internal/nitro/host/stage-build-deployment-id.d.ts +0 -2
  1340. package/dist/src/internal/nitro/host/start-development-server.d.ts +0 -20
  1341. package/dist/src/internal/nitro/host/start-production-server.d.ts +0 -9
  1342. package/dist/src/internal/nitro/host/timezone-schedules-runtime.d.ts +0 -13
  1343. package/dist/src/internal/nitro/host/types.d.ts +0 -91
  1344. package/dist/src/internal/nitro/host/vercel-build-output-config.d.ts +0 -49
  1345. package/dist/src/internal/nitro/host/vercel-build-prewarm.d.ts +0 -12
  1346. package/dist/src/internal/nitro/host/vercel-output.d.ts +0 -17
  1347. package/dist/src/internal/nitro/host/vercel-schedule-name.d.ts +0 -17
  1348. package/dist/src/internal/nitro/host/workflow-sandbox-runtime.d.ts +0 -2
  1349. package/dist/src/internal/nitro/host/workspace-extensions.d.ts +0 -31
  1350. package/dist/src/internal/nitro/host.d.ts +0 -4
  1351. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +0 -11
  1352. package/dist/src/internal/nitro/routes/agent-info/load-agent-info-data.d.ts +0 -25
  1353. package/dist/src/internal/nitro/routes/channel-dispatch.d.ts +0 -20
  1354. package/dist/src/internal/nitro/routes/channel-request-instrumentation.d.ts +0 -17
  1355. package/dist/src/internal/nitro/routes/channel-route-context.d.ts +0 -39
  1356. package/dist/src/internal/nitro/routes/connection-events.d.ts +0 -5
  1357. package/dist/src/internal/nitro/routes/dev-runtime-artifacts.d.ts +0 -10
  1358. package/dist/src/internal/nitro/routes/dev-schedule-dispatch.d.ts +0 -14
  1359. package/dist/src/internal/nitro/routes/index.d.ts +0 -14
  1360. package/dist/src/internal/nitro/routes/info.d.ts +0 -5
  1361. package/dist/src/internal/nitro/routes/method-guard.d.ts +0 -6
  1362. package/dist/src/internal/nitro/routes/route-invoke-tool.d.ts +0 -24
  1363. package/dist/src/internal/nitro/routes/runtime-artifacts.d.ts +0 -29
  1364. package/dist/src/internal/nitro/routes/runtime-stack.d.ts +0 -29
  1365. package/dist/src/internal/nitro/routes/schedule-collection-consumer.d.ts +0 -9
  1366. package/dist/src/internal/nitro/routes/schedule-task.d.ts +0 -24
  1367. package/dist/src/internal/node-esm-compat-banner.d.ts +0 -45
  1368. package/dist/src/internal/package-imports-hook.d.ts +0 -1
  1369. package/dist/src/internal/package-imports.d.ts +0 -2
  1370. package/dist/src/internal/package-name.d.ts +0 -8
  1371. package/dist/src/internal/project-context.d.ts +0 -31
  1372. package/dist/src/internal/resolve-model-endpoint-status.d.ts +0 -61
  1373. package/dist/src/internal/runtime-model.d.ts +0 -21
  1374. package/dist/src/internal/runtime-registry.d.ts +0 -76
  1375. package/dist/src/internal/schedules/consumer-route.d.ts +0 -19
  1376. package/dist/src/internal/schedules/dev-environment.d.ts +0 -2
  1377. package/dist/src/internal/schedules/disabled.d.ts +0 -2
  1378. package/dist/src/internal/schedules/verify-delivery.d.ts +0 -25
  1379. package/dist/src/internal/user-agent.d.ts +0 -13
  1380. package/dist/src/internal/vercel/api-resource.d.ts +0 -4
  1381. package/dist/src/internal/vercel/assemble-eve-services.d.ts +0 -18
  1382. package/dist/src/internal/vercel/build-agent-workspace.d.ts +0 -5
  1383. package/dist/src/internal/vercel/build-command.d.ts +0 -5
  1384. package/dist/src/internal/vercel/build-multi-agent-landing-page.d.ts +0 -3
  1385. package/dist/src/internal/vercel/eve-service-contribution.d.ts +0 -32
  1386. package/dist/src/internal/vercel/project-link.d.ts +0 -11
  1387. package/dist/src/internal/vercel/vercel-service-config-operations.d.ts +0 -18
  1388. package/dist/src/internal/vercel/vercel-service-name.d.ts +0 -6
  1389. package/dist/src/internal/vercel-agent-summary.d.ts +0 -248
  1390. package/dist/src/internal/workflow/builtins.d.ts +0 -34
  1391. package/dist/src/internal/workflow/cancel-expired-development-run.d.ts +0 -2
  1392. package/dist/src/internal/workflow/development-run-unavailable-error.d.ts +0 -15
  1393. package/dist/src/internal/workflow/development-runtime-compatibility.d.ts +0 -12
  1394. package/dist/src/internal/workflow/development-world-client.d.ts +0 -29
  1395. package/dist/src/internal/workflow/development-world-codec.d.ts +0 -12
  1396. package/dist/src/internal/workflow/development-world-protocol.d.ts +0 -36
  1397. package/dist/src/internal/workflow/development-world-server.d.ts +0 -29
  1398. package/dist/src/internal/workflow/index.d.ts +0 -6
  1399. package/dist/src/internal/workflow/local-world-data-directory.d.ts +0 -3
  1400. package/dist/src/internal/workflow/local-world-delivery-auth.d.ts +0 -17
  1401. package/dist/src/internal/workflow/local-world-delivery-timeouts.d.ts +0 -7
  1402. package/dist/src/internal/workflow/local-world-recovery.d.ts +0 -23
  1403. package/dist/src/internal/workflow/owner-deployment-deleted.d.ts +0 -9
  1404. package/dist/src/internal/workflow/queue-namespace.d.ts +0 -19
  1405. package/dist/src/internal/workflow/runtime.d.ts +0 -5
  1406. package/dist/src/internal/workflow/spec-version-default.d.ts +0 -9
  1407. package/dist/src/internal/workflow/start-claim.d.ts +0 -16
  1408. package/dist/src/internal/workflow/validate-world.d.ts +0 -16
  1409. package/dist/src/internal/workflow/vercel-world-defaults.d.ts +0 -4
  1410. package/dist/src/internal/workflow/world-compatibility.d.ts +0 -22
  1411. package/dist/src/internal/workflow/world-target.d.ts +0 -7
  1412. package/dist/src/internal/workflow-bundle/authored-workflow-directives.d.ts +0 -16
  1413. package/dist/src/internal/workflow-bundle/builder.d.ts +0 -26
  1414. package/dist/src/internal/workflow-bundle/flow-route.d.ts +0 -2
  1415. package/dist/src/internal/workflow-bundle/framework-driver-cache.d.ts +0 -30
  1416. package/dist/src/internal/workflow-bundle/nitro-step-entry.d.ts +0 -21
  1417. package/dist/src/internal/workflow-bundle/stable-module-id.d.ts +0 -6
  1418. package/dist/src/internal/workflow-bundle/workflow-core-shim.d.ts +0 -83
  1419. package/dist/src/internal/workflow-bundle/workflow-directive-ast.d.ts +0 -8
  1420. package/dist/src/internal/workflow-bundle/workflow-source-ast.d.ts +0 -6
  1421. package/dist/src/internal/workflow-bundle/workflow-transformer.d.ts +0 -37
  1422. package/dist/src/memory/definition.d.ts +0 -85
  1423. package/dist/src/protocol/baggage.d.ts +0 -26
  1424. package/dist/src/protocol/catalog-tools.d.ts +0 -12
  1425. package/dist/src/protocol/interaction-json.d.ts +0 -68
  1426. package/dist/src/protocol/remote-agent-protocol.d.ts +0 -45
  1427. package/dist/src/protocol/reply-tool.d.ts +0 -2
  1428. package/dist/src/protocol/reset-session.d.ts +0 -12
  1429. package/dist/src/protocol/routes.d.ts +0 -160
  1430. package/dist/src/protocol/runtime-tools.d.ts +0 -6
  1431. package/dist/src/protocol/session-events/common.d.ts +0 -105
  1432. package/dist/src/protocol/session-events/index.d.ts +0 -16
  1433. package/dist/src/protocol/session-events/schemas.d.ts +0 -320
  1434. package/dist/src/protocol/session-http.d.ts +0 -7
  1435. package/dist/src/protocol/session-lines.d.ts +0 -19
  1436. package/dist/src/protocol/session-projection/display-name.d.ts +0 -15
  1437. package/dist/src/protocol/session-projection/index.d.ts +0 -4
  1438. package/dist/src/protocol/session-projection/tree.d.ts +0 -72
  1439. package/dist/src/protocol/traceparent.d.ts +0 -24
  1440. package/dist/src/protocol/v26-interactions.d.ts +0 -11
  1441. package/dist/src/protocol/v26-lines.d.ts +0 -5
  1442. package/dist/src/public/channels/chat-sdk/attachment-refs.d.ts +0 -15
  1443. package/dist/src/public/channels/chat-sdk/audience.d.ts +0 -9
  1444. package/dist/src/public/channels/chat-sdk/authorization.d.ts +0 -6
  1445. package/dist/src/public/channels/chat-sdk/fetch-message.d.ts +0 -10
  1446. package/dist/src/public/channels/chat-sdk/input-actions.d.ts +0 -22
  1447. package/dist/src/public/channels/chat-sdk/reply-context.d.ts +0 -15
  1448. package/dist/src/public/channels/discord/attachments.d.ts +0 -15
  1449. package/dist/src/public/channels/discord/audience.d.ts +0 -14
  1450. package/dist/src/public/channels/discord/authorization.d.ts +0 -35
  1451. package/dist/src/public/channels/discord/gateway/forwarder.d.ts +0 -14
  1452. package/dist/src/public/channels/discord/hitl.d.ts +0 -48
  1453. package/dist/src/public/channels/discord/responses.d.ts +0 -11
  1454. package/dist/src/public/channels/discord/verifyInbound.d.ts +0 -6
  1455. package/dist/src/public/channels/github/checkout.d.ts +0 -53
  1456. package/dist/src/public/channels/github/constants.d.ts +0 -2
  1457. package/dist/src/public/channels/github/dispatch.d.ts +0 -61
  1458. package/dist/src/public/channels/github/limits.d.ts +0 -2
  1459. package/dist/src/public/channels/linear/constants.d.ts +0 -2
  1460. package/dist/src/public/channels/linear/hitl.d.ts +0 -9
  1461. package/dist/src/public/channels/linear/inbound-uploads.d.ts +0 -21
  1462. package/dist/src/public/channels/linq/inboundContent.d.ts +0 -17
  1463. package/dist/src/public/channels/photon/attachments.d.ts +0 -24
  1464. package/dist/src/public/channels/photon/inboundContent.d.ts +0 -11
  1465. package/dist/src/public/channels/reply.d.ts +0 -22
  1466. package/dist/src/public/channels/same-environment-oidc.d.ts +0 -7
  1467. package/dist/src/public/channels/slack/action-status.d.ts +0 -14
  1468. package/dist/src/public/channels/slack/answers.d.ts +0 -13
  1469. package/dist/src/public/channels/slack/app-manifest.d.ts +0 -14
  1470. package/dist/src/public/channels/slack/attachments.d.ts +0 -67
  1471. package/dist/src/public/channels/slack/auth.d.ts +0 -27
  1472. package/dist/src/public/channels/slack/connections.d.ts +0 -50
  1473. package/dist/src/public/channels/slack/constants.d.ts +0 -7
  1474. package/dist/src/public/channels/slack/inbound-content.d.ts +0 -4
  1475. package/dist/src/public/channels/slack/interaction-cards.d.ts +0 -34
  1476. package/dist/src/public/channels/slack/interactions.d.ts +0 -56
  1477. package/dist/src/public/channels/slack/limits.d.ts +0 -103
  1478. package/dist/src/public/channels/slack/model-context.d.ts +0 -34
  1479. package/dist/src/public/channels/slack/mrkdwn.d.ts +0 -2
  1480. package/dist/src/public/channels/slack/privacy.d.ts +0 -24
  1481. package/dist/src/public/channels/slack/private-approval-delivery.d.ts +0 -34
  1482. package/dist/src/public/channels/slack/request-card-render.d.ts +0 -51
  1483. package/dist/src/public/channels/slack/request-cards.d.ts +0 -36
  1484. package/dist/src/public/channels/slack/sign-in-cancel.d.ts +0 -18
  1485. package/dist/src/public/channels/slack/slash-command.d.ts +0 -13
  1486. package/dist/src/public/channels/slack/space.d.ts +0 -17
  1487. package/dist/src/public/channels/slack/task-card.d.ts +0 -24
  1488. package/dist/src/public/channels/slack/thread-status.d.ts +0 -33
  1489. package/dist/src/public/channels/slack/utils.d.ts +0 -1
  1490. package/dist/src/public/channels/teams/authorization.d.ts +0 -49
  1491. package/dist/src/public/channels/teams/hitl.d.ts +0 -73
  1492. package/dist/src/public/channels/teams/limits.d.ts +0 -8
  1493. package/dist/src/public/channels/teams/space.d.ts +0 -9
  1494. package/dist/src/public/channels/telegram/attachments.d.ts +0 -31
  1495. package/dist/src/public/channels/telegram/audience.d.ts +0 -10
  1496. package/dist/src/public/channels/telegram/authorization-callback.d.ts +0 -10
  1497. package/dist/src/public/channels/telegram/authorization.d.ts +0 -15
  1498. package/dist/src/public/channels/telegram/state.d.ts +0 -8
  1499. package/dist/src/public/channels/text.d.ts +0 -4
  1500. package/dist/src/public/channels/twilio/defaults.d.ts +0 -9
  1501. package/dist/src/public/channels/twilio/routing.d.ts +0 -14
  1502. package/dist/src/public/definitions/connections/protocol.d.ts +0 -12
  1503. package/dist/src/public/definitions/removed-event-keys.d.ts +0 -2
  1504. package/dist/src/public/memory/file/backends/default.d.ts +0 -7
  1505. package/dist/src/public/memory/file/backends/lazy.d.ts +0 -3
  1506. package/dist/src/public/models/openai/chatgpt/auth.d.ts +0 -4
  1507. package/dist/src/public/models/openai/chatgpt/codex-app-server.d.ts +0 -41
  1508. package/dist/src/public/models/openai/chatgpt/credential-store.d.ts +0 -28
  1509. package/dist/src/public/models/openai/chatgpt/model.d.ts +0 -9
  1510. package/dist/src/public/models/openai/chatgpt/oauth.d.ts +0 -22
  1511. package/dist/src/public/models/openai/chatgpt/token-broker.d.ts +0 -34
  1512. package/dist/src/public/models/openai/chatgpt/token.d.ts +0 -13
  1513. package/dist/src/public/models/openai/chatgpt/transport.d.ts +0 -15
  1514. package/dist/src/public/next/server.d.ts +0 -22
  1515. package/dist/src/public/next/vercel-output-config.d.ts +0 -19
  1516. package/dist/src/public/nuxt/production-origin.d.ts +0 -12
  1517. package/dist/src/public/schedules/testing.d.ts +0 -1
  1518. package/dist/src/runtime/actions/results.d.ts +0 -6
  1519. package/dist/src/runtime/agent/bootstrap-model-utils.d.ts +0 -47
  1520. package/dist/src/runtime/agent/bootstrap-model.d.ts +0 -7
  1521. package/dist/src/runtime/agent/mock-model-adapter.d.ts +0 -19
  1522. package/dist/src/runtime/agent/mock-model-fixtures.d.ts +0 -11
  1523. package/dist/src/runtime/agent/mock-model-skill-selection.d.ts +0 -11
  1524. package/dist/src/runtime/agent/mock-structured-output.d.ts +0 -5
  1525. package/dist/src/runtime/agent/resolve-model.d.ts +0 -35
  1526. package/dist/src/runtime/attributes/emit.d.ts +0 -32
  1527. package/dist/src/runtime/authorization-context.d.ts +0 -19
  1528. package/dist/src/runtime/cache-key.d.ts +0 -9
  1529. package/dist/src/runtime/connections/approval-scope.d.ts +0 -9
  1530. package/dist/src/runtime/connections/authorization-complete-page.d.ts +0 -23
  1531. package/dist/src/runtime/connections/authorization-tokens.d.ts +0 -50
  1532. package/dist/src/runtime/connections/events/actions.d.ts +0 -17
  1533. package/dist/src/runtime/connections/events/delivery.d.ts +0 -10
  1534. package/dist/src/runtime/connections/events/dispatch-step.d.ts +0 -20
  1535. package/dist/src/runtime/connections/events/lifecycle-step.d.ts +0 -42
  1536. package/dist/src/runtime/connections/events/owner.d.ts +0 -38
  1537. package/dist/src/runtime/connections/events/owners.d.ts +0 -15
  1538. package/dist/src/runtime/connections/events/path.d.ts +0 -4
  1539. package/dist/src/runtime/connections/events/state.d.ts +0 -37
  1540. package/dist/src/runtime/connections/events/workflow.d.ts +0 -28
  1541. package/dist/src/runtime/connections/instance-identity.d.ts +0 -9
  1542. package/dist/src/runtime/connections/mcp-client.d.ts +0 -88
  1543. package/dist/src/runtime/connections/mcp-tracing.d.ts +0 -14
  1544. package/dist/src/runtime/connections/openapi-client.d.ts +0 -42
  1545. package/dist/src/runtime/connections/openapi-operations.d.ts +0 -34
  1546. package/dist/src/runtime/connections/openapi-schema.d.ts +0 -44
  1547. package/dist/src/runtime/connections/openapi-security.d.ts +0 -42
  1548. package/dist/src/runtime/connections/openapi-spec.d.ts +0 -15
  1549. package/dist/src/runtime/connections/principal.d.ts +0 -73
  1550. package/dist/src/runtime/connections/provided-arguments.d.ts +0 -10
  1551. package/dist/src/runtime/connections/registry-types.d.ts +0 -14
  1552. package/dist/src/runtime/connections/registry.d.ts +0 -42
  1553. package/dist/src/runtime/connections/resolve-authorization.d.ts +0 -11
  1554. package/dist/src/runtime/connections/tool-result.d.ts +0 -27
  1555. package/dist/src/runtime/development-generation.d.ts +0 -8
  1556. package/dist/src/runtime/loaders/artifact-paths.d.ts +0 -21
  1557. package/dist/src/runtime/loaders/bundled-artifacts.d.ts +0 -40
  1558. package/dist/src/runtime/loaders/compile-metadata.d.ts +0 -14
  1559. package/dist/src/runtime/loaders/manifest.d.ts +0 -21
  1560. package/dist/src/runtime/loaders/model-metadata.d.ts +0 -4
  1561. package/dist/src/runtime/loaders/module-map.d.ts +0 -21
  1562. package/dist/src/runtime/prompt/compose.d.ts +0 -14
  1563. package/dist/src/runtime/resolve-agent-graph.d.ts +0 -17
  1564. package/dist/src/runtime/resolve-agent.d.ts +0 -18
  1565. package/dist/src/runtime/resolve-channel.d.ts +0 -17
  1566. package/dist/src/runtime/resolve-connection.d.ts +0 -20
  1567. package/dist/src/runtime/resolve-definition.d.ts +0 -24
  1568. package/dist/src/runtime/resolve-helpers.d.ts +0 -43
  1569. package/dist/src/runtime/resolve-sandbox.d.ts +0 -4
  1570. package/dist/src/runtime/resolve-tool.d.ts +0 -14
  1571. package/dist/src/runtime/sandbox/prepared-artifacts.d.ts +0 -12
  1572. package/dist/src/runtime/schedules/dispatch-occurrence.d.ts +0 -34
  1573. package/dist/src/runtime/schedules/load-collection.d.ts +0 -14
  1574. package/dist/src/runtime/schedules/named-scope.d.ts +0 -11
  1575. package/dist/src/runtime/schedules/payload.d.ts +0 -24
  1576. package/dist/src/runtime/schedules/queue-namespace.d.ts +0 -2
  1577. package/dist/src/runtime/schedules/record.d.ts +0 -4
  1578. package/dist/src/runtime/schedules/register.d.ts +0 -32
  1579. package/dist/src/runtime/schedules/resolve-schedule.d.ts +0 -31
  1580. package/dist/src/runtime/schedules/validation.d.ts +0 -6
  1581. package/dist/src/runtime/sessions/compiled-session-agent.d.ts +0 -13
  1582. package/dist/src/runtime/sessions/runtime-session.d.ts +0 -66
  1583. package/dist/src/runtime/subagents/workflow-reference.d.ts +0 -8
  1584. package/dist/src/runtime/validation.d.ts +0 -5
  1585. package/dist/src/runtime/workspace/seed-files.d.ts +0 -12
  1586. package/dist/src/runtime/workspace/spec.d.ts +0 -6
  1587. package/dist/src/sandbox/providers.d.ts +0 -4
  1588. package/dist/src/self-modification/credentials.d.ts +0 -6
  1589. package/dist/src/self-modification/deployed-sandbox.d.ts +0 -9
  1590. package/dist/src/self-modification/extension/classify-registry-item.d.ts +0 -22
  1591. package/dist/src/self-modification/extension/config-schema.d.ts +0 -10
  1592. package/dist/src/self-modification/extension/eve-add.d.ts +0 -61
  1593. package/dist/src/self-modification/extension/local-only.d.ts +0 -5
  1594. package/dist/src/self-modification/extension/subagents/agent/agent.d.ts +0 -30
  1595. package/dist/src/self-modification/extension/subagents/agent/instructions.d.ts +0 -2
  1596. package/dist/src/self-modification/extension/subagents/agent/sandbox.d.ts +0 -3
  1597. package/dist/src/self-modification/extension/subagents/agent/skills/trace_analysis.d.ts +0 -10
  1598. package/dist/src/self-modification/extension/subagents/agent/tools/edit_file.d.ts +0 -16
  1599. package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace.d.ts +0 -128
  1600. package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace_spans.d.ts +0 -80
  1601. package/dist/src/self-modification/extension/subagents/agent/tools/registry_add.d.ts +0 -56
  1602. package/dist/src/self-modification/extension/subagents/agent/tools/search_models.d.ts +0 -22
  1603. package/dist/src/self-modification/extension/subagents/agent/tools/search_registry.d.ts +0 -100
  1604. package/dist/src/self-modification/extension/subagents/agent/tools/search_traces.d.ts +0 -53
  1605. package/dist/src/self-modification/extension/trace-inspection.d.ts +0 -15
  1606. package/dist/src/self-modification/filesystem.d.ts +0 -7
  1607. package/dist/src/self-modification/git-workspace.d.ts +0 -31
  1608. package/dist/src/self-modification/git.d.ts +0 -10
  1609. package/dist/src/self-modification/github-publisher.d.ts +0 -28
  1610. package/dist/src/self-modification/identifiers.d.ts +0 -4
  1611. package/dist/src/self-modification/mode.d.ts +0 -13
  1612. package/dist/src/self-modification/network-policy.d.ts +0 -1
  1613. package/dist/src/self-modification/proposal.d.ts +0 -37
  1614. package/dist/src/self-modification/remote/config-schema.d.ts +0 -20
  1615. package/dist/src/self-modification/remote/production-registry-add.d.ts +0 -42
  1616. package/dist/src/self-modification/remote/subagents/agent/agent.d.ts +0 -7
  1617. package/dist/src/self-modification/remote/subagents/agent/instructions.d.ts +0 -2
  1618. package/dist/src/self-modification/remote/subagents/agent/sandbox.d.ts +0 -2
  1619. package/dist/src/self-modification/remote/subagents/agent/tools/edit_file.d.ts +0 -1
  1620. package/dist/src/self-modification/remote/subagents/agent/tools/publish.d.ts +0 -5
  1621. package/dist/src/self-modification/remote/subagents/agent/tools/registry_add.d.ts +0 -30
  1622. package/dist/src/self-modification/remote/subagents/agent/tools/search_models.d.ts +0 -1
  1623. package/dist/src/self-modification/remote/subagents/agent/tools/search_registry.d.ts +0 -1
  1624. package/dist/src/self-modification/scaffold.d.ts +0 -2
  1625. package/dist/src/self-modification/setup.d.ts +0 -48
  1626. package/dist/src/self-modification/subagent-guidance.d.ts +0 -15
  1627. package/dist/src/self-modification/workspace-lock.d.ts +0 -2
  1628. package/dist/src/services/dev-client/agent-info-probe.d.ts +0 -18
  1629. package/dist/src/services/dev-client/client-options.d.ts +0 -25
  1630. package/dist/src/services/dev-client/credential-gate.d.ts +0 -24
  1631. package/dist/src/services/dev-client/local-host.d.ts +0 -4
  1632. package/dist/src/services/dev-client/request-headers.d.ts +0 -54
  1633. package/dist/src/services/dev-client/runtime-artifacts.d.ts +0 -28
  1634. package/dist/src/services/dev-client/target.d.ts +0 -19
  1635. package/dist/src/services/dev-client/vercel-auth-error.d.ts +0 -34
  1636. package/dist/src/services/dev-client.d.ts +0 -42
  1637. package/dist/src/services/inspect-application.d.ts +0 -23
  1638. package/dist/src/setup/ai-gateway-api-key.d.ts +0 -16
  1639. package/dist/src/setup/append-env.d.ts +0 -22
  1640. package/dist/src/setup/ask-editable.d.ts +0 -22
  1641. package/dist/src/setup/ask-signals.d.ts +0 -23
  1642. package/dist/src/setup/ask.d.ts +0 -206
  1643. package/dist/src/setup/boxes/apply-ai-gateway-credential.d.ts +0 -29
  1644. package/dist/src/setup/boxes/deploy-project.d.ts +0 -73
  1645. package/dist/src/setup/boxes/detect-ai-gateway.d.ts +0 -17
  1646. package/dist/src/setup/boxes/link-project.d.ts +0 -34
  1647. package/dist/src/setup/boxes/model-capabilities.d.ts +0 -24
  1648. package/dist/src/setup/boxes/resolve-provisioning.d.ts +0 -76
  1649. package/dist/src/setup/boxes/select-model.d.ts +0 -14
  1650. package/dist/src/setup/cli/channel-setup-prompter.d.ts +0 -51
  1651. package/dist/src/setup/cli/command-output.d.ts +0 -12
  1652. package/dist/src/setup/cli/connection-add-prompter.d.ts +0 -8
  1653. package/dist/src/setup/cli/index.d.ts +0 -8
  1654. package/dist/src/setup/cli/option-row.d.ts +0 -100
  1655. package/dist/src/setup/cli/prompt-ui.d.ts +0 -160
  1656. package/dist/src/setup/cli/rail-log.d.ts +0 -51
  1657. package/dist/src/setup/cli/select-component.d.ts +0 -90
  1658. package/dist/src/setup/cli/select-option-codec.d.ts +0 -13
  1659. package/dist/src/setup/cli/select-state.d.ts +0 -87
  1660. package/dist/src/setup/cli/whimsy.d.ts +0 -16
  1661. package/dist/src/setup/connect-provisioning.d.ts +0 -33
  1662. package/dist/src/setup/connection-connector.d.ts +0 -45
  1663. package/dist/src/setup/flows/chatgpt-auth.d.ts +0 -15
  1664. package/dist/src/setup/flows/deploy.d.ts +0 -43
  1665. package/dist/src/setup/flows/ensure-vercel-project.d.ts +0 -23
  1666. package/dist/src/setup/flows/in-project.d.ts +0 -16
  1667. package/dist/src/setup/flows/install-vercel-cli.d.ts +0 -47
  1668. package/dist/src/setup/flows/link.d.ts +0 -63
  1669. package/dist/src/setup/flows/login.d.ts +0 -53
  1670. package/dist/src/setup/flows/model-login-connection.d.ts +0 -20
  1671. package/dist/src/setup/flows/model-login-options.d.ts +0 -59
  1672. package/dist/src/setup/flows/model-login-progress.d.ts +0 -7
  1673. package/dist/src/setup/flows/model-login.d.ts +0 -26
  1674. package/dist/src/setup/flows/model-source-change.d.ts +0 -44
  1675. package/dist/src/setup/flows/model.d.ts +0 -7
  1676. package/dist/src/setup/flows/provider.d.ts +0 -27
  1677. package/dist/src/setup/flows/registry-session.d.ts +0 -61
  1678. package/dist/src/setup/flows/registry.d.ts +0 -41
  1679. package/dist/src/setup/flows/vercel-model-login.d.ts +0 -5
  1680. package/dist/src/setup/headless.d.ts +0 -46
  1681. package/dist/src/setup/human-action.d.ts +0 -23
  1682. package/dist/src/setup/index.d.ts +0 -15
  1683. package/dist/src/setup/integrations/discord/api.d.ts +0 -23
  1684. package/dist/src/setup/integrations/discord/connect.d.ts +0 -24
  1685. package/dist/src/setup/integrations/discord/daemon.d.ts +0 -18
  1686. package/dist/src/setup/integrations/discord/setup.d.ts +0 -52
  1687. package/dist/src/setup/integrations/file-memory/setup.d.ts +0 -15
  1688. package/dist/src/setup/integrations/file-memory/vercel.d.ts +0 -103
  1689. package/dist/src/setup/integrations/github/connect.d.ts +0 -28
  1690. package/dist/src/setup/integrations/github/setup.d.ts +0 -44
  1691. package/dist/src/setup/integrations/linear/connect.d.ts +0 -42
  1692. package/dist/src/setup/integrations/linear/setup.d.ts +0 -31
  1693. package/dist/src/setup/integrations/linq/connect.d.ts +0 -31
  1694. package/dist/src/setup/integrations/linq/management.d.ts +0 -6
  1695. package/dist/src/setup/integrations/linq/setup.d.ts +0 -18
  1696. package/dist/src/setup/integrations/photon/connect.d.ts +0 -38
  1697. package/dist/src/setup/integrations/photon/management.d.ts +0 -42
  1698. package/dist/src/setup/integrations/photon/setup-flow.d.ts +0 -44
  1699. package/dist/src/setup/integrations/photon/setup.d.ts +0 -1
  1700. package/dist/src/setup/integrations/registry.d.ts +0 -4
  1701. package/dist/src/setup/integrations/runner.d.ts +0 -32
  1702. package/dist/src/setup/integrations/self-modification/setup.d.ts +0 -37
  1703. package/dist/src/setup/integrations/shared/environment.d.ts +0 -16
  1704. package/dist/src/setup/integrations/shared/prerequisite.d.ts +0 -25
  1705. package/dist/src/setup/integrations/shared/scaffold.d.ts +0 -20
  1706. package/dist/src/setup/integrations/shared/ui.d.ts +0 -26
  1707. package/dist/src/setup/integrations/shared/vercel-project.d.ts +0 -12
  1708. package/dist/src/setup/integrations/shopify/setup.d.ts +0 -21
  1709. package/dist/src/setup/integrations/shopify/templates.d.ts +0 -1
  1710. package/dist/src/setup/integrations/slack/setup.d.ts +0 -51
  1711. package/dist/src/setup/integrations/teams/connect.d.ts +0 -22
  1712. package/dist/src/setup/integrations/teams/setup.d.ts +0 -22
  1713. package/dist/src/setup/integrations/telegram/connect.d.ts +0 -27
  1714. package/dist/src/setup/integrations/telegram/management.d.ts +0 -6
  1715. package/dist/src/setup/integrations/telegram/setup.d.ts +0 -25
  1716. package/dist/src/setup/integrations/types.d.ts +0 -64
  1717. package/dist/src/setup/integrations/web/auth-options.d.ts +0 -4
  1718. package/dist/src/setup/integrations/web/auth-scaffold.d.ts +0 -7
  1719. package/dist/src/setup/integrations/web/framework.d.ts +0 -8
  1720. package/dist/src/setup/integrations/web/hosting.d.ts +0 -43
  1721. package/dist/src/setup/integrations/web/provision-auth.d.ts +0 -3
  1722. package/dist/src/setup/integrations/web/setup.d.ts +0 -25
  1723. package/dist/src/setup/path-exists.d.ts +0 -1
  1724. package/dist/src/setup/primitives/coding-agent-env.d.ts +0 -17
  1725. package/dist/src/setup/primitives/index.d.ts +0 -4
  1726. package/dist/src/setup/primitives/open-url.d.ts +0 -14
  1727. package/dist/src/setup/primitives/pm/bun.d.ts +0 -10
  1728. package/dist/src/setup/primitives/pm/index.d.ts +0 -11
  1729. package/dist/src/setup/primitives/pm/npm.d.ts +0 -10
  1730. package/dist/src/setup/primitives/pm/pnpm-build-policy.d.ts +0 -16
  1731. package/dist/src/setup/primitives/pm/pnpm.d.ts +0 -46
  1732. package/dist/src/setup/primitives/pm/process-result.d.ts +0 -35
  1733. package/dist/src/setup/primitives/pm/run.d.ts +0 -38
  1734. package/dist/src/setup/primitives/pm/shared.d.ts +0 -9
  1735. package/dist/src/setup/primitives/pm/types.d.ts +0 -53
  1736. package/dist/src/setup/primitives/pm/yarn.d.ts +0 -10
  1737. package/dist/src/setup/primitives/process-abort.d.ts +0 -7
  1738. package/dist/src/setup/primitives/process-output.d.ts +0 -25
  1739. package/dist/src/setup/primitives/run-vercel.d.ts +0 -79
  1740. package/dist/src/setup/project-name.d.ts +0 -5
  1741. package/dist/src/setup/project-resolution.d.ts +0 -65
  1742. package/dist/src/setup/prompter.d.ts +0 -274
  1743. package/dist/src/setup/provider-settings.d.ts +0 -25
  1744. package/dist/src/setup/question-options.d.ts +0 -15
  1745. package/dist/src/setup/quit-guard.d.ts +0 -48
  1746. package/dist/src/setup/registry-setup-client.d.ts +0 -21
  1747. package/dist/src/setup/registry-setup-completion.d.ts +0 -3
  1748. package/dist/src/setup/registry-setup-protocol.d.ts +0 -108
  1749. package/dist/src/setup/run-vercel-link.d.ts +0 -10
  1750. package/dist/src/setup/runner.d.ts +0 -52
  1751. package/dist/src/setup/scaffold/channels-catalog.d.ts +0 -31
  1752. package/dist/src/setup/scaffold/create/add-to-project.d.ts +0 -36
  1753. package/dist/src/setup/scaffold/create/agent-paths.d.ts +0 -5
  1754. package/dist/src/setup/scaffold/create/extension.d.ts +0 -30
  1755. package/dist/src/setup/scaffold/create/instructions-template.d.ts +0 -1
  1756. package/dist/src/setup/scaffold/create/web-template.d.ts +0 -99
  1757. package/dist/src/setup/scaffold/create-in-place.d.ts +0 -1
  1758. package/dist/src/setup/scaffold/files.d.ts +0 -10
  1759. package/dist/src/setup/scaffold/index.d.ts +0 -9
  1760. package/dist/src/setup/scaffold/update/dependencies.d.ts +0 -12
  1761. package/dist/src/setup/scaffold/update/module-files.d.ts +0 -3
  1762. package/dist/src/setup/scaffold/update/update-connection-connector.d.ts +0 -8
  1763. package/dist/src/setup/scaffold/update/update-slack-channel.d.ts +0 -23
  1764. package/dist/src/setup/scaffold/workspace-glob.d.ts +0 -4
  1765. package/dist/src/setup/setup-question-wire.d.ts +0 -48
  1766. package/dist/src/setup/slack-connect-create.d.ts +0 -49
  1767. package/dist/src/setup/slack-connect-lifecycle.d.ts +0 -160
  1768. package/dist/src/setup/slack-connect.d.ts +0 -79
  1769. package/dist/src/setup/slack-setup-plan.d.ts +0 -72
  1770. package/dist/src/setup/slackbot.d.ts +0 -125
  1771. package/dist/src/setup/state.d.ts +0 -183
  1772. package/dist/src/setup/step.d.ts +0 -49
  1773. package/dist/src/setup/validate-gateway-key.d.ts +0 -30
  1774. package/dist/src/setup/vercel-api-failure.d.ts +0 -7
  1775. package/dist/src/setup/vercel-deployment.d.ts +0 -60
  1776. package/dist/src/setup/vercel-project-api.d.ts +0 -45
  1777. package/dist/src/setup/vercel-project-framework.d.ts +0 -24
  1778. package/dist/src/setup/vercel-project.d.ts +0 -87
  1779. package/dist/src/setup/vercel-trace-sampling.d.ts +0 -3
  1780. package/dist/src/setup/verified-remote-agent.d.ts +0 -29
  1781. package/dist/src/setup/verified-remote-client.d.ts +0 -30
  1782. package/dist/src/setup/with-spinner.d.ts +0 -3
  1783. package/dist/src/shared/action-label.d.ts +0 -12
  1784. package/dist/src/shared/action-request-name.d.ts +0 -5
  1785. package/dist/src/shared/agent-info-access.d.ts +0 -5
  1786. package/dist/src/shared/answers-delivery-id.d.ts +0 -1
  1787. package/dist/src/shared/async-iterable.d.ts +0 -2
  1788. package/dist/src/shared/atomic-write-file.d.ts +0 -11
  1789. package/dist/src/shared/built-server-start-failure.d.ts +0 -16
  1790. package/dist/src/shared/chatgpt-model.d.ts +0 -16
  1791. package/dist/src/shared/continuation-token.d.ts +0 -2
  1792. package/dist/src/shared/conversation-identity.d.ts +0 -2
  1793. package/dist/src/shared/default-agent-model.d.ts +0 -14
  1794. package/dist/src/shared/dev-checks.d.ts +0 -8
  1795. package/dist/src/shared/development-env-files.d.ts +0 -4
  1796. package/dist/src/shared/errors.d.ts +0 -22
  1797. package/dist/src/shared/eve-route-path.d.ts +0 -4
  1798. package/dist/src/shared/extension-mount.d.ts +0 -2
  1799. package/dist/src/shared/extension-package-contract.d.ts +0 -16
  1800. package/dist/src/shared/format-duration.d.ts +0 -2
  1801. package/dist/src/shared/framework-eve-integration.d.ts +0 -33
  1802. package/dist/src/shared/gateway-model-catalog.d.ts +0 -44
  1803. package/dist/src/shared/gateway-routing.d.ts +0 -20
  1804. package/dist/src/shared/gateway-service-tier.d.ts +0 -20
  1805. package/dist/src/shared/git.d.ts +0 -16
  1806. package/dist/src/shared/guards.d.ts +0 -54
  1807. package/dist/src/shared/html-to-markdown.d.ts +0 -21
  1808. package/dist/src/shared/instrumentation-channel-kind.d.ts +0 -3
  1809. package/dist/src/shared/json-schemas.d.ts +0 -10
  1810. package/dist/src/shared/line-diff.d.ts +0 -11
  1811. package/dist/src/shared/map-concurrent.d.ts +0 -2
  1812. package/dist/src/shared/map-with-concurrency.d.ts +0 -2
  1813. package/dist/src/shared/memory-state.d.ts +0 -12
  1814. package/dist/src/shared/model-connection.d.ts +0 -17
  1815. package/dist/src/shared/model-endpoint-status.d.ts +0 -33
  1816. package/dist/src/shared/model-helper.d.ts +0 -26
  1817. package/dist/src/shared/model-summary.d.ts +0 -8
  1818. package/dist/src/shared/network-address.d.ts +0 -38
  1819. package/dist/src/shared/objects.d.ts +0 -5
  1820. package/dist/src/shared/package-name.d.ts +0 -4
  1821. package/dist/src/shared/path-exists.d.ts +0 -9
  1822. package/dist/src/shared/path-inside.d.ts +0 -2
  1823. package/dist/src/shared/poll-until.d.ts +0 -5
  1824. package/dist/src/shared/presentation-text.d.ts +0 -8
  1825. package/dist/src/shared/principal-scope.d.ts +0 -2
  1826. package/dist/src/shared/public-route-prefix.d.ts +0 -23
  1827. package/dist/src/shared/read-optional-file.d.ts +0 -2
  1828. package/dist/src/shared/rename-with-retry.d.ts +0 -5
  1829. package/dist/src/shared/resolve-eve-binary.d.ts +0 -12
  1830. package/dist/src/shared/restriction.d.ts +0 -13
  1831. package/dist/src/shared/result.d.ts +0 -12
  1832. package/dist/src/shared/run-errors.d.ts +0 -39
  1833. package/dist/src/shared/sandbox-prepared-artifacts.d.ts +0 -16
  1834. package/dist/src/shared/sandbox-recorded-data-error.d.ts +0 -4
  1835. package/dist/src/shared/sandbox-tool-session-error.d.ts +0 -4
  1836. package/dist/src/shared/schedule-collection-tools.d.ts +0 -11
  1837. package/dist/src/shared/schedule-timezone.d.ts +0 -6
  1838. package/dist/src/shared/session-auth.d.ts +0 -39
  1839. package/dist/src/shared/shell-quote.d.ts +0 -2
  1840. package/dist/src/shared/skill-package.d.ts +0 -49
  1841. package/dist/src/shared/skill-paths.d.ts +0 -24
  1842. package/dist/src/shared/text-boundaries.d.ts +0 -19
  1843. package/dist/src/shared/token-usage-math.d.ts +0 -5
  1844. package/dist/src/shared/trace-root.d.ts +0 -8
  1845. package/dist/src/shared/ulid.d.ts +0 -33
  1846. package/dist/src/shared/validate-authorization.d.ts +0 -21
  1847. package/dist/src/shared/value-delta.d.ts +0 -40
  1848. package/dist/src/shared/vercel-output-directory.d.ts +0 -2
  1849. package/dist/src/shared/vercel-project.d.ts +0 -27
  1850. package/dist/src/shared/wait-with-signal.d.ts +0 -2
  1851. package/dist/src/shared/workflow-function-id.d.ts +0 -2
  1852. package/dist/src/shared/workflow-sandbox.d.ts +0 -10
  1853. package/dist/src/shared/workflow-tool-context.d.ts +0 -2
  1854. package/dist/src/source-change/agent-config-ast.d.ts +0 -61
  1855. package/dist/src/source-change/agent-config-string-path.d.ts +0 -18
  1856. package/dist/src/source-change/apply-agent-model-settings.d.ts +0 -27
  1857. package/dist/src/source-change/apply-model-selection.d.ts +0 -15
  1858. package/dist/src/source-change/static-source-change.d.ts +0 -51
  1859. package/dist/src/subagents/adapter-state.d.ts +0 -39
  1860. package/dist/src/subagents/adapter.d.ts +0 -8
  1861. package/dist/src/subagents/callback-route.d.ts +0 -2
  1862. package/dist/src/subagents/event-proxy-step.d.ts +0 -23
  1863. package/dist/src/subagents/hitl-proxy.d.ts +0 -47
  1864. package/dist/src/subagents/parent-notification.d.ts +0 -47
  1865. package/dist/src/subagents/protocol-two-callback.d.ts +0 -27
  1866. package/dist/src/subagents/remote-route-url.d.ts +0 -2
  1867. package/dist/src/tool-stubs/execute.d.ts +0 -10
  1868. package/dist/src/tool-stubs/output.d.ts +0 -4
  1869. package/dist/src/tool-stubs/playback.d.ts +0 -15
  1870. package/dist/src/tool-stubs/rules.d.ts +0 -3
  1871. package/dist/src/tool-stubs/schema.d.ts +0 -4
  1872. package/dist/src/tool-stubs/target.d.ts +0 -8
  1873. package/dist/src/tool-stubs/validate-targets.d.ts +0 -6
  1874. package/dist/src/tools/agent-models.d.ts +0 -7
  1875. package/dist/src/tools/framework/agent-contract.d.ts +0 -4
  1876. package/dist/src/tools/provided/ask-question-body.d.ts +0 -10
  1877. package/dist/src/tools/provided/ask-question-workflow.d.ts +0 -4
  1878. package/dist/src/tools/provided/framework-tool.d.ts +0 -13
  1879. package/dist/src/tools/provided/sleep-workflow.d.ts +0 -4
  1880. package/dist/src/tools/provided/task-cancel.d.ts +0 -6
  1881. package/dist/src/tools/provided/task-wait.d.ts +0 -9
  1882. package/dist/src/tools/signature.d.ts +0 -16
  1883. package/dist/src/tools/tool-label.d.ts +0 -1
  1884. package/dist/src/tools/workflow-body.d.ts +0 -15
  1885. package/dist/src/tools/workflow-program-input.d.ts +0 -6
  1886. package/dist/src/tracing/eve/agent-approval-instrumentation.d.ts +0 -13
  1887. package/dist/src/tracing/eve/agent-channel-delivery-instrumentation.d.ts +0 -7
  1888. package/dist/src/tracing/eve/agent-memory-instrumentation.d.ts +0 -17
  1889. package/dist/src/tracing/eve/agent-otel-provider.d.ts +0 -30
  1890. package/dist/src/tracing/eve/agent-tool-instrumentation.d.ts +0 -43
  1891. package/dist/src/tracing/eve/agent-trace-context-store.d.ts +0 -24
  1892. package/dist/src/tracing/eve/agent-trace-context.d.ts +0 -3
  1893. package/dist/src/tracing/eve/agent-trace-state.d.ts +0 -70
  1894. package/dist/src/tracing/eve/batch-span-processor.d.ts +0 -25
  1895. package/dist/src/tracing/eve/channel-audience-context.d.ts +0 -4
  1896. package/dist/src/tracing/eve/connection-authorization.d.ts +0 -11
  1897. package/dist/src/tracing/eve/connection-events.d.ts +0 -25
  1898. package/dist/src/tracing/eve/content-span-processor.d.ts +0 -1
  1899. package/dist/src/tracing/eve/conversation-context.d.ts +0 -15
  1900. package/dist/src/tracing/eve/delegation.d.ts +0 -20
  1901. package/dist/src/tracing/eve/gateway.d.ts +0 -22
  1902. package/dist/src/tracing/eve/install-instrumentation-runtime.d.ts +0 -19
  1903. package/dist/src/tracing/eve/invoke-tool-span.d.ts +0 -63
  1904. package/dist/src/tracing/eve/mcp.d.ts +0 -30
  1905. package/dist/src/tracing/eve/metadata.d.ts +0 -7
  1906. package/dist/src/tracing/eve/operation-input.d.ts +0 -18
  1907. package/dist/src/tracing/eve/policy.d.ts +0 -15
  1908. package/dist/src/tracing/eve/profile.d.ts +0 -7
  1909. package/dist/src/tracing/eve/session.d.ts +0 -32
  1910. package/dist/src/tracing/eve/vercel-runtime-span-exporter.d.ts +0 -5
  1911. package/dist/src/tracing/local/agent-trace-span-processor.d.ts +0 -16
  1912. package/dist/src/tracing/local/inspection.d.ts +0 -15
  1913. package/dist/src/tracing/local/instrumentation-runtime.d.ts +0 -7
  1914. package/dist/src/tracing/local/trace-analysis.d.ts +0 -52
  1915. package/dist/src/tracing/local/trace-discovery-index.d.ts +0 -13
  1916. package/dist/src/tracing/local/trace-operations.d.ts +0 -13
  1917. package/dist/src/tracing/local/trace-query.d.ts +0 -18
  1918. package/dist/src/tracing/local/trace-reader.d.ts +0 -83
  1919. package/dist/src/tracing/local/trace-retention.d.ts +0 -67
  1920. package/dist/src/tracing/local/trace-span-processor.d.ts +0 -19
  1921. package/dist/src/tracing/local/trace-summary.d.ts +0 -31
  1922. package/dist/src/tracing/local/traces.d.ts +0 -27
  1923. /package/dist/src/compiled/_chunks/{workflow → node}/LogRecord-CbGROCJy.js +0 -0
  1924. /package/dist/src/compiled/_chunks/{workflow → node}/_eve-core-quickjs-entrypoint-stub-qIV0OaFz.js +0 -0
  1925. /package/dist/src/compiled/_chunks/{workflow → node}/global-singleton-BNinwFrL.js +0 -0
  1926. /package/dist/src/compiled/_chunks/{workflow → node}/private-DD2PSMRM.js +0 -0
  1927. /package/dist/src/compiled/_chunks/{workflow → node}/queue-auth-C7YIFJ-G.js +0 -0
  1928. /package/dist/src/compiled/_chunks/{workflow → node}/run-id-Ct9AjQDR.js +0 -0
  1929. /package/dist/src/compiled/_chunks/{workflow → node}/workflow-routes-BaljomCk.js +0 -0
@@ -1,1292 +0,0 @@
1
- import { z } from '#compiled/zod/index.js';
2
- import type { Hook } from './hooks.js';
3
- import type { StartedWorkflowRun, WorkflowRun } from './runs.js';
4
- import type { EventsResolveData, PaginatedResponse, PaginationOptions, ResolveData } from './shared.js';
5
- import type { StartedStep, Step } from './steps.js';
6
- import type { Wait } from './waits.js';
7
- export * from './event-metadata.js';
8
- export declare const EventTypeSchema: z.ZodEnum<{
9
- run_created: "run_created";
10
- run_started: "run_started";
11
- run_completed: "run_completed";
12
- run_failed: "run_failed";
13
- run_cancelled: "run_cancelled";
14
- attr_set: "attr_set";
15
- step_created: "step_created";
16
- step_completed: "step_completed";
17
- step_failed: "step_failed";
18
- step_retrying: "step_retrying";
19
- step_started: "step_started";
20
- hook_created: "hook_created";
21
- hook_received: "hook_received";
22
- hook_disposed: "hook_disposed";
23
- hook_conflict: "hook_conflict";
24
- wait_created: "wait_created";
25
- wait_completed: "wait_completed";
26
- noop: "noop";
27
- }>;
28
- export type EventType = z.infer<typeof EventTypeSchema>;
29
- declare const RunEventTypeSchema: z.ZodEnum<{
30
- run_created: "run_created";
31
- run_started: "run_started";
32
- run_completed: "run_completed";
33
- run_failed: "run_failed";
34
- run_cancelled: "run_cancelled";
35
- }>;
36
- export type RunEventType = z.infer<typeof RunEventTypeSchema>;
37
- export declare const RUN_EVENT_TYPES: ("run_created" | "run_started" | "run_completed" | "run_failed" | "run_cancelled")[];
38
- export declare function isRunEventType(eventType: string): eventType is RunEventType;
39
- export declare const TerminalRunEventTypeSchema: z.ZodEnum<{
40
- run_completed: "run_completed";
41
- run_failed: "run_failed";
42
- run_cancelled: "run_cancelled";
43
- }>;
44
- export type TerminalRunEventType = z.infer<typeof TerminalRunEventTypeSchema>;
45
- export declare const TERMINAL_RUN_EVENT_TYPES: ("run_completed" | "run_failed" | "run_cancelled")[];
46
- export declare function isTerminalRunEventType(eventType: string): eventType is TerminalRunEventType;
47
- declare const StepEventTypeSchema: z.ZodEnum<{
48
- step_created: "step_created";
49
- step_completed: "step_completed";
50
- step_failed: "step_failed";
51
- step_retrying: "step_retrying";
52
- step_started: "step_started";
53
- }>;
54
- export type StepEventType = z.infer<typeof StepEventTypeSchema>;
55
- export declare const STEP_EVENT_TYPES: ("step_created" | "step_completed" | "step_failed" | "step_retrying" | "step_started")[];
56
- export declare function isStepEventType(eventType: string): eventType is StepEventType;
57
- declare const TerminalStepEventTypeSchema: z.ZodEnum<{
58
- step_completed: "step_completed";
59
- step_failed: "step_failed";
60
- }>;
61
- export type TerminalStepEventType = z.infer<typeof TerminalStepEventTypeSchema>;
62
- export declare const TERMINAL_STEP_EVENT_TYPES: ("step_completed" | "step_failed")[];
63
- export declare function isTerminalStepEventType(eventType: string): eventType is TerminalStepEventType;
64
- declare const HookLifecycleEventTypeSchema: z.ZodEnum<{
65
- hook_created: "hook_created";
66
- hook_received: "hook_received";
67
- hook_disposed: "hook_disposed";
68
- }>;
69
- export type HookLifecycleEventType = z.infer<typeof HookLifecycleEventTypeSchema>;
70
- export declare const HOOK_LIFECYCLE_EVENT_TYPES: ("hook_created" | "hook_received" | "hook_disposed")[];
71
- export declare function isHookLifecycleEventType(eventType: string): eventType is HookLifecycleEventType;
72
- declare const HookEventRequiringExistenceTypeSchema: z.ZodEnum<{
73
- hook_received: "hook_received";
74
- hook_disposed: "hook_disposed";
75
- }>;
76
- export type HookEventRequiringExistenceType = z.infer<typeof HookEventRequiringExistenceTypeSchema>;
77
- export declare const HOOK_EVENTS_REQUIRING_EXISTENCE: ("hook_received" | "hook_disposed")[];
78
- export declare function isHookEventRequiringExistence(eventType: string): eventType is HookEventRequiringExistenceType;
79
- declare const WaitEventTypeSchema: z.ZodEnum<{
80
- wait_created: "wait_created";
81
- wait_completed: "wait_completed";
82
- }>;
83
- export type WaitEventType = z.infer<typeof WaitEventTypeSchema>;
84
- export declare const WAIT_EVENT_TYPES: ("wait_created" | "wait_completed")[];
85
- export declare function isWaitEventType(eventType: string): eventType is WaitEventType;
86
- declare const ChildEntityCreationEventTypeSchema: z.ZodEnum<{
87
- step_created: "step_created";
88
- hook_created: "hook_created";
89
- wait_created: "wait_created";
90
- }>;
91
- export type ChildEntityCreationEventType = z.infer<typeof ChildEntityCreationEventTypeSchema>;
92
- export declare const CHILD_ENTITY_CREATION_EVENT_TYPES: ("step_created" | "hook_created" | "wait_created")[];
93
- export declare function isChildEntityCreationEventType(eventType: string): eventType is ChildEntityCreationEventType;
94
- /**
95
- * Strip ref/payload fields from eventData based on resolveData setting.
96
- * When resolveData is 'none', removes only large data fields (refs) from
97
- * eventData while preserving metadata like stepName, workflowName, etc.
98
- */
99
- export declare function stripEventDataRefs(event: Event, resolveData: EventsResolveData): Event;
100
- export declare const BaseEventSchema: z.ZodObject<{
101
- eventType: z.ZodEnum<{
102
- run_created: "run_created";
103
- run_started: "run_started";
104
- run_completed: "run_completed";
105
- run_failed: "run_failed";
106
- run_cancelled: "run_cancelled";
107
- attr_set: "attr_set";
108
- step_created: "step_created";
109
- step_completed: "step_completed";
110
- step_failed: "step_failed";
111
- step_retrying: "step_retrying";
112
- step_started: "step_started";
113
- hook_created: "hook_created";
114
- hook_received: "hook_received";
115
- hook_disposed: "hook_disposed";
116
- hook_conflict: "hook_conflict";
117
- wait_created: "wait_created";
118
- wait_completed: "wait_completed";
119
- noop: "noop";
120
- }>;
121
- correlationId: z.ZodOptional<z.ZodString>;
122
- specVersion: z.ZodOptional<z.ZodNumber>;
123
- }, z.core.$strip>;
124
- /**
125
- * Event created when a hook is first invoked. The World implementation
126
- * atomically creates both the event and the hook entity.
127
- */
128
- export declare const HookCreatedEventSchema: z.ZodObject<{
129
- specVersion: z.ZodOptional<z.ZodNumber>;
130
- eventType: z.ZodLiteral<"hook_created">;
131
- correlationId: z.ZodString;
132
- eventData: z.ZodObject<{
133
- token: z.ZodString;
134
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
135
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
136
- isWebhook: z.ZodOptional<z.ZodBoolean>;
137
- isSystem: z.ZodOptional<z.ZodBoolean>;
138
- force: z.ZodOptional<z.ZodBoolean>;
139
- forceClaimedFrom: z.ZodOptional<z.ZodObject<{
140
- runId: z.ZodString;
141
- hookId: z.ZodString;
142
- workflowName: z.ZodOptional<z.ZodString>;
143
- deploymentId: z.ZodOptional<z.ZodString>;
144
- runSpecVersion: z.ZodOptional<z.ZodNumber>;
145
- }, z.core.$strip>>;
146
- }, z.core.$strip>;
147
- }, z.core.$strip>;
148
- declare const HookReceivedEventSchema: z.ZodObject<{
149
- specVersion: z.ZodOptional<z.ZodNumber>;
150
- eventType: z.ZodLiteral<"hook_received">;
151
- correlationId: z.ZodString;
152
- eventData: z.ZodObject<{
153
- token: z.ZodOptional<z.ZodString>;
154
- workflowName: z.ZodOptional<z.ZodString>;
155
- payload: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
156
- }, z.core.$strip>;
157
- }, z.core.$strip>;
158
- /**
159
- * Event created by World implementations when a hook_created request
160
- * conflicts with an existing hook token. This event is NOT user-creatable -
161
- * it is only returned by the World when a token conflict is detected.
162
- *
163
- * When the hook consumer sees this event, it should reject any awaited
164
- * promises with a HookTokenConflictError.
165
- */
166
- declare const HookConflictEventSchema: z.ZodObject<{
167
- specVersion: z.ZodOptional<z.ZodNumber>;
168
- eventType: z.ZodLiteral<"hook_conflict">;
169
- correlationId: z.ZodString;
170
- eventData: z.ZodObject<{
171
- token: z.ZodString;
172
- conflictingRunId: z.ZodOptional<z.ZodString>;
173
- forceRefusedReason: z.ZodOptional<z.ZodLiteral<"victim-spec-version">>;
174
- }, z.core.$strip>;
175
- }, z.core.$strip>;
176
- /**
177
- * Event created when a workflow run is first created. The World implementation
178
- * atomically creates both the event and the run entity with status 'pending'.
179
- */
180
- declare const RunCreatedEventSchema: z.ZodObject<{
181
- correlationId: z.ZodOptional<z.ZodString>;
182
- specVersion: z.ZodOptional<z.ZodNumber>;
183
- eventType: z.ZodLiteral<"run_created">;
184
- eventData: z.ZodObject<{
185
- deploymentId: z.ZodString;
186
- workflowName: z.ZodString;
187
- input: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
188
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
189
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
190
- allowReservedAttributes: z.ZodOptional<z.ZodLiteral<true>>;
191
- dynamicWorkflowCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
192
- dynamicWorkflowCodeRef: z.ZodOptional<z.ZodString>;
193
- encryptionPublicKey: z.ZodOptional<z.ZodString>;
194
- startHook: z.ZodOptional<z.ZodObject<{
195
- token: z.ZodString;
196
- hookId: z.ZodOptional<z.ZodString>;
197
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
198
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
199
- }, z.core.$strip>>;
200
- }, z.core.$strip>;
201
- }, z.core.$strip>;
202
- export declare const CreateEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
203
- correlationId: z.ZodOptional<z.ZodString>;
204
- specVersion: z.ZodOptional<z.ZodNumber>;
205
- eventType: z.ZodLiteral<"run_created">;
206
- eventData: z.ZodObject<{
207
- deploymentId: z.ZodString;
208
- workflowName: z.ZodString;
209
- input: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
210
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
211
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
212
- allowReservedAttributes: z.ZodOptional<z.ZodLiteral<true>>;
213
- dynamicWorkflowCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
214
- dynamicWorkflowCodeRef: z.ZodOptional<z.ZodString>;
215
- encryptionPublicKey: z.ZodOptional<z.ZodString>;
216
- startHook: z.ZodOptional<z.ZodObject<{
217
- token: z.ZodString;
218
- hookId: z.ZodOptional<z.ZodString>;
219
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
220
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
221
- }, z.core.$strip>>;
222
- }, z.core.$strip>;
223
- }, z.core.$strip>, z.ZodObject<{
224
- correlationId: z.ZodOptional<z.ZodString>;
225
- specVersion: z.ZodOptional<z.ZodNumber>;
226
- eventType: z.ZodLiteral<"run_started">;
227
- eventData: z.ZodOptional<z.ZodObject<{
228
- input: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
229
- deploymentId: z.ZodOptional<z.ZodString>;
230
- workflowName: z.ZodOptional<z.ZodString>;
231
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
232
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
233
- allowReservedAttributes: z.ZodOptional<z.ZodLiteral<true>>;
234
- encryptionPublicKey: z.ZodOptional<z.ZodString>;
235
- dynamicWorkflowCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
236
- dynamicWorkflowCodeRef: z.ZodOptional<z.ZodString>;
237
- startHook: z.ZodOptional<z.ZodObject<{
238
- token: z.ZodString;
239
- hookId: z.ZodOptional<z.ZodString>;
240
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
241
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
242
- }, z.core.$strip>>;
243
- }, z.core.$strip>>;
244
- }, z.core.$strip>, z.ZodObject<{
245
- correlationId: z.ZodOptional<z.ZodString>;
246
- specVersion: z.ZodOptional<z.ZodNumber>;
247
- eventType: z.ZodLiteral<"run_completed">;
248
- eventData: z.ZodObject<{
249
- output: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
250
- }, z.core.$strip>;
251
- }, z.core.$strip>, z.ZodObject<{
252
- correlationId: z.ZodOptional<z.ZodString>;
253
- specVersion: z.ZodOptional<z.ZodNumber>;
254
- eventType: z.ZodLiteral<"run_failed">;
255
- eventData: z.ZodObject<{
256
- error: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
257
- errorCode: z.ZodOptional<z.ZodString>;
258
- }, z.core.$strip>;
259
- }, z.core.$strip>, z.ZodObject<{
260
- correlationId: z.ZodOptional<z.ZodString>;
261
- specVersion: z.ZodOptional<z.ZodNumber>;
262
- eventType: z.ZodLiteral<"run_cancelled">;
263
- eventData: z.ZodOptional<z.ZodObject<{
264
- cancelReason: z.ZodOptional<z.ZodString>;
265
- }, z.core.$strip>>;
266
- }, z.core.$strip>, z.ZodObject<{
267
- specVersion: z.ZodOptional<z.ZodNumber>;
268
- eventType: z.ZodLiteral<"attr_set">;
269
- correlationId: z.ZodOptional<z.ZodString>;
270
- eventData: z.ZodObject<{
271
- changes: z.ZodArray<z.ZodObject<{
272
- key: z.ZodString;
273
- value: z.ZodNullable<z.ZodString>;
274
- }, z.core.$strip>>;
275
- writer: z.ZodDiscriminatedUnion<[z.ZodObject<{
276
- type: z.ZodLiteral<"workflow">;
277
- }, z.core.$strip>, z.ZodObject<{
278
- type: z.ZodLiteral<"step">;
279
- stepId: z.ZodString;
280
- attempt: z.ZodNumber;
281
- }, z.core.$strip>], "type">;
282
- allowReservedAttributes: z.ZodOptional<z.ZodLiteral<true>>;
283
- }, z.core.$strip>;
284
- }, z.core.$strip>, z.ZodObject<{
285
- specVersion: z.ZodOptional<z.ZodNumber>;
286
- eventType: z.ZodLiteral<"step_created">;
287
- correlationId: z.ZodString;
288
- eventData: z.ZodObject<{
289
- stepName: z.ZodString;
290
- workflowName: z.ZodOptional<z.ZodString>;
291
- input: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
292
- inline: z.ZodOptional<z.ZodBoolean>;
293
- creatorMessageId: z.ZodOptional<z.ZodString>;
294
- }, z.core.$strip>;
295
- }, z.core.$strip>, z.ZodObject<{
296
- specVersion: z.ZodOptional<z.ZodNumber>;
297
- eventType: z.ZodLiteral<"step_completed">;
298
- correlationId: z.ZodString;
299
- eventData: z.ZodObject<{
300
- ttfs: z.ZodOptional<z.ZodNumber>;
301
- stso: z.ZodOptional<z.ZodNumber>;
302
- stepCount: z.ZodOptional<z.ZodNumber>;
303
- eventCount: z.ZodOptional<z.ZodNumber>;
304
- rsfs: z.ZodOptional<z.ZodNumber>;
305
- finalSchedulingReplay: z.ZodOptional<z.ZodNumber>;
306
- optimizations: z.ZodOptional<z.ZodArray<z.ZodString>>;
307
- stepName: z.ZodOptional<z.ZodString>;
308
- workflowName: z.ZodOptional<z.ZodString>;
309
- result: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
310
- }, z.core.$strip>;
311
- }, z.core.$strip>, z.ZodObject<{
312
- specVersion: z.ZodOptional<z.ZodNumber>;
313
- eventType: z.ZodLiteral<"step_failed">;
314
- correlationId: z.ZodString;
315
- eventData: z.ZodObject<{
316
- ttfs: z.ZodOptional<z.ZodNumber>;
317
- stso: z.ZodOptional<z.ZodNumber>;
318
- stepCount: z.ZodOptional<z.ZodNumber>;
319
- eventCount: z.ZodOptional<z.ZodNumber>;
320
- rsfs: z.ZodOptional<z.ZodNumber>;
321
- finalSchedulingReplay: z.ZodOptional<z.ZodNumber>;
322
- optimizations: z.ZodOptional<z.ZodArray<z.ZodString>>;
323
- stepName: z.ZodOptional<z.ZodString>;
324
- error: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
325
- attempt: z.ZodOptional<z.ZodNumber>;
326
- }, z.core.$strip>;
327
- }, z.core.$strip>, z.ZodObject<{
328
- specVersion: z.ZodOptional<z.ZodNumber>;
329
- eventType: z.ZodLiteral<"step_retrying">;
330
- correlationId: z.ZodString;
331
- eventData: z.ZodObject<{
332
- stepName: z.ZodOptional<z.ZodString>;
333
- error: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
334
- retryAfter: z.ZodOptional<z.ZodCoercedDate<unknown>>;
335
- attempt: z.ZodOptional<z.ZodNumber>;
336
- creatorMessageId: z.ZodOptional<z.ZodString>;
337
- }, z.core.$strip>;
338
- }, z.core.$strip>, z.ZodObject<{
339
- specVersion: z.ZodOptional<z.ZodNumber>;
340
- eventType: z.ZodLiteral<"step_started">;
341
- correlationId: z.ZodString;
342
- eventData: z.ZodOptional<z.ZodObject<{
343
- stepName: z.ZodOptional<z.ZodString>;
344
- attempt: z.ZodOptional<z.ZodNumber>;
345
- workflowName: z.ZodOptional<z.ZodString>;
346
- input: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
347
- inline: z.ZodOptional<z.ZodBoolean>;
348
- ownerMessageId: z.ZodOptional<z.ZodString>;
349
- }, z.core.$strip>>;
350
- }, z.core.$strip>, z.ZodObject<{
351
- specVersion: z.ZodOptional<z.ZodNumber>;
352
- eventType: z.ZodLiteral<"hook_created">;
353
- correlationId: z.ZodString;
354
- eventData: z.ZodObject<{
355
- token: z.ZodString;
356
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
357
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
358
- isWebhook: z.ZodOptional<z.ZodBoolean>;
359
- isSystem: z.ZodOptional<z.ZodBoolean>;
360
- force: z.ZodOptional<z.ZodBoolean>;
361
- forceClaimedFrom: z.ZodOptional<z.ZodObject<{
362
- runId: z.ZodString;
363
- hookId: z.ZodString;
364
- workflowName: z.ZodOptional<z.ZodString>;
365
- deploymentId: z.ZodOptional<z.ZodString>;
366
- runSpecVersion: z.ZodOptional<z.ZodNumber>;
367
- }, z.core.$strip>>;
368
- }, z.core.$strip>;
369
- }, z.core.$strip>, z.ZodObject<{
370
- specVersion: z.ZodOptional<z.ZodNumber>;
371
- eventType: z.ZodLiteral<"hook_received">;
372
- correlationId: z.ZodString;
373
- eventData: z.ZodObject<{
374
- token: z.ZodOptional<z.ZodString>;
375
- workflowName: z.ZodOptional<z.ZodString>;
376
- payload: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
377
- }, z.core.$strip>;
378
- }, z.core.$strip>, z.ZodObject<{
379
- specVersion: z.ZodOptional<z.ZodNumber>;
380
- eventType: z.ZodLiteral<"hook_disposed">;
381
- correlationId: z.ZodString;
382
- eventData: z.ZodOptional<z.ZodObject<{
383
- token: z.ZodOptional<z.ZodString>;
384
- forceClaimedBy: z.ZodOptional<z.ZodObject<{
385
- runId: z.ZodString;
386
- hookId: z.ZodString;
387
- }, z.core.$strip>>;
388
- }, z.core.$strip>>;
389
- }, z.core.$strip>, z.ZodObject<{
390
- specVersion: z.ZodOptional<z.ZodNumber>;
391
- eventType: z.ZodLiteral<"wait_created">;
392
- correlationId: z.ZodString;
393
- eventData: z.ZodObject<{
394
- resumeAt: z.ZodCoercedDate<unknown>;
395
- creatorMessageId: z.ZodOptional<z.ZodString>;
396
- }, z.core.$strip>;
397
- }, z.core.$strip>, z.ZodObject<{
398
- specVersion: z.ZodOptional<z.ZodNumber>;
399
- eventType: z.ZodLiteral<"wait_completed">;
400
- correlationId: z.ZodString;
401
- eventData: z.ZodOptional<z.ZodObject<{
402
- resumeAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
403
- }, z.core.$strip>>;
404
- }, z.core.$strip>], "eventType">;
405
- export declare const EventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
406
- correlationId: z.ZodOptional<z.ZodString>;
407
- specVersion: z.ZodOptional<z.ZodNumber>;
408
- eventType: z.ZodLiteral<"run_created">;
409
- eventData: z.ZodObject<{
410
- deploymentId: z.ZodString;
411
- workflowName: z.ZodString;
412
- input: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
413
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
414
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
415
- allowReservedAttributes: z.ZodOptional<z.ZodLiteral<true>>;
416
- dynamicWorkflowCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
417
- dynamicWorkflowCodeRef: z.ZodOptional<z.ZodString>;
418
- encryptionPublicKey: z.ZodOptional<z.ZodString>;
419
- startHook: z.ZodOptional<z.ZodObject<{
420
- token: z.ZodString;
421
- hookId: z.ZodOptional<z.ZodString>;
422
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
423
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
424
- }, z.core.$strip>>;
425
- }, z.core.$strip>;
426
- }, z.core.$strip>, z.ZodObject<{
427
- correlationId: z.ZodOptional<z.ZodString>;
428
- specVersion: z.ZodOptional<z.ZodNumber>;
429
- eventType: z.ZodLiteral<"run_started">;
430
- eventData: z.ZodOptional<z.ZodObject<{
431
- input: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
432
- deploymentId: z.ZodOptional<z.ZodString>;
433
- workflowName: z.ZodOptional<z.ZodString>;
434
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
435
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
436
- allowReservedAttributes: z.ZodOptional<z.ZodLiteral<true>>;
437
- encryptionPublicKey: z.ZodOptional<z.ZodString>;
438
- dynamicWorkflowCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
439
- dynamicWorkflowCodeRef: z.ZodOptional<z.ZodString>;
440
- startHook: z.ZodOptional<z.ZodObject<{
441
- token: z.ZodString;
442
- hookId: z.ZodOptional<z.ZodString>;
443
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
444
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
445
- }, z.core.$strip>>;
446
- }, z.core.$strip>>;
447
- }, z.core.$strip>, z.ZodObject<{
448
- correlationId: z.ZodOptional<z.ZodString>;
449
- specVersion: z.ZodOptional<z.ZodNumber>;
450
- eventType: z.ZodLiteral<"run_completed">;
451
- eventData: z.ZodObject<{
452
- output: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
453
- }, z.core.$strip>;
454
- }, z.core.$strip>, z.ZodObject<{
455
- correlationId: z.ZodOptional<z.ZodString>;
456
- specVersion: z.ZodOptional<z.ZodNumber>;
457
- eventType: z.ZodLiteral<"run_failed">;
458
- eventData: z.ZodObject<{
459
- error: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
460
- errorCode: z.ZodOptional<z.ZodString>;
461
- }, z.core.$strip>;
462
- }, z.core.$strip>, z.ZodObject<{
463
- correlationId: z.ZodOptional<z.ZodString>;
464
- specVersion: z.ZodOptional<z.ZodNumber>;
465
- eventType: z.ZodLiteral<"run_cancelled">;
466
- eventData: z.ZodOptional<z.ZodObject<{
467
- cancelReason: z.ZodOptional<z.ZodString>;
468
- }, z.core.$strip>>;
469
- }, z.core.$strip>, z.ZodObject<{
470
- specVersion: z.ZodOptional<z.ZodNumber>;
471
- eventType: z.ZodLiteral<"attr_set">;
472
- correlationId: z.ZodOptional<z.ZodString>;
473
- eventData: z.ZodObject<{
474
- changes: z.ZodArray<z.ZodObject<{
475
- key: z.ZodString;
476
- value: z.ZodNullable<z.ZodString>;
477
- }, z.core.$strip>>;
478
- writer: z.ZodDiscriminatedUnion<[z.ZodObject<{
479
- type: z.ZodLiteral<"workflow">;
480
- }, z.core.$strip>, z.ZodObject<{
481
- type: z.ZodLiteral<"step">;
482
- stepId: z.ZodString;
483
- attempt: z.ZodNumber;
484
- }, z.core.$strip>], "type">;
485
- allowReservedAttributes: z.ZodOptional<z.ZodLiteral<true>>;
486
- }, z.core.$strip>;
487
- }, z.core.$strip>, z.ZodObject<{
488
- specVersion: z.ZodOptional<z.ZodNumber>;
489
- eventType: z.ZodLiteral<"step_created">;
490
- correlationId: z.ZodString;
491
- eventData: z.ZodObject<{
492
- stepName: z.ZodString;
493
- workflowName: z.ZodOptional<z.ZodString>;
494
- input: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
495
- inline: z.ZodOptional<z.ZodBoolean>;
496
- creatorMessageId: z.ZodOptional<z.ZodString>;
497
- }, z.core.$strip>;
498
- }, z.core.$strip>, z.ZodObject<{
499
- specVersion: z.ZodOptional<z.ZodNumber>;
500
- eventType: z.ZodLiteral<"step_completed">;
501
- correlationId: z.ZodString;
502
- eventData: z.ZodObject<{
503
- ttfs: z.ZodOptional<z.ZodNumber>;
504
- stso: z.ZodOptional<z.ZodNumber>;
505
- stepCount: z.ZodOptional<z.ZodNumber>;
506
- eventCount: z.ZodOptional<z.ZodNumber>;
507
- rsfs: z.ZodOptional<z.ZodNumber>;
508
- finalSchedulingReplay: z.ZodOptional<z.ZodNumber>;
509
- optimizations: z.ZodOptional<z.ZodArray<z.ZodString>>;
510
- stepName: z.ZodOptional<z.ZodString>;
511
- workflowName: z.ZodOptional<z.ZodString>;
512
- result: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
513
- }, z.core.$strip>;
514
- }, z.core.$strip>, z.ZodObject<{
515
- specVersion: z.ZodOptional<z.ZodNumber>;
516
- eventType: z.ZodLiteral<"step_failed">;
517
- correlationId: z.ZodString;
518
- eventData: z.ZodObject<{
519
- ttfs: z.ZodOptional<z.ZodNumber>;
520
- stso: z.ZodOptional<z.ZodNumber>;
521
- stepCount: z.ZodOptional<z.ZodNumber>;
522
- eventCount: z.ZodOptional<z.ZodNumber>;
523
- rsfs: z.ZodOptional<z.ZodNumber>;
524
- finalSchedulingReplay: z.ZodOptional<z.ZodNumber>;
525
- optimizations: z.ZodOptional<z.ZodArray<z.ZodString>>;
526
- stepName: z.ZodOptional<z.ZodString>;
527
- error: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
528
- attempt: z.ZodOptional<z.ZodNumber>;
529
- }, z.core.$strip>;
530
- }, z.core.$strip>, z.ZodObject<{
531
- specVersion: z.ZodOptional<z.ZodNumber>;
532
- eventType: z.ZodLiteral<"step_retrying">;
533
- correlationId: z.ZodString;
534
- eventData: z.ZodObject<{
535
- stepName: z.ZodOptional<z.ZodString>;
536
- error: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
537
- retryAfter: z.ZodOptional<z.ZodCoercedDate<unknown>>;
538
- attempt: z.ZodOptional<z.ZodNumber>;
539
- creatorMessageId: z.ZodOptional<z.ZodString>;
540
- }, z.core.$strip>;
541
- }, z.core.$strip>, z.ZodObject<{
542
- specVersion: z.ZodOptional<z.ZodNumber>;
543
- eventType: z.ZodLiteral<"step_started">;
544
- correlationId: z.ZodString;
545
- eventData: z.ZodOptional<z.ZodObject<{
546
- stepName: z.ZodOptional<z.ZodString>;
547
- attempt: z.ZodOptional<z.ZodNumber>;
548
- workflowName: z.ZodOptional<z.ZodString>;
549
- input: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
550
- inline: z.ZodOptional<z.ZodBoolean>;
551
- ownerMessageId: z.ZodOptional<z.ZodString>;
552
- }, z.core.$strip>>;
553
- }, z.core.$strip>, z.ZodObject<{
554
- specVersion: z.ZodOptional<z.ZodNumber>;
555
- eventType: z.ZodLiteral<"hook_created">;
556
- correlationId: z.ZodString;
557
- eventData: z.ZodObject<{
558
- token: z.ZodString;
559
- tokenRetentionUntil: z.ZodOptional<z.ZodCoercedDate<unknown>>;
560
- metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>>;
561
- isWebhook: z.ZodOptional<z.ZodBoolean>;
562
- isSystem: z.ZodOptional<z.ZodBoolean>;
563
- force: z.ZodOptional<z.ZodBoolean>;
564
- forceClaimedFrom: z.ZodOptional<z.ZodObject<{
565
- runId: z.ZodString;
566
- hookId: z.ZodString;
567
- workflowName: z.ZodOptional<z.ZodString>;
568
- deploymentId: z.ZodOptional<z.ZodString>;
569
- runSpecVersion: z.ZodOptional<z.ZodNumber>;
570
- }, z.core.$strip>>;
571
- }, z.core.$strip>;
572
- }, z.core.$strip>, z.ZodObject<{
573
- specVersion: z.ZodOptional<z.ZodNumber>;
574
- eventType: z.ZodLiteral<"hook_received">;
575
- correlationId: z.ZodString;
576
- eventData: z.ZodObject<{
577
- token: z.ZodOptional<z.ZodString>;
578
- workflowName: z.ZodOptional<z.ZodString>;
579
- payload: z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>]>;
580
- }, z.core.$strip>;
581
- }, z.core.$strip>, z.ZodObject<{
582
- specVersion: z.ZodOptional<z.ZodNumber>;
583
- eventType: z.ZodLiteral<"hook_disposed">;
584
- correlationId: z.ZodString;
585
- eventData: z.ZodOptional<z.ZodObject<{
586
- token: z.ZodOptional<z.ZodString>;
587
- forceClaimedBy: z.ZodOptional<z.ZodObject<{
588
- runId: z.ZodString;
589
- hookId: z.ZodString;
590
- }, z.core.$strip>>;
591
- }, z.core.$strip>>;
592
- }, z.core.$strip>, z.ZodObject<{
593
- specVersion: z.ZodOptional<z.ZodNumber>;
594
- eventType: z.ZodLiteral<"hook_conflict">;
595
- correlationId: z.ZodString;
596
- eventData: z.ZodObject<{
597
- token: z.ZodString;
598
- conflictingRunId: z.ZodOptional<z.ZodString>;
599
- forceRefusedReason: z.ZodOptional<z.ZodLiteral<"victim-spec-version">>;
600
- }, z.core.$strip>;
601
- }, z.core.$strip>, z.ZodObject<{
602
- specVersion: z.ZodOptional<z.ZodNumber>;
603
- eventType: z.ZodLiteral<"wait_created">;
604
- correlationId: z.ZodString;
605
- eventData: z.ZodObject<{
606
- resumeAt: z.ZodCoercedDate<unknown>;
607
- creatorMessageId: z.ZodOptional<z.ZodString>;
608
- }, z.core.$strip>;
609
- }, z.core.$strip>, z.ZodObject<{
610
- specVersion: z.ZodOptional<z.ZodNumber>;
611
- eventType: z.ZodLiteral<"wait_completed">;
612
- correlationId: z.ZodString;
613
- eventData: z.ZodOptional<z.ZodObject<{
614
- resumeAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
615
- }, z.core.$strip>>;
616
- }, z.core.$strip>, z.ZodObject<{
617
- correlationId: z.ZodOptional<z.ZodString>;
618
- specVersion: z.ZodOptional<z.ZodNumber>;
619
- eventType: z.ZodLiteral<"noop">;
620
- eventData: z.ZodOptional<z.ZodObject<{
621
- sealed: z.ZodOptional<z.ZodBoolean>;
622
- }, z.core.$loose>>;
623
- }, z.core.$strip>], "eventType">, z.ZodObject<{
624
- runId: z.ZodString;
625
- eventId: z.ZodString;
626
- createdAt: z.ZodCoercedDate<unknown>;
627
- occurredAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
628
- specVersion: z.ZodOptional<z.ZodNumber>;
629
- resumeId: z.ZodOptional<z.ZodString>;
630
- }, z.core.$strip>>;
631
- export type Event = z.infer<typeof EventSchema>;
632
- export type EventOfType<T extends EventType> = Extract<Event, {
633
- eventType: T;
634
- }>;
635
- export type EventRequestOfType<T extends EventType> = Extract<AnyEventRequest, {
636
- eventType: T;
637
- }>;
638
- export type HookCreatedEvent = EventOfType<'hook_created'>;
639
- export type HookCreatedEventRequest = EventRequestOfType<'hook_created'>;
640
- export type HookReceivedEvent = z.infer<typeof HookReceivedEventSchema>;
641
- export type HookConflictEvent = z.infer<typeof HookConflictEventSchema>;
642
- /**
643
- * Union of all possible event request types.
644
- * @internal Use CreateEventRequest or RunCreatedEventRequest instead.
645
- */
646
- export type AnyEventRequest = z.infer<typeof CreateEventSchema>;
647
- type ChildEntityCreationEventRequest = EventRequestOfType<ChildEntityCreationEventType> | (EventRequestOfType<'step_started'> & {
648
- eventData: {
649
- stepName: string;
650
- input: unknown;
651
- };
652
- });
653
- /** Includes lazy step_started requests that create their step on demand. */
654
- export declare function isChildEntityCreationEvent(event: AnyEventRequest): event is ChildEntityCreationEventRequest;
655
- /**
656
- * Event request for creating a new workflow run.
657
- * Can be used with a client-generated runId or null for server-generated.
658
- */
659
- export type RunCreatedEventRequest = z.infer<typeof RunCreatedEventSchema>;
660
- /**
661
- * Event request types that require an existing runId.
662
- * This is the common case for all events except run_created.
663
- */
664
- export type CreateEventRequest = Exclude<AnyEventRequest, RunCreatedEventRequest>;
665
- export interface CreateEventParams {
666
- v1Compat?: boolean;
667
- /**
668
- * Whether the run's orchestrator is making this write (spec >= 9).
669
- *
670
- * In-band writes are everything the orchestrator invocation writes:
671
- * `run_started`, `run_completed`, `run_failed`, `step_created`,
672
- * `wait_created`, `wait_completed`, `hook_created`, `hook_disposed`, an
673
- * `attr_set` from the workflow body, a `hook_received` it writes for a
674
- * resume carried on its own queue message, and every event of a step it
675
- * runs inline. Out-of-band writes are everything else: events from a
676
- * background step's invocation, `hook_received` from `resumeHook()` and
677
- * webhooks, `run_cancelled` from `cancel()`, and `attr_set` from
678
- * `setAttributes()` outside the workflow body. Classification is by writer,
679
- * not by event type.
680
- *
681
- * A World that creates spec 9 runs implements the in-band fence
682
- * (`WorldCapabilities.inBandFence`): it counts the positions it allocates to
683
- * in-band writes, and accepts an in-band write only when
684
- * {@link expectedSeqInBand} equals that count.
685
- */
686
- inBand?: boolean;
687
- /**
688
- * The orchestrator's count of in-band positions, required with
689
- * `inBand: true` (a World answers an in-band write without it with a 400).
690
- * The runtime starts
691
- * it from {@link EventListResponse.snapshot}`.seqInBand` of the first page
692
- * of the delivery's full log load, and advances it by the number of
693
- * positions each accepted in-band write allocated (1 for a single create,
694
- * the event count for a batch).
695
- *
696
- * The World refuses a write whose value differs from its count with
697
- * `InBandSupersededError`, and writes and allocates nothing for it, so a
698
- * refusal never leaves a hole in the log.
699
- */
700
- expectedSeqInBand?: number;
701
- /**
702
- * `'skip-step-inputs'` applies only to the event-log page this create
703
- * returns (the `sinceCursor` delta or a replay preload), never to the
704
- * created `event` or the returned `step` entity, whose `input` is what step
705
- * execution reads. See {@link EventsResolveData}.
706
- *
707
- * Code that forwards these params to an entity read (runs, steps, hooks,
708
- * whose `resolveData` is a plain {@link ResolveData}) must map them with
709
- * `entityResolveData()` first.
710
- */
711
- resolveData?: EventsResolveData;
712
- /**
713
- * Lazy hook resume idempotency key. Set only by `resumeHook()` when it
714
- * persists a `hook_received` event whose creation must be deduplicated
715
- * against a concurrent re-ensure from the queue consumer. The World routes
716
- * it to the backend's `(runId, resumeId)` constraint so both writers
717
- * converge on exactly one event. Only meaningful for `hook_received`.
718
- */
719
- resumeId?: string;
720
- /**
721
- * Content digest of the serialized resume payload, computed once by
722
- * `resumeHook()` and forwarded identically on the direct write and the queue
723
- * re-ensure. The World routes it to the backend so both writers record the
724
- * same digest on the `(runId, resumeId)` constraint. Only meaningful
725
- * alongside {@link resumeId}.
726
- */
727
- resumePayloadDigest?: string;
728
- /** Require the server's deduplicated resolved-hook endpoint. Unsupported
729
- * backends must reject before writing rather than silently dropping dedup. */
730
- requireHookResumeDedup?: boolean;
731
- /**
732
- * Marks a `step_created` create as the queue consumer's re-ensure of a
733
- * resilient step dispatch (a step message carrying `stepInput`, see
734
- * `WorkflowInvokePayload.stepInput`): the producer's direct write was
735
- * parallelized with the queue publish and may have failed. Only meaningful
736
- * for `step_created`.
737
- *
738
- * Advisory, and not set by the current `@workflow/core` runtime, which
739
- * publishes a step's queue message only after its create. A producer that
740
- * parallelizes the two accepts that a create can come back refused while
741
- * the message carrying its payload is already out, and a backend MAY use
742
- * this flag to narrow that window: refuse the re-ensure (world-vercel surfaces the
743
- * backend's 410 as `RunExpiredError`, which the consumer treats as "nothing
744
- * left to execute" and acks the message) when it has recorded a refusal for
745
- * this correlation id and no step entity exists. Best-effort by nature (a
746
- * marker written at refusal time cannot be ordered before the redelivery it
747
- * is meant to stop), so it hardens, and does not close, the window. Worlds
748
- * may ignore this flag entirely.
749
- */
750
- viaStepDispatch?: boolean;
751
- /**
752
- * Marks a `step_failed` write that records the failure of a step body this
753
- * invocation already ran. Losing such a write to queue redelivery runs the
754
- * body again, so a World may keep a throttled write waiting longer than it
755
- * otherwise would (world-vercel waits until the invocation's deadline).
756
- * `step_failed` needs the mark because the runtime also writes it for a step
757
- * whose arguments failed to serialize, where no body ran. `step_completed`
758
- * and `step_retrying` are only ever written after a body ran. Advisory;
759
- * Worlds may ignore it.
760
- */
761
- afterStepBody?: true;
762
- /** Request ID (x-vercel-id when on Vercel) for correlating request logs with workflow events. */
763
- requestId?: string;
764
- /**
765
- * Compute instance whose handler is writing this event (`COMPUTE_INSTANCE_ID`
766
- * in @workflow/core). Ambient per-event identity like {@link requestId},
767
- * which distinguishes invocations *within* an instance. Read back via
768
- * `AnalyticsEventSchema` / `AnalyticsStepSchema`.
769
- */
770
- computeInstanceId?: string;
771
- /**
772
- * Creation time of the step a `step_started` starts, as epoch milliseconds:
773
- * the `createdAt` the World answered that step's `step_created` with. Set
774
- * only on the first-attempt `step_started` of a background step (one
775
- * created by `step_created`, and started by its own queue message), so a
776
- * World can report the step's creation-to-start latency without reading
777
- * the log. Request telemetry, not workflow state: Worlds may ignore it and
778
- * must not persist it into the event log.
779
- */
780
- stepCreatedAt?: number;
781
- /**
782
- * How many events the writer held in its loaded log when it decided to write
783
- * this one: equivalently, the slot it expects to land on minus one. Sent by
784
- * the replay loop and the suspension handler, which merge the report below
785
- * back into their loaded log. Omitted by callers with no loaded log to be
786
- * stale against, the step executor included: for those the report would be
787
- * a read the World does for no one. Independent concurrent hook registrations
788
- * in a hooks-only suspension also omit it deliberately: the runtime verifies
789
- * their committed events together after every write settles, and reloads if
790
- * they do not form a complete suffix. Absence does not imply no loaded log;
791
- * without a count there is no evidence for count-based stale rejection.
792
- *
793
- * A World's slots are dense and 1-based (see `Storage.events`), so a count
794
- * and a position are the same number. An id that is not a position does not
795
- * produce a count here: it throws, since the runtime cannot state a
796
- * snapshot for a log it cannot place. Such a World attempts
797
- * `eventCount + 1`, and on contention **bumps** to the next free slot and
798
- * commits there anyway: a stale count never rejects a write. What it does
799
- * instead is report: when the committed slot is higher than the one asked
800
- * for, the events occupying the skipped slots come back on the success
801
- * response in {@link EventResult.events} / `cursor` / `hasMore`, so the
802
- * writer learns exactly what it had not seen.
803
- *
804
- * Understating is safe and overstating is not. A count below the writer's
805
- * true position only widens the reported span, and the client discards what
806
- * its log already holds. A count above it makes the World report less than
807
- * the writer is missing, which is a hole the writer never learns about.
808
- *
809
- * A batch of writes issued from one snapshot starts from the same
810
- * `eventCount`; they land on consecutive slots in whatever order the World
811
- * serializes them, which is why they can stay a parallel fan-out instead of
812
- * a chain of round-trips. The count a given write sends is the writer's
813
- * position *at that moment*, so it advances mid-batch as reported events are
814
- * folded back into the loaded log: a write issued after a sibling's
815
- * bump-and-report already holds the slots that report named, and asks for a
816
- * slot above them.
817
- *
818
- * For an in-band write on a spec >= 9 run the report is authoritative: the
819
- * success response carries every event in positions `eventCount + 1` up to
820
- * (not including) the write's own first position, in position order, each
821
- * committed or sealed. When the World cannot produce all of it within its
822
- * request budget it still answers success, with `hasMore: true`
823
- * ({@link EventResult}). The orchestrator consumes an
824
- * event it wrote that resolves a promise only after merging this report,
825
- * so the VM consumes events in log order. Out-of-band writes get no report.
826
- */
827
- eventCount?: number;
828
- /**
829
- * Timestamp for when the event occurred on the client side. Worlds that
830
- * support this can persist it separately from `createdAt`, which represents
831
- * when the backing service accepted or stored the event.
832
- */
833
- occurredAt?: Date;
834
- /**
835
- * Number of consecutive replay divergences resolved by this event write.
836
- *
837
- * This is request telemetry, not workflow state. Worlds may use it for
838
- * metrics and diagnostics, but must not require it for event
839
- * materialization or persist it into the event log.
840
- */
841
- replayDivergenceCount?: number;
842
- /**
843
- * Inline-delta optimization (opt-in). When set, the World MAY return,
844
- * on the resulting {@link EventResult}, the first page of events written
845
- * strictly after this cursor (via `events`/`cursor`/`hasMore`): the
846
- * same page an `events.list({ cursor: sinceCursor, sortOrder: 'asc' })`
847
- * call would return immediately after this write. Outside turbo mode the
848
- * runtime sets this on every write it makes from the orchestrator loop
849
- * and folds any returned delta into its in-memory log, so each write
850
- * carries the log forward and the loop reads it back for free: instead of
851
- * re-reading its own just-written events (and any events interleaved
852
- * in-band, such as `hook_received`), it consumes the authoritative delta
853
- * the write already had to compute. Turbo mode does not set it: the
854
- * point there is to keep the first invocation's writes as cheap as
855
- * possible, and it has no loaded log to extend.
856
- *
857
- * The suspension handler sets it too, on the hook create of a single-hook
858
- * suspension. That write is the whole continuation for the hook's own
859
- * awaiter — the event it commits is what settles it — so a delta lets the
860
- * runtime advance the workflow in the same process instead of enqueueing a
861
- * message whose only job is to read back the event it just wrote. It is
862
- * asked for on one hook create per suspension because two creates issued
863
- * from the same cursor each diff against it, and only one of the returned
864
- * deltas can be folded into the log.
865
- *
866
- * A World that answers it on `hook_created` MUST answer it on the
867
- * `hook_conflict` a create whose token is already claimed commits instead.
868
- * That event settles the same awaiter — a payload await rejects, a
869
- * `hook.getConflict()` resolves with the conflicting run — and the runtime
870
- * continues over it in-process just the same, so withholding the delta
871
- * there would silently cost a delivery on exactly the path the caller
872
- * asked to avoid one on. The delta is keyed on the requested event type,
873
- * not the committed one; there is nothing extra to compute, since it is the
874
- * same slice of the log either way.
875
- *
876
- * The cursor MUST share `events.list` semantics: the returned `events`
877
- * are everything sorted strictly after `sinceCursor`, `cursor` is the
878
- * position past the last returned event, and `hasMore` indicates a
879
- * further page exists. A World MAY return a single page and set
880
- * `hasMore: true` rather than paginating to exhaustion. The runtime
881
- * consumes that page and continues from its cursor, so it never reads the
882
- * returned prefix again.
883
- * Returning these fields at all is OPTIONAL: a World that omits them is
884
- * fully supported; the runtime falls back to `events.list`. This
885
- * preserves the same divergence guarantees as the fetch path because the
886
- * delta is computed atomically against the same log the fetch would read.
887
- */
888
- sinceCursor?: string;
889
- /**
890
- * Run-started preload opt-out (advisory). On a `run_started` write a World
891
- * MAY preload the run's event log onto the {@link EventResult}
892
- * (`events`/`cursor`/`hasMore`) so the runtime can skip its initial
893
- * `events.list`. The turbo first invocation backgrounds `run_started`
894
- * purely as a write barrier and never reads that preload, so it sets this
895
- * to tell the World to skip the wasted list+resolve, trimming the
896
- * `run_started` round-trip that the chained first `step_started` waits on.
897
- * A World that ignores it (or doesn't preload) remains fully correct: the
898
- * runtime falls back to `events.list` whenever it actually needs the log.
899
- * Only honored for `run_started`; ignored for other event types.
900
- *
901
- * Named to match the World boundary, the wire frame meta, and the backend
902
- * option end-to-end (cf. {@link sinceCursor}) so the single name greps
903
- * across the SDK and the backend.
904
- */
905
- skipPreload?: true;
906
- /**
907
- * Replay-log preload opt-in (advisory): the `hook_received` dual of
908
- * {@link skipPreload}. Set only by the queue consumer's idempotent
909
- * `hook_received` re-ensure on a lazy hook resume (alongside
910
- * {@link resumeId} + {@link resumePayloadDigest}). A World MAY return the
911
- * run's current replay event log with the event creation
912
- * (`events`/`cursor`/`hasMore`, plus `run` and `maxEvents`) so the runtime
913
- * can initialize replay from this one request and skip both the
914
- * `run_started` write and the initial `events.list`.
915
- *
916
- * The runtime trusts a returned preload as replay input ONLY when all of
917
- * the following hold (a World that cannot guarantee them should return
918
- * its normal {@link EventResult} instead):
919
- *
920
- * - `events` is the COMPLETE log with `hasMore: false` (the runtime has no
921
- * cursor-continuation machinery on this path; a bounded page is
922
- * rejected).
923
- * - `cursor` is a valid non-null resume point matching `events.list`
924
- * semantics (present even on the final page).
925
- * - `run` (with `run.startedAt`) and `maxEvents` are present: this
926
- * response plays `run_started`'s role, including the event-ceiling
927
- * handshake.
928
- * - The log contains the run's creation (`run_created`, or a creating
929
- * `run_started` at the first slot: `isRunCreationEvent`), `run_started`,
930
- * and the canonical
931
- * `hook_received` carrying the requested {@link resumeId}.
932
- * - `events` uses the same ascending ordering semantics as `events.list`.
933
- * - The log is read atomically/consistently WITH (i.e. no earlier than)
934
- * the `hook_received` write, so no concurrently committed event can be
935
- * omitted from the replay input.
936
- *
937
- * Anything less and the runtime observes that no usable replay preload
938
- * came back and falls back to the existing `run_started` setup. A World
939
- * that ignores the param entirely remains fully correct. Only meaningful
940
- * for `hook_received`; ignored for other event types. Producer-side
941
- * `resumeHook()` must not set it.
942
- */
943
- preloadEvents?: true;
944
- /**
945
- * Synchronously observes each validated event in a streamed replay-log
946
- * response. A retried request may observe the same event again; observers
947
- * must therefore be idempotent. Throwing aborts the operation and the World
948
- * must surface the original error without retrying or reclassifying it.
949
- */
950
- replayEventObserver?: (event: Event) => void;
951
- }
952
- /**
953
- * Result of creating an event. Includes the created event and optionally
954
- * the entity that was created or updated as a result of the event, with any updates applied to it.
955
- *
956
- * Note: `event` is optional to support legacy runs where event storage is skipped.
957
- */
958
- export type EventResult<T extends EventType = EventType> = {
959
- /** The created event (optional for legacy compatibility) */
960
- event?: Event;
961
- /**
962
- * Optional ascending events.list cursor immediately after `event`, minted
963
- * by the World that owns the cursor format. This does not attest that the
964
- * caller holds any earlier events. The runtime may advance to it only after
965
- * proving that its loaded prefix plus committed responses covers every slot
966
- * through this event. Worlds that omit it retain the normal reload path.
967
- * When supplied, `event` MUST match what ascending events.list returns for
968
- * that slot with the same resolveData option, including stored timestamps,
969
- * normalized retention, metadata bytes, and hook-conflict details. The
970
- * runtime uses this stored event as replay input, not an echo of the request.
971
- */
972
- eventCursor?: string;
973
- /** The workflow run entity (for run_* events) */
974
- run?: WorkflowRun;
975
- /** The step entity (for step_* events) */
976
- step?: Step;
977
- /** The hook entity (for hook_created events) */
978
- hook?: Hook;
979
- /** The wait entity (for wait_created/wait_completed events) */
980
- wait?: Wait;
981
- /**
982
- * Lazy step start: set to `true` only when a `step_started` event with
983
- * step-creation data atomically *created* the step on this call (the
984
- * caller won the create-claim), as opposed to transitioning a step that
985
- * already existed. The owned-inline runtime path uses this as the
986
- * exactly-once ownership signal: it runs the step body inline only when
987
- * it created the step, so a concurrent handler that lost the create race
988
- * (and gets `EntityConflictError`/skipped) never double-executes. Absent
989
- * (undefined) on the legacy path and from older servers/worlds, which is
990
- * the safe default (treated as "not the lazy creator").
991
- */
992
- stepCreated?: true;
993
- /** Server-owned max event count for the run (run-lifecycle responses); the runtime enforces it. */
994
- maxEvents?: number;
995
- /**
996
- * How many positions this write allocated (spec >= 9):
997
- * 1 for a create that appended its event, 0 for one that converged on an
998
- * event the log already held (an idempotent replay). The orchestrator
999
- * advances its in-band count by this number. Absent from a World that
1000
- * does not report it; the runtime then infers it.
1001
- */
1002
- allocated?: number;
1003
- } & ({
1004
- /**
1005
- * Events with data resolved. Five producers populate this:
1006
- *
1007
- * - On a `run_started` response: all events up to this point, so the
1008
- * runtime can skip the initial `events.list` call and reduce TTFB.
1009
- * - On a step-terminal write (`step_completed` / `step_failed`) when
1010
- * the caller passed {@link CreateEventParams.sinceCursor}: the delta
1011
- * of events written strictly after that cursor, so the inline loop
1012
- * can skip the per-step incremental `events.list` round-trip.
1013
- * - On a hook-create write when the caller passed
1014
- * {@link CreateEventParams.sinceCursor}: the same delta, which
1015
- * includes the event the create committed — the `hook_created`, or
1016
- * the `hook_conflict` of an already-claimed token — so the hook's
1017
- * awaiter can be settled in the writing process rather than by a
1018
- * re-invocation that reads the event back.
1019
- * - On a `hook_received` response when the caller passed
1020
- * {@link CreateEventParams.preloadEvents}: the run's current replay
1021
- * log through the canonical `hook_received`, so the lazy hook queue
1022
- * consumer can skip both the `run_started` write and the initial
1023
- * `events.list`.
1024
- * - On any response whose committed slot came out higher than the one
1025
- * {@link CreateEventParams.eventCount} asked for:
1026
- * the events occupying the slots that were skipped over, in slot
1027
- * order. This is the "report" half of bump-and-report: the write
1028
- * succeeded, and these are the events the writer had not seen when it
1029
- * decided to make it.
1030
- */
1031
- events: Event[];
1032
- /** Pagination cursor for `events`, matching events.list semantics. */
1033
- cursor: string | null;
1034
- /**
1035
- * Whether additional event pages are available for `events`. On an
1036
- * in-band write's response (spec >= 9), `true` also means the World
1037
- * could not produce the complete skipped-slot report within its
1038
- * request budget: the write committed, and the writer must reload the
1039
- * log before it consumes anything the write resolves, since the report
1040
- * may be missing events that sit below its own.
1041
- */
1042
- hasMore: boolean;
1043
- } | {
1044
- events?: undefined;
1045
- cursor?: undefined;
1046
- hasMore?: undefined;
1047
- }) & (T extends 'run_created' ? {
1048
- run: WorkflowRun;
1049
- } : T extends 'run_started' ? {
1050
- run: StartedWorkflowRun;
1051
- } : T extends 'step_started' ? {
1052
- /**
1053
- * The started step, on a run that keeps step entities (spec 8 and
1054
- * below). A single-orchestrator run (spec >= 9) keeps none, so
1055
- * its start returns no step.
1056
- */
1057
- step?: StartedStep;
1058
- } : unknown);
1059
- /**
1060
- * One event of a batch write ({@link Storage.events.createBatch}), in request
1061
- * order, which is the order the events land in the run's log.
1062
- */
1063
- export interface BatchEventRequest {
1064
- /** The event, same discriminated union the single `create` takes. */
1065
- event: CreateEventRequest;
1066
- /**
1067
- * Client event time for this event. Under slot identity this is the source
1068
- * of the durable event's `createdAt` (a slot id carries no time), so the
1069
- * timestamp a replay observes is the one the writer chose: set it to the
1070
- * instant the event logically occurred.
1071
- */
1072
- occurredAt?: Date;
1073
- /**
1074
- * Compute-instance attribution for this event, same as the single create's
1075
- * {@link CreateEventParams.computeInstanceId}. Set on the `step_started`
1076
- * half of a pre-claimed inline pair so a batched claim attributes the
1077
- * executing instance exactly like the lazy claim it replaces.
1078
- */
1079
- computeInstanceId?: string;
1080
- /**
1081
- * Step creation time for a `step_started`, same as the single create's
1082
- * {@link CreateEventParams.stepCreatedAt}.
1083
- */
1084
- stepCreatedAt?: number;
1085
- }
1086
- /** Per-batch parameters for {@link Storage.events.createBatch}. */
1087
- export interface CreateEventBatchParams {
1088
- resolveData?: ResolveData;
1089
- /**
1090
- * Request id for per-write attribution, same as the single create's
1091
- * {@link CreateEventParams.requestId}: stamped on every event in the batch
1092
- * so a batched write's usage facts and telemetry carry the same request
1093
- * attribution its single-path twin would.
1094
- */
1095
- requestId?: string;
1096
- /**
1097
- * Whether the run's orchestrator makes this batch (spec >= 9), as
1098
- * {@link CreateEventParams.inBand}. Every event of a batch shares it.
1099
- */
1100
- inBand?: boolean;
1101
- /**
1102
- * The orchestrator's in-band count for the whole block, as
1103
- * {@link CreateEventParams.expectedSeqInBand}. The World allocates the
1104
- * block's positions in one conditional allocation.
1105
- */
1106
- expectedSeqInBand?: number;
1107
- /**
1108
- * The position the batch was decided from, as
1109
- * {@link CreateEventParams.eventCount}; required with `inBand: true`. The
1110
- * response then carries the skipped-slot report for
1111
- * the block at the top level (`events` / `hasMore` on
1112
- * {@link EventBatchResult}).
1113
- */
1114
- eventCount?: number;
1115
- }
1116
- /**
1117
- * One event's outcome in a batch response, index-aligned with the submitted
1118
- * events. `error === undefined` discriminates success.
1119
- *
1120
- * A batch is processed as a whole (HTTP 200 whenever the World evaluated it);
1121
- * each event reports the outcome its OWN single `create` would have had:
1122
- *
1123
- * - success → `status: 200` plus the committed event and the same
1124
- * materialized entity the single create returns (`step` for step events,
1125
- * `wait` for wait events, `run` for run terminals);
1126
- * - rejection → the status code and error code the single create would have
1127
- * failed with, so callers reuse their single-path conflict handling per
1128
- * event. A `409`/`conflict` means the entity was not in the prior state
1129
- * the event requires, most commonly because an earlier delivery already
1130
- * applied the same event, but possibly because the entity reached a
1131
- * DIFFERENT state (e.g. `step_completed` conflicting because the step
1132
- * failed). A 409 alone does not prove the equivalent effect was applied;
1133
- * a caller that needs effect-equivalence consults the entity (returned on
1134
- * sibling successes, or reloaded).
1135
- *
1136
- * The batch is atomic per attempt, not all-or-nothing across the submitted
1137
- * set: a World may drop rejected events and commit the survivors, so a batch
1138
- * can return a mix of 200s and 409s from one call.
1139
- *
1140
- * Retry semantics: a transport retry of a committed batch converges to
1141
- * per-event 409s ONLY for entity-conditioned events: creates and terminal
1142
- * transitions. A standalone bare `step_started` or a `step_retrying`
1143
- * re-patches its step on every attempt and does NOT converge, and
1144
- * `hook_received` appends a new row per attempt, so `world-vercel` rejects
1145
- * `hook_received` in a batch outright and only auto-retries batches whose
1146
- * every event is retry-convergent.
1147
- *
1148
- * The born-running `step_created`+`step_started` pair converges (the pair's
1149
- * create fences it) but is still excluded from auto-retry, because
1150
- * convergence alone is not enough for the caller: a pair 409 means "this step
1151
- * already exists", and on a retry that is indistinguishable from "my own
1152
- * previous attempt committed it". A caller that reads the 409 as a lost claim
1153
- * would skip a body it actually owns, so a batch carrying a `step_started`
1154
- * runs single-attempt and leaves transient-failure recovery to queue
1155
- * redelivery.
1156
- */
1157
- export type BatchEventItemResult = {
1158
- status: 200;
1159
- error?: undefined;
1160
- message?: undefined;
1161
- event: Event;
1162
- run?: WorkflowRun;
1163
- step?: Step;
1164
- wait?: Wait;
1165
- } | {
1166
- status: number;
1167
- error: string;
1168
- message: string;
1169
- event?: undefined;
1170
- run?: undefined;
1171
- step?: undefined;
1172
- wait?: undefined;
1173
- };
1174
- /** Result of {@link Storage.events.createBatch}. */
1175
- export interface EventBatchResult {
1176
- /** One entry per submitted event, in request order. */
1177
- results: BatchEventItemResult[];
1178
- /**
1179
- * The skipped-slot report of an in-band batch (spec >= 9): the events in
1180
- * positions `eventCount + 1` up to the block's first position.
1181
- */
1182
- events?: Event[];
1183
- /**
1184
- * `true` when the skipped-slot report in `events` is incomplete, as
1185
- * `hasMore` on an in-band write's {@link EventResult}: the writer reloads
1186
- * the log before it consumes anything the batch resolves.
1187
- */
1188
- hasMore?: boolean;
1189
- /**
1190
- * How many positions the batch allocated: the admitted items, one block.
1191
- * As {@link EventResult.allocated}; absent when the World does not report
1192
- * it.
1193
- */
1194
- allocated?: number;
1195
- }
1196
- export interface GetEventParams {
1197
- resolveData?: ResolveData;
1198
- /**
1199
- * The run's spec version, when the caller knows it. A hint a World may use
1200
- * to pick how it reads; it never changes which event is returned. See
1201
- * {@link ListEventsParams.specVersion}.
1202
- */
1203
- specVersion?: number;
1204
- }
1205
- /**
1206
- * The sequencer state a World read, strongly consistently, before it listed
1207
- * a run's log (spec >= 9). Positions are slots.
1208
- */
1209
- export interface EventLogSnapshot {
1210
- /** Highest position allocated to any write when the list began. */
1211
- seq: number;
1212
- /** Number of positions allocated to in-band writes when the list began. */
1213
- seqInBand: number;
1214
- }
1215
- /**
1216
- * A run's in-band count right after its creation, before any other write:
1217
- * `run_created` counts as the run's first in-band position, so the run's
1218
- * first orchestrator write (`run_started`) expects this value. It is the same
1219
- * when `run_created` never landed and `run_started` creates the run (resilient
1220
- * start): the creation the World performs for it counts in its place, also
1221
- * when that `run_started` holds the first slot as the creation itself
1222
- * (`isRunCreationEvent`). The log then has one event where the count says
1223
- * two, which is why a count is only ever read from a snapshot.
1224
- *
1225
- * The runtime adopts it in place of a load snapshot when it knows the log
1226
- * holds nothing but the run's creation: a run with no events yet, and turbo
1227
- * mode's first delivery, which skips the initial load.
1228
- */
1229
- export declare const IN_BAND_SEQ_AT_RUN_CREATION = 1;
1230
- /**
1231
- * Result of {@link Storage.events.list}.
1232
- *
1233
- * `snapshot` is set by a World that implements the in-band writer fence
1234
- * (`WorldCapabilities.inBandFence`), on every page of a slot-numbered run's
1235
- * log where the World reads one. It is read before the listing, so a full
1236
- * load (following `cursor` until `hasMore` is false) covers every position
1237
- * up to the FIRST page's `snapshot.seq`, each one committed or sealed as a
1238
- * `noop`. A fenced writer takes its
1239
- * {@link CreateEventParams.expectedSeqInBand} from the first page's
1240
- * `snapshot.seqInBand`, never from counting events: a count cannot tell
1241
- * which positions were in-band.
1242
- *
1243
- * On a single-orchestrator run (spec >= 9) it is required on every page: the
1244
- * runtime refuses to write in-band from a full load whose first page has
1245
- * none. On earlier runs a fencing World that lists no snapshot reports the
1246
- * counters on a refusal (`InBandSupersededError`) instead.
1247
- */
1248
- export type EventListResponse = PaginatedResponse<Event> & {
1249
- snapshot?: EventLogSnapshot;
1250
- };
1251
- /** Options for {@link Storage.events.subscribe}. */
1252
- export interface EventsSubscribeOptions {
1253
- /** Called once when the World stops delivering for a transport reason. */
1254
- onError?: (error: unknown) => void;
1255
- }
1256
- export interface ListEventsParams {
1257
- runId: string;
1258
- /** Omit `limit` to return every remaining event. */
1259
- pagination?: PaginationOptions;
1260
- resolveData?: EventsResolveData;
1261
- /**
1262
- * Aborted when the caller has given up on the read. A World may stop the
1263
- * request early and reject; one that ignores it is still correct, since the
1264
- * caller no longer uses the result.
1265
- */
1266
- signal?: AbortSignal;
1267
- /**
1268
- * The run's spec version, when the caller knows it. A hint a World may use
1269
- * to pick how it reads; it never changes which events are returned. The
1270
- * spec 9 orchestrator passes it on its own log loads, which need
1271
- * {@link EventListResponse.snapshot}: world-vercel reads a run stamped 9 or
1272
- * above from the route that reports it, and every other read from the route
1273
- * earlier releases use. A World that always returns `snapshot` can ignore
1274
- * it.
1275
- */
1276
- specVersion?: number;
1277
- }
1278
- export interface ListEventsByCorrelationIdParams {
1279
- correlationId: string;
1280
- /**
1281
- * The run the correlation id belongs to. A correlation id is unique per
1282
- * run, not globally: a slot-numbered run counts its own steps and waits, so
1283
- * `step_…001` names the first step of *every* such run. Naming the run is
1284
- * what makes the answer that run's events, and it is what makes the
1285
- * pagination cursor unambiguous: `(runId, eventId)` is a key where an
1286
- * event id alone is not.
1287
- */
1288
- runId: string;
1289
- pagination?: PaginationOptions;
1290
- resolveData?: ResolveData;
1291
- }
1292
- //# sourceMappingURL=events.d.ts.map