eve 0.64.1 → 0.66.0

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 (763) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +1 -2
  3. package/dist/src/_virtual/_rolldown/runtime.js +1 -1
  4. package/dist/src/channel/resolve-text.d.ts +11 -7
  5. package/dist/src/channel/resolve-text.js +1 -1
  6. package/dist/src/channel/types.d.ts +4 -5
  7. package/dist/src/chunks/{use-eve-agent-BdKlQF32.js → use-eve-agent-BUeSjwIk.js} +244 -11
  8. package/dist/src/chunks/{use-eve-agent-IIuxkn6y.js → use-eve-agent-ydPlURM4.js} +244 -11
  9. package/dist/src/cli/dev/command-options.d.ts +1 -0
  10. package/dist/src/cli/dev/command.js +2 -2
  11. package/dist/src/cli/dev/local-server-process.js +1 -1
  12. package/dist/src/cli/dev/tui/argument-typeahead.d.ts +36 -0
  13. package/dist/src/cli/dev/tui/argument-typeahead.js +2 -0
  14. package/dist/src/cli/dev/tui/blocks.d.ts +1 -1
  15. package/dist/src/cli/dev/tui/blocks.js +2 -2
  16. package/dist/src/cli/dev/tui/prompt-command-handler.js +1 -1
  17. package/dist/src/cli/dev/tui/question-panel.d.ts +3 -2
  18. package/dist/src/cli/dev/tui/rail.d.ts +1 -1
  19. package/dist/src/cli/dev/tui/runner.d.ts +3 -0
  20. package/dist/src/cli/dev/tui/runner.js +1 -1
  21. package/dist/src/cli/dev/tui/setup-commands.d.ts +2 -8
  22. package/dist/src/cli/dev/tui/setup-commands.js +1 -2
  23. package/dist/src/cli/dev/tui/setup-flow.d.ts +0 -3
  24. package/dist/src/cli/dev/tui/terminal-renderer.d.ts +3 -0
  25. package/dist/src/cli/dev/tui/terminal-renderer.js +10 -12
  26. package/dist/src/cli/dev/tui/test/fake-setup-flow-renderer.js +1 -1
  27. package/dist/src/cli/dev/tui/theme.d.ts +1 -1
  28. package/dist/src/cli/dev/tui/tool-presentation.d.ts +4 -4
  29. package/dist/src/cli/dev/tui/tool-presentation.js +1 -1
  30. package/dist/src/cli/dev/tui/tui.js +1 -1
  31. package/dist/src/cli/dev/tui/vercel-trusted-sources-policy.d.ts +1 -1
  32. package/dist/src/cli/dev/tui/vercel-trusted-sources.js +1 -1
  33. package/dist/src/cli/invoke/result.d.ts +1 -1
  34. package/dist/src/cli/invoke/result.js +1 -1
  35. package/dist/src/cli/telemetry/preference.js +1 -1
  36. package/dist/src/client/agent-info-schema.d.ts +0 -2
  37. package/dist/src/client/agent-info-schema.js +1 -1
  38. package/dist/src/client/index.d.ts +1 -3
  39. package/dist/src/client/index.js +1 -1
  40. package/dist/src/compiled/.vendor-stamp.json +4 -3
  41. package/dist/src/compiled/@agentclientprotocol/sdk/index.js +2 -51
  42. package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -2
  43. package/dist/src/compiled/@ai-sdk/google/index.js +7 -7
  44. package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
  45. package/dist/src/compiled/@ai-sdk/openai/index.js +4 -4
  46. package/dist/src/compiled/@ai-sdk/otel/index.js +1 -1
  47. package/dist/src/compiled/@cfworker/json-schema/index.d.ts +18 -0
  48. package/dist/src/compiled/@cfworker/json-schema/index.js +2 -0
  49. package/dist/src/compiled/@modelcontextprotocol/server/index.js +9 -58
  50. package/dist/src/compiled/@opentelemetry/api/index.js +1 -1
  51. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.js +1 -1
  52. package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +55 -55
  53. package/dist/src/compiled/@vercel/blob/index.js +14 -36
  54. package/dist/src/compiled/@vercel/oidc/index.js +6 -28
  55. package/dist/src/compiled/@vercel/otel/index.js +1 -1
  56. package/dist/src/compiled/@vercel/sandbox/index.js +13 -13
  57. package/dist/src/compiled/{@workflow/builders/LICENSE.md → @vercel/sdk/LICENSE} +2 -2
  58. package/dist/src/compiled/@vercel/sdk/index.d.ts +41 -0
  59. package/dist/src/compiled/@vercel/sdk/index.js +1 -0
  60. package/dist/src/compiled/@workflow/core/index.js +1 -1
  61. package/dist/src/compiled/@workflow/core/private.js +1 -1
  62. package/dist/src/compiled/@workflow/core/runtime/helpers.js +1 -1
  63. package/dist/src/compiled/@workflow/core/runtime.js +2 -2
  64. package/dist/src/compiled/@workflow/core/serialization.js +1 -1
  65. package/dist/src/compiled/@workflow/core/workflow.js +1 -1
  66. package/dist/src/compiled/@workflow/errors/index.js +1 -1
  67. package/dist/src/compiled/@workflow/world-local/index.js +5 -5
  68. package/dist/src/compiled/@workflow/world-vercel/index.js +16 -16
  69. package/dist/src/compiled/_chunks/client/core-CspsxXR-.js +52 -0
  70. package/dist/src/compiled/_chunks/client/rolldown-runtime-DK3Fl9T5.js +1 -0
  71. package/dist/src/compiled/_chunks/node/auth-Dztlx9pE.js +2 -0
  72. package/dist/src/compiled/_chunks/workflow/{attribute-changes-DFx4eluc.js → attribute-changes-89Nwz7XW.js} +1 -1
  73. package/dist/src/compiled/_chunks/workflow/{chunk-5MU5Z6L3-CrYztnvh.js → chunk-5MU5Z6L3-z9-dfnHp.js} +1 -1
  74. package/dist/src/compiled/_chunks/workflow/{chunk-NWCAEW5Y-ClfmNvkQ.js → chunk-NWCAEW5Y-8afLJrun.js} +1 -1
  75. package/dist/src/compiled/_chunks/workflow/{dist-C3919PVU.js → dist-C3ZE62yI.js} +3 -3
  76. package/dist/src/compiled/_chunks/workflow/dist-CNT2vjZ4.js +1 -0
  77. package/dist/src/compiled/_chunks/workflow/{dist-xTushGCp.js → dist-DtXwQbZr.js} +1 -1
  78. package/dist/src/compiled/_chunks/workflow/{esm-DyLz8Egm.js → esm-DtrPCf49.js} +1 -1
  79. package/dist/src/compiled/_chunks/workflow/{experimental-evaluation-D8_K_Pe9.js → experimental-evaluation-Dm32egEG.js} +2 -2
  80. package/dist/src/compiled/_chunks/workflow/frames-DnrfSd1P.js +3 -0
  81. package/dist/src/compiled/_chunks/workflow/{functions-C06vHfWP.js → functions-DpZiBxgQ.js} +1 -1
  82. package/dist/src/compiled/_chunks/workflow/{getMachineId-bsd-WEBNKY2R-DcIEvZzd.js → getMachineId-bsd-WEBNKY2R-D5OkV-EY.js} +1 -1
  83. package/dist/src/compiled/_chunks/workflow/{getMachineId-darwin-LT47KAXP-C4nRhfn9.js → getMachineId-darwin-LT47KAXP-BqwKrkSO.js} +1 -1
  84. package/dist/src/compiled/_chunks/workflow/{getMachineId-linux-LTVQO6VW-BqQf2T4W.js → getMachineId-linux-LTVQO6VW-CJlbJ4KP.js} +1 -1
  85. package/dist/src/compiled/_chunks/workflow/{getMachineId-unsupported-UKWBA27G-oYffWhib.js → getMachineId-unsupported-UKWBA27G-C4Y3-LZG.js} +1 -1
  86. package/dist/src/compiled/_chunks/workflow/{getMachineId-win-NLJKOPY6-CpL96LtN.js → getMachineId-win-NLJKOPY6-CsPs71SE.js} +1 -1
  87. package/dist/src/compiled/_chunks/workflow/{global-DFW-hO6M.js → global-DIlFoH2w.js} +1 -1
  88. package/dist/src/compiled/_chunks/workflow/{helpers-Bw52uyzw.js → helpers-k3zcudWr.js} +1 -1
  89. package/dist/src/compiled/_chunks/workflow/{logger-DFNCa8Nl.js → logger-Bzc8jWWj.js} +1 -1
  90. package/dist/src/compiled/_chunks/workflow/resume-hook-BmJ263ZR.js +1 -0
  91. package/dist/src/compiled/_chunks/workflow/{rolldown-runtime-DPpTSio4.js → rolldown-runtime-B_knIduE.js} +1 -1
  92. package/dist/src/compiled/_chunks/workflow/{run-BT6SQv5f.js → run-NLvREued.js} +1 -1
  93. package/dist/src/compiled/_chunks/workflow/{serialization-Cl0SYU0I.js → serialization-HCDeQWcR.js} +2 -2
  94. package/dist/src/compiled/_chunks/workflow/{signal-exit-B9U6kH7R.js → signal-exit-DZKTacNU.js} +1 -1
  95. package/dist/src/compiled/_chunks/workflow/sleep-Bi508qmg.js +1 -0
  96. package/dist/src/compiled/_chunks/workflow/{token-CrFhCmWs.js → token-1wSBbi5N.js} +1 -1
  97. package/dist/src/compiled/_chunks/workflow/{token-U5XEWlVM.js → token-BhlnqoHM.js} +1 -1
  98. package/dist/src/compiled/_chunks/workflow/{token-util-BkqzD0OM.js → token-util-Cm4Ec1Bg.js} +1 -1
  99. package/dist/src/compiled/_chunks/workflow/token-util-DaeRTzDa.js +5 -0
  100. package/dist/src/compiled/_chunks/workflow/{wait-until-Dzhr6tzf.js → wait-until-DXLZx3tU.js} +1 -1
  101. package/dist/src/compiled/_chunks/workflow/{wrapper-CKui_eTd.js → wrapper-CzrF_dmI.js} +3 -3
  102. package/dist/src/compiled/_chunks/workflow/ws-transport-BSM_Cl7a.js +1 -0
  103. package/dist/src/compiled/jose/index.js +1 -1
  104. package/dist/src/compiled/zod/index.js +1 -51
  105. package/dist/src/compiled/zod/v3.js +1 -0
  106. package/dist/src/compiled/zod/v4/core.js +1 -0
  107. package/dist/src/compiled/zod-validation-error/index.js +1 -1
  108. package/dist/src/compiler/artifacts.d.ts +2 -0
  109. package/dist/src/compiler/artifacts.js +1 -1
  110. package/dist/src/compiler/bundled-extension.d.ts +17 -0
  111. package/dist/src/compiler/bundled-extension.js +1 -0
  112. package/dist/src/compiler/compile-agent.d.ts +4 -0
  113. package/dist/src/compiler/compile-agent.js +1 -1
  114. package/dist/src/compiler/compile-from-memory.js +1 -1
  115. package/dist/src/compiler/development-extensions.d.ts +23 -0
  116. package/dist/src/compiler/development-extensions.js +1 -0
  117. package/dist/src/compiler/extension-compatibility.d.ts +20 -14
  118. package/dist/src/compiler/extension-compatibility.js +1 -1
  119. package/dist/src/compiler/load-binding-namespace.js +1 -1
  120. package/dist/src/compiler/manifest.js +1 -1
  121. package/dist/src/compiler/normalize-manifest-helpers.js +1 -1
  122. package/dist/src/compiler/normalize-manifest-types.d.ts +23 -0
  123. package/dist/src/compiler/normalize-manifest.d.ts +2 -7
  124. package/dist/src/compiler/normalize-manifest.js +1 -1
  125. package/dist/src/compiler/source-graph-paths.d.ts +2 -0
  126. package/dist/src/compiler/source-graph-paths.js +1 -0
  127. package/dist/src/compiler/source-graph.d.ts +4 -1
  128. package/dist/src/compiler/source-graph.js +1 -1
  129. package/dist/src/context/build-base-tool-context.js +1 -1
  130. package/dist/src/context/build-callback-context.js +1 -1
  131. package/dist/src/context/dynamic-skill-lifecycle.d.ts +3 -3
  132. package/dist/src/context/dynamic-skill-lifecycle.js +1 -1
  133. package/dist/src/context/keys.d.ts +18 -4
  134. package/dist/src/context/keys.js +1 -1
  135. package/dist/src/context/session-context.d.ts +5 -4
  136. package/dist/src/discover/bundled-extension.d.ts +11 -0
  137. package/dist/src/discover/bundled-extension.js +1 -0
  138. package/dist/src/discover/discover-agent.js +1 -1
  139. package/dist/src/discover/manifest.d.ts +5 -0
  140. package/dist/src/evals/assertions/collector.js +1 -1
  141. package/dist/src/evals/cli/eval.js +2 -2
  142. package/dist/src/evals/runner/artifacts.js +1 -1
  143. package/dist/src/evals/types.d.ts +2 -0
  144. package/dist/src/execution/coordination-dispatch-step.js +1 -1
  145. package/dist/src/execution/dynamic-workflow/tool.js +1 -1
  146. package/dist/src/execution/node-step.d.ts +2 -4
  147. package/dist/src/execution/node-step.js +1 -1
  148. package/dist/src/execution/proxied-deliver-step.js +1 -1
  149. package/dist/src/execution/route-child-delivery.js +1 -1
  150. package/dist/src/execution/sandbox/bindings/docker-templates.d.ts +6 -0
  151. package/dist/src/execution/sandbox/bindings/docker-templates.js +1 -1
  152. package/dist/src/execution/sandbox/bindings/docker.d.ts +6 -2
  153. package/dist/src/execution/sandbox/bindings/docker.js +1 -1
  154. package/dist/src/execution/sandbox/bindings/just-bash-runtime.d.ts +2 -2
  155. package/dist/src/execution/sandbox/bindings/just-bash.d.ts +2 -2
  156. package/dist/src/execution/sandbox/bindings/local-provider-utils.js +1 -1
  157. package/dist/src/execution/sandbox/bindings/microsandbox-lifecycle.d.ts +7 -2
  158. package/dist/src/execution/sandbox/bindings/microsandbox.d.ts +6 -2
  159. package/dist/src/execution/sandbox/bindings/vercel.d.ts +6 -3
  160. package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
  161. package/dist/src/execution/sandbox/ensure.js +1 -1
  162. package/dist/src/execution/sandbox/glob-tool.js +1 -1
  163. package/dist/src/execution/sandbox/grep-tool.js +1 -1
  164. package/dist/src/execution/sandbox/logging-session.js +2 -2
  165. package/dist/src/execution/sandbox/provider-host.js +1 -1
  166. package/dist/src/execution/sandbox/read-file.js +1 -1
  167. package/dist/src/execution/sandbox/session.d.ts +5 -2
  168. package/dist/src/execution/sandbox/session.js +1 -1
  169. package/dist/src/execution/session/event-sink.d.ts +7 -13
  170. package/dist/src/execution/session/event-sink.js +1 -1
  171. package/dist/src/execution/session/handoff.d.ts +2 -2
  172. package/dist/src/execution/session/handoff.js +1 -1
  173. package/dist/src/execution/session/turn-step.js +1 -1
  174. package/dist/src/execution/session-workflow-tool-run.js +1 -1
  175. package/dist/src/execution/settle-cancelled-turn-step.js +1 -1
  176. package/dist/src/execution/skills/instructions.d.ts +6 -8
  177. package/dist/src/execution/skills/instructions.js +2 -2
  178. package/dist/src/execution/tasks/parent/tool-execution.js +1 -1
  179. package/dist/src/execution/tools/agent-router-workflow.js +1 -1
  180. package/dist/src/execution/tools/agent-router.d.ts +1 -2
  181. package/dist/src/execution/tools/agent-router.js +1 -1
  182. package/dist/src/execution/tools/ask-question-workflow.d.ts +11 -0
  183. package/dist/src/execution/tools/ask-question-workflow.js +1 -0
  184. package/dist/src/execution/tools/ask-question.d.ts +19 -0
  185. package/dist/src/execution/tools/ask-question.js +2 -0
  186. package/dist/src/execution/tools/connection-search.js +1 -1
  187. package/dist/src/execution/tools/file-state.d.ts +1 -7
  188. package/dist/src/execution/tools/file-state.js +1 -1
  189. package/dist/src/execution/tools/load-skill.d.ts +9 -5
  190. package/dist/src/execution/tools/load-skill.js +1 -1
  191. package/dist/src/execution/tools/sleep-workflow.js +1 -1
  192. package/dist/src/execution/tools/sleep.d.ts +8 -9
  193. package/dist/src/execution/tools/sleep.js +1 -1
  194. package/dist/src/execution/tools/subagent/emit-event-step.d.ts +2 -1
  195. package/dist/src/execution/tools/subagent/emit-event-step.js +1 -1
  196. package/dist/src/execution/tools/subagent/task-agent-requests.js +1 -1
  197. package/dist/src/execution/tools/workflow/answer.d.ts +2 -0
  198. package/dist/src/execution/tools/workflow/answer.js +1 -1
  199. package/dist/src/execution/tools/workflow/ask.d.ts +3 -2
  200. package/dist/src/execution/tools/workflow/ask.js +1 -1
  201. package/dist/src/execution/tools/workflow/body.d.ts +5 -0
  202. package/dist/src/execution/tools/workflow/body.js +1 -1
  203. package/dist/src/execution/tools/workflow/cancel.d.ts +0 -4
  204. package/dist/src/execution/tools/workflow/cancel.js +1 -1
  205. package/dist/src/execution/tools/workflow/start.d.ts +1 -0
  206. package/dist/src/execution/tools/workflow/start.js +1 -1
  207. package/dist/src/extensions/code/extension/extension.d.ts +57 -0
  208. package/dist/src/extensions/code/extension/extension.js +1 -0
  209. package/dist/src/extensions/code/extension/hooks/authenticate.d.ts +2 -0
  210. package/dist/src/extensions/code/extension/hooks/authenticate.js +1 -0
  211. package/dist/src/extensions/code/extension/instructions.md +87 -0
  212. package/dist/src/extensions/code/extension/lib/command-failure.d.ts +7 -0
  213. package/dist/src/extensions/code/extension/lib/command-failure.js +2 -0
  214. package/dist/src/extensions/code/extension/lib/computer-use-driver-source.d.ts +14 -0
  215. package/dist/src/extensions/code/extension/lib/computer-use-driver-source.js +1309 -0
  216. package/dist/src/extensions/code/extension/lib/computer-use-sandbox.d.ts +9 -0
  217. package/dist/src/extensions/code/extension/lib/computer-use-sandbox.js +120 -0
  218. package/dist/src/extensions/code/extension/lib/computer-use.d.ts +36 -0
  219. package/dist/src/extensions/code/extension/lib/computer-use.js +78 -0
  220. package/dist/src/extensions/code/extension/lib/connect-authentication.d.ts +7 -0
  221. package/dist/src/extensions/code/extension/lib/connect-authentication.js +1 -0
  222. package/dist/src/extensions/code/extension/lib/credentials.d.ts +13 -0
  223. package/dist/src/extensions/code/extension/lib/credentials.js +3 -0
  224. package/dist/src/extensions/code/extension/lib/diagnostics.d.ts +30 -0
  225. package/dist/src/extensions/code/extension/lib/diagnostics.js +6 -0
  226. package/dist/src/extensions/code/extension/lib/generated-paths.d.ts +18 -0
  227. package/dist/src/extensions/code/extension/lib/generated-paths.js +2 -0
  228. package/dist/src/extensions/code/extension/lib/github-shell-schema.d.ts +11 -0
  229. package/dist/src/extensions/code/extension/lib/github-shell-schema.js +1 -0
  230. package/dist/src/extensions/code/extension/lib/github-shell.d.ts +53 -0
  231. package/dist/src/extensions/code/extension/lib/github-shell.js +1 -0
  232. package/dist/src/extensions/code/extension/lib/grep-search.d.ts +61 -0
  233. package/dist/src/extensions/code/extension/lib/grep-search.js +6 -0
  234. package/dist/src/extensions/code/extension/lib/guidelines.d.ts +25 -0
  235. package/dist/src/extensions/code/extension/lib/guidelines.js +2 -0
  236. package/dist/src/extensions/code/extension/lib/patch.d.ts +35 -0
  237. package/dist/src/extensions/code/extension/lib/patch.js +20 -0
  238. package/dist/src/extensions/code/extension/lib/prwatch-github.d.ts +70 -0
  239. package/dist/src/extensions/code/extension/lib/prwatch-github.js +1 -0
  240. package/dist/src/extensions/code/extension/lib/prwatch-registry.d.ts +27 -0
  241. package/dist/src/extensions/code/extension/lib/prwatch-registry.js +1 -0
  242. package/dist/src/extensions/code/extension/lib/prwatch.d.ts +2 -0
  243. package/dist/src/extensions/code/extension/lib/prwatch.js +1 -0
  244. package/dist/src/extensions/code/extension/lib/repository-root.d.ts +4 -0
  245. package/dist/src/extensions/code/extension/lib/repository-root.js +1 -0
  246. package/dist/src/extensions/code/extension/lib/sandbox.d.ts +12 -0
  247. package/dist/src/extensions/code/extension/lib/sandbox.js +2 -0
  248. package/dist/src/extensions/code/extension/lib/shell.d.ts +1 -0
  249. package/dist/src/extensions/code/extension/lib/shell.js +1 -0
  250. package/dist/src/extensions/code/extension/lib/signed-commit.d.ts +2 -0
  251. package/dist/src/extensions/code/extension/lib/signed-commit.js +130 -0
  252. package/dist/src/extensions/code/extension/lib/tooling.d.ts +27 -0
  253. package/dist/src/extensions/code/extension/lib/tooling.js +92 -0
  254. package/dist/src/extensions/code/extension/skills/investigate/SKILL.md +30 -0
  255. package/dist/src/extensions/code/extension/skills/lookup-agent-run/SKILL.md +29 -0
  256. package/dist/src/extensions/code/extension/skills/pr/SKILL.md +53 -0
  257. package/dist/src/extensions/code/extension/skills/review/SKILL.md +21 -0
  258. package/dist/src/extensions/code/extension/subagents/worker/agent.d.ts +17 -0
  259. package/dist/src/extensions/code/extension/subagents/worker/agent.js +1 -0
  260. package/dist/src/extensions/code/extension/subagents/worker/instructions.md +20 -0
  261. package/dist/src/extensions/code/extension/subagents/worker/sandbox.d.ts +2 -0
  262. package/dist/src/extensions/code/extension/subagents/worker/sandbox.js +1 -0
  263. package/dist/src/extensions/code/extension/subagents/worker/tools/glob.d.ts +1 -0
  264. package/dist/src/extensions/code/extension/subagents/worker/tools/glob.js +1 -0
  265. package/dist/src/extensions/code/extension/subagents/worker/tools/grep.d.ts +1 -0
  266. package/dist/src/extensions/code/extension/subagents/worker/tools/grep.js +1 -0
  267. package/dist/src/extensions/code/extension/subagents/worker/tools/load_skill.d.ts +2 -0
  268. package/dist/src/extensions/code/extension/subagents/worker/tools/load_skill.js +1 -0
  269. package/dist/src/extensions/code/extension/subagents/worker/tools/read_file.d.ts +1 -0
  270. package/dist/src/extensions/code/extension/subagents/worker/tools/read_file.js +1 -0
  271. package/dist/src/extensions/code/extension/subagents/worker/tools/web_fetch.d.ts +2 -0
  272. package/dist/src/extensions/code/extension/subagents/worker/tools/web_fetch.js +1 -0
  273. package/dist/src/extensions/code/extension/subagents/worker/tools/web_search.d.ts +2 -0
  274. package/dist/src/extensions/code/extension/subagents/worker/tools/web_search.js +1 -0
  275. package/dist/src/extensions/code/extension/subagents/worker/tools/write_file.d.ts +2 -0
  276. package/dist/src/extensions/code/extension/subagents/worker/tools/write_file.js +1 -0
  277. package/dist/src/extensions/code/extension/tools/apply_patch.d.ts +28 -0
  278. package/dist/src/extensions/code/extension/tools/apply_patch.js +2 -0
  279. package/dist/src/extensions/code/extension/tools/computer_use.d.ts +400 -0
  280. package/dist/src/extensions/code/extension/tools/computer_use.js +1 -0
  281. package/dist/src/extensions/code/extension/tools/gh.d.ts +27 -0
  282. package/dist/src/extensions/code/extension/tools/gh.js +1 -0
  283. package/dist/src/extensions/code/extension/tools/grep.d.ts +28 -0
  284. package/dist/src/extensions/code/extension/tools/grep.js +1 -0
  285. package/dist/src/extensions/code/tools.d.ts +4 -0
  286. package/dist/src/extensions/code/tools.js +1 -0
  287. package/dist/src/framework/sources/registry.js +1 -1
  288. package/dist/src/harness/compaction-prompt.d.ts +0 -6
  289. package/dist/src/harness/compaction-prompt.js +2 -2
  290. package/dist/src/harness/compaction.js +1 -1
  291. package/dist/src/harness/final-output.js +1 -1
  292. package/dist/src/harness/hitl/approval-input-requests.d.ts +0 -2
  293. package/dist/src/harness/hitl/approval-input-requests.js +1 -1
  294. package/dist/src/harness/input-extraction.d.ts +4 -15
  295. package/dist/src/harness/input-extraction.js +1 -1
  296. package/dist/src/harness/input-request-class.d.ts +0 -20
  297. package/dist/src/harness/input-request-class.js +1 -1
  298. package/dist/src/harness/input-requests.d.ts +1 -1
  299. package/dist/src/harness/input-requests.js +1 -1
  300. package/dist/src/harness/pending-input-batches.d.ts +1 -1
  301. package/dist/src/harness/proxy-input-requests.d.ts +9 -1
  302. package/dist/src/harness/proxy-input-requests.js +1 -1
  303. package/dist/src/harness/stale-input-responses.d.ts +1 -2
  304. package/dist/src/harness/stale-input-responses.js +1 -1
  305. package/dist/src/harness/tool-loop.js +2 -2
  306. package/dist/src/harness/tools.d.ts +0 -9
  307. package/dist/src/harness/tools.js +1 -1
  308. package/dist/src/harness/types.d.ts +2 -9
  309. package/dist/src/internal/application/optional-package-import.d.ts +9 -0
  310. package/dist/src/internal/application/optional-package-import.js +1 -0
  311. package/dist/src/internal/application/optional-package-install.d.ts +1 -5
  312. package/dist/src/internal/application/optional-package-install.js +2 -2
  313. package/dist/src/internal/application/package.js +1 -1
  314. package/dist/src/internal/authored-definition/schema-backed.js +1 -1
  315. package/dist/src/internal/authored-module-loader.js +1 -1
  316. package/dist/src/internal/development-programmatic-source-loader.d.ts +6 -0
  317. package/dist/src/internal/development-programmatic-source-loader.js +1 -0
  318. package/dist/src/internal/nitro/dev-runtime-artifacts.js +1 -1
  319. package/dist/src/internal/nitro/host/create-application-nitro.js +1 -1
  320. package/dist/src/internal/nitro/host/dev-authored-rebuild-coordinator.d.ts +2 -0
  321. package/dist/src/internal/nitro/host/dev-authored-rebuild-coordinator.js +1 -1
  322. package/dist/src/internal/nitro/host/dev-workspace-extensions.js +1 -1
  323. package/dist/src/internal/nitro/host/prepare-application-host.d.ts +2 -0
  324. package/dist/src/internal/nitro/host/prepare-application-host.js +1 -1
  325. package/dist/src/internal/nitro/host/start-development-server.js +2 -2
  326. package/dist/src/internal/nitro/host/types.d.ts +3 -0
  327. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.js +1 -1
  328. package/dist/src/internal/workflow-bundle/workflow-builders.d.ts +0 -2
  329. package/dist/src/internal/workflow-bundle/workflow-builders.js +1 -1
  330. package/dist/src/node_modules/.pnpm/@vercel_cli-config@0.2.7/node_modules/@vercel/cli-config/dist/index.js +21 -0
  331. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/envpath.js +1 -0
  332. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/errors.js +2 -0
  333. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/errutils.js +1 -0
  334. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/exec.js +1 -0
  335. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/fsutils.js +1 -0
  336. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/index.js +1 -0
  337. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/lookup.js +1 -0
  338. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/safety.js +1 -0
  339. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/authorization.js +1 -0
  340. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/connector.js +1 -0
  341. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/index.js +1 -0
  342. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/installation.js +1 -0
  343. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/base-url.js +1 -0
  344. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/default-scopes.js +1 -0
  345. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/env.js +1 -0
  346. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/url-validation.js +1 -0
  347. package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/token.js +1 -0
  348. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/auth-errors.js +1 -0
  349. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/exchange-vercel-oidc-token.js +1 -0
  350. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-context.js +1 -0
  351. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-vercel-oidc-token-sync.js +1 -0
  352. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-vercel-oidc-token-with-refresh.js +2 -0
  353. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/index.js +1 -0
  354. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/oauth.js +1 -0
  355. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-error.js +1 -0
  356. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-io.js +1 -0
  357. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-util.js +2 -0
  358. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token.js +1 -0
  359. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/verify-vercel-oidc-token.js +1 -0
  360. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/version.js +1 -0
  361. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js +1 -0
  362. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js +1 -0
  363. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js +1 -0
  364. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js +1 -0
  365. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js +1 -0
  366. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js +1 -0
  367. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js +1 -0
  368. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js +1 -0
  369. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js +2 -0
  370. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js +1 -0
  371. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js +1 -0
  372. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js +1 -0
  373. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js +1 -0
  374. package/dist/src/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js +1 -0
  375. package/dist/src/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js +1 -0
  376. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/core.js +1 -0
  377. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.js +1 -0
  378. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/realtime.js +1 -0
  379. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/signals.js +1 -0
  380. package/dist/src/node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js +1 -0
  381. package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js +1 -0
  382. package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js +1 -0
  383. package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js +1 -0
  384. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/index.js +1 -0
  385. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/compact/decrypt.js +1 -0
  386. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/compact/encrypt.js +1 -0
  387. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/flattened/decrypt.js +1 -0
  388. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/flattened/encrypt.js +1 -0
  389. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/general/decrypt.js +1 -0
  390. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/general/encrypt.js +1 -0
  391. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwk/embedded.js +1 -0
  392. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwk/thumbprint.js +1 -0
  393. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwks/local.js +1 -0
  394. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwks/remote.js +1 -0
  395. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/compact/sign.js +1 -0
  396. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/compact/verify.js +1 -0
  397. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/flattened/sign.js +1 -0
  398. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/flattened/verify.js +1 -0
  399. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/general/sign.js +1 -0
  400. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/general/verify.js +1 -0
  401. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/decrypt.js +1 -0
  402. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/encrypt.js +1 -0
  403. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/produce.js +1 -0
  404. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/sign.js +1 -0
  405. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/unsecured.js +1 -0
  406. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/verify.js +1 -0
  407. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/export.js +1 -0
  408. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/generate_key_pair.js +1 -0
  409. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/generate_secret.js +1 -0
  410. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/import.js +1 -0
  411. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/aesgcmkw.js +1 -0
  412. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/buffer_utils.js +1 -0
  413. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/cek.js +1 -0
  414. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_iv_length.js +1 -0
  415. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_key_type.js +1 -0
  416. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_p2s.js +1 -0
  417. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/crypto_key.js +1 -0
  418. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/decrypt_key_management.js +1 -0
  419. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/encrypt_key_management.js +1 -0
  420. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/epoch.js +1 -0
  421. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/invalid_key_input.js +1 -0
  422. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_disjoint.js +1 -0
  423. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_jwk.js +1 -0
  424. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_object.js +1 -0
  425. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/iv.js +1 -0
  426. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/jwt_claims_set.js +1 -0
  427. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/private_symbols.js +1 -0
  428. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/secs.js +1 -0
  429. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/validate_algorithms.js +1 -0
  430. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/validate_crit.js +1 -0
  431. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/aeskw.js +1 -0
  432. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/asn1.js +1 -0
  433. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/base64url.js +1 -0
  434. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/cbc_tag.js +1 -0
  435. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/check_cek_length.js +1 -0
  436. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/check_key_length.js +1 -0
  437. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/ciphers.js +1 -0
  438. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/decrypt.js +1 -0
  439. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/digest.js +1 -0
  440. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/dsa_digest.js +1 -0
  441. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/ecdhes.js +1 -0
  442. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/encrypt.js +1 -0
  443. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/fetch_jwks.js +1 -0
  444. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/generate.js +1 -0
  445. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/get_named_curve.js +1 -0
  446. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/get_sign_verify_key.js +1 -0
  447. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/hmac_digest.js +1 -0
  448. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/is_key_like.js +1 -0
  449. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/is_key_object.js +1 -0
  450. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/jwk_to_key.js +1 -0
  451. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/key_to_jwk.js +1 -0
  452. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/node_key.js +1 -0
  453. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/normalize_key.js +1 -0
  454. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/pbes2kw.js +1 -0
  455. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/random.js +1 -0
  456. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/rsaes.js +1 -0
  457. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/runtime.js +1 -0
  458. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/sign.js +1 -0
  459. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/timing_safe_equal.js +1 -0
  460. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/verify.js +1 -0
  461. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/webcrypto.js +1 -0
  462. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/base64url.js +1 -0
  463. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/decode_jwt.js +1 -0
  464. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/decode_protected_header.js +1 -0
  465. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/errors.js +1 -0
  466. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/runtime.js +1 -0
  467. package/dist/src/node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js +1 -0
  468. package/dist/src/node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js +1 -0
  469. package/dist/src/node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js +1 -0
  470. package/dist/src/node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js +1 -0
  471. package/dist/src/node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js +1 -0
  472. package/dist/src/node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js +1 -0
  473. package/dist/src/node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js +1 -0
  474. package/dist/src/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js +1 -0
  475. package/dist/src/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js +1 -0
  476. package/dist/src/node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js +2 -0
  477. package/dist/src/node_modules/.pnpm/which@2.0.2/node_modules/which/which.js +1 -0
  478. package/dist/src/public/channels/github/checkout.d.ts +7 -2
  479. package/dist/src/public/channels/github/checkout.js +1 -1
  480. package/dist/src/public/channels/github/defaults.js +1 -1
  481. package/dist/src/public/channels/slack/api-errors.d.ts +33 -0
  482. package/dist/src/public/channels/slack/api-errors.js +1 -0
  483. package/dist/src/public/channels/slack/api.js +1 -1
  484. package/dist/src/public/channels/slack/interaction-cards.js +1 -1
  485. package/dist/src/public/channels/slack/interactions.js +1 -1
  486. package/dist/src/public/definitions/sandbox.d.ts +1 -1
  487. package/dist/src/public/memory/file/provider.js +1 -1
  488. package/dist/src/public/sandbox/docker.d.ts +7 -0
  489. package/dist/src/public/sandbox/index.d.ts +1 -1
  490. package/dist/src/public/sandbox/microsandbox.d.ts +7 -0
  491. package/dist/src/public/sandbox/vercel.d.ts +7 -0
  492. package/dist/src/public/skills/index.d.ts +1 -2
  493. package/dist/src/public/tools/ask-question.d.ts +1 -1
  494. package/dist/src/public/tools/ask-question.js +1 -1
  495. package/dist/src/runtime/agent/mock-model-fixtures.js +2 -2
  496. package/dist/src/runtime/connections/mcp-client.d.ts +0 -7
  497. package/dist/src/runtime/connections/mcp-client.js +1 -1
  498. package/dist/src/runtime/connections/openapi-client.d.ts +0 -3
  499. package/dist/src/runtime/connections/openapi-client.js +1 -1
  500. package/dist/src/runtime/workspace/seed-files.js +1 -1
  501. package/dist/src/sandbox/providers/docker.d.ts +4 -4
  502. package/dist/src/sandbox/providers/just-bash.d.ts +2 -2
  503. package/dist/src/sandbox/providers/microsandbox.d.ts +4 -4
  504. package/dist/src/sandbox/providers/vercel.d.ts +4 -3
  505. package/dist/src/sandbox/state.d.ts +2 -0
  506. package/dist/src/self-modification/config.d.ts +6 -0
  507. package/dist/src/self-modification/extension/config-schema.d.ts +25 -0
  508. package/dist/src/self-modification/extension/config-schema.js +1 -0
  509. package/dist/src/self-modification/extension/extension.d.ts +3 -47
  510. package/dist/src/self-modification/extension/extension.js +1 -1
  511. package/dist/src/self-modification/extension/subagents/agent/instructions.js +6 -2
  512. package/dist/src/self-modification/extension/subagents/agent/tools/registry_add.js +1 -1
  513. package/dist/src/self-modification/git-workspace.d.ts +5 -1
  514. package/dist/src/self-modification/git.d.ts +5 -1
  515. package/dist/src/services/dev-client/request-headers.d.ts +1 -1
  516. package/dist/src/services/dev-client/request-headers.js +1 -1
  517. package/dist/src/setup/flows/model.d.ts +0 -108
  518. package/dist/src/setup/flows/model.js +1 -1
  519. package/dist/src/setup/integrations/discord/api.js +1 -1
  520. package/dist/src/setup/integrations/discord/connect.js +1 -1
  521. package/dist/src/setup/integrations/github/connect.js +1 -1
  522. package/dist/src/setup/integrations/linear/connect.js +1 -1
  523. package/dist/src/setup/integrations/linq/connect.js +1 -1
  524. package/dist/src/setup/integrations/photon/connect.js +1 -1
  525. package/dist/src/setup/integrations/teams/connect.js +1 -1
  526. package/dist/src/setup/project-resolution.js +1 -1
  527. package/dist/src/setup/scaffold/create/project.js +1 -1
  528. package/dist/src/setup/slack-connect.d.ts +1 -1
  529. package/dist/src/setup/slack-connect.js +1 -1
  530. package/dist/src/setup/vercel-api-failure.js +1 -1
  531. package/dist/src/setup/vercel-deployment.js +1 -1
  532. package/dist/src/setup/vercel-project-api.d.ts +1 -1
  533. package/dist/src/setup/vercel-project-api.js +1 -1
  534. package/dist/src/setup/vercel-project-framework.js +1 -1
  535. package/dist/src/setup/vercel-project.js +0 -0
  536. package/dist/src/shared/connection-types.d.ts +0 -2
  537. package/dist/src/shared/input.d.ts +1 -6
  538. package/dist/src/shared/sandbox-network-policy.d.ts +5 -4
  539. package/dist/src/shared/sandbox-session.d.ts +0 -15
  540. package/dist/src/shared/skill-package.d.ts +3 -0
  541. package/dist/src/shared/skill-package.js +1 -1
  542. package/dist/src/subagents/hitl-proxy.d.ts +11 -1
  543. package/dist/src/subagents/hitl-proxy.js +1 -1
  544. package/dist/src/svelte/index.js +1 -1
  545. package/dist/src/svelte/use-eve-agent.js +1 -1
  546. package/dist/src/tasks/json.d.ts +72 -2
  547. package/dist/src/tasks/json.js +1 -1
  548. package/dist/src/tools/behavior.d.ts +2 -5
  549. package/dist/src/tools/definition.d.ts +23 -5
  550. package/dist/src/tools/framework/agent-contract.d.ts +7 -6
  551. package/dist/src/tools/framework/agent-contract.js +1 -1
  552. package/dist/src/tools/framework/agent.d.ts +4 -13
  553. package/dist/src/tools/framework/task-cancel.d.ts +1 -17
  554. package/dist/src/tools/framework/task-contract.d.ts +16 -137
  555. package/dist/src/tools/framework/task-contract.js +1 -1
  556. package/dist/src/tools/provided/ask-question.d.ts +18 -0
  557. package/dist/src/tools/provided/ask-question.js +1 -0
  558. package/dist/src/tools/provided/bash.d.ts +11 -12
  559. package/dist/src/tools/provided/bash.js +1 -1
  560. package/dist/src/tools/provided/glob.d.ts +13 -14
  561. package/dist/src/tools/provided/glob.js +1 -1
  562. package/dist/src/tools/provided/grep.d.ts +17 -18
  563. package/dist/src/tools/provided/grep.js +1 -1
  564. package/dist/src/tools/provided/read-file.d.ts +14 -15
  565. package/dist/src/tools/provided/read-file.js +1 -1
  566. package/dist/src/tools/provided/sleep.d.ts +2 -2
  567. package/dist/src/tools/provided/web-fetch.d.ts +13 -18
  568. package/dist/src/tools/provided/web-fetch.js +1 -1
  569. package/dist/src/tools/provided/workflow.js +1 -1
  570. package/dist/src/tools/provided/write-file.d.ts +10 -11
  571. package/dist/src/tools/provided/write-file.js +1 -1
  572. package/dist/src/tools/schema.d.ts +40 -10
  573. package/dist/src/tools/schema.js +1 -1
  574. package/dist/src/vue/index.js +1 -1
  575. package/dist/src/vue/use-eve-agent.js +1 -1
  576. package/docs/README.md +1 -1
  577. package/docs/agent-config.md +11 -11
  578. package/docs/channels/slack.mdx +1 -1
  579. package/docs/concepts/built-in-tools.md +16 -66
  580. package/docs/concepts/default-harness.md +1 -3
  581. package/docs/concepts/execution-model-and-durability.mdx +1 -1
  582. package/docs/concepts/sessions-runs-and-streaming.md +2 -2
  583. package/docs/connections/overview.mdx +1 -1
  584. package/docs/evals/assertions.mdx +2 -2
  585. package/docs/evals/judge.mdx +3 -3
  586. package/docs/extensions.md +4 -0
  587. package/docs/getting-started.mdx +2 -2
  588. package/docs/guides/deployment/vercel.mdx +6 -0
  589. package/docs/guides/dev-tui.md +2 -2
  590. package/docs/guides/dynamic-capabilities.md +2 -0
  591. package/docs/guides/evaluate.md +12 -9
  592. package/docs/guides/frontend/overview.mdx +1 -1
  593. package/docs/guides/hooks.md +6 -3
  594. package/docs/guides/instrumentation/agent-runs.mdx +101 -0
  595. package/docs/guides/instrumentation/instrumentation.mdx +2 -1
  596. package/docs/guides/instrumentation/meta.json +1 -1
  597. package/docs/guides/instrumentation/migration.md +5 -1
  598. package/docs/guides/instrumentation/otel.mdx +8 -27
  599. package/docs/guides/self-modification.md +37 -0
  600. package/docs/guides/session-context.md +11 -13
  601. package/docs/install-integrations.mdx +1 -1
  602. package/docs/meta.json +1 -0
  603. package/docs/reference/cli.md +10 -7
  604. package/docs/reference/typescript-api.md +42 -42
  605. package/docs/sandbox/index.mdx +11 -0
  606. package/docs/skills.mdx +5 -10
  607. package/docs/subagents/index.mdx +7 -5
  608. package/docs/tools/human-in-the-loop.md +22 -11
  609. package/docs/tools/overview.mdx +7 -1
  610. package/docs/tools/workflows.mdx +45 -20
  611. package/docs/tutorial/guard-the-spend.mdx +1 -1
  612. package/package.json +30 -9
  613. package/dist/src/cli/dev/tui/model-picker.d.ts +0 -50
  614. package/dist/src/cli/dev/tui/model-picker.js +0 -1
  615. package/dist/src/cli/dev/tui/todo-panel.d.ts +0 -44
  616. package/dist/src/cli/dev/tui/todo-panel.js +0 -1
  617. package/dist/src/compiled/@workflow/builders/index.d.ts +0 -62
  618. package/dist/src/compiled/@workflow/builders/index.js +0 -1
  619. package/dist/src/compiled/_chunks/client/errors-Cd0_QQdM.js +0 -2
  620. package/dist/src/compiled/_chunks/node/auth-DDrvYko5.js +0 -2
  621. package/dist/src/compiled/_chunks/node/schemas-g-rLPCNX.js +0 -50
  622. package/dist/src/compiled/_chunks/workflow/coerce-D0oqvQ_w.js +0 -1
  623. package/dist/src/compiled/_chunks/workflow/dist-DjECvUyK.js +0 -2
  624. package/dist/src/compiled/_chunks/workflow/frames-D_Q-7A1N.js +0 -3
  625. package/dist/src/compiled/_chunks/workflow/resume-hook-BhA_nDEV.js +0 -1
  626. package/dist/src/compiled/_chunks/workflow/schemas-4CmFgxN_.js +0 -50
  627. package/dist/src/compiled/_chunks/workflow/sleep-DB4AH9-A.js +0 -1
  628. package/dist/src/compiled/_chunks/workflow/token-util-pP4KRRl0.js +0 -27
  629. package/dist/src/compiled/_chunks/workflow/ws-transport-BpTMh40s.js +0 -1
  630. package/dist/src/execution/compaction.d.ts +0 -14
  631. package/dist/src/execution/compaction.js +0 -1
  632. package/dist/src/execution/tools/todo.d.ts +0 -91
  633. package/dist/src/execution/tools/todo.js +0 -2
  634. package/dist/src/harness/hitl/question-input-requests.d.ts +0 -15
  635. package/dist/src/harness/hitl/question-input-requests.js +0 -1
  636. package/dist/src/harness/request-input-tool.d.ts +0 -4
  637. package/dist/src/harness/request-input-tool.js +0 -1
  638. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/lib/primitives.js +0 -1
  639. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/lib/schemas.js +0 -1
  640. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/aclaction.js +0 -1
  641. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/sdkvalidationerror.js +0 -1
  642. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/updateprojectblock.js +0 -1
  643. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/updateprojectprojectsbranchmatcher.js +0 -1
  644. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/defaultToZeroValue.js +0 -1
  645. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/fp.js +0 -1
  646. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/primitives.js +0 -1
  647. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/rfcdate.js +0 -1
  648. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/smartUnion.js +0 -1
  649. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/unrecognized.js +0 -1
  650. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/index.js +0 -1
  651. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/ZodError.js +0 -1
  652. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/errors.js +0 -1
  653. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/external.js +0 -1
  654. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/errorUtil.js +0 -1
  655. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/parseUtil.js +0 -1
  656. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/util.js +0 -1
  657. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/index.js +0 -1
  658. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/locales/en.js +0 -1
  659. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/types.js +0 -1
  660. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/checks.js +0 -1
  661. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/coerce.js +0 -1
  662. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/compat.js +0 -1
  663. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/deep-partial.js +0 -1
  664. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/errors.js +0 -1
  665. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/external.js +0 -1
  666. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/from-json-schema.js +0 -1
  667. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/in-out.js +0 -1
  668. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/iso.js +0 -1
  669. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/parse.js +0 -1
  670. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/schemas.js +0 -1
  671. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/api.js +0 -1
  672. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/checks.js +0 -1
  673. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/compile.js +0 -2
  674. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/core.js +0 -1
  675. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/doc.js +0 -3
  676. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/errors.js +0 -2
  677. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/index.js +0 -1
  678. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema-generator.js +0 -1
  679. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema-processors.js +0 -1
  680. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema.js +0 -1
  681. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/memoizer.js +0 -1
  682. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/parse.js +0 -1
  683. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/regexes.js +0 -1
  684. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/registries.js +0 -1
  685. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/schemas.js +0 -46
  686. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/to-json-schema.js +0 -3
  687. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/util.js +0 -1
  688. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/versions.js +0 -1
  689. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/visit.js +0 -1
  690. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ar.js +0 -1
  691. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/az.js +0 -1
  692. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/be.js +0 -1
  693. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/bg.js +0 -1
  694. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/bn.js +0 -1
  695. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ca.js +0 -1
  696. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ckb.js +0 -1
  697. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/cs.js +0 -1
  698. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/da.js +0 -1
  699. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/de.js +0 -1
  700. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/el.js +0 -1
  701. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/en.js +0 -1
  702. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/eo.js +0 -1
  703. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/es.js +0 -1
  704. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fa.js +0 -1
  705. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fi.js +0 -1
  706. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fr-CA.js +0 -1
  707. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fr.js +0 -1
  708. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/gu.js +0 -1
  709. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/he.js +0 -1
  710. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hi.js +0 -1
  711. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hr.js +0 -1
  712. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hu.js +0 -1
  713. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hy.js +0 -1
  714. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/id.js +0 -1
  715. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/index.js +0 -1
  716. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/is.js +0 -1
  717. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/it.js +0 -1
  718. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ja.js +0 -1
  719. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ka.js +0 -1
  720. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/kh.js +0 -1
  721. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/km.js +0 -1
  722. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/kn.js +0 -1
  723. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ko.js +0 -1
  724. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/lt.js +0 -1
  725. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/mk.js +0 -1
  726. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ms.js +0 -1
  727. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ne.js +0 -1
  728. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/nl.js +0 -1
  729. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/nn.js +0 -1
  730. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/no.js +0 -1
  731. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ota.js +0 -1
  732. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pl.js +0 -1
  733. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ps.js +0 -1
  734. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pt-BR.js +0 -1
  735. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pt.js +0 -1
  736. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ro.js +0 -1
  737. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ru.js +0 -1
  738. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sk.js +0 -1
  739. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sl.js +0 -1
  740. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sv.js +0 -1
  741. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ta.js +0 -1
  742. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/th.js +0 -1
  743. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/tk.js +0 -1
  744. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/tr.js +0 -1
  745. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ua.js +0 -1
  746. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/uk.js +0 -1
  747. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ur.js +0 -1
  748. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/uz.js +0 -1
  749. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/vi.js +0 -1
  750. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/yo.js +0 -1
  751. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/zh-CN.js +0 -1
  752. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/zh-TW.js +0 -1
  753. package/dist/src/public/tools/todo.d.ts +0 -3
  754. package/dist/src/public/tools/todo.js +0 -1
  755. package/dist/src/runtime/skills/sandbox-access.d.ts +0 -22
  756. package/dist/src/runtime/skills/sandbox-access.js +0 -1
  757. package/dist/src/shared/skill-types.d.ts +0 -22
  758. package/dist/src/shared/skill-types.js +0 -1
  759. package/dist/src/tools/framework/ask-question.d.ts +0 -38
  760. package/dist/src/tools/framework/ask-question.js +0 -1
  761. package/dist/src/tools/provided/todo.d.ts +0 -8
  762. package/dist/src/tools/provided/todo.js +0 -2
  763. /package/dist/src/{node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/typeAliases.js → compiler/normalize-manifest-types.js} +0 -0
@@ -1 +1 @@
1
- import{asSchema}from"ai";import{z}from"#compiled/zod/index.js";import{toErrorMessage}from"#shared/errors.js";import{parseJsonObject}from"#shared/json.js";const rehydratedSchemas={input:new WeakMap,output:new WeakMap};function toInputSchema(e){return toSchema(e,`input`)}function toOutputSchema(e){return toSchema(e,`output`)}function serializeInputSchema(e){return serializeSchema(e,`input`)}function serializeOutputSchema(e){return serializeSchema(e,`output`)}function isToolSchema(e){let t=getStandardSchemaProperties(e);if(t===void 0)return!1;let n=t.jsonSchema;return typeof t.validate==`function`&&typeof n==`object`&&!!n&&typeof n.input==`function`&&typeof n.output==`function`}const UNSPECIFIED_INPUT_SCHEMA=z.fromJSONSchema({});function toSchema(e,t){if(e==null||isToolSchema(e))return e;let n=rehydratedSchemas[t],r=n.get(e);return r===void 0&&(r=rehydrateJsonSchema(toJsonObject(e,t)),n.set(e,r)),r}function rehydrateJsonSchema(e){try{return z.fromJSONSchema(e,{defaultTarget:`draft-7`})}catch{}try{return z.fromJSONSchema(e,{defaultTarget:`draft-2020-12`})}catch(t){return console.warn(`[eve] Tool schema uses JSON Schema features outside local validation support; passing input through unvalidated: ${toErrorMessage(t)}`),toPassthroughSchema(e)}}function toPassthroughSchema(e){let emit=()=>structuredClone(e);return{"~standard":{version:1,vendor:`eve`,validate:e=>({value:e}),jsonSchema:{input:emit,output:emit}}}}function serializeSchema(e,t){return e==null?e:toJsonObject(e,t)}function toJsonObject(e,t){let n=getStandardSchemaProperties(e),r=n?.jsonSchema,i=typeof r==`object`&&r?r[t]:void 0,a=typeof n?.vendor==`string`?n.vendor:`unknown`;if(n!==void 0&&typeof i!=`function`&&a===`zod`){if(t===`input`){let t=asSchema(e),{$schema:n,...r}=parseJsonObject(t.jsonSchema);return r}throw Error(`Zod 3 cannot emit an output JSON Schema. Upgrade to Zod 4 or provide a plain JSON Schema object.`)}if(n!==void 0&&typeof i!=`function`)throw Error(`Standard Schema vendor "${a}" does not support JSON Schema conversion. Provide a Standard Schema implementation with JSON Schema conversion or a plain JSON Schema object.`);let{$schema:o,...s}=parseJsonObject(n===void 0?e:i({target:`draft-07`}));return s}function getStandardSchemaProperties(e){if(typeof e!=`object`||!e||!(`~standard`in e))return;let t=e[`~standard`];return typeof t==`object`&&t?t:void 0}export{UNSPECIFIED_INPUT_SCHEMA,isToolSchema,serializeInputSchema,serializeOutputSchema,toInputSchema,toOutputSchema};
1
+ import{TypeValidationError,asSchema,jsonSchema}from"ai";import{isObject}from"#shared/guards.js";import{toErrorMessage}from"#shared/errors.js";import{parseJsonObject}from"#shared/json.js";import{Validator}from"#compiled/@cfworker/json-schema/index.js";function toInputSchema(e){return toSchema(e,`input`)}function toOutputSchema(e){return toSchema(e,`output`)}function serializeInputSchema(e){return serializeSchema(e,`input`)}function serializeOutputSchema(e){return serializeSchema(e,`output`)}function isToolSchema(e){let t=getStandardSchemaProperties(e);if(t===void 0)return!1;let n=t.jsonSchema;return typeof t.validate==`function`&&typeof n==`object`&&!!n&&typeof n.input==`function`&&typeof n.output==`function`}function defineJsonSchema(e,t){let emit=()=>structuredClone(e),n={"~standard":{version:1,vendor:`eve`,validate:createJsonSchemaValidator(e,t),jsonSchema:{input:emit,output:emit}}};return plainJsonSchemas.add(n),n}const plainJsonSchemas=new WeakSet,UNSPECIFIED_INPUT_SCHEMA=defineJsonSchema({});function toModelSchema(e,t){if(e===void 0||typeof e==`function`||!(`~standard`in e))return e;let n=e,r=plainJsonSchemas.has(n);return jsonSchema(()=>{let e=serializeSchema(n,t);return r?e:closeObjectSchemas(e)},{validate:async e=>{let t=await n[`~standard`].validate(e);return t.issues===void 0?{success:!0,value:t.value}:{success:!1,error:new TypeValidationError({value:e,cause:t.issues})}}})}function closeObjectSchemas(e){if(!isObject(e))return e;let t={...e},{type:n}=t;(n===`object`||Array.isArray(n)&&n.includes(`object`))&&(t.additionalProperties=isObject(t.additionalProperties)?closeObjectSchemas(t.additionalProperties):!1,isObject(t.properties)&&(t.properties=mapValues(t.properties,closeObjectSchemas))),Array.isArray(t.items)?t.items=t.items.map(closeObjectSchemas):isObject(t.items)&&(t.items=closeObjectSchemas(t.items));for(let e of[`allOf`,`anyOf`,`oneOf`]){let n=t[e];Array.isArray(n)&&(t[e]=n.map(closeObjectSchemas))}return isObject(t.definitions)&&(t.definitions=mapValues(t.definitions,closeObjectSchemas)),t}function mapValues(e,t){return Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(n)]))}function toSchema(e,t){return e==null||isToolSchema(e)?e:defineJsonSchema(toJsonObject(e,t))}function serializeSchema(e,t){return e==null?e:toJsonObject(e,t)}function toJsonObject(e,t){let n=getStandardSchemaProperties(e),r=n?.jsonSchema,i=typeof r==`object`&&r?r[t]:void 0,a=typeof n?.vendor==`string`?n.vendor:`unknown`;if(n!==void 0&&typeof i!=`function`&&a===`zod`){if(t===`input`){let t=asSchema(e),{$schema:n,...r}=parseJsonObject(t.jsonSchema);return r}throw Error(`Zod 3 cannot emit an output JSON Schema. Upgrade to Zod 4 or provide a plain JSON Schema object.`)}if(n!==void 0&&typeof i!=`function`)throw Error(`Standard Schema vendor "${a}" does not support JSON Schema conversion. Provide a Standard Schema implementation with JSON Schema conversion or a plain JSON Schema object.`);let{$schema:o,...s}=parseJsonObject(n===void 0?e:i({target:`draft-07`}));return s}function getStandardSchemaProperties(e){if(typeof e!=`object`||!e||!(`~standard`in e))return;let t=e[`~standard`];return typeof t==`object`&&t?t:void 0}function createJsonSchemaValidator(e,t){let n,r=!1,passThrough=(e,t)=>(r||(r=!0,console.warn(`[eve] Tool schema cannot validate values locally; passing them through unvalidated: ${t}`)),{value:e});return r=>{if(n===void 0){let t=buildValidator(e);if(typeof t==`string`)return n=null,passThrough(r,t);n=t}if(n===null)return{value:r};let i;try{i=n.validate(r)}catch(e){return r===void 0?{issues:[{message:`Expected a JSON value.`}]}:passThrough(r,toErrorMessage(e))}if(!i.valid)return{issues:toIssues(i.errors)};let a=applyDefaults(e,e,r),o=t?.(a);return o===void 0?{value:a}:{issues:[{message:o}]}}}function applyDefaults(e,t,n){let r=n;for(let n of followRefs(e,t)){let{items:t,properties:i}=n;if(isObject(r)&&isObject(i))r=fillProperties(e,i,r);else if(Array.isArray(r)&&isObject(t)){let n=r,i=n.map(n=>applyDefaults(e,t,n));i.some((e,t)=>e!==n[t])&&(r=i)}}return r}function fillProperties(e,t,n){let r=n;for(let[i,a]of Object.entries(t)){let t=Object.hasOwn(n,i)?n[i]:void 0,o=t===void 0?findDefault(e,a):applyDefaults(e,a,t);o!==t&&(r===n&&(r={...n}),r[i]=o)}return r}function findDefault(e,t){for(let n of followRefs(e,t))if(`default`in n)return structuredClone(n.default)}function*followRefs(e,t){let n=new Set,r=t;for(;isObject(r)&&!n.has(r);)n.add(r),yield r,r=resolveLocalRef(e,r.$ref)}function resolveLocalRef(e,t){if(typeof t!=`string`||t!==`#`&&!t.startsWith(`#/`))return;let n=e;for(let e of decodePointer(t)){if(typeof n!=`object`||!n||!Object.hasOwn(n,e))return;n=n[e]}return n}function buildValidator(e){try{let t=structuredClone(e);return prepareForValidation(t)??new Validator(t,`2020-12`,!1)}catch(e){return toErrorMessage(e)}}const JSON_TYPES=new Set([`array`,`boolean`,`integer`,`null`,`number`,`object`,`string`]),EXCLUSIVE_BOUNDS=[[`exclusiveMinimum`,`minimum`],[`exclusiveMaximum`,`maximum`]],SUBSCHEMA_KEYWORDS=[`additionalItems`,`additionalProperties`,`contains`,`else`,`if`,`not`,`propertyNames`,`then`,`unevaluatedItems`,`unevaluatedProperties`],SUBSCHEMA_LIST_KEYWORDS=[`allOf`,`anyOf`,`oneOf`,`prefixItems`],SUBSCHEMA_MAP_KEYWORDS=[`$defs`,`definitions`,`dependencies`,`dependentSchemas`,`patternProperties`,`properties`];function prepareForValidation(e){if(typeof e==`boolean`)return;if(typeof e!=`object`||!e||Array.isArray(e))return`a subschema is neither an object nor a boolean`;let t=e;delete t.format;for(let[e,n]of EXCLUSIVE_BOUNDS)typeof t[e]==`boolean`&&(t[e]&&typeof t[n]==`number`?(t[e]=t[n],delete t[n]):delete t[e]);let{enum:n,pattern:r,required:i,type:a}=t;if(a!==void 0&&!(Array.isArray(a)?a.every(isJsonType):isJsonType(a)))return`unsupported type ${JSON.stringify(a)}`;if(n!==void 0&&!Array.isArray(n))return"`enum` is not an array";if(i!==void 0&&!(Array.isArray(i)&&i.every(e=>typeof e==`string`)))return"`required` is not an array of strings";if(r!==void 0&&!isRegExpSource(r))return`invalid pattern ${JSON.stringify(r)}`;for(let e of SUBSCHEMA_KEYWORDS)if(e in t){let n=prepareForValidation(t[e]);if(n!==void 0)return n}let o=t.items;for(let e of Array.isArray(o)?o:o===void 0?[]:[o]){let t=prepareForValidation(e);if(t!==void 0)return t}for(let e of SUBSCHEMA_LIST_KEYWORDS){let n=t[e];if(n!==void 0){if(!Array.isArray(n))return`\`${e}\` is not an array`;for(let e of n){let t=prepareForValidation(e);if(t!==void 0)return t}}}for(let e of SUBSCHEMA_MAP_KEYWORDS){let n=t[e];if(n!==void 0){if(typeof n!=`object`||!n||Array.isArray(n))return`\`${e}\` is not an object`;for(let[t,r]of Object.entries(n)){if(e===`patternProperties`&&!isRegExpSource(t))return`invalid pattern ${JSON.stringify(t)}`;if(e===`dependencies`&&Array.isArray(r))continue;let n=prepareForValidation(r);if(n!==void 0)return n}}}}function isJsonType(e){return typeof e==`string`&&JSON_TYPES.has(e)}function isRegExpSource(e){if(typeof e!=`string`)return!1;try{return new RegExp(e,`u`),!0}catch{return!1}}const CLOSED_OBJECT_KEYWORD=/\/(?:additional|unevaluated)Properties$/;function toIssues(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=e[n+1];if(CLOSED_OBJECT_KEYWORD.test(r.keywordLocation)&&i?.keyword===`false`){let e=decodePointer(i.instanceLocation).at(-1);t.push({keyword:`false`,location:i.instanceLocation,message:`Unrecognized key: ${JSON.stringify(e)}`,object:r.instanceLocation}),n++}else t.push({keyword:r.keyword,location:r.instanceLocation,message:r.error})}let n=t.filter(e=>e.object===void 0||!t.some(t=>t.object===void 0&&(t.location===e.location||t.location.startsWith(`${e.location}/`))));return n.filter((e,t)=>{let r=n[t+1];return r===void 0?!0:r.location.startsWith(`${e.location}/`)?!1:e.keyword!==`$ref`||r.location!==e.location}).map(({location:e,message:t,object:n})=>{let r=decodePointer(n??e);return r.length===0?{message:t}:{message:t,path:r}})}function decodePointer(e){return e.split(`/`).slice(1).map(e=>{let t=e;try{t=decodeURIComponent(e)}catch{}return t.replaceAll(`~1`,`/`).replaceAll(`~0`,`~`)})}export{UNSPECIFIED_INPUT_SCHEMA,defineJsonSchema,isToolSchema,serializeInputSchema,serializeOutputSchema,toInputSchema,toModelSchema,toOutputSchema};
@@ -1,3 +1,3 @@
1
- import { n as defaultMessageReducer, t as useEveAgent } from "../chunks/use-eve-agent-BdKlQF32.js";
1
+ import { n as defaultMessageReducer, t as useEveAgent } from "../chunks/use-eve-agent-BUeSjwIk.js";
2
2
 
3
3
  export { defaultMessageReducer, useEveAgent };
@@ -1,3 +1,3 @@
1
- import { t as useEveAgent } from "../chunks/use-eve-agent-BdKlQF32.js";
1
+ import { t as useEveAgent } from "../chunks/use-eve-agent-BUeSjwIk.js";
2
2
 
3
3
  export { useEveAgent };
package/docs/README.md CHANGED
@@ -97,7 +97,7 @@ eve then gives you:
97
97
  - a reconnectable session stream
98
98
  - durable session state across turns
99
99
  - a per-agent sandbox with a shared runtime workspace
100
- - typed runtime helpers accessed through `ctx` (`ctx.session`, `ctx.getSandbox()`, `ctx.getSkill()`)
100
+ - typed runtime helpers accessed through `ctx` (`ctx.session`, `ctx.getSandbox()`)
101
101
 
102
102
  ## The runtime shape
103
103
 
@@ -13,13 +13,13 @@ A typical config selects a model:
13
13
  import { defineAgent } from "eve";
14
14
 
15
15
  export default defineAgent({
16
- model: "anthropic/claude-opus-4.8",
16
+ model: "anthropic/claude-opus-5.5",
17
17
  });
18
18
  ```
19
19
 
20
20
  For a static AI Gateway model ID, you can make the same source change from the
21
- project root with `eve set --model anthropic/claude-opus-4.8` or from the local
22
- dev TUI with `/model anthropic/claude-opus-4.8`.
21
+ project root with `eve set --model anthropic/claude-opus-5.5` or from the local
22
+ dev TUI with `/model anthropic/claude-opus-5.5`.
23
23
 
24
24
  The root `agent.ts` can be omitted when no runtime config is needed. eve then selects its default `agent.ts` source at the same slot, configured with `spacexai/grok-4.7`; authoring the file replaces that source.
25
25
  When `agent.ts` is present, `model` is required.
@@ -39,9 +39,9 @@ export default defineAgent({
39
39
  });
40
40
  ```
41
41
 
42
- `openai()` from `eve/models/openai` defaults to `gpt-5.6-luna-fast`. Both helpers accept an optional native provider model ID and use `OPENAI_API_KEY` or `ANTHROPIC_API_KEY`. During local development they can also use credentials saved through `/login`. Deployments require their API key in the server environment.
42
+ `openai()` from `eve/models/openai` defaults to `gpt-6-luna-fast`. Both helpers accept an optional native provider model ID and use `OPENAI_API_KEY` or `ANTHROPIC_API_KEY`. During local development they can also use credentials saved through `/login`. Deployments require their API key in the server environment.
43
43
 
44
- For a local ChatGPT subscription, use `chatgpt()` from `eve/models/openai` and sign in with `/login`. It defaults to `gpt-5.6-luna-fast` and cannot run in a deployment.
44
+ For a local ChatGPT subscription, use `chatgpt()` from `eve/models/openai` and sign in with `/login`. It defaults to `gpt-6-luna-fast` and cannot run in a deployment.
45
45
 
46
46
  `/login` can switch a static Gateway string to an eve helper and manage its import. `/model` changes the selected model and settings immediately. Custom provider SDK calls and dynamic expressions retain their authored behavior and require manual source edits. You can still install an AI SDK provider package and pass its `LanguageModel` when you need provider-specific configuration.
47
47
 
@@ -77,7 +77,7 @@ export default defineAgent({
77
77
  events: {
78
78
  "session.started": (_event, ctx) => {
79
79
  if (ctx.session.auth.initiator?.attributes.plan === "enterprise") {
80
- return "anthropic/claude-opus-4.8";
80
+ return "anthropic/claude-opus-5.5";
81
81
  }
82
82
 
83
83
  return "anthropic/claude-sonnet-5";
@@ -141,7 +141,7 @@ Compaction summarizes older turns as you approach the context window. It's on by
141
141
 
142
142
  ```ts title="agent/agent.ts"
143
143
  export default defineAgent({
144
- model: "anthropic/claude-opus-4.8",
144
+ model: "anthropic/claude-opus-5.5",
145
145
  compaction: {
146
146
  thresholdPercent: 0.75, // default 0.9
147
147
  },
@@ -158,7 +158,7 @@ provider-reported tokens or model token cost reaches a configured limit:
158
158
 
159
159
  ```ts title="agent/agent.ts"
160
160
  export default defineAgent({
161
- model: "anthropic/claude-opus-4.8",
161
+ model: "anthropic/claude-opus-5.5",
162
162
  limits: {
163
163
  maxInputTokensPerSession: 200_000,
164
164
  maxOutputTokensPerSession: 20_000,
@@ -228,7 +228,7 @@ root `agent.ts`:
228
228
  import { defineAgent } from "eve";
229
229
 
230
230
  export default defineAgent({
231
- model: "anthropic/claude-opus-4.8",
231
+ model: "anthropic/claude-opus-5.5",
232
232
  experimental: {
233
233
  workflow: {
234
234
  world: "@workflow/world-postgres",
@@ -264,7 +264,7 @@ sequential model calls:
264
264
  import { defineAgent } from "eve";
265
265
 
266
266
  export default defineAgent({
267
- model: "anthropic/claude-opus-4.8",
267
+ model: "anthropic/claude-opus-5.5",
268
268
  experimental: {
269
269
  workflow: {
270
270
  modelCallsPerStep: 4,
@@ -302,7 +302,7 @@ finishes instead:
302
302
  import { defineAgent } from "eve";
303
303
 
304
304
  export default defineAgent({
305
- model: "anthropic/claude-opus-4.8",
305
+ model: "anthropic/claude-opus-5.5",
306
306
  experimental: {
307
307
  workflow: {
308
308
  retention: 0,
@@ -135,7 +135,7 @@ Check the delivery path in order so you can identify where a Slack event stops:
135
135
  | Mentions work but DMs or thread replies do not | Check the Slack app's Event Subscriptions and OAuth scopes. DMs require `message.im` and `im:history`; channel replies require the matching message event and history scope. | Add the missing events or scopes, then reinstall the Slack app if Slack requires it. |
136
136
  | A long response cannot be uploaded as a snippet | Check whether the installed Slack app has the `files:write` bot scope. | Add `files:write`, then reinstall the Slack app so the new scope takes effect. |
137
137
  | A preview request receives an authentication page or protection error | Check whether the branch domain is exempt or the direct Slack request URL includes `x-vercel-protection-bypass`. Slack cannot complete an interactive Vercel Authentication challenge. | Add a Deployment Protection Exception for the branch domain, or add the automation bypass query parameter to a Slack app that uses environment-variable credentials. |
138
- | The webhook reaches the deployment but the agent does not reply | Open the project's Vercel runtime logs and locate the request for the inbound Slack event. | Use the first missing or failed stage to narrow the issue to channel dispatch, model or tool execution, or outbound Slack delivery. |
138
+ | The webhook reaches the deployment but the agent does not reply | Open the project's Vercel runtime logs, then inspect the session in [**Agent Runs**](/docs/observability/agent-runs) when your team has access. | Use the first missing or failed stage to narrow the issue to channel dispatch, the agent run, or outbound Slack delivery. |
139
139
 
140
140
  ## Audience
141
141
 
@@ -213,72 +213,6 @@ import { disableTool } from "eve/tools";
213
213
  export default disableTool();
214
214
  ```
215
215
 
216
- ### `todo`
217
-
218
- `todo` maintains a durable todo list for the session.
219
-
220
- ```sh
221
- eve add tool/todo
222
- ```
223
-
224
- ```ts title="agent/tools/todo.ts"
225
- export { default } from "eve/tools/todo";
226
- ```
227
-
228
- Override it. Spreading the definition preserves its durable state key:
229
-
230
- ```ts title="agent/tools/todo.ts"
231
- import { defineTool } from "eve/tools";
232
- import { todo } from "eve/tools/todo";
233
-
234
- export default defineTool({
235
- ...todo,
236
- description: "Track the current implementation plan.",
237
- });
238
- ```
239
-
240
- Disable it:
241
-
242
- ```ts title="agent/tools/todo.ts"
243
- import { disableTool } from "eve/tools";
244
-
245
- export default disableTool();
246
- ```
247
-
248
- ### `ask_question`
249
-
250
- `ask_question` asks the user for clarification or a choice, then parks the turn until they answer. It appears only when the session can request user input. See [Human-in-the-loop](/docs/human-in-the-loop).
251
-
252
- ```sh
253
- eve add tool/ask_question
254
- ```
255
-
256
- ```ts title="agent/tools/ask_question.ts"
257
- export { default } from "eve/tools/ask_question";
258
- ```
259
-
260
- Replace its request-input behavior with an ordinary authored tool:
261
-
262
- ```ts title="agent/tools/ask_question.ts"
263
- import { defineTool } from "eve/tools";
264
-
265
- export default defineTool({
266
- description: "Record a clarification request.",
267
- inputSchema: { type: "object" },
268
- async execute(input) {
269
- return { recorded: input };
270
- },
271
- });
272
- ```
273
-
274
- Disable it:
275
-
276
- ```ts title="agent/tools/ask_question.ts"
277
- import { disableTool } from "eve/tools";
278
-
279
- export default disableTool();
280
- ```
281
-
282
216
  ### `agent`
283
217
 
284
218
  `agent` delegates a subtask to a fresh copy of the root agent. It is root-only, always runs in the background, and returns a task receipt immediately. The child receives the root's instructions, tools, connections, and sandbox, but starts with fresh conversation history and [state](./state). See [Subagents](../subagents).
@@ -365,6 +299,22 @@ You can also add the opt-in framework tools described below.
365
299
 
366
300
  These framework-provided tools are not added by default. Add only the ones the agent needs.
367
301
 
302
+ ### `ask_question`
303
+
304
+ `ask_question` lets the model ask the user one question, then waits for the answer. The model can offer two or three options, each with a label and a short description, and the user can always type their own answer instead. Channels render the options as native UI, such as Slack select menus. Without the tool, the model can still ask in its reply text and the user answers with their next message. See [Human-in-the-loop](/docs/human-in-the-loop). Add it:
305
+
306
+ ```sh
307
+ eve add tool/ask_question
308
+ ```
309
+
310
+ ```ts title="agent/tools/ask_question.ts"
311
+ import { askQuestion } from "eve/tools/ask_question";
312
+
313
+ export default askQuestion();
314
+ ```
315
+
316
+ `ask_question` is a [workflow tool](/docs/tools/workflows) that calls `ctx.ask()`. The model receives `{ status: "answered", answer }`, where `answer` is the chosen option's label or the user's own words. A plain follow-up message answers the question too when it is the only pending question. When other questions are also pending, a message does not answer any of them: `ask_question` resolves as `{ status: "dismissed" }` and the message reaches the model normally. In a session that cannot request input, such as a scheduled run, the result is `{ status: "unavailable" }` and the model continues on its own judgment. Remove the file to remove the tool.
317
+
368
318
  ### `glob`
369
319
 
370
320
  `glob` finds sandbox files by glob pattern. Add it:
@@ -11,7 +11,7 @@ The harness keeps a long session from overflowing the model's context window. Be
11
11
 
12
12
  ```ts title="agent/agent.ts"
13
13
  export default defineAgent({
14
- model: "anthropic/claude-opus-4.8",
14
+ model: "anthropic/claude-opus-5.5",
15
15
  compaction: {
16
16
  thresholdPercent: 0.75,
17
17
  },
@@ -24,8 +24,6 @@ input token count plus an estimate of new messages. A smaller character estimate
24
24
  alone cannot satisfy compaction triggered by a higher provider count. If trimming
25
25
  cannot free enough space, eve summarizes the older history.
26
26
 
27
- Compaction also preserves the framework's own tool state automatically. It resets read-before-write tracking (so a write afterward re-reads the file whose read evidence was summarized away) and re-injects the active todo list, so the model keeps its task list across the summary. There is no per-tool hook to configure.
28
-
29
27
  First-class [memory](../memory) participates in a separate lifecycle. eve asks
30
28
  providers to capture before compaction, excludes attributed recalled records
31
29
  from the summarizer, keeps their canonical latest values, and recalls again
@@ -64,7 +64,7 @@ For advanced self-hosted deployments, the root `agent.ts` can select the install
64
64
  import { defineAgent } from "eve";
65
65
 
66
66
  export default defineAgent({
67
- model: "anthropic/claude-opus-4.8",
67
+ model: "anthropic/claude-opus-5.5",
68
68
  experimental: {
69
69
  workflow: {
70
70
  world: "@workflow/world-postgres",
@@ -77,7 +77,7 @@ The stream is newline-delimited JSON (NDJSON), one event per line:
77
77
  | `actions.requested` | The model requested one or more actions, including tool calls; calls stream before execution. |
78
78
  | `action.partial` | A locally executed tool generator yielded a preliminary output snapshot. |
79
79
  | `action.result` | A tool call returned. |
80
- | `input.requested` | The run paused for human input ([HITL](/docs/human-in-the-loop) approval or `ask_question`); carries `requests`. |
80
+ | `input.requested` | The run paused for human input ([HITL](/docs/human-in-the-loop) approval or a `ctx.ask()` question); carries `requests`. |
81
81
  | `input.resolved` | The server accepted terminal human-input outcomes; carries `resolutions` with responses when provided. |
82
82
  | `subagent.called` | A subagent was delegated; carries `childSessionId` to attach to. |
83
83
  | `subagent.completed` | The parent recorded a successful subagent invocation result; carries the actual output. |
@@ -210,7 +210,7 @@ Message sends default to `"steer"`. Before assistant output begins, eve interrup
210
210
 
211
211
  If the session is waiting on a human-in-the-loop approval, respond with the channel’s Approve or Cancel controls. Text messages do not decide an approval; unrelated text starts an ordinary turn while the approval stays pending and answerable. A later structured `inputResponses` answer keyed by its `requestId` still resumes the original tool call, even after intervening turns.
212
212
 
213
- With one question-only batch, an exact option match or permitted freeform response answers `ask_question`. Any other follow-up marks the question unanswered and starts the new turn. With several approval or question batches pending, eve does not guess which batch plain text addresses: the message starts an ordinary turn and the batches stay open. Use structured responses to target requests unambiguously.
213
+ A pending `ctx.ask()` question from a blocking tool, such as `ask_question`, can be answered with plain text. When it is the only pending question, a message that matches an option answers it, and so does any message when the question allows free text. Otherwise eve does not guess which question the text addresses: the message follows the normal `turnPolicy`, questions created with `dismissible: true` resolve as `dismissed`, and other questions stay open. Questions from background tools and subagents always need a structured response. Use structured responses to target requests unambiguously.
214
214
 
215
215
  A structured response matches any currently pending request by ID, not only the newest batch. It becomes stale only after that request was answered, cleared, or cancelled. eve delivers a stale response to the model as a new user message, and the model decides whether the old selection still matters. A stale approval never authorizes the earlier tool call; the model must request the action and approval again if they are still needed.
216
216
 
@@ -10,7 +10,7 @@ Connections live under `agent/connections/`. A static connection's runtime name
10
10
 
11
11
  ## MCP connections
12
12
 
13
- Use an MCP connection when the external service already exposes an MCP server. The server publishes its tools and schemas, and eve makes the matched tools callable by the model.
13
+ Use an MCP connection when the external service already exposes an MCP server. The server publishes its tools and schemas, and eve makes the matched tools callable by the model. Each tool's JSON Schema reaches the model as published, minus any arguments you supply with `toolCall.providedArguments`, and eve checks the model's arguments against it before it calls the server.
14
14
 
15
15
  Read [MCP connections](/docs/connections/mcp) for `defineMcpClientConnection`, transport requirements, and MCP tool filters.
16
16
 
@@ -111,8 +111,8 @@ t.calledSubagent("weather", {
111
111
 
112
112
  ```ts
113
113
  const request = session.requireInputRequest({
114
- toolName: "ask_question",
115
- optionIds: ["red", "blue"],
114
+ toolName: "confirm_deploy",
115
+ optionIds: ["approve", "cancel"],
116
116
  });
117
117
  ```
118
118
 
@@ -3,7 +3,7 @@ title: "Judge"
3
3
  description: "Grade evals with evaluation models using criteria, typed questions, or batches, and set thresholds on each assertion."
4
4
  ---
5
5
 
6
- Use `t.judge(...)` when a deterministic [assertion](./assertions) cannot capture what a good response looks like. It calls [`evaluate` from `eve/ai`](../guides/evaluate#evaluate-inside-a-tool) and defaults to `typesafe-ai/jev`. The judge is separate from the agent under test and is used only for scoring.
6
+ Use `t.judge(...)` when a deterministic [assertion](./assertions) cannot capture what a good response looks like. It calls [`evaluate` from `eve/ai`](../guides/evaluate#evaluate-inside-a-tool) and defaults to `typesafe-ai/jev`, TypeSafe AI's [Jev evaluation model](https://vercel.com/i/what-is-jev). The judge is separate from the agent under test and is used only for scoring.
7
7
 
8
8
  ```ts
9
9
  import { defineEval } from "eve/evals";
@@ -138,14 +138,14 @@ String IDs resolve through the AI SDK default provider, or Vercel AI Gateway whe
138
138
  import { openai } from "@ai-sdk/openai";
139
139
 
140
140
  t.judge("The response addresses the request.", {
141
- model: openai.evaluationModel("gpt-5.6-luna"),
141
+ model: openai.evaluationModel("gpt-6-luna"),
142
142
  modelOptions: { providerOptions: { openai: { reasoningEffort: "high" } } },
143
143
  });
144
144
  ```
145
145
 
146
146
  Use the provider's `evaluationModel` factory, not a language model instance. AI SDK supplies evaluation adapters for supported language models. Provider support and the evaluation contract are experimental; see [AI SDK evaluation](https://ai-sdk.dev/docs/ai-sdk-core/evaluation).
147
147
 
148
- String model IDs resolve through the default provider's evaluation API. Gateway accepts native evaluation models such as `typesafe-ai/jev`; passing a language model ID such as `openai/gpt-5.6-luna` does not automatically select the OpenAI adapter. Use an evaluation-model instance as shown above for language models.
148
+ String model IDs resolve through the default provider's evaluation API. Gateway accepts native evaluation models such as `typesafe-ai/jev`; passing a language model ID such as `openai/gpt-6-luna` does not automatically select the OpenAI adapter. Use an evaluation-model instance as shown above for language models.
149
149
 
150
150
  Missing credentials, invalid answers, unsupported question types, and provider errors become failed gates even for tracked-only judgments. They do not silently skip the eval or select another model. Validation, authentication, and retries use the shared `evaluate` implementation.
151
151
 
@@ -334,6 +334,10 @@ export default defineHook({
334
334
 
335
335
  `toolResultFrom` recognizes the mounted `crm__search` result from the original definition, not the namespaced string. Publishers should keep tool descriptions distinct so eve can assign each definition an unambiguous identity.
336
336
 
337
+ ### Bundled development extensions
338
+
339
+ Local `eve dev` also mounts bundled development extensions without creating a project mount. The self-modification extension is included by default when `eve dev` starts a local server. Bundled development extensions are not included in production builds. See [Self-Modification](./guides/self-modification) for the local workflow.
340
+
337
341
  ### Compatibility
338
342
 
339
343
  At build time, eve checks the extension's generated capability metadata. If the extension needs an unsupported capability contract, upgrade eve or install a compatible extension release.
@@ -45,7 +45,7 @@ eve adds the missing `eve`, `ai`, and `zod` dependencies without changing files
45
45
  To initialize the agent with a different AI Gateway model or reasoning effort, pass `--model` or `--reasoning`:
46
46
 
47
47
  ```bash
48
- npx eve@latest init my-agent --model openai/gpt-5.6-terra --reasoning high
48
+ npx eve@latest init my-agent --model openai/gpt-6-luna --reasoning high
49
49
  ```
50
50
 
51
51
  ## Run the agent
@@ -57,7 +57,7 @@ cd my-agent
57
57
  npm run dev
58
58
  ```
59
59
 
60
- This starts an interactive session where you can send messages to your agent. Edit `agent/instructions.md` to change its behavior and `agent/agent.ts` to configure its model. eve reloads your changes as you work.
60
+ This starts an interactive session where you can send messages to your agent. Edit `agent/instructions.md` to change its behavior and `agent/agent.ts` to configure its model. eve reloads your changes as you work. You can also ask the agent to update its own instructions, tools, or skills; see [Self-Modification](./guides/self-modification).
61
61
 
62
62
  <span id="project-layout" />
63
63
  <span id="agent-directory-layout" />
@@ -155,6 +155,12 @@ eve dev https://your_agent.vercel.app/eve/support
155
155
 
156
156
  Set `VERCEL_AUTOMATION_BYPASS_SECRET` locally before connecting if the deployment uses Deployment Protection.
157
157
 
158
+ ## Inspect agent runs
159
+
160
+ Use the **Agent Runs** tab under **Observability** to browse sessions and
161
+ inspect conversation traces. See [Agent Runs](../../observability/agent-runs)
162
+ for beta access, pricing, retention, and tracing setup.
163
+
158
164
  ## Continue configuring production
159
165
 
160
166
  Use these guides to secure and observe the deployed agent:
@@ -3,7 +3,7 @@ title: "Terminal UI"
3
3
  description: "Use eve locally or connect to a deployed agent from an interactive terminal UI."
4
4
  ---
5
5
 
6
- `eve dev` starts a local development server and opens an interactive terminal UI. Use it to talk to your agent, approve tool calls, answer its questions, and configure local development.
6
+ `eve dev` starts a local development server and opens an interactive terminal UI. Use it to talk to your agent, approve tool calls, answer its questions, and configure local development. When `eve dev` starts a local server, self-modification is available by default; see [Self-Modification](./self-modification).
7
7
 
8
8
  ```bash
9
9
  eve dev
@@ -71,7 +71,7 @@ Changes apply together after the final choice, then the picker returns to chat.
71
71
 
72
72
  A successful login or model change takes effect on the next prompt.
73
73
 
74
- Gateway connections default to `spacexai/grok-4.7`; OpenAI and ChatGPT default to `gpt-5.6-luna-fast`; Anthropic defaults to `claude-sonnet-5`. An explicitly authored compatible model stays selected. If a new default is unavailable, eve offers the connection's available models. Dynamic or custom model expressions must be edited in `agent.ts`.
74
+ Gateway connections default to `spacexai/grok-4.7`; OpenAI and ChatGPT default to `gpt-6-luna-fast`; Anthropic defaults to `claude-sonnet-5`. An explicitly authored compatible model stays selected. If a new default is unavailable, eve offers the connection's available models. Dynamic or custom model expressions must be edited in `agent.ts`.
75
75
 
76
76
  ## Add an integration
77
77
 
@@ -422,6 +422,8 @@ The caller's team gets its own playbook advertised as a loadable skill; everyone
422
422
 
423
423
  Skills follow the same naming rule as tools: a single `defineSkill(...)` is named after the file slug, while a map names each entry by its bare key (namespace the key yourself if it might collide). A dynamic skill overrides a same-named authored one; two dynamic resolvers emitting the same name throws.
424
424
 
425
+ A dynamic skill that returns only `markdown` never starts a sandbox: eve keeps its instructions in session state and serves them from `load_skill`. When the skill also returns `files`, eve writes the package to the sandbox skill root when the resolver first returns it, and again only when its contents change or the session gets a new sandbox. A changed package replaces the previous directory, so files omitted from the new result are removed.
426
+
425
427
  ## Dynamic instructions
426
428
 
427
429
  A dynamic instructions file returns `defineInstructions({ content, role? })` built from the principal, tenant, channel, or external data. Omit `role` for system context:
@@ -14,7 +14,8 @@ patch releases.
14
14
 
15
15
  ## Choose from Gateway models
16
16
 
17
- By default, `auto` evaluates with `typesafe-ai/jev`. Like other AI SDK
17
+ By default, `auto` evaluates with `typesafe-ai/jev`, TypeSafe AI's
18
+ [Jev evaluation model](https://vercel.com/i/what-is-jev). Like other AI SDK
18
19
  model strings, it uses Vercel AI Gateway unless the application has configured a
19
20
  different global default provider.
20
21
 
@@ -25,8 +26,8 @@ import { auto } from "eve/models";
25
26
  export default defineAgent({
26
27
  model: auto({
27
28
  options: {
28
- "openai/gpt-5.6-sol": "Difficult reasoning and engineering tasks",
29
- "openai/gpt-5.6-luna": "Routine tasks where fast completion matters",
29
+ "openai/gpt-6-sol": "Difficult reasoning and engineering tasks",
30
+ "openai/gpt-6-luna": "Routine tasks where fast completion matters",
30
31
  },
31
32
  }),
32
33
  });
@@ -38,7 +39,7 @@ Gateway evaluator uses the same connection selected through `/login` as Gateway
38
39
  language models. A configured AI SDK default provider still owns string model
39
40
  resolution during development. The TUI footer displays `dynamic model` when the
40
41
  agent uses `auto`, then adds the resolved model for the current turn, such as
41
- `dynamic model · openai/gpt-5.6-luna`.
42
+ `dynamic model · openai/gpt-6-luna`.
42
43
 
43
44
  ## Use a provider directly
44
45
 
@@ -58,8 +59,8 @@ export default defineAgent({
58
59
  model: auto({
59
60
  model: typeSafeAi.evaluationModel("jev-latest"),
60
61
  options: {
61
- "openai/gpt-5.6-sol": "Difficult reasoning and engineering tasks",
62
- "openai/gpt-5.6-luna": "Routine tasks where fast completion matters",
62
+ "openai/gpt-6-sol": "Difficult reasoning and engineering tasks",
63
+ "openai/gpt-6-luna": "Routine tasks where fast completion matters",
63
64
  },
64
65
  }),
65
66
  });
@@ -83,7 +84,7 @@ export default defineAgent({
83
84
  reasoning: "medium",
84
85
  model: auto({
85
86
  options: {
86
- "openai/gpt-5.6-sol": "Hard problems",
87
+ "openai/gpt-6-sol": "Hard problems",
87
88
  my_secret_model: {
88
89
  model: anthropic("sonnet-5"),
89
90
  description: "Routine work that can use the direct Anthropic provider",
@@ -141,7 +142,7 @@ export default defineTool({
141
142
 
142
143
  The choice above is typed as `"billing" | "support"`. Each question appears under
143
144
  its authored key in `result.answers`. Results also include token usage, warnings,
144
- provider metadata, and response metadata. To use that choice to delegate while keeping specialist subagents out of the parent model's tools, see [Route to a hidden subagent with JEV](/docs/tools/workflows#route-to-a-hidden-subagent-with-jev).
145
+ provider metadata, and response metadata. To use that choice to delegate while keeping specialist subagents out of the parent model's tools, see [Route to a hidden subagent with Jev](/docs/tools/workflows#route-to-a-hidden-subagent-with-jev).
145
146
 
146
147
  `evaluate` accepts AI SDK evaluation options, including `maxRetries`, `headers`,
147
148
  and `providerOptions`. Pass an `abortSignal` to cancel the request. Input and
@@ -178,7 +179,9 @@ export default defineTool({
178
179
  The evaluation model reviews the tool name and input for dangerous effects. A
179
180
  caution, failed review, or incomplete input requires human approval. See
180
181
  [Human-in-the-loop approvals](/docs/human-in-the-loop#approvals) for classifier
181
- options and data handling.
182
+ options and data handling, and the
183
+ [Auto-approve tool calls with Jev](https://vercel.com/kb/guide/auto-approve-tool-calls-eve-jev)
184
+ guide for an end-to-end walkthrough.
182
185
 
183
186
  ## Runtime behavior
184
187
 
@@ -218,7 +218,7 @@ received attachment as a `file` part on the user message. The part includes `med
218
218
 
219
219
  ## Human-in-the-loop prompts
220
220
 
221
- Tools opt into approval with `approval`, and the model can also ask a question with `ask_question` — see [Human-in-the-loop](/docs/human-in-the-loop) for the server-side model. Either way the stream emits an `input.requested` event, and the pending request rides on a `dynamic-tool` part at `part.toolMetadata?.eve?.inputRequest`. Scan every message because an unrelated turn can add newer messages while an approval stays open, then answer through the same session with `respond()`:
221
+ Tools opt into approval with `approval`, and workflow tools such as the opt-in `ask_question` tool ask the user a question with `ctx.ask()` — see [Human-in-the-loop](/docs/human-in-the-loop) for the server-side model. Either way the stream emits an `input.requested` event, and the pending request rides on a `dynamic-tool` part at `part.toolMetadata?.eve?.inputRequest`. Scan every message because an unrelated turn can add newer messages while an approval stays open, then answer through the same session with `respond()`:
222
222
 
223
223
  ```tsx
224
224
  const pendingRequests = agent.data.messages
@@ -88,7 +88,8 @@ failed stop, follows the normal
88
88
 
89
89
  For `subagent.called` and `subagent.completed`, `ctx.session.id` identifies the
90
90
  parent session. Typed handlers and `*` handlers receive this context even when
91
- the subagent event arrives between parent turns.
91
+ the subagent event arrives between parent turns. These hooks can use
92
+ `ctx.getSandbox()` against the parent session.
92
93
 
93
94
  ### Narrowing tool results
94
95
 
@@ -174,13 +175,15 @@ When a stream event fires, three things happen in order:
174
175
 
175
176
  1. Emit. The channel adapter handler runs, the event is stamped with its `meta` envelope, then it is written to the durable stream.
176
177
  2. Hooks. Stream-event hooks fire (typed handlers first, then the `*` wildcard). Return values are ignored.
177
- 3. Dynamic tool resolvers. Resolvers subscribed to the event type run and update the tool set.
178
+ 3. Model preparation, for model lifecycle events. Dynamic resolvers subscribed to those events update the model context. Subagent notifications do not run model preparation.
178
179
 
179
180
  Hooks always run after the event is durably recorded, so if a hook throws, the stream stays consistent. The persisted event and every hook observe the same `meta.id`.
180
181
 
181
182
  ## What happens when a hook throws
182
183
 
183
- A thrown handler propagates through the emit composer and surfaces as `turn.failed`. In a conversation session, this includes handlers for `turn.started` and the first `step.started` of a model call: the failed turn ends with `session.waiting`, and the next message can start another turn. Task-mode boundary failures remain terminal. If a hook subscribed to a failure-cascade event also throws, it escalates to `session.failed`. For belt-and-suspenders semantics inside a hook, wrap the body in `try`/`catch`. eve treats a thrown hook as a real failure.
184
+ A thrown handler during a model turn propagates through turn execution and surfaces as `turn.failed`. In a conversation session, this includes handlers for `turn.started` and the first `step.started` of a model call: the failed turn ends with `session.waiting`, and the next message can start another turn. Task-mode boundary failures remain terminal. If a hook subscribed to a failure-cascade event also throws, it escalates to `session.failed`. For belt-and-suspenders semantics inside a hook, wrap the body in `try`/`catch`. eve treats a thrown hook as a real failure.
185
+
186
+ For `subagent.called` and `subagent.completed`, a thrown handler fails the notification step and follows the workflow runtime's step retry policy. A retry can publish the event again before rerunning its hooks. Parent execution waits for the notification step to finish or exhaust its retries.
184
187
 
185
188
  ## Subagent isolation
186
189
 
@@ -0,0 +1,101 @@
1
+ ---
2
+ title: "Agent Runs"
3
+ description: "Inspect eve sessions in Vercel and configure the Agent Runs destination."
4
+ url: "/observability/agent-runs"
5
+ ---
6
+
7
+ <Callout type="info" icon={<Flag aria-hidden="true" className="size-5" />}>
8
+ Agent Runs are available in [**Beta**](https://vercel.com/docs/release-phases#beta) on
9
+ [**Enterprise**](https://vercel.com/docs/plans/enterprise),
10
+ [**Pro**](https://vercel.com/docs/plans/pro), and [**Hobby**](https://vercel.com/docs/plans/hobby)
11
+ plans.
12
+ </Callout>
13
+
14
+ Use Vercel Agent Runs to browse eve sessions and inspect conversation traces
15
+ in the project's **Observability** view. The tab requires enablement for your
16
+ Vercel team; contact your Vercel representative if it does not appear.
17
+
18
+ Agent Runs usage is billed at
19
+ [Always-on Tracing rates](https://vercel.com/docs/tracing/always-on-tracing#usage-and-pricing)
20
+ during beta. All plans include 30-day Agent Runs retention during beta.
21
+
22
+ ## Configure Agent Runs
23
+
24
+ Preview and production deployments export to Vercel Agent Runs by default.
25
+ Omitting `agent/instrumentation/agent-runs.ts` preserves that default. Export
26
+ `agentRuns(...)` from that file to reconfigure it, or export
27
+ `disableInstrumentation()` to disable it.
28
+
29
+ ## Enable tracing on Vercel
30
+
31
+ New eve deployments automatically sample 100% of requests. Existing eve
32
+ deployments need a sampling rule configured for the Vercel project to collect
33
+ traces. To enable tracing for an existing deployment, select your team and
34
+ project, then open
35
+ [**Settings → Tracing**](https://vercel.com/d?to=%2F%5Bteam%5D%2F%5Bproject%5D%2Fsettings%2Ftracing&title=Go+to+Tracing+settings):
36
+
37
+ 1. Select **Add Sampling Rule**.
38
+ 2. Choose **All Environments**, **Production**, or **Preview**.
39
+ 3. Set **Rate** to `100%`.
40
+ 4. Leave **Request Path Prefix** blank to sample requests on every path.
41
+ 5. Select **Save**.
42
+
43
+ Vercel applies the first matching rule. If an existing rule matches these
44
+ requests, update it to use a 100% rate; a later rule will not override it.
45
+
46
+ Tracing starts as soon as you save the rule. You can also manage sampling
47
+ rules with [`vercel traces config`](https://vercel.com/docs/cli/traces#manage-trace-sampling-rules).
48
+ The CLI accepts rates from 1 to 100%; add a 0% rule from the dashboard.
49
+
50
+ ## Filter Agent Runs exports
51
+
52
+ `agentRuns()` accepts one `exportPolicy` object or an array applied in order.
53
+ Each policy filters spans and attributes before the Agent Runs destination
54
+ receives them:
55
+
56
+ ```ts title="agent/instrumentation/agent-runs.ts"
57
+ import { agentRuns } from "eve/instrumentation/otel";
58
+
59
+ export default agentRuns({
60
+ exportPolicy: {
61
+ span: ({ name }) => ({ emit: name !== "internal.cache.refresh" }),
62
+ attribute: ({ key }) => (key === "customer.id" ? { emit: false } : { emit: true }),
63
+ },
64
+ });
65
+ ```
66
+
67
+ Return `{ emit: true }` from `span` to retain a span unchanged, or
68
+ `{ emit: false }` to omit it from Agent Runs. To retain the span while redacting
69
+ content, return `{ redact: true }` with `inputs: true`, `outputs: true`, or
70
+ both. A redaction decision implies emission and requires at least one
71
+ direction. A throwing `span` callback drops the span from Agent Runs. Return
72
+ `{ emit: true }`, `{ emit: false }`, or `{ replace: true, value }` from
73
+ `attribute` to retain, remove, or change one attribute.
74
+
75
+ ## Redact content
76
+
77
+ The `exportPolicy` can further narrow what Agent Runs receives after the
78
+ process-wide `otel({ tracePolicy })` has admitted a trace. For example, keep
79
+ spans while redacting inputs and outputs unless the session is public:
80
+
81
+ ```ts title="agent/instrumentation/agent-runs.ts"
82
+ import { agentRuns } from "eve/instrumentation/otel";
83
+
84
+ export default agentRuns({
85
+ exportPolicy: {
86
+ span: ({ audience }) =>
87
+ audience === "public" ? { emit: true } : { redact: true, inputs: true, outputs: true },
88
+ },
89
+ });
90
+ ```
91
+
92
+ Input redaction removes eve's known prompt, instruction, document, and
93
+ tool-argument attributes. Output redaction removes response, reasoning,
94
+ tool-result, exception, and status attributes. Redaction narrows only Agent
95
+ Runs; it does not mutate spans sent to another destination.
96
+
97
+ ## What to read next
98
+
99
+ - [OpenTelemetry](./otel): configure process-wide settings and third-party destinations.
100
+ - [Vercel deployment](/docs/guides/deployment/vercel): deploy an eve agent and inspect its runtime.
101
+ - [Migrate instrumentation](/docs/observability/instrumentation-migration): replace `agent/instrumentation.ts`.