eve 0.6.0-beta.1 → 0.6.0-beta.10

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 (409) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/NOTICE +5 -0
  3. package/README.md +2 -2
  4. package/dist/docs/evals-v2-plan.md +939 -0
  5. package/dist/docs/public/README.md +1 -1
  6. package/dist/docs/public/advanced/auth-and-route-protection.md +1 -1
  7. package/dist/docs/public/advanced/dev-tui.md +16 -1
  8. package/dist/docs/public/advanced/evals.md +61 -24
  9. package/dist/docs/public/advanced/security-model.md +1 -1
  10. package/dist/docs/public/advanced/sessions-runs-and-streaming.md +1 -1
  11. package/dist/docs/public/agent-config.md +5 -2
  12. package/dist/docs/public/channels/eve.mdx +1 -1
  13. package/dist/docs/public/channels/slack.mdx +12 -0
  14. package/dist/docs/public/connections.mdx +21 -0
  15. package/dist/docs/public/getting-started.mdx +7 -7
  16. package/dist/docs/public/reference/cli.md +16 -10
  17. package/dist/docs/public/sandbox.mdx +3 -1
  18. package/dist/docs/public/tutorial/first-agent.mdx +1 -1
  19. package/dist/src/chunks/{use-eve-agent-9vL56Fjy.js → use-eve-agent-DCZbkLG7.js} +10 -0
  20. package/dist/src/chunks/{use-eve-agent-DTWI5Lji.js → use-eve-agent-DoheC4_o.js} +10 -0
  21. package/dist/src/cli/commands/channel-add-conflicts.d.ts +2 -2
  22. package/dist/src/cli/commands/channels.d.ts +9 -6
  23. package/dist/src/cli/commands/channels.js +1 -1
  24. package/dist/src/cli/commands/setup.d.ts +55 -0
  25. package/dist/src/cli/commands/setup.js +1 -0
  26. package/dist/src/cli/dev/repl/repl.js +1 -1
  27. package/dist/src/cli/dev/tui/agent-header.d.ts +26 -0
  28. package/dist/src/cli/dev/tui/agent-header.js +1 -0
  29. package/dist/src/cli/dev/tui/blocks.d.ts +72 -0
  30. package/dist/src/cli/dev/tui/blocks.js +6 -0
  31. package/dist/src/cli/dev/tui/errors.d.ts +52 -0
  32. package/dist/src/cli/dev/tui/errors.js +1 -0
  33. package/dist/src/cli/dev/tui/line-editor.d.ts +68 -0
  34. package/dist/src/cli/dev/tui/line-editor.js +1 -0
  35. package/dist/src/cli/dev/tui/live-region.d.ts +60 -0
  36. package/dist/src/cli/dev/tui/live-region.js +3 -0
  37. package/dist/src/cli/dev/tui/markdown.d.ts +0 -13
  38. package/dist/src/cli/dev/tui/runner.d.ts +77 -22
  39. package/dist/src/cli/dev/tui/runner.js +1 -1
  40. package/dist/src/cli/dev/tui/stream-format.d.ts +76 -0
  41. package/dist/src/cli/dev/tui/stream-format.js +2 -0
  42. package/dist/src/cli/dev/tui/terminal-renderer.d.ts +21 -69
  43. package/dist/src/cli/dev/tui/terminal-renderer.js +4 -12
  44. package/dist/src/cli/dev/tui/terminal-text.d.ts +6 -0
  45. package/dist/src/cli/dev/tui/terminal-text.js +1 -1
  46. package/dist/src/cli/dev/tui/test/index.d.ts +4 -3
  47. package/dist/src/cli/dev/tui/test/mock-terminal.d.ts +7 -0
  48. package/dist/src/cli/dev/tui/test/mock-terminal.js +2 -2
  49. package/dist/src/cli/dev/tui/theme.d.ts +95 -0
  50. package/dist/src/cli/dev/tui/theme.js +1 -0
  51. package/dist/src/cli/dev/tui/tool-format.d.ts +31 -0
  52. package/dist/src/cli/dev/tui/tool-format.js +2 -0
  53. package/dist/src/cli/dev/tui/tui.d.ts +9 -12
  54. package/dist/src/cli/run.d.ts +6 -4
  55. package/dist/src/cli/run.js +2 -2
  56. package/dist/src/client/client.d.ts +11 -1
  57. package/dist/src/client/client.js +1 -1
  58. package/dist/src/client/index.d.ts +1 -1
  59. package/dist/src/client/types.d.ts +161 -0
  60. package/dist/src/compiled/.vendor-stamp.json +2 -2
  61. package/dist/src/compiled/@workflow/core/index.js +1 -1
  62. package/dist/src/compiled/@workflow/core/private.d.ts +72 -0
  63. package/dist/src/compiled/@workflow/core/private.js +1 -1
  64. package/dist/src/compiled/@workflow/core/runtime/helpers.d.ts +8 -0
  65. package/dist/src/compiled/@workflow/core/runtime.js +27 -27
  66. package/dist/src/compiled/@workflow/core/serialization/encryption.d.ts +3 -2
  67. package/dist/src/compiled/@workflow/core/version.d.ts +1 -1
  68. package/dist/src/compiled/@workflow/core/workflow.js +1 -1
  69. package/dist/src/compiled/@workflow/errors/index.js +1 -1
  70. package/dist/src/compiled/_chunks/workflow/dist-6a3viBXZ.js +3 -0
  71. package/dist/src/compiled/_chunks/workflow/dist-D0jyrm7a.js +1 -0
  72. package/dist/src/compiled/_chunks/workflow/resume-hook-0Zk0zSvq.js +12 -0
  73. package/dist/src/compiled/_chunks/workflow/{sleep-CeJckNg2.js → sleep-DXZr2BgM.js} +1 -1
  74. package/dist/src/compiled/just-bash/index.d.ts +23 -0
  75. package/dist/src/compiler/artifacts.js +1 -1
  76. package/dist/src/compiler/normalize-agent-config.d.ts +0 -10
  77. package/dist/src/compiler/normalize-agent-config.js +1 -1
  78. package/dist/src/compiler/normalize-helpers.d.ts +1 -0
  79. package/dist/src/compiler/normalize-helpers.js +1 -1
  80. package/dist/src/compiler/normalize-sandbox.js +1 -1
  81. package/dist/src/compiler/normalize-subagent.js +1 -1
  82. package/dist/src/compiler/workspace-resources.js +1 -1
  83. package/dist/src/context/dynamic-tool-lifecycle.js +1 -1
  84. package/dist/src/discover/filesystem.js +1 -1
  85. package/dist/src/discover/skills.js +1 -1
  86. package/dist/src/discover/slots.js +1 -1
  87. package/dist/src/evals/checks/checks.d.ts +66 -0
  88. package/dist/src/evals/checks/checks.js +2 -0
  89. package/dist/src/evals/checks/index.d.ts +21 -0
  90. package/dist/src/evals/checks/index.js +1 -0
  91. package/dist/src/evals/checks/match.d.ts +68 -0
  92. package/dist/src/evals/checks/match.js +1 -0
  93. package/dist/src/evals/cli/eval.d.ts +9 -3
  94. package/dist/src/evals/cli/eval.js +1 -1
  95. package/dist/src/evals/define-eval-suite.d.ts +10 -8
  96. package/dist/src/evals/define-eval-suite.js +1 -1
  97. package/dist/src/evals/index.d.ts +2 -1
  98. package/dist/src/evals/runner/artifacts.js +1 -1
  99. package/dist/src/evals/runner/derive-run-facts.d.ts +17 -3
  100. package/dist/src/evals/runner/derive-run-facts.js +1 -1
  101. package/dist/src/evals/runner/execute-case.js +1 -1
  102. package/dist/src/evals/runner/execute-suite.d.ts +2 -2
  103. package/dist/src/evals/runner/execute-suite.js +1 -1
  104. package/dist/src/evals/runner/reporters/braintrust.js +1 -1
  105. package/dist/src/evals/runner/reporters/console.js +1 -1
  106. package/dist/src/evals/runner/verdict.d.ts +18 -0
  107. package/dist/src/evals/runner/verdict.js +1 -0
  108. package/dist/src/evals/scorers/autoevals.js +1 -1
  109. package/dist/src/evals/scorers/model-marker.d.ts +12 -0
  110. package/dist/src/evals/scorers/model-marker.js +1 -0
  111. package/dist/src/evals/scorers/run.d.ts +9 -3
  112. package/dist/src/evals/scorers/run.js +1 -1
  113. package/dist/src/evals/types.d.ts +121 -8
  114. package/dist/src/execution/eve-workflow-attributes.d.ts +7 -6
  115. package/dist/src/execution/eve-workflow-attributes.js +1 -1
  116. package/dist/src/execution/node-step.js +1 -1
  117. package/dist/src/execution/sandbox/bindings/local.d.ts +11 -0
  118. package/dist/src/execution/sandbox/bindings/local.js +1 -1
  119. package/dist/src/execution/tool-auth.d.ts +9 -5
  120. package/dist/src/execution/tool-auth.js +1 -1
  121. package/dist/src/harness/code-mode.js +1 -1
  122. package/dist/src/harness/model-call-error.d.ts +12 -0
  123. package/dist/src/harness/model-call-error.js +1 -1
  124. package/dist/src/harness/step-hooks.d.ts +5 -0
  125. package/dist/src/harness/step-hooks.js +1 -1
  126. package/dist/src/harness/tool-loop.js +1 -1
  127. package/dist/src/harness/tools.js +1 -1
  128. package/dist/src/internal/application/cache-metadata.js +1 -1
  129. package/dist/src/internal/application/compiled-artifacts.js +1 -1
  130. package/dist/src/internal/application/package.js +1 -1
  131. package/dist/src/internal/application/tsconfig-dependencies.d.ts +23 -0
  132. package/dist/src/internal/application/tsconfig-dependencies.js +1 -0
  133. package/dist/src/internal/nitro/dev-runtime-artifacts.d.ts +19 -3
  134. package/dist/src/internal/nitro/dev-runtime-artifacts.js +1 -1
  135. package/dist/src/internal/nitro/dev-runtime-source-snapshot-copy.d.ts +2 -0
  136. package/dist/src/internal/nitro/dev-runtime-source-snapshot-copy.js +1 -0
  137. package/dist/src/internal/nitro/dev-runtime-source-snapshot.d.ts +31 -0
  138. package/dist/src/internal/nitro/dev-runtime-source-snapshot.js +1 -0
  139. package/dist/src/internal/nitro/host/build-application.js +1 -1
  140. package/dist/src/internal/nitro/host/build-vercel-agent-summary.js +1 -1
  141. package/dist/src/internal/nitro/host/configure-nitro-routes.js +3 -3
  142. package/dist/src/internal/nitro/host/create-application-nitro.js +1 -1
  143. package/dist/src/internal/nitro/host/dev-authored-source-watcher.js +1 -1
  144. package/dist/src/internal/nitro/host/prepare-application-host.js +1 -1
  145. package/dist/src/internal/nitro/host/start-development-server.js +1 -1
  146. package/dist/src/internal/nitro/host/start-production-server.js +1 -1
  147. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +153 -73
  148. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.js +1 -6
  149. package/dist/src/internal/nitro/routes/index.js +1 -1
  150. package/dist/src/internal/nitro/routes/info.d.ts +11 -13
  151. package/dist/src/internal/nitro/routes/info.js +1 -1
  152. package/dist/src/internal/workflow-bundle/builder-support.js +1 -1
  153. package/dist/src/internal/workflow-bundle/builder.js +2 -2
  154. package/dist/src/internal/workflow-bundle/workflow-builders.js +1 -1
  155. package/dist/src/node_modules/.pnpm/@clack_core@1.3.1/node_modules/@clack/core/dist/index.js +5 -5
  156. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/index.js +1 -0
  157. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/checks.js +1 -0
  158. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js +1 -0
  159. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js +1 -0
  160. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js +1 -0
  161. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js +1 -0
  162. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.js +1 -0
  163. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js +1 -0
  164. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js +1 -0
  165. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js +1 -0
  166. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js +1 -0
  167. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js +1 -0
  168. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js +1 -0
  169. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js +3 -0
  170. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js +2 -0
  171. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js +1 -0
  172. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.js +1 -0
  173. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js +1 -0
  174. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js +1 -0
  175. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js +1 -0
  176. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js +1 -0
  177. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js +1 -0
  178. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js +60 -0
  179. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js +3 -0
  180. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js +1 -0
  181. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js +1 -0
  182. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.js +1 -0
  183. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/az.js +1 -0
  184. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/be.js +1 -0
  185. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/bg.js +1 -0
  186. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ca.js +1 -0
  187. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/cs.js +1 -0
  188. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/da.js +1 -0
  189. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/de.js +1 -0
  190. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/el.js +1 -0
  191. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js +1 -0
  192. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/eo.js +1 -0
  193. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/es.js +1 -0
  194. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fa.js +1 -0
  195. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fi.js +1 -0
  196. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.js +1 -0
  197. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr.js +1 -0
  198. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/he.js +1 -0
  199. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hr.js +1 -0
  200. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hu.js +1 -0
  201. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hy.js +1 -0
  202. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/id.js +1 -0
  203. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js +1 -0
  204. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/is.js +1 -0
  205. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/it.js +1 -0
  206. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ja.js +1 -0
  207. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ka.js +1 -0
  208. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/kh.js +1 -0
  209. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/km.js +1 -0
  210. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ko.js +1 -0
  211. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/lt.js +1 -0
  212. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/mk.js +1 -0
  213. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ms.js +1 -0
  214. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/nl.js +1 -0
  215. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/no.js +1 -0
  216. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ota.js +1 -0
  217. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pl.js +1 -0
  218. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ps.js +1 -0
  219. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pt.js +1 -0
  220. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ro.js +1 -0
  221. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ru.js +1 -0
  222. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sl.js +1 -0
  223. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sv.js +1 -0
  224. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ta.js +1 -0
  225. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/th.js +1 -0
  226. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/tr.js +1 -0
  227. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ua.js +1 -0
  228. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uk.js +1 -0
  229. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ur.js +1 -0
  230. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uz.js +1 -0
  231. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/vi.js +1 -0
  232. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/yo.js +1 -0
  233. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.js +1 -0
  234. package/dist/src/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.js +1 -0
  235. package/dist/src/protocol/routes.d.ts +4 -8
  236. package/dist/src/public/channels/eve.js +1 -1
  237. package/dist/src/public/channels/slack/api.d.ts +8 -0
  238. package/dist/src/public/channels/slack/api.js +1 -1
  239. package/dist/src/public/channels/slack/connections.d.ts +26 -18
  240. package/dist/src/public/channels/slack/connections.js +1 -1
  241. package/dist/src/public/channels/slack/defaults.d.ts +5 -2
  242. package/dist/src/public/channels/slack/defaults.js +1 -1
  243. package/dist/src/public/channels/slack/index.d.ts +1 -1
  244. package/dist/src/public/channels/slack/slackChannel.d.ts +65 -5
  245. package/dist/src/public/channels/slack/slackChannel.js +1 -1
  246. package/dist/src/public/next/server.js +1 -1
  247. package/dist/src/public/nuxt/dev-server.js +1 -1
  248. package/dist/src/public/sandbox/backends/local.d.ts +2 -3
  249. package/dist/src/public/sveltekit/dev-server.js +1 -1
  250. package/dist/src/runtime/agent/mock-model-adapter.js +3 -3
  251. package/dist/src/runtime/agent/mock-model-fixtures.d.ts +11 -0
  252. package/dist/src/runtime/agent/mock-model-fixtures.js +2 -0
  253. package/dist/src/runtime/connections/scoped-authorization.d.ts +14 -0
  254. package/dist/src/runtime/connections/scoped-authorization.js +1 -1
  255. package/dist/src/runtime/connections/types.d.ts +5 -8
  256. package/dist/src/runtime/connections/validate-authorization.js +1 -1
  257. package/dist/src/runtime/framework-channels/index.d.ts +1 -1
  258. package/dist/src/runtime/framework-tools/connection-search-dynamic.js +1 -1
  259. package/dist/src/runtime/resolve-agent-graph.js +1 -1
  260. package/dist/src/runtime/sandbox/keys.js +1 -1
  261. package/dist/src/services/inspect-application.js +1 -1
  262. package/dist/src/setup/append-env.d.ts +21 -0
  263. package/dist/src/setup/append-env.js +3 -0
  264. package/dist/src/setup/ask.d.ts +198 -0
  265. package/dist/src/setup/ask.js +1 -0
  266. package/dist/src/setup/boxes/add-channels.d.ts +96 -0
  267. package/dist/src/setup/boxes/add-channels.js +2 -0
  268. package/dist/src/setup/boxes/add-connections.d.ts +74 -0
  269. package/dist/src/setup/boxes/add-connections.js +1 -0
  270. package/dist/src/setup/boxes/apply-ai-gateway-credential.d.ts +28 -0
  271. package/dist/src/setup/boxes/apply-ai-gateway-credential.js +1 -0
  272. package/dist/src/setup/boxes/deploy-project.d.ts +60 -0
  273. package/dist/src/setup/boxes/deploy-project.js +1 -0
  274. package/dist/src/setup/boxes/detect-ai-gateway.d.ts +10 -0
  275. package/dist/src/setup/boxes/detect-ai-gateway.js +2 -0
  276. package/dist/src/setup/boxes/link-project.d.ts +33 -0
  277. package/dist/src/setup/boxes/link-project.js +1 -0
  278. package/dist/src/setup/boxes/preflight.d.ts +36 -0
  279. package/dist/src/setup/boxes/preflight.js +1 -0
  280. package/dist/src/setup/boxes/resolve-provisioning.d.ts +44 -0
  281. package/dist/src/setup/boxes/resolve-provisioning.js +1 -0
  282. package/dist/src/setup/boxes/resolve-target.d.ts +58 -0
  283. package/dist/src/setup/boxes/resolve-target.js +1 -0
  284. package/dist/src/setup/boxes/scaffold.d.ts +40 -0
  285. package/dist/src/setup/boxes/scaffold.js +1 -0
  286. package/dist/src/setup/boxes/select-channels.d.ts +47 -0
  287. package/dist/src/setup/boxes/select-channels.js +1 -0
  288. package/dist/src/setup/boxes/select-chat.d.ts +38 -0
  289. package/dist/src/setup/boxes/select-chat.js +1 -0
  290. package/dist/src/setup/boxes/select-model.d.ts +48 -0
  291. package/dist/src/setup/boxes/select-model.js +1 -0
  292. package/dist/src/setup/cli/channel-setup-prompter.d.ts +13 -0
  293. package/dist/src/setup/cli/command-output.d.ts +12 -0
  294. package/dist/src/setup/cli/connection-add-prompter.d.ts +8 -0
  295. package/dist/src/setup/cli/connection-add-prompter.js +1 -0
  296. package/dist/src/setup/cli/index.d.ts +6 -0
  297. package/dist/src/setup/cli/index.js +1 -0
  298. package/dist/src/setup/cli/prompt-ui.d.ts +151 -0
  299. package/dist/src/setup/cli/prompt-ui.js +5 -0
  300. package/dist/src/setup/cli/rail-log.d.ts +53 -0
  301. package/dist/src/setup/cli/rail-log.js +2 -0
  302. package/dist/src/setup/cli/select-component.d.ts +67 -0
  303. package/dist/src/setup/cli/select-component.js +1 -0
  304. package/dist/src/setup/cli/select-state.d.ts +60 -0
  305. package/dist/src/setup/cli/select-state.js +1 -0
  306. package/dist/src/setup/connection-connector.d.ts +66 -0
  307. package/dist/src/setup/connection-connector.js +1 -0
  308. package/dist/src/setup/gateway-models.d.ts +10 -0
  309. package/dist/src/setup/gateway-models.js +1 -0
  310. package/dist/src/setup/headless.d.ts +46 -0
  311. package/dist/src/setup/headless.js +1 -0
  312. package/dist/src/setup/human-action.d.ts +23 -0
  313. package/dist/src/setup/index.d.ts +14 -0
  314. package/dist/src/setup/index.js +1 -0
  315. package/dist/src/setup/onboarding.d.ts +56 -0
  316. package/dist/src/setup/onboarding.js +1 -0
  317. package/dist/src/setup/path-exists.d.ts +1 -0
  318. package/dist/src/setup/path-exists.js +1 -0
  319. package/dist/src/setup/primitives/index.d.ts +2 -0
  320. package/dist/src/setup/primitives/index.js +1 -0
  321. package/dist/src/setup/primitives/pnpm-invocation.d.ts +12 -0
  322. package/dist/src/setup/primitives/process-output.d.ts +19 -0
  323. package/dist/src/setup/primitives/run-pnpm.d.ts +17 -0
  324. package/dist/src/{packages/eve-scaffold/src → setup}/primitives/run-pnpm.js +1 -1
  325. package/dist/src/setup/primitives/run-vercel.d.ts +66 -0
  326. package/dist/src/setup/primitives/run-vercel.js +1 -0
  327. package/dist/src/setup/project-resolution.d.ts +36 -0
  328. package/dist/src/setup/project-resolution.js +1 -0
  329. package/dist/src/setup/prompter.d.ts +107 -0
  330. package/dist/src/setup/prompter.js +1 -0
  331. package/dist/src/setup/quit-guard.d.ts +47 -0
  332. package/dist/src/setup/quit-guard.js +1 -0
  333. package/dist/src/setup/run-vercel-link.d.ts +10 -0
  334. package/dist/src/setup/run-vercel-link.js +1 -0
  335. package/dist/src/setup/runner.d.ts +50 -0
  336. package/dist/src/setup/runner.js +1 -0
  337. package/dist/src/setup/scaffold/channels-catalog.d.ts +29 -0
  338. package/dist/src/setup/scaffold/channels-catalog.js +1 -0
  339. package/dist/src/setup/scaffold/connections/catalog.d.ts +118 -0
  340. package/dist/src/setup/scaffold/connections/catalog.js +1 -0
  341. package/dist/src/setup/scaffold/create/project.d.ts +21 -0
  342. package/dist/src/setup/scaffold/create/project.js +80 -0
  343. package/dist/src/setup/scaffold/create/web-template.d.ts +80 -0
  344. package/dist/src/setup/scaffold/files.d.ts +9 -0
  345. package/dist/src/setup/scaffold/index.d.ts +7 -0
  346. package/dist/src/setup/scaffold/index.js +1 -0
  347. package/dist/src/setup/scaffold/update/channels.d.ts +80 -0
  348. package/dist/src/setup/scaffold/update/channels.js +7 -0
  349. package/dist/src/setup/scaffold/update/connections.d.ts +38 -0
  350. package/dist/src/setup/scaffold/update/connections.js +21 -0
  351. package/dist/src/setup/scaffold/update/module-files.d.ts +3 -0
  352. package/dist/src/setup/scaffold/update/package-json.d.ts +6 -0
  353. package/dist/src/setup/scaffold/update/pnpm-workspace.d.ts +3 -0
  354. package/dist/src/{packages/eve-scaffold/src → setup/scaffold/update}/pnpm-workspace.js +1 -1
  355. package/dist/src/setup/scaffold/update/update-connection-connector.d.ts +8 -0
  356. package/dist/src/setup/scaffold/update/update-slack-channel.d.ts +6 -0
  357. package/dist/src/setup/slackbot.d.ts +67 -0
  358. package/dist/src/setup/slackbot.js +1 -0
  359. package/dist/src/setup/state.d.ts +155 -0
  360. package/dist/src/setup/state.js +1 -0
  361. package/dist/src/setup/step.d.ts +45 -0
  362. package/dist/src/setup/step.js +1 -0
  363. package/dist/src/setup/vercel-project.d.ts +90 -0
  364. package/dist/src/setup/vercel-project.js +1 -0
  365. package/dist/src/shared/agent-definition.d.ts +4 -0
  366. package/dist/src/shared/sandbox-backend.d.ts +11 -11
  367. package/dist/src/svelte/index.js +1 -1
  368. package/dist/src/svelte/use-eve-agent.js +1 -1
  369. package/dist/src/vue/index.js +1 -1
  370. package/dist/src/vue/use-eve-agent.js +1 -1
  371. package/package.json +35 -10
  372. package/dist/src/cli/dev/tui/layout.d.ts +0 -24
  373. package/dist/src/cli/dev/tui/layout.js +0 -3
  374. package/dist/src/cli/dev/tui/terminal-frame-buffer.d.ts +0 -21
  375. package/dist/src/cli/dev/tui/terminal-frame-buffer.js +0 -2
  376. package/dist/src/compiled/_chunks/workflow/dist-zpK2YVVA.js +0 -3
  377. package/dist/src/compiled/_chunks/workflow/resume-hook-BFK9mgsb.js +0 -12
  378. package/dist/src/packages/eve-scaffold/src/channels-catalog.js +0 -1
  379. package/dist/src/packages/eve-scaffold/src/channels.js +0 -7
  380. package/dist/src/packages/eve-scaffold/src/cli/channel-add-prompter.js +0 -1
  381. package/dist/src/packages/eve-scaffold/src/cli/connection-add-prompter.js +0 -1
  382. package/dist/src/packages/eve-scaffold/src/cli/index.js +0 -1
  383. package/dist/src/packages/eve-scaffold/src/cli/prompt-ui.js +0 -3
  384. package/dist/src/packages/eve-scaffold/src/cli/rail-log.js +0 -2
  385. package/dist/src/packages/eve-scaffold/src/connections/catalog.js +0 -1
  386. package/dist/src/packages/eve-scaffold/src/connections.js +0 -21
  387. package/dist/src/packages/eve-scaffold/src/index.js +0 -1
  388. package/dist/src/packages/eve-scaffold/src/primitives/detect-deployment.js +0 -1
  389. package/dist/src/packages/eve-scaffold/src/primitives/index.js +0 -1
  390. package/dist/src/packages/eve-scaffold/src/primitives/run-vercel.js +0 -1
  391. package/dist/src/packages/eve-scaffold/src/project.js +0 -1
  392. package/dist/src/packages/eve-scaffold/src/steps/deploy-to-vercel.js +0 -1
  393. package/dist/src/packages/eve-scaffold/src/steps/index.js +0 -1
  394. package/dist/src/packages/eve-scaffold/src/steps/project-resolution.js +0 -1
  395. package/dist/src/packages/eve-scaffold/src/steps/run-add-connection.js +0 -1
  396. package/dist/src/packages/eve-scaffold/src/steps/run-add-to-agent.js +0 -2
  397. package/dist/src/packages/eve-scaffold/src/steps/setup-connection.js +0 -1
  398. package/dist/src/packages/eve-scaffold/src/steps/setup-slackbot.js +0 -1
  399. /package/dist/src/{packages/eve-scaffold/src → setup}/cli/channel-setup-prompter.js +0 -0
  400. /package/dist/src/{packages/eve-scaffold/src → setup}/cli/command-output.js +0 -0
  401. /package/dist/src/{packages/eve-scaffold/src → setup}/human-action.js +0 -0
  402. /package/dist/src/{packages/eve-scaffold/src → setup}/primitives/pnpm-invocation.js +0 -0
  403. /package/dist/src/{packages/eve-scaffold/src → setup}/primitives/process-output.js +0 -0
  404. /package/dist/src/{packages/eve-scaffold/src → setup/scaffold/create}/web-template.js +0 -0
  405. /package/dist/src/{packages/eve-scaffold/src → setup/scaffold}/files.js +0 -0
  406. /package/dist/src/{packages/eve-scaffold/src → setup/scaffold/update}/module-files.js +0 -0
  407. /package/dist/src/{packages/eve-scaffold/src → setup/scaffold/update}/package-json.js +0 -0
  408. /package/dist/src/{packages/eve-scaffold/src/primitives → setup/scaffold/update}/update-connection-connector.js +0 -0
  409. /package/dist/src/{packages/eve-scaffold/src/primitives → setup/scaffold/update}/update-slack-channel.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1 +1,98 @@
1
1
  # eve
2
+
3
+ ## 0.6.0-beta.10
4
+
5
+ ### Minor Changes
6
+
7
+ - 24c4b85: Dissolves the scaffold engine's step flows into the setup boxes. `eve channels add` now runs the same channel boxes as onboarding through the shared runner: the picker enforces the existing-registration conflict checks directly, the slackbot question moves ahead of any file write, and prompts can never interleave with side effects.
8
+
9
+ Removes the `eve/setup/scaffold/cli` and `eve/setup/scaffold/primitives` subpath exports. The terminal prompt adapters and process primitives now live in the setup island (`src/setup/cli/`, `src/setup/primitives/`), and the names `create-eve` consumes (`createPromptCommandOutput`, `detectDeployment`, `runPnpmInstall`, `spawnPnpm`, `runVercel`) are exported from `eve/setup` instead. The `eve/setup/scaffold` barrel is unchanged.
10
+
11
+ - 24c4b85: Route setup questions through a single ask channel. Setup boxes now ask keyed question values through one injected `Asker` whose decorator stack (interactive base, headless base, pre-supplied answers, detected/recommended policies) decides how each question resolves; the select-model, select-chat, select-channels, and resolve-target boxes migrate onto the unified single-gather contract. The channel gains a paired `askMany` method for multi-select questions (whose `T[]` answers cannot ride `ask<T>`), with option-level `locked`/`disabled` row semantics enforced both by the interactive picker and by pre-supplied answer validation. A headless run that reaches a required question without an answer now fails with a structured `InteractionRequired` error naming the question key instead of a `HeadlessPromptError`.
12
+
13
+ The Vercel provisioning, channel-scaffold, connection, and deploy boxes now flow through that same channel: the provisioning deploy tree (deploy gate, new/link project, credential wiring, and the AI Gateway key as a sensitive text question rendered through the masked prompt), the slackbot create confirm, and the connection picker plus its custom MCP/OpenAPI sub-prompts are all keyed questions on the asker; the deploy box collapses its two constant gather faces into one. A headless run missing any required provisioning decision now refuses with `InteractionRequired` rather than `HeadlessPromptError`.
14
+
15
+ The remaining no-prompt boxes (preflight, scaffold, detect-ai-gateway, link-project, apply-ai-gateway-credential) collapse their dual gather faces into one. Boxes whose two faces differed by mode (preflight derives a model to validate only on a headless `--model`; scaffold skips the write on a headless re-run over an existing Eve project) take a `headless` factory option fixed at the composition site, mirroring the deploy box. With every box migrated, the `SetupBox` contract is now unified-gather only: the `SetupBox` type is the single unified interface and the `LegacySetupBox`/`UnifiedSetupBox` union, the `isUnifiedSetupBox` guard, and the `InteractiveOutcome` type are gone. Both runners call `box.gather` directly; cancel is signaled solely by a thrown `WizardCancelledError`.
16
+
17
+ - 455866d: Slack authorization prompts are now visible only to the triggering user. The default `authorization.required` handler sends the sign-in link and device code as an ephemeral message, and falls back to a public link-free status only when it has no user to target. Breaking: an `events["authorization.required"]` override now receives a private-delivery context (`postEphemeral`, `postDirectMessage`, `state`) instead of the full event context, so it can change the message but not the audience. Adds `SlackThread.postDirectMessage`, which DMs a user via `conversations.open` and requires the `im:write` scope.
18
+
19
+ ## 0.6.0-beta.9
20
+
21
+ ### Minor Changes
22
+
23
+ - 1cf3593: Evals gain hard assertions and CI-grade pass/fail. Suites and cases accept a `checks` array (built-ins on `eve/evals/checks`: `Checks.completed`, `Checks.didNotFail`, `Checks.toolCalled` with input/output matchers, `Checks.toolOrder`, `Checks.subagentCalled`, and more); any failed check fails the case and the `eve eval` exit code, while scores stay soft unless `--strict`. Derived facts are now typed records — `toolCalls`/`subagentCalls` carry inputs, outputs, and error state (breaking: previously `string[]`), plus new `inputRequests` and `parked` fields, and `Run.didNotFail` no longer passes runs parked on HITL input. The CLI takes positional suite ids (replacing `--suite`; `--all` is removed) and adds `--tag`, `--case`, `--strict`, and `--list`. Suite `model` is now optional and only required when a model-backed scorer needs it.
24
+ - a648895: Make `agent.ts` optional. Agents without an `agent.ts` now default to
25
+ `anthropic/claude-sonnet-4.6`; when `agent.ts` is present, `model` remains required.
26
+
27
+ ### Patch Changes
28
+
29
+ - 74cd2e5: Store local just-bash sandbox templates and sessions as normal on-disk directories instead of JSON filesystem snapshots, and prune stale `eve dev` runtime snapshots and local sandbox templates in the background.
30
+
31
+ ## 0.6.0-beta.8
32
+
33
+ ### Patch Changes
34
+
35
+ - 02d5272: Discover Markdown-authored agent sources case-insensitively, including instructions, schedules, and packaged skills, while keeping module and directory names case-sensitive.
36
+ - 8aeba87: Expand the deterministic authored-model mock so smoke fixtures can exercise ask-question, bash command, loaded-skill, and subagent-token flows without live model variance.
37
+ - 8d087ff: Run the development server and terminal UI when `eve` is invoked without a command. Use `eve info` explicitly to inspect the resolved application.
38
+ - abaca02: Recover from empty model responses instead of silently ending the turn. When a model call completes with no content (finishReason 'other', e.g. an AI Gateway 200 with an empty stream), the harness reissues the call once within the same step. If the reissue also comes back empty, conversations end with a recoverable, channel-visible failure and task runs end with a failed task result rather than nothing.
39
+
40
+ ## 0.6.0-beta.7
41
+
42
+ ### Minor Changes
43
+
44
+ - edf9f1a: Redesign the `eve dev` terminal UI and add `Client.info()`.
45
+
46
+ The TUI now streams its transcript into the terminal's native scrollback instead of a bordered alt-screen, so scrolling, copy/paste, and the transcript all survive after you exit. The visual language follows the Vercel / Next.js CLI: a monochrome base with the `▲` brand mark, colored gutter glyphs per speaker, the `dots` spinner, and status icons (`✓` done, `⨯` error). Tool calls collapse to a one-line summary (`✓ get_weather city="SF" → 73°F`) that expands under `--tools full`, subagent work is indented beneath a `◆` header, and a startup header prints the connected agent's model, instructions, tools, skills, and subagents. Subagents now default to `auto-collapsed`.
47
+
48
+ The prompt input gains shell-style editing: `↑`/`↓` cycle through your previously sent messages, `←`/`→`/Home/End/`Ctrl+A`/`Ctrl+E` move the caret, and `Ctrl+U`/`Ctrl+K`/`Ctrl+W` kill the line/word. Escape sequences that arrive split across reads (common with PTYs) are reassembled, and pasted text is sanitized of stray control bytes.
49
+
50
+ Failures read more cleanly: a terminal `session.failed` (or a dead-socket transport error) no longer leaves you stuck — the TUI starts a fresh session before the next prompt and notes it inline, so you can keep going. A failure cascade (`step.failed` → `turn.failed` → `session.failed`) renders one error block instead of three, and code bugs escaping user code show their stack trace dim beneath the headline (capped to a dozen lines; recognized provider/config failures keep their curated one-line summary). Error blocks no longer double-print a `Code: Code:` prefix and render docs links in cyan, and denied tool approvals settle to a `→ denied` line instead of a frozen `?`.
51
+
52
+ Captured server `stdout`/`stderr` renders as quiet, indented log runs: consecutive lines from the same source coalesce behind one `stdout ·` / `stderr ·` label with a hanging indent, runs get a blank line of breathing room on both sides, and nothing is ever truncated — a transcript can't be clicked open, so the full output is always shown.
53
+
54
+ `Client.info()` fetches the agent inspection payload (`GET /eve/v1/info`) — model id, instructions source, tools, skills, subagents, schedules, and sandbox — for both local and remote targets, returning the new `AgentInfoResult` type.
55
+
56
+ ## 0.6.0-beta.6
57
+
58
+ ### Minor Changes
59
+
60
+ - ed176f9: Adds `eve setup`: in a fresh directory it runs the same guided onboarding as `create-eve` (name, Vercel project, model, channels, deploy); inside an existing agent it runs in-project setup. The onboarding flow now lives in the eve package as reusable setup boxes with split interactive/headless faces, and `create-eve` drives that shared flow, so the wizard behaves identically from either entry point.
61
+
62
+ ### Patch Changes
63
+
64
+ - 5e87d70: Per-tool interactive authorization never leaks a raw `Required` error into
65
+ the model. When a tool's `auth` strategy is interactive but no callback URL
66
+ can be minted for the run, the tool now fails with a classified
67
+ `ConnectionAuthorizationFailedError` (`reason: "authorization_callback_unavailable"`,
68
+ non-retryable) instead of rethrowing the raw authorization error — which the
69
+ model would otherwise surface as a sign-in URL and loop on. Non-interactive
70
+ strategies still rethrow their original error, since they have no consent
71
+ flow to park on.
72
+
73
+ ## 0.6.0-beta.5
74
+
75
+ ### Patch Changes
76
+
77
+ - ca1ca18: Per-tool authorization now evicts the rejected bearer from its per-step cache before re-running the consent flow, so a tool that re-reports `Required` (e.g. after a downstream `401`/`requireAuth()`) re-resolves a fresh token instead of re-reading the rejected one. This mirrors the MCP client's behavior. Documented the recommended pattern: map a provider `401` inside a tool's `execute` to `ctx.requireAuth()` so Eve re-challenges.
78
+
79
+ ## 0.6.0-beta.4
80
+
81
+ ### Patch Changes
82
+
83
+ - 2aec0cf: Raise the derived `$eve.title` cap (`EVE_SESSION_TITLE_MAX_CHARS`) from 80 to 125 code points so Agent Runs titles keep more of the original prompt.
84
+ - 5b69978: Fix `eve dev` source snapshots so monorepo-relative config paths and local workspace package links keep resolving from immutable dev-runtime snapshots.
85
+
86
+ ## 0.6.0-beta.3
87
+
88
+ ### Patch Changes
89
+
90
+ - 3f71a5c: Add `repository`, `homepage`, and `bugs` metadata to published packages, ship the Apache-2.0 NOTICE file in npm tarballs, and add an `exports` map and `sideEffects: false` to `create-eve`.
91
+
92
+ ## 0.6.0-beta.2
93
+
94
+ ### Patch Changes
95
+
96
+ - 3af511f: Bump `@workflow/core` to `5.0.0-beta.13`.
97
+ - 5923ebc: fix(eve): prevent provider-executed tool calls from being emitted as client actions
98
+ - beddb37: Prepare packages for open source: remove the internal `eve/dev-tui-test` subpath export, point the deployed home page and headless onboarding hints at the public docs site, add a README and packed CHANGELOG for `create-eve`, and remove internal doc references from runtime error messages.
package/NOTICE ADDED
@@ -0,0 +1,5 @@
1
+ eve
2
+ Copyright 2026 Vercel, Inc. and contributors
3
+
4
+ This product includes software developed at Vercel, Inc.
5
+ (https://vercel.com/).
package/README.md CHANGED
@@ -105,12 +105,12 @@ export default defineAgent({
105
105
  ## Quick Start
106
106
 
107
107
  ```bash
108
- pnpm create eve
108
+ pnpm create eve@beta
109
109
  cd my-agent
110
110
  pnpm dev
111
111
  ```
112
112
 
113
- The wizard scaffolds the project, picks a model, and (for the REPL channel) installs dependencies and starts the dev server for you. To scaffold into the current empty directory, run `pnpm create eve .`.
113
+ The wizard scaffolds the project, picks a model, and (for the REPL channel) installs dependencies and starts the dev server for you. To scaffold into the current empty directory, run `pnpm create eve@beta .`.
114
114
 
115
115
  CLI commands:
116
116