Skip to content

fix(evi): migrate to eve 0.31 session APIs - #553

Merged
HugoRCD merged 1 commit into
mainfrom
sync/eve-0.31
Aug 10, 2026
Merged

fix(evi): migrate to eve 0.31 session APIs#553
HugoRCD merged 1 commit into
mainfrom
sync/eve-0.31

Conversation

@evlogai

@evlogai evlogai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

What and why

Upstream sync: eve released 0.31.0 with a breaking session-API migration (continuation tokens replaced by fixed, ID-addressed handles), followed by patch releases up to 0.31.3. The other tracked packages are current: @agent-browser/eve 0.33.2, @github-tools/eve-extension 0.3.2, @vercel/connect 0.6.1.

This PR bumps eve to ^0.31.3 and adapts the app to the new surfaces:

  • Schedules (digest.ts, upstream-sync.ts): receive(photon, { message, target, auth }) is gone; schedule handlers now use to(channel, target).send(message, { auth }).
  • MCP channel (channels/mcp.ts): the route-level send(message, { continuationToken }) is replaced by from(address).send(message, { auth }); the mcp-session-id now keys the continuation address, so one Raycast chat still maps to one Evi conversation.
  • Eval (evals/safety/first-responder.eval.ts): t.send(message, options) is now positional.

Runtime patch

The pnpm patch is regenerated against 0.31.3 (patches/eve@0.31.3.patch):

  • Kept: the maintainer !reset escape hatch on the iMessage channel, ported from the removed continuationToken-based clear to the new from(threadId).clear() API.
  • Dropped: the dynamic-tool step-registry hunk. eve 0.31 ships its own __eveStepRegistry mechanism, and since fix(evi): inline dynamic tool executes so resumed sessions keep their tools #551 the app inlines all dynamic tool executes in resolvers, which is what actually prevents the "step function not registered" failures on resumed sessions. Worth a sanity check on a resumed iMessage session after deploy, since I cannot exercise the resume path here.

Checks

  • pnpm run lint: 22/22 tasks pass
  • pnpm run typecheck: clean
  • pnpm run test: 22/22 tasks pass (evlog 1788 tests, evi 63 tests)
  • pnpm --filter evi run build: eve build succeeds

No changeset: the change is confined to apps/evi.

eve 0.31.0 replaced continuation-token sessions with fixed, ID-addressed
handles and changed the proactive-delivery surface: schedule handlers now
use to(channel, target).send(message, { auth }), custom-channel routes use
from(address).send(...), and eval delivery takes positional send(message,
options). Migrate the digest and upstream-sync schedules, the MCP channel,
and the first-responder eval to the new shapes, and re-pin the eve runtime
patch (0.31.3): keep the !reset escape hatch, ported to the new
from().clear() API, and drop the dynamic-tool step-registry hunk since
0.31 ships its own registry and the app inlines dynamic tool executes.

Checks: lint, typecheck, and test all pass; eve build succeeds.
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
evi Ready Ready Preview Aug 10, 2026 8:38am
evlog-docs Ready Ready Preview, v0 Aug 10, 2026 8:38am
evlog-render-lab Ready Ready Preview Aug 10, 2026 8:38am
evlog-telemetry Ready Ready Preview Aug 10, 2026 8:38am
just-use-evlog Ready Ready Preview Aug 10, 2026 8:38am

Request Review

@changeset-bot

changeset-bot Bot commented Aug 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c467809

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the bug Something isn't working label Aug 10, 2026
@github-actions
github-actions Bot requested a review from HugoRCD August 10, 2026 08:34
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@pkg-pr-new

pkg-pr-new Bot commented Aug 10, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@evlog/cli@553
npm i https://pkg.pr.new/evlog@553
npm i https://pkg.pr.new/@evlog/nuxthub@553
npm i https://pkg.pr.new/@evlog/telemetry@553

commit: c467809

@HugoRCD
HugoRCD marked this pull request as ready for review August 10, 2026 17:08
@HugoRCD
HugoRCD merged commit a9bd617 into main Aug 10, 2026
20 checks passed
@HugoRCD
HugoRCD deleted the sync/eve-0.31 branch August 10, 2026 17:08
@github-actions
github-actions Bot requested a review from HugoRCD August 10, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant