eve 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1932) hide show
  1. package/CHANGELOG.md +5 -375
  2. package/README.md +5 -1
  3. package/dist/src/channel/auth/oidc.js +1 -1
  4. package/dist/src/channel/channel-address.d.ts +13 -2
  5. package/dist/src/channel/channel-address.js +1 -1
  6. package/dist/src/cli/commands/init-git.js +1 -1
  7. package/dist/src/cli/commands/init-onboarding.js +1 -0
  8. package/dist/src/cli/commands/init.js +2 -1
  9. package/dist/src/cli/commands/registry-setup-command.js +1 -1
  10. package/dist/src/cli/dev/command-options.js +1 -1
  11. package/dist/src/cli/dev/command.js +1 -1
  12. package/dist/src/cli/dev/run-interactive-ui.js +1 -1
  13. package/dist/src/cli/dev/tui/message-queue.js +2 -2
  14. package/dist/src/cli/dev/tui/prompt-command-handler.js +1 -1
  15. package/dist/src/cli/dev/tui/run-setup-flow-command.js +1 -0
  16. package/dist/src/cli/dev/tui/runner.js +3 -3
  17. package/dist/src/cli/dev/tui/setup-commands.js +1 -1
  18. package/dist/src/cli/dev/tui/setup-panel.js +1 -1
  19. package/dist/src/cli/dev/tui/startup-onboarding.js +1 -0
  20. package/dist/src/cli/dev/tui/startup.js +1 -1
  21. package/dist/src/cli/dev/tui/terminal-renderer.js +10 -10
  22. package/dist/src/cli/dev/tui/test/mock-terminal.js +4 -4
  23. package/dist/src/cli/dev/tui/tui.js +1 -1
  24. package/dist/src/cli/run.js +1 -1
  25. package/dist/src/cli/ui/live-region.js +1 -1
  26. package/dist/src/cli/ui/live-row.js +1 -1
  27. package/dist/src/compiled/.vendor-stamp.json +17 -5
  28. package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -2
  29. package/dist/src/compiled/@ai-sdk/google/index.js +6 -6
  30. package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
  31. package/dist/src/compiled/@ai-sdk/openai/index.js +4 -4
  32. package/dist/src/compiled/@ai-sdk/otel/index.js +3 -3
  33. package/dist/src/compiled/@ai-sdk/provider/index.js +1 -1
  34. package/dist/src/compiled/@chat-adapter/slack/index.js +46 -51
  35. package/dist/src/compiled/@eve/catalog/index.js +1 -1
  36. package/dist/src/compiled/@opentelemetry/api/index.js +1 -1
  37. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.js +1 -1
  38. package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +61 -155
  39. package/dist/src/compiled/@vercel/agent-runs/delegation.js +1 -1
  40. package/dist/src/compiled/@vercel/agent-runs/index.js +1 -1
  41. package/dist/src/compiled/@vercel/agent-runs/otel.js +1 -1
  42. package/dist/src/compiled/@vercel/blob/index.js +11 -36
  43. package/dist/src/compiled/@vercel/connect/index.js +1 -63
  44. package/dist/src/compiled/@vercel/oidc/index.js +1 -63
  45. package/dist/src/compiled/@vercel/otel/index.js +1 -1
  46. package/dist/src/compiled/@vercel/queue/index.js +12 -43
  47. package/dist/src/compiled/@vercel/sandbox/index.js +13 -114
  48. package/dist/src/compiled/@vercel/schedules/index.js +2 -27
  49. package/dist/src/compiled/@workflow/core/index.js +1 -1
  50. package/dist/src/compiled/@workflow/core/private.js +1 -1
  51. package/dist/src/compiled/@workflow/core/runtime/helpers.js +1 -1
  52. package/dist/src/compiled/@workflow/core/runtime.js +1 -1
  53. package/dist/src/compiled/@workflow/core/serialization.js +1 -1
  54. package/dist/src/compiled/@workflow/core/workflow.js +1 -1
  55. package/dist/src/compiled/@workflow/world/index.js +1 -1
  56. package/dist/src/compiled/@workflow/world-local/index.js +6 -6
  57. package/dist/src/compiled/@workflow/world-vercel/index.js +36 -1
  58. package/dist/src/compiled/_chunks/{workflow/attribute-changes-BCNqKjr-.js → node/attribute-changes-9TDYamoB.js} +2 -2
  59. package/dist/src/compiled/_chunks/node/{auth-VDi2758t.js → auth-C6x8BkZ1.js} +2 -2
  60. package/dist/src/compiled/_chunks/node/chunk-5MU5Z6L3-DdGH_80b.js +1 -0
  61. package/dist/src/compiled/_chunks/node/chunk-WVKEO4WS-CcXj6Pbu.js +1 -0
  62. package/dist/src/compiled/_chunks/node/cjs-rUgqAJxb.js +1 -0
  63. package/dist/src/compiled/_chunks/node/delegation-nXIIGof2.js +1 -0
  64. package/dist/src/compiled/_chunks/node/delivery-ZirLueQB.js +1 -0
  65. package/dist/src/compiled/_chunks/node/dist-Ar8FFwah.js +1 -0
  66. package/dist/src/compiled/_chunks/node/dist-BlVGA8Bc.js +2 -0
  67. package/dist/src/compiled/_chunks/{workflow/dist-DkHcYt13.js → node/dist-C-W-BUim.js} +4 -4
  68. package/dist/src/compiled/_chunks/node/dist-CJqVJRdy.js +1 -0
  69. package/dist/src/compiled/_chunks/node/dist-Dff3FJd4.js +2 -0
  70. package/dist/src/compiled/_chunks/node/dist-SjWKZevK.js +1 -0
  71. package/dist/src/compiled/_chunks/node/dist-Y7k9L0_i.js +4 -0
  72. package/dist/src/compiled/_chunks/node/esm-BQbQSdEk.js +1 -0
  73. package/dist/src/compiled/_chunks/node/esm-V84xqwqm.js +7 -0
  74. package/dist/src/compiled/_chunks/{workflow/experimental-extraction-BE-Zv-lu.js → node/experimental-extraction-BddLppMC.js} +2 -2
  75. package/dist/src/compiled/_chunks/node/functions-CrSNYLMQ.js +2 -0
  76. package/dist/src/compiled/_chunks/{workflow/getMachineId-bsd-BDZRITBA-ByMis12M.js → node/getMachineId-bsd-BDZRITBA-DLL53RiE.js} +1 -1
  77. package/dist/src/compiled/_chunks/{workflow/getMachineId-darwin-YASTVJY7-BVAknd8k.js → node/getMachineId-darwin-YASTVJY7-Bt7YOVRS.js} +1 -1
  78. package/dist/src/compiled/_chunks/node/getMachineId-linux-NDQO5XIJ-35soE6HM.js +1 -0
  79. package/dist/src/compiled/_chunks/node/getMachineId-unsupported-4HKOBEHB-BIvYzL3H.js +1 -0
  80. package/dist/src/compiled/_chunks/{workflow/getMachineId-win-5LM2K5X3-Cj6CA3It.js → node/getMachineId-win-5LM2K5X3-DjHieqnK.js} +1 -1
  81. package/dist/src/compiled/_chunks/{workflow/helpers-D1eianSs.js → node/helpers-D0wk1DpF.js} +2 -2
  82. package/dist/src/compiled/_chunks/node/lib-kYMsDr_I.js +1 -0
  83. package/dist/src/compiled/_chunks/node/mcp-CpcK9m5J.js +5 -0
  84. package/dist/src/compiled/_chunks/node/ms-Cgt_-jny.js +1 -0
  85. package/dist/src/compiled/_chunks/node/node-http-BJoNWVEH.js +1 -0
  86. package/dist/src/compiled/_chunks/node/picocolors-BvkTgkT5.js +1 -0
  87. package/dist/src/compiled/_chunks/node/resume-hook-HOi86Mpt.js +1 -0
  88. package/dist/src/compiled/_chunks/node/resume-hook-MNXqhfUQ.js +1 -0
  89. package/dist/src/compiled/_chunks/node/retry-BsKFOQYI.js +1 -0
  90. package/dist/src/compiled/_chunks/node/run-iZaWiaIW.js +34 -0
  91. package/dist/src/compiled/_chunks/node/serialization-SOBM-hqQ.js +12 -0
  92. package/dist/src/compiled/_chunks/{workflow/signal-exit-fprSURbq.js → node/signal-exit-DUUCjAID.js} +1 -1
  93. package/dist/src/compiled/_chunks/node/sleep-kn6Idr6A.js +1 -0
  94. package/dist/src/compiled/_chunks/node/suspension-hooks-DGVf4ZTu.js +3 -0
  95. package/dist/src/compiled/_chunks/node/time-DlDfzITA.js +1 -0
  96. package/dist/src/compiled/_chunks/node/token-Bx_BK6UD.js +1 -0
  97. package/dist/src/compiled/_chunks/node/{token-DGjjdToG.js → token-C3MqBzSe.js} +1 -1
  98. package/dist/src/compiled/_chunks/node/token-C8MvBi8U.js +1 -0
  99. package/dist/src/compiled/_chunks/node/token-DCqq5r4M.js +1 -0
  100. package/dist/src/compiled/_chunks/node/token-d3oeMwv2.js +1 -0
  101. package/dist/src/compiled/_chunks/node/token-util-5HFX0QsS.js +1 -0
  102. package/dist/src/compiled/_chunks/node/token-util-B-3umg_h.js +59 -0
  103. package/dist/src/compiled/_chunks/node/token-util-BdFM23p-.js +1 -0
  104. package/dist/src/compiled/_chunks/node/token-util-Bga2H4s7.js +1 -0
  105. package/dist/src/compiled/_chunks/node/token-util-C53yPU2Q.js +1 -0
  106. package/dist/src/compiled/_chunks/node/token-util-CMdCnQTY.js +1 -0
  107. package/dist/src/compiled/_chunks/node/token-util-DRfyDqhP.js +59 -0
  108. package/dist/src/compiled/_chunks/node/token-util-DdfuyqVB.js +1 -0
  109. package/dist/src/compiled/_chunks/node/token-util-S816eCve.js +22 -0
  110. package/dist/src/compiled/_chunks/node/token-util-hJVPA0w0.js +22 -0
  111. package/dist/src/compiled/_chunks/node/undici-CXX9Qrag.js +95 -0
  112. package/dist/src/compiled/_chunks/node/websocket-server-Usb_vYYJ.js +6 -0
  113. package/dist/src/compiled/_chunks/node/wrapper-B8sMmFpP.js +1 -0
  114. package/dist/src/compiled/_chunks/node/wrapper-DTBQ2yNI.js +1 -0
  115. package/dist/src/compiled/_chunks/node/ws-transport-BWQwR7zD.js +1 -0
  116. package/dist/src/compiled/_chunks/node/ws-transport-Dah44MMA.js +3 -0
  117. package/dist/src/compiled/jose/index.js +1 -1
  118. package/dist/src/eve-channel/request.js +1 -1
  119. package/dist/src/execution/dynamic-workflow/tool.js +1 -1
  120. package/dist/src/execution/session-inbox/handle.js +1 -1
  121. package/dist/src/execution/session-inbox/owner.js +1 -1
  122. package/dist/src/execution/session-inbox/resume.js +1 -1
  123. package/dist/src/execution/tools/agent-router-workflow.js +1 -1
  124. package/dist/src/harness/provider-tools.js +1 -1
  125. package/dist/src/harness/step/prompt.js +1 -1
  126. package/dist/src/instrumentation/decide.js +1 -1
  127. package/dist/src/instrumentation/dispatch.js +1 -1
  128. package/dist/src/instrumentation/lifecycle.d.ts +10 -1
  129. package/dist/src/instrumentation/runtime.js +1 -1
  130. package/dist/src/internal/application/stamped-package-version.js +1 -1
  131. package/dist/src/public/channels/slack/attachments.js +1 -1
  132. package/dist/src/public/channels/slack/connections.js +1 -1
  133. package/dist/src/public/channels/slack/renderers.d.ts +4 -2
  134. package/dist/src/public/channels/slack/slackChannel.js +1 -1
  135. package/dist/src/runtime/subagents/workflow.js +1 -1
  136. package/dist/src/setup/primitives/pm/npm.js +1 -1
  137. package/dist/src/setup/primitives/pm/run.js +1 -1
  138. package/dist/src/setup/registry-setup-client.js +2 -2
  139. package/dist/src/setup/registry-setup-protocol.js +1 -1
  140. package/dist/src/setup/scaffold/create/project.js +1 -1
  141. package/dist/src/setup/scaffold/update/channels.js +1 -1
  142. package/dist/src/shared/forwarded-trace-policy.d.ts +2 -0
  143. package/dist/src/shared/forwarded-trace-policy.js +1 -1
  144. package/dist/src/tools/provided/ask-question-workflow.js +1 -1
  145. package/dist/src/tools/provided/sleep-workflow.js +1 -1
  146. package/dist/src/tools/provided/web-search.d.ts +2 -2
  147. package/dist/src/tools/provided/web-search.js +1 -1
  148. package/docs/channels/slack/reference.mdx +1 -1
  149. package/docs/concepts/built-in-tools.md +3 -3
  150. package/docs/getting-started.mdx +5 -1
  151. package/docs/guides/client/index.mdx +1 -1
  152. package/docs/reference/typescript-api.md +1 -1
  153. package/package.json +3 -7
  154. package/dist/src/acp/adapter.d.ts +0 -28
  155. package/dist/src/acp/line-limit.d.ts +0 -3
  156. package/dist/src/acp/server.d.ts +0 -21
  157. package/dist/src/ai/decision-adapter.d.ts +0 -15
  158. package/dist/src/approval/agent.d.ts +0 -24
  159. package/dist/src/approval/requester-only.d.ts +0 -11
  160. package/dist/src/channel/adapter-context.d.ts +0 -9
  161. package/dist/src/channel/auth/http-basic.d.ts +0 -8
  162. package/dist/src/channel/auth/jwt-ecdsa.d.ts +0 -8
  163. package/dist/src/channel/auth/jwt-hmac.d.ts +0 -8
  164. package/dist/src/channel/auth/oidc.d.ts +0 -8
  165. package/dist/src/channel/auth/result.d.ts +0 -3
  166. package/dist/src/channel/auth/token-claims.d.ts +0 -17
  167. package/dist/src/channel/auth/types.d.ts +0 -108
  168. package/dist/src/channel/auth/vercel-oidc-project.d.ts +0 -12
  169. package/dist/src/channel/conversation-context.d.ts +0 -8
  170. package/dist/src/channel/delivery-idempotency.d.ts +0 -10
  171. package/dist/src/channel/delivery.d.ts +0 -8
  172. package/dist/src/channel/http.d.ts +0 -29
  173. package/dist/src/channel/inactive-prompt.d.ts +0 -46
  174. package/dist/src/channel/pending-authorization.d.ts +0 -4
  175. package/dist/src/channel/principal-identity.d.ts +0 -11
  176. package/dist/src/channel/relay-event.d.ts +0 -11
  177. package/dist/src/channel/resolved-prompt.d.ts +0 -22
  178. package/dist/src/channel/route-args.d.ts +0 -35
  179. package/dist/src/channel/schedule.d.ts +0 -78
  180. package/dist/src/channel/send-input.d.ts +0 -10
  181. package/dist/src/channel/session-callback.d.ts +0 -11
  182. package/dist/src/channel/tool-eligibility.d.ts +0 -38
  183. package/dist/src/cli/acp/command.d.ts +0 -24
  184. package/dist/src/cli/agent-command.d.ts +0 -6
  185. package/dist/src/cli/agent-detection.d.ts +0 -7
  186. package/dist/src/cli/application-command.d.ts +0 -13
  187. package/dist/src/cli/application-root.d.ts +0 -5
  188. package/dist/src/cli/banner.d.ts +0 -11
  189. package/dist/src/cli/commands/agent-instructions.d.ts +0 -34
  190. package/dist/src/cli/commands/build.d.ts +0 -15
  191. package/dist/src/cli/commands/deploy.d.ts +0 -27
  192. package/dist/src/cli/commands/extension-build.d.ts +0 -9
  193. package/dist/src/cli/commands/extension-init.d.ts +0 -26
  194. package/dist/src/cli/commands/info.d.ts +0 -68
  195. package/dist/src/cli/commands/init-agent-workspace.d.ts +0 -18
  196. package/dist/src/cli/commands/init-git.d.ts +0 -17
  197. package/dist/src/cli/commands/init-install.d.ts +0 -11
  198. package/dist/src/cli/commands/init-project.d.ts +0 -44
  199. package/dist/src/cli/commands/init-recovery.d.ts +0 -3
  200. package/dist/src/cli/commands/init-target.d.ts +0 -20
  201. package/dist/src/cli/commands/init-telemetry.d.ts +0 -7
  202. package/dist/src/cli/commands/init.d.ts +0 -28
  203. package/dist/src/cli/commands/integration-connect.d.ts +0 -35
  204. package/dist/src/cli/commands/integration-setup.d.ts +0 -18
  205. package/dist/src/cli/commands/link.d.ts +0 -25
  206. package/dist/src/cli/commands/logs-events.d.ts +0 -38
  207. package/dist/src/cli/commands/logs.d.ts +0 -64
  208. package/dist/src/cli/commands/preconditions.d.ts +0 -22
  209. package/dist/src/cli/commands/register-integration-commands.d.ts +0 -15
  210. package/dist/src/cli/commands/register-project-commands.d.ts +0 -13
  211. package/dist/src/cli/commands/register-registry-commands.d.ts +0 -13
  212. package/dist/src/cli/commands/registry-add-command.d.ts +0 -3
  213. package/dist/src/cli/commands/registry-declared-setups.d.ts +0 -43
  214. package/dist/src/cli/commands/registry-install-transaction.d.ts +0 -10
  215. package/dist/src/cli/commands/registry-metadata.d.ts +0 -99
  216. package/dist/src/cli/commands/registry-pnpm-build-policy-flow.d.ts +0 -30
  217. package/dist/src/cli/commands/registry-presentation.d.ts +0 -19
  218. package/dist/src/cli/commands/registry-project.d.ts +0 -23
  219. package/dist/src/cli/commands/registry-recovery.d.ts +0 -20
  220. package/dist/src/cli/commands/registry-setup-command.d.ts +0 -21
  221. package/dist/src/cli/commands/registry.d.ts +0 -98
  222. package/dist/src/cli/commands/set.d.ts +0 -18
  223. package/dist/src/cli/commands/setup-answers.d.ts +0 -2
  224. package/dist/src/cli/commands/setup-headless.d.ts +0 -97
  225. package/dist/src/cli/commands/trace-detail.d.ts +0 -34
  226. package/dist/src/cli/commands/trace.d.ts +0 -18
  227. package/dist/src/cli/commands/vercel-non-interactive.d.ts +0 -37
  228. package/dist/src/cli/dev/boot-progress.d.ts +0 -3
  229. package/dist/src/cli/dev/command-options.d.ts +0 -27
  230. package/dist/src/cli/dev/command.d.ts +0 -34
  231. package/dist/src/cli/dev/console-records-preload.d.ts +0 -1
  232. package/dist/src/cli/dev/console-records.d.ts +0 -17
  233. package/dist/src/cli/dev/diagnostic-dump.d.ts +0 -58
  234. package/dist/src/cli/dev/diagnostic-sink.d.ts +0 -39
  235. package/dist/src/cli/dev/diagnostics.d.ts +0 -42
  236. package/dist/src/cli/dev/environment.d.ts +0 -20
  237. package/dist/src/cli/dev/local-server-child.d.ts +0 -1
  238. package/dist/src/cli/dev/local-server-cleanup.d.ts +0 -5
  239. package/dist/src/cli/dev/local-server-process.d.ts +0 -35
  240. package/dist/src/cli/dev/remote-print.d.ts +0 -8
  241. package/dist/src/cli/dev/run-interactive-ui.d.ts +0 -22
  242. package/dist/src/cli/dev/tui/agent-header.d.ts +0 -15
  243. package/dist/src/cli/dev/tui/argument-typeahead.d.ts +0 -36
  244. package/dist/src/cli/dev/tui/blocks.d.ts +0 -148
  245. package/dist/src/cli/dev/tui/clipboard.d.ts +0 -17
  246. package/dist/src/cli/dev/tui/command-typeahead.d.ts +0 -54
  247. package/dist/src/cli/dev/tui/conversation-view.d.ts +0 -59
  248. package/dist/src/cli/dev/tui/dev-rebuild-status.d.ts +0 -22
  249. package/dist/src/cli/dev/tui/diagnostic-presentation.d.ts +0 -17
  250. package/dist/src/cli/dev/tui/errors.d.ts +0 -14
  251. package/dist/src/cli/dev/tui/file-content-cache.d.ts +0 -41
  252. package/dist/src/cli/dev/tui/flow-drawer.d.ts +0 -15
  253. package/dist/src/cli/dev/tui/line-diff.d.ts +0 -24
  254. package/dist/src/cli/dev/tui/line-editor.d.ts +0 -124
  255. package/dist/src/cli/dev/tui/log-display-mode.d.ts +0 -7
  256. package/dist/src/cli/dev/tui/markdown.d.ts +0 -14
  257. package/dist/src/cli/dev/tui/mcp-connection-status.d.ts +0 -20
  258. package/dist/src/cli/dev/tui/message-queue.d.ts +0 -33
  259. package/dist/src/cli/dev/tui/prompt-command-handler.d.ts +0 -18
  260. package/dist/src/cli/dev/tui/prompt-commands.d.ts +0 -266
  261. package/dist/src/cli/dev/tui/prompt-placeholder.d.ts +0 -2
  262. package/dist/src/cli/dev/tui/provider-picker.d.ts +0 -65
  263. package/dist/src/cli/dev/tui/question-panel.d.ts +0 -31
  264. package/dist/src/cli/dev/tui/rail.d.ts +0 -15
  265. package/dist/src/cli/dev/tui/registry-result-message.d.ts +0 -27
  266. package/dist/src/cli/dev/tui/remote-auth-result.d.ts +0 -26
  267. package/dist/src/cli/dev/tui/remote-auth.d.ts +0 -33
  268. package/dist/src/cli/dev/tui/remote-connection-probe.d.ts +0 -12
  269. package/dist/src/cli/dev/tui/remote-connection-types.d.ts +0 -69
  270. package/dist/src/cli/dev/tui/remote-connection.d.ts +0 -3
  271. package/dist/src/cli/dev/tui/remote-startup.d.ts +0 -10
  272. package/dist/src/cli/dev/tui/runner.d.ts +0 -322
  273. package/dist/src/cli/dev/tui/setup-commands.d.ts +0 -72
  274. package/dist/src/cli/dev/tui/setup-flow.d.ts +0 -133
  275. package/dist/src/cli/dev/tui/setup-issues.d.ts +0 -66
  276. package/dist/src/cli/dev/tui/setup-panel.d.ts +0 -182
  277. package/dist/src/cli/dev/tui/setup-selection-input.d.ts +0 -52
  278. package/dist/src/cli/dev/tui/startup.d.ts +0 -20
  279. package/dist/src/cli/dev/tui/status-line.d.ts +0 -39
  280. package/dist/src/cli/dev/tui/stranded-session.d.ts +0 -9
  281. package/dist/src/cli/dev/tui/stream-format.d.ts +0 -158
  282. package/dist/src/cli/dev/tui/target.d.ts +0 -11
  283. package/dist/src/cli/dev/tui/task-activity.d.ts +0 -42
  284. package/dist/src/cli/dev/tui/task-records.d.ts +0 -17
  285. package/dist/src/cli/dev/tui/terminal-background.d.ts +0 -23
  286. package/dist/src/cli/dev/tui/terminal-renderer.d.ts +0 -148
  287. package/dist/src/cli/dev/tui/terminal-tool-part.d.ts +0 -2
  288. package/dist/src/cli/dev/tui/test/fake-eve-server.d.ts +0 -34
  289. package/dist/src/cli/dev/tui/test/fake-setup-flow-renderer.d.ts +0 -2
  290. package/dist/src/cli/dev/tui/test/index.d.ts +0 -15
  291. package/dist/src/cli/dev/tui/test/mock-terminal.d.ts +0 -51
  292. package/dist/src/cli/dev/tui/theme.d.ts +0 -127
  293. package/dist/src/cli/dev/tui/tool-block-groups.d.ts +0 -38
  294. package/dist/src/cli/dev/tui/tool-format.d.ts +0 -31
  295. package/dist/src/cli/dev/tui/tool-presentation.d.ts +0 -95
  296. package/dist/src/cli/dev/tui/tool-rows.d.ts +0 -16
  297. package/dist/src/cli/dev/tui/traces/trace-content.d.ts +0 -24
  298. package/dist/src/cli/dev/tui/traces/trace-conversation.d.ts +0 -61
  299. package/dist/src/cli/dev/tui/traces/trace-store.d.ts +0 -27
  300. package/dist/src/cli/dev/tui/traces/trace-surfaces.d.ts +0 -40
  301. package/dist/src/cli/dev/tui/traces/trace-view.d.ts +0 -56
  302. package/dist/src/cli/dev/tui/traces/trace-viewer-session.d.ts +0 -55
  303. package/dist/src/cli/dev/tui/traces/trace-viewer-state.d.ts +0 -109
  304. package/dist/src/cli/dev/tui/transcript-parts.d.ts +0 -85
  305. package/dist/src/cli/dev/tui/transcript.d.ts +0 -43
  306. package/dist/src/cli/dev/tui/tui-prompter.d.ts +0 -20
  307. package/dist/src/cli/dev/tui/tui.d.ts +0 -37
  308. package/dist/src/cli/dev/tui/turn-clock.d.ts +0 -21
  309. package/dist/src/cli/dev/tui/types.d.ts +0 -70
  310. package/dist/src/cli/dev/tui/vercel-status.d.ts +0 -44
  311. package/dist/src/cli/dev/tui/vercel-trusted-sources-policy.d.ts +0 -22
  312. package/dist/src/cli/dev/tui/vercel-trusted-sources.d.ts +0 -48
  313. package/dist/src/cli/dev/ui-options.d.ts +0 -22
  314. package/dist/src/cli/dev/url-target.d.ts +0 -15
  315. package/dist/src/cli/dev/url.d.ts +0 -4
  316. package/dist/src/cli/dev/wait-for-ui.d.ts +0 -13
  317. package/dist/src/cli/format-elapsed.d.ts +0 -2
  318. package/dist/src/cli/option-parsers.d.ts +0 -17
  319. package/dist/src/cli/run.d.ts +0 -38
  320. package/dist/src/cli/shutdown.d.ts +0 -25
  321. package/dist/src/cli/telemetry/command.d.ts +0 -9
  322. package/dist/src/cli/telemetry/flush.d.ts +0 -2
  323. package/dist/src/cli/telemetry/identity.d.ts +0 -13
  324. package/dist/src/cli/telemetry/index.d.ts +0 -37
  325. package/dist/src/cli/telemetry/preference.d.ts +0 -10
  326. package/dist/src/cli/ui/alt-screen.d.ts +0 -49
  327. package/dist/src/cli/ui/live-region.d.ts +0 -63
  328. package/dist/src/cli/ui/live-row.d.ts +0 -22
  329. package/dist/src/cli/ui/output.d.ts +0 -48
  330. package/dist/src/cli/ui/progress-pulse.d.ts +0 -10
  331. package/dist/src/cli/ui/terminal-text.d.ts +0 -36
  332. package/dist/src/cli/vercel-service-output.d.ts +0 -4
  333. package/dist/src/client/abort-signal.d.ts +0 -2
  334. package/dist/src/client/agent-base-url.d.ts +0 -4
  335. package/dist/src/client/agent-info-schema.d.ts +0 -1356
  336. package/dist/src/client/agent-stream-follower.d.ts +0 -17
  337. package/dist/src/client/conversation-client.d.ts +0 -51
  338. package/dist/src/client/delivery-events.d.ts +0 -3
  339. package/dist/src/client/file-parts.d.ts +0 -23
  340. package/dist/src/client/health-schema.d.ts +0 -7
  341. package/dist/src/client/messages.d.ts +0 -30
  342. package/dist/src/client/ndjson.d.ts +0 -18
  343. package/dist/src/client/open-stream.d.ts +0 -96
  344. package/dist/src/client/optimistic-message-submissions.d.ts +0 -15
  345. package/dist/src/client/session-controls.d.ts +0 -34
  346. package/dist/src/client/session-event-stream.d.ts +0 -19
  347. package/dist/src/client/session-store-helpers.d.ts +0 -8
  348. package/dist/src/client/stream-version.d.ts +0 -5
  349. package/dist/src/client/url.d.ts +0 -13
  350. package/dist/src/compiled/@agentclientprotocol/sdk/core/app-handlers.d.ts +0 -28
  351. package/dist/src/compiled/@agentclientprotocol/sdk/core/connection-access.d.ts +0 -23
  352. package/dist/src/compiled/@agentclientprotocol/sdk/core/jsonrpc.d.ts +0 -576
  353. package/dist/src/compiled/@agentclientprotocol/sdk/core/stream-limits.d.ts +0 -15
  354. package/dist/src/compiled/@agentclientprotocol/sdk/core/stream.d.ts +0 -33
  355. package/dist/src/compiled/@agentclientprotocol/sdk/index.d.ts +0 -1
  356. package/dist/src/compiled/@agentclientprotocol/sdk/transports/connection.d.ts +0 -273
  357. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/guards.gen.d.ts +0 -183
  358. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/index.d.ts +0 -33
  359. package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/types.gen.d.ts +0 -4093
  360. package/dist/src/compiled/@agentclientprotocol/sdk/v1/stable/acp.d.ts +0 -812
  361. package/dist/src/compiled/@ai-sdk/anthropic/index.d.ts +0 -1891
  362. package/dist/src/compiled/@ai-sdk/google/index.d.ts +0 -961
  363. package/dist/src/compiled/@ai-sdk/mcp/index.d.ts +0 -1439
  364. package/dist/src/compiled/@ai-sdk/openai/index.d.ts +0 -2196
  365. package/dist/src/compiled/@ai-sdk/otel/index.d.ts +0 -1059
  366. package/dist/src/compiled/@ai-sdk/provider/index.d.ts +0 -9624
  367. package/dist/src/compiled/@ai-sdk/provider-utils/index.d.ts +0 -3364
  368. package/dist/src/compiled/@cfworker/json-schema/index.d.ts +0 -18
  369. package/dist/src/compiled/@chat-adapter/slack/_chat-adapter-shared.d.ts +0 -10
  370. package/dist/src/compiled/@chat-adapter/slack/_slack-web-api.d.ts +0 -8
  371. package/dist/src/compiled/@chat-adapter/slack/blocks.d.ts +0 -205
  372. package/dist/src/compiled/@chat-adapter/slack/format.d.ts +0 -33
  373. package/dist/src/compiled/@chat-adapter/slack/index.d.ts +0 -1437
  374. package/dist/src/compiled/@chat-adapter/state-memory/index.d.ts +0 -50
  375. package/dist/src/compiled/@chat-adapter/twilio/format.d.ts +0 -12
  376. package/dist/src/compiled/@chat-adapter/twilio/index.d.ts +0 -166
  377. package/dist/src/compiled/@clack/core/index.d.ts +0 -505
  378. package/dist/src/compiled/@modelcontextprotocol/server/index.d.ts +0 -180
  379. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.d.ts +0 -3
  380. package/dist/src/compiled/@vercel/agent-runs/adapters/agent-transport.d.ts +0 -8
  381. package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-payload.d.ts +0 -15
  382. package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-telemetry.d.ts +0 -14
  383. package/dist/src/compiled/@vercel/agent-runs/adapters/otel-error.d.ts +0 -3
  384. package/dist/src/compiled/@vercel/agent-runs/adapters/serialization.d.ts +0 -36
  385. package/dist/src/compiled/@vercel/agent-runs/ai-sdk.d.ts +0 -7
  386. package/dist/src/compiled/@vercel/agent-runs/core/activation.d.ts +0 -3
  387. package/dist/src/compiled/@vercel/agent-runs/core/attributes.d.ts +0 -14
  388. package/dist/src/compiled/@vercel/agent-runs/core/content-policy.d.ts +0 -36
  389. package/dist/src/compiled/@vercel/agent-runs/core/context.d.ts +0 -3
  390. package/dist/src/compiled/@vercel/agent-runs/core/delegation.d.ts +0 -13
  391. package/dist/src/compiled/@vercel/agent-runs/core/snapshot.d.ts +0 -7
  392. package/dist/src/compiled/@vercel/agent-runs/core/span-kinds.d.ts +0 -12
  393. package/dist/src/compiled/@vercel/agent-runs/core/writer.d.ts +0 -15
  394. package/dist/src/compiled/@vercel/agent-runs/delegation.d.ts +0 -2
  395. package/dist/src/compiled/@vercel/agent-runs/otel.d.ts +0 -12
  396. package/dist/src/compiled/@vercel/blob/client.d.ts +0 -488
  397. package/dist/src/compiled/@vercel/blob/create-folder-DoYODb65.d.ts +0 -487
  398. package/dist/src/compiled/@vercel/blob/index.d.ts +0 -633
  399. package/dist/src/compiled/@vercel/connect/authorization-details.d.ts +0 -11
  400. package/dist/src/compiled/@vercel/connect/authorization.d.ts +0 -47
  401. package/dist/src/compiled/@vercel/connect/connector.d.ts +0 -32
  402. package/dist/src/compiled/@vercel/connect/index.d.ts +0 -5
  403. package/dist/src/compiled/@vercel/connect/installation.d.ts +0 -48
  404. package/dist/src/compiled/@vercel/connect/token.d.ts +0 -147
  405. package/dist/src/compiled/@vercel/detect-agent/index.d.ts +0 -20
  406. package/dist/src/compiled/@vercel/oidc/index.d.ts +0 -21
  407. package/dist/src/compiled/@vercel/otel/index.d.ts +0 -76
  408. package/dist/src/compiled/@vercel/queue/index.d.ts +0 -1439
  409. package/dist/src/compiled/@vercel/sandbox/_async-retry.d.ts +0 -8
  410. package/dist/src/compiled/@vercel/sandbox/_workflow-serde.d.ts +0 -5
  411. package/dist/src/compiled/@vercel/sandbox/api-client/api-client.d.ts +0 -1914
  412. package/dist/src/compiled/@vercel/sandbox/api-client/api-error.d.ts +0 -29
  413. package/dist/src/compiled/@vercel/sandbox/api-client/base-client.d.ts +0 -39
  414. package/dist/src/compiled/@vercel/sandbox/api-client/file-writer.d.ts +0 -66
  415. package/dist/src/compiled/@vercel/sandbox/api-client/index.d.ts +0 -2
  416. package/dist/src/compiled/@vercel/sandbox/api-client/validators.d.ts +0 -951
  417. package/dist/src/compiled/@vercel/sandbox/api-client/with-retry.d.ts +0 -10
  418. package/dist/src/compiled/@vercel/sandbox/auth/error.d.ts +0 -15
  419. package/dist/src/compiled/@vercel/sandbox/auth/file.d.ts +0 -18
  420. package/dist/src/compiled/@vercel/sandbox/auth/index.d.ts +0 -6
  421. package/dist/src/compiled/@vercel/sandbox/auth/oauth.d.ts +0 -111
  422. package/dist/src/compiled/@vercel/sandbox/auth/poll-for-token.d.ts +0 -28
  423. package/dist/src/compiled/@vercel/sandbox/auth/project.d.ts +0 -40
  424. package/dist/src/compiled/@vercel/sandbox/command.d.ts +0 -370
  425. package/dist/src/compiled/@vercel/sandbox/constants.d.ts +0 -15
  426. package/dist/src/compiled/@vercel/sandbox/drive.d.ts +0 -201
  427. package/dist/src/compiled/@vercel/sandbox/execution-context.d.ts +0 -116
  428. package/dist/src/compiled/@vercel/sandbox/filesystem.d.ts +0 -258
  429. package/dist/src/compiled/@vercel/sandbox/index.d.ts +0 -15
  430. package/dist/src/compiled/@vercel/sandbox/network-policy.d.ts +0 -200
  431. package/dist/src/compiled/@vercel/sandbox/proxy.d.ts +0 -55
  432. package/dist/src/compiled/@vercel/sandbox/sandbox-user.d.ts +0 -211
  433. package/dist/src/compiled/@vercel/sandbox/sandbox.d.ts +0 -1330
  434. package/dist/src/compiled/@vercel/sandbox/session.d.ts +0 -461
  435. package/dist/src/compiled/@vercel/sandbox/snapshot.d.ts +0 -238
  436. package/dist/src/compiled/@vercel/sandbox/utils/get-credentials.d.ts +0 -21
  437. package/dist/src/compiled/@vercel/sandbox/utils/network-policy.d.ts +0 -27
  438. package/dist/src/compiled/@vercel/sandbox/utils/paginator.d.ts +0 -16
  439. package/dist/src/compiled/@vercel/sandbox/utils/pipe-stdin.d.ts +0 -19
  440. package/dist/src/compiled/@vercel/sandbox/utils/resolveSignal.d.ts +0 -15
  441. package/dist/src/compiled/@vercel/sandbox/utils/sandbox-snapshot.d.ts +0 -11
  442. package/dist/src/compiled/@vercel/sandbox/utils/types.d.ts +0 -11
  443. package/dist/src/compiled/@vercel/schedules/index.d.ts +0 -290
  444. package/dist/src/compiled/@vercel/sdk/index.d.ts +0 -41
  445. package/dist/src/compiled/@workflow/core/_devalue.d.ts +0 -8
  446. package/dist/src/compiled/@workflow/core/_ms.d.ts +0 -4
  447. package/dist/src/compiled/@workflow/core/_quickjs-wasi.d.ts +0 -11
  448. package/dist/src/compiled/@workflow/core/_workflow-serde.d.ts +0 -5
  449. package/dist/src/compiled/@workflow/core/_workflow-utils.d.ts +0 -8
  450. package/dist/src/compiled/@workflow/core/_workflow-vm.d.ts +0 -119
  451. package/dist/src/compiled/@workflow/core/attribute-changes.d.ts +0 -6
  452. package/dist/src/compiled/@workflow/core/capabilities.d.ts +0 -107
  453. package/dist/src/compiled/@workflow/core/capture-stack.d.ts +0 -16
  454. package/dist/src/compiled/@workflow/core/class-serialization.d.ts +0 -63
  455. package/dist/src/compiled/@workflow/core/classify-error.d.ts +0 -35
  456. package/dist/src/compiled/@workflow/core/context-errors.d.ts +0 -27
  457. package/dist/src/compiled/@workflow/core/context-violation-error.d.ts +0 -97
  458. package/dist/src/compiled/@workflow/core/create-hook.d.ts +0 -296
  459. package/dist/src/compiled/@workflow/core/define-hook.d.ts +0 -68
  460. package/dist/src/compiled/@workflow/core/describe-error.d.ts +0 -70
  461. package/dist/src/compiled/@workflow/core/encryption.d.ts +0 -79
  462. package/dist/src/compiled/@workflow/core/events-consumer.d.ts +0 -458
  463. package/dist/src/compiled/@workflow/core/flushable-stream.d.ts +0 -180
  464. package/dist/src/compiled/@workflow/core/global.d.ts +0 -100
  465. package/dist/src/compiled/@workflow/core/index.d.ts +0 -21
  466. package/dist/src/compiled/@workflow/core/log-format.d.ts +0 -29
  467. package/dist/src/compiled/@workflow/core/logger.d.ts +0 -30
  468. package/dist/src/compiled/@workflow/core/private.d.ts +0 -364
  469. package/dist/src/compiled/@workflow/core/replay-divergence.d.ts +0 -25
  470. package/dist/src/compiled/@workflow/core/replay-payload-cache.d.ts +0 -78
  471. package/dist/src/compiled/@workflow/core/runtime/after-terminal-write.d.ts +0 -33
  472. package/dist/src/compiled/@workflow/core/runtime/child-run-completion-notify.d.ts +0 -36
  473. package/dist/src/compiled/@workflow/core/runtime/child-run-completion.d.ts +0 -46
  474. package/dist/src/compiled/@workflow/core/runtime/compute-instance.d.ts +0 -13
  475. package/dist/src/compiled/@workflow/core/runtime/constants.d.ts +0 -321
  476. package/dist/src/compiled/@workflow/core/runtime/delivery.d.ts +0 -270
  477. package/dist/src/compiled/@workflow/core/runtime/deployment-guard.d.ts +0 -107
  478. package/dist/src/compiled/@workflow/core/runtime/dynamic-workflow.d.ts +0 -182
  479. package/dist/src/compiled/@workflow/core/runtime/event-limit-warning.d.ts +0 -32
  480. package/dist/src/compiled/@workflow/core/runtime/get-port-lazy.d.ts +0 -25
  481. package/dist/src/compiled/@workflow/core/runtime/get-world-lazy.d.ts +0 -23
  482. package/dist/src/compiled/@workflow/core/runtime/helpers.d.ts +0 -549
  483. package/dist/src/compiled/@workflow/core/runtime/hook-creation.d.ts +0 -45
  484. package/dist/src/compiled/@workflow/core/runtime/hook-wake.d.ts +0 -124
  485. package/dist/src/compiled/@workflow/core/runtime/invocations.d.ts +0 -35
  486. package/dist/src/compiled/@workflow/core/runtime/lifecycle-hooks.d.ts +0 -97
  487. package/dist/src/compiled/@workflow/core/runtime/out-of-band-observation.d.ts +0 -191
  488. package/dist/src/compiled/@workflow/core/runtime/queue-auth.d.ts +0 -53
  489. package/dist/src/compiled/@workflow/core/runtime/quickjs-assets.generated.d.ts +0 -21
  490. package/dist/src/compiled/@workflow/core/runtime/quickjs-delivery-shared.d.ts +0 -126
  491. package/dist/src/compiled/@workflow/core/runtime/quickjs-log-view.d.ts +0 -211
  492. package/dist/src/compiled/@workflow/core/runtime/quickjs-pending-ops.d.ts +0 -181
  493. package/dist/src/compiled/@workflow/core/runtime/quickjs-runtime.d.ts +0 -356
  494. package/dist/src/compiled/@workflow/core/runtime/quickjs-serde.d.ts +0 -107
  495. package/dist/src/compiled/@workflow/core/runtime/quickjs-snapshot-codec.d.ts +0 -74
  496. package/dist/src/compiled/@workflow/core/runtime/replay-budget.d.ts +0 -104
  497. package/dist/src/compiled/@workflow/core/runtime/replay-recovery-reporter.d.ts +0 -36
  498. package/dist/src/compiled/@workflow/core/runtime/resume-hook.d.ts +0 -167
  499. package/dist/src/compiled/@workflow/core/runtime/resume-latency.d.ts +0 -150
  500. package/dist/src/compiled/@workflow/core/runtime/run-id-time.d.ts +0 -19
  501. package/dist/src/compiled/@workflow/core/runtime/run-spec-routing.d.ts +0 -52
  502. package/dist/src/compiled/@workflow/core/runtime/run-spec-version.d.ts +0 -20
  503. package/dist/src/compiled/@workflow/core/runtime/run.d.ts +0 -221
  504. package/dist/src/compiled/@workflow/core/runtime/runs.d.ts +0 -166
  505. package/dist/src/compiled/@workflow/core/runtime/spec8/constants.d.ts +0 -129
  506. package/dist/src/compiled/@workflow/core/runtime/spec8/count-step-started-events.d.ts +0 -52
  507. package/dist/src/compiled/@workflow/core/runtime/spec8/delivery.d.ts +0 -6
  508. package/dist/src/compiled/@workflow/core/runtime/spec8/inline-steps-in-flight.d.ts +0 -58
  509. package/dist/src/compiled/@workflow/core/runtime/spec8/open-hook-wait-state.d.ts +0 -55
  510. package/dist/src/compiled/@workflow/core/runtime/spec8/quickjs-entrypoint.d.ts +0 -110
  511. package/dist/src/compiled/@workflow/core/runtime/spec8/step-executor.d.ts +0 -233
  512. package/dist/src/compiled/@workflow/core/runtime/spec8/step-ownership.d.ts +0 -72
  513. package/dist/src/compiled/@workflow/core/runtime/spec8/step-single-flight.d.ts +0 -34
  514. package/dist/src/compiled/@workflow/core/runtime/spec8/suspension-handler.d.ts +0 -352
  515. package/dist/src/compiled/@workflow/core/runtime/spec9/consume-after-commit.d.ts +0 -37
  516. package/dist/src/compiled/@workflow/core/runtime/spec9/consumed-position.d.ts +0 -38
  517. package/dist/src/compiled/@workflow/core/runtime/spec9/creator-rules.d.ts +0 -220
  518. package/dist/src/compiled/@workflow/core/runtime/spec9/deadline.d.ts +0 -18
  519. package/dist/src/compiled/@workflow/core/runtime/spec9/delivery.d.ts +0 -17
  520. package/dist/src/compiled/@workflow/core/runtime/spec9/fence-refusals.d.ts +0 -20
  521. package/dist/src/compiled/@workflow/core/runtime/spec9/in-band-writer.d.ts +0 -282
  522. package/dist/src/compiled/@workflow/core/runtime/spec9/live-feed.d.ts +0 -197
  523. package/dist/src/compiled/@workflow/core/runtime/spec9/log-index.d.ts +0 -74
  524. package/dist/src/compiled/@workflow/core/runtime/spec9/log-state.d.ts +0 -155
  525. package/dist/src/compiled/@workflow/core/runtime/spec9/quickjs-entrypoint.d.ts +0 -198
  526. package/dist/src/compiled/@workflow/core/runtime/spec9/read-deadline.d.ts +0 -46
  527. package/dist/src/compiled/@workflow/core/runtime/spec9/run-ahead.d.ts +0 -74
  528. package/dist/src/compiled/@workflow/core/runtime/spec9/step-delivery.d.ts +0 -146
  529. package/dist/src/compiled/@workflow/core/runtime/spec9/step-executor.d.ts +0 -225
  530. package/dist/src/compiled/@workflow/core/runtime/spec9/step-handler.d.ts +0 -92
  531. package/dist/src/compiled/@workflow/core/runtime/spec9/step-message.d.ts +0 -42
  532. package/dist/src/compiled/@workflow/core/runtime/spec9/step-retention.d.ts +0 -44
  533. package/dist/src/compiled/@workflow/core/runtime/spec9/step-single-flight.d.ts +0 -19
  534. package/dist/src/compiled/@workflow/core/runtime/spec9/step-wait-creation.d.ts +0 -162
  535. package/dist/src/compiled/@workflow/core/runtime/spec9/suspension-handler.d.ts +0 -125
  536. package/dist/src/compiled/@workflow/core/runtime/spec9/wait-timer.d.ts +0 -143
  537. package/dist/src/compiled/@workflow/core/runtime/start-hook-binding.d.ts +0 -51
  538. package/dist/src/compiled/@workflow/core/runtime/start-hook-delivery.d.ts +0 -47
  539. package/dist/src/compiled/@workflow/core/runtime/start-hook-holder.d.ts +0 -50
  540. package/dist/src/compiled/@workflow/core/runtime/start.d.ts +0 -308
  541. package/dist/src/compiled/@workflow/core/runtime/step-latency.d.ts +0 -221
  542. package/dist/src/compiled/@workflow/core/runtime/step-single-flight.d.ts +0 -8
  543. package/dist/src/compiled/@workflow/core/runtime/step-streams.d.ts +0 -6
  544. package/dist/src/compiled/@workflow/core/runtime/suspension-hooks.d.ts +0 -84
  545. package/dist/src/compiled/@workflow/core/runtime/unserializable-step.d.ts +0 -34
  546. package/dist/src/compiled/@workflow/core/runtime/vm-mode.d.ts +0 -132
  547. package/dist/src/compiled/@workflow/core/runtime/wait-continuation.d.ts +0 -133
  548. package/dist/src/compiled/@workflow/core/runtime/wait-until.d.ts +0 -18
  549. package/dist/src/compiled/@workflow/core/runtime/world-compatibility.d.ts +0 -51
  550. package/dist/src/compiled/@workflow/core/runtime/world-init.d.ts +0 -50
  551. package/dist/src/compiled/@workflow/core/runtime/world.d.ts +0 -44
  552. package/dist/src/compiled/@workflow/core/runtime.d.ts +0 -26
  553. package/dist/src/compiled/@workflow/core/schemas.d.ts +0 -15
  554. package/dist/src/compiled/@workflow/core/sealed-box.d.ts +0 -167
  555. package/dist/src/compiled/@workflow/core/seeded-nanoid.d.ts +0 -2
  556. package/dist/src/compiled/@workflow/core/serialization/abort-stream.d.ts +0 -11
  557. package/dist/src/compiled/@workflow/core/serialization/client.d.ts +0 -17
  558. package/dist/src/compiled/@workflow/core/serialization/codec-devalue-vm.d.ts +0 -16
  559. package/dist/src/compiled/@workflow/core/serialization/codec-devalue.d.ts +0 -14
  560. package/dist/src/compiled/@workflow/core/serialization/codec.d.ts +0 -140
  561. package/dist/src/compiled/@workflow/core/serialization/compression.d.ts +0 -149
  562. package/dist/src/compiled/@workflow/core/serialization/encryption.d.ts +0 -134
  563. package/dist/src/compiled/@workflow/core/serialization/errors.d.ts +0 -34
  564. package/dist/src/compiled/@workflow/core/serialization/format.d.ts +0 -60
  565. package/dist/src/compiled/@workflow/core/serialization/hardened.d.ts +0 -164
  566. package/dist/src/compiled/@workflow/core/serialization/index.d.ts +0 -20
  567. package/dist/src/compiled/@workflow/core/serialization/reducers/class-vm.d.ts +0 -20
  568. package/dist/src/compiled/@workflow/core/serialization/reducers/class.d.ts +0 -11
  569. package/dist/src/compiled/@workflow/core/serialization/reducers/common-vm.d.ts +0 -15
  570. package/dist/src/compiled/@workflow/core/serialization/reducers/common.d.ts +0 -16
  571. package/dist/src/compiled/@workflow/core/serialization/reducers/step-function-vm.d.ts +0 -44
  572. package/dist/src/compiled/@workflow/core/serialization/reducers/step-function.d.ts +0 -35
  573. package/dist/src/compiled/@workflow/core/serialization/state-recovery.d.ts +0 -21
  574. package/dist/src/compiled/@workflow/core/serialization/state-refs.d.ts +0 -229
  575. package/dist/src/compiled/@workflow/core/serialization/step.d.ts +0 -17
  576. package/dist/src/compiled/@workflow/core/serialization/types.d.ts +0 -298
  577. package/dist/src/compiled/@workflow/core/serialization/workflow-vm.d.ts +0 -29
  578. package/dist/src/compiled/@workflow/core/serialization/workflow.d.ts +0 -29
  579. package/dist/src/compiled/@workflow/core/serialization-format.d.ts +0 -220
  580. package/dist/src/compiled/@workflow/core/serialization.d.ts +0 -641
  581. package/dist/src/compiled/@workflow/core/set-attributes.d.ts +0 -13
  582. package/dist/src/compiled/@workflow/core/set-error-stack.d.ts +0 -12
  583. package/dist/src/compiled/@workflow/core/sleep.d.ts +0 -33
  584. package/dist/src/compiled/@workflow/core/source-map.d.ts +0 -35
  585. package/dist/src/compiled/@workflow/core/state-resolver.d.ts +0 -44
  586. package/dist/src/compiled/@workflow/core/state.d.ts +0 -56
  587. package/dist/src/compiled/@workflow/core/step/context-storage.d.ts +0 -76
  588. package/dist/src/compiled/@workflow/core/step/get-closure-vars.d.ts +0 -9
  589. package/dist/src/compiled/@workflow/core/step/get-step-metadata.d.ts +0 -53
  590. package/dist/src/compiled/@workflow/core/step/get-workflow-metadata.d.ts +0 -7
  591. package/dist/src/compiled/@workflow/core/step/writable-stream.d.ts +0 -22
  592. package/dist/src/compiled/@workflow/core/step.d.ts +0 -4
  593. package/dist/src/compiled/@workflow/core/symbols.d.ts +0 -72
  594. package/dist/src/compiled/@workflow/core/telemetry/semantic-conventions.d.ts +0 -995
  595. package/dist/src/compiled/@workflow/core/telemetry.d.ts +0 -156
  596. package/dist/src/compiled/@workflow/core/test-support/append-only-world.d.ts +0 -458
  597. package/dist/src/compiled/@workflow/core/test-support/fence-snapshot.d.ts +0 -11
  598. package/dist/src/compiled/@workflow/core/test-support/load-events.d.ts +0 -8
  599. package/dist/src/compiled/@workflow/core/test-support/orchestrator-context.d.ts +0 -25
  600. package/dist/src/compiled/@workflow/core/test-support/orchestrator-harness.d.ts +0 -504
  601. package/dist/src/compiled/@workflow/core/types.d.ts +0 -43
  602. package/dist/src/compiled/@workflow/core/util.d.ts +0 -35
  603. package/dist/src/compiled/@workflow/core/version.d.ts +0 -2
  604. package/dist/src/compiled/@workflow/core/vm/index.d.ts +0 -17
  605. package/dist/src/compiled/@workflow/core/vm/script-cache.d.ts +0 -26
  606. package/dist/src/compiled/@workflow/core/vm/uint8array-base64.d.ts +0 -21
  607. package/dist/src/compiled/@workflow/core/vm/uuid.d.ts +0 -10
  608. package/dist/src/compiled/@workflow/core/workflow/abort-controller.d.ts +0 -65
  609. package/dist/src/compiled/@workflow/core/workflow/attribute-dispatcher.d.ts +0 -6
  610. package/dist/src/compiled/@workflow/core/workflow/create-hook.d.ts +0 -7
  611. package/dist/src/compiled/@workflow/core/workflow/define-hook.d.ts +0 -10
  612. package/dist/src/compiled/@workflow/core/workflow/get-workflow-metadata.d.ts +0 -32
  613. package/dist/src/compiled/@workflow/core/workflow/hook.d.ts +0 -15
  614. package/dist/src/compiled/@workflow/core/workflow/index.d.ts +0 -13
  615. package/dist/src/compiled/@workflow/core/workflow/set-attributes.d.ts +0 -72
  616. package/dist/src/compiled/@workflow/core/workflow/sleep.d.ts +0 -4
  617. package/dist/src/compiled/@workflow/core/workflow/world-init-stub.d.ts +0 -15
  618. package/dist/src/compiled/@workflow/core/workflow/writable-stream.d.ts +0 -3
  619. package/dist/src/compiled/@workflow/core/workflow.d.ts +0 -2
  620. package/dist/src/compiled/@workflow/errors/_ms.d.ts +0 -4
  621. package/dist/src/compiled/@workflow/errors/ansi.d.ts +0 -57
  622. package/dist/src/compiled/@workflow/errors/error-codes.d.ts +0 -29
  623. package/dist/src/compiled/@workflow/errors/index.d.ts +0 -842
  624. package/dist/src/compiled/@workflow/serde/index.d.ts +0 -30
  625. package/dist/src/compiled/@workflow/world/analytics.d.ts +0 -275
  626. package/dist/src/compiled/@workflow/world/attributes-validation.d.ts +0 -101
  627. package/dist/src/compiled/@workflow/world/attributes.d.ts +0 -18
  628. package/dist/src/compiled/@workflow/world/capabilities.d.ts +0 -37
  629. package/dist/src/compiled/@workflow/world/env-config.d.ts +0 -76
  630. package/dist/src/compiled/@workflow/world/event-metadata.d.ts +0 -132
  631. package/dist/src/compiled/@workflow/world/events.d.ts +0 -1292
  632. package/dist/src/compiled/@workflow/world/hooks.d.ts +0 -147
  633. package/dist/src/compiled/@workflow/world/index.d.ts +0 -37
  634. package/dist/src/compiled/@workflow/world/interfaces.d.ts +0 -938
  635. package/dist/src/compiled/@workflow/world/invocation.d.ts +0 -19
  636. package/dist/src/compiled/@workflow/world/node-http-flag.d.ts +0 -41
  637. package/dist/src/compiled/@workflow/world/node-http.d.ts +0 -81
  638. package/dist/src/compiled/@workflow/world/queue.d.ts +0 -888
  639. package/dist/src/compiled/@workflow/world/recovery.d.ts +0 -36
  640. package/dist/src/compiled/@workflow/world/runs.d.ts +0 -314
  641. package/dist/src/compiled/@workflow/world/serialization.d.ts +0 -25
  642. package/dist/src/compiled/@workflow/world/shared.d.ts +0 -122
  643. package/dist/src/compiled/@workflow/world/slot-identity.d.ts +0 -90
  644. package/dist/src/compiled/@workflow/world/snapshots.d.ts +0 -64
  645. package/dist/src/compiled/@workflow/world/spec-version.d.ts +0 -257
  646. package/dist/src/compiled/@workflow/world/start-hook.d.ts +0 -177
  647. package/dist/src/compiled/@workflow/world/steps.d.ts +0 -82
  648. package/dist/src/compiled/@workflow/world/test-support/atomic-start-hook-conformance.d.ts +0 -109
  649. package/dist/src/compiled/@workflow/world/test-support/duplicate-event-fixtures.d.ts +0 -44
  650. package/dist/src/compiled/@workflow/world/test-support/in-band-fence-conformance.d.ts +0 -51
  651. package/dist/src/compiled/@workflow/world/ulid.d.ts +0 -50
  652. package/dist/src/compiled/@workflow/world/waits.d.ts +0 -21
  653. package/dist/src/compiled/@workflow/world-local/index.d.ts +0 -15
  654. package/dist/src/compiled/_chunks/node/retry-DrgXNq3T.js +0 -1
  655. package/dist/src/compiled/_chunks/node/token-util-Bjo0BJMz.js +0 -25
  656. package/dist/src/compiled/_chunks/node/token-util-Dz7NR_Tr.js +0 -1
  657. package/dist/src/compiled/_chunks/workflow/chunk-5MU5Z6L3-YIxCtn7b.js +0 -1
  658. package/dist/src/compiled/_chunks/workflow/chunk-WVKEO4WS-BAUmOByS.js +0 -1
  659. package/dist/src/compiled/_chunks/workflow/delegation-DLl-shwK.js +0 -1
  660. package/dist/src/compiled/_chunks/workflow/delivery-BrRGuXkQ.js +0 -1
  661. package/dist/src/compiled/_chunks/workflow/dist-74tor0XD.js +0 -66
  662. package/dist/src/compiled/_chunks/workflow/dist-DxRkCvK_.js +0 -4
  663. package/dist/src/compiled/_chunks/workflow/dist-M6hOHh4e.js +0 -1
  664. package/dist/src/compiled/_chunks/workflow/esm-B-KJJdww.js +0 -1
  665. package/dist/src/compiled/_chunks/workflow/functions-C4nAezjk.js +0 -60
  666. package/dist/src/compiled/_chunks/workflow/getMachineId-linux-NDQO5XIJ-Df0-OceL.js +0 -1
  667. package/dist/src/compiled/_chunks/workflow/getMachineId-unsupported-4HKOBEHB-Cp1dgBjO.js +0 -1
  668. package/dist/src/compiled/_chunks/workflow/mcp-BwOs3XEw.js +0 -5
  669. package/dist/src/compiled/_chunks/workflow/resume-hook-C7lViLeL.js +0 -1
  670. package/dist/src/compiled/_chunks/workflow/rolldown-runtime-Bdq61TOx.js +0 -1
  671. package/dist/src/compiled/_chunks/workflow/run-CBoukBsx.js +0 -34
  672. package/dist/src/compiled/_chunks/workflow/serialization-C5CU_DM9.js +0 -12
  673. package/dist/src/compiled/_chunks/workflow/sleep-c59AMqRs.js +0 -1
  674. package/dist/src/compiled/_chunks/workflow/suspension-hooks-CBo2hPl5.js +0 -3
  675. package/dist/src/compiled/_chunks/workflow/token-D3jqBt4E.js +0 -1
  676. package/dist/src/compiled/_chunks/workflow/token-DdYeX5AJ.js +0 -1
  677. package/dist/src/compiled/_chunks/workflow/token-lvcx9AkX.js +0 -1
  678. package/dist/src/compiled/_chunks/workflow/token-util-cvUzLGvF.js +0 -1
  679. package/dist/src/compiled/_chunks/workflow/undici-Dq-ari9z.js +0 -95
  680. package/dist/src/compiled/_chunks/workflow/wrapper-D2LPJXTV.js +0 -8
  681. package/dist/src/compiled/chokidar/index.d.ts +0 -33
  682. package/dist/src/compiled/commander/index.d.ts +0 -1116
  683. package/dist/src/compiled/croner/index.d.ts +0 -8
  684. package/dist/src/compiled/env-runner/index.d.ts +0 -74
  685. package/dist/src/compiled/env-runner/node-worker.d.ts +0 -1
  686. package/dist/src/compiled/eventsource-parser/stream/errors.d.ts +0 -35
  687. package/dist/src/compiled/eventsource-parser/stream/index.d.ts +0 -76
  688. package/dist/src/compiled/eventsource-parser/stream/types.d.ts +0 -130
  689. package/dist/src/compiled/immer/index.d.ts +0 -10
  690. package/dist/src/compiled/js-yaml/index.d.ts +0 -31
  691. package/dist/src/compiled/json-schema/index.d.ts +0 -749
  692. package/dist/src/compiled/jsonc-parser/index.d.ts +0 -32
  693. package/dist/src/compiled/just-secrets/index.d.ts +0 -20
  694. package/dist/src/compiled/marked/index.d.ts +0 -24
  695. package/dist/src/compiled/picocolors/index.d.ts +0 -55
  696. package/dist/src/compiled/run/index.d.ts +0 -388
  697. package/dist/src/compiled/semver/index.d.ts +0 -29
  698. package/dist/src/compiled/shadcn-registry/index.d.ts +0 -58
  699. package/dist/src/compiled/zod-validation-error/index.d.ts +0 -12
  700. package/dist/src/compiler/artifact-contract.d.ts +0 -43
  701. package/dist/src/compiler/artifacts.d.ts +0 -80
  702. package/dist/src/compiler/bundled-extension.d.ts +0 -23
  703. package/dist/src/compiler/channel-route-plan.d.ts +0 -12
  704. package/dist/src/compiler/compile-agent.d.ts +0 -58
  705. package/dist/src/compiler/connection-ownership.d.ts +0 -6
  706. package/dist/src/compiler/default-tool-policy.d.ts +0 -9
  707. package/dist/src/compiler/development-extensions.d.ts +0 -23
  708. package/dist/src/compiler/diagnostics.d.ts +0 -27
  709. package/dist/src/compiler/extension-compatibility.d.ts +0 -32
  710. package/dist/src/compiler/extension-mount-bindings.d.ts +0 -5
  711. package/dist/src/compiler/model-catalog.d.ts +0 -22
  712. package/dist/src/compiler/module-lifecycle.d.ts +0 -14
  713. package/dist/src/compiler/node-source-state.d.ts +0 -27
  714. package/dist/src/compiler/normalize-agent-config.d.ts +0 -14
  715. package/dist/src/compiler/normalize-channel.d.ts +0 -23
  716. package/dist/src/compiler/normalize-connection.d.ts +0 -30
  717. package/dist/src/compiler/normalize-definitions.d.ts +0 -8
  718. package/dist/src/compiler/normalize-helpers.d.ts +0 -48
  719. package/dist/src/compiler/normalize-instructions.d.ts +0 -32
  720. package/dist/src/compiler/normalize-manifest-helpers.d.ts +0 -45
  721. package/dist/src/compiler/normalize-manifest-types.d.ts +0 -28
  722. package/dist/src/compiler/normalize-manifest.d.ts +0 -5
  723. package/dist/src/compiler/normalize-sandbox.d.ts +0 -4
  724. package/dist/src/compiler/normalize-schedule-collection.d.ts +0 -10
  725. package/dist/src/compiler/normalize-schedule.d.ts +0 -15
  726. package/dist/src/compiler/normalize-skill.d.ts +0 -28
  727. package/dist/src/compiler/normalize-subagent.d.ts +0 -16
  728. package/dist/src/compiler/normalize-tool.d.ts +0 -36
  729. package/dist/src/compiler/project-sources.d.ts +0 -66
  730. package/dist/src/compiler/resolve-workspace-subagent.d.ts +0 -13
  731. package/dist/src/compiler/validate-artifact.d.ts +0 -17
  732. package/dist/src/compiler/workspace-resources.d.ts +0 -14
  733. package/dist/src/computer-use/extension/lib/command-failure.d.ts +0 -7
  734. package/dist/src/computer-use/extension/lib/computer-use-driver-source.d.ts +0 -12
  735. package/dist/src/computer-use/extension/lib/computer-use.d.ts +0 -38
  736. package/dist/src/computer-use/extension/lib/shell.d.ts +0 -1
  737. package/dist/src/connections/ownership.d.ts +0 -18
  738. package/dist/src/context/build-base-tool-context.d.ts +0 -14
  739. package/dist/src/context/build-callback-context.d.ts +0 -15
  740. package/dist/src/context/key-names.d.ts +0 -14
  741. package/dist/src/context/prewarm.d.ts +0 -27
  742. package/dist/src/context/provider.d.ts +0 -30
  743. package/dist/src/context/providers/connection-key.d.ts +0 -9
  744. package/dist/src/context/providers/connection.d.ts +0 -4
  745. package/dist/src/context/providers/sandbox.d.ts +0 -10
  746. package/dist/src/context/providers/session.d.ts +0 -21
  747. package/dist/src/context/providers/tool-stubs-key.d.ts +0 -8
  748. package/dist/src/context/run-step.d.ts +0 -23
  749. package/dist/src/context/schedule-collection-tools.d.ts +0 -23
  750. package/dist/src/context/serialize.d.ts +0 -19
  751. package/dist/src/context/turn-principals.d.ts +0 -12
  752. package/dist/src/context/workflow-step.d.ts +0 -3
  753. package/dist/src/definitions/agent-definitions.d.ts +0 -57
  754. package/dist/src/definitions/agent.d.ts +0 -7
  755. package/dist/src/definitions/approvals.d.ts +0 -6
  756. package/dist/src/definitions/builtins.d.ts +0 -6
  757. package/dist/src/definitions/catalog.d.ts +0 -7
  758. package/dist/src/definitions/combine.d.ts +0 -9
  759. package/dist/src/definitions/compiled-agent.d.ts +0 -12
  760. package/dist/src/definitions/connections.d.ts +0 -21
  761. package/dist/src/definitions/continuation.d.ts +0 -19
  762. package/dist/src/definitions/frame.d.ts +0 -13
  763. package/dist/src/definitions/hooks.d.ts +0 -33
  764. package/dist/src/definitions/instructions.d.ts +0 -21
  765. package/dist/src/definitions/intents.d.ts +0 -33
  766. package/dist/src/definitions/messages.d.ts +0 -17
  767. package/dist/src/definitions/session-agent.d.ts +0 -26
  768. package/dist/src/definitions/skills.d.ts +0 -27
  769. package/dist/src/definitions/state.d.ts +0 -113
  770. package/dist/src/definitions/step.d.ts +0 -53
  771. package/dist/src/definitions/subagents.d.ts +0 -16
  772. package/dist/src/definitions/tools.d.ts +0 -33
  773. package/dist/src/definitions/turn.d.ts +0 -12
  774. package/dist/src/discover/bundled-extension.d.ts +0 -11
  775. package/dist/src/discover/connections.d.ts +0 -19
  776. package/dist/src/discover/discover-agent.d.ts +0 -87
  777. package/dist/src/discover/discover-subagent.d.ts +0 -35
  778. package/dist/src/discover/extension-specifier.d.ts +0 -17
  779. package/dist/src/discover/extensions.d.ts +0 -127
  780. package/dist/src/discover/filesystem.d.ts +0 -74
  781. package/dist/src/discover/grammar.d.ts +0 -196
  782. package/dist/src/discover/lib.d.ts +0 -35
  783. package/dist/src/discover/manifest.d.ts +0 -297
  784. package/dist/src/discover/markdown.d.ts +0 -19
  785. package/dist/src/discover/memory.d.ts +0 -13
  786. package/dist/src/discover/named-source-directory.d.ts +0 -98
  787. package/dist/src/discover/project-source.d.ts +0 -113
  788. package/dist/src/discover/project.d.ts +0 -33
  789. package/dist/src/discover/sandbox.d.ts +0 -32
  790. package/dist/src/discover/schedules.d.ts +0 -38
  791. package/dist/src/discover/skills.d.ts +0 -35
  792. package/dist/src/discover/slots.d.ts +0 -30
  793. package/dist/src/evals/abort.d.ts +0 -2
  794. package/dist/src/evals/assertions/scoped.d.ts +0 -17
  795. package/dist/src/evals/cli/eval-client.d.ts +0 -20
  796. package/dist/src/evals/cli/eval-state-directory.d.ts +0 -7
  797. package/dist/src/evals/cli/eval.d.ts +0 -31
  798. package/dist/src/evals/cli/filter.d.ts +0 -14
  799. package/dist/src/evals/context.d.ts +0 -21
  800. package/dist/src/evals/control-flow.d.ts +0 -9
  801. package/dist/src/evals/diagnostics.d.ts +0 -8
  802. package/dist/src/evals/expect/levenshtein.d.ts +0 -2
  803. package/dist/src/evals/judge.d.ts +0 -12
  804. package/dist/src/evals/output.d.ts +0 -3
  805. package/dist/src/evals/reported-tool-name.d.ts +0 -9
  806. package/dist/src/evals/runner/artifacts.d.ts +0 -12
  807. package/dist/src/evals/runner/attempt-label.d.ts +0 -2
  808. package/dist/src/evals/runner/derive-run-facts.d.ts +0 -16
  809. package/dist/src/evals/runner/discover.d.ts +0 -51
  810. package/dist/src/evals/runner/execute-eval.d.ts +0 -31
  811. package/dist/src/evals/runner/execute-task.d.ts +0 -38
  812. package/dist/src/evals/runner/reporters/assertion-diagnostics.d.ts +0 -3
  813. package/dist/src/evals/runner/reporters/assertion-scores.d.ts +0 -30
  814. package/dist/src/evals/runner/reporters/datadog-runtime-trace-links.d.ts +0 -11
  815. package/dist/src/evals/runner/resolve-git-metadata.d.ts +0 -16
  816. package/dist/src/evals/runner/run-evals.d.ts +0 -44
  817. package/dist/src/evals/runner/verdict.d.ts +0 -14
  818. package/dist/src/evals/session-cleanup.d.ts +0 -7
  819. package/dist/src/evals/session-content.d.ts +0 -5
  820. package/dist/src/eve-channel/audience.d.ts +0 -3
  821. package/dist/src/eve-channel/create-request.d.ts +0 -24
  822. package/dist/src/eve-channel/descendant-stream.d.ts +0 -9
  823. package/dist/src/eve-channel/request.d.ts +0 -43
  824. package/dist/src/eve-channel/stream-headers.d.ts +0 -1
  825. package/dist/src/eve-channel/turn-policy-request.d.ts +0 -2
  826. package/dist/src/execution/agent-sessions/message.d.ts +0 -4
  827. package/dist/src/execution/agent-sessions/metadata.d.ts +0 -8
  828. package/dist/src/execution/agent-sessions/remote-credentials.d.ts +0 -19
  829. package/dist/src/execution/agent-sessions/remote-session.d.ts +0 -16
  830. package/dist/src/execution/agent-sessions/remote.d.ts +0 -117
  831. package/dist/src/execution/agent-sessions/requests.d.ts +0 -22
  832. package/dist/src/execution/agent-sessions/session.d.ts +0 -12
  833. package/dist/src/execution/agent-sessions/sessions-over.d.ts +0 -29
  834. package/dist/src/execution/agent-sessions/steps.d.ts +0 -27
  835. package/dist/src/execution/agent-sessions/usage.d.ts +0 -10
  836. package/dist/src/execution/authorization-callback-match.d.ts +0 -14
  837. package/dist/src/execution/callback-hook-tokens.d.ts +0 -18
  838. package/dist/src/execution/cancelled-model-call-batch.d.ts +0 -17
  839. package/dist/src/execution/cancelled-turn-message.d.ts +0 -2
  840. package/dist/src/execution/catalog/catalog-tools.d.ts +0 -22
  841. package/dist/src/execution/catalog/connection-auth.d.ts +0 -43
  842. package/dist/src/execution/catalog/connection-entry.d.ts +0 -17
  843. package/dist/src/execution/catalog/listing.d.ts +0 -12
  844. package/dist/src/execution/catalog/rank.d.ts +0 -44
  845. package/dist/src/execution/catalog/search.d.ts +0 -28
  846. package/dist/src/execution/catalog/signatures.d.ts +0 -11
  847. package/dist/src/execution/catalog/step-catalog.d.ts +0 -74
  848. package/dist/src/execution/channel-context.d.ts +0 -5
  849. package/dist/src/execution/close-session-stream-step.d.ts +0 -9
  850. package/dist/src/execution/connections/callback-route.d.ts +0 -27
  851. package/dist/src/execution/continuation-conflict-step.d.ts +0 -8
  852. package/dist/src/execution/coordination-dispatch-step.d.ts +0 -20
  853. package/dist/src/execution/create-session-step.d.ts +0 -35
  854. package/dist/src/execution/delegated-session-context.d.ts +0 -2
  855. package/dist/src/execution/deliver-payloads.d.ts +0 -3
  856. package/dist/src/execution/dynamic-workflow/program-step.d.ts +0 -21
  857. package/dist/src/execution/dynamic-workflow/schema.d.ts +0 -42
  858. package/dist/src/execution/dynamic-workflow/security-step.d.ts +0 -3
  859. package/dist/src/execution/dynamic-workflow/tool.d.ts +0 -8
  860. package/dist/src/execution/dynamic-workflow/workflow.d.ts +0 -10
  861. package/dist/src/execution/effective-agent-config.d.ts +0 -29
  862. package/dist/src/execution/eve-workflow-attributes.d.ts +0 -159
  863. package/dist/src/execution/failure-summary.d.ts +0 -11
  864. package/dist/src/execution/forward-session-input.d.ts +0 -4
  865. package/dist/src/execution/framework-workflow-bodies.d.ts +0 -7
  866. package/dist/src/execution/hook-ownership.d.ts +0 -23
  867. package/dist/src/execution/hosts.d.ts +0 -131
  868. package/dist/src/execution/initial-session-values.d.ts +0 -17
  869. package/dist/src/execution/install-workflow-deployment-id.d.ts +0 -3
  870. package/dist/src/execution/install-workflow-world.d.ts +0 -15
  871. package/dist/src/execution/invoke-tool.d.ts +0 -39
  872. package/dist/src/execution/legacy-session/authorization.d.ts +0 -1
  873. package/dist/src/execution/legacy-session/completion-step.d.ts +0 -12
  874. package/dist/src/execution/legacy-session/inbox.d.ts +0 -24
  875. package/dist/src/execution/legacy-session/input.d.ts +0 -17
  876. package/dist/src/execution/legacy-session/interrupt-step.d.ts +0 -3
  877. package/dist/src/execution/legacy-session/prepare-step.d.ts +0 -24
  878. package/dist/src/execution/legacy-session/snapshot.d.ts +0 -21
  879. package/dist/src/execution/legacy-session/turn-workflow.d.ts +0 -8
  880. package/dist/src/execution/model-call-batching.d.ts +0 -12
  881. package/dist/src/execution/ndjson-stream.d.ts +0 -19
  882. package/dist/src/execution/node-step.d.ts +0 -78
  883. package/dist/src/execution/proxied-deliver-step.d.ts +0 -45
  884. package/dist/src/execution/public-destination.d.ts +0 -37
  885. package/dist/src/execution/reconcile-session-continuation-token.d.ts +0 -4
  886. package/dist/src/execution/report-dropped-wire-payload-step.d.ts +0 -13
  887. package/dist/src/execution/route-child-delivery.d.ts +0 -20
  888. package/dist/src/execution/run-host.d.ts +0 -52
  889. package/dist/src/execution/runtime-context.d.ts +0 -14
  890. package/dist/src/execution/sandbox/abort-bound-session.d.ts +0 -6
  891. package/dist/src/execution/sandbox/active-connections.d.ts +0 -28
  892. package/dist/src/execution/sandbox/bash.d.ts +0 -69
  893. package/dist/src/execution/sandbox/bindings/docker-base-setup.d.ts +0 -7
  894. package/dist/src/execution/sandbox/bindings/docker-connection.d.ts +0 -15
  895. package/dist/src/execution/sandbox/bindings/docker-container.d.ts +0 -18
  896. package/dist/src/execution/sandbox/bindings/docker-network.d.ts +0 -13
  897. package/dist/src/execution/sandbox/bindings/docker-options.d.ts +0 -20
  898. package/dist/src/execution/sandbox/bindings/docker-templates.d.ts +0 -41
  899. package/dist/src/execution/sandbox/bindings/docker-utils.d.ts +0 -2
  900. package/dist/src/execution/sandbox/bindings/docker.d.ts +0 -32
  901. package/dist/src/execution/sandbox/bindings/just-bash-runtime.d.ts +0 -26
  902. package/dist/src/execution/sandbox/bindings/just-bash.d.ts +0 -18
  903. package/dist/src/execution/sandbox/bindings/local-provider-utils.d.ts +0 -6
  904. package/dist/src/execution/sandbox/bindings/local-template-prune.d.ts +0 -16
  905. package/dist/src/execution/sandbox/bindings/local.d.ts +0 -22
  906. package/dist/src/execution/sandbox/bindings/vercel-base-runtime.d.ts +0 -12
  907. package/dist/src/execution/sandbox/bindings/vercel-create-sdk.d.ts +0 -19
  908. package/dist/src/execution/sandbox/bindings/vercel-credentials.d.ts +0 -10
  909. package/dist/src/execution/sandbox/bindings/vercel-errors.d.ts +0 -13
  910. package/dist/src/execution/sandbox/bindings/vercel-lifecycle.d.ts +0 -15
  911. package/dist/src/execution/sandbox/bindings/vercel-lookup.d.ts +0 -12
  912. package/dist/src/execution/sandbox/bindings/vercel-options.d.ts +0 -9
  913. package/dist/src/execution/sandbox/bindings/vercel-read-stream.d.ts +0 -5
  914. package/dist/src/execution/sandbox/bindings/vercel-sdk-types.d.ts +0 -5
  915. package/dist/src/execution/sandbox/bindings/vercel-tool-sessions.d.ts +0 -7
  916. package/dist/src/execution/sandbox/bindings/vercel.d.ts +0 -21
  917. package/dist/src/execution/sandbox/development-cleanup.d.ts +0 -4
  918. package/dist/src/execution/sandbox/development-lazy-prewarm.d.ts +0 -7
  919. package/dist/src/execution/sandbox/development-run.d.ts +0 -5
  920. package/dist/src/execution/sandbox/dockerfile.d.ts +0 -20
  921. package/dist/src/execution/sandbox/ensure.d.ts +0 -42
  922. package/dist/src/execution/sandbox/glob-tool.d.ts +0 -22
  923. package/dist/src/execution/sandbox/logging-session.d.ts +0 -5
  924. package/dist/src/execution/sandbox/multiplexed-command.d.ts +0 -38
  925. package/dist/src/execution/sandbox/prewarm.d.ts +0 -61
  926. package/dist/src/execution/sandbox/provider-files.d.ts +0 -2
  927. package/dist/src/execution/sandbox/provider-identity.d.ts +0 -1
  928. package/dist/src/execution/sandbox/read-file.d.ts +0 -35
  929. package/dist/src/execution/sandbox/require-sandbox.d.ts +0 -7
  930. package/dist/src/execution/sandbox/ripgrep-probe.d.ts +0 -2
  931. package/dist/src/execution/sandbox/shell-quote.d.ts +0 -1
  932. package/dist/src/execution/sandbox/stream-utils.d.ts +0 -9
  933. package/dist/src/execution/sandbox/truncate-output.d.ts +0 -69
  934. package/dist/src/execution/session/accepted-deployment.d.ts +0 -3
  935. package/dist/src/execution/session/active-turn.d.ts +0 -117
  936. package/dist/src/execution/session/admission.d.ts +0 -40
  937. package/dist/src/execution/session/answer-caller.d.ts +0 -19
  938. package/dist/src/execution/session/checkpoint-migrations.d.ts +0 -32
  939. package/dist/src/execution/session/checkpoint-refusal.d.ts +0 -4
  940. package/dist/src/execution/session/control-delivery.d.ts +0 -4
  941. package/dist/src/execution/session/delivery-facts.d.ts +0 -27
  942. package/dist/src/execution/session/end-sandbox-step.d.ts +0 -12
  943. package/dist/src/execution/session/entry.d.ts +0 -17
  944. package/dist/src/execution/session/finalization.d.ts +0 -35
  945. package/dist/src/execution/session/handoff-state.d.ts +0 -5
  946. package/dist/src/execution/session/handoff-steps.d.ts +0 -130
  947. package/dist/src/execution/session/handoff.d.ts +0 -124
  948. package/dist/src/execution/session/handover-tracing.d.ts +0 -3
  949. package/dist/src/execution/session/hook-tokens.d.ts +0 -11
  950. package/dist/src/execution/session/imported-conversation.d.ts +0 -2
  951. package/dist/src/execution/session/input-queue.d.ts +0 -101
  952. package/dist/src/execution/session/interrupted-step.d.ts +0 -69
  953. package/dist/src/execution/session/next-input.d.ts +0 -37
  954. package/dist/src/execution/session/owner-boot.d.ts +0 -31
  955. package/dist/src/execution/session/pending-history.d.ts +0 -5
  956. package/dist/src/execution/session/pending-turn-state.d.ts +0 -37
  957. package/dist/src/execution/session/pre-v27-checkpoint.d.ts +0 -42
  958. package/dist/src/execution/session/prewarm-step.d.ts +0 -13
  959. package/dist/src/execution/session/principal.d.ts +0 -22
  960. package/dist/src/execution/session/program.d.ts +0 -87
  961. package/dist/src/execution/session/route-selected-delivery.d.ts +0 -10
  962. package/dist/src/execution/session/run-watch.d.ts +0 -26
  963. package/dist/src/execution/session/settle-control-delivery-step.d.ts +0 -8
  964. package/dist/src/execution/session/settle-duplicate-delivery-step.d.ts +0 -8
  965. package/dist/src/execution/session/state-cursor.d.ts +0 -50
  966. package/dist/src/execution/session/state-delta.d.ts +0 -30
  967. package/dist/src/execution/session/step-decision-check.d.ts +0 -9
  968. package/dist/src/execution/session/step-state-delta.d.ts +0 -24
  969. package/dist/src/execution/session/task-tool-tracing-step.d.ts +0 -2
  970. package/dist/src/execution/session/timeout-control.d.ts +0 -31
  971. package/dist/src/execution/session/timeout-steps.d.ts +0 -14
  972. package/dist/src/execution/session/timeout-workflow.d.ts +0 -8
  973. package/dist/src/execution/session/timeout.d.ts +0 -2
  974. package/dist/src/execution/session/turn-control.d.ts +0 -17
  975. package/dist/src/execution/session/turn-event-handler.d.ts +0 -17
  976. package/dist/src/execution/session/turn-step-result.d.ts +0 -8
  977. package/dist/src/execution/session/turn-step-types.d.ts +0 -110
  978. package/dist/src/execution/session/turn-step.d.ts +0 -28
  979. package/dist/src/execution/session/turn.d.ts +0 -110
  980. package/dist/src/execution/session/workflow-host.d.ts +0 -7
  981. package/dist/src/execution/session-callback-request.d.ts +0 -14
  982. package/dist/src/execution/session-commands.d.ts +0 -7
  983. package/dist/src/execution/session-event-stream.d.ts +0 -65
  984. package/dist/src/execution/session-inbox/end-stranded-session.d.ts +0 -36
  985. package/dist/src/execution/session-inbox/handle.d.ts +0 -7
  986. package/dist/src/execution/session-inbox/hook-release.d.ts +0 -11
  987. package/dist/src/execution/session-inbox/owner.d.ts +0 -69
  988. package/dist/src/execution/session-inbox/pre-v27.d.ts +0 -5
  989. package/dist/src/execution/session-inbox/protocol.d.ts +0 -12
  990. package/dist/src/execution/session-inbox/resume.d.ts +0 -42
  991. package/dist/src/execution/session-inbox/runnable-owner.d.ts +0 -13
  992. package/dist/src/execution/session-inbox/stranded-replay-guard.d.ts +0 -16
  993. package/dist/src/execution/session-inbox/workflow-transport.d.ts +0 -10
  994. package/dist/src/execution/session-line-store.d.ts +0 -19
  995. package/dist/src/execution/session-workflow-tool-run.d.ts +0 -21
  996. package/dist/src/execution/session.d.ts +0 -27
  997. package/dist/src/execution/settle-cancelled-turn-step.d.ts +0 -32
  998. package/dist/src/execution/skills/instructions.d.ts +0 -29
  999. package/dist/src/execution/stable-workflow-names.d.ts +0 -6
  1000. package/dist/src/execution/stop-runs.d.ts +0 -35
  1001. package/dist/src/execution/tasks/model-step.d.ts +0 -54
  1002. package/dist/src/execution/tasks/render.d.ts +0 -69
  1003. package/dist/src/execution/tasks/session.d.ts +0 -23
  1004. package/dist/src/execution/tasks/start.d.ts +0 -50
  1005. package/dist/src/execution/tasks/steps.d.ts +0 -39
  1006. package/dist/src/execution/tasks/task-id-input.d.ts +0 -19
  1007. package/dist/src/execution/tasks/tool-entry-point.d.ts +0 -11
  1008. package/dist/src/execution/tasks/workflow-target.d.ts +0 -2
  1009. package/dist/src/execution/terminal-session-completion-step.d.ts +0 -24
  1010. package/dist/src/execution/terminal-session-failure-step.d.ts +0 -14
  1011. package/dist/src/execution/terminate-child-sessions-step.d.ts +0 -12
  1012. package/dist/src/execution/tool-auth.d.ts +0 -17
  1013. package/dist/src/execution/tool-session/id.d.ts +0 -22
  1014. package/dist/src/execution/tool-stub-host.d.ts +0 -20
  1015. package/dist/src/execution/tool-stubs/playback.d.ts +0 -11
  1016. package/dist/src/execution/tool-stubs/steps.d.ts +0 -18
  1017. package/dist/src/execution/tools/channel-to.d.ts +0 -15
  1018. package/dist/src/execution/tools/file-state.d.ts +0 -56
  1019. package/dist/src/execution/tools/workflow/answer.d.ts +0 -10
  1020. package/dist/src/execution/tools/workflow/apply-run-messages-step.d.ts +0 -3
  1021. package/dist/src/execution/tools/workflow/apply-run-messages.d.ts +0 -36
  1022. package/dist/src/execution/tools/workflow/ask.d.ts +0 -79
  1023. package/dist/src/execution/tools/workflow/authorization-completion.d.ts +0 -3
  1024. package/dist/src/execution/tools/workflow/body.d.ts +0 -92
  1025. package/dist/src/execution/tools/workflow/cancellation-policy.d.ts +0 -2
  1026. package/dist/src/execution/tools/workflow/harness-definition.d.ts +0 -14
  1027. package/dist/src/execution/tools/workflow/interrupt.d.ts +0 -9
  1028. package/dist/src/execution/tools/workflow/owner-channels.d.ts +0 -29
  1029. package/dist/src/execution/tools/workflow/owner-inbox.d.ts +0 -13
  1030. package/dist/src/execution/tools/workflow/owner.d.ts +0 -36
  1031. package/dist/src/execution/tools/workflow/resume-hook-step.d.ts +0 -4
  1032. package/dist/src/execution/tools/workflow/resume-hook.d.ts +0 -4
  1033. package/dist/src/execution/tools/workflow/run.d.ts +0 -8
  1034. package/dist/src/execution/tools/workflow/serve.d.ts +0 -3
  1035. package/dist/src/execution/tools/workflow/start.d.ts +0 -51
  1036. package/dist/src/execution/tools/workflow/step.d.ts +0 -3
  1037. package/dist/src/execution/tools/workflow/types.d.ts +0 -10
  1038. package/dist/src/execution/tools/workflow/withdraw-step.d.ts +0 -29
  1039. package/dist/src/execution/tools/workflow/workflow-owner-blocking.d.ts +0 -23
  1040. package/dist/src/execution/tools/workflow/workflow-run-host.d.ts +0 -2
  1041. package/dist/src/execution/tools/workflow/workflow.d.ts +0 -3
  1042. package/dist/src/execution/v26-history.fixtures.d.ts +0 -4
  1043. package/dist/src/execution/web-fetch/execute.d.ts +0 -39
  1044. package/dist/src/execution/web-fetch/html.d.ts +0 -8
  1045. package/dist/src/execution/web-fetch/request.d.ts +0 -15
  1046. package/dist/src/execution/workflow-errors.d.ts +0 -19
  1047. package/dist/src/execution/workflow-host/dispatch-step.d.ts +0 -9
  1048. package/dist/src/execution/workflow-host/host.d.ts +0 -5
  1049. package/dist/src/execution/workflow-host/start-run.d.ts +0 -6
  1050. package/dist/src/execution/workflow-host/tool-stubs.d.ts +0 -7
  1051. package/dist/src/execution/workflow-host/turn-step.d.ts +0 -3
  1052. package/dist/src/execution/workflow-references.d.ts +0 -23
  1053. package/dist/src/execution/workflow-registry.d.ts +0 -5
  1054. package/dist/src/execution/workflow-runtime.d.ts +0 -41
  1055. package/dist/src/execution/workflow-webhook-route.d.ts +0 -4
  1056. package/dist/src/extensions/code/extension/hooks/authenticate.d.ts +0 -2
  1057. package/dist/src/extensions/code/extension/instructions/project.d.ts +0 -2
  1058. package/dist/src/extensions/code/extension/lib/command-failure.d.ts +0 -7
  1059. package/dist/src/extensions/code/extension/lib/connect-authentication.d.ts +0 -7
  1060. package/dist/src/extensions/code/extension/lib/project-instructions.d.ts +0 -13
  1061. package/dist/src/extensions/code/extension/lib/tooling.d.ts +0 -15
  1062. package/dist/src/extensions/custom-skills/extension/instructions/always-on.d.ts +0 -4
  1063. package/dist/src/extensions/custom-skills/extension/lib/lifecycle.d.ts +0 -122
  1064. package/dist/src/extensions/custom-skills/extension/lib/render.d.ts +0 -5
  1065. package/dist/src/extensions/custom-skills/extension/lib/runtime.d.ts +0 -26
  1066. package/dist/src/extensions/custom-skills/extension/lib/tool-support.d.ts +0 -102
  1067. package/dist/src/extensions/custom-skills/extension/skills/custom.d.ts +0 -9
  1068. package/dist/src/extensions/custom-skills/extension/tools/create.d.ts +0 -28
  1069. package/dist/src/extensions/custom-skills/extension/tools/list.d.ts +0 -60
  1070. package/dist/src/extensions/custom-skills/extension/tools/publish.d.ts +0 -36
  1071. package/dist/src/extensions/custom-skills/extension/tools/read.d.ts +0 -32
  1072. package/dist/src/extensions/custom-skills/extension/tools/remove.d.ts +0 -17
  1073. package/dist/src/extensions/custom-skills/extension/tools/set_mode.d.ts +0 -19
  1074. package/dist/src/extensions/git/extension/instructions/github.d.ts +0 -2
  1075. package/dist/src/extensions/git/extension/lib/connect-user-auth.d.ts +0 -15
  1076. package/dist/src/extensions/git/extension/lib/gh-tool.d.ts +0 -28
  1077. package/dist/src/extensions/git/extension/lib/github-guidance.d.ts +0 -4
  1078. package/dist/src/extensions/git/extension/lib/github-shell-schema.d.ts +0 -9
  1079. package/dist/src/extensions/git/extension/lib/repository-root.d.ts +0 -11
  1080. package/dist/src/extensions/git/extension/lib/sandbox-lease-lock.d.ts +0 -32
  1081. package/dist/src/extensions/git/extension/lib/shell.d.ts +0 -1
  1082. package/dist/src/extensions/git/extension/skills/pr.d.ts +0 -2
  1083. package/dist/src/extensions/git/extension/tools/gh.d.ts +0 -3
  1084. package/dist/src/framework/host-inventory.d.ts +0 -8
  1085. package/dist/src/framework/sources/default-tools.d.ts +0 -36
  1086. package/dist/src/framework/sources/modules/agent.d.ts +0 -5
  1087. package/dist/src/framework/sources/modules/eve-channel.d.ts +0 -1
  1088. package/dist/src/framework/sources/modules/home-channel.d.ts +0 -2
  1089. package/dist/src/framework/sources/modules/sandbox.d.ts +0 -3
  1090. package/dist/src/harness/action-presentation.d.ts +0 -18
  1091. package/dist/src/harness/action-result-helpers.d.ts +0 -52
  1092. package/dist/src/harness/approval-outcome.d.ts +0 -32
  1093. package/dist/src/harness/attachment-staging.d.ts +0 -47
  1094. package/dist/src/harness/call-facts.d.ts +0 -34
  1095. package/dist/src/harness/call-outcome.d.ts +0 -6
  1096. package/dist/src/harness/compaction/config.d.ts +0 -17
  1097. package/dist/src/harness/compaction/engine.d.ts +0 -64
  1098. package/dist/src/harness/compaction/over-limit-error.d.ts +0 -8
  1099. package/dist/src/harness/compaction/prompt.d.ts +0 -50
  1100. package/dist/src/harness/compaction/step.d.ts +0 -42
  1101. package/dist/src/harness/coordination.d.ts +0 -80
  1102. package/dist/src/harness/emission.d.ts +0 -40
  1103. package/dist/src/harness/execute-call.d.ts +0 -31
  1104. package/dist/src/harness/final-output.d.ts +0 -15
  1105. package/dist/src/harness/finish-reason.d.ts +0 -8
  1106. package/dist/src/harness/generation-steering.d.ts +0 -24
  1107. package/dist/src/harness/hitl/approval-prompt.d.ts +0 -10
  1108. package/dist/src/harness/hitl/approved-calls.d.ts +0 -51
  1109. package/dist/src/harness/hitl/budget.d.ts +0 -28
  1110. package/dist/src/harness/hitl/stale-responses.d.ts +0 -46
  1111. package/dist/src/harness/interaction-facts.d.ts +0 -42
  1112. package/dist/src/harness/interaction-relay.d.ts +0 -10
  1113. package/dist/src/harness/interruptible-stream.d.ts +0 -5
  1114. package/dist/src/harness/kernel.d.ts +0 -9
  1115. package/dist/src/harness/model-call/call.d.ts +0 -113
  1116. package/dist/src/harness/model-call/errors.d.ts +0 -94
  1117. package/dist/src/harness/model-call/failure.d.ts +0 -17
  1118. package/dist/src/harness/model-call/model.d.ts +0 -17
  1119. package/dist/src/harness/model-call/recovery.d.ts +0 -24
  1120. package/dist/src/harness/model-call/request.d.ts +0 -42
  1121. package/dist/src/harness/model-call/response.d.ts +0 -53
  1122. package/dist/src/harness/model-call/retry.d.ts +0 -28
  1123. package/dist/src/harness/model-call/run.d.ts +0 -33
  1124. package/dist/src/harness/model-call/tools.d.ts +0 -19
  1125. package/dist/src/harness/model-call/unique-call-ids.d.ts +0 -13
  1126. package/dist/src/harness/model-call/usage.d.ts +0 -26
  1127. package/dist/src/harness/ordered-stream-emitter.d.ts +0 -19
  1128. package/dist/src/harness/prompt-cache.d.ts +0 -71
  1129. package/dist/src/harness/provider-safety.d.ts +0 -15
  1130. package/dist/src/harness/provider-tool-history.d.ts +0 -31
  1131. package/dist/src/harness/provider-tool-schemas.d.ts +0 -23
  1132. package/dist/src/harness/provider-tools.d.ts +0 -39
  1133. package/dist/src/harness/publication.d.ts +0 -4
  1134. package/dist/src/harness/request-envelope.d.ts +0 -8
  1135. package/dist/src/harness/running-work.d.ts +0 -10
  1136. package/dist/src/harness/runtime-action-settlement-state.d.ts +0 -3
  1137. package/dist/src/harness/semantic-errors/index.d.ts +0 -9
  1138. package/dist/src/harness/semantic-errors/rule.d.ts +0 -83
  1139. package/dist/src/harness/semantic-errors/rules/gateway.d.ts +0 -11
  1140. package/dist/src/harness/semantic-errors/rules/model-provider.d.ts +0 -11
  1141. package/dist/src/harness/semantic-errors/rules/sandbox.d.ts +0 -14
  1142. package/dist/src/harness/semantic-errors/rules/system.d.ts +0 -2
  1143. package/dist/src/harness/semantic-errors/rules/workflow.d.ts +0 -9
  1144. package/dist/src/harness/semantic-errors/signals.d.ts +0 -31
  1145. package/dist/src/harness/session-machine/calls.d.ts +0 -16
  1146. package/dist/src/harness/session-machine/cascade.d.ts +0 -18
  1147. package/dist/src/harness/session-machine/children.d.ts +0 -11
  1148. package/dist/src/harness/session-machine/content.d.ts +0 -4
  1149. package/dist/src/harness/session-machine/context-changes.d.ts +0 -32
  1150. package/dist/src/harness/session-machine/deliveries.d.ts +0 -41
  1151. package/dist/src/harness/session-machine/lines.d.ts +0 -21
  1152. package/dist/src/harness/session-machine/runs.d.ts +0 -44
  1153. package/dist/src/harness/session-machine/waiting.d.ts +0 -16
  1154. package/dist/src/harness/session-stream-write-error.d.ts +0 -11
  1155. package/dist/src/harness/session-usage.d.ts +0 -22
  1156. package/dist/src/harness/step/after-model.d.ts +0 -29
  1157. package/dist/src/harness/step/park.d.ts +0 -19
  1158. package/dist/src/harness/step-hooks.d.ts +0 -103
  1159. package/dist/src/harness/stream-actions.d.ts +0 -17
  1160. package/dist/src/harness/token-estimate.d.ts +0 -13
  1161. package/dist/src/harness/tool-call-input-errors.d.ts +0 -40
  1162. package/dist/src/harness/tool-call-io.d.ts +0 -28
  1163. package/dist/src/harness/tool-history-repair.d.ts +0 -11
  1164. package/dist/src/harness/tool-model-output.d.ts +0 -59
  1165. package/dist/src/harness/tool-output-serialization.d.ts +0 -17
  1166. package/dist/src/harness/turn-cancellation.d.ts +0 -16
  1167. package/dist/src/harness/usage-sink.d.ts +0 -21
  1168. package/dist/src/harness/user-parts.d.ts +0 -4
  1169. package/dist/src/harness/workflow-admission.d.ts +0 -6
  1170. package/dist/src/harness/workflow-stream-error.d.ts +0 -22
  1171. package/dist/src/harness/workflow-tool-runs.d.ts +0 -28
  1172. package/dist/src/instrumentation/ai-sdk-hook-bridge.d.ts +0 -4
  1173. package/dist/src/instrumentation/ai-sdk-telemetry.d.ts +0 -35
  1174. package/dist/src/instrumentation/ai-sdk-warnings.d.ts +0 -6
  1175. package/dist/src/instrumentation/channel-delivery.d.ts +0 -5
  1176. package/dist/src/instrumentation/content-policy.d.ts +0 -7
  1177. package/dist/src/instrumentation/content.d.ts +0 -10
  1178. package/dist/src/instrumentation/decide.d.ts +0 -4
  1179. package/dist/src/instrumentation/decision-results.d.ts +0 -37
  1180. package/dist/src/instrumentation/dispatch.d.ts +0 -2
  1181. package/dist/src/instrumentation/parent-lineage.d.ts +0 -11
  1182. package/dist/src/instrumentation/principal-summary.d.ts +0 -13
  1183. package/dist/src/instrumentation/providers.d.ts +0 -13
  1184. package/dist/src/instrumentation/scope.d.ts +0 -18
  1185. package/dist/src/instrumentation/session-context.d.ts +0 -25
  1186. package/dist/src/instrumentation/setup-context.d.ts +0 -1
  1187. package/dist/src/instrumentation/trace-decision.d.ts +0 -5
  1188. package/dist/src/internal/a2a/execution.d.ts +0 -56
  1189. package/dist/src/internal/a2a/json-rpc.d.ts +0 -18
  1190. package/dist/src/internal/agent-name.d.ts +0 -2
  1191. package/dist/src/internal/application/build-output-environment.d.ts +0 -3
  1192. package/dist/src/internal/application/build-profile.d.ts +0 -67
  1193. package/dist/src/internal/application/build-workspace.d.ts +0 -35
  1194. package/dist/src/internal/application/compiled-artifacts.d.ts +0 -74
  1195. package/dist/src/internal/application/dev-environment.d.ts +0 -32
  1196. package/dist/src/internal/application/dev-transport.d.ts +0 -4
  1197. package/dist/src/internal/application/import-specifier.d.ts +0 -19
  1198. package/dist/src/internal/application/optional-package-import.d.ts +0 -24
  1199. package/dist/src/internal/application/optional-package-install.d.ts +0 -37
  1200. package/dist/src/internal/application/output-publication-artifacts.d.ts +0 -7
  1201. package/dist/src/internal/application/output-publication-journal.d.ts +0 -30
  1202. package/dist/src/internal/application/output-publication-lock.d.ts +0 -16
  1203. package/dist/src/internal/application/output-publication.d.ts +0 -33
  1204. package/dist/src/internal/application/package.d.ts +0 -63
  1205. package/dist/src/internal/application/paths.d.ts +0 -37
  1206. package/dist/src/internal/application/production-compiler-artifacts.d.ts +0 -4
  1207. package/dist/src/internal/application/runtime-compiled-artifacts-source.d.ts +0 -6
  1208. package/dist/src/internal/application/stamped-package-version.d.ts +0 -5
  1209. package/dist/src/internal/application/tsconfig-dependencies.d.ts +0 -7
  1210. package/dist/src/internal/attachments/data.d.ts +0 -37
  1211. package/dist/src/internal/attachments/errors.d.ts +0 -41
  1212. package/dist/src/internal/attachments/limited-read.d.ts +0 -18
  1213. package/dist/src/internal/attachments/media-metadata.d.ts +0 -40
  1214. package/dist/src/internal/attachments/public-link.d.ts +0 -5
  1215. package/dist/src/internal/attachments/read-media-metadata.d.ts +0 -7
  1216. package/dist/src/internal/attachments/sandbox-refs.d.ts +0 -52
  1217. package/dist/src/internal/attachments/url-refs.d.ts +0 -17
  1218. package/dist/src/internal/authored-asset-import-plugin.d.ts +0 -24
  1219. package/dist/src/internal/authored-definition/approval.d.ts +0 -8
  1220. package/dist/src/internal/authored-definition/channel.d.ts +0 -16
  1221. package/dist/src/internal/authored-definition/connection.d.ts +0 -18
  1222. package/dist/src/internal/authored-definition/core.d.ts +0 -49
  1223. package/dist/src/internal/authored-definition/hook.d.ts +0 -5
  1224. package/dist/src/internal/authored-definition/memory.d.ts +0 -5
  1225. package/dist/src/internal/authored-definition/schedule-collection.d.ts +0 -2
  1226. package/dist/src/internal/authored-definition/schema-backed.d.ts +0 -57
  1227. package/dist/src/internal/authored-definition/source-identity.d.ts +0 -32
  1228. package/dist/src/internal/authored-module-build-options.d.ts +0 -13
  1229. package/dist/src/internal/authored-module-bundle.d.ts +0 -4
  1230. package/dist/src/internal/authored-module-cache.d.ts +0 -10
  1231. package/dist/src/internal/authored-module-conditions.d.ts +0 -2
  1232. package/dist/src/internal/authored-module-evaluation-error.d.ts +0 -2
  1233. package/dist/src/internal/authored-module-map-loader.d.ts +0 -8
  1234. package/dist/src/internal/authored-package-tsconfig-paths.d.ts +0 -17
  1235. package/dist/src/internal/authored-relative-extension-resolver.d.ts +0 -14
  1236. package/dist/src/internal/authored-runtime-modules.d.ts +0 -25
  1237. package/dist/src/internal/bundler/authored-plugins.d.ts +0 -30
  1238. package/dist/src/internal/bundler/extension-mount-plugin.d.ts +0 -19
  1239. package/dist/src/internal/bundler/extension-scope-plugin.d.ts +0 -45
  1240. package/dist/src/internal/bundler/filters.d.ts +0 -33
  1241. package/dist/src/internal/bundler/pseudo-packages.d.ts +0 -21
  1242. package/dist/src/internal/bundler/rolldown.d.ts +0 -30
  1243. package/dist/src/internal/bundler/vendored-dependency-log.d.ts +0 -6
  1244. package/dist/src/internal/capability-error.d.ts +0 -3
  1245. package/dist/src/internal/classify-model-routing.d.ts +0 -23
  1246. package/dist/src/internal/client-context.d.ts +0 -2
  1247. package/dist/src/internal/compiled-manifest-fingerprint.d.ts +0 -5
  1248. package/dist/src/internal/dev-boot-progress.d.ts +0 -13
  1249. package/dist/src/internal/development-programmatic-source-loader.d.ts +0 -7
  1250. package/dist/src/internal/eve-project-root.d.ts +0 -5
  1251. package/dist/src/internal/external-resources-snapshot.d.ts +0 -46
  1252. package/dist/src/internal/external-resources.d.ts +0 -19
  1253. package/dist/src/internal/gateway.d.ts +0 -11
  1254. package/dist/src/internal/helpers/frontmatter.d.ts +0 -24
  1255. package/dist/src/internal/helpers/markdown.d.ts +0 -42
  1256. package/dist/src/internal/host-traced-dependencies.d.ts +0 -16
  1257. package/dist/src/internal/http/basic-auth.d.ts +0 -1
  1258. package/dist/src/internal/http/json-body.d.ts +0 -16
  1259. package/dist/src/internal/http/request-guards.d.ts +0 -34
  1260. package/dist/src/internal/input-text.d.ts +0 -13
  1261. package/dist/src/internal/installed-packages.d.ts +0 -28
  1262. package/dist/src/internal/instrumentation-layout.d.ts +0 -14
  1263. package/dist/src/internal/instrumentation.d.ts +0 -29
  1264. package/dist/src/internal/invocation/agent-invocation.d.ts +0 -53
  1265. package/dist/src/internal/invocation/attributes.d.ts +0 -2
  1266. package/dist/src/internal/invocation/metadata.d.ts +0 -7
  1267. package/dist/src/internal/invocation/owned-run.d.ts +0 -110
  1268. package/dist/src/internal/invocation/workflow-execution.d.ts +0 -30
  1269. package/dist/src/internal/materialized-authored-modules.d.ts +0 -21
  1270. package/dist/src/internal/mcp/forwarded-principal-header.d.ts +0 -31
  1271. package/dist/src/internal/mcp/protected-resource.d.ts +0 -10
  1272. package/dist/src/internal/mcp/published-tools.d.ts +0 -20
  1273. package/dist/src/internal/mcp/request-trace-context.d.ts +0 -12
  1274. package/dist/src/internal/mcp/skills.d.ts +0 -57
  1275. package/dist/src/internal/mcp/streamable-http-server.d.ts +0 -114
  1276. package/dist/src/internal/mock-model-identity.d.ts +0 -2
  1277. package/dist/src/internal/model-auth/api-key.d.ts +0 -7
  1278. package/dist/src/internal/model-auth/available-models.d.ts +0 -2
  1279. package/dist/src/internal/model-auth/development-broker-client.d.ts +0 -3
  1280. package/dist/src/internal/model-auth/development-broker-protocol.d.ts +0 -12
  1281. package/dist/src/internal/model-auth/development-broker-server.d.ts +0 -4
  1282. package/dist/src/internal/model-auth/gateway-credential.d.ts +0 -2
  1283. package/dist/src/internal/model-auth/store.d.ts +0 -16
  1284. package/dist/src/internal/model-auth/transport.d.ts +0 -8
  1285. package/dist/src/internal/model-auth/vercel-cli.d.ts +0 -9
  1286. package/dist/src/internal/model-auth/vercel-team.d.ts +0 -3
  1287. package/dist/src/internal/model-auth/vercel.d.ts +0 -13
  1288. package/dist/src/internal/nitro/dev-client-address.d.ts +0 -36
  1289. package/dist/src/internal/nitro/dev-runtime-artifacts-retention.d.ts +0 -11
  1290. package/dist/src/internal/nitro/dev-runtime-artifacts.d.ts +0 -49
  1291. package/dist/src/internal/nitro/dev-runtime-generation-metadata.d.ts +0 -13
  1292. package/dist/src/internal/nitro/dev-runtime-source-snapshot-copy.d.ts +0 -2
  1293. package/dist/src/internal/nitro/dev-runtime-source-snapshot-local-roots.d.ts +0 -14
  1294. package/dist/src/internal/nitro/dev-runtime-source-snapshot.d.ts +0 -38
  1295. package/dist/src/internal/nitro/development-generation.d.ts +0 -33
  1296. package/dist/src/internal/nitro/host/artifacts-config.d.ts +0 -21
  1297. package/dist/src/internal/nitro/host/build-application.d.ts +0 -5
  1298. package/dist/src/internal/nitro/host/build-deployment-id.d.ts +0 -8
  1299. package/dist/src/internal/nitro/host/build-extension.d.ts +0 -15
  1300. package/dist/src/internal/nitro/host/build-vercel-agent-summary.d.ts +0 -34
  1301. package/dist/src/internal/nitro/host/connection-drain-plugin.d.ts +0 -12
  1302. package/dist/src/internal/nitro/host/copy-host-middleware.d.ts +0 -12
  1303. package/dist/src/internal/nitro/host/create-host-nitro.d.ts +0 -7
  1304. package/dist/src/internal/nitro/host/dev-authored-rebuild-coordinator.d.ts +0 -40
  1305. package/dist/src/internal/nitro/host/dev-authored-source-watcher.d.ts +0 -24
  1306. package/dist/src/internal/nitro/host/dev-build-host.d.ts +0 -83
  1307. package/dist/src/internal/nitro/host/dev-build-operations.d.ts +0 -6
  1308. package/dist/src/internal/nitro/host/dev-build-process.d.ts +0 -1
  1309. package/dist/src/internal/nitro/host/dev-host-candidate.d.ts +0 -17
  1310. package/dist/src/internal/nitro/host/dev-host-fingerprint.d.ts +0 -6
  1311. package/dist/src/internal/nitro/host/dev-host-supervisor.d.ts +0 -61
  1312. package/dist/src/internal/nitro/host/dev-host-workspace.d.ts +0 -10
  1313. package/dist/src/internal/nitro/host/dev-runner.d.ts +0 -19
  1314. package/dist/src/internal/nitro/host/dev-server-http.d.ts +0 -5
  1315. package/dist/src/internal/nitro/host/dev-server-state.d.ts +0 -20
  1316. package/dist/src/internal/nitro/host/dev-server-url.d.ts +0 -6
  1317. package/dist/src/internal/nitro/host/dev-watcher-log.d.ts +0 -40
  1318. package/dist/src/internal/nitro/host/dev-worker-entry.d.ts +0 -1
  1319. package/dist/src/internal/nitro/host/dev-workflow-world-setup.d.ts +0 -10
  1320. package/dist/src/internal/nitro/host/dispatch-schedule-in-dev.d.ts +0 -46
  1321. package/dist/src/internal/nitro/host/extension-build-config.d.ts +0 -20
  1322. package/dist/src/internal/nitro/host/extension-build-lock.d.ts +0 -9
  1323. package/dist/src/internal/nitro/host/extension-declarations.d.ts +0 -10
  1324. package/dist/src/internal/nitro/host/extension-distribution.d.ts +0 -32
  1325. package/dist/src/internal/nitro/host/extension-external-dependencies.d.ts +0 -7
  1326. package/dist/src/internal/nitro/host/extension-state-usage.d.ts +0 -7
  1327. package/dist/src/internal/nitro/host/external-dependency-output-check.d.ts +0 -20
  1328. package/dist/src/internal/nitro/host/externals-policy.d.ts +0 -21
  1329. package/dist/src/internal/nitro/host/host-plugins.d.ts +0 -46
  1330. package/dist/src/internal/nitro/host/host-routes.d.ts +0 -100
  1331. package/dist/src/internal/nitro/host/host-spec.d.ts +0 -70
  1332. package/dist/src/internal/nitro/host/hosted-graph-plugin.d.ts +0 -44
  1333. package/dist/src/internal/nitro/host/instrumentation-entry.d.ts +0 -35
  1334. package/dist/src/internal/nitro/host/local-schedules-runtime-plugin.d.ts +0 -5
  1335. package/dist/src/internal/nitro/host/local-tracing-runtime.d.ts +0 -6
  1336. package/dist/src/internal/nitro/host/ports.d.ts +0 -18
  1337. package/dist/src/internal/nitro/host/prepare-application-host.d.ts +0 -26
  1338. package/dist/src/internal/nitro/host/route-handlers.d.ts +0 -65
  1339. package/dist/src/internal/nitro/host/runtime-plugin.d.ts +0 -17
  1340. package/dist/src/internal/nitro/host/sandbox-shutdown-plugin.d.ts +0 -32
  1341. package/dist/src/internal/nitro/host/skill-files-plugin.d.ts +0 -21
  1342. package/dist/src/internal/nitro/host/stage-build-deployment-id.d.ts +0 -2
  1343. package/dist/src/internal/nitro/host/start-development-server.d.ts +0 -20
  1344. package/dist/src/internal/nitro/host/start-production-server.d.ts +0 -9
  1345. package/dist/src/internal/nitro/host/timezone-schedules-runtime.d.ts +0 -13
  1346. package/dist/src/internal/nitro/host/types.d.ts +0 -91
  1347. package/dist/src/internal/nitro/host/vercel-build-output-config.d.ts +0 -49
  1348. package/dist/src/internal/nitro/host/vercel-build-prewarm.d.ts +0 -12
  1349. package/dist/src/internal/nitro/host/vercel-output.d.ts +0 -17
  1350. package/dist/src/internal/nitro/host/vercel-schedule-name.d.ts +0 -17
  1351. package/dist/src/internal/nitro/host/workflow-sandbox-runtime.d.ts +0 -2
  1352. package/dist/src/internal/nitro/host/workspace-extensions.d.ts +0 -31
  1353. package/dist/src/internal/nitro/host.d.ts +0 -4
  1354. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +0 -11
  1355. package/dist/src/internal/nitro/routes/agent-info/load-agent-info-data.d.ts +0 -25
  1356. package/dist/src/internal/nitro/routes/channel-dispatch.d.ts +0 -20
  1357. package/dist/src/internal/nitro/routes/channel-request-instrumentation.d.ts +0 -17
  1358. package/dist/src/internal/nitro/routes/channel-route-context.d.ts +0 -39
  1359. package/dist/src/internal/nitro/routes/connection-events.d.ts +0 -5
  1360. package/dist/src/internal/nitro/routes/dev-runtime-artifacts.d.ts +0 -10
  1361. package/dist/src/internal/nitro/routes/dev-schedule-dispatch.d.ts +0 -14
  1362. package/dist/src/internal/nitro/routes/index.d.ts +0 -14
  1363. package/dist/src/internal/nitro/routes/info.d.ts +0 -5
  1364. package/dist/src/internal/nitro/routes/method-guard.d.ts +0 -6
  1365. package/dist/src/internal/nitro/routes/route-invoke-tool.d.ts +0 -24
  1366. package/dist/src/internal/nitro/routes/runtime-artifacts.d.ts +0 -29
  1367. package/dist/src/internal/nitro/routes/runtime-stack.d.ts +0 -29
  1368. package/dist/src/internal/nitro/routes/schedule-collection-consumer.d.ts +0 -9
  1369. package/dist/src/internal/nitro/routes/schedule-task.d.ts +0 -24
  1370. package/dist/src/internal/node-esm-compat-banner.d.ts +0 -45
  1371. package/dist/src/internal/package-imports-hook.d.ts +0 -1
  1372. package/dist/src/internal/package-imports.d.ts +0 -2
  1373. package/dist/src/internal/package-name.d.ts +0 -8
  1374. package/dist/src/internal/project-context.d.ts +0 -31
  1375. package/dist/src/internal/resolve-model-endpoint-status.d.ts +0 -61
  1376. package/dist/src/internal/runtime-model.d.ts +0 -21
  1377. package/dist/src/internal/runtime-registry.d.ts +0 -76
  1378. package/dist/src/internal/schedules/consumer-route.d.ts +0 -19
  1379. package/dist/src/internal/schedules/dev-environment.d.ts +0 -2
  1380. package/dist/src/internal/schedules/disabled.d.ts +0 -2
  1381. package/dist/src/internal/schedules/verify-delivery.d.ts +0 -25
  1382. package/dist/src/internal/user-agent.d.ts +0 -13
  1383. package/dist/src/internal/vercel/api-resource.d.ts +0 -4
  1384. package/dist/src/internal/vercel/assemble-eve-services.d.ts +0 -18
  1385. package/dist/src/internal/vercel/build-agent-workspace.d.ts +0 -5
  1386. package/dist/src/internal/vercel/build-command.d.ts +0 -5
  1387. package/dist/src/internal/vercel/build-multi-agent-landing-page.d.ts +0 -3
  1388. package/dist/src/internal/vercel/eve-service-contribution.d.ts +0 -32
  1389. package/dist/src/internal/vercel/project-link.d.ts +0 -11
  1390. package/dist/src/internal/vercel/vercel-service-config-operations.d.ts +0 -18
  1391. package/dist/src/internal/vercel/vercel-service-name.d.ts +0 -6
  1392. package/dist/src/internal/vercel-agent-summary.d.ts +0 -248
  1393. package/dist/src/internal/workflow/builtins.d.ts +0 -34
  1394. package/dist/src/internal/workflow/cancel-expired-development-run.d.ts +0 -2
  1395. package/dist/src/internal/workflow/development-run-unavailable-error.d.ts +0 -15
  1396. package/dist/src/internal/workflow/development-runtime-compatibility.d.ts +0 -12
  1397. package/dist/src/internal/workflow/development-world-client.d.ts +0 -29
  1398. package/dist/src/internal/workflow/development-world-codec.d.ts +0 -12
  1399. package/dist/src/internal/workflow/development-world-protocol.d.ts +0 -36
  1400. package/dist/src/internal/workflow/development-world-server.d.ts +0 -29
  1401. package/dist/src/internal/workflow/index.d.ts +0 -6
  1402. package/dist/src/internal/workflow/local-world-data-directory.d.ts +0 -3
  1403. package/dist/src/internal/workflow/local-world-delivery-auth.d.ts +0 -17
  1404. package/dist/src/internal/workflow/local-world-delivery-timeouts.d.ts +0 -7
  1405. package/dist/src/internal/workflow/local-world-recovery.d.ts +0 -23
  1406. package/dist/src/internal/workflow/owner-deployment-deleted.d.ts +0 -9
  1407. package/dist/src/internal/workflow/queue-namespace.d.ts +0 -19
  1408. package/dist/src/internal/workflow/runtime.d.ts +0 -5
  1409. package/dist/src/internal/workflow/spec-version-default.d.ts +0 -9
  1410. package/dist/src/internal/workflow/start-claim.d.ts +0 -16
  1411. package/dist/src/internal/workflow/validate-world.d.ts +0 -16
  1412. package/dist/src/internal/workflow/vercel-world-defaults.d.ts +0 -4
  1413. package/dist/src/internal/workflow/world-compatibility.d.ts +0 -22
  1414. package/dist/src/internal/workflow/world-target.d.ts +0 -7
  1415. package/dist/src/internal/workflow-bundle/authored-workflow-directives.d.ts +0 -16
  1416. package/dist/src/internal/workflow-bundle/builder.d.ts +0 -26
  1417. package/dist/src/internal/workflow-bundle/flow-route.d.ts +0 -2
  1418. package/dist/src/internal/workflow-bundle/framework-driver-cache.d.ts +0 -30
  1419. package/dist/src/internal/workflow-bundle/nitro-step-entry.d.ts +0 -21
  1420. package/dist/src/internal/workflow-bundle/stable-module-id.d.ts +0 -6
  1421. package/dist/src/internal/workflow-bundle/workflow-core-shim.d.ts +0 -83
  1422. package/dist/src/internal/workflow-bundle/workflow-directive-ast.d.ts +0 -8
  1423. package/dist/src/internal/workflow-bundle/workflow-source-ast.d.ts +0 -6
  1424. package/dist/src/internal/workflow-bundle/workflow-transformer.d.ts +0 -37
  1425. package/dist/src/memory/definition.d.ts +0 -85
  1426. package/dist/src/protocol/baggage.d.ts +0 -26
  1427. package/dist/src/protocol/catalog-tools.d.ts +0 -12
  1428. package/dist/src/protocol/interaction-json.d.ts +0 -68
  1429. package/dist/src/protocol/remote-agent-protocol.d.ts +0 -45
  1430. package/dist/src/protocol/reply-tool.d.ts +0 -2
  1431. package/dist/src/protocol/reset-session.d.ts +0 -12
  1432. package/dist/src/protocol/routes.d.ts +0 -160
  1433. package/dist/src/protocol/runtime-tools.d.ts +0 -6
  1434. package/dist/src/protocol/session-events/common.d.ts +0 -105
  1435. package/dist/src/protocol/session-events/index.d.ts +0 -16
  1436. package/dist/src/protocol/session-events/schemas.d.ts +0 -320
  1437. package/dist/src/protocol/session-http.d.ts +0 -7
  1438. package/dist/src/protocol/session-lines.d.ts +0 -19
  1439. package/dist/src/protocol/session-projection/display-name.d.ts +0 -15
  1440. package/dist/src/protocol/session-projection/index.d.ts +0 -4
  1441. package/dist/src/protocol/session-projection/tree.d.ts +0 -72
  1442. package/dist/src/protocol/traceparent.d.ts +0 -24
  1443. package/dist/src/protocol/v26-interactions.d.ts +0 -11
  1444. package/dist/src/protocol/v26-lines.d.ts +0 -5
  1445. package/dist/src/public/channels/chat-sdk/attachment-refs.d.ts +0 -15
  1446. package/dist/src/public/channels/chat-sdk/audience.d.ts +0 -9
  1447. package/dist/src/public/channels/chat-sdk/authorization.d.ts +0 -6
  1448. package/dist/src/public/channels/chat-sdk/fetch-message.d.ts +0 -10
  1449. package/dist/src/public/channels/chat-sdk/input-actions.d.ts +0 -22
  1450. package/dist/src/public/channels/chat-sdk/reply-context.d.ts +0 -15
  1451. package/dist/src/public/channels/discord/attachments.d.ts +0 -15
  1452. package/dist/src/public/channels/discord/audience.d.ts +0 -14
  1453. package/dist/src/public/channels/discord/authorization.d.ts +0 -35
  1454. package/dist/src/public/channels/discord/gateway/forwarder.d.ts +0 -14
  1455. package/dist/src/public/channels/discord/hitl.d.ts +0 -48
  1456. package/dist/src/public/channels/discord/responses.d.ts +0 -11
  1457. package/dist/src/public/channels/discord/verifyInbound.d.ts +0 -6
  1458. package/dist/src/public/channels/github/checkout.d.ts +0 -53
  1459. package/dist/src/public/channels/github/constants.d.ts +0 -2
  1460. package/dist/src/public/channels/github/dispatch.d.ts +0 -61
  1461. package/dist/src/public/channels/github/limits.d.ts +0 -2
  1462. package/dist/src/public/channels/linear/constants.d.ts +0 -2
  1463. package/dist/src/public/channels/linear/hitl.d.ts +0 -9
  1464. package/dist/src/public/channels/linear/inbound-uploads.d.ts +0 -21
  1465. package/dist/src/public/channels/linq/inboundContent.d.ts +0 -17
  1466. package/dist/src/public/channels/photon/attachments.d.ts +0 -24
  1467. package/dist/src/public/channels/photon/inboundContent.d.ts +0 -11
  1468. package/dist/src/public/channels/reply.d.ts +0 -22
  1469. package/dist/src/public/channels/same-environment-oidc.d.ts +0 -7
  1470. package/dist/src/public/channels/slack/action-status.d.ts +0 -14
  1471. package/dist/src/public/channels/slack/answers.d.ts +0 -13
  1472. package/dist/src/public/channels/slack/app-manifest.d.ts +0 -14
  1473. package/dist/src/public/channels/slack/attachments.d.ts +0 -67
  1474. package/dist/src/public/channels/slack/auth.d.ts +0 -27
  1475. package/dist/src/public/channels/slack/connections.d.ts +0 -50
  1476. package/dist/src/public/channels/slack/constants.d.ts +0 -7
  1477. package/dist/src/public/channels/slack/inbound-content.d.ts +0 -4
  1478. package/dist/src/public/channels/slack/interaction-cards.d.ts +0 -34
  1479. package/dist/src/public/channels/slack/interactions.d.ts +0 -56
  1480. package/dist/src/public/channels/slack/limits.d.ts +0 -103
  1481. package/dist/src/public/channels/slack/model-context.d.ts +0 -34
  1482. package/dist/src/public/channels/slack/mrkdwn.d.ts +0 -2
  1483. package/dist/src/public/channels/slack/privacy.d.ts +0 -24
  1484. package/dist/src/public/channels/slack/private-approval-delivery.d.ts +0 -34
  1485. package/dist/src/public/channels/slack/request-card-render.d.ts +0 -51
  1486. package/dist/src/public/channels/slack/request-cards.d.ts +0 -36
  1487. package/dist/src/public/channels/slack/sign-in-cancel.d.ts +0 -18
  1488. package/dist/src/public/channels/slack/slash-command.d.ts +0 -13
  1489. package/dist/src/public/channels/slack/space.d.ts +0 -17
  1490. package/dist/src/public/channels/slack/task-card.d.ts +0 -24
  1491. package/dist/src/public/channels/slack/thread-status.d.ts +0 -33
  1492. package/dist/src/public/channels/slack/utils.d.ts +0 -1
  1493. package/dist/src/public/channels/teams/authorization.d.ts +0 -49
  1494. package/dist/src/public/channels/teams/hitl.d.ts +0 -73
  1495. package/dist/src/public/channels/teams/limits.d.ts +0 -8
  1496. package/dist/src/public/channels/teams/space.d.ts +0 -9
  1497. package/dist/src/public/channels/telegram/attachments.d.ts +0 -31
  1498. package/dist/src/public/channels/telegram/audience.d.ts +0 -10
  1499. package/dist/src/public/channels/telegram/authorization-callback.d.ts +0 -10
  1500. package/dist/src/public/channels/telegram/authorization.d.ts +0 -15
  1501. package/dist/src/public/channels/telegram/state.d.ts +0 -8
  1502. package/dist/src/public/channels/text.d.ts +0 -4
  1503. package/dist/src/public/channels/twilio/defaults.d.ts +0 -9
  1504. package/dist/src/public/channels/twilio/routing.d.ts +0 -14
  1505. package/dist/src/public/definitions/connections/protocol.d.ts +0 -12
  1506. package/dist/src/public/definitions/removed-event-keys.d.ts +0 -2
  1507. package/dist/src/public/memory/file/backends/default.d.ts +0 -7
  1508. package/dist/src/public/memory/file/backends/lazy.d.ts +0 -3
  1509. package/dist/src/public/models/openai/chatgpt/auth.d.ts +0 -4
  1510. package/dist/src/public/models/openai/chatgpt/codex-app-server.d.ts +0 -41
  1511. package/dist/src/public/models/openai/chatgpt/credential-store.d.ts +0 -28
  1512. package/dist/src/public/models/openai/chatgpt/model.d.ts +0 -9
  1513. package/dist/src/public/models/openai/chatgpt/oauth.d.ts +0 -22
  1514. package/dist/src/public/models/openai/chatgpt/token-broker.d.ts +0 -34
  1515. package/dist/src/public/models/openai/chatgpt/token.d.ts +0 -13
  1516. package/dist/src/public/models/openai/chatgpt/transport.d.ts +0 -15
  1517. package/dist/src/public/next/server.d.ts +0 -22
  1518. package/dist/src/public/next/vercel-output-config.d.ts +0 -19
  1519. package/dist/src/public/nuxt/production-origin.d.ts +0 -12
  1520. package/dist/src/public/schedules/testing.d.ts +0 -1
  1521. package/dist/src/runtime/actions/results.d.ts +0 -6
  1522. package/dist/src/runtime/agent/bootstrap-model-utils.d.ts +0 -47
  1523. package/dist/src/runtime/agent/bootstrap-model.d.ts +0 -7
  1524. package/dist/src/runtime/agent/mock-model-adapter.d.ts +0 -19
  1525. package/dist/src/runtime/agent/mock-model-fixtures.d.ts +0 -11
  1526. package/dist/src/runtime/agent/mock-model-skill-selection.d.ts +0 -11
  1527. package/dist/src/runtime/agent/mock-structured-output.d.ts +0 -5
  1528. package/dist/src/runtime/agent/resolve-model.d.ts +0 -35
  1529. package/dist/src/runtime/attributes/emit.d.ts +0 -32
  1530. package/dist/src/runtime/authorization-context.d.ts +0 -19
  1531. package/dist/src/runtime/cache-key.d.ts +0 -9
  1532. package/dist/src/runtime/connections/approval-scope.d.ts +0 -9
  1533. package/dist/src/runtime/connections/authorization-complete-page.d.ts +0 -23
  1534. package/dist/src/runtime/connections/authorization-tokens.d.ts +0 -50
  1535. package/dist/src/runtime/connections/events/actions.d.ts +0 -17
  1536. package/dist/src/runtime/connections/events/delivery.d.ts +0 -10
  1537. package/dist/src/runtime/connections/events/dispatch-step.d.ts +0 -20
  1538. package/dist/src/runtime/connections/events/lifecycle-step.d.ts +0 -42
  1539. package/dist/src/runtime/connections/events/owner.d.ts +0 -38
  1540. package/dist/src/runtime/connections/events/owners.d.ts +0 -15
  1541. package/dist/src/runtime/connections/events/path.d.ts +0 -4
  1542. package/dist/src/runtime/connections/events/state.d.ts +0 -37
  1543. package/dist/src/runtime/connections/events/workflow.d.ts +0 -28
  1544. package/dist/src/runtime/connections/instance-identity.d.ts +0 -9
  1545. package/dist/src/runtime/connections/mcp-client.d.ts +0 -88
  1546. package/dist/src/runtime/connections/mcp-tracing.d.ts +0 -14
  1547. package/dist/src/runtime/connections/openapi-client.d.ts +0 -42
  1548. package/dist/src/runtime/connections/openapi-operations.d.ts +0 -34
  1549. package/dist/src/runtime/connections/openapi-schema.d.ts +0 -44
  1550. package/dist/src/runtime/connections/openapi-security.d.ts +0 -42
  1551. package/dist/src/runtime/connections/openapi-spec.d.ts +0 -15
  1552. package/dist/src/runtime/connections/principal.d.ts +0 -73
  1553. package/dist/src/runtime/connections/provided-arguments.d.ts +0 -10
  1554. package/dist/src/runtime/connections/registry-types.d.ts +0 -14
  1555. package/dist/src/runtime/connections/registry.d.ts +0 -42
  1556. package/dist/src/runtime/connections/resolve-authorization.d.ts +0 -11
  1557. package/dist/src/runtime/connections/tool-result.d.ts +0 -27
  1558. package/dist/src/runtime/development-generation.d.ts +0 -8
  1559. package/dist/src/runtime/loaders/artifact-paths.d.ts +0 -21
  1560. package/dist/src/runtime/loaders/bundled-artifacts.d.ts +0 -40
  1561. package/dist/src/runtime/loaders/compile-metadata.d.ts +0 -14
  1562. package/dist/src/runtime/loaders/manifest.d.ts +0 -21
  1563. package/dist/src/runtime/loaders/model-metadata.d.ts +0 -4
  1564. package/dist/src/runtime/loaders/module-map.d.ts +0 -21
  1565. package/dist/src/runtime/prompt/compose.d.ts +0 -14
  1566. package/dist/src/runtime/resolve-agent-graph.d.ts +0 -17
  1567. package/dist/src/runtime/resolve-agent.d.ts +0 -18
  1568. package/dist/src/runtime/resolve-channel.d.ts +0 -17
  1569. package/dist/src/runtime/resolve-connection.d.ts +0 -20
  1570. package/dist/src/runtime/resolve-definition.d.ts +0 -24
  1571. package/dist/src/runtime/resolve-helpers.d.ts +0 -43
  1572. package/dist/src/runtime/resolve-sandbox.d.ts +0 -4
  1573. package/dist/src/runtime/resolve-tool.d.ts +0 -14
  1574. package/dist/src/runtime/sandbox/prepared-artifacts.d.ts +0 -12
  1575. package/dist/src/runtime/schedules/dispatch-occurrence.d.ts +0 -34
  1576. package/dist/src/runtime/schedules/load-collection.d.ts +0 -14
  1577. package/dist/src/runtime/schedules/named-scope.d.ts +0 -11
  1578. package/dist/src/runtime/schedules/payload.d.ts +0 -24
  1579. package/dist/src/runtime/schedules/queue-namespace.d.ts +0 -2
  1580. package/dist/src/runtime/schedules/record.d.ts +0 -4
  1581. package/dist/src/runtime/schedules/register.d.ts +0 -32
  1582. package/dist/src/runtime/schedules/resolve-schedule.d.ts +0 -31
  1583. package/dist/src/runtime/schedules/validation.d.ts +0 -6
  1584. package/dist/src/runtime/sessions/compiled-session-agent.d.ts +0 -13
  1585. package/dist/src/runtime/sessions/runtime-session.d.ts +0 -66
  1586. package/dist/src/runtime/subagents/workflow-reference.d.ts +0 -8
  1587. package/dist/src/runtime/validation.d.ts +0 -5
  1588. package/dist/src/runtime/workspace/seed-files.d.ts +0 -12
  1589. package/dist/src/runtime/workspace/spec.d.ts +0 -6
  1590. package/dist/src/sandbox/providers.d.ts +0 -4
  1591. package/dist/src/self-modification/credentials.d.ts +0 -6
  1592. package/dist/src/self-modification/deployed-sandbox.d.ts +0 -9
  1593. package/dist/src/self-modification/extension/classify-registry-item.d.ts +0 -22
  1594. package/dist/src/self-modification/extension/config-schema.d.ts +0 -10
  1595. package/dist/src/self-modification/extension/eve-add.d.ts +0 -61
  1596. package/dist/src/self-modification/extension/local-only.d.ts +0 -5
  1597. package/dist/src/self-modification/extension/subagents/agent/agent.d.ts +0 -30
  1598. package/dist/src/self-modification/extension/subagents/agent/instructions.d.ts +0 -2
  1599. package/dist/src/self-modification/extension/subagents/agent/sandbox.d.ts +0 -3
  1600. package/dist/src/self-modification/extension/subagents/agent/skills/trace_analysis.d.ts +0 -10
  1601. package/dist/src/self-modification/extension/subagents/agent/tools/edit_file.d.ts +0 -16
  1602. package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace.d.ts +0 -128
  1603. package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace_spans.d.ts +0 -80
  1604. package/dist/src/self-modification/extension/subagents/agent/tools/registry_add.d.ts +0 -56
  1605. package/dist/src/self-modification/extension/subagents/agent/tools/search_models.d.ts +0 -22
  1606. package/dist/src/self-modification/extension/subagents/agent/tools/search_registry.d.ts +0 -100
  1607. package/dist/src/self-modification/extension/subagents/agent/tools/search_traces.d.ts +0 -53
  1608. package/dist/src/self-modification/extension/trace-inspection.d.ts +0 -15
  1609. package/dist/src/self-modification/filesystem.d.ts +0 -7
  1610. package/dist/src/self-modification/git-workspace.d.ts +0 -31
  1611. package/dist/src/self-modification/git.d.ts +0 -10
  1612. package/dist/src/self-modification/github-publisher.d.ts +0 -28
  1613. package/dist/src/self-modification/identifiers.d.ts +0 -4
  1614. package/dist/src/self-modification/mode.d.ts +0 -13
  1615. package/dist/src/self-modification/network-policy.d.ts +0 -1
  1616. package/dist/src/self-modification/proposal.d.ts +0 -37
  1617. package/dist/src/self-modification/remote/config-schema.d.ts +0 -20
  1618. package/dist/src/self-modification/remote/production-registry-add.d.ts +0 -42
  1619. package/dist/src/self-modification/remote/subagents/agent/agent.d.ts +0 -7
  1620. package/dist/src/self-modification/remote/subagents/agent/instructions.d.ts +0 -2
  1621. package/dist/src/self-modification/remote/subagents/agent/sandbox.d.ts +0 -2
  1622. package/dist/src/self-modification/remote/subagents/agent/tools/edit_file.d.ts +0 -1
  1623. package/dist/src/self-modification/remote/subagents/agent/tools/publish.d.ts +0 -5
  1624. package/dist/src/self-modification/remote/subagents/agent/tools/registry_add.d.ts +0 -30
  1625. package/dist/src/self-modification/remote/subagents/agent/tools/search_models.d.ts +0 -1
  1626. package/dist/src/self-modification/remote/subagents/agent/tools/search_registry.d.ts +0 -1
  1627. package/dist/src/self-modification/scaffold.d.ts +0 -2
  1628. package/dist/src/self-modification/setup.d.ts +0 -48
  1629. package/dist/src/self-modification/subagent-guidance.d.ts +0 -15
  1630. package/dist/src/self-modification/workspace-lock.d.ts +0 -2
  1631. package/dist/src/services/dev-client/agent-info-probe.d.ts +0 -18
  1632. package/dist/src/services/dev-client/client-options.d.ts +0 -25
  1633. package/dist/src/services/dev-client/credential-gate.d.ts +0 -24
  1634. package/dist/src/services/dev-client/local-host.d.ts +0 -4
  1635. package/dist/src/services/dev-client/request-headers.d.ts +0 -54
  1636. package/dist/src/services/dev-client/runtime-artifacts.d.ts +0 -28
  1637. package/dist/src/services/dev-client/target.d.ts +0 -19
  1638. package/dist/src/services/dev-client/vercel-auth-error.d.ts +0 -34
  1639. package/dist/src/services/dev-client.d.ts +0 -42
  1640. package/dist/src/services/inspect-application.d.ts +0 -23
  1641. package/dist/src/setup/ai-gateway-api-key.d.ts +0 -16
  1642. package/dist/src/setup/append-env.d.ts +0 -22
  1643. package/dist/src/setup/ask-editable.d.ts +0 -22
  1644. package/dist/src/setup/ask-signals.d.ts +0 -23
  1645. package/dist/src/setup/ask.d.ts +0 -206
  1646. package/dist/src/setup/boxes/apply-ai-gateway-credential.d.ts +0 -29
  1647. package/dist/src/setup/boxes/deploy-project.d.ts +0 -73
  1648. package/dist/src/setup/boxes/detect-ai-gateway.d.ts +0 -17
  1649. package/dist/src/setup/boxes/link-project.d.ts +0 -34
  1650. package/dist/src/setup/boxes/model-capabilities.d.ts +0 -24
  1651. package/dist/src/setup/boxes/resolve-provisioning.d.ts +0 -76
  1652. package/dist/src/setup/boxes/select-model.d.ts +0 -14
  1653. package/dist/src/setup/cli/channel-setup-prompter.d.ts +0 -51
  1654. package/dist/src/setup/cli/command-output.d.ts +0 -12
  1655. package/dist/src/setup/cli/connection-add-prompter.d.ts +0 -8
  1656. package/dist/src/setup/cli/index.d.ts +0 -8
  1657. package/dist/src/setup/cli/option-row.d.ts +0 -100
  1658. package/dist/src/setup/cli/prompt-ui.d.ts +0 -160
  1659. package/dist/src/setup/cli/rail-log.d.ts +0 -51
  1660. package/dist/src/setup/cli/select-component.d.ts +0 -90
  1661. package/dist/src/setup/cli/select-option-codec.d.ts +0 -13
  1662. package/dist/src/setup/cli/select-state.d.ts +0 -87
  1663. package/dist/src/setup/cli/whimsy.d.ts +0 -16
  1664. package/dist/src/setup/connect-provisioning.d.ts +0 -33
  1665. package/dist/src/setup/connection-connector.d.ts +0 -45
  1666. package/dist/src/setup/flows/chatgpt-auth.d.ts +0 -15
  1667. package/dist/src/setup/flows/deploy.d.ts +0 -43
  1668. package/dist/src/setup/flows/ensure-vercel-project.d.ts +0 -23
  1669. package/dist/src/setup/flows/in-project.d.ts +0 -16
  1670. package/dist/src/setup/flows/install-vercel-cli.d.ts +0 -47
  1671. package/dist/src/setup/flows/link.d.ts +0 -63
  1672. package/dist/src/setup/flows/login.d.ts +0 -53
  1673. package/dist/src/setup/flows/model-login-connection.d.ts +0 -20
  1674. package/dist/src/setup/flows/model-login-options.d.ts +0 -59
  1675. package/dist/src/setup/flows/model-login-progress.d.ts +0 -7
  1676. package/dist/src/setup/flows/model-login.d.ts +0 -26
  1677. package/dist/src/setup/flows/model-source-change.d.ts +0 -44
  1678. package/dist/src/setup/flows/model.d.ts +0 -7
  1679. package/dist/src/setup/flows/provider.d.ts +0 -27
  1680. package/dist/src/setup/flows/registry-session.d.ts +0 -61
  1681. package/dist/src/setup/flows/registry.d.ts +0 -41
  1682. package/dist/src/setup/flows/vercel-model-login.d.ts +0 -5
  1683. package/dist/src/setup/headless.d.ts +0 -46
  1684. package/dist/src/setup/human-action.d.ts +0 -23
  1685. package/dist/src/setup/index.d.ts +0 -15
  1686. package/dist/src/setup/integrations/discord/api.d.ts +0 -23
  1687. package/dist/src/setup/integrations/discord/connect.d.ts +0 -24
  1688. package/dist/src/setup/integrations/discord/daemon.d.ts +0 -18
  1689. package/dist/src/setup/integrations/discord/setup.d.ts +0 -52
  1690. package/dist/src/setup/integrations/file-memory/setup.d.ts +0 -15
  1691. package/dist/src/setup/integrations/file-memory/vercel.d.ts +0 -103
  1692. package/dist/src/setup/integrations/github/connect.d.ts +0 -28
  1693. package/dist/src/setup/integrations/github/setup.d.ts +0 -44
  1694. package/dist/src/setup/integrations/linear/connect.d.ts +0 -42
  1695. package/dist/src/setup/integrations/linear/setup.d.ts +0 -31
  1696. package/dist/src/setup/integrations/linq/connect.d.ts +0 -31
  1697. package/dist/src/setup/integrations/linq/management.d.ts +0 -6
  1698. package/dist/src/setup/integrations/linq/setup.d.ts +0 -18
  1699. package/dist/src/setup/integrations/photon/connect.d.ts +0 -38
  1700. package/dist/src/setup/integrations/photon/management.d.ts +0 -42
  1701. package/dist/src/setup/integrations/photon/setup-flow.d.ts +0 -44
  1702. package/dist/src/setup/integrations/photon/setup.d.ts +0 -1
  1703. package/dist/src/setup/integrations/registry.d.ts +0 -4
  1704. package/dist/src/setup/integrations/runner.d.ts +0 -32
  1705. package/dist/src/setup/integrations/self-modification/setup.d.ts +0 -37
  1706. package/dist/src/setup/integrations/shared/environment.d.ts +0 -16
  1707. package/dist/src/setup/integrations/shared/prerequisite.d.ts +0 -25
  1708. package/dist/src/setup/integrations/shared/scaffold.d.ts +0 -20
  1709. package/dist/src/setup/integrations/shared/ui.d.ts +0 -26
  1710. package/dist/src/setup/integrations/shared/vercel-project.d.ts +0 -12
  1711. package/dist/src/setup/integrations/shopify/setup.d.ts +0 -21
  1712. package/dist/src/setup/integrations/shopify/templates.d.ts +0 -1
  1713. package/dist/src/setup/integrations/slack/setup.d.ts +0 -51
  1714. package/dist/src/setup/integrations/teams/connect.d.ts +0 -22
  1715. package/dist/src/setup/integrations/teams/setup.d.ts +0 -22
  1716. package/dist/src/setup/integrations/telegram/connect.d.ts +0 -27
  1717. package/dist/src/setup/integrations/telegram/management.d.ts +0 -6
  1718. package/dist/src/setup/integrations/telegram/setup.d.ts +0 -25
  1719. package/dist/src/setup/integrations/types.d.ts +0 -64
  1720. package/dist/src/setup/integrations/web/auth-options.d.ts +0 -4
  1721. package/dist/src/setup/integrations/web/auth-scaffold.d.ts +0 -7
  1722. package/dist/src/setup/integrations/web/framework.d.ts +0 -8
  1723. package/dist/src/setup/integrations/web/hosting.d.ts +0 -43
  1724. package/dist/src/setup/integrations/web/provision-auth.d.ts +0 -3
  1725. package/dist/src/setup/integrations/web/setup.d.ts +0 -25
  1726. package/dist/src/setup/path-exists.d.ts +0 -1
  1727. package/dist/src/setup/primitives/coding-agent-env.d.ts +0 -17
  1728. package/dist/src/setup/primitives/index.d.ts +0 -4
  1729. package/dist/src/setup/primitives/open-url.d.ts +0 -14
  1730. package/dist/src/setup/primitives/pm/bun.d.ts +0 -10
  1731. package/dist/src/setup/primitives/pm/index.d.ts +0 -11
  1732. package/dist/src/setup/primitives/pm/npm.d.ts +0 -10
  1733. package/dist/src/setup/primitives/pm/pnpm-build-policy.d.ts +0 -16
  1734. package/dist/src/setup/primitives/pm/pnpm.d.ts +0 -46
  1735. package/dist/src/setup/primitives/pm/process-result.d.ts +0 -35
  1736. package/dist/src/setup/primitives/pm/run.d.ts +0 -38
  1737. package/dist/src/setup/primitives/pm/shared.d.ts +0 -9
  1738. package/dist/src/setup/primitives/pm/types.d.ts +0 -53
  1739. package/dist/src/setup/primitives/pm/yarn.d.ts +0 -10
  1740. package/dist/src/setup/primitives/process-abort.d.ts +0 -7
  1741. package/dist/src/setup/primitives/process-output.d.ts +0 -25
  1742. package/dist/src/setup/primitives/run-vercel.d.ts +0 -79
  1743. package/dist/src/setup/project-name.d.ts +0 -5
  1744. package/dist/src/setup/project-resolution.d.ts +0 -65
  1745. package/dist/src/setup/prompter.d.ts +0 -274
  1746. package/dist/src/setup/provider-settings.d.ts +0 -25
  1747. package/dist/src/setup/question-options.d.ts +0 -15
  1748. package/dist/src/setup/quit-guard.d.ts +0 -48
  1749. package/dist/src/setup/registry-setup-client.d.ts +0 -21
  1750. package/dist/src/setup/registry-setup-completion.d.ts +0 -3
  1751. package/dist/src/setup/registry-setup-protocol.d.ts +0 -108
  1752. package/dist/src/setup/run-vercel-link.d.ts +0 -10
  1753. package/dist/src/setup/runner.d.ts +0 -52
  1754. package/dist/src/setup/scaffold/channels-catalog.d.ts +0 -31
  1755. package/dist/src/setup/scaffold/create/add-to-project.d.ts +0 -36
  1756. package/dist/src/setup/scaffold/create/agent-paths.d.ts +0 -5
  1757. package/dist/src/setup/scaffold/create/extension.d.ts +0 -30
  1758. package/dist/src/setup/scaffold/create/instructions-template.d.ts +0 -1
  1759. package/dist/src/setup/scaffold/create/web-template.d.ts +0 -99
  1760. package/dist/src/setup/scaffold/create-in-place.d.ts +0 -1
  1761. package/dist/src/setup/scaffold/files.d.ts +0 -10
  1762. package/dist/src/setup/scaffold/index.d.ts +0 -9
  1763. package/dist/src/setup/scaffold/update/dependencies.d.ts +0 -12
  1764. package/dist/src/setup/scaffold/update/module-files.d.ts +0 -3
  1765. package/dist/src/setup/scaffold/update/update-connection-connector.d.ts +0 -8
  1766. package/dist/src/setup/scaffold/update/update-slack-channel.d.ts +0 -23
  1767. package/dist/src/setup/scaffold/workspace-glob.d.ts +0 -4
  1768. package/dist/src/setup/setup-question-wire.d.ts +0 -48
  1769. package/dist/src/setup/slack-connect-create.d.ts +0 -49
  1770. package/dist/src/setup/slack-connect-lifecycle.d.ts +0 -160
  1771. package/dist/src/setup/slack-connect.d.ts +0 -79
  1772. package/dist/src/setup/slack-setup-plan.d.ts +0 -72
  1773. package/dist/src/setup/slackbot.d.ts +0 -125
  1774. package/dist/src/setup/state.d.ts +0 -183
  1775. package/dist/src/setup/step.d.ts +0 -49
  1776. package/dist/src/setup/validate-gateway-key.d.ts +0 -30
  1777. package/dist/src/setup/vercel-api-failure.d.ts +0 -7
  1778. package/dist/src/setup/vercel-deployment.d.ts +0 -60
  1779. package/dist/src/setup/vercel-project-api.d.ts +0 -45
  1780. package/dist/src/setup/vercel-project-framework.d.ts +0 -24
  1781. package/dist/src/setup/vercel-project.d.ts +0 -87
  1782. package/dist/src/setup/vercel-trace-sampling.d.ts +0 -3
  1783. package/dist/src/setup/verified-remote-agent.d.ts +0 -29
  1784. package/dist/src/setup/verified-remote-client.d.ts +0 -30
  1785. package/dist/src/setup/with-spinner.d.ts +0 -3
  1786. package/dist/src/shared/action-label.d.ts +0 -12
  1787. package/dist/src/shared/action-request-name.d.ts +0 -5
  1788. package/dist/src/shared/agent-info-access.d.ts +0 -5
  1789. package/dist/src/shared/answers-delivery-id.d.ts +0 -1
  1790. package/dist/src/shared/async-iterable.d.ts +0 -2
  1791. package/dist/src/shared/atomic-write-file.d.ts +0 -11
  1792. package/dist/src/shared/built-server-start-failure.d.ts +0 -16
  1793. package/dist/src/shared/chatgpt-model.d.ts +0 -16
  1794. package/dist/src/shared/continuation-token.d.ts +0 -2
  1795. package/dist/src/shared/conversation-identity.d.ts +0 -2
  1796. package/dist/src/shared/default-agent-model.d.ts +0 -14
  1797. package/dist/src/shared/dev-checks.d.ts +0 -8
  1798. package/dist/src/shared/development-env-files.d.ts +0 -4
  1799. package/dist/src/shared/errors.d.ts +0 -22
  1800. package/dist/src/shared/eve-route-path.d.ts +0 -4
  1801. package/dist/src/shared/extension-mount.d.ts +0 -2
  1802. package/dist/src/shared/extension-package-contract.d.ts +0 -16
  1803. package/dist/src/shared/format-duration.d.ts +0 -2
  1804. package/dist/src/shared/framework-eve-integration.d.ts +0 -33
  1805. package/dist/src/shared/gateway-model-catalog.d.ts +0 -44
  1806. package/dist/src/shared/gateway-routing.d.ts +0 -20
  1807. package/dist/src/shared/gateway-service-tier.d.ts +0 -20
  1808. package/dist/src/shared/git.d.ts +0 -16
  1809. package/dist/src/shared/guards.d.ts +0 -54
  1810. package/dist/src/shared/html-to-markdown.d.ts +0 -21
  1811. package/dist/src/shared/instrumentation-channel-kind.d.ts +0 -3
  1812. package/dist/src/shared/json-schemas.d.ts +0 -10
  1813. package/dist/src/shared/line-diff.d.ts +0 -11
  1814. package/dist/src/shared/map-concurrent.d.ts +0 -2
  1815. package/dist/src/shared/map-with-concurrency.d.ts +0 -2
  1816. package/dist/src/shared/memory-state.d.ts +0 -12
  1817. package/dist/src/shared/model-connection.d.ts +0 -17
  1818. package/dist/src/shared/model-endpoint-status.d.ts +0 -33
  1819. package/dist/src/shared/model-helper.d.ts +0 -26
  1820. package/dist/src/shared/model-summary.d.ts +0 -8
  1821. package/dist/src/shared/network-address.d.ts +0 -38
  1822. package/dist/src/shared/objects.d.ts +0 -5
  1823. package/dist/src/shared/package-name.d.ts +0 -4
  1824. package/dist/src/shared/path-exists.d.ts +0 -9
  1825. package/dist/src/shared/path-inside.d.ts +0 -2
  1826. package/dist/src/shared/poll-until.d.ts +0 -5
  1827. package/dist/src/shared/presentation-text.d.ts +0 -8
  1828. package/dist/src/shared/principal-scope.d.ts +0 -2
  1829. package/dist/src/shared/public-route-prefix.d.ts +0 -23
  1830. package/dist/src/shared/read-optional-file.d.ts +0 -2
  1831. package/dist/src/shared/rename-with-retry.d.ts +0 -5
  1832. package/dist/src/shared/resolve-eve-binary.d.ts +0 -12
  1833. package/dist/src/shared/restriction.d.ts +0 -13
  1834. package/dist/src/shared/result.d.ts +0 -12
  1835. package/dist/src/shared/run-errors.d.ts +0 -39
  1836. package/dist/src/shared/sandbox-prepared-artifacts.d.ts +0 -16
  1837. package/dist/src/shared/sandbox-recorded-data-error.d.ts +0 -4
  1838. package/dist/src/shared/sandbox-tool-session-error.d.ts +0 -4
  1839. package/dist/src/shared/schedule-collection-tools.d.ts +0 -11
  1840. package/dist/src/shared/schedule-timezone.d.ts +0 -6
  1841. package/dist/src/shared/session-auth.d.ts +0 -39
  1842. package/dist/src/shared/shell-quote.d.ts +0 -2
  1843. package/dist/src/shared/skill-package.d.ts +0 -49
  1844. package/dist/src/shared/skill-paths.d.ts +0 -24
  1845. package/dist/src/shared/text-boundaries.d.ts +0 -19
  1846. package/dist/src/shared/token-usage-math.d.ts +0 -5
  1847. package/dist/src/shared/trace-root.d.ts +0 -8
  1848. package/dist/src/shared/ulid.d.ts +0 -33
  1849. package/dist/src/shared/validate-authorization.d.ts +0 -21
  1850. package/dist/src/shared/value-delta.d.ts +0 -40
  1851. package/dist/src/shared/vercel-output-directory.d.ts +0 -2
  1852. package/dist/src/shared/vercel-project.d.ts +0 -27
  1853. package/dist/src/shared/wait-with-signal.d.ts +0 -2
  1854. package/dist/src/shared/workflow-function-id.d.ts +0 -2
  1855. package/dist/src/shared/workflow-sandbox.d.ts +0 -10
  1856. package/dist/src/shared/workflow-tool-context.d.ts +0 -2
  1857. package/dist/src/source-change/agent-config-ast.d.ts +0 -61
  1858. package/dist/src/source-change/agent-config-string-path.d.ts +0 -18
  1859. package/dist/src/source-change/apply-agent-model-settings.d.ts +0 -27
  1860. package/dist/src/source-change/apply-model-selection.d.ts +0 -15
  1861. package/dist/src/source-change/static-source-change.d.ts +0 -51
  1862. package/dist/src/subagents/adapter-state.d.ts +0 -39
  1863. package/dist/src/subagents/adapter.d.ts +0 -8
  1864. package/dist/src/subagents/callback-route.d.ts +0 -2
  1865. package/dist/src/subagents/event-proxy-step.d.ts +0 -23
  1866. package/dist/src/subagents/hitl-proxy.d.ts +0 -47
  1867. package/dist/src/subagents/parent-notification.d.ts +0 -47
  1868. package/dist/src/subagents/protocol-two-callback.d.ts +0 -27
  1869. package/dist/src/subagents/remote-route-url.d.ts +0 -2
  1870. package/dist/src/tool-stubs/execute.d.ts +0 -10
  1871. package/dist/src/tool-stubs/output.d.ts +0 -4
  1872. package/dist/src/tool-stubs/playback.d.ts +0 -15
  1873. package/dist/src/tool-stubs/rules.d.ts +0 -3
  1874. package/dist/src/tool-stubs/schema.d.ts +0 -4
  1875. package/dist/src/tool-stubs/target.d.ts +0 -8
  1876. package/dist/src/tool-stubs/validate-targets.d.ts +0 -6
  1877. package/dist/src/tools/agent-models.d.ts +0 -7
  1878. package/dist/src/tools/framework/agent-contract.d.ts +0 -4
  1879. package/dist/src/tools/provided/ask-question-body.d.ts +0 -10
  1880. package/dist/src/tools/provided/ask-question-workflow.d.ts +0 -4
  1881. package/dist/src/tools/provided/framework-tool.d.ts +0 -13
  1882. package/dist/src/tools/provided/sleep-workflow.d.ts +0 -4
  1883. package/dist/src/tools/provided/task-cancel.d.ts +0 -6
  1884. package/dist/src/tools/provided/task-wait.d.ts +0 -9
  1885. package/dist/src/tools/signature.d.ts +0 -16
  1886. package/dist/src/tools/tool-label.d.ts +0 -1
  1887. package/dist/src/tools/workflow-body.d.ts +0 -15
  1888. package/dist/src/tools/workflow-program-input.d.ts +0 -6
  1889. package/dist/src/tracing/eve/agent-approval-instrumentation.d.ts +0 -13
  1890. package/dist/src/tracing/eve/agent-channel-delivery-instrumentation.d.ts +0 -7
  1891. package/dist/src/tracing/eve/agent-memory-instrumentation.d.ts +0 -17
  1892. package/dist/src/tracing/eve/agent-otel-provider.d.ts +0 -30
  1893. package/dist/src/tracing/eve/agent-tool-instrumentation.d.ts +0 -43
  1894. package/dist/src/tracing/eve/agent-trace-context-store.d.ts +0 -24
  1895. package/dist/src/tracing/eve/agent-trace-context.d.ts +0 -3
  1896. package/dist/src/tracing/eve/agent-trace-state.d.ts +0 -70
  1897. package/dist/src/tracing/eve/batch-span-processor.d.ts +0 -25
  1898. package/dist/src/tracing/eve/channel-audience-context.d.ts +0 -4
  1899. package/dist/src/tracing/eve/connection-authorization.d.ts +0 -11
  1900. package/dist/src/tracing/eve/connection-events.d.ts +0 -25
  1901. package/dist/src/tracing/eve/content-span-processor.d.ts +0 -1
  1902. package/dist/src/tracing/eve/conversation-context.d.ts +0 -15
  1903. package/dist/src/tracing/eve/delegation.d.ts +0 -20
  1904. package/dist/src/tracing/eve/gateway.d.ts +0 -22
  1905. package/dist/src/tracing/eve/install-instrumentation-runtime.d.ts +0 -19
  1906. package/dist/src/tracing/eve/invoke-tool-span.d.ts +0 -63
  1907. package/dist/src/tracing/eve/mcp.d.ts +0 -30
  1908. package/dist/src/tracing/eve/metadata.d.ts +0 -7
  1909. package/dist/src/tracing/eve/operation-input.d.ts +0 -18
  1910. package/dist/src/tracing/eve/policy.d.ts +0 -15
  1911. package/dist/src/tracing/eve/profile.d.ts +0 -7
  1912. package/dist/src/tracing/eve/session.d.ts +0 -32
  1913. package/dist/src/tracing/eve/vercel-runtime-span-exporter.d.ts +0 -5
  1914. package/dist/src/tracing/local/agent-trace-span-processor.d.ts +0 -16
  1915. package/dist/src/tracing/local/inspection.d.ts +0 -15
  1916. package/dist/src/tracing/local/instrumentation-runtime.d.ts +0 -7
  1917. package/dist/src/tracing/local/trace-analysis.d.ts +0 -52
  1918. package/dist/src/tracing/local/trace-discovery-index.d.ts +0 -13
  1919. package/dist/src/tracing/local/trace-operations.d.ts +0 -13
  1920. package/dist/src/tracing/local/trace-query.d.ts +0 -18
  1921. package/dist/src/tracing/local/trace-reader.d.ts +0 -83
  1922. package/dist/src/tracing/local/trace-retention.d.ts +0 -67
  1923. package/dist/src/tracing/local/trace-span-processor.d.ts +0 -19
  1924. package/dist/src/tracing/local/trace-summary.d.ts +0 -31
  1925. package/dist/src/tracing/local/traces.d.ts +0 -27
  1926. /package/dist/src/compiled/_chunks/{workflow → node}/LogRecord-CbGROCJy.js +0 -0
  1927. /package/dist/src/compiled/_chunks/{workflow → node}/_eve-core-quickjs-entrypoint-stub-qIV0OaFz.js +0 -0
  1928. /package/dist/src/compiled/_chunks/{workflow → node}/global-singleton-BNinwFrL.js +0 -0
  1929. /package/dist/src/compiled/_chunks/{workflow → node}/private-DD2PSMRM.js +0 -0
  1930. /package/dist/src/compiled/_chunks/{workflow → node}/queue-auth-C7YIFJ-G.js +0 -0
  1931. /package/dist/src/compiled/_chunks/{workflow → node}/run-id-Ct9AjQDR.js +0 -0
  1932. /package/dist/src/compiled/_chunks/{workflow → node}/workflow-routes-BaljomCk.js +0 -0
@@ -1,1437 +0,0 @@
1
- import { AsyncLocalStorage } from 'node:async_hooks';
2
- import { AttachmentTransport } from './_chat-adapter-shared.js';
3
- export { AttachmentTransport, EncryptedTokenData, decodeKey } from './_chat-adapter-shared.js';
4
- import { WebClientOptions, WebClient } from './_slack-web-api.js';
5
- import { Message, AppContextEntity, BaseFormatConverter, Root, AdapterPostableMessage, Logger, RawMessage, CardElement, Adapter, ChatInstance, UserInfo, WebhookOptions, OptionsLoadResult, ModalResponse, ModalElement, AgentSessionStatus, LinkPreview, Attachment, EphemeralMessage, ScheduledMessage, FileUpload, PlanModel, PlanContent, EmojiValue, TypingOptions, StreamChunk, StreamOptions, FetchOptions, FetchResult, ThreadInfo, ChannelVisibility, FormattedContent, ListThreadsOptions, ListThreadsResult, ChannelInfo } from '#compiled/chat/index.js';
6
- import { S as SlackBlock, a as SlackWebhookVerifier, b as SlackEvent, c as SlackAttachmentContent } from './types-lhgDKIVy.js';
7
- export { d as SlackMessageBlock, i as isBotMention } from './types-lhgDKIVy.js';
8
- import { S as SlackFetch } from './fetch-QqNM_Ef3.js';
9
-
10
- /** A single entity in a Slack active-view context (wire shape). */
11
- interface SlackAppContextEntity {
12
- enterprise_id?: string;
13
- team_id?: string;
14
- type: string;
15
- value: unknown;
16
- }
17
- /** Slack active-view context object (`app_context` on messages, `context` elsewhere). */
18
- interface SlackAppContext {
19
- entities?: SlackAppContextEntity[];
20
- }
21
- /** Slack `app_context_changed` event payload (wire shape, agent_view only). */
22
- interface SlackAppContextChangedEvent {
23
- channel: string;
24
- context: SlackAppContext;
25
- event_ts: string;
26
- type: "app_context_changed";
27
- user: string;
28
- }
29
- /**
30
- * Normalize Slack active-view context entities into the core `AppContextEntity` union.
31
- * Unrecognized entity types map to `{ kind: "unknown" }` for forward-compatibility.
32
- * @param context - The Slack context object; tolerates a missing/malformed one.
33
- * @returns Relevance-ordered normalized entities; empty when the context has none.
34
- */
35
- declare function normalizeAppContextEntities(context: SlackAppContext | undefined): AppContextEntity[];
36
- /**
37
- * Read the folded active-view context Slack attaches to a DM message
38
- * (`message.im`'s `app_context` field), normalized to core entities.
39
- * @param message - The incoming message whose raw payload may carry `app_context`.
40
- * @returns Normalized entities; empty when no folded context is present.
41
- */
42
- declare function getAppContext(message: Message): AppContextEntity[];
43
-
44
- /**
45
- * Slack format conversion.
46
- *
47
- * Outgoing: Slack now natively renders markdown via the `markdown_text` field
48
- * on chat.postMessage / postEphemeral / update / scheduleMessage. We pass
49
- * markdown through there and let Slack handle it. Interactive `response_url`
50
- * payloads do not accept `markdown_text`, so those still use Slack mrkdwn text.
51
- *
52
- * Incoming: Slack `message` events still deliver text as mrkdwn
53
- * (`*bold*`, `<@U123>`, `<url|text>`), so the toAst parser stays.
54
- */
55
-
56
- type SlackTextPayload = {
57
- text: string;
58
- } | {
59
- markdown_text: string;
60
- };
61
- declare class SlackFormatConverter extends BaseFormatConverter {
62
- /**
63
- * Render an AST to standard markdown. Slack accepts this directly via
64
- * `markdown_text` and the `markdown` block.
65
- */
66
- fromAst(ast: Root): string;
67
- /**
68
- * Parse Slack mrkdwn into an AST. Used for incoming `message` events.
69
- */
70
- toAst(mrkdwn: string): Root;
71
- /**
72
- * Return a parser for the mrkdwn parts of one message, such as its text,
73
- * layout block text, attachment text, and table cells. The parse budget
74
- * applies to all parts together: when they exceed it, no part is parsed and
75
- * each becomes a single text node. Otherwise each part goes through
76
- * `parseIncoming`.
77
- *
78
- * @internal Used by SlackAdapter to parse inbound messages.
79
- */
80
- incomingPartsParser(parts: readonly string[]): (part: string) => Root;
81
- /**
82
- * Check the budget against the markdown that `toAst` parses, with entities
83
- * decoded and Slack code fences, emphasis, and tokens converted, so the
84
- * checks see the same blockquotes and fences as the parser. The length
85
- * limit still applies to the text as delivered.
86
- */
87
- protected exceedsIncomingBudget(mrkdwn: string): boolean;
88
- protected incomingFallbackText(mrkdwn: string): string;
89
- /**
90
- * Build the Slack API payload fields for a message.
91
- *
92
- * - `string` / `{ raw }` → `{ text }` (plain — preserves literal `*`, `_`, etc.)
93
- * - `{ markdown }` / `{ ast }` → `{ markdown_text }` (Slack renders natively)
94
- *
95
- * Bare `@user` mentions are rewritten to `<@user>` and `:emoji:` placeholders
96
- * are normalized for Slack in all branches.
97
- *
98
- * Note: `markdown_text` has a 12,000 character limit; `text` allows ~40,000.
99
- * Note: `markdown_text` is mutually exclusive with `text` and `blocks`.
100
- */
101
- toSlackPayload(message: AdapterPostableMessage): SlackTextPayload;
102
- /**
103
- * Build text for Slack response_url payloads.
104
- *
105
- * Slack rejects `markdown_text` on response_url (`no_text`), so markdown/AST
106
- * messages are rendered to Slack's legacy mrkdwn format for this surface.
107
- */
108
- toResponseUrlText(message: AdapterPostableMessage): string;
109
- private finalize;
110
- private astToMrkdwn;
111
- private nodeToMrkdwn;
112
- }
113
-
114
- /**
115
- * Slack modal (view) converter.
116
- * Converts ModalElement to Slack Block Kit view format.
117
- */
118
-
119
- interface SlackView {
120
- blocks: SlackBlock[];
121
- callback_id: string;
122
- close?: {
123
- type: "plain_text";
124
- text: string;
125
- };
126
- notify_on_close?: boolean;
127
- private_metadata?: string;
128
- submit?: {
129
- type: "plain_text";
130
- text: string;
131
- };
132
- title: {
133
- type: "plain_text";
134
- text: string;
135
- };
136
- type: "modal";
137
- }
138
- interface SlackModalResponse {
139
- errors?: Record<string, string>;
140
- response_action?: "errors" | "update" | "push" | "clear";
141
- view?: SlackView;
142
- }
143
-
144
- /**
145
- * Slack adapter types.
146
- */
147
-
148
- type SlackAdapterMode = "webhook" | "socket";
149
- /**
150
- * Bot token configuration. Can be a static string, or a function that returns
151
- * a token (optionally asynchronously). The function is invoked each time a
152
- * token is needed, enabling rotation or lazy retrieval from a secret manager.
153
- */
154
- type SlackBotToken = string | (() => string | Promise<string>);
155
- /** Data stored per Slack workspace installation */
156
- interface SlackInstallation {
157
- botToken: string;
158
- botUserId?: string;
159
- /** Enterprise Grid org ID, when the workspace belongs to (or the app is installed org-wide on) a Grid org */
160
- enterpriseId?: string;
161
- /** True when this is an Enterprise Grid org-wide installation (stored under the enterprise ID) */
162
- isEnterpriseInstall?: boolean;
163
- teamName?: string;
164
- }
165
- /** Options for the feedback buttons appended to streamed replies. */
166
- interface SlackFeedbackButtonsOptions {
167
- /**
168
- * `action_id` dispatched to `bot.onAction` when a button is clicked.
169
- * Defaults to "message_feedback".
170
- */
171
- actionId?: string;
172
- /** Label for the negative button. Defaults to "Bad response". */
173
- negativeLabel?: string;
174
- /** Action value dispatched for negative clicks. Defaults to "negative". */
175
- negativeValue?: string;
176
- /** Label for the positive button. Defaults to "Good response". */
177
- positiveLabel?: string;
178
- /** Action value dispatched for positive clicks. Defaults to "positive". */
179
- positiveValue?: string;
180
- }
181
- /** A single suggested prompt shown in an assistant/agent thread. */
182
- interface SlackSuggestedPrompt {
183
- /** Full prompt text sent as the user's message when the prompt is clicked. */
184
- message: string;
185
- /** Short label shown on the prompt button. */
186
- title: string;
187
- }
188
- /** Suggested prompts payload applied when an assistant/agent thread opens. */
189
- interface SlackSuggestedPromptsOptions {
190
- /** The prompts to display. Slack shows at most 4. */
191
- prompts: SlackSuggestedPrompt[];
192
- /** Optional heading shown above the prompts. */
193
- title?: string;
194
- }
195
- /** Context passed to a dynamic `suggestedPrompts` resolver. */
196
- interface SlackSuggestedPromptsContext {
197
- /** The DM channel the assistant/agent thread lives in. */
198
- channelId: string;
199
- /** Enterprise the user opened the thread from (legacy assistant_view). */
200
- enterpriseId?: string;
201
- /** Active-view context entities (agent_view, when Slack folds context in). */
202
- entities?: AppContextEntity[];
203
- /** Team the user opened the conversation from. */
204
- teamId?: string;
205
- /** Assistant thread root (legacy assistant_view; absent under agent_view). */
206
- threadTs?: string;
207
- /** The user who opened the thread. */
208
- userId: string;
209
- }
210
- /**
211
- * Suggested prompts configuration: a static payload, or a resolver invoked
212
- * each time an assistant/agent thread opens. Return null/undefined from the
213
- * resolver to skip setting prompts for that thread.
214
- */
215
- type SlackSuggestedPrompts = SlackSuggestedPromptsOptions | ((context: SlackSuggestedPromptsContext) => SlackSuggestedPromptsOptions | null | undefined | Promise<SlackSuggestedPromptsOptions | null | undefined>);
216
- /**
217
- * Result of `SlackAdapter.stream()`. A reply that streams longer than
218
- * `streamSegmentMaxAgeMs` is split into several Slack messages; `id` is the
219
- * last one and `messageIds` lists all of them in order, ending with `id`.
220
- */
221
- interface SlackStreamResult extends RawMessage<unknown> {
222
- messageIds: string[];
223
- }
224
- /** Context passed to a dynamic agent-session title resolver. */
225
- interface SlackSessionTitleContext {
226
- channelId: string;
227
- text: string;
228
- threadTs: string;
229
- userId: string;
230
- }
231
- /**
232
- * Automatic agent-session title configuration. `true` uses the first line of
233
- * the root message, `false` disables automatic titles, and a resolver can
234
- * provide a custom title or return null to skip it.
235
- */
236
- type SlackSessionTitle = boolean | ((context: SlackSessionTitleContext) => string | null | Promise<string | null>);
237
- interface SlackAdapterConfig {
238
- /**
239
- * Enable Slack's Agent messaging experience (`agent_view` manifest mode).
240
- * When true, `app_home_opened` is treated as the DM-open signal regardless of
241
- * tab and folded active-view context is surfaced. Defaults to false (legacy
242
- * `assistant_view`).
243
- */
244
- agentView?: boolean;
245
- /** Override the Slack API base URL (e.g. "https://slack-gov.com/api/" for GovSlack). Defaults to SLACK_API_URL env var. */
246
- apiUrl?: string;
247
- /** App-level token (xapp-...). Required for socket mode. */
248
- appToken?: string;
249
- /**
250
- * Bot token (xoxb-...). Required for single-workspace mode. Omit for multi-workspace.
251
- * May be a string, or a function returning a string or Promise<string> (called
252
- * on each use to support rotation or deferred resolution).
253
- */
254
- botToken?: SlackBotToken;
255
- /** Bot user ID (will be fetched if not provided) */
256
- botUserId?: string;
257
- /** Slack app client ID (required for OAuth / multi-workspace) */
258
- clientId?: string;
259
- /** Slack app client secret (required for OAuth / multi-workspace) */
260
- clientSecret?: string;
261
- /**
262
- * Base64-encoded 32-byte AES-256-GCM encryption key.
263
- * If provided, bot tokens stored via setInstallation() will be encrypted at rest.
264
- */
265
- encryptionKey?: string;
266
- /**
267
- * Append Slack's native feedback buttons (a `context_actions` block with a
268
- * `feedback_buttons` element) to every streamed reply, attached when the
269
- * stream finishes. Clicks dispatch to `bot.onAction` with the configured
270
- * `actionId` and a positive/negative value. Pass `true` for defaults, or an
271
- * options object to customize labels, values, and the action id. Skipped
272
- * when a stream falls back to post-and-edit.
273
- */
274
- feedbackButtons?: boolean | SlackFeedbackButtonsOptions;
275
- /**
276
- * Fetch implementation for response_url requests and Socket Mode webhook
277
- * forwarding. Defaults to globalThis.fetch at request time. Does not affect
278
- * Web API clients, Socket Mode connections, files, or standalone /api helpers.
279
- */
280
- fetch?: SlackFetch;
281
- /**
282
- * Transport for lazy and rehydrated file downloads. Replaces the default
283
- * DNS-pinned HTTPS transport, which is the only place resolved addresses
284
- * are checked against the private-range blocklist, so the transport or
285
- * egress proxy must reject internal destination addresses and DNS
286
- * rebinding. Return the raw response without following redirects, and
287
- * honor the supplied AbortSignal. The downloader still validates URLs,
288
- * limits redirects, scopes credentials, destroys the response at the
289
- * deadline, and caps the body size. Subclass createFileTransport()
290
- * overrides take precedence.
291
- */
292
- fileTransport?: AttachmentTransport;
293
- /**
294
- * Prefix for the state key used to store workspace installations.
295
- * Defaults to `slack:installation`. The full key will be `{prefix}:{teamId}`.
296
- */
297
- installationKeyPrefix?: string;
298
- /**
299
- * External installation provider for multi-workspace apps using external
300
- * token management (e.g., Vercel Connect). When set, the adapter bypasses
301
- * internal StateAdapter storage for token lookups.
302
- *
303
- * For Enterprise Grid org-wide installs, `installationId` will be the
304
- * enterprise ID; otherwise it will be the team ID.
305
- */
306
- installationProvider?: {
307
- getInstallation: (installationId: string, isEnterpriseInstall: boolean) => Promise<SlackInstallation | null>;
308
- };
309
- /**
310
- * Default rotating loading messages for the assistant thinking indicator
311
- * (`assistant.threads.setStatus` `loading_messages`). Used by `startTyping`
312
- * and `setAssistantStatus` when no explicit status/messages are passed.
313
- */
314
- loadingMessages?: string[];
315
- /** Logger instance for error reporting. Defaults to ConsoleLogger. */
316
- logger?: Logger;
317
- /** Connection mode: "webhook" (default) or "socket" */
318
- mode?: SlackAdapterMode;
319
- /**
320
- * Use Slack's native streaming API (`chat.startStream` / `chat.appendStream`
321
- * / `chat.stopStream`) for streamed posts. Defaults to true. Set false on
322
- * Slack flavours without the streaming methods (e.g. GovSlack) to always
323
- * stream via post-and-edit; the adapter also falls back automatically when
324
- * the workspace rejects the first native call.
325
- */
326
- nativeStreaming?: boolean;
327
- /**
328
- * Automatically title new agent sessions from their root user message.
329
- * Defaults to true when `agentView` is enabled. Pass false to disable or a
330
- * resolver to customize the title.
331
- */
332
- sessionTitle?: SlackSessionTitle;
333
- /** Signing secret for webhook verification. Defaults to SLACK_SIGNING_SECRET env var. */
334
- signingSecret?: string;
335
- /** Shared secret for authenticating forwarded socket mode events. Auto-detected from SLACK_SOCKET_FORWARDING_SECRET. Falls back to appToken if not set. */
336
- socketForwardingSecret?: string;
337
- /**
338
- * Maximum lifetime of one native Slack stream segment before the adapter
339
- * finalizes it and continues in a new segment. Defaults to 240 seconds,
340
- * safely below Slack's roughly five-minute stream expiry.
341
- */
342
- streamSegmentMaxAgeMs?: number;
343
- /**
344
- * Suggested prompts to pin automatically when an assistant/agent thread
345
- * opens. Applied on `assistant_thread_started` (legacy `assistant_view`)
346
- * and on Messages-tab `app_home_opened` (with `agentView` enabled, where
347
- * prompts sit at the top of the agent conversation). Pass a static payload
348
- * or a resolver that receives the thread context (user, channel,
349
- * active-view entities) and returns prompts per thread.
350
- */
351
- suggestedPrompts?: SlackSuggestedPrompts;
352
- /** Override bot username (optional) */
353
- userName?: string;
354
- /**
355
- * Options forwarded to the underlying `@slack/web-api` `WebClient` instances, both the
356
- * default client and the per-token clients used for multi-workspace requests.
357
- *
358
- * Use this to tune Web API behavior the adapter does not otherwise expose, most
359
- * notably `retryConfig` and `timeout`. By default the WebClient retries rate-limited
360
- * (429) requests with `retryPolicies.tenRetriesInAboutThirtyMinutes`, so a single
361
- * `chat.update`/`chat.postMessage` can block for ~30 minutes under sustained rate
362
- * limiting. Callers that stream frequent edits (where a hung call can stall a whole
363
- * turn) will typically want a bounded policy and/or a timeout. `timeout` applies to
364
- * each HTTP request attempt, not the total retry period. Set
365
- * `rejectRateLimitedCalls` to reject 429 responses without waiting for `Retry-After`.
366
- *
367
- * ```ts
368
- * import { retryPolicies } from "./_slack-web-api.js";
369
- * createSlackAdapter({
370
- * signingSecret,
371
- * webClientOptions: { retryConfig: retryPolicies.fiveRetriesInFiveMinutes, timeout: 15_000 },
372
- * });
373
- * ```
374
- *
375
- * `agent` also configures Socket Mode, both its HTTP calls and its
376
- * WebSocket. `tls` and `apiUrl` reach only Socket Mode's HTTP calls; the
377
- * SDK opens the WebSocket with the agent alone, so a custom CA or other
378
- * TLS settings for that connection belong on the agent. None of these
379
- * configure `fetch` or `fileTransport`. Other options apply only to Web
380
- * API clients. Use `apiUrl` to override the Slack Web API base URL.
381
- */
382
- webClientOptions?: Omit<WebClientOptions, "slackApiUrl">;
383
- /**
384
- * Custom webhook verifier. Used in place of `signingSecret`.
385
- * Receives the incoming `Request` and the raw body text already
386
- * read by the adapter. To reject the request, either
387
- * return a falsy value (sync or async) or throw/reject; the adapter will
388
- * respond with `401 Invalid signature`. Any truthy return value is treated
389
- * as a successful verification. If a string is returned, it replaces the
390
- * raw body for downstream parsing — useful when the verifier needs to
391
- * canonicalize or substitute the verified payload.
392
- *
393
- * `webhookVerifier` takes precedence over `signingSecret` and the
394
- * `SLACK_SIGNING_SECRET` env var; when it is set, those are ignored.
395
- *
396
- * SECURITY: When this is used in place of `signingSecret`, the built-in
397
- * Slack timestamp tolerance check is NOT performed. Implementations are
398
- * responsible for verifying the `x-slack-request-timestamp` header (or an
399
- * equivalent freshness signal) to prevent replay of captured signed
400
- * requests.
401
- */
402
- webhookVerifier?: SlackWebhookVerifier;
403
- }
404
-
405
- /**
406
- * Slack Block Kit converter for cross-platform cards.
407
- *
408
- * Converts CardElement to Slack Block Kit blocks.
409
- * @see https://api.slack.com/block-kit
410
- */
411
-
412
- /**
413
- * Convert a CardElement to Slack Block Kit blocks.
414
- */
415
- declare function cardToBlockKit(card: CardElement): SlackBlock[];
416
- /**
417
- * Generate fallback text from a card element.
418
- * Used when blocks aren't supported or for notifications.
419
- */
420
- declare function cardToFallbackText(card: CardElement): string;
421
-
422
- /**
423
- * Build a `context_actions` block with Slack's native feedback buttons
424
- * (thumbs up/down on agent replies). The adapter appends this automatically
425
- * to streamed replies when the `feedbackButtons` config is set; use this
426
- * helper to attach the same block to non-streamed messages via raw blocks.
427
- */
428
- declare function buildFeedbackButtonsBlock(options?: SlackFeedbackButtonsOptions): Record<string, unknown>;
429
- /** Envelope for events forwarded from a socket mode listener via HTTP POST */
430
- interface SlackForwardedSocketEvent {
431
- body: Record<string, unknown>;
432
- eventType: string;
433
- /** Slack redelivery count for the original socket delivery, used for event dedup */
434
- retryNum?: number;
435
- timestamp: number;
436
- type: "socket_event";
437
- }
438
- interface SlackOAuthCallbackOptions {
439
- /** Redirect URI to send to Slack during the OAuth code exchange. */
440
- redirectUri?: string;
441
- }
442
- /** Slack-specific thread ID data */
443
- interface SlackThreadId {
444
- channel: string;
445
- threadTs: string;
446
- }
447
- /** Slack reaction event payload */
448
- interface SlackReactionEvent {
449
- event_ts: string;
450
- item: {
451
- type: string;
452
- channel: string;
453
- ts: string;
454
- };
455
- item_user?: string;
456
- reaction: string;
457
- type: "reaction_added" | "reaction_removed";
458
- user: string;
459
- }
460
- /** Slack assistant_thread_started event payload */
461
- interface SlackAssistantThreadStartedEvent {
462
- assistant_thread: {
463
- user_id: string;
464
- channel_id: string;
465
- thread_ts: string;
466
- context: {
467
- channel_id?: string;
468
- team_id?: string;
469
- enterprise_id?: string;
470
- thread_entry_point?: string;
471
- force_search?: boolean;
472
- };
473
- };
474
- event_ts: string;
475
- type: "assistant_thread_started";
476
- }
477
- /** Slack assistant_thread_context_changed event payload */
478
- interface SlackAssistantContextChangedEvent {
479
- assistant_thread: {
480
- user_id: string;
481
- channel_id: string;
482
- thread_ts: string;
483
- context: {
484
- channel_id?: string;
485
- team_id?: string;
486
- enterprise_id?: string;
487
- thread_entry_point?: string;
488
- force_search?: boolean;
489
- };
490
- };
491
- event_ts: string;
492
- type: "assistant_thread_context_changed";
493
- }
494
- interface SlackAgentSessionStoppedEvent {
495
- channel: string;
496
- event_ts: string;
497
- streaming_message_ts: string[];
498
- thread_ts: string;
499
- type: "agent_session_stopped";
500
- user: string;
501
- }
502
- interface SlackAgentSessionTitleChangedEvent {
503
- channel: string;
504
- event_ts: string;
505
- previous_title?: string;
506
- team_id: string;
507
- thread_ts: string;
508
- title: string;
509
- type: "agent_session_title_changed";
510
- user: string;
511
- }
512
- /** Slack app_home_opened event payload */
513
- interface SlackAppHomeOpenedEvent {
514
- channel: string;
515
- context?: SlackAppContext;
516
- event_ts: string;
517
- tab: string;
518
- type: "app_home_opened";
519
- user: string;
520
- }
521
- /** Slack member_joined_channel event payload */
522
- interface SlackMemberJoinedChannelEvent {
523
- channel: string;
524
- channel_type?: string;
525
- event_ts: string;
526
- inviter?: string;
527
- team?: string;
528
- type: "member_joined_channel";
529
- user: string;
530
- }
531
- /** Slack user_change event payload */
532
- interface SlackUserChangeEvent {
533
- event_ts: string;
534
- type: "user_change";
535
- user: {
536
- id: string;
537
- name?: string;
538
- real_name?: string;
539
- profile?: {
540
- display_name?: string;
541
- real_name?: string;
542
- };
543
- };
544
- }
545
- /** Slack webhook payload envelope */
546
- interface SlackWebhookPayload {
547
- /**
548
- * Installation the event is delivered for (truncated to one entry).
549
- * Slack documents this — not the top-level fields — as the authoritative
550
- * location of is_enterprise_install/enterprise_id on event envelopes.
551
- */
552
- authorizations?: Array<{
553
- enterprise_id?: string | null;
554
- team_id?: string | null;
555
- is_enterprise_install?: boolean;
556
- }>;
557
- challenge?: string;
558
- /**
559
- * Workspace the event is contextualized to. Delivered at the envelope top
560
- * level (not inside `event`); set on Slack Connect events hosted on an
561
- * "away" workspace so calls to the originating channel can echo it back as
562
- * `client_context_team_id`.
563
- */
564
- context_team_id?: string;
565
- /** Enterprise ID for Enterprise Grid org-wide installs */
566
- enterprise_id?: string;
567
- event?: SlackEvent | SlackReactionEvent | SlackAssistantThreadStartedEvent | SlackAssistantContextChangedEvent | SlackAppHomeOpenedEvent | SlackMemberJoinedChannelEvent | SlackUserChangeEvent;
568
- event_id?: string;
569
- event_time?: number;
570
- /** Whether this is an Enterprise Grid org-wide install */
571
- is_enterprise_install?: boolean;
572
- /** Whether this event occurred in an externally shared channel (Slack Connect) */
573
- is_ext_shared_channel?: boolean;
574
- team_id?: string;
575
- type: string;
576
- }
577
- /** Slack interactive payload (block_actions) for button clicks */
578
- interface SlackBlockActionsPayload {
579
- actions: Array<{
580
- type: string;
581
- action_id: string;
582
- block_id?: string;
583
- value?: string;
584
- action_ts?: string;
585
- selected_option?: {
586
- value: string;
587
- };
588
- }>;
589
- channel: {
590
- id: string;
591
- name: string;
592
- };
593
- container: {
594
- type: string;
595
- message_ts: string;
596
- channel_id: string;
597
- is_ephemeral?: boolean;
598
- thread_ts?: string;
599
- };
600
- message: {
601
- ts: string;
602
- thread_ts?: string;
603
- };
604
- response_url?: string;
605
- trigger_id: string;
606
- type: "block_actions";
607
- user: {
608
- id: string;
609
- username: string;
610
- name?: string;
611
- };
612
- }
613
- interface SlackViewSubmissionPayload {
614
- trigger_id: string;
615
- type: "view_submission";
616
- user: {
617
- id: string;
618
- username: string;
619
- name?: string;
620
- };
621
- view: {
622
- id: string;
623
- callback_id: string;
624
- private_metadata?: string;
625
- state: {
626
- values: Record<string, Record<string, {
627
- value?: string;
628
- selected_date?: string;
629
- selected_option?: {
630
- value: string;
631
- };
632
- }>>;
633
- };
634
- };
635
- }
636
- interface SlackViewClosedPayload {
637
- type: "view_closed";
638
- user: {
639
- id: string;
640
- username: string;
641
- name?: string;
642
- };
643
- view: {
644
- id: string;
645
- callback_id: string;
646
- private_metadata?: string;
647
- };
648
- }
649
- interface SlackBlockSuggestionPayload {
650
- action_id: string;
651
- block_id: string;
652
- team?: {
653
- id: string;
654
- };
655
- type: "block_suggestion";
656
- user: {
657
- id: string;
658
- username?: string;
659
- name?: string;
660
- };
661
- value?: string;
662
- }
663
- type SlackInteractivePayload = SlackBlockActionsPayload | SlackBlockSuggestionPayload | SlackViewSubmissionPayload | SlackViewClosedPayload;
664
- /** Cached user info */
665
- interface CachedUser {
666
- avatarUrl?: string;
667
- displayName: string;
668
- email?: string;
669
- isBot?: boolean;
670
- realName: string;
671
- }
672
- declare class SlackAdapter implements Adapter<SlackThreadId, unknown> {
673
- readonly name = "slack";
674
- readonly userName: string;
675
- readonly supportsTurnCancellation: boolean;
676
- protected readonly _client: WebClient;
677
- protected readonly tokenClientCache: Map<string, WebClient>;
678
- protected readonly slackApiUrl: string | undefined;
679
- protected readonly webClientOptions: SlackAdapterConfig["webClientOptions"];
680
- protected readonly fetch: SlackFetch;
681
- protected readonly configuredFileTransport: AttachmentTransport | undefined;
682
- protected readonly signingSecret: string | undefined;
683
- protected readonly webhookVerifier: ((request: Request, body: string) => unknown | Promise<unknown>) | undefined;
684
- protected readonly defaultBotTokenProvider: (() => string | Promise<string>) | undefined;
685
- protected chat: ChatInstance | null;
686
- protected readonly logger: Logger;
687
- protected _botUserId: string | null;
688
- protected _botId: string | null;
689
- protected readonly formatConverter: SlackFormatConverter;
690
- protected static readonly USER_CACHE_TTL_MS: number;
691
- protected static readonly CHANNEL_CACHE_TTL_MS: number;
692
- protected static readonly REVERSE_INDEX_TTL_MS: number;
693
- /** How long delivered event IDs are remembered for retry deduplication. Slack retries at ~1 min and ~5 min, and the opt-in Delayed Events feature redelivers hourly for up to 24 hours. */
694
- protected static readonly EVENT_DEDUPE_TTL_MS: number;
695
- /**
696
- * Cache of channel IDs known to be external/shared (Slack Connect).
697
- * Populated from `is_ext_shared_channel` in incoming webhook payloads.
698
- */
699
- private readonly _externalChannels;
700
- protected readonly appToken: string | undefined;
701
- protected readonly agentView: boolean;
702
- protected readonly sessionTitle: SlackSessionTitle;
703
- protected readonly suggestedPrompts?: SlackSuggestedPrompts;
704
- protected readonly loadingMessages?: string[];
705
- /** Normalized feedbackButtons config (`true` becomes `{}`). */
706
- protected readonly feedbackButtons?: SlackFeedbackButtonsOptions;
707
- protected readonly nativeStreaming: boolean;
708
- protected readonly streamSegmentMaxAgeMs: number;
709
- /**
710
- * Latched when the workspace rejects native streaming with an error that
711
- * won't heal (e.g. `unknown_method` on GovSlack) so later streams skip the
712
- * doomed native attempt and go straight to post-and-edit.
713
- */
714
- protected nativeStreamingBroken: boolean;
715
- protected readonly mode: SlackAdapterMode;
716
- protected readonly socketForwardingSecret: string | undefined;
717
- private socketClient;
718
- protected readonly clientId: string | undefined;
719
- protected readonly clientSecret: string | undefined;
720
- protected readonly encryptionKey: Buffer | undefined;
721
- protected readonly installationKeyPrefix: string;
722
- protected readonly installationProvider: SlackAdapterConfig["installationProvider"];
723
- protected readonly requestContext: AsyncLocalStorage<{
724
- token: string;
725
- botUserId?: string;
726
- isExtSharedChannel?: boolean;
727
- enterpriseId?: string;
728
- isEnterpriseInstall?: boolean;
729
- /** team_id (or enterprise_id for org-wide installs) the current request resolved its token from */
730
- installationId?: string;
731
- /** Workspace the current event occurred in — required as an explicit team_id on workspace-scoped API calls when using an org-wide token */
732
- teamId?: string;
733
- /** context_team_id from the incoming event, echoed back as client_context_team_id on channel-addressed calls (away-hosted shared channels) */
734
- contextTeamId?: string;
735
- /** Channel the context_team_id came from — the echo only applies to calls targeting that channel */
736
- contextChannel?: string;
737
- }>;
738
- /** Bot user ID (e.g., U_BOT_123) used for mention detection */
739
- get botUserId(): string | undefined;
740
- get isSocketMode(): boolean;
741
- /**
742
- * Direct access to a [`WebClient`](https://github.com/slackapi/node-slack-sdk/tree/main/packages/web-api)
743
- * from `@slack/web-api` bound to the bot token for the current request
744
- * context (multi-workspace) or the configured default token
745
- * (single-workspace). Use for any Slack Web API call not covered by the
746
- * SDK's high-level methods — for example
747
- * `adapter.webClient.pins.add(...)` or
748
- * `adapter.webClient.usergroups.list(...)`.
749
- *
750
- * Resolution order:
751
- * 1. Token from the current `requestContext` (set during webhook
752
- * handling, or by `withBotToken()`).
753
- * 2. The default bot token, when configured as a static string or
754
- * synchronous resolver function.
755
- *
756
- * Throws `AuthenticationError` if neither is available — typical causes
757
- * are calling `.webClient` outside any webhook/`withBotToken()` context
758
- * in multi-workspace mode, or having configured `botToken` as an async
759
- * function. In the latter case wrap the work in
760
- * `adapter.withBotToken(token, () => adapter.webClient...)`.
761
- *
762
- * @example
763
- * ```ts
764
- * const slack = bot.getAdapter("slack").webClient;
765
- * await slack.pins.add({
766
- * channel: "C123ABC",
767
- * timestamp: "1234567890.123456",
768
- * });
769
- * ```
770
- */
771
- get webClient(): WebClient;
772
- /**
773
- * @deprecated Use {@link SlackAdapter.webClient | `webClient`} instead.
774
- * This alias is preserved for backwards compatibility and will be
775
- * removed in a future major release.
776
- */
777
- get client(): WebClient;
778
- private getClientForToken;
779
- constructor(config?: SlackAdapterConfig);
780
- /**
781
- * Get the current bot token for API calls.
782
- * Checks request context (multi-workspace) → default token provider
783
- * (single-workspace) → throws.
784
- */
785
- protected getToken(): Promise<string>;
786
- getConcurrencyScope(): string | undefined;
787
- /**
788
- * Add the current token to API call options.
789
- * Workaround for Slack WebClient types not including `token` in per-method args.
790
- *
791
- * For Enterprise Grid org-wide installs the token spans every workspace in
792
- * the org, so workspace-scoped Web API methods (conversations.list,
793
- * users.list, usergroups.*, …) require an explicit `team_id`. Slack
794
- * documents always passing it as safe — the field is ignored on
795
- * workspace-level tokens and on methods that don't take it.
796
- *
797
- * When the incoming event carried a `context_team_id` (shared channels
798
- * hosted on an "away" workspace), it is echoed back as
799
- * `client_context_team_id` on channel-addressed calls, per Slack's
800
- * Enterprise Grid guidance.
801
- */
802
- protected withToken<T extends Record<string, any>>(options: T): Promise<T & {
803
- token: string;
804
- }>;
805
- initialize(chat: ChatInstance): Promise<void>;
806
- protected installationKey(teamId: string): string;
807
- /**
808
- * Save a Slack workspace installation.
809
- * Call this from your OAuth callback route after a successful installation.
810
- */
811
- setInstallation(teamId: string, installation: SlackInstallation): Promise<void>;
812
- /**
813
- * Retrieve a Slack workspace installation.
814
- */
815
- getInstallation(teamId: string): Promise<SlackInstallation | null>;
816
- /**
817
- * Handle the Slack OAuth V2 callback.
818
- * Accepts the incoming request, extracts the authorization code,
819
- * exchanges it for tokens, and saves the installation.
820
- *
821
- * For Enterprise Grid org-wide installs (`is_enterprise_install`), Slack
822
- * returns `team: null` and the installation is keyed by the enterprise ID
823
- * instead — the returned `teamId` is always the storage key, so it can be
824
- * passed back to `getInstallation` / `deleteInstallation` for both install
825
- * types.
826
- */
827
- handleOAuthCallback(request: Request, options?: SlackOAuthCallbackOptions): Promise<{
828
- teamId: string;
829
- enterpriseId?: string;
830
- isEnterpriseInstall: boolean;
831
- installation: SlackInstallation;
832
- }>;
833
- /**
834
- * Remove a Slack workspace installation.
835
- */
836
- deleteInstallation(teamId: string): Promise<void>;
837
- /**
838
- * Run a function with a specific bot token in context.
839
- * Use this for operations outside webhook handling (cron jobs, workflows).
840
- *
841
- * In multi-workspace deployments, pass `installationId` (the `team_id`, or
842
- * `enterprise_id` for org-wide installs — the same key the installation was
843
- * stored under) so per-user caches (profile cache and display-name mention
844
- * index) are scoped to that installation. Without it these fall back to the
845
- * unscoped global key, which can bleed one tenant's cached profiles and
846
- * mention resolution into another when the same process posts for multiple
847
- * workspaces.
848
- *
849
- * Also pass `botUserId` (the installation's `botUserId`) in multi-workspace
850
- * deployments. The adapter has no fixed bot user ID in that mode, so without
851
- * it `adapter.botUserId` is `undefined` inside `fn` and the bot's own
852
- * messages are parsed with `author.isMe: false`. When provided, it takes
853
- * precedence over the adapter's configured or `auth.test` bot user ID. It is
854
- * never inherited from an outer `withBotToken` call.
855
- */
856
- withBotToken<T>(token: string, fn: () => T, options?: {
857
- installationId?: string;
858
- botUserId?: string;
859
- }): T;
860
- /**
861
- * Resolve the bot token for an installation from the external provider or state adapter.
862
- * @param installationId - team_id or enterprise_id depending on install type
863
- * @param isEnterpriseInstall - true if this is an Enterprise Grid org-wide install
864
- */
865
- protected resolveTokenForTeam(installationId: string, isEnterpriseInstall?: boolean): Promise<{
866
- token: string;
867
- botUserId?: string;
868
- } | null>;
869
- /**
870
- * Extract installation info from an interactive payload (form-urlencoded).
871
- * For Enterprise Grid org-wide installs, returns enterprise_id; otherwise team_id.
872
- */
873
- protected extractInstallationFromInteractive(body: string): {
874
- installationId: string;
875
- isEnterpriseInstall: boolean;
876
- enterpriseId?: string;
877
- teamId?: string;
878
- } | null;
879
- /**
880
- * Extract installation info from an already-parsed interactive payload
881
- * (socket mode delivers these as objects rather than form-urlencoded).
882
- */
883
- protected extractInstallationFromInteractivePayload(payload: Record<string, unknown>): {
884
- installationId: string;
885
- isEnterpriseInstall: boolean;
886
- enterpriseId?: string;
887
- teamId?: string;
888
- } | null;
889
- /**
890
- * Extract installation info from an event_callback envelope.
891
- * For Enterprise Grid org-wide installs, returns enterprise_id; otherwise team_id.
892
- */
893
- protected extractInstallationFromEvent(payload: SlackWebhookPayload): {
894
- installationId: string;
895
- isEnterpriseInstall: boolean;
896
- enterpriseId?: string;
897
- teamId?: string;
898
- } | null;
899
- /**
900
- * Resolve the multi-workspace request context for an event_callback
901
- * payload. Shared by the HTTP webhook path and the socket-mode path so
902
- * both resolve per-installation tokens the same way.
903
- *
904
- * Returns:
905
- * - the resolved context to run the event under,
906
- * - `"not-applicable"` when no resolution is needed (single-workspace
907
- * mode, a token lifecycle event, or the payload carries no installation ID) —
908
- * process without a request context,
909
- * - `"unresolved"` when an installation ID was present but no
910
- * installation was found — drop the event.
911
- */
912
- protected resolveEventRequestContext(payload: SlackWebhookPayload): Promise<{
913
- token: string;
914
- botUserId?: string;
915
- enterpriseId?: string;
916
- isEnterpriseInstall: boolean;
917
- installationId: string;
918
- teamId?: string;
919
- contextTeamId?: string;
920
- contextChannel?: string;
921
- } | "not-applicable" | "unresolved">;
922
- /**
923
- * Scope prefix for installation-owned cache keys. In multi-workspace
924
- * deployments user profiles, display-name indexes, and channel names must
925
- * not be shared across installations. Single-workspace mode (and code
926
- * running outside a webhook context) uses the unscoped key.
927
- */
928
- protected installationCacheScope(): string;
929
- protected unfurlCacheKey(channelId: string, messageTs: string): string;
930
- /**
931
- * Look up user info from Slack API with caching via state adapter.
932
- * Returns null when the API call fails.
933
- */
934
- protected lookupUser(userId: string): Promise<CachedUser | null>;
935
- /**
936
- * Look up channel name from Slack API with caching via state adapter.
937
- * Returns channel name, or falls back to channel ID.
938
- */
939
- protected lookupChannel(channelId: string): Promise<string>;
940
- getUser(userId: string): Promise<UserInfo | null>;
941
- handleWebhook(request: Request, options?: WebhookOptions): Promise<Response>;
942
- /**
943
- * Handle a slash command, resolving the per-installation token first in
944
- * multi-workspace mode. Shared by the HTTP webhook and socket-mode paths.
945
- */
946
- protected runSlashCommand(params: URLSearchParams, options?: WebhookOptions): Promise<Response>;
947
- /**
948
- * Record that an event delivery was dispatched, so redeliveries
949
- * (`x-slack-retry-num` / socket `retry_num`) can be dropped. Fire-and-forget:
950
- * a failed write only means a retry gets reprocessed, which downstream
951
- * message dedup already tolerates.
952
- */
953
- protected markEventDelivered(payload: SlackWebhookPayload): void;
954
- /**
955
- * Check whether a retried event delivery was already dispatched. Only
956
- * consulted on retries (retryNum > 0), so first deliveries pay no state
957
- * read. Events missed entirely (never dispatched, e.g. delivered while
958
- * disconnected) have no marker and are still recovered via the retry.
959
- */
960
- protected isDuplicateEventDelivery(payload: SlackWebhookPayload, retryNum?: number): Promise<boolean>;
961
- /** Extract and dispatch events from a validated payload */
962
- protected processEventPayload(payload: SlackWebhookPayload, options?: WebhookOptions): void;
963
- /**
964
- * Handle Slack interactive payloads (button clicks, view submissions, etc.).
965
- * These are sent as form-urlencoded with a `payload` JSON field.
966
- */
967
- protected handleInteractivePayload(body: string, options?: WebhookOptions): Response | Promise<Response>;
968
- /**
969
- * Dispatch a pre-parsed interactive payload to the correct handler.
970
- * Used by both webhook and socket mode paths.
971
- */
972
- protected dispatchInteractivePayload(payload: SlackInteractivePayload, options?: WebhookOptions): Response | Promise<Response>;
973
- /**
974
- * Handle Slack slash command payloads.
975
- * Slash commands are sent as form-urlencoded with command, text, user_id, channel_id, etc.
976
- */
977
- protected handleSlashCommand(params: URLSearchParams, options?: WebhookOptions): Promise<Response>;
978
- /**
979
- * Handle block_actions payload (button clicks in Block Kit).
980
- */
981
- protected handleBlockActions(payload: SlackBlockActionsPayload, options?: WebhookOptions): void;
982
- protected handleBlockSuggestion(payload: SlackBlockSuggestionPayload, options?: WebhookOptions): Promise<Response>;
983
- protected optionsLoadResponse(result: OptionsLoadResult): Response;
984
- protected handleViewSubmission(payload: SlackViewSubmissionPayload, options?: WebhookOptions): Promise<Response>;
985
- protected handleViewClosed(payload: SlackViewClosedPayload, options?: WebhookOptions): void;
986
- protected modalResponseToSlack(response: ModalResponse, contextId?: string): SlackModalResponse;
987
- protected convertModalJSX(modal: ModalElement): ModalElement;
988
- /**
989
- * Transport-shaped WebClient options for Socket Mode. SocketModeClient
990
- * Object.assigns clientOptions over its own app-token headers and mutates
991
- * the object to install retry defaults, so headers and retryConfig are not
992
- * forwarded and every call returns a fresh object.
993
- */
994
- private socketTransportOptions;
995
- /** POSTs a JSON body through the configured fetch. */
996
- private postJson;
997
- /**
998
- * Start Socket Mode connection.
999
- * Creates a SocketModeClient, registers event handlers, and connects.
1000
- */
1001
- protected startSocketMode(): Promise<void>;
1002
- /**
1003
- * Route a socket mode event to the appropriate handler.
1004
- */
1005
- protected routeSocketEvent(body: Record<string, unknown>, eventType: string, ack: (response?: Record<string, unknown>) => Promise<void>, options?: WebhookOptions, retryNum?: number): Promise<void>;
1006
- /**
1007
- * Start a transient Socket Mode listener for serverless environments.
1008
- * The listener maintains a WebSocket for `durationMs`, acks events, and
1009
- * forwards them via HTTP POST to the webhook endpoint (or processes directly).
1010
- *
1011
- * @param options - Webhook options with waitUntil function
1012
- * @param durationMs - How long to keep listening (default: 180000ms = 3 minutes)
1013
- * @param abortSignal - Optional signal to stop the listener early
1014
- * @param webhookUrl - URL to forward socket events to (required for forwarding mode)
1015
- */
1016
- startSocketModeListener(options: WebhookOptions, durationMs?: number, abortSignal?: AbortSignal, webhookUrl?: string): Promise<Response>;
1017
- /**
1018
- * Run the socket mode listener for a specified duration.
1019
- */
1020
- protected runSocketModeListener(durationMs: number, abortSignal?: AbortSignal, webhookUrl?: string, options?: WebhookOptions): Promise<void>;
1021
- /**
1022
- * Forward a socket mode event to the webhook endpoint.
1023
- */
1024
- protected forwardSocketEvent(webhookUrl: string, event: SlackForwardedSocketEvent): Promise<void>;
1025
- /**
1026
- * Disconnect the socket mode client.
1027
- * No-op if not connected.
1028
- */
1029
- disconnect(): Promise<void>;
1030
- /**
1031
- * Handle message events from Slack.
1032
- * Bot message filtering (isMe) is handled centrally by the Chat class.
1033
- */
1034
- protected handleMessageEvent(event: SlackEvent, options?: WebhookOptions): void;
1035
- protected handleMessageChanged(event: SlackEvent, options?: WebhookOptions): void;
1036
- protected handleMessageDeleted(event: SlackEvent, options?: WebhookOptions): void;
1037
- /**
1038
- * Handle reaction events from Slack (reaction_added, reaction_removed).
1039
- */
1040
- protected handleReactionEvent(event: SlackReactionEvent, options?: WebhookOptions): Promise<void>;
1041
- /**
1042
- * Handle assistant_thread_started events from Slack's Assistants API.
1043
- * Fires when a user opens a new assistant thread (DM with the bot).
1044
- */
1045
- protected handleAssistantThreadStarted(event: SlackAssistantThreadStartedEvent, options?: WebhookOptions): void;
1046
- /**
1047
- * Handle assistant_thread_context_changed events from Slack's Assistants API.
1048
- * Fires when a user navigates to a different channel with the assistant panel open.
1049
- */
1050
- protected handleAssistantContextChanged(event: SlackAssistantContextChangedEvent, options?: WebhookOptions): void;
1051
- protected handleAgentSessionStopped(event: SlackAgentSessionStoppedEvent, options?: WebhookOptions): void;
1052
- protected handleAgentSessionTitleChanged(event: SlackAgentSessionTitleChangedEvent, options?: WebhookOptions): void;
1053
- /**
1054
- * Handle app_home_opened events from Slack.
1055
- * Fires when a user opens the bot's Home tab.
1056
- */
1057
- protected handleAppHomeOpened(event: SlackAppHomeOpenedEvent, options?: WebhookOptions, teamId?: string): void;
1058
- /**
1059
- * Handle app_context_changed events (Slack Agent messaging experience).
1060
- * Reports the user's current active view via normalized entities.
1061
- */
1062
- protected handleAppContextChanged(event: SlackAppContextChangedEvent, options?: WebhookOptions): void;
1063
- /**
1064
- * Handle member_joined_channel events from Slack.
1065
- * Fires when a user (including the bot) joins a channel.
1066
- */
1067
- protected handleMemberJoinedChannel(event: SlackMemberJoinedChannelEvent, options?: WebhookOptions): void;
1068
- /**
1069
- * Handle app_uninstalled events from Slack.
1070
- * Fires once the app is completely uninstalled from a workspace, or from an
1071
- * org for org-wide installs. tokens_revoked is not an uninstall: Slack also
1072
- * sends it when a user token or the bot token is revoked while the app
1073
- * stays installed.
1074
- */
1075
- protected handleAppUninstalled(payload: SlackWebhookPayload, options?: WebhookOptions): void;
1076
- protected handleUserChange(event: SlackUserChangeEvent): Promise<void>;
1077
- /**
1078
- * Publish a Home tab view for a user.
1079
- * Slack API: views.publish
1080
- */
1081
- publishHomeView(userId: string, view: Record<string, unknown>): Promise<void>;
1082
- /**
1083
- * Set suggested prompts for an assistant/agent thread.
1084
- * Slack Assistants API: assistant.threads.setSuggestedPrompts.
1085
- * `threadTs` is optional under the Agent messaging experience (agent_view),
1086
- * where prompts can sit at the top of the agent conversation without a thread.
1087
- */
1088
- setSuggestedPrompts(channelId: string, threadTs: string | undefined, prompts: Array<{
1089
- title: string;
1090
- message: string;
1091
- }>, title?: string): Promise<void>;
1092
- /**
1093
- * Resolve and apply the configured `suggestedPrompts` for a newly opened
1094
- * assistant/agent thread. Errors are logged, never thrown — this runs on
1095
- * the webhook path where a failure must not turn into a 500.
1096
- */
1097
- protected applyConfiguredSuggestedPrompts(context: SlackSuggestedPromptsContext): Promise<void>;
1098
- protected applyConfiguredSessionTitle(event: SlackEvent): Promise<void>;
1099
- /**
1100
- * Set status/thinking indicator for an assistant thread.
1101
- * Uses Agent Sessions when `agentView` is enabled and the legacy Assistants
1102
- * API otherwise.
1103
- *
1104
- * A custom status is surfaced through the legacy Assistants API: its
1105
- * compatibility bridge renders the text in the agent-session loading UX.
1106
- * An empty status clears the loading state via the Agent Sessions
1107
- * lifecycle.
1108
- *
1109
- * When `loadingMessages` is omitted, falls back to the adapter-level
1110
- * `loadingMessages` config.
1111
- */
1112
- setAssistantStatus(channelId: string, threadTs: string, status: string, loadingMessages?: string[]): Promise<void>;
1113
- /**
1114
- * Set a Slack Agent Session lifecycle state, creating the session if needed.
1115
- */
1116
- setSessionStatus(channelId: string, threadTs: string, status: AgentSessionStatus, options?: {
1117
- initiatorUserId?: string;
1118
- title?: string;
1119
- }): Promise<void>;
1120
- protected renameAgentSession(channelId: string, threadTs: string, title: string): Promise<void>;
1121
- /**
1122
- * Set title for an assistant thread or agent session.
1123
- */
1124
- setAssistantTitle(channelId: string, threadTs: string, title: string): Promise<void>;
1125
- /**
1126
- * Resolve inline user mentions in Slack mrkdwn text.
1127
- * Converts <@U123> to <@U123|displayName> so that toAst/extractPlainText
1128
- * renders them as @displayName instead of @U123. The bot's own mention is
1129
- * decoded too: `detectSelfMention` classifies it from the event's blocks
1130
- * (or, without blocks, this text) before the id markup is replaced.
1131
- */
1132
- protected resolveInlineMentions(text: string): Promise<string>;
1133
- /**
1134
- * Look up display names for collected mention IDs in one parallel wave.
1135
- */
1136
- private lookupMentionNames;
1137
- /**
1138
- * Extract link URLs from a Slack event.
1139
- * Uses the `blocks` field (rich_text blocks with link elements) when available,
1140
- * falling back to parsing `<url>` patterns from the body's mrkdwn: layout
1141
- * block text when it forms the body, otherwise the text field.
1142
- */
1143
- protected extractLinks(event: SlackEvent): LinkPreview[];
1144
- /**
1145
- * Create a LinkPreview for a URL. If the URL points to a Slack message,
1146
- * includes a `fetchMessage` callback that fetches and parses the linked message.
1147
- */
1148
- protected createLinkPreview(url: string): LinkPreview;
1149
- /**
1150
- * Whether the message invokes the bot.
1151
- *
1152
- * Slack fires `app_mention` for a bot id that only appears inside code, so the
1153
- * invocation is classified from the message content: a `user` element for the
1154
- * bot outside code, or a `<@U…>` token outside code in mrkdwn content, is a
1155
- * mention. Inline (`style.code`) and preformatted content renders literally,
1156
- * so a bot id there is not.
1157
- *
1158
- * With a `rich_text` block present, the blocks are the rendered copy of
1159
- * `text`, and a bot token in `text` they do not render refers to the bot
1160
- * literally. Other blocks are separate from `text`: a bot reference in them
1161
- * decides, and otherwise `text` is classified as mrkdwn. An attachment is
1162
- * classified from its blocks when it has any, otherwise from its legacy
1163
- * fields.
1164
- *
1165
- * Returns `true` for an invocation and `false` when the content refers to
1166
- * the bot only literally, or not at all on an ordinary message. An
1167
- * `app_mention` with no reference to the known bot id is trusted only when
1168
- * the rendered content shows a mention of some user outside code: Slack saw
1169
- * a mention under an id the adapter does not know, such as the `W…` form an
1170
- * Enterprise Grid workspace emits for a `U…` bot. A reference to the bot
1171
- * beside another user's mention is indistinguishable from that case. Without
1172
- * a bot id, `app_mention` follows the same rule and other messages stay
1173
- * undetermined for the SDK's text-based fallback.
1174
- */
1175
- protected detectSelfMention(event: SlackEvent, rawText: string, attachments: SlackAttachmentContent[]): boolean | undefined;
1176
- protected parseSlackMessage(event: SlackEvent, threadId: string): Promise<Message<unknown>>;
1177
- protected parseSlackTimestamp(ts: string | undefined): Date | undefined;
1178
- protected enrichLinks(links: LinkPreview[], channelId?: string, messageTs?: string): Promise<LinkPreview[]>;
1179
- /**
1180
- * Create an Attachment object from a Slack file.
1181
- * Includes a fetchData method that uses the bot token for auth.
1182
- */
1183
- protected createAttachment(file: {
1184
- id?: string;
1185
- mimetype?: string;
1186
- url_private?: string;
1187
- name?: string;
1188
- size?: number;
1189
- original_w?: number;
1190
- original_h?: number;
1191
- }, teamId?: string): Attachment;
1192
- protected fetchSlackFile(url: string, token: SlackBotToken): Promise<Buffer>;
1193
- /**
1194
- * Transport used for guarded file downloads. Subclasses can return a
1195
- * custom AttachmentTransport, overriding the configured fileTransport.
1196
- */
1197
- protected createFileTransport(): AttachmentTransport | undefined;
1198
- rehydrateAttachment(attachment: Attachment): Attachment;
1199
- /**
1200
- * Resolve @name mentions in text to Slack <@USER_ID> format using the
1201
- * reverse user cache. When multiple users share a display name, prefers
1202
- * the one who is a participant in the given thread.
1203
- */
1204
- protected resolveOutgoingMentions(text: string, threadId: string): Promise<string>;
1205
- /**
1206
- * Pre-process an outgoing message to resolve @name mentions before rendering.
1207
- */
1208
- protected resolveMessageMentions(message: AdapterPostableMessage, threadId: string): Promise<AdapterPostableMessage>;
1209
- postMessage(threadId: string, _message: AdapterPostableMessage): Promise<RawMessage<unknown>>;
1210
- postEphemeral(threadId: string, userId: string, _message: AdapterPostableMessage): Promise<EphemeralMessage>;
1211
- scheduleMessage(threadId: string, _message: AdapterPostableMessage, options: {
1212
- postAt: Date;
1213
- }): Promise<ScheduledMessage>;
1214
- openModal(triggerId: string, modal: ModalElement, contextId?: string): Promise<{
1215
- viewId: string;
1216
- }>;
1217
- updateModal(viewId: string, modal: ModalElement): Promise<{
1218
- viewId: string;
1219
- }>;
1220
- /**
1221
- * Upload files to Slack and share them to a channel.
1222
- * Returns the file IDs of uploaded files.
1223
- */
1224
- protected uploadFiles(files: FileUpload[], channel: string, threadTs?: string): Promise<string[]>;
1225
- editMessage(threadId: string, messageId: string, _message: AdapterPostableMessage): Promise<RawMessage<unknown>>;
1226
- postObject(threadId: string, kind: string, data: unknown): Promise<RawMessage<unknown>>;
1227
- editObject(threadId: string, messageId: string, kind: string, data: unknown): Promise<RawMessage<unknown>>;
1228
- protected renderPlanFallbackText(plan: PlanModel): string;
1229
- protected planToBlockKit(plan: PlanModel): unknown[];
1230
- protected planContentToPlainText(content: PlanContent | undefined): string;
1231
- protected planContentToRichText(content: PlanContent | undefined): {
1232
- type: "rich_text";
1233
- elements: unknown[];
1234
- } | undefined;
1235
- deleteMessage(threadId: string, messageId: string): Promise<void>;
1236
- addReaction(threadId: string, messageId: string, emoji: EmojiValue | string): Promise<void>;
1237
- removeReaction(threadId: string, messageId: string, emoji: EmojiValue | string): Promise<void>;
1238
- /**
1239
- * Show typing indicator with optional custom status.
1240
- *
1241
- * When status is provided, uses Slack's assistant.threads.setStatus API
1242
- * to show custom loading text (requires Agents & AI Apps feature and assistant:write scope).
1243
- * The status auto-clears when a message is posted to the thread.
1244
- *
1245
- * When status is not provided, defaults to "Typing..." with default loading messages.
1246
- *
1247
- * @param threadId - The thread to show the indicator in
1248
- * @param status - Optional custom status message (e.g., "Searching documents...")
1249
- */
1250
- startTyping(threadId: string, status?: string, options?: TypingOptions): Promise<void>;
1251
- endTyping(threadId: string, status?: AgentSessionStatus): Promise<void>;
1252
- /**
1253
- * Stream a message using Slack's native streaming API.
1254
- *
1255
- * Consumes an async iterable of text chunks and/or structured StreamChunk
1256
- * objects (task_update, plan_update, markdown_text) and streams them to Slack.
1257
- *
1258
- * Plain strings are rendered through StreamingMarkdownRenderer for safe
1259
- * incremental markdown. StreamChunk objects are passed directly to Slack's
1260
- * streaming API as chunk payloads, enabling native task progress cards
1261
- * and plan displays in the Slack AI Assistant UI.
1262
- *
1263
- * Slack expires a native stream after roughly five minutes, so a reply
1264
- * that streams longer than `streamSegmentMaxAgeMs` is finalized and
1265
- * continued in a new message. The returned `id` is the last message of
1266
- * the reply, and `messageIds` lists every message of the reply in order.
1267
- *
1268
- * Falls back to post-and-edit when the thread lacks native stream context.
1269
- */
1270
- stream(threadId: string, textStream: AsyncIterable<string | StreamChunk>, options?: StreamOptions): Promise<SlackStreamResult | null>;
1271
- /**
1272
- * Open a direct message conversation with a user.
1273
- * Returns a thread ID that can be used to post messages.
1274
- */
1275
- openDM(userId: string): Promise<string>;
1276
- fetchMessages(threadId: string, options?: FetchOptions): Promise<FetchResult<unknown>>;
1277
- /**
1278
- * Fetch messages in forward direction (oldest first, efficient).
1279
- * Uses native Slack cursor pagination.
1280
- */
1281
- protected fetchMessagesForward(channel: string, threadTs: string, threadId: string, limit: number, cursor?: string): Promise<FetchResult<unknown>>;
1282
- /**
1283
- * Fetch messages in backward direction (most recent first).
1284
- *
1285
- * Slack's API returns oldest-first, so for backward direction we:
1286
- * 1. Use `latest` parameter to fetch messages before a timestamp (cursor)
1287
- * 2. Follow Slack's native cursors to the end, retaining the last N plus one
1288
- * 3. Return messages in chronological order (oldest first within the page)
1289
- */
1290
- protected fetchMessagesBackward(channel: string, threadTs: string, threadId: string, limit: number, cursor?: string): Promise<FetchResult<unknown>>;
1291
- fetchThread(threadId: string): Promise<ThreadInfo>;
1292
- /**
1293
- * Fetch a single message by ID (timestamp).
1294
- */
1295
- fetchMessage(threadId: string, messageId: string): Promise<Message<unknown> | null>;
1296
- encodeThreadId(platformData: SlackThreadId): string;
1297
- /**
1298
- * Thread ID for a message-shaped event. Single source of truth for how
1299
- * message, edit, and delete events map onto a thread: they must agree, or
1300
- * an edit dispatches to a different thread than the message it edits.
1301
- *
1302
- * For DMs under assistant_view (legacy): top-level messages use empty
1303
- * threadTs (matches openDM subscriptions); thread replies use thread_ts for
1304
- * per-conversation isolation.
1305
- * Under agent_view the Messages-tab conversation is threaded per Slack's
1306
- * model, each user message being a thread root, so reply in-thread using
1307
- * `thread_ts ?? ts`.
1308
- * For channels: always use thread_ts or ts for per-thread IDs.
1309
- */
1310
- protected threadIdForMessageEvent(event: {
1311
- channel?: string;
1312
- channel_type?: string;
1313
- thread_ts?: string;
1314
- ts?: string;
1315
- }): string;
1316
- /**
1317
- * Check if a thread is a direct message conversation.
1318
- * Slack DM channel IDs start with 'D'.
1319
- */
1320
- isDM(threadId: string): boolean;
1321
- /**
1322
- * Get the visibility scope of a channel containing the thread.
1323
- *
1324
- * - `external`: Slack Connect channel shared with external organizations
1325
- * - `private`: Private channel (starts with G) or DM (starts with D)
1326
- * - `workspace`: Public channel visible to all workspace members
1327
- * - `unknown`: Visibility cannot be determined (not yet cached)
1328
- */
1329
- getChannelVisibility(threadId: string): ChannelVisibility;
1330
- decodeThreadId(threadId: string): SlackThreadId;
1331
- parseMessage(raw: SlackEvent): Message<unknown>;
1332
- /**
1333
- * Synchronous message parsing without user lookup.
1334
- * Used for parseMessage interface - falls back to user ID for username.
1335
- */
1336
- protected parseSlackMessageSync(event: SlackEvent, threadId: string): Message<unknown>;
1337
- protected content(event: SlackEvent, text: string, attachments?: SlackAttachmentContent[]): FormattedContent;
1338
- /**
1339
- * Like `content`, but resolves user and channel mentions in `rawText` with
1340
- * `resolveInlineMentions`, and inside table cells, layout block text, and
1341
- * attachment content the same way. Mention IDs outside `rawText` are
1342
- * collected up front and looked up in a single parallel wave so no ID is
1343
- * fetched twice. Like `content`, a composer list replaces `rawText` with the
1344
- * body rendered from its `rich_text` blocks.
1345
- */
1346
- protected resolvedContent(event: SlackEvent, rawText: string, attachments?: SlackAttachmentContent[]): Promise<FormattedContent>;
1347
- /**
1348
- * Render a message body and its attachments. All of the message's mrkdwn
1349
- * shares one parse budget (see `incomingPartsParser`).
1350
- */
1351
- private assembleContent;
1352
- /** Render `text` as the message body, between its leading and trailing tables. */
1353
- private textNodes;
1354
- /**
1355
- * Render a layout block body. Each text object becomes its own block, the
1356
- * way Slack lays out headers, fields, and context elements separately.
1357
- */
1358
- private bodyNodes;
1359
- /**
1360
- * Render one attachment's content to block nodes. Literal lines share a
1361
- * paragraph (separated by hard breaks) so an attachment reads as one block;
1362
- * mrkdwn parts are parsed in isolation so an unclosed code fence in the
1363
- * message body or another attachment can't swallow this one's content.
1364
- * Tables from the attachment's blocks follow its text, keeping each
1365
- * attachment's content adjacent.
1366
- */
1367
- private attachmentNodes;
1368
- private tableNode;
1369
- /**
1370
- * Convert a cell's mrkdwn text to table cell (phrasing) content via the
1371
- * same format converter used for body text, so mentions, links, and emoji
1372
- * render consistently.
1373
- */
1374
- private cellChildren;
1375
- /**
1376
- * Derive channel ID from a Slack thread ID.
1377
- * Slack thread IDs are "slack:CHANNEL:THREAD_TS", channel ID is "slack:CHANNEL".
1378
- */
1379
- channelIdFromThreadId(threadId: string): string;
1380
- /**
1381
- * Fetch channel-level messages (conversations.history, not thread replies).
1382
- */
1383
- fetchChannelMessages(channelId: string, options?: FetchOptions): Promise<FetchResult<unknown>>;
1384
- protected fetchChannelMessagesForward(channel: string, limit: number, cursor?: string): Promise<FetchResult<unknown>>;
1385
- protected fetchChannelMessagesBackward(channel: string, limit: number, cursor?: string): Promise<FetchResult<unknown>>;
1386
- /**
1387
- * List threads in a Slack channel.
1388
- * Fetches channel history and filters for messages with replies.
1389
- */
1390
- listThreads(channelId: string, options?: ListThreadsOptions): Promise<ListThreadsResult<unknown>>;
1391
- /**
1392
- * Fetch Slack channel info/metadata.
1393
- */
1394
- fetchChannelInfo(channelId: string): Promise<ChannelInfo>;
1395
- /**
1396
- * Post a top-level message to a channel (not in a thread).
1397
- */
1398
- postChannelMessage(channelId: string, message: AdapterPostableMessage): Promise<RawMessage<unknown>>;
1399
- renderFormatted(content: FormattedContent): string;
1400
- /**
1401
- * Check if a Slack event is from this bot.
1402
- *
1403
- * Slack messages can come from:
1404
- * - User messages: have `user` field (U_xxx format)
1405
- * - Bot messages: have `bot_id` and may include a bot user ID
1406
- *
1407
- * We check both because:
1408
- * - _botUserId is the user ID (U_xxx) - matches event.user or bot_profile.user_id
1409
- * - _botId is the bot ID (B_xxx) - matches event.bot_id
1410
- */
1411
- protected isMessageFromSelf(event: SlackEvent): boolean;
1412
- protected handleSlackError(error: unknown): never;
1413
- /**
1414
- * Encode response_url and userId into messageId for ephemeral messages.
1415
- * This allows edit/delete operations to work via response_url.
1416
- */
1417
- protected encodeEphemeralMessageId(messageTs: string, responseUrl: string, userId: string): string;
1418
- /**
1419
- * Decode ephemeral messageId to extract messageTs, responseUrl, and userId.
1420
- * Returns null if the messageId is not an ephemeral encoding.
1421
- */
1422
- protected decodeEphemeralMessageId(messageId: string): {
1423
- messageTs: string;
1424
- responseUrl: string;
1425
- userId: string;
1426
- } | null;
1427
- /**
1428
- * Send a request to Slack's response_url to modify an ephemeral message.
1429
- */
1430
- protected sendToResponseUrl(responseUrl: string, action: "replace" | "delete", options?: {
1431
- message?: AdapterPostableMessage;
1432
- threadTs?: string;
1433
- }): Promise<Record<string, unknown>>;
1434
- }
1435
- declare function createSlackAdapter(config?: SlackAdapterConfig): SlackAdapter;
1436
-
1437
- export { SlackAdapter, type SlackAdapterConfig, type SlackAdapterMode, type SlackAppContext, type SlackAppContextChangedEvent, type SlackAppContextEntity, SlackBlock, type SlackBotToken, SlackEvent, type SlackFeedbackButtonsOptions, SlackFormatConverter, type SlackInstallation, SlackFormatConverter as SlackMarkdownConverter, type SlackOAuthCallbackOptions, type SlackReactionEvent, type SlackSessionTitle, type SlackSessionTitleContext, type SlackStreamResult, type SlackSuggestedPrompt, type SlackSuggestedPrompts, type SlackSuggestedPromptsContext, type SlackSuggestedPromptsOptions, type SlackThreadId, buildFeedbackButtonsBlock, cardToBlockKit, cardToFallbackText, createSlackAdapter, getAppContext, normalizeAppContextEntities };