Skip to main content
These steps take an agent made with jaccard init on eve 0.78 to eve 1.0.0 and the platform packages built for it. Agents on eve 0.78 keep running on Jaccard, so you choose when to move.
A coding agent can do this for you. Install the upgrade-eve skill in the project, then ask your coding agent to upgrade the agent to eve 1.0. It follows these steps and stops to ask you before it deploys.

Before you start: end the agent’s sessions

A session can only run on the eve version that started it. After you deploy eve 1.0, every session the agent has is stranded: its history stays readable, but it can’t take another message.
Deploying eve 1.0 ends the work of every open session. A running turn, a pending approval and a subagent or background task stop, and they don’t continue on eve 1.0.
What a caller sees after the deploy:
  • Slack: the next message in a thread starts a new session in that thread, without the earlier conversation.
  • Your web app or service: a send or stream to an old session id gets 409 with code: "session_stranded". Start a new session.
  • Hosted sandboxes of old sessions aren’t stopped by the session. They stop after their idle timeout and are deleted once their workspace expires, and until then they count toward your organization’s sandbox limit. A new session gets a new sandbox, and prepare runs again.
State the agent keeps in memory, such as a Chat SDK channel on @chat-adapter/state-memory or a map in a tool, is lost on every deploy, this one included.
So let open conversations finish first, then end the sessions your web app or service holds ids for. Slack threads need nothing: their next message starts a new session. Ending works on eve 0.78 with the session’s id, when your organization membership can call the agent (Who can call your agent):
On eve 1.0 the route is /end. Ending a session before the deploy also stops its sandbox. After the deploy you can still end a stranded session, but its sandbox only stops on its idle timeout.

Bump the packages

From the project folder:
Keep the tilde ranges: they hold eve on 1.0. From eve-metrics 0.3.1 and eve-sandbox 2.0.1 these packages also accept eve 1.1, so an agent can move on to eve 1.1 later with @jaccard-ai/world@^0.2.1. Then check the peers:
If it flags a package eve 1.0 peers on, such as chat (eve 1.0 needs ^4.42.0), ai or @vercel/connect, pnpm add it at the range it names and check again until it reports no issues. If your project pins zod below 4.6.6, bump it: older versions can exhaust memory on oversized input (GHSA-mrhx-c7xc-m3w5). You can commit the bump on its own now, before the fixes below, so each is easy to review. eve 1.0 runs on Node 24 or later and targets Node 26. Agents run on Node 24 on the platform, so leave engines.node as it is.

Fix what breaks

Run the typecheck and fix each error before you build. eve build doesn’t type-check, so it builds an agent that still has the old sandbox option.

The sandbox file

In agent/sandbox/sandbox.ts, the hosted sandbox’s options move from k8s to hosted:
If the file has the comment // Exported: `eve build` prepares it before any session exists., replace it. On eve 1.0 it’s wrong:
If you import more than defaultEnvironment, K8sPodSandbox is now HostedSandbox and podNameFor is sandboxNameFor. The eve-sandbox package README lists every rename. What else changes for sandboxes:
  • Commands run under bash where the image has it, not sh. Scripts that rely on sh behaviour may need a change.
  • prepare still runs once per workspace, the first time a session opens its sandbox, not at eve build.
  • Ending a session stops its sandbox and keeps the workspace, as before. Deleting the session deletes the sandbox.

Tools

jaccard init creates no tools, so these apply only to tools you added:
  • bash output: the model sees plain output, and a non-zero exit ends with [exit code: N] as an error result. bash waits 60 seconds before it leaves a command running in the background, and the model can ask for up to 120. Truncated output names a file in the sandbox that holds all of it.
  • New edit_file tool: every agent gets one. If you disabled, wrapped or require approval for write_file, do the same for edit_file.
  • agentWithModel is removed: use agent({ models }) from eve/tools/agent.
  • A dynamic tool can’t replace a static tool of the same name. Define a tool you change per session only in the dynamic file.
  • The code extension no longer adds code__apply_patch, code__grep or code__worker.
  • Approvals: approvalKey and ApprovalContext.approvedTools are removed, and once() remembers the latest answer for each tool for the rest of the session. eve’s agent files guide has the details.

Channels you added

jaccard init creates only agent/channels/eve.ts. For a channel you wrote with Chat SDK (eve/channels/chat-sdk):
  • messageToUserContent is now messageContentOf.
  • Pass idempotencyKey: message.id to send, so a retried webhook reaches the agent once.
  • On adapters that can’t show cards, such as email, approvals arrive as numbered options, and anyone who can reply in the thread can answer. Make the tool’s approval refuse callers who mustn’t approve.
eve’s channels guide covers Slack, Teams, MCP and custom channels.

Code that reads session events

Session events change format. A turn now ends with turn.settled and an outcome, instead of turn.completed, turn.failed or turn.cancelled. Update any web app or service that reads the stream before you deploy: one that matches the old names keeps working without errors and matches nothing. Hooks inside the agent show up in pnpm typecheck.

Packages that need no change

  • @jaccard-ai/eve-auth 0.2.2: agent/channels/eve.ts stays as it is when its auth list holds only localDev() and jaccardOidc(). If you added eve’s vercelOidc with allowToolStubs, switch it to eveVercelOidc from eve/channels/eve.
  • @jaccard-ai/eve-metrics 0.3: agent/instrumentation/jaccard.ts stays as it is, from 0.1 or 0.2. Metric names and labels are the same, so the Metrics tab and your dashboards keep working.
  • @jaccard-ai/world 0.2: agent/agent.ts stays as it is. The platform already serves it.

Build and check locally

Chat with the agent in pnpm dev and have it run a command, which uses the Docker sandbox. Commit the fixes once all three pass.

Deploy and check it

Before uploading, deploy checks that @jaccard-ai/world matches the project’s eve. If the bump missed it, deploy stops with an error that names the pnpm add line to run. This check runs only in jaccard deploy, which has no dry run. Then check the deployed agent:
  1. jaccard agent connect and send a message. The reply shows that the platform’s auth, the model and sessions work.
  2. Ask it to run echo $BASH_VERSION in its sandbox. A version number shows the hosted sandbox works under bash. jaccard sandbox list --agent my-agent shows the new sandbox.
  3. Open the agent’s Metrics tab in the console. The turn and the tool call show up in its charts.
  4. jaccard logs my-agent --since 15m --level warn shows no errors. A warning that the world declares no queueAuthMode is expected.

Roll back

Revert the upgrade commits and deploy again, naming the first of them:
The agent is back on eve 0.78 once deploy returns.
Rolling back strands the sessions started on eve 1.0, the same way the upgrade stranded the eve 0.78 ones. End them first if you need them closed cleanly.

More from eve

eve’s upgrade guide, also in node_modules/eve/docs/guides/upgrade/ for the eve you installed, covers what an agent made by jaccard init doesn’t use, such as extensions, connections, memory providers, saved history and eve’s client libraries.
Last modified on November 20, 2026