Repository navigation
Released 2026-11-23 · Compare with 1.3.0
Features
- Import the custom skills tools from
eve/experimental/extensions/custom-skillsto offer them only to some sessions, such as behind a per-user feature flag.
Return a tool fromdefineDynamicin a same-named file in the mount directory to hide it, and return no scopes fromscopesto hide saved skills. The extension'smanageskill is now offered only when the session has a skill scope, so it disappears along with them. (#6596) - Add
ctx.end()to hook handlers so hooks can permanently retire a session from any event.
ctx.end(reason?)is available onHookBaseContextfor every hook event. Onturn.settled,delivery.settled, or between turns, the remaining handlers for the event finish, and then eve tears down child sessions and the sandbox (onSessionEndwithreason: "completed"), recordssession.endedwithoutcome: "completed"andcause: { hook }, closes the stream, and releases channel addresses. When called during a running or opening turn, eve stops the turn before its next model call (turn.settledwithoutcome: "cancelled"), cancels working tasks, and then ends the session withoutcome: "completed"andcause: { hook }.ctx.end()drops any pendingctx.continue()continuation on the same turn, acts once with the first hook winning, does nothing onsession.ended, and throws if called after the handler resolves. (#6783) offloadContent()fromeve/toolswrites a tool result overmaxBytes(20,000 by default) to a sandbox file and gives the model a short note with the file's path, so a large MCP or tool result no longer fills the context window.
Set it astoModelOutputondefineTool, including a tool that spreads a built-in definition, or astoolCall.toModelOutputon an MCP or OpenAPI connection.toModelOutputnow receives a second argument,ctx, with thecallId, thetoolName,getSandbox()anddefaultModelOutput(), and a function that takes only the output keeps working. When the result can't be saved, because there is no sandbox or the sandbox fails to open or write,fallbackdecides what the model gets:"inline"(the default) the whole result, or"summary"only its size, shape and first lines. eve logs one warning per session.
offloadContent()never writes a result over 10 MB. A sandbox keeps at most 100 saved results and 100 MB of them, and a new result that takes it over removes the oldest saved results, so the model runs that tool again to get one back. A published MCP tool now returns the model's projection of its output as the resultcontent(text, image and file parts), so an offloaded result stays out of it.structuredContentis unchanged and carries the tool's full output, sotoModelOutputdoes not redact it for MCP callers. (#6642)- OpenAPI connection tools now derive an
outputSchemafrom each operation's JSON success response, so tool signatures type the returnedbody. (#6787) - Set
principalon a steeringturnPolicyto let another person's message join a running turn in a shared session while retaining the turn's caller.
turnPolicytakes{ mode: "queue" }and{ mode: "steer", principal }beside"queue"and"steer", whereprincipalis"match"(the default) or"retain".PrincipalPolicyandTurnModeare exported fromeve/channels, andTurnModefromeve/client. SetturnPolicyon a channel, on a server-side send, or in a built-in channel's message hook result (includingeveChannel({ onMessage }), which also receives the client-requested mode onctx.eve.turnPolicy). An HTTP request body and the client SDK take only"queue"or"steer".
principal: "retain"keeps the turn's caller (ctx.session.auth.currentand the turn ID never change). A channel'sdeliverhook receives the delivery's authenticated sender onpayload.authwhilechannel.session.auth.currentstays the turn's caller. While someone else's message steers the turn,ctx.session.auth.steeredBylists them, and eve holds the caller's identity until the caller sends a message or their approval is accepted. The caller's token for a user-scoped connection or provider fails withConnectionAuthorizationFailedErrorandreason: "turn_steered". So do MCP tool calls withforwardPrincipaland connection event subscriptions. Dynamic schedule tools, remote agent calls withforwardPrincipal, and tools ofbyPrincipal-scoped memory slots fail with an error carrying the same message, andbyPrincipal-scoped memory skips automatic recall and capture while steered.
Thesteered()policy fromeve/tools/approvalasks the caller before a call made while steered, enforcing caller-only approval whenever it triggers even if the tool defines a customapproval.responsepolicy. Use it for tools or connections that authorize fromctx.session.auth.currentin their own code. The git extension'sghtool (in app-installation mode), the custom skills extension's writes and personal-scope reads, and the deployed self-modification extension's tools ask the same way while steered. The default,principal: "match", keeps current behavior. (#6312) - Add
sessions.end()andsessions.prewarm()toeve/serverand retire handed-off sessions cleanly when their anchor Vercel deployment has been deleted.
sessions.end(sessionId, options?)retires an active or stranded session by ID in process without a request context or channel handle, returning aDeliveryand throwingSessionNotActiveErrorwhen inactive.sessions.prewarm(sessionId)prepares an idle session to hand off onto the current deployment without starting a model turn. When a handed-off session's initial anchor deployment is deleted on Vercel, bothend()andsessionTimeoutMspreserve sandbox and child-session cleanup on the live deployment, skip the unreadable terminal stream write and channelsession.endedhandlers, and cancel the dead anchor run.
Thanks @xcscxr for #6568 and #4603. (#6784) workflow()fromeve/tools/workflownow supports foregroundmode: "execute"(typed asWorkflowExecuteTool),ctx.agents,ctx.ask(),ctx.sleep(),ctx.progress(),ctx.agent()https://files, capturedconsoleoutput with error line numbers, and a 10,000-token model output cap. (#6788)- Turn steps write their usage attributes once per step, overlapping the stream flush, instead of once per model call in sequence. (#6720)
- MCP tool calls reuse the connection that earlier steps of the same turn opened, instead of repeating the
initializehandshake andtools/listin every step. (#6746)
Bug Fixes
- Between-turn compaction now evaluates an agent's dynamic model with the session conversation before resolving the compaction model, fixing failures when no dynamic model selection was persisted yet or when a live dynamic model rebuilds on a cold invocation.
Thanks @xcscxr for reporting this in #6630. (#6779) - Run one turn, not two, when Linq redelivers a message webhook or when Linq or Photon redelivers a tapback webhook. (#6593)
- Return
not_foundinstead ofinternalfrom MCP invocation tools when the world rejects a malformedinvocationId.
Thanks @pranavmital for reporting this in #6613. (#6615) - Keep packages host-external in server builds when they only reference a
build.externalDependenciesentry throughoptionalDependenciesor an optionalpeerDependenciesMetapeer.
Thanks @kachar for reporting this and providing the minimal reproduction in #6554. (#6611) - Include chunk names, relative module IDs, direct importers, and entry-to-module import chains when a single-chunk Rolldown bundle emits multiple chunks.
Thanks @xcscxr for reporting this in #5939. (#6780) - On self-hosted Workflow Worlds, an eve upgrade no longer replays a legacy session or a connection event subscription that the earlier eve version started.
Such runs used to replay against renamed steps and fail with a replay divergence. Legacy sessions are now parked like other sessions, and connection event subscriptions are retired with a cancel reason, so the agent must watch those events again. Session timeouts and connection event deliveries still run after an upgrade, because they start fresh on the new version. (#6754) - Reading a session started on an earlier eve no longer fails with
session_version_unsupportedwhen the stream route's check of its first line is slow or fails; the route now answers a retryable503, which eve clients retry, instead of serving the session's lines unconverted.
Thanks @jimexist for reporting this in #5778. (#5780) - The dev TUI now marks fast models and Fast mode with
⚡︎instead of↯. (#6797)