Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

Version Packages (#4644)

github-actions[bot]aca9dc761893
diff --git a/.changeset/attachment-error-helper.md b/.changeset/attachment-error-helper.md
deleted file mode 100644
index 0a9b3594d..000000000
--- a/.changeset/attachment-error-helper.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-A custom channel's `fetchFile` can throw `attachmentError(message)` from `eve/channels` to tell the model why a file didn't arrive, such as a size limit, while the original error stays in operator logs. `fetchFile` now types the `session` it already receives, and `eve/channels` exports the `FetchFileFunction`, `FetchFileContext`, and `FetchFileResult` types for resolvers written in their own module.
diff --git a/.changeset/attachments-eve-fetches-links.md b/.changeset/attachments-eve-fetches-links.md
deleted file mode 100644
index 8f8e1b882..000000000
--- a/.changeset/attachments-eve-fetches-links.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": minor
----
-
-eve now downloads attachment links itself instead of handing them to the model provider. When a channel's `fetchFile` returns `null`, or the channel has none, eve fetches a public `https:` link with the 25 MB upload cap and a 30-second timeout, at most 10 links per message and one at a time, and any other link or failed download reaches the model as a note. A private or expired link, such as a Google Drive file shared in Slack, no longer fails every later model call, and sessions that already hold such a link recover.
diff --git a/.changeset/attachments-labels-verified-media.md b/.changeset/attachments-labels-verified-media.md
deleted file mode 100644
index 11b51d556..000000000
--- a/.changeset/attachments-labels-verified-media.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-Every attachment now reaches the model with a label that names its sandbox path, including images and PDFs that also arrive as bytes, so the agent can pass a visible file to `bash` or open it again. eve checks image and PDF media types against the file's bytes. Only PNG, JPEG, GIF, and WebP images up to 3 MiB and 8000 pixels per side, and PDFs up to 20 MiB, go to the model as bytes, and tool results follow the same rule. A HEIC photo, an oversized screenshot, or a mislabeled file renders as its label instead of failing the model call. Live sessions pay one prompt-cache rewrite after upgrading.
diff --git a/.changeset/attachments-never-unresolved.md b/.changeset/attachments-never-unresolved.md
deleted file mode 100644
index 20b8753c4..000000000
--- a/.changeset/attachments-never-unresolved.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-A turn cancelled before its first model call now stages its attachments, so a photo sent just before a follow-up message no longer breaks every later turn. File parts eve can't stage become a note instead of entering session history. Byte-valued file parts cross the queue as `data:` URLs, a string with any URL scheme reaches the channel's `fetchFile` instead of being decoded as base64, and `message.received` reports an inline file's size instead of echoing its `data:` URL.
diff --git a/.changeset/attachments-read-file-pdf.md b/.changeset/attachments-read-file-pdf.md
deleted file mode 100644
index e83edc846..000000000
--- a/.changeset/attachments-read-file-pdf.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": minor
----
-
-`read_file` now shows PDFs up to 20 MiB to the model as files, so the agent can reopen an attached PDF after compaction, or read one that a tool or `bash` wrote to the sandbox. Its output's `image` field is now `file` and carries `pages` for PDFs. `read_file` also refuses images over 8000 pixels per side, which providers reject.
diff --git a/.changeset/cancel-resumed-answer-turn.md b/.changeset/cancel-resumed-answer-turn.md
deleted file mode 100644
index 7caafad6a..000000000
--- a/.changeset/cancel-resumed-answer-turn.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-`cancel()` from `useEveAgent()` and `EveAgentStore` now stops a turn that an approval or other input answer resumed. Previously it sent no cancel request and the resumed turn ran to completion. `MessageResponse.cancel()` on a `ClientSession.respond()` response now targets that resumed turn too.
diff --git a/.changeset/compaction-memory-before-question.md b/.changeset/compaction-memory-before-question.md
deleted file mode 100644
index 2a5ea33b1..000000000
--- a/.changeset/compaction-memory-before-question.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-Memory recalled on `compaction.completed` during a turn now joins history before the turn's latest user message, where `turn.started` recall goes, instead of after it. The question stays the last user message the model reads, with client context between the recalled memory and the question. Compaction between turns still appends the recall.
diff --git a/.changeset/connection-provided-argument-model-value.md b/.changeset/connection-provided-argument-model-value.md
deleted file mode 100644
index 53ac7bb72..000000000
--- a/.changeset/connection-provided-argument-model-value.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-A connection tool call no longer fails with `Unrecognized key` when the model sends a key the connection supplies through `toolCall.providedArguments`. eve drops the model's value and the provided value is used, as documented.
diff --git a/.changeset/eve-channel-fetch-file.md b/.changeset/eve-channel-fetch-file.md
deleted file mode 100644
index 438751d4d..000000000
--- a/.changeset/eve-channel-fetch-file.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-`eveChannel()` accepts `fetchFile`, so a web client can upload a large file to its own storage and send only the URL. eve loads the file inside the workflow step, past the platform's request body limit. `defineChannel` and `eveChannel` take an `uploadPolicy` that eve now applies to every staged file, including URLs it downloads itself, on the final bytes and their verified media type. Slack, Telegram, and Teams apply their own `uploadPolicy` the same way. A file over the cap or of a disallowed type reaches the model as a note. An `eveChannel` with `uploadPolicy` or `fetchFile` reports its instrumentation kind as `channel:eve` instead of `http`, as one with `events` already does.
diff --git a/.changeset/eve-next-node-eval.md b/.changeset/eve-next-node-eval.md
deleted file mode 100644
index 5bb06002e..000000000
--- a/.changeset/eve-next-node-eval.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-Importing `eve/next` from a `node -e` script, such as the loader `vercel dev` uses for `next.config.*`, no longer throws `ERR_INVALID_ARG_VALUE` for `"[eval]"`.
diff --git a/.changeset/gateway-web-search-input-part.md b/.changeset/gateway-web-search-input-part.md
deleted file mode 100644
index 4f1555620..000000000
--- a/.changeset/gateway-web-search-input-part.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-Fix a second, never-settling `web_search` part under AI Gateway. eve no longer streams input for provider tools such as `web_search`, so each search shows up once, under the call id it runs and settles with.
diff --git a/.changeset/internal-session-projection-types.md b/.changeset/internal-session-projection-types.md
deleted file mode 100644
index fbce90345..000000000
--- a/.changeset/internal-session-projection-types.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-`eve/vue` and `eve/svelte` no longer export the internal session projection types `SessionAuthorization`, `SessionCall`, `SessionCallStatus`, and `SessionProjection`, matching `eve/react`. Use `ToolCallStatus` and `toolCallState()` to read a tool call's status.
diff --git a/.changeset/just-bash-portable-template.md b/.changeset/just-bash-portable-template.md
deleted file mode 100644
index dab368c3c..000000000
--- a/.changeset/just-bash-portable-template.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-just-bash sandboxes now start when the app runs from a different path than the one it was built in. The prepared artifact stores the template key, and eve resolves it under the runtime sandbox cache, so copying `.output` and `.eve/sandbox-cache` to a new root no longer fails with `SandboxTemplateNotProvisionedError`.
diff --git a/.changeset/mock-model-context-window.md b/.changeset/mock-model-context-window.md
deleted file mode 100644
index 7b8f2f1a3..000000000
--- a/.changeset/mock-model-context-window.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-Agents that use `mockModel` from `eve/evals` now compile without `modelContextWindowTokens`. Before, the documented one-line `mockModel` example failed with a missing AI Gateway context window error; mock models now default to a 1,000,000-token window.
diff --git a/.changeset/slack-approval-cards-block-limit.md b/.changeset/slack-approval-cards-block-limit.md
deleted file mode 100644
index 7daf0a127..000000000
--- a/.changeset/slack-approval-cards-block-limit.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-Slack now removes the buttons from every settled tool-approval card when one step posts many approvals. Before, a grouped message could grow past Slack's 50-block limit as cards settled, Slack rejected the update, and settled cards kept their Approve and Cancel buttons. A settled card now shows the outcome and who answered on the card itself instead of in extra lines below it.
diff --git a/.changeset/slack-thread-files.md b/.changeset/slack-thread-files.md
deleted file mode 100644
index 6af23af43..000000000
--- a/.changeset/slack-thread-files.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-The Slack channel now collects every file posted in a thread since the previous mention of the app, up to 10 messages back, instead of only the newest message's files, so a file shared before a follow-up question reaches the agent. It skips Google Drive, Dropbox, and other remote files, whose links stay in the message text, keeps audio and video attachments, and stops a file download after 30 seconds.
diff --git a/.changeset/stalled-model-stream-timeout.md b/.changeset/stalled-model-stream-timeout.md
deleted file mode 100644
index 8f330c7f8..000000000
--- a/.changeset/stalled-model-stream-timeout.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-A model stream that stops sending output without closing no longer holds the turn forever. After 10 minutes without output eve abandons the stream and retries the model call, and the turn fails normally once retries run out. Time spent running tools does not count toward the timeout. eve now requires `ai` 7.0.137 or later.
diff --git a/.changeset/terminal-turn-failure-notice.md b/.changeset/terminal-turn-failure-notice.md
deleted file mode 100644
index 154e1f8e6..000000000
--- a/.changeset/terminal-turn-failure-notice.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-When a failed turn ends the session, built-in channels now post one notice telling the person to start over, instead of a "please try again" notice followed by a "start a new session" notice for the same error. `turn.failed` events now carry `terminal: true` when `session.failed` follows (and `false` when the session waits for the next message), so custom channel handlers can make the same choice.
diff --git a/.changeset/workspace-non-interactive-link.md b/.changeset/workspace-non-interactive-link.md
deleted file mode 100644
index ff709e4ac..000000000
--- a/.changeset/workspace-non-interactive-link.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"eve": patch
----
-
-`eve link --non-interactive --project <name>` and `eve deploy --non-interactive --yes --project <name>` now link a multi-agent workspace from its root instead of failing with "No eve agent in this directory", so a fresh CI checkout can link and deploy every agent without a prompt.
diff --git a/packages/eve/CHANGELOG.md b/packages/eve/CHANGELOG.md
index 7320e8f8e..8cbd8de37 100644
--- a/packages/eve/CHANGELOG.md
+++ b/packages/eve/CHANGELOG.md
@@ -1,5 +1,32 @@
# eve
+## 0.77.0
+
+### Minor Changes
+
+- 0248e69: eve now downloads attachment links itself instead of handing them to the model provider. When a channel's `fetchFile` returns `null`, or the channel has none, eve fetches a public `https:` link with the 25 MB upload cap and a 30-second timeout, at most 10 links per message and one at a time, and any other link or failed download reaches the model as a note. A private or expired link, such as a Google Drive file shared in Slack, no longer fails every later model call, and sessions that already hold such a link recover.
+- 0248e69: `read_file` now shows PDFs up to 20 MiB to the model as files, so the agent can reopen an attached PDF after compaction, or read one that a tool or `bash` wrote to the sandbox. Its output's `image` field is now `file` and carries `pages` for PDFs. `read_file` also refuses images over 8000 pixels per side, which providers reject.
+
+### Patch Changes
+
+- b6b353f: A custom channel's `fetchFile` can throw `attachmentError(message)` from `eve/channels` to tell the model why a file didn't arrive, such as a size limit, while the original error stays in operator logs. `fetchFile` now types the `session` it already receives, and `eve/channels` exports the `FetchFileFunction`, `FetchFileContext`, and `FetchFileResult` types for resolvers written in their own module.
+- 0248e69: Every attachment now reaches the model with a label that names its sandbox path, including images and PDFs that also arrive as bytes, so the agent can pass a visible file to `bash` or open it again. eve checks image and PDF media types against the file's bytes. Only PNG, JPEG, GIF, and WebP images up to 3 MiB and 8000 pixels per side, and PDFs up to 20 MiB, go to the model as bytes, and tool results follow the same rule. A HEIC photo, an oversized screenshot, or a mislabeled file renders as its label instead of failing the model call. Live sessions pay one prompt-cache rewrite after upgrading.
+- 0248e69: A turn cancelled before its first model call now stages its attachments, so a photo sent just before a follow-up message no longer breaks every later turn. File parts eve can't stage become a note instead of entering session history. Byte-valued file parts cross the queue as `data:` URLs, a string with any URL scheme reaches the channel's `fetchFile` instead of being decoded as base64, and `message.received` reports an inline file's size instead of echoing its `data:` URL.
+- caf61ff: `cancel()` from `useEveAgent()` and `EveAgentStore` now stops a turn that an approval or other input answer resumed. Previously it sent no cancel request and the resumed turn ran to completion. `MessageResponse.cancel()` on a `ClientSession.respond()` response now targets that resumed turn too.
+- 351f66d: Memory recalled on `compaction.completed` during a turn now joins history before the turn's latest user message, where `turn.started` recall goes, instead of after it. The question stays the last user message the model reads, with client context between the recalled memory and the question. Compaction between turns still appends the recall.
+- 8f50d9d: A connection tool call no longer fails with `Unrecognized key` when the model sends a key the connection supplies through `toolCall.providedArguments`. eve drops the model's value and the provided value is used, as documented.
+- b6b353f: `eveChannel()` accepts `fetchFile`, so a web client can upload a large file to its own storage and send only the URL. eve loads the file inside the workflow step, past the platform's request body limit. `defineChannel` and `eveChannel` take an `uploadPolicy` that eve now applies to every staged file, including URLs it downloads itself, on the final bytes and their verified media type. Slack, Telegram, and Teams apply their own `uploadPolicy` the same way. A file over the cap or of a disallowed type reaches the model as a note. An `eveChannel` with `uploadPolicy` or `fetchFile` reports its instrumentation kind as `channel:eve` instead of `http`, as one with `events` already does.
+- 66ed5f9: Importing `eve/next` from a `node -e` script, such as the loader `vercel dev` uses for `next.config.*`, no longer throws `ERR_INVALID_ARG_VALUE` for `"[eval]"`.
+- 15177c6: Fix a second, never-settling `web_search` part under AI Gateway. eve no longer streams input for provider tools such as `web_search`, so each search shows up once, under the call id it runs and settles with.
+- 2eb861a: `eve/vue` and `eve/svelte` no longer export the internal session projection types `SessionAuthorization`, `SessionCall`, `SessionCallStatus`, and `SessionProjection`, matching `eve/react`. Use `ToolCallStatus` and `toolCallState()` to read a tool call's status.
+- 88edd75: just-bash sandboxes now start when the app runs from a different path than the one it was built in. The prepared artifact stores the template key, and eve resolves it under the runtime sandbox cache, so copying `.output` and `.eve/sandbox-cache` to a new root no longer fails with `SandboxTemplateNotProvisionedError`.
+- dd4374e: Agents that use `mockModel` from `eve/evals` now compile without `modelContextWindowTokens`. Before, the documented one-line `mockModel` example failed with a missing AI Gateway context window error; mock models now default to a 1,000,000-token window.
+- 85d1fcb: Slack now removes the buttons from every settled tool-approval card when one step posts many approvals. Before, a grouped message could grow past Slack's 50-block limit as cards settled, Slack rejected the update, and settled cards kept their Approve and Cancel buttons. A settled card now shows the outcome and who answered on the card itself instead of in extra lines below it.
+- 13998d2: The Slack channel now collects every file posted in a thread since the previous mention of the app, up to 10 messages back, instead of only the newest message's files, so a file shared before a follow-up question reaches the agent. It skips Google Drive, Dropbox, and other remote files, whose links stay in the message text, keeps audio and video attachments, and stops a file download after 30 seconds.
+- b56b4ff: A model stream that stops sending output without closing no longer holds the turn forever. After 10 minutes without output eve abandons the stream and retries the model call, and the turn fails normally once retries run out. Time spent running tools does not count toward the timeout. eve now requires `ai` 7.0.137 or later.
+- 5d37843: When a failed turn ends the session, built-in channels now post one notice telling the person to start over, instead of a "please try again" notice followed by a "start a new session" notice for the same error. `turn.failed` events now carry `terminal: true` when `session.failed` follows (and `false` when the session waits for the next message), so custom channel handlers can make the same choice.
+- 11392bd: `eve link --non-interactive --project <name>` and `eve deploy --non-interactive --yes --project <name>` now link a multi-agent workspace from its root instead of failing with "No eve agent in this directory", so a fresh CI checkout can link and deploy every agent without a prompt.
+
## 0.76.3
### Patch Changes
diff --git a/packages/eve/package.json b/packages/eve/package.json
index 98f823e84..46d68d2c0 100644
--- a/packages/eve/package.json
+++ b/packages/eve/package.json
@@ -1,6 +1,6 @@
{
"name": "eve",
- "version": "0.76.3",
+ "version": "0.77.0",
"private": false,
"description": "Filesystem-first framework for durable backend AI agents that run anywhere.",
"keywords": [