Released 2026-12-03 · Compare with 1.6.1
Features
- The Braintrust reporter now logs each eval's token usage and cost as Braintrust metrics.
Rows includeprompt_tokens,completion_tokens,tokens,prompt_cached_tokens, andprompt_cache_creation_tokenswhen the eval recorded usage, plusestimated_costwhen every counted session reported a cost. Row metadata lists the eval's models undereveModelsand each session's models and usage undereveSessions.braintrustReporteralso acceptsmetadata,tags,repoInfo, andcwdoptions for the experiment. (#6860) - Set
experimental.compactioninagent.tsto replace how eve compacts the history.
The API is experimental and can change in any release.
eve/experimental/compactionexportsdefaultCompaction(), eve's default compaction,textCompaction()andwithoutInjected(). A strategy is one function(ctx, below)that eve asks before every model call, and when a client callssession.compact(). It readsctx.history,ctx.tokens,ctx.requestedandctx.overflow, decides whether the history is due, and returns the history to keep, orundefinedto keep it. It can rewrite the history withctx.call()model calls.below()runs eve's own compaction with the agent'scompactionoptions, so a strategy can fall back to it when it fails. A request the provider rejects as too long compacts and retries once, with or without a strategy; a strategy sees it asctx.overflow. (#6806) - OpenAI Responses models,
openai/on AI Gateway included, now compact on OpenAI.
eve keeps OpenAI's encrypted record as the history, not a text summary, and falls back to a summary with a warning if the call fails.defaultCompaction()does this, sobelow()does too. Setcompaction.model, or usetextCompaction(), to keep text summaries.
ctx.call()takestoolsandpromptCacheoptions, so a strategy can send the turn's tools and reuse the turn's prompt cache. (#6811) - Slack apps can now handle their own Block Kit modals with
onView: a"submit"event carries the submitted values and can return field errors or a replacement view, and a"close"event reports a person closing the modal.
Before this,slackChannelclosed custom modals without delivering their data. Submission responses use Chat SDK's modal response actions. ExistingonInteractionhandlers and eve's Type your answer modal are unchanged.
Thanks @benpankow for the interaction design in #2922 that this builds on. (#6361) - Read a scope's
catalog.jsononce per custom skills lookup, deduplicate version reads when listing summaries, and memoize turn skills across steps throughctx.memoso multi-step turns avoid redundant storage round-trips. (#7093)
Bug Fixes
- Preserve Anthropic provider-executed tool calls and results in place when the same assistant response also invokes local tools, so signed thinking blocks stay valid and encrypted search results replay properly on the next step.
Thanks @JeffreyLind3 for reporting this in #6428 and @wasimxyz for confirming the AI Gateway replay behavior. (#7131) - Stop treating
clientContexton an approval answer as queued turn input that schedules extra model steps or keeps parked turns spinning, while still applying it to later model calls in the same turn and clearing it when the turn settles.
Thanks @warmwind for reporting this in #4507. (#7155) - Ask for approval before running a call resumed after a connection sign-in when its approval policy now requires a person, instead of running it unapproved. (#7022)
- Write new authored-module cache files atomically via a temporary file and rename so parallel processes such as
eve evalnever import an empty or half-written bundle.
Thanks @jtmthf for reporting this in #6566. (#7103) - Support named and namespace imports from external CommonJS packages (such as
lodash) whose exports Node cannot statically analyze when evaluating authored modules duringeve buildandeve dev.
Thanks @mmahalwy for reporting this in #6143. (#7130) - Detach local Workflow loopback queue deliveries from the caller's active OpenTelemetry span so instrumented
fetchcalls no longer emitOperation attempted on ended Spanwarnings after the enqueueing request ends.
Thanks @tejasnafde for reporting this in #776. (#7169) - Classify missing AI Gateway credentials in
eve devasgateway-auth-missing-credentialswithout retrying instead of reporting a generic/loginreconnection error.
Thanks @chrisohalloran for reporting this in #6574. (#7113) - Client projections and session folds now discard content parts and replies from model runs settled as
abandoned, so retried model attempts do not leave duplicate reasoning or stale text in messages or transcripts.
Thanks @xiaok for reporting this in #5896. (#7183) - Match settled calls to tools returned by
defineDynamic()intoolResultFrom().
Thanks @carlosraphael for reporting this in #6970. (#7098) - Improve
eve initdiscoverability and reliability: direct new projects to runeve init <name> --non-interactivefirst in the package description, README, CLI help, and docs; alloweve initto run from directories whosepackage.jsonalready depends onevewithout agent files; and fall back tonpmwhenpnpmis unavailable and no package manager is specified. (#7034) - Bind mounted extension configuration for
"use step"helpers even whendefineExtensionshares a module with other extension entries or is re-exported from a build chunk, instead of falling back to schema defaults.
Thanks @carlosraphael for reporting this in #6943. (#7124) - Keep installed ES module packages external during compile-time authored-module loading when they are imported through workspace source outside the entry package root, avoiding redundant bundling and re-evaluation across mounted extension modules.
Thanks @dretanacr for reporting this in #6573. (#7177) - Record
$eve.*usage attributes when a model step fails or is interrupted after spending tokens, including when automatic compaction rejects a blank summary call.
Thanks @benpankow for reporting this in #4548. (#7150) installCodeTooling()and theeve-gitsandbox image now require GitHub CLI 2.82.1 or newer and installghfrom GitHub's official apt repository instead of Ubuntu's outdated 2.46.0 package.
Preparation now upgrades or rejects outdated/usr/bin/ghbinaries sogh pr editno longer fails on the deprecated Projects classicprojectCardsfield. Thanks @hannojg for reporting this in #5856. (#7159)- Authenticate GitHub repository lookups and checkouts with a configured
installationTokenwheninstallationIdis omitted, so proactive sends to private repositories succeed without supplying an installation ID.
Thanks @coygeek for reporting this in #6128. (#7139) httpBasic()andverifyHttpBasic()reject requests when the configured username or password is unset, empty, whitespace-only, or not a string.httpBasic()logs the configuration error once on requests rather than throwing during app loading. (#7018)- Inline CommonJS
require()dependencies of inlined packages during hosted builds instead of emitting build-machine absolute paths that fail at runtime.
Thanks @KingAmo for reporting this in #6035. (#7156) - Staged sandbox attachments that are removed, overwritten, or belong to a deleted or replaced sandbox no longer reach the model from the in-memory hydration cache in warm processes.
Thanks @gmgngmgn for reporting this in #6920. (#7112) - Parallel
bashcalls and concurrent filesystem writes onJustBashSandboxnow settle instead of hanging.
Thanks @ycarmel for reporting this in #6589. (#7109) - Stage prepared
just-bashsandbox templates into Vercel function outputs duringeve buildand store live sessions in a writable temporary directory when the function filesystem is read-only, soJustBashSandboxstarts on Vercel withoutSandboxTemplateNotProvisionedError.
Thanks @kashifrayani for reporting this in #6479. (#7181) - Scan Linear messages for uploaded file links in linear time, so messages with many unmatched brackets no longer block the event loop. (#7021)
- Retry transient BYOK model call failures when AI Gateway falls back to its system credential on the same provider, and report the BYOK attempt's error message instead of the system retry's error.
Thanks @zackleman for reporting this in #5913. (#7157) - Follow
nextCursoracross alltools/listpages during MCP connection discovery so tools after the first page remain discoverable and callable, while rejecting repeated cursors and unbounded pagination.
Thanks @matusekma for reporting this in #6514. (#7099) - Skip uninstalled optional dependencies and optional peer dependencies listed in a mounted extension's
externalDependenciesduring discovery, soeve eval,eve dev, andeve buildsucceed when optional extension drivers such aspgare not installed while still tracing them when installed.
Thanks @tayzlor for reporting this in #7091. (#7106) - Coordinate concurrent interactive sign-in completions in a step so parallel tool calls sharing one sign-in reuse the completed authorization instead of opening a second sign-in.
Thanks @eirikhaugstulen for reporting this and @dretanacr for the root-cause analysis and implementation plan in #6152. (#7145) - On a per-user model, a provider's
4xxother than401fails the turn withMODEL_CALL_FAILEDand the provider's message, and the session stays open.
An AI Gateway policy refusal, such as a provider outside the team's allowlist, also reports ahint. (#7069) - Preserve accepted but unstarted tool approvals across step retries so approved workflow calls run without asking again, and close unstarted calls when recovery stops a step so later approvals pause properly.
Thanks @gshost1 for reporting this in #6368. (#7152) - Refresh the scaffolded Web Chat template dependencies and Chat SDK vendored adapters to match the latest compatible upstream releases. (#7094)
- Prompts refused by OpenAI (
invalid_prompt) or Azure OpenAI (content_filter) now fail only their turn instead of ending the session.
Thanks @abhiramshaji-cyber for reporting this in #6550. (#7119) - Re-evaluate
defineDynamic()definitions (instructions, tools, skills, connections, and subagents) after mid-turn compaction so the rebuilt model request carries fresh values instead of stale pre-compaction state.
Thanks @xtmx7 for reporting this in #6974. (#7107) - Reject extension mounts that import undeclared package subpaths with a
discover/extension-mount-subpath-unsupporteddiagnostic instead of silently mounting the package root.
Thanks @carlosraphael for reporting this in #6984. (#7111) - Release cached live dynamic definition results when a session's turn settles, cancels, or ends instead of holding up to 1,024 idle sessions per process, and skip restore-mode re-evaluation at the start of a new turn.
Thanks @kba977 for reporting this and providing the reproduction and fix in #7089. (#7104) - Resolve the default
@vercel/connectscaffold version from the workspace catalog (2.9.2) instead of hardcoding2.7.0, removing theGHSA-mrhx-c7xc-m3w5Zod audit chain from fresheve initprojects.
Thanks @coygeek for reporting this in #6123. (#7180) - Handler-form schedules now log and propagate rejected
waitUntilpromises after settling registered tasks instead of discarding them silently.
Thanks @coygeek for reporting this in #6127. (#7136) - Limit brokered GitHub credential leases:
gitno longer leases API access, andgitandgh-signed-commitscope theirgithub.comrules when a repository is declared. (#7020) - Resolve the installed
evedocumentation path from the enclosing package tree in localself__modifyinstructions and trace analysis, so workspace-member agents without a localnode_modulesdirectory can readevedocs.
Thanks @pedroalecto for reporting this in #6208. (#7105) - Make
sessions.attach(id).stream()fromeve/serverreject stranded, expired, and unknown sessions up front when following, matchingattachSession(id).stream()while leavingfollow: falsereads unchanged.
Thanks @carlosraphael for reporting this in #7013. (#7116) gh-signed-commitnow publishes edits to existing executable files when the file mode stays the same, so agents can change scripts in repositories that require signed commits.
It also fails, and leaves the checkout unchanged, when the commit GitHub created does not match the staged tree. (#7138)- Drop Slackbot system notices from
USLACKandUSLACKBOTbefore Slack message hooks or built-in defaults run, preventing agents from starting turns in read-only Slackbot conversations.
Thanks @erwinkn for reporting this in #6290. (#7117) - Withdraw stale proxied subagent and workflow ask prompts when a late or duplicate answer arrives after the child has ended, instead of failing the parent session.
Thanks @Thytu for reporting this and @wtfsayo for the updated reproduction in #1608. (#7165) - Steering now stops a retried model call when the failed attempt it replaces had only streamed tool call input, instead of leaving the retry unsteerable until it finishes.
Thanks @frostney for reporting this in #6869. (#7148) - Continue retiring a stranded session when reading its history times out, skipping the best-effort
session.endedevent instead of aborting retirement and leaving the channel stuck.
Thanks @raffaeletrevisan-ovc for reporting this in #6588. (#7170) - Fail delegated subagent tasks when a child turn is cancelled on its own instead of reporting an empty completed result to the parent.
Thanks @gshost1 for reporting this in #6265. (#7123) - Fix generated Web Chat code blocks showing another snippet's highlighted text when two snippets have the same length and the same first and last 100 characters. (#7016)
- Use the box-drawing corner
└instead of⎿for TUI sub-item elbows so the connector centers with text across terminal fonts and dims consistently in task and setup panels. (#7154) - Preserve the turn caller and turn-boundary state when a retried turn step folds orphaned stream events from an interrupted attempt, preventing false cross-principal rejections and stale principal retention on reruns.
Thanks @isaacharrisholt for reporting this in #6940. (#7151) - Preserve
Retry-Afterdelays from HTTP 429 responses in the Vercel Sandbox provider by throwing Workflow'sRetryableErrorwithretryAfterset and the original error kept ascause.
Thanks @soria-clawd-bot for reporting this in #6706. (#7115) - Resolve AI Gateway context window metadata for Vertex AI and Bedrock provider models (including Claude on Vertex via
@ai-sdk/google-vertex/anthropic) without requiring an explicitmodelContextWindowTokensoverride.
Thanks @yeeroen for reporting this in #6155. (#7120)