Skip to content

eve@1.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 04:34
9a8da11

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 include prompt_tokens, completion_tokens, tokens, prompt_cached_tokens, and prompt_cache_creation_tokens when the eval recorded usage, plus estimated_cost when every counted session reported a cost. Row metadata lists the eval's models under eveModels and each session's models and usage under eveSessions. braintrustReporter also accepts metadata, tags, repoInfo, and cwd options for the experiment. (#6860)
  • Set experimental.compaction in agent.ts to replace how eve compacts the history.
    The API is experimental and can change in any release.
    eve/experimental/compaction exports defaultCompaction(), eve's default compaction, textCompaction() and withoutInjected(). A strategy is one function (ctx, below) that eve asks before every model call, and when a client calls session.compact(). It reads ctx.history, ctx.tokens, ctx.requested and ctx.overflow, decides whether the history is due, and returns the history to keep, or undefined to keep it. It can rewrite the history with ctx.call() model calls. below() runs eve's own compaction with the agent's compaction options, 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 as ctx.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, so below() does too. Set compaction.model, or use textCompaction(), to keep text summaries.
    ctx.call() takes tools and promptCache options, 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, slackChannel closed custom modals without delivering their data. Submission responses use Chat SDK's modal response actions. Existing onInteraction handlers 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.json once per custom skills lookup, deduplicate version reads when listing summaries, and memoize turn skills across steps through ctx.memo so 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 clientContext on 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 eval never 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 during eve build and eve dev.
    Thanks @mmahalwy for reporting this in #6143. (#7130)
  • Detach local Workflow loopback queue deliveries from the caller's active OpenTelemetry span so instrumented fetch calls no longer emit Operation attempted on ended Span warnings after the enqueueing request ends.
    Thanks @tejasnafde for reporting this in #776. (#7169)
  • Classify missing AI Gateway credentials in eve dev as gateway-auth-missing-credentials without retrying instead of reporting a generic /login reconnection 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() in toolResultFrom().
    Thanks @carlosraphael for reporting this in #6970. (#7098)
  • Improve eve init discoverability and reliability: direct new projects to run eve init <name> --non-interactive first in the package description, README, CLI help, and docs; allow eve init to run from directories whose package.json already depends on eve without agent files; and fall back to npm when pnpm is unavailable and no package manager is specified. (#7034)
  • Bind mounted extension configuration for "use step" helpers even when defineExtension shares 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 the eve-git sandbox image now require GitHub CLI 2.82.1 or newer and install gh from GitHub's official apt repository instead of Ubuntu's outdated 2.46.0 package.
    Preparation now upgrades or rejects outdated /usr/bin/gh binaries so gh pr edit no longer fails on the deprecated Projects classic projectCards field. Thanks @hannojg for reporting this in #5856. (#7159)
  • Authenticate GitHub repository lookups and checkouts with a configured installationToken when installationId is omitted, so proactive sends to private repositories succeed without supplying an installation ID.
    Thanks @coygeek for reporting this in #6128. (#7139)
  • httpBasic() and verifyHttpBasic() 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 bash calls and concurrent filesystem writes on JustBashSandbox now settle instead of hanging.
    Thanks @ycarmel for reporting this in #6589. (#7109)
  • Stage prepared just-bash sandbox templates into Vercel function outputs during eve build and store live sessions in a writable temporary directory when the function filesystem is read-only, so JustBashSandbox starts on Vercel without SandboxTemplateNotProvisionedError.
    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 nextCursor across all tools/list pages 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 externalDependencies during discovery, so eve eval, eve dev, and eve build succeed when optional extension drivers such as pg are 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 4xx other than 401 fails the turn with MODEL_CALL_FAILED and 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 a hint. (#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-unsupported diagnostic 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/connect scaffold version from the workspace catalog (2.9.2) instead of hardcoding 2.7.0, removing the GHSA-mrhx-c7xc-m3w5 Zod audit chain from fresh eve init projects.
    Thanks @coygeek for reporting this in #6123. (#7180)
  • Handler-form schedules now log and propagate rejected waitUntil promises after settling registered tasks instead of discarding them silently.
    Thanks @coygeek for reporting this in #6127. (#7136)
  • Limit brokered GitHub credential leases: git no longer leases API access, and git and gh-signed-commit scope their github.com rules when a repository is declared. (#7020)
  • Resolve the installed eve documentation path from the enclosing package tree in local self__modify instructions and trace analysis, so workspace-member agents without a local node_modules directory can read eve docs.
    Thanks @pedroalecto for reporting this in #6208. (#7105)
  • Make sessions.attach(id).stream() from eve/server reject stranded, expired, and unknown sessions up front when following, matching attachSession(id).stream() while leaving follow: false reads unchanged.
    Thanks @carlosraphael for reporting this in #7013. (#7116)
  • gh-signed-commit now 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 USLACK and USLACKBOT before 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.ended event 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-After delays from HTTP 429 responses in the Vercel Sandbox provider by throwing Workflow's RetryableError with retryAfter set and the original error kept as cause.
    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 explicit modelContextWindowTokens override.
    Thanks @yeeroen for reporting this in #6155. (#7120)