eve 0.83.2 → 0.83.3

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 (83) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/src/chunks/{use-eve-agent-ZY7NQ2VW.js → use-eve-agent-BE2_zd5q.js} +17 -12
  3. package/dist/src/chunks/{use-eve-agent-DnbG9c7c.js → use-eve-agent-e8a5vcFO.js} +17 -12
  4. package/dist/src/client/optimistic-message-submissions.d.ts +2 -3
  5. package/dist/src/client/optimistic-message-submissions.js +1 -1
  6. package/dist/src/compiled/.vendor-stamp.json +1 -1
  7. package/dist/src/execution/cancelled-model-call-batch.js +1 -1
  8. package/dist/src/execution/catalog/connection-auth.js +1 -1
  9. package/dist/src/execution/catalog/rank.js +1 -1
  10. package/dist/src/execution/dynamic-workflow/tool.js +1 -1
  11. package/dist/src/execution/legacy-session/prepare-step.js +1 -1
  12. package/dist/src/execution/session/handoff-steps.d.ts +1 -0
  13. package/dist/src/execution/session/handoff-steps.js +1 -1
  14. package/dist/src/execution/session/handoff.d.ts +1 -0
  15. package/dist/src/execution/session/handoff.js +1 -1
  16. package/dist/src/execution/session/program.js +1 -1
  17. package/dist/src/execution/session/turn-step.js +1 -1
  18. package/dist/src/execution/tools/agent-router-workflow.js +1 -1
  19. package/dist/src/execution/web-fetch/html.js +3 -4
  20. package/dist/src/harness/compaction/engine.js +2 -2
  21. package/dist/src/harness/compaction/over-limit-error.d.ts +7 -0
  22. package/dist/src/harness/compaction/over-limit-error.js +1 -0
  23. package/dist/src/harness/compaction/prompt.js +1 -1
  24. package/dist/src/harness/compaction/step.d.ts +9 -0
  25. package/dist/src/harness/compaction/step.js +1 -1
  26. package/dist/src/harness/emission.d.ts +8 -3
  27. package/dist/src/harness/emission.js +1 -1
  28. package/dist/src/harness/model-call/call.d.ts +6 -2
  29. package/dist/src/harness/model-call/call.js +1 -1
  30. package/dist/src/harness/model-call/failure.d.ts +7 -0
  31. package/dist/src/harness/model-call/failure.js +1 -1
  32. package/dist/src/harness/model-call/run.js +1 -1
  33. package/dist/src/harness/model-call/usage.js +1 -1
  34. package/dist/src/harness/session-machine/current.d.ts +8 -0
  35. package/dist/src/harness/session-machine/current.js +1 -1
  36. package/dist/src/internal/application/stamped-package-version.js +1 -1
  37. package/dist/src/internal/authored-asset-import-plugin.d.ts +8 -7
  38. package/dist/src/internal/authored-asset-import-plugin.js +1 -1
  39. package/dist/src/internal/nitro/dev-client-address.d.ts +12 -0
  40. package/dist/src/internal/nitro/dev-client-address.js +1 -1
  41. package/dist/src/internal/nitro/routes/channel-request-instrumentation.d.ts +6 -3
  42. package/dist/src/internal/nitro/routes/channel-request-instrumentation.js +1 -1
  43. package/dist/src/public/channels/auth.d.ts +14 -0
  44. package/dist/src/public/channels/auth.js +1 -1
  45. package/dist/src/public/channels/chat-sdk/chatSdkChannel.d.ts +6 -1
  46. package/dist/src/public/channels/chat-sdk/chatSdkChannel.js +1 -1
  47. package/dist/src/public/channels/slack/reply-delivery.d.ts +1 -7
  48. package/dist/src/public/channels/slack/reply-delivery.js +1 -1
  49. package/dist/src/public/channels/slack/slackChannel.d.ts +2 -6
  50. package/dist/src/public/channels/slack/slackChannel.js +1 -1
  51. package/dist/src/public/channels/undelivered-reply.d.ts +30 -0
  52. package/dist/src/public/channels/undelivered-reply.js +1 -0
  53. package/dist/src/runtime/connections/mcp-client.d.ts +5 -2
  54. package/dist/src/runtime/connections/mcp-client.js +1 -1
  55. package/dist/src/runtime/connections/openapi-client.js +1 -1
  56. package/dist/src/runtime/connections/openapi-operations.d.ts +4 -0
  57. package/dist/src/runtime/connections/openapi-operations.js +1 -1
  58. package/dist/src/runtime/connections/openapi-schema.d.ts +19 -14
  59. package/dist/src/runtime/connections/openapi-schema.js +1 -1
  60. package/dist/src/runtime/local-dev-capability.d.ts +2 -2
  61. package/dist/src/runtime/local-dev-capability.js +1 -1
  62. package/dist/src/runtime/subagents/workflow.js +1 -1
  63. package/dist/src/setup/scaffold/create/project.js +1 -1
  64. package/dist/src/shared/connection-types.d.ts +5 -0
  65. package/dist/src/svelte/index.js +1 -1
  66. package/dist/src/svelte/use-eve-agent.js +1 -1
  67. package/dist/src/tools/provided/ask-question-workflow.js +1 -1
  68. package/dist/src/tools/provided/sleep-workflow.js +1 -1
  69. package/dist/src/tools/schema.d.ts +2 -0
  70. package/dist/src/tools/schema.js +1 -1
  71. package/dist/src/tools/signature.js +1 -1
  72. package/dist/src/vue/index.js +1 -1
  73. package/dist/src/vue/use-eve-agent.js +1 -1
  74. package/docs/channels/chat-sdk.mdx +1 -1
  75. package/docs/channels/slack.mdx +1 -1
  76. package/docs/concepts/default-harness.md +1 -1
  77. package/docs/concepts/sessions-runs-and-streaming.md +1 -1
  78. package/docs/connections/openapi.mdx +1 -1
  79. package/docs/guides/auth-and-route-protection.md +4 -0
  80. package/docs/reference/cli.md +3 -1
  81. package/docs/reference/typescript-api.md +3 -1
  82. package/docs/tools/tasks.md +2 -2
  83. package/package.json +6 -2
@@ -115,7 +115,7 @@ export default defineOpenAPIConnection({
115
115
  });
116
116
  ```
117
117
 
118
- Filters match `operationId`. If an operation does not declare one, use the deterministic name eve derives from the method and path.
118
+ Filters match an operation's `operationId` and its generated tool name, so `block: ["repos.delete"]` also hides the `repos_delete` tool. If an operation does not declare an `operationId`, use the deterministic name eve derives from the method and path.
119
119
 
120
120
  ## Path parameters
121
121
 
@@ -105,6 +105,10 @@ Exercise caution for agents that process non-public, sensitive, regulated, or pr
105
105
 
106
106
  Authenticates a synthetic `local-dev` principal, but only while the process is a local development server: `eve dev` (which sets `EVE_DEV=1`) or `vercel dev` (detected by `VERCEL=1` and `VERCEL_ENV=development` together). This is a property of the deployment, not the request, so no request header can flip it. A production deployment (`eve start`, a Vercel deployment, or any container host) sets neither flag, so `localDev()` authenticates nothing there and every request falls through to the next entry.
107
107
 
108
+ On a development server, `localDev()` also refuses requests that a browser sends for another website: the request host or its `Origin` is neither a loopback host nor one of this machine's own addresses. A web page that the developer opens cannot call the local agent, even through DNS rebinding. A frontend served from any loopback host and port, such as `http://localhost:3000` calling `http://127.0.0.1:2000`, still authenticates.
109
+
110
+ On `eve dev`, `localDev()` also refuses callers whose connection comes from another machine. A server started with `eve dev --host 0.0.0.0` accepts LAN connections, but those callers do not get the `local-dev` principal. A tunnel or reverse proxy on the same machine, such as ngrok or a local nginx, connects from this machine, so the callers it forwards still get `local-dev`.
111
+
108
112
  Because it never opens a production deployment, `localDev()` is safe to leave in the walk. Still put a real authenticator ahead of it so production traffic has something to match.
109
113
 
110
114
  ### `vercelOidc()`
@@ -273,7 +273,7 @@ Starts a local development server and terminal UI. To connect the UI to an exist
273
273
 
274
274
  | Flag | Type | Default | Description |
275
275
  | ----------------------------------- | ------ | ------------------ | --------------------------------------------------------------- |
276
- | `--host <host>` | string | all interfaces | Host interface to bind |
276
+ | `--host <host>` | string | `127.0.0.1` | Host interface to bind |
277
277
  | `--port <port>` | number | `$PORT`, then 2000 | Port to listen on |
278
278
  | `--no-ui` | flag | UI on | Start the server without an interactive UI |
279
279
  | `--resume` | flag | off | Attempt recovery of retained runs from previous dev invocations |
@@ -288,6 +288,8 @@ Starts a local development server and terminal UI. To connect the UI to an exist
288
288
  | `--context-size <tokens>` | number | none | Model context window size |
289
289
  | `--logs <mode>` | enum | `error` | Display `none`, `error`, `warn`, `debug`, or `all` logs |
290
290
 
291
+ `localDev()` refuses callers whose connection comes from another machine. When `--host` binds another interface, such as `0.0.0.0`, those callers need another authenticator in the channel's `auth` list. A tunnel or reverse proxy on the same machine, such as ngrok, cloudflared, or a local nginx, connects from this machine, so every caller it forwards still gets `local-dev`. Put an authenticator in front of any dev server you expose that way.
292
+
291
293
  Local development mounts bundled development extensions without adding files to your project. Pass `--no-default-extensions` to disable them. See [Self-Modification](../guides/self-modification) for details.
292
294
 
293
295
  A fresh `eve init` opens the TUI and reuses an available model connection or opens `/login`. No Vercel project, channels, integrations, or review step is required before chat. Use `/model` to change models and settings, and `/add` to install an addition. Other `--input` text stays editable in the prompt. See [Terminal UI](../guides/dev-tui) for credential precedence and login options.
@@ -99,7 +99,9 @@ import icon from "../../assets/icon.png";
99
99
  import template from "../../prompts/template.txt?raw";
100
100
  ```
101
101
 
102
- `?raw` embeds the file as UTF-8 text. Other non-code asset imports produce a data URL with an inferred media type. Compilation, local development, and production builds use the same resolution behavior. Imports that escape the project package are rejected; package those files with the application instead.
102
+ `?raw` embeds any file as UTF-8 text, including code files such as `.json` and files without an extension, such as a `Dockerfile`. Other non-code asset imports produce a data URL with an inferred media type. Compilation, local development, and production builds use the same resolution behavior.
103
+
104
+ A workspace package bundled from TypeScript source can import its own assets the same way. Each import may reach files inside the project package or inside the package that contains the importing module. Imports that escape both are rejected; package those files with the application or the workspace package instead.
103
105
 
104
106
  ## Runtime context (`ctx`)
105
107
 
@@ -221,8 +221,8 @@ yet, the stream emits `turn.waiting` with the turn's `turnId`. The next `step.st
221
221
  same `turnId` means the turn resumed, and `session.waiting` comes only after the turn ends. The
222
222
  model's text before the wait depends on the session:
223
223
 
224
- - **Root sessions:** the text completes as an ordinary message. The person can keep writing, and
225
- the turn resumes under the same id.
224
+ - **Root sessions:** the text completes as an ordinary message, including text written before
225
+ `eve__task_wait` in the same step. The person can keep writing, and the turn resumes under the same id.
226
226
  - **Child sessions and a schedule's sessions:** the held text step reports
227
227
  `finishReason: "tool-calls"` on `message.completed`, so channels post only the final reply.
228
228
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eve",
3
- "version": "0.83.2",
3
+ "version": "0.83.3",
4
4
  "private": false,
5
5
  "description": "Filesystem-first framework for durable backend AI agents that run anywhere.",
6
6
  "keywords": [
@@ -640,7 +640,8 @@
640
640
  "braintrust": "^3.0.0",
641
641
  "chat": "^4.42.0",
642
642
  "dd-trace": "^6.13.0",
643
- "just-bash": "^3.1.0"
643
+ "just-bash": "^3.1.0",
644
+ "next": "^16.0.0"
644
645
  },
645
646
  "peerDependenciesMeta": {
646
647
  "@opentelemetry/api": {
@@ -657,6 +658,9 @@
657
658
  },
658
659
  "just-bash": {
659
660
  "optional": true
661
+ },
662
+ "next": {
663
+ "optional": true
660
664
  }
661
665
  },
662
666
  "engines": {