Releases: TanStack/workflow
@tanstack/workflow-core@0.0.1
Initial public release of @tanstack/workflow-core.
pnpm add @tanstack/workflow-core zodType-safe durable execution engine for TypeScript. Closure-based workflows with replay-driven durability, pause/resume on approvals and signals, typed middleware that extends ctx, an append-only event log that doubles as the UI transport, and a pluggable RunStore interface.
Primitives on ctx: step, sleep / sleepUntil, waitForEvent, approve, now, uuid, retry, emit. Cross-version routing via previousVersions. Webhook entry point alongside long-running runWorkflow. In-memory RunStore with push subscription.
Docs
- Overview — mental model
- Quick start — copy-paste recipes
- Primitives, Middleware, Replay and resume, Scheduling
Status
Pre-alpha. Public API stable in shape; bindings (React, Solid, Vue, Svelte), storage adapters (Postgres, SQLite, Durable Objects), and devtools are forthcoming.
Extracted from @tanstack/ai-orchestration (Alem Tuzlak + Tom Beckenham). The AI-specific surface (agents, orchestrators) stays in ai-orchestration and composes on top.
Caveat
This build was published from a local machine while the TanStack org's GitHub Actions billing is blocked. No npm provenance attestation is attached. Future releases through the Release workflow will sign.