Uh oh!
There was an error while loading. Please reload this page.
Revert exporting DurableAgent from the root "@workflow/ai" package - #714
Conversation
🦋 Changeset detectedLatest commit: ea0df6d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📊 Benchmark Results
workflow with no steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Next.js (Turbopack) | Nitro workflow with 1 step💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Nitro | Next.js (Turbopack) workflow with 10 sequential steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Express | Nitro Promise.all with 10 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Nitro | Express Promise.all with 25 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Express | Next.js (Turbopack) Promise.race with 10 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Nitro | Express Promise.race with 25 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Nitro | Next.js (Turbopack) Stream Benchmarks(includes TTFB metrics)workflow with stream💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Express | Nitro SummaryFastest Framework by WorldWinner determined by most benchmark wins
Fastest World by FrameworkWinner determined by most benchmark wins
Column Definitions
Worlds:
|
🧪 E2E Test Results❌ Some tests failed Summary
❌ Failed Tests🌍 Community Worlds (12 failed)mongodb (1 failed):
redis (1 failed):
starter (9 failed):
turso (1 failed):
Details by Category✅ ▲ Vercel Production
✅ 💻 Local Development
✅ 📦 Local Production
✅ 🐘 Local Postgres
✅ 🪟 Windows
❌ 🌍 Community Worlds
|
TooTallNate
commented
Jan 1, 2026
There was a problem hiding this comment.
Pull request overview
This PR reverts the export of DurableAgent and related types from the root @workflow/ai package to fix bundling issues with client-side frameworks like Next.js caused by Node.js API usage. Users should import DurableAgent from @workflow/ai/agent instead.
Key changes:
- Removed
DurableAgentclass andOutputhelper exports from the root package index - Removed 18 type exports related to
DurableAgentfunctionality from the root package - Added changeset documenting this revert as a patch version change
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
packages/ai/src/index.ts | Removed all DurableAgent-related exports that were causing bundling issues with client-side frameworks |
.changeset/plain-parks-lick.md | Added changeset documenting the revert as a patch-level change |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.

In commit 26d9769 there were exports added related to DurableAgent being re-exported from the root of the "@workflow/ai" package. This re-exporting is an error and should not have been added because it causes bundling issues with client-side frameworks (i.e. Next.js) due to usage of Node.js APIs.
Fixes#709.
Closes#710.