eve 0.65.0 → 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 (627) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +1 -2
  3. package/dist/src/_virtual/_rolldown/runtime.js +1 -1
  4. package/dist/src/chunks/{use-eve-agent-BIouJCii.js → use-eve-agent-BUeSjwIk.js} +242 -1
  5. package/dist/src/chunks/{use-eve-agent-BRvEh9sO.js → use-eve-agent-ydPlURM4.js} +242 -1
  6. package/dist/src/cli/dev/tui/argument-typeahead.d.ts +36 -0
  7. package/dist/src/cli/dev/tui/argument-typeahead.js +2 -0
  8. package/dist/src/cli/dev/tui/blocks.js +1 -1
  9. package/dist/src/cli/dev/tui/prompt-command-handler.js +1 -1
  10. package/dist/src/cli/dev/tui/runner.d.ts +3 -0
  11. package/dist/src/cli/dev/tui/runner.js +1 -1
  12. package/dist/src/cli/dev/tui/setup-commands.d.ts +2 -8
  13. package/dist/src/cli/dev/tui/setup-commands.js +1 -2
  14. package/dist/src/cli/dev/tui/setup-flow.d.ts +0 -3
  15. package/dist/src/cli/dev/tui/terminal-renderer.d.ts +3 -0
  16. package/dist/src/cli/dev/tui/terminal-renderer.js +10 -11
  17. package/dist/src/cli/dev/tui/test/fake-setup-flow-renderer.js +1 -1
  18. package/dist/src/cli/dev/tui/tui.js +1 -1
  19. package/dist/src/cli/dev/tui/vercel-trusted-sources-policy.d.ts +1 -1
  20. package/dist/src/cli/dev/tui/vercel-trusted-sources.js +1 -1
  21. package/dist/src/cli/invoke/result.d.ts +1 -1
  22. package/dist/src/cli/invoke/result.js +1 -1
  23. package/dist/src/cli/telemetry/preference.js +1 -1
  24. package/dist/src/client/index.d.ts +1 -3
  25. package/dist/src/client/index.js +1 -1
  26. package/dist/src/compiled/.vendor-stamp.json +4 -2
  27. package/dist/src/compiled/@agentclientprotocol/sdk/index.js +2 -51
  28. package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -2
  29. package/dist/src/compiled/@ai-sdk/google/index.js +7 -7
  30. package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
  31. package/dist/src/compiled/@ai-sdk/openai/index.js +4 -4
  32. package/dist/src/compiled/@ai-sdk/otel/index.js +1 -1
  33. package/dist/src/compiled/@cfworker/json-schema/index.d.ts +18 -0
  34. package/dist/src/compiled/@cfworker/json-schema/index.js +2 -0
  35. package/dist/src/compiled/@modelcontextprotocol/server/index.js +9 -58
  36. package/dist/src/compiled/@opentelemetry/api/index.js +1 -1
  37. package/dist/src/compiled/@opentelemetry/otlp-transformer/index.js +1 -1
  38. package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +55 -55
  39. package/dist/src/compiled/@vercel/blob/index.js +14 -36
  40. package/dist/src/compiled/@vercel/oidc/index.js +6 -28
  41. package/dist/src/compiled/@vercel/otel/index.js +1 -1
  42. package/dist/src/compiled/@vercel/sandbox/index.js +13 -13
  43. package/dist/src/compiled/@vercel/sdk/LICENSE +201 -0
  44. package/dist/src/compiled/@vercel/sdk/index.d.ts +41 -0
  45. package/dist/src/compiled/@vercel/sdk/index.js +1 -0
  46. package/dist/src/compiled/@workflow/core/index.js +1 -1
  47. package/dist/src/compiled/@workflow/core/private.js +1 -1
  48. package/dist/src/compiled/@workflow/core/runtime/helpers.js +1 -1
  49. package/dist/src/compiled/@workflow/core/runtime.js +2 -2
  50. package/dist/src/compiled/@workflow/core/serialization.js +1 -1
  51. package/dist/src/compiled/@workflow/core/workflow.js +1 -1
  52. package/dist/src/compiled/@workflow/errors/index.js +1 -1
  53. package/dist/src/compiled/@workflow/world-local/index.js +5 -5
  54. package/dist/src/compiled/@workflow/world-vercel/index.js +16 -16
  55. package/dist/src/compiled/_chunks/client/core-CspsxXR-.js +52 -0
  56. package/dist/src/compiled/_chunks/client/rolldown-runtime-DK3Fl9T5.js +1 -0
  57. package/dist/src/compiled/_chunks/node/auth-Dztlx9pE.js +2 -0
  58. package/dist/src/compiled/_chunks/workflow/{attribute-changes-DFx4eluc.js → attribute-changes-89Nwz7XW.js} +1 -1
  59. package/dist/src/compiled/_chunks/workflow/{chunk-5MU5Z6L3-CrYztnvh.js → chunk-5MU5Z6L3-z9-dfnHp.js} +1 -1
  60. package/dist/src/compiled/_chunks/workflow/{chunk-NWCAEW5Y-ClfmNvkQ.js → chunk-NWCAEW5Y-8afLJrun.js} +1 -1
  61. package/dist/src/compiled/_chunks/workflow/{dist-C3919PVU.js → dist-C3ZE62yI.js} +3 -3
  62. package/dist/src/compiled/_chunks/workflow/dist-CNT2vjZ4.js +1 -0
  63. package/dist/src/compiled/_chunks/workflow/{dist-xTushGCp.js → dist-DtXwQbZr.js} +1 -1
  64. package/dist/src/compiled/_chunks/workflow/{esm-DyLz8Egm.js → esm-DtrPCf49.js} +1 -1
  65. package/dist/src/compiled/_chunks/workflow/{experimental-evaluation-D8_K_Pe9.js → experimental-evaluation-Dm32egEG.js} +2 -2
  66. package/dist/src/compiled/_chunks/workflow/frames-DnrfSd1P.js +3 -0
  67. package/dist/src/compiled/_chunks/workflow/{functions-C06vHfWP.js → functions-DpZiBxgQ.js} +1 -1
  68. package/dist/src/compiled/_chunks/workflow/{getMachineId-bsd-WEBNKY2R-DcIEvZzd.js → getMachineId-bsd-WEBNKY2R-D5OkV-EY.js} +1 -1
  69. package/dist/src/compiled/_chunks/workflow/{getMachineId-darwin-LT47KAXP-C4nRhfn9.js → getMachineId-darwin-LT47KAXP-BqwKrkSO.js} +1 -1
  70. package/dist/src/compiled/_chunks/workflow/{getMachineId-linux-LTVQO6VW-BqQf2T4W.js → getMachineId-linux-LTVQO6VW-CJlbJ4KP.js} +1 -1
  71. package/dist/src/compiled/_chunks/workflow/{getMachineId-unsupported-UKWBA27G-oYffWhib.js → getMachineId-unsupported-UKWBA27G-C4Y3-LZG.js} +1 -1
  72. package/dist/src/compiled/_chunks/workflow/{getMachineId-win-NLJKOPY6-CpL96LtN.js → getMachineId-win-NLJKOPY6-CsPs71SE.js} +1 -1
  73. package/dist/src/compiled/_chunks/workflow/{global-DFW-hO6M.js → global-DIlFoH2w.js} +1 -1
  74. package/dist/src/compiled/_chunks/workflow/{helpers-Bw52uyzw.js → helpers-k3zcudWr.js} +1 -1
  75. package/dist/src/compiled/_chunks/workflow/{logger-DFNCa8Nl.js → logger-Bzc8jWWj.js} +1 -1
  76. package/dist/src/compiled/_chunks/workflow/resume-hook-BmJ263ZR.js +1 -0
  77. package/dist/src/compiled/_chunks/workflow/{rolldown-runtime-DPpTSio4.js → rolldown-runtime-B_knIduE.js} +1 -1
  78. package/dist/src/compiled/_chunks/workflow/{run-BT6SQv5f.js → run-NLvREued.js} +1 -1
  79. package/dist/src/compiled/_chunks/workflow/{serialization-Cl0SYU0I.js → serialization-HCDeQWcR.js} +2 -2
  80. package/dist/src/compiled/_chunks/workflow/{signal-exit-B9U6kH7R.js → signal-exit-DZKTacNU.js} +1 -1
  81. package/dist/src/compiled/_chunks/workflow/sleep-Bi508qmg.js +1 -0
  82. package/dist/src/compiled/_chunks/workflow/{token-CrFhCmWs.js → token-1wSBbi5N.js} +1 -1
  83. package/dist/src/compiled/_chunks/workflow/{token-U5XEWlVM.js → token-BhlnqoHM.js} +1 -1
  84. package/dist/src/compiled/_chunks/workflow/{token-util-BkqzD0OM.js → token-util-Cm4Ec1Bg.js} +1 -1
  85. package/dist/src/compiled/_chunks/workflow/token-util-DaeRTzDa.js +5 -0
  86. package/dist/src/compiled/_chunks/workflow/{wait-until-Dzhr6tzf.js → wait-until-DXLZx3tU.js} +1 -1
  87. package/dist/src/compiled/_chunks/workflow/{wrapper-CKui_eTd.js → wrapper-CzrF_dmI.js} +3 -3
  88. package/dist/src/compiled/_chunks/workflow/ws-transport-BSM_Cl7a.js +1 -0
  89. package/dist/src/compiled/jose/index.js +1 -1
  90. package/dist/src/compiled/zod/index.js +1 -51
  91. package/dist/src/compiled/zod/v3.js +1 -0
  92. package/dist/src/compiled/zod/v4/core.js +1 -0
  93. package/dist/src/compiled/zod-validation-error/index.js +1 -1
  94. package/dist/src/compiler/extension-compatibility.d.ts +20 -14
  95. package/dist/src/compiler/extension-compatibility.js +1 -1
  96. package/dist/src/context/build-base-tool-context.js +1 -1
  97. package/dist/src/context/build-callback-context.js +1 -1
  98. package/dist/src/context/dynamic-skill-lifecycle.d.ts +3 -3
  99. package/dist/src/context/dynamic-skill-lifecycle.js +1 -1
  100. package/dist/src/context/keys.d.ts +18 -4
  101. package/dist/src/context/keys.js +1 -1
  102. package/dist/src/context/session-context.d.ts +5 -4
  103. package/dist/src/execution/dynamic-workflow/tool.js +1 -1
  104. package/dist/src/execution/route-child-delivery.js +1 -1
  105. package/dist/src/execution/sandbox/bindings/docker-templates.d.ts +6 -0
  106. package/dist/src/execution/sandbox/bindings/docker-templates.js +1 -1
  107. package/dist/src/execution/sandbox/bindings/docker.d.ts +6 -2
  108. package/dist/src/execution/sandbox/bindings/docker.js +1 -1
  109. package/dist/src/execution/sandbox/bindings/just-bash-runtime.d.ts +2 -2
  110. package/dist/src/execution/sandbox/bindings/just-bash.d.ts +2 -2
  111. package/dist/src/execution/sandbox/bindings/local-provider-utils.js +1 -1
  112. package/dist/src/execution/sandbox/bindings/microsandbox-lifecycle.d.ts +7 -2
  113. package/dist/src/execution/sandbox/bindings/microsandbox.d.ts +6 -2
  114. package/dist/src/execution/sandbox/bindings/vercel.d.ts +6 -3
  115. package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
  116. package/dist/src/execution/sandbox/ensure.js +1 -1
  117. package/dist/src/execution/sandbox/logging-session.js +2 -2
  118. package/dist/src/execution/sandbox/provider-host.js +1 -1
  119. package/dist/src/execution/sandbox/session.d.ts +5 -2
  120. package/dist/src/execution/sandbox/session.js +1 -1
  121. package/dist/src/execution/session/event-sink.d.ts +7 -13
  122. package/dist/src/execution/session/event-sink.js +1 -1
  123. package/dist/src/execution/session/handoff.d.ts +2 -2
  124. package/dist/src/execution/session/handoff.js +1 -1
  125. package/dist/src/execution/session/turn-step.js +1 -1
  126. package/dist/src/execution/settle-cancelled-turn-step.js +1 -1
  127. package/dist/src/execution/skills/instructions.d.ts +6 -8
  128. package/dist/src/execution/skills/instructions.js +2 -2
  129. package/dist/src/execution/tools/agent-router-workflow.js +1 -1
  130. package/dist/src/execution/tools/agent-router.d.ts +1 -2
  131. package/dist/src/execution/tools/agent-router.js +1 -1
  132. package/dist/src/execution/tools/ask-question-workflow.js +1 -1
  133. package/dist/src/execution/tools/ask-question.d.ts +17 -18
  134. package/dist/src/execution/tools/ask-question.js +2 -2
  135. package/dist/src/execution/tools/connection-search.js +1 -1
  136. package/dist/src/execution/tools/load-skill.d.ts +9 -5
  137. package/dist/src/execution/tools/load-skill.js +1 -1
  138. package/dist/src/execution/tools/sleep-workflow.js +1 -1
  139. package/dist/src/execution/tools/sleep.d.ts +8 -9
  140. package/dist/src/execution/tools/sleep.js +1 -1
  141. package/dist/src/execution/tools/subagent/emit-event-step.d.ts +2 -1
  142. package/dist/src/execution/tools/subagent/emit-event-step.js +1 -1
  143. package/dist/src/execution/tools/subagent/task-agent-requests.js +1 -1
  144. package/dist/src/execution/tools/workflow/body.js +1 -1
  145. package/dist/src/extensions/code/extension/extension.d.ts +57 -0
  146. package/dist/src/extensions/code/extension/extension.js +1 -0
  147. package/dist/src/extensions/code/extension/hooks/authenticate.d.ts +2 -0
  148. package/dist/src/extensions/code/extension/hooks/authenticate.js +1 -0
  149. package/dist/src/extensions/code/extension/instructions.md +87 -0
  150. package/dist/src/extensions/code/extension/lib/command-failure.d.ts +7 -0
  151. package/dist/src/extensions/code/extension/lib/command-failure.js +2 -0
  152. package/dist/src/extensions/code/extension/lib/computer-use-driver-source.d.ts +14 -0
  153. package/dist/src/extensions/code/extension/lib/computer-use-driver-source.js +1309 -0
  154. package/dist/src/extensions/code/extension/lib/computer-use-sandbox.d.ts +9 -0
  155. package/dist/src/extensions/code/extension/lib/computer-use-sandbox.js +120 -0
  156. package/dist/src/extensions/code/extension/lib/computer-use.d.ts +36 -0
  157. package/dist/src/extensions/code/extension/lib/computer-use.js +78 -0
  158. package/dist/src/extensions/code/extension/lib/connect-authentication.d.ts +7 -0
  159. package/dist/src/extensions/code/extension/lib/connect-authentication.js +1 -0
  160. package/dist/src/extensions/code/extension/lib/credentials.d.ts +13 -0
  161. package/dist/src/extensions/code/extension/lib/credentials.js +3 -0
  162. package/dist/src/extensions/code/extension/lib/diagnostics.d.ts +30 -0
  163. package/dist/src/extensions/code/extension/lib/diagnostics.js +6 -0
  164. package/dist/src/extensions/code/extension/lib/generated-paths.d.ts +18 -0
  165. package/dist/src/extensions/code/extension/lib/generated-paths.js +2 -0
  166. package/dist/src/extensions/code/extension/lib/github-shell-schema.d.ts +11 -0
  167. package/dist/src/extensions/code/extension/lib/github-shell-schema.js +1 -0
  168. package/dist/src/extensions/code/extension/lib/github-shell.d.ts +53 -0
  169. package/dist/src/extensions/code/extension/lib/github-shell.js +1 -0
  170. package/dist/src/extensions/code/extension/lib/grep-search.d.ts +61 -0
  171. package/dist/src/extensions/code/extension/lib/grep-search.js +6 -0
  172. package/dist/src/extensions/code/extension/lib/guidelines.d.ts +25 -0
  173. package/dist/src/extensions/code/extension/lib/guidelines.js +2 -0
  174. package/dist/src/extensions/code/extension/lib/patch.d.ts +35 -0
  175. package/dist/src/extensions/code/extension/lib/patch.js +20 -0
  176. package/dist/src/extensions/code/extension/lib/prwatch-github.d.ts +70 -0
  177. package/dist/src/extensions/code/extension/lib/prwatch-github.js +1 -0
  178. package/dist/src/extensions/code/extension/lib/prwatch-registry.d.ts +27 -0
  179. package/dist/src/extensions/code/extension/lib/prwatch-registry.js +1 -0
  180. package/dist/src/extensions/code/extension/lib/prwatch.d.ts +2 -0
  181. package/dist/src/extensions/code/extension/lib/prwatch.js +1 -0
  182. package/dist/src/extensions/code/extension/lib/repository-root.d.ts +4 -0
  183. package/dist/src/extensions/code/extension/lib/repository-root.js +1 -0
  184. package/dist/src/extensions/code/extension/lib/sandbox.d.ts +12 -0
  185. package/dist/src/extensions/code/extension/lib/sandbox.js +2 -0
  186. package/dist/src/extensions/code/extension/lib/shell.d.ts +1 -0
  187. package/dist/src/extensions/code/extension/lib/shell.js +1 -0
  188. package/dist/src/extensions/code/extension/lib/signed-commit.d.ts +2 -0
  189. package/dist/src/extensions/code/extension/lib/signed-commit.js +130 -0
  190. package/dist/src/extensions/code/extension/lib/tooling.d.ts +27 -0
  191. package/dist/src/extensions/code/extension/lib/tooling.js +92 -0
  192. package/dist/src/extensions/code/extension/skills/investigate/SKILL.md +30 -0
  193. package/dist/src/extensions/code/extension/skills/lookup-agent-run/SKILL.md +29 -0
  194. package/dist/src/extensions/code/extension/skills/pr/SKILL.md +53 -0
  195. package/dist/src/extensions/code/extension/skills/review/SKILL.md +21 -0
  196. package/dist/src/extensions/code/extension/subagents/worker/agent.d.ts +17 -0
  197. package/dist/src/extensions/code/extension/subagents/worker/agent.js +1 -0
  198. package/dist/src/extensions/code/extension/subagents/worker/instructions.md +20 -0
  199. package/dist/src/extensions/code/extension/subagents/worker/sandbox.d.ts +2 -0
  200. package/dist/src/extensions/code/extension/subagents/worker/sandbox.js +1 -0
  201. package/dist/src/extensions/code/extension/subagents/worker/tools/glob.d.ts +1 -0
  202. package/dist/src/extensions/code/extension/subagents/worker/tools/glob.js +1 -0
  203. package/dist/src/extensions/code/extension/subagents/worker/tools/grep.d.ts +1 -0
  204. package/dist/src/extensions/code/extension/subagents/worker/tools/grep.js +1 -0
  205. package/dist/src/extensions/code/extension/subagents/worker/tools/load_skill.d.ts +2 -0
  206. package/dist/src/extensions/code/extension/subagents/worker/tools/load_skill.js +1 -0
  207. package/dist/src/extensions/code/extension/subagents/worker/tools/read_file.d.ts +1 -0
  208. package/dist/src/extensions/code/extension/subagents/worker/tools/read_file.js +1 -0
  209. package/dist/src/extensions/code/extension/subagents/worker/tools/web_fetch.d.ts +2 -0
  210. package/dist/src/extensions/code/extension/subagents/worker/tools/web_fetch.js +1 -0
  211. package/dist/src/extensions/code/extension/subagents/worker/tools/web_search.d.ts +2 -0
  212. package/dist/src/extensions/code/extension/subagents/worker/tools/web_search.js +1 -0
  213. package/dist/src/extensions/code/extension/subagents/worker/tools/write_file.d.ts +2 -0
  214. package/dist/src/extensions/code/extension/subagents/worker/tools/write_file.js +1 -0
  215. package/dist/src/extensions/code/extension/tools/apply_patch.d.ts +28 -0
  216. package/dist/src/extensions/code/extension/tools/apply_patch.js +2 -0
  217. package/dist/src/extensions/code/extension/tools/computer_use.d.ts +400 -0
  218. package/dist/src/extensions/code/extension/tools/computer_use.js +1 -0
  219. package/dist/src/extensions/code/extension/tools/gh.d.ts +27 -0
  220. package/dist/src/extensions/code/extension/tools/gh.js +1 -0
  221. package/dist/src/extensions/code/extension/tools/grep.d.ts +28 -0
  222. package/dist/src/extensions/code/extension/tools/grep.js +1 -0
  223. package/dist/src/extensions/code/tools.d.ts +4 -0
  224. package/dist/src/extensions/code/tools.js +1 -0
  225. package/dist/src/harness/compaction.js +1 -1
  226. package/dist/src/harness/final-output.js +1 -1
  227. package/dist/src/harness/input-extraction.js +1 -1
  228. package/dist/src/harness/tool-loop.js +2 -2
  229. package/dist/src/harness/tools.js +1 -1
  230. package/dist/src/internal/application/optional-package-import.d.ts +9 -0
  231. package/dist/src/internal/application/optional-package-import.js +1 -0
  232. package/dist/src/internal/application/optional-package-install.d.ts +1 -5
  233. package/dist/src/internal/application/optional-package-install.js +2 -2
  234. package/dist/src/internal/application/package.js +1 -1
  235. package/dist/src/node_modules/.pnpm/@vercel_cli-config@0.2.7/node_modules/@vercel/cli-config/dist/index.js +21 -0
  236. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/envpath.js +1 -0
  237. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/errors.js +2 -0
  238. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/errutils.js +1 -0
  239. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/exec.js +1 -0
  240. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/fsutils.js +1 -0
  241. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/index.js +1 -0
  242. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/lookup.js +1 -0
  243. package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/safety.js +1 -0
  244. 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
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. 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
  251. 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
  252. 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
  253. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/auth-errors.js +1 -0
  254. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/exchange-vercel-oidc-token.js +1 -0
  255. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-context.js +1 -0
  256. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-vercel-oidc-token-sync.js +1 -0
  257. 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
  258. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/index.js +1 -0
  259. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/oauth.js +1 -0
  260. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-error.js +1 -0
  261. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-io.js +1 -0
  262. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-util.js +2 -0
  263. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token.js +1 -0
  264. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/verify-vercel-oidc-token.js +1 -0
  265. package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/version.js +1 -0
  266. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js +1 -0
  267. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js +1 -0
  268. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js +1 -0
  269. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js +1 -0
  270. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js +1 -0
  271. package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js +1 -0
  272. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js +1 -0
  273. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js +1 -0
  274. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js +2 -0
  275. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js +1 -0
  276. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js +1 -0
  277. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js +1 -0
  278. package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js +1 -0
  279. package/dist/src/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js +1 -0
  280. package/dist/src/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js +1 -0
  281. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/core.js +1 -0
  282. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.js +1 -0
  283. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/realtime.js +1 -0
  284. package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/signals.js +1 -0
  285. package/dist/src/node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js +1 -0
  286. package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js +1 -0
  287. package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js +1 -0
  288. package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js +1 -0
  289. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/index.js +1 -0
  290. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/compact/decrypt.js +1 -0
  291. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/compact/encrypt.js +1 -0
  292. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/flattened/decrypt.js +1 -0
  293. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/flattened/encrypt.js +1 -0
  294. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/general/decrypt.js +1 -0
  295. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/general/encrypt.js +1 -0
  296. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwk/embedded.js +1 -0
  297. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwk/thumbprint.js +1 -0
  298. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwks/local.js +1 -0
  299. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwks/remote.js +1 -0
  300. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/compact/sign.js +1 -0
  301. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/compact/verify.js +1 -0
  302. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/flattened/sign.js +1 -0
  303. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/flattened/verify.js +1 -0
  304. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/general/sign.js +1 -0
  305. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/general/verify.js +1 -0
  306. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/decrypt.js +1 -0
  307. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/encrypt.js +1 -0
  308. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/produce.js +1 -0
  309. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/sign.js +1 -0
  310. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/unsecured.js +1 -0
  311. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/verify.js +1 -0
  312. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/export.js +1 -0
  313. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/generate_key_pair.js +1 -0
  314. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/generate_secret.js +1 -0
  315. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/import.js +1 -0
  316. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/aesgcmkw.js +1 -0
  317. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/buffer_utils.js +1 -0
  318. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/cek.js +1 -0
  319. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_iv_length.js +1 -0
  320. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_key_type.js +1 -0
  321. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_p2s.js +1 -0
  322. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/crypto_key.js +1 -0
  323. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/decrypt_key_management.js +1 -0
  324. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/encrypt_key_management.js +1 -0
  325. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/epoch.js +1 -0
  326. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/invalid_key_input.js +1 -0
  327. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_disjoint.js +1 -0
  328. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_jwk.js +1 -0
  329. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_object.js +1 -0
  330. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/iv.js +1 -0
  331. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/jwt_claims_set.js +1 -0
  332. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/private_symbols.js +1 -0
  333. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/secs.js +1 -0
  334. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/validate_algorithms.js +1 -0
  335. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/validate_crit.js +1 -0
  336. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/aeskw.js +1 -0
  337. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/asn1.js +1 -0
  338. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/base64url.js +1 -0
  339. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/cbc_tag.js +1 -0
  340. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/check_cek_length.js +1 -0
  341. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/check_key_length.js +1 -0
  342. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/ciphers.js +1 -0
  343. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/decrypt.js +1 -0
  344. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/digest.js +1 -0
  345. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/dsa_digest.js +1 -0
  346. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/ecdhes.js +1 -0
  347. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/encrypt.js +1 -0
  348. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/fetch_jwks.js +1 -0
  349. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/generate.js +1 -0
  350. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/get_named_curve.js +1 -0
  351. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/get_sign_verify_key.js +1 -0
  352. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/hmac_digest.js +1 -0
  353. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/is_key_like.js +1 -0
  354. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/is_key_object.js +1 -0
  355. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/jwk_to_key.js +1 -0
  356. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/key_to_jwk.js +1 -0
  357. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/node_key.js +1 -0
  358. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/normalize_key.js +1 -0
  359. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/pbes2kw.js +1 -0
  360. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/random.js +1 -0
  361. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/rsaes.js +1 -0
  362. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/runtime.js +1 -0
  363. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/sign.js +1 -0
  364. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/timing_safe_equal.js +1 -0
  365. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/verify.js +1 -0
  366. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/webcrypto.js +1 -0
  367. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/base64url.js +1 -0
  368. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/decode_jwt.js +1 -0
  369. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/decode_protected_header.js +1 -0
  370. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/errors.js +1 -0
  371. package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/runtime.js +1 -0
  372. package/dist/src/node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js +1 -0
  373. package/dist/src/node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js +1 -0
  374. package/dist/src/node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js +1 -0
  375. package/dist/src/node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js +1 -0
  376. package/dist/src/node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js +1 -0
  377. package/dist/src/node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js +1 -0
  378. package/dist/src/node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js +1 -0
  379. package/dist/src/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js +1 -0
  380. package/dist/src/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js +1 -0
  381. package/dist/src/node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js +2 -0
  382. package/dist/src/node_modules/.pnpm/which@2.0.2/node_modules/which/which.js +1 -0
  383. package/dist/src/public/channels/github/checkout.d.ts +7 -2
  384. package/dist/src/public/channels/github/checkout.js +1 -1
  385. package/dist/src/public/channels/github/defaults.js +1 -1
  386. package/dist/src/public/channels/slack/api-errors.d.ts +33 -0
  387. package/dist/src/public/channels/slack/api-errors.js +1 -0
  388. package/dist/src/public/channels/slack/api.js +1 -1
  389. package/dist/src/public/channels/slack/interaction-cards.js +1 -1
  390. package/dist/src/public/channels/slack/interactions.js +1 -1
  391. package/dist/src/public/definitions/sandbox.d.ts +1 -1
  392. package/dist/src/public/memory/file/provider.js +1 -1
  393. package/dist/src/public/sandbox/docker.d.ts +7 -0
  394. package/dist/src/public/sandbox/index.d.ts +1 -1
  395. package/dist/src/public/sandbox/microsandbox.d.ts +7 -0
  396. package/dist/src/public/sandbox/vercel.d.ts +7 -0
  397. package/dist/src/public/skills/index.d.ts +1 -2
  398. package/dist/src/runtime/connections/mcp-client.d.ts +0 -7
  399. package/dist/src/runtime/connections/mcp-client.js +1 -1
  400. package/dist/src/runtime/connections/openapi-client.d.ts +0 -3
  401. package/dist/src/runtime/connections/openapi-client.js +1 -1
  402. package/dist/src/runtime/workspace/seed-files.js +1 -1
  403. package/dist/src/sandbox/providers/docker.d.ts +4 -4
  404. package/dist/src/sandbox/providers/just-bash.d.ts +2 -2
  405. package/dist/src/sandbox/providers/microsandbox.d.ts +4 -4
  406. package/dist/src/sandbox/providers/vercel.d.ts +4 -3
  407. package/dist/src/sandbox/state.d.ts +2 -0
  408. package/dist/src/self-modification/config.d.ts +6 -0
  409. package/dist/src/self-modification/extension/config-schema.d.ts +25 -0
  410. package/dist/src/self-modification/extension/config-schema.js +1 -0
  411. package/dist/src/self-modification/extension/extension.d.ts +3 -47
  412. package/dist/src/self-modification/extension/extension.js +1 -1
  413. package/dist/src/self-modification/extension/subagents/agent/tools/registry_add.js +1 -1
  414. package/dist/src/self-modification/git-workspace.d.ts +5 -1
  415. package/dist/src/self-modification/git.d.ts +5 -1
  416. package/dist/src/services/dev-client/request-headers.d.ts +1 -1
  417. package/dist/src/services/dev-client/request-headers.js +1 -1
  418. package/dist/src/setup/flows/model.d.ts +0 -108
  419. package/dist/src/setup/flows/model.js +1 -1
  420. package/dist/src/setup/integrations/discord/api.js +1 -1
  421. package/dist/src/setup/integrations/discord/connect.js +1 -1
  422. package/dist/src/setup/integrations/github/connect.js +1 -1
  423. package/dist/src/setup/integrations/linear/connect.js +1 -1
  424. package/dist/src/setup/integrations/linq/connect.js +1 -1
  425. package/dist/src/setup/integrations/photon/connect.js +1 -1
  426. package/dist/src/setup/integrations/teams/connect.js +1 -1
  427. package/dist/src/setup/project-resolution.js +1 -1
  428. package/dist/src/setup/scaffold/create/project.js +1 -1
  429. package/dist/src/setup/slack-connect.d.ts +1 -1
  430. package/dist/src/setup/slack-connect.js +1 -1
  431. package/dist/src/setup/vercel-api-failure.js +1 -1
  432. package/dist/src/setup/vercel-deployment.js +1 -1
  433. package/dist/src/setup/vercel-project-api.d.ts +1 -1
  434. package/dist/src/setup/vercel-project-api.js +1 -1
  435. package/dist/src/setup/vercel-project-framework.js +1 -1
  436. package/dist/src/setup/vercel-project.js +0 -0
  437. package/dist/src/shared/connection-types.d.ts +0 -2
  438. package/dist/src/shared/sandbox-network-policy.d.ts +5 -4
  439. package/dist/src/shared/sandbox-session.d.ts +0 -15
  440. package/dist/src/shared/skill-package.d.ts +3 -0
  441. package/dist/src/shared/skill-package.js +1 -1
  442. package/dist/src/svelte/index.js +1 -1
  443. package/dist/src/svelte/use-eve-agent.js +1 -1
  444. package/dist/src/tasks/json.d.ts +72 -2
  445. package/dist/src/tasks/json.js +1 -1
  446. package/dist/src/tools/framework/agent-contract.d.ts +7 -6
  447. package/dist/src/tools/framework/agent-contract.js +1 -1
  448. package/dist/src/tools/framework/agent.d.ts +4 -13
  449. package/dist/src/tools/framework/task-cancel.d.ts +1 -17
  450. package/dist/src/tools/framework/task-contract.d.ts +16 -137
  451. package/dist/src/tools/framework/task-contract.js +1 -1
  452. package/dist/src/tools/provided/bash.d.ts +11 -12
  453. package/dist/src/tools/provided/bash.js +1 -1
  454. package/dist/src/tools/provided/glob.d.ts +13 -14
  455. package/dist/src/tools/provided/glob.js +1 -1
  456. package/dist/src/tools/provided/grep.d.ts +17 -18
  457. package/dist/src/tools/provided/grep.js +1 -1
  458. package/dist/src/tools/provided/read-file.d.ts +14 -15
  459. package/dist/src/tools/provided/read-file.js +1 -1
  460. package/dist/src/tools/provided/web-fetch.d.ts +13 -18
  461. package/dist/src/tools/provided/web-fetch.js +1 -1
  462. package/dist/src/tools/provided/workflow.js +1 -1
  463. package/dist/src/tools/provided/write-file.d.ts +10 -11
  464. package/dist/src/tools/provided/write-file.js +1 -1
  465. package/dist/src/tools/schema.d.ts +40 -10
  466. package/dist/src/tools/schema.js +1 -1
  467. package/dist/src/vue/index.js +1 -1
  468. package/dist/src/vue/use-eve-agent.js +1 -1
  469. package/docs/README.md +1 -1
  470. package/docs/channels/slack.mdx +1 -1
  471. package/docs/connections/overview.mdx +1 -1
  472. package/docs/extensions.md +4 -0
  473. package/docs/getting-started.mdx +1 -1
  474. package/docs/guides/deployment/vercel.mdx +6 -0
  475. package/docs/guides/dev-tui.md +1 -1
  476. package/docs/guides/dynamic-capabilities.md +2 -0
  477. package/docs/guides/hooks.md +6 -3
  478. package/docs/guides/instrumentation/agent-runs.mdx +101 -0
  479. package/docs/guides/instrumentation/instrumentation.mdx +2 -1
  480. package/docs/guides/instrumentation/meta.json +1 -1
  481. package/docs/guides/instrumentation/migration.md +5 -1
  482. package/docs/guides/instrumentation/otel.mdx +8 -27
  483. package/docs/guides/self-modification.md +37 -0
  484. package/docs/guides/session-context.md +11 -13
  485. package/docs/install-integrations.mdx +1 -1
  486. package/docs/meta.json +1 -0
  487. package/docs/reference/cli.md +1 -1
  488. package/docs/reference/typescript-api.md +1 -2
  489. package/docs/sandbox/index.mdx +11 -0
  490. package/docs/skills.mdx +3 -10
  491. package/docs/subagents/index.mdx +1 -1
  492. package/docs/tools/overview.mdx +7 -1
  493. package/docs/tools/workflows.mdx +1 -1
  494. package/package.json +30 -1
  495. package/dist/src/cli/dev/tui/model-picker.d.ts +0 -50
  496. package/dist/src/cli/dev/tui/model-picker.js +0 -1
  497. package/dist/src/compiled/_chunks/client/errors-Cd0_QQdM.js +0 -2
  498. package/dist/src/compiled/_chunks/node/auth-DDrvYko5.js +0 -2
  499. package/dist/src/compiled/_chunks/node/schemas-g-rLPCNX.js +0 -50
  500. package/dist/src/compiled/_chunks/workflow/coerce-D0oqvQ_w.js +0 -1
  501. package/dist/src/compiled/_chunks/workflow/dist-DjECvUyK.js +0 -2
  502. package/dist/src/compiled/_chunks/workflow/frames-D_Q-7A1N.js +0 -3
  503. package/dist/src/compiled/_chunks/workflow/resume-hook-BhA_nDEV.js +0 -1
  504. package/dist/src/compiled/_chunks/workflow/schemas-4CmFgxN_.js +0 -50
  505. package/dist/src/compiled/_chunks/workflow/sleep-DB4AH9-A.js +0 -1
  506. package/dist/src/compiled/_chunks/workflow/token-util-pP4KRRl0.js +0 -27
  507. package/dist/src/compiled/_chunks/workflow/ws-transport-BpTMh40s.js +0 -1
  508. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/lib/primitives.js +0 -1
  509. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/lib/schemas.js +0 -1
  510. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/aclaction.js +0 -1
  511. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/sdkvalidationerror.js +0 -1
  512. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/updateprojectblock.js +0 -1
  513. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/updateprojectprojectsbranchmatcher.js +0 -1
  514. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/defaultToZeroValue.js +0 -1
  515. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/fp.js +0 -1
  516. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/primitives.js +0 -1
  517. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/rfcdate.js +0 -1
  518. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/smartUnion.js +0 -1
  519. package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/unrecognized.js +0 -1
  520. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/index.js +0 -1
  521. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/ZodError.js +0 -1
  522. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/errors.js +0 -1
  523. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/external.js +0 -1
  524. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/errorUtil.js +0 -1
  525. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/parseUtil.js +0 -1
  526. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  527. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/util.js +0 -1
  528. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/index.js +0 -1
  529. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/locales/en.js +0 -1
  530. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/types.js +0 -1
  531. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/checks.js +0 -1
  532. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/coerce.js +0 -1
  533. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/compat.js +0 -1
  534. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/deep-partial.js +0 -1
  535. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/errors.js +0 -1
  536. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/external.js +0 -1
  537. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/from-json-schema.js +0 -1
  538. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/in-out.js +0 -1
  539. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/iso.js +0 -1
  540. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/parse.js +0 -1
  541. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/schemas.js +0 -1
  542. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/api.js +0 -1
  543. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/checks.js +0 -1
  544. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/compile.js +0 -2
  545. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/core.js +0 -1
  546. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/doc.js +0 -3
  547. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/errors.js +0 -2
  548. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/index.js +0 -1
  549. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema-generator.js +0 -1
  550. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema-processors.js +0 -1
  551. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema.js +0 -1
  552. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/memoizer.js +0 -1
  553. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/parse.js +0 -1
  554. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/regexes.js +0 -1
  555. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/registries.js +0 -1
  556. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/schemas.js +0 -46
  557. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/to-json-schema.js +0 -3
  558. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/util.js +0 -1
  559. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/versions.js +0 -1
  560. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/visit.js +0 -1
  561. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ar.js +0 -1
  562. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/az.js +0 -1
  563. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/be.js +0 -1
  564. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/bg.js +0 -1
  565. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/bn.js +0 -1
  566. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ca.js +0 -1
  567. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ckb.js +0 -1
  568. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/cs.js +0 -1
  569. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/da.js +0 -1
  570. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/de.js +0 -1
  571. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/el.js +0 -1
  572. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/en.js +0 -1
  573. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/eo.js +0 -1
  574. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/es.js +0 -1
  575. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fa.js +0 -1
  576. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fi.js +0 -1
  577. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fr-CA.js +0 -1
  578. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fr.js +0 -1
  579. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/gu.js +0 -1
  580. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/he.js +0 -1
  581. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hi.js +0 -1
  582. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hr.js +0 -1
  583. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hu.js +0 -1
  584. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hy.js +0 -1
  585. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/id.js +0 -1
  586. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/index.js +0 -1
  587. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/is.js +0 -1
  588. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/it.js +0 -1
  589. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ja.js +0 -1
  590. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ka.js +0 -1
  591. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/kh.js +0 -1
  592. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/km.js +0 -1
  593. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/kn.js +0 -1
  594. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ko.js +0 -1
  595. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/lt.js +0 -1
  596. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/mk.js +0 -1
  597. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ms.js +0 -1
  598. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ne.js +0 -1
  599. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/nl.js +0 -1
  600. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/nn.js +0 -1
  601. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/no.js +0 -1
  602. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ota.js +0 -1
  603. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pl.js +0 -1
  604. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ps.js +0 -1
  605. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pt-BR.js +0 -1
  606. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pt.js +0 -1
  607. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ro.js +0 -1
  608. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ru.js +0 -1
  609. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sk.js +0 -1
  610. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sl.js +0 -1
  611. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sv.js +0 -1
  612. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ta.js +0 -1
  613. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/th.js +0 -1
  614. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/tk.js +0 -1
  615. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/tr.js +0 -1
  616. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ua.js +0 -1
  617. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/uk.js +0 -1
  618. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ur.js +0 -1
  619. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/uz.js +0 -1
  620. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/vi.js +0 -1
  621. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/yo.js +0 -1
  622. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/zh-CN.js +0 -1
  623. package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/zh-TW.js +0 -1
  624. package/dist/src/runtime/skills/sandbox-access.d.ts +0 -22
  625. package/dist/src/runtime/skills/sandbox-access.js +0 -1
  626. package/dist/src/shared/skill-types.d.ts +0 -22
  627. package/dist/src/shared/skill-types.js +0 -1
@@ -1,21 +1,16 @@
1
- import { z } from "#compiled/zod/index.js";
2
1
  import { type ToolDefinition } from "#tools/definition.js";
3
- export declare const WEB_FETCH_INPUT_SCHEMA: z.ZodObject<{
4
- format: z.ZodOptional<z.ZodEnum<{
5
- html: "html";
6
- markdown: "markdown";
7
- text: "text";
8
- }>>;
9
- timeout: z.ZodOptional<z.ZodNumber>;
10
- url: z.ZodString;
11
- }, z.core.$strict>;
12
- export declare const WEB_FETCH_OUTPUT_SCHEMA: z.ZodObject<{
13
- content: z.ZodString;
14
- contentType: z.ZodString;
15
- truncated: z.ZodBoolean;
16
- url: z.ZodString;
17
- }, z.core.$strict>;
18
- export type WebFetchToolInput = z.infer<typeof WEB_FETCH_INPUT_SCHEMA>;
19
- export type WebFetchToolOutput = z.infer<typeof WEB_FETCH_OUTPUT_SCHEMA>;
2
+ export interface WebFetchToolInput {
3
+ format?: "markdown" | "text" | "html";
4
+ timeout?: number;
5
+ url: string;
6
+ }
7
+ export interface WebFetchToolOutput {
8
+ content: string;
9
+ contentType: string;
10
+ truncated: boolean;
11
+ url: string;
12
+ }
13
+ export declare const WEB_FETCH_INPUT_SCHEMA: import("#tools/schema.js").ToolSchema<WebFetchToolInput, WebFetchToolInput>;
14
+ export declare const WEB_FETCH_OUTPUT_SCHEMA: import("#tools/schema.js").ToolSchema<WebFetchToolOutput, WebFetchToolOutput>;
20
15
  export declare const webFetch: ToolDefinition<WebFetchToolInput, WebFetchToolOutput>;
21
16
  export default webFetch;
@@ -1,2 +1,2 @@
1
- import{z}from"#compiled/zod/index.js";import{defineTool}from"#tools/definition.js";import{toolLabel}from"#tools/tool-label.js";import{executeWebFetchTool}from"#execution/web-fetch/execute.js";const WEB_FETCH_INPUT_SCHEMA=z.strictObject({format:z.enum([`markdown`,`text`,`html`]).describe(`The format to return the content in (text, markdown, or html). HTML responses are automatically converted to the requested format. Defaults to "markdown".`).optional(),timeout:z.number().describe(`Optional timeout in seconds. Defaults to 30, max 120.`).optional(),url:z.string().describe(`The fully-formed URL to fetch content from. Must start with https://.`)}),WEB_FETCH_OUTPUT_SCHEMA=z.strictObject({content:z.string(),contentType:z.string(),truncated:z.boolean(),url:z.string()}),webFetch=defineTool({label:{start:e=>toolLabel(`Fetch`,e.url)},description:[`Fetch a webpage and return its content in the requested format. Use this to retrieve and analyze content from URLs.`,``,`Usage notes:`,`- The URL must be a fully-formed valid URL starting with https://`,`- HTML responses are automatically converted to markdown or plain text based on the requested format`,`- Format options: "markdown" (default), "text", or "html"`,`- Default timeout is 30 seconds (max 120 seconds)`,`- Maximum response size is 5 MB; content is further capped at the shared tool-output budget (50 KB / 2000 lines)`,`- This tool is read-only and does not modify any files`].join(`
1
+ import{defineJsonSchema}from"#tools/schema.js";import{defineTool}from"#tools/definition.js";import{toolLabel}from"#tools/tool-label.js";import{executeWebFetchTool}from"#execution/web-fetch/execute.js";const WEB_FETCH_INPUT_SCHEMA=defineJsonSchema({type:`object`,properties:{format:{type:`string`,enum:[`markdown`,`text`,`html`],description:`The format to return the content in (text, markdown, or html). HTML responses are automatically converted to the requested format. Defaults to "markdown".`},timeout:{type:`number`,description:`Optional timeout in seconds. Defaults to 30, max 120.`},url:{type:`string`,description:`The fully-formed URL to fetch content from. Must start with https://.`}},required:[`url`],additionalProperties:!1}),WEB_FETCH_OUTPUT_SCHEMA=defineJsonSchema({type:`object`,properties:{content:{type:`string`},contentType:{type:`string`},truncated:{type:`boolean`},url:{type:`string`}},required:[`content`,`contentType`,`truncated`,`url`],additionalProperties:!1}),webFetch=defineTool({label:{start:e=>toolLabel(`Fetch`,e.url)},description:[`Fetch a webpage and return its content in the requested format. Use this to retrieve and analyze content from URLs.`,``,`Usage notes:`,`- The URL must be a fully-formed valid URL starting with https://`,`- HTML responses are automatically converted to markdown or plain text based on the requested format`,`- Format options: "markdown" (default), "text", or "html"`,`- Default timeout is 30 seconds (max 120 seconds)`,`- Maximum response size is 5 MB; content is further capped at the shared tool-output budget (50 KB / 2000 lines)`,`- This tool is read-only and does not modify any files`].join(`
2
2
  `),async execute(e,t){return await executeWebFetchTool(e,{abortSignal:t.abortSignal})},inputSchema:WEB_FETCH_INPUT_SCHEMA,outputSchema:WEB_FETCH_OUTPUT_SCHEMA});export{WEB_FETCH_INPUT_SCHEMA,WEB_FETCH_OUTPUT_SCHEMA,webFetch as default,webFetch};
@@ -1 +1 @@
1
- import{z}from"#compiled/zod/index.js";import{defineWorkflowTool}from"#tools/workflow-definition.js";import{DEFAULT_WORKFLOW_PROGRAM_MAX_SUBAGENTS,parseWorkflowProgramOptions}from"#execution/dynamic-workflow/schema.js";import{attachWorkflowProgramOptions}from"#tools/workflow-program-input.js";import{executeWorkflowProgram}from"#execution/dynamic-workflow/tool.js";const workflowProgramAgentContract=`Call ctx.agent(name, { message: string, agentId?: string, outputSchema?: object }). It resolves directly to the child's JSON-serializable output; when outputSchema is provided, the output matches that schema. It does not return an agent metadata wrapper. Use an agentId from the conversation's <agents> block to continue that child. The owning agent resolves the target and applies its existing availability and authorization checks.`,workflowInputSchema=z.strictObject({js:z.string().describe(`JavaScript statements executed inside an async function. Supply only the body, without a surrounding function declaration or arrow function. ${workflowProgramAgentContract} Return one JSON-serializable value.`)});function workflow(e={}){let t=normalizeWorkflowToolOptions(e),n=[`Run an async JavaScript function body that invokes agents and returns one JSON-serializable value.`,workflowProgramAgentContract,`Supply the body directly, for example: return await ctx.agent("researcher", { message: "Describe the task" });`,`The program may invoke at most ${String(t.maxSubagents)} agents.`].join(` `);return attachWorkflowProgramOptions(defineWorkflowTool({description:n,execute:executeWorkflowProgram,inputSchema:workflowInputSchema}),t)}function normalizeWorkflowToolOptions(e){if(typeof e!=`object`||!e)throw TypeError(`workflow options must be an object.`);return parseWorkflowProgramOptions({maxSubagents:e.maxSubagents??DEFAULT_WORKFLOW_PROGRAM_MAX_SUBAGENTS})}export{workflow};
1
+ import{defineJsonSchema}from"#tools/schema.js";import{defineWorkflowTool}from"#tools/workflow-definition.js";import{DEFAULT_WORKFLOW_PROGRAM_MAX_SUBAGENTS,parseWorkflowProgramOptions}from"#execution/dynamic-workflow/schema.js";import{attachWorkflowProgramOptions}from"#tools/workflow-program-input.js";import{executeWorkflowProgram}from"#execution/dynamic-workflow/tool.js";const workflowProgramAgentContract=`Call ctx.agent(name, { message: string, agentId?: string, outputSchema?: object }). It resolves directly to the child's JSON-serializable output; when outputSchema is provided, the output matches that schema. It does not return an agent metadata wrapper. Use an agentId from the conversation's <agents> block to continue that child. The owning agent resolves the target and applies its existing availability and authorization checks.`,workflowInputSchema=defineJsonSchema({type:`object`,properties:{js:{type:`string`,description:`JavaScript statements executed inside an async function. Supply only the body, without a surrounding function declaration or arrow function. ${workflowProgramAgentContract} Return one JSON-serializable value.`}},required:[`js`],additionalProperties:!1});function workflow(e={}){let t=normalizeWorkflowToolOptions(e),n=[`Run an async JavaScript function body that invokes agents and returns one JSON-serializable value.`,workflowProgramAgentContract,`Supply the body directly, for example: return await ctx.agent("researcher", { message: "Describe the task" });`,`The program may invoke at most ${String(t.maxSubagents)} agents.`].join(` `);return attachWorkflowProgramOptions(defineWorkflowTool({description:n,execute:executeWorkflowProgram,inputSchema:workflowInputSchema}),t)}function normalizeWorkflowToolOptions(e){if(typeof e!=`object`||!e)throw TypeError(`workflow options must be an object.`);return parseWorkflowProgramOptions({maxSubagents:e.maxSubagents??DEFAULT_WORKFLOW_PROGRAM_MAX_SUBAGENTS})}export{workflow};
@@ -1,21 +1,20 @@
1
- import { z } from "#compiled/zod/index.js";
2
1
  import { type ToolDefinition } from "#tools/definition.js";
2
+ export interface WriteFileToolInput {
3
+ content: string;
4
+ filePath: string;
5
+ }
6
+ export interface WriteFileToolOutput {
7
+ existed: boolean;
8
+ path: string;
9
+ }
3
10
  /**
4
11
  * Input schema for the provided `write_file` tool.
5
12
  */
6
- export declare const WRITE_FILE_INPUT_SCHEMA: z.ZodObject<{
7
- content: z.ZodString;
8
- filePath: z.ZodString;
9
- }, z.core.$strict>;
13
+ export declare const WRITE_FILE_INPUT_SCHEMA: import("#tools/schema.js").ToolSchema<WriteFileToolInput, WriteFileToolInput>;
10
14
  /**
11
15
  * Output schema for the provided `write_file` tool.
12
16
  */
13
- export declare const WRITE_FILE_OUTPUT_SCHEMA: z.ZodObject<{
14
- existed: z.ZodBoolean;
15
- path: z.ZodString;
16
- }, z.core.$strict>;
17
- export type WriteFileToolInput = z.infer<typeof WRITE_FILE_INPUT_SCHEMA>;
18
- export type WriteFileToolOutput = z.infer<typeof WRITE_FILE_OUTPUT_SCHEMA>;
17
+ export declare const WRITE_FILE_OUTPUT_SCHEMA: import("#tools/schema.js").ToolSchema<WriteFileToolOutput, WriteFileToolOutput>;
19
18
  /**
20
19
  * Framework-owned executor that delegates to the default sandbox.
21
20
  */
@@ -1,2 +1,2 @@
1
- import{z}from"#compiled/zod/index.js";import{defineTool}from"#tools/definition.js";import{toolLabel}from"#tools/tool-label.js";import{executeWriteFileOnSandbox}from"#execution/sandbox/write-file.js";const WRITE_FILE_INPUT_SCHEMA=z.strictObject({content:z.string().describe(`Complete replacement file contents.`),filePath:z.string().describe(`The absolute path to the file to write. A leading $HOME is supported.`)}),WRITE_FILE_OUTPUT_SCHEMA=z.strictObject({existed:z.boolean(),path:z.string()}),writeFile=defineTool({label:{start:e=>toolLabel(`Write`,e.filePath)},description:[`Writes a file to the local filesystem.`,``,`Usage:`,`- This tool will overwrite the existing file if there is one at the provided path.`,`- If this is an existing file, you MUST use the read_file tool first to read the file's contents. This tool will fail if you did not read the file first.`,`- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.`,`- NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested by the User.`,`- Only use emojis if the user explicitly requests it. Avoid writing emojis to files unless asked.`].join(`
1
+ import{defineJsonSchema}from"#tools/schema.js";import{defineTool}from"#tools/definition.js";import{toolLabel}from"#tools/tool-label.js";import{executeWriteFileOnSandbox}from"#execution/sandbox/write-file.js";const WRITE_FILE_INPUT_SCHEMA=defineJsonSchema({type:`object`,properties:{content:{type:`string`,description:`Complete replacement file contents.`},filePath:{type:`string`,description:`The absolute path to the file to write. A leading $HOME is supported.`}},required:[`content`,`filePath`],additionalProperties:!1}),WRITE_FILE_OUTPUT_SCHEMA=defineJsonSchema({type:`object`,properties:{existed:{type:`boolean`},path:{type:`string`}},required:[`existed`,`path`],additionalProperties:!1}),writeFile=defineTool({label:{start:e=>toolLabel(`Write`,e.filePath)},description:[`Writes a file to the local filesystem.`,``,`Usage:`,`- This tool will overwrite the existing file if there is one at the provided path.`,`- If this is an existing file, you MUST use the read_file tool first to read the file's contents. This tool will fail if you did not read the file first.`,`- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.`,`- NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested by the User.`,`- Only use emojis if the user explicitly requests it. Avoid writing emojis to files unless asked.`].join(`
2
2
  `),async execute(e,t){return await executeWriteFileOnSandbox(await t.getSandbox(),e)},inputSchema:WRITE_FILE_INPUT_SCHEMA,outputSchema:WRITE_FILE_OUTPUT_SCHEMA});export{WRITE_FILE_INPUT_SCHEMA,WRITE_FILE_OUTPUT_SCHEMA,writeFile as default,writeFile};
@@ -1,9 +1,11 @@
1
+ import { type FlexibleSchema } from "ai";
1
2
  import type { StandardJSONSchemaV1, StandardSchemaV1 } from "#compiled/@standard-schema/spec/index.js";
2
3
  import { type JsonObject } from "#shared/json.js";
3
4
  /**
4
5
  * eve-owned schema contract for tool input and output schemas: a Standard
5
- * Schema validator that can also emit JSON Schema. Zod implements both
6
- * constituent protocols without exposing Zod through runtime-owned types.
6
+ * Schema validator that can also emit JSON Schema. Author schemas (Zod,
7
+ * Valibot, ArkType) implement it directly; plain JSON Schema data is lowered
8
+ * onto it by {@link defineJsonSchema}.
7
9
  */
8
10
  export type ToolSchema<Input = unknown, Output = Input> = StandardSchemaV1<Input, Output> & StandardJSONSchemaV1<Input, Output>;
9
11
  /**
@@ -13,22 +15,19 @@ export type ToolSchema<Input = unknown, Output = Input> = StandardSchemaV1<Input
13
15
  * conversion.
14
16
  */
15
17
  export type ToolSchemaSource = StandardJSONSchemaV1 | StandardSchemaV1 | Record<string, unknown>;
18
+ type SchemaDirection = "input" | "output";
16
19
  /** `null` and `undefined` pass through every conversion untouched. */
17
20
  type SchemaResult<TSource, TResult> = TSource extends null | undefined ? TSource : TResult;
18
21
  /**
19
22
  * Resolves a source into a live input {@link ToolSchema}. Live schemas pass
20
- * through unchanged; serialized JSON Schemas are rehydrated into vendored Zod
21
- * validators. Serialized schemas outside Zod's conversion subset degrade to a
22
- * validation-free schema that still advertises the source JSON Schema. `null`
23
- * and `undefined` pass through untouched.
23
+ * through unchanged; plain JSON Schema data becomes a {@link defineJsonSchema}
24
+ * schema. `null` and `undefined` pass through untouched.
24
25
  */
25
26
  export declare function toInputSchema<T extends ToolSchemaSource | null | undefined>(source: T): SchemaResult<T, ToolSchema>;
26
27
  /**
27
28
  * Resolves a source into a live output {@link ToolSchema}. Live schemas pass
28
- * through unchanged; serialized JSON Schemas are rehydrated into vendored Zod
29
- * validators. Serialized schemas outside Zod's conversion subset degrade to a
30
- * validation-free schema that still advertises the source JSON Schema. `null`
31
- * and `undefined` pass through untouched.
29
+ * through unchanged; plain JSON Schema data becomes a {@link defineJsonSchema}
30
+ * schema. `null` and `undefined` pass through untouched.
32
31
  */
33
32
  export declare function toOutputSchema<T extends ToolSchemaSource | null | undefined>(source: T): SchemaResult<T, ToolSchema>;
34
33
  /**
@@ -48,10 +47,41 @@ export declare function serializeOutputSchema<T extends ToolSchemaSource | null
48
47
  * Standard Schema validation plus JSON Schema emission.
49
48
  */
50
49
  export declare function isToolSchema(value: unknown): value is ToolSchema;
50
+ /**
51
+ * Builds a {@link ToolSchema} from plain JSON Schema data. The schema is
52
+ * advertised exactly as given, and values are validated against it with a
53
+ * JSON Schema 2020-12 validator that also accepts draft-07 constructs.
54
+ *
55
+ * `format` is treated as an annotation, as JSON Schema 2020-12 specifies by
56
+ * default. A valid value's omitted properties receive their `default` values.
57
+ * A schema the validator cannot evaluate faithfully (unknown `type`
58
+ * names, invalid `pattern` expressions, unresolvable `$ref`s) is still
59
+ * advertised, but its values pass through unvalidated; the tool's executor,
60
+ * such as a remote MCP server, remains the authority for its own contract.
61
+ *
62
+ * `check` runs after the JSON Schema accepts a value and reports a message
63
+ * for constraints JSON Schema cannot express.
64
+ */
65
+ export declare function defineJsonSchema<T = unknown>(schema: JsonObject, check?: (value: T) => string | undefined): ToolSchema<T>;
51
66
  /**
52
67
  * Permissive schema lowered onto model-visible tools whose definitions
53
68
  * declare no input schema. Accepts any input — an absent schema declares no
54
69
  * contract, so rejecting stray properties would only force needless retries.
55
70
  */
56
71
  export declare const UNSPECIFIED_INPUT_SCHEMA: ToolSchema;
72
+ /**
73
+ * Lowers a harness tool schema onto the AI SDK boundary.
74
+ *
75
+ * Every Standard Schema is wrapped in an AI SDK `jsonSchema()` schema whose
76
+ * JSON Schema and validation both come from the schema's own library. The
77
+ * AI SDK treats an existing `Schema` as final, so it never reaches for the
78
+ * app's `zod` copy to convert or parse a schema built by another copy — a
79
+ * mismatch that crashes JSON Schema conversion across Zod minor versions.
80
+ * AI SDK-native schemas (already wrapped, or lazy) pass through.
81
+ *
82
+ * Library schemas get the object closing the AI SDK applies to them itself;
83
+ * plain JSON Schema from {@link defineJsonSchema} is advertised as written.
84
+ */
85
+ export declare function toModelSchema(schema: FlexibleSchema, direction: SchemaDirection): FlexibleSchema;
86
+ export declare function toModelSchema(schema: FlexibleSchema | undefined, direction: SchemaDirection): FlexibleSchema | undefined;
57
87
  export {};
@@ -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-BIouJCii.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-BIouJCii.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
 
@@ -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
 
@@ -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
 
@@ -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.
@@ -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
@@ -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:
@@ -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`.
@@ -159,6 +159,7 @@ not depend on execution order. Use `flush` to drain buffered records and
159
159
  ## What to read next
160
160
 
161
161
  - [Migrate instrumentation](/docs/observability/instrumentation-migration): replace `agent/instrumentation.ts`.
162
- - [OpenTelemetry](/docs/observability/otel): configure OTel destinations and third-party exports.
162
+ - [OpenTelemetry](/docs/observability/otel): configure process-wide settings and third-party destinations.
163
+ - [Agent Runs](/docs/observability/agent-runs): configure Vercel's built-in trace destination.
163
164
  - [Local development](../guides/dev-tui): inspect local traces in the TUI
164
165
  - [Hooks](../guides/hooks): react to runtime events outside the instrumentation lifecycle
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "title": "Observability",
3
3
  "defaultOpen": false,
4
- "pages": ["instrumentation", "otel", "migration"]
4
+ "pages": ["instrumentation", "otel", "agent-runs", "migration"]
5
5
  }
@@ -89,4 +89,8 @@ see
89
89
  Run `eve build`. A remaining `agent/instrumentation.ts` fails the build with a
90
90
  message directing you to the instrumentation directory.
91
91
 
92
- Run the agent and verify each destination independently.
92
+ New eve deployments automatically sample 100% of requests. Existing Vercel
93
+ deployments need project sampling configured before you verify them. See
94
+ [Enable tracing on Vercel](/docs/observability/agent-runs#enable-tracing-on-vercel).
95
+
96
+ Then run the agent and verify each destination independently.
@@ -4,8 +4,8 @@ description: "Configure OpenTelemetry destinations, content capture, and third-p
4
4
  url: "/observability/otel"
5
5
  ---
6
6
 
7
- `eve dev` records local traces automatically. You do not need `otel()` or
8
- `localTraces()` to use this default.
7
+ `eve dev` records local traces by default. Use `otel()` for process-wide
8
+ settings and `otelIntegration()` for third-party destinations.
9
9
 
10
10
  ## Configure OpenTelemetry
11
11
 
@@ -128,6 +128,11 @@ import { disableInstrumentation } from "eve/instrumentation";
128
128
  export default disableInstrumentation();
129
129
  ```
130
130
 
131
+ ## Enable tracing on Vercel
132
+
133
+ For Agent Runs sampling defaults and existing-deployment setup, see
134
+ [Enable tracing on Vercel](./agent-runs#enable-tracing-on-vercel).
135
+
131
136
  ## Filter a destination
132
137
 
133
138
  `otelIntegration()` and `localTraces()` accept one
@@ -156,33 +161,9 @@ A throwing `span` callback drops the span from this destination. Return
156
161
  `{ replace: true, value }` from `attribute` to retain, remove, or change
157
162
  one attribute.
158
163
 
159
- ### Redact content from local traces
160
-
161
- Return a redaction decision to further narrow what the local trace destination
162
- receives after the process-wide `otel({ tracePolicy })` has admitted a trace.
163
- For example, keep spans in the local trace viewer while redacting their inputs
164
- and outputs unless the session is public:
165
-
166
- ```ts title="agent/instrumentation/local.ts"
167
- import { localTraces } from "eve/instrumentation/otel";
168
-
169
- export default localTraces({
170
- exportPolicy: {
171
- span: ({ audience }) =>
172
- audience === "public" ? { emit: true } : { redact: true, inputs: true, outputs: true },
173
- },
174
- });
175
- ```
176
-
177
- Input redaction removes eve's known prompt, instruction, document, and
178
- tool-argument attributes. Output redaction removes response, reasoning,
179
- tool-result, exception, and status attributes. Redaction narrows only this
180
- destination; it does not mutate spans sent to another destination. Policies run
181
- in array order, and each policy receives the facade produced by the policies
182
- before it.
183
-
184
164
  ## What to read next
185
165
 
186
166
  - [Instrumentation](/docs/observability/instrumentation): handle eve lifecycle events.
167
+ - [Agent Runs](./agent-runs): configure Vercel's built-in trace destination.
187
168
  - [Migrate instrumentation](/docs/observability/instrumentation-migration): replace `agent/instrumentation.ts`.
188
169
  - [Local development](../guides/dev-tui): inspect local traces in the TUI.
@@ -0,0 +1,37 @@
1
+ ---
2
+ title: "Self-Modification"
3
+ description: "Ask your agent to update its own instructions, tools, skills, and other authored files during local development."
4
+ ---
5
+
6
+ When `eve dev` starts a local server, it mounts the bundled self-modification extension by default. Ask your agent to change its instructions, tools, skills, or other files under `agent/`; eve delegates the source work to the `self-modification__agent` subagent. Connecting to an existing server with `eve dev <url>` does not add the bundled extension to that server.
7
+
8
+ The bundled extension is for local development and is not included in production builds.
9
+
10
+ ```bash
11
+ eve dev
12
+ ```
13
+
14
+ For example, ask the agent to add a reusable action:
15
+
16
+ ```text
17
+ Add a tool that converts temperatures between Celsius and Fahrenheit.
18
+ ```
19
+
20
+ The self-modification subagent changes the authored files in your project. Review the diff and test the new behavior as you would for any other source change. `eve dev` reloads changes while you work.
21
+
22
+ ## Run without self-modification
23
+
24
+ Pass `--no-default-extensions` when you do not want `eve dev` to mount bundled development extensions:
25
+
26
+ ```bash
27
+ eve dev --no-default-extensions
28
+ ```
29
+
30
+ This disables the complete bundled default set for that server, including self-modification. It does not remove files from your project or disable extensions that you have explicitly mounted under `agent/extensions/`.
31
+
32
+ ## What to read next
33
+
34
+ - [Terminal UI](./dev-tui): work with your agent locally.
35
+ - [Instructions](../instructions): define the agent's behavior.
36
+ - [Tools](../tools): add model-callable actions.
37
+ - [Skills](../skills): give the agent reusable procedures.