Repository navigation
Upgrade eve to 1.0.0-rc.1 - #184
Merged
Merged
Conversation
- Move agent, channels, hooks, instructions, and tools to eve 1.0 APIs and v27 session events (defineDynamic functions, (event, ctx) handlers, Interaction/Answer, Delivery, ctx.view selectors). - Make run_browser a resumable serve tool continued by taskId; use eve's built-in eve__task_cancel instead of the restored task_cancel tool. - Port the Linq native-reply patch to eve@1.0.0-rc.1 and drop the task_cancel hunk. - Disable Stripe Link purchases: no @stripe/link-integrations-eve release is built for eve 1.0, which refuses older extensions. Wallet connection remains. - Replace evlog's eve hook (v26-only) with a local v27 per-turn wide event hook and matching OTel runtime context. - Migrate the chat frontend to eve/client 1.0 and v27 events. - Update tests, evals, and the runtime smoke fixture; bump ai, @vercel/connect, and chat to eve 1.0's peer ranges. Co-Authored-By: Claude <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade eve to 1.0.0-rc.1
This upgrades the agent, chat frontend, tests, and evals from eve
0.66.3to1.0.0-rc.1, following eve's Upgrade to 1.0 guides. This targets a release candidate, so it may be worth holding as a draft until eve 1.0.0 ships.What changed
defineDynamic((ctx) => value). eve 1.0 resolves these before every model call, so the scheduled-run lease is still rechecked on each step.compaction.thresholdPercentis nowcompaction.threshold, and memory recall uses onlyturn.started.(event, ctx)handlers. Each tool name is read fromcall(ctx.view, callId). Linq still delivers replies only throughsend_message: the defaultcontent.completedposting is overridden. Sign-in prompts still go out as native Linq links.run_browseris now a resumableservetool. The coordinator continues a worker bytaskIdinstead ofagentId, and stops one with eve's built-ineve__task_cancel. The restoredtask_canceltool and its patch hunk are removed. Production instructions use Eve’s supplied structured completion tool rather than the oldfinal_outputname.Interaction[]. Typed answers are matched to options locally, because 1.0 has no public text-to-answer helper. A worker that overruns its runtime limit is retired withend()and replaced by a fresh session. Delivery results now readDelivery.sessionId, and an inactive session raisesSessionNotActiveError. Completion follows Eve’s same-turn task lifecycle; the previous later-turn deferral is removed. The old database column is retained for compatibility with deployments still serving pre-1.0 sessions.eve/client1.0 and v27 events:conversationOfand selectors fromeve/events,Interaction/Answer,Delivery.stream(), and cursors keyed by position. The custom paginated history hook is kept, becauseSessionStorecan't prepend older pages. Child relationships are retained separately from the visible transcript and recovered for resumed workers, so activity and trace access survive pagination and reloads./eve/v1/task-input/:tokenno longer exists, and the new/eve/v1/healthroute needs no session. Inbox hook tokens use the same format as before.ai,@vercel/connect, andchatare bumped to eve 1.0's peer ranges.Disabled or worked around until upstream releases catch up
@stripe/link-integrations-everelease is built for eve 1.0; the latest, 0.3.8, was built with 0.79.0. eve 1.0 refuses to load extensions built with 0.83 or earlier. The extension and the twolink__*coordinator tools are removed, and the agent says Link purchases are temporarily unavailable. Wallet connection at/linkandfill_from_linkremain. The README's Link section explains how to re-enable purchases.evlog/eve's hook only understands v26 events, including in 3.0.0-beta.1. A small local hook now emits one wide event perturn.settledand persession.ended. A local OTelruntimeContexttags spans with the matchingevlog.request_id.patches/eve@1.0.0-rc.1.patchports the existing reply patch: the bundled Linq adapter still doesn't forwardreply_to.Behavior differences
clear()are hidden.${deliveryId}:userinstead of${turnId}:user.Deploying
Testing
pnpm checkpasses (879 tests across 94 files, lint, types, formatting, and Knip);pnpm test:runtimepasses (2 evals, 16 gates).pnpm buildandpnpm build:evepass with the existing local development configuration.b1da6b5), a local UI smoke test verified sign-in, workspace/chat loading, a live model reply, and reply persistence after reload. The expired local Vercel credential was refreshed before that successful turn.🤖 Generated with Claude Code