Skip to content

Migrate Eve to upstream fixes and minimize compatibility patches - #137

Merged
fmhall merged 2 commits into
mainfrom
mason/eve-upstream-migration
Sep 8, 2026
Merged

fmhall merged 2 commits into
mainfrom
mason/eve-upstream-migration

Conversation

@fmhall

@fmhall fmhall commented Sep 8, 2026

Copy link
Copy Markdown
Member

OpenInstinct's Eve 0.49.0 runtime could repeatedly ask the model to acknowledge the same background task after each message delivery. This migrates to the official immutable upstream build at 59ec96cc99f65a80f7a2daf4ca5e2a0ad95455f2 (0.52.2+main.59ec96cc99f65a80), including the merged turn-context fix in vercel/eve#3089 and the other fixes on that revision. npm's 0.52.2 release does not contain that fix.

Migration

  • Update Eve and its AI SDK, Zod, and evlog cohort; remove the obsolete experimental.tasks flag because subagents now run in the background by default.
  • Use native defaultTools: false for the static root and explicitly export its existing supported tools. Keep the dynamic browser worker's existing tool exclusions: Eve rejects defaultTools in runtime-selected configurations.
  • Adapt benchmark progress to delta-only message events and browser traces to workflow-tool actions.
  • Move existing callback authorization into the app's channel definition using public defineChannel and routeAuth APIs.

Remaining patches

Remove the old tool-export, null-verifier, and framework callback-auth patches. Retain native Linq threaded-reply support in the separately installed adapter and Eve's bundled adapter, plus declaration bridges for incomplete bundled Linq/Chat exports. Document the upstream pin, checksum, and removal conditions in patches/README.md. No local task-loop or prompt-placement patch is applied.

Validation

  • pnpm install --frozen-lockfile
  • pnpm check: 705 tests plus lint, types, formatting, and Knip
  • pnpm build
  • pnpm exec eve build
  • Actual bundled Linq adapter request test covers reply, attachment, and idempotency fields.
  • Browser-worker regression invokes Eve's actual dynamic configuration normalizer.
  • Local replay with the production model and reconstructed conversation: one mocked send_message, then DELIVERY_COMPLETE, in two model calls. No real messages or hotel actions were performed.

This is a pinned upstream-main build pending a registry release containing the fix. Client and server move together through the shared Eve dependency. Production has not been deployed.

@fmhall
fmhall marked this pull request as ready for review September 8, 2026 17:09
@fmhall
fmhall merged commit eaa6947 into main Sep 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant