Repository navigation
Released 2026-11-28 · Compare with 1.5.0
Features
-
Add durable event subscriptions for channels, discovered with
eve__search, and unify subscription tools across channels and MCP connections. (#6638)- Custom channels can define
experimental.subscriptionsondefineChannelto let sessions subscribe, withcatalog, the events the channel emits (each with aname,description, and a ZodinputSchema) as a list or a sync or async function that returns one, as the required registry,onEvent, and callexperimental.subscriptions.emit(event, input, { id, data })from route handlers.onEventreturns a message ornull.onSubscribecan deny a subscription by throwing, or narrow its scope. The types are exported fromeve/experimental/channels. - The root agent now uses one fixed
eve__subscribeandeve__subscription_stopfor both channels and MCPexperimental.eventsconnections, and finds the events witheve__search.eve__subscribetakes a flat{ source, event, input, ttlMs }, does not list sources or events in its description or schema, and rejects an unknown event with the closest names. Subagents do not get these tools. - Breaking for MCP
experimental.events.eve__subscription_get, the per-connectionevents_get_subscriptionandevents_unsubscribetools, and the generatedevents_subscribe_<hash>tools are removed. A connection's events appear ineve__searchresults, and eve calls the server'sevents/listonly when a search covers the connection or a subscribe runs.tools.allowandtools.blockfilter a connection's events by the nameevents_subscribe_<event name>or the hashedevents_subscribe_<hash>name that earlier versions generated, so an allow list that names other tools offers no events. To migrate, calleve__searchfor the event and theneve__subscribewith{ source, event, input, ttlMs }. githubChannel({ experimental: { subscriptions: { onEvent, events } } })enables subscriptions to GitHub webhook events, each scoped by theowner,repoand issue or pull requestnumberthat the event has, withonEventfiltering and formatting each delivery and the optionaleventsnarrowing which of GitHub's eventseve__searchoffers andeve__subscribeaccepts.eve__subscriberejects an event whose webhook the GitHub App does not receive, naming the webhook. PassonComment: () => nullif you also want to disable default@mentioncomment sessions.- A session's subscriptions, for channels and MCP connections, retire when the session finishes, is ended, expires, or fails, instead of at
ttlMsor on the next delivery. Each connection subscription is closed upstream.
- Custom channels can define
-
Add
TurnFailedErrorandSessionFailedErrortoeve/client, so callers can distinguish recorded turn and session failures withis().
SessionStoreanduseEveAgentexpose these failures througherrorand report live failures throughonError. Both errors keep the recorded message and keep the recorded failure code inname. Both carry the full recordedErrorInfooninfo, andTurnFailedErroralso carriesturnId. Fetch errors and retry behavior are unchanged. (#6902) -
Evals can start a session from fixed prior conversation with
t.session({ history }), then send and grade the next turn without running earlier turns through a model.
historyaccepts ordered user and assistant text (SessionHistoryMessage, exported fromeve/evalsalongsideEveEvalSessionOptions) and joins model history with the first message without running earlier turns, tools, or hooks. It works out of the box with localeve evalthrough a dev-only route that is omitted from production builds, leavingeve/clientandPOST /eve/v1/sessionunchanged.
Thanks @matchai for raising this eval gap and prototyping the initial proposal in #6854. (#6891) -
Export
MAX_MESSAGE_PARTSfromeve/channels/eveandeve/clientso clients can cap attachments at the eve channel's 64-part message limit without hard-coding it.
Thanks @muratsu for reporting this in #6650. (#6825) -
Support
"use workflow"and"use step"directives in eve extensions, includingdefineWorkflowTool(execute,task, andserve) and mount-scoped workflow IDs, step IDs, andextension.config.
Thanks @dretanacr for reporting the restriction in #4821. (#6906) -
Add
HostSandbox(eve/sandbox/host) for running eve agents directly against a POSIX host directory and shell without container or VM isolation, with eve-private skill materialization under$EVE_SKILLS_DIRand current working directory context in base instructions when sandbox tools are present. (#6942) -
Run local self-modification directly in the project directory with
HostSandboxand eve's defaultedit_filetool instead of a customjust-bashmountable filesystem, mounted ineve devunderselfwith subagentmodify(self__modify).
Local self-modification now requires a POSIX host (Linux, macOS, or WSL2 on Windows) and renames the subagent fromagenttomodify(self__modifyfor the default local mount,self-modification-remote__modifyfor the default remote mount). Existing authoredagent/extensions/self-modification/mounts remain supported without duplicating the bundledselfmount. (#6945) -
User entries in session
historynow accept{ type: "file" }parts alongside text, reusing eve's attachment resolution and sandbox staging.
Supply{ type: "file", mediaType, filename?, data }(SessionHistoryFilePart, exported fromeve/channelsandeve/evals) inside a user message'spartson channelcreate(),send(),onMessage.history, or local evalt.session({ history }). Imported files resolve through the channel'sfetchFilehook or SSRF-safe public HTTPS download under a shared 10-download cap, enforceuploadPolicy, stage into the sandbox during turn intake and interrupted-turn recovery, record safe metadata (ImportedFilePartfromeve/events) ondelivery.consumedwithout persisting inline bytes, and render as{ type: "file" }parts in frontendEveMessage.
Thanks @FranciscoMoretti for the request and ChatJS fork reference in #5340. (#6907) -
Session
historyentries can carry orderedpartswith text and completed tool exchanges, so sessions and local evals can start from conversations that used tools.
Supply eithertext(unchanged shorthand) orparts({ type: "text", text }and{ type: "tool", name, input?, output | error }) onSessionHistoryMessage. Consecutive tool parts lower into parallel calls and results in order without running tools, hooks, orcall.*events, and frontendEveMessagerenders them as completed or failed tool parts.delivery.consumedkeepstextpopulated alongside the newpartsfield (ImportedPart,ImportedTextPart,ImportedToolPartfromeve/events).
Thanks @FranciscoMoretti for the request and prototype in #5340, and @matchai for the eval tool-history proposal in #6855. (#6891) -
Promote dynamic schedules to
eve/schedules, with providers ateve/schedules/vercelandeve/schedules/testing.
Existing imports fromeve/experimental/schedulesand its provider subpaths continue to work. (#5348) -
Determine a session's stream version from its workflow run attributes (
$eve.stream_versionand$eve.version) before falling back to reading line 0, avoiding full-history stream replays on cold instances. (#6915) -
Speed up sandbox shell,
glob, andgrepexecution by running Vercel Sandboxrun(), internal commands, and the boundedbashlauncher over a single streaming request, foldingglobandgrepprobes into one command, trimming thebashlauncher, and running internal sandbox commands in a non-login shell. (#6889) -
Cache Slack
conversations.infochannel kind lookups per workspace and channel so warmapp_mentionwebhooks skip a serial Slack API round trip before starting or resuming a turn. (#6879) -
Start Slack's first-reply
chat.getPermalinkthread-root check on the first streamed text delta or alongside any in-flight status write instead of awaiting it serially after status flushes. (#6881) -
Overlap independent Slack pre-turn lookups (
conversations.info,conversations.replies,users.info, and session resolution) instead of awaiting them serially before starting or resuming a turn. (#6880) -
Promote long-running
bashcommands into durable background tasks via a generic inline-to-task handoff primitive, kill commands that exceed an explicittimeoutup to 120s, offereve__task_waitandeve__task_cancelfrom step 0 wheneverbashis present, and defer task instructions into an append-only context message once a session starts its first task. (#6890)
Bug Fixes
eve devand the framework hosts now reuse a recorded dev server only when the server answering on its port is the one that wrote the record, because each server stamps the record with a random id. (#6833)- Preserve the target channel namespace on dynamic schedule continuation tokens so follow-up thread replies resolve and continue the scheduled session. (#6910)
- Preserve
stderron promoted and timed-outbashjobs, raise the defaultbashforeground wait from 60s to 120s before promoting, acceptpathas an alias forfilePathinread_fileandwrite_file, and tighten static agent, task, skill, andeve/extensions/codeprompt copy. (#6898) - Improve default model output budgets, length and context-overflow recovery, bash launcher reliability, plain-text file tool outputs, and prompt caching in the base coding harness. (#6886)
followAgentsand subagent stream reads now reach a remote child mounted at a named path such as/eve/<name>, instead of returning 404.
Thanks @phoenixdahdev for the reproduction in #6295. (#6823)- New projects from
eve initno longer ignore.env.example, so the variable list a channel setup writes is committed with the project.
Thanks @coygeek for reporting this in #6115. (#6824) - Building agents for Vercel now fails when the agents in one deployment would run different eve versions.
The agents share the deployment's Workflow runs, so a run started by one eve version and replayed by another failed withCORRUPTED_EVENT_LOG. Install a single eve version for the project, for example by declaringeveonly in the rootpackage.json. (#6847) - Fix
eveSvelteKitsilently leaving the eve service out of Vercel builds of SvelteKit 3 apps, which build every Vite environment in one pass and run the adapter in a latebuildApphook. (#6909) - Clarify the
read_file,edit_file, andagenttool descriptions so models make exact edits and delegate only independent work, and tighten theeve/extensions/codeediting and verification guidance. (#6947) - Cancelling a turn no longer records the tools and model calls it stops as exceptions in traces.
Tools and model calls stopped by a turn cancellation now end their spans as cancelled, so error tracking no longer counts each cancel as a failure. (#6629)