Skip to content

Conversation

@adriandlam
Copy link
Member

@adriandlam adriandlam commented Oct 29, 2025

Add SvelteKit Integration Support

This PR adds SvelteKit support to Workflow DevKit, bringing it to feature parity with Next.js and Nitro integrations.

What's New

  • New Package: @workflow/sveltekit with Vite plugin and builder
  • Build Target: sveltekit added to CLI with SvelteKit-specific request adapters
  • Documentation: New getting-started guide for SvelteKit

Usage

Add the SvelteKit workflowPlugin

// vite.config.ts
import { sveltekit } from '@sveltejs/kit/vite';
import { workflowPlugin } from 'workflow/sveltekit';

export default defineConfig({
  plugins: [sveltekit(), workflowPlugin()],
});

The plugin auto-generates SvelteKit route handlers at .well-known/workflow/v1/:

  • flow/+server.js - Workflow execution
  • step/+server.js - Step execution
  • webhook/[token]/+server.js - Webhook resumption

Testing

  • Added to CI test matrix
  • Workbench includes E2E test workflows

@changeset-bot
Copy link

changeset-bot bot commented Oct 29, 2025

🦋 Changeset detected

Latest commit: 3ca91e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@workflow/world-local Patch
@workflow/sveltekit Patch
@workflow/builders Patch
workflow Patch
@workflow/core Patch
@workflow/cli Patch
@workflow/world-postgres Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/ai Patch
@workflow/world-testing Patch
@workflow/web-shared Patch

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

@vercel
Copy link
Contributor

vercel bot commented Oct 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview Comment Nov 4, 2025 5:04am
example-nextjs-workflow-webpack Ready Ready Preview Comment Nov 4, 2025 5:04am
example-workflow Ready Ready Preview Comment Nov 4, 2025 5:04am
workbench-express-workflow Error Error Nov 4, 2025 5:04am
workbench-nitro-workflow Ready Ready Preview Comment Nov 4, 2025 5:04am
workbench-nuxt-workflow Ready Ready Preview Comment Nov 4, 2025 5:04am
workbench-sveltekit-workflow Ready Ready Preview Comment Nov 4, 2025 5:04am
workbench-vite-workflow Ready Ready Preview Comment Nov 4, 2025 5:04am
workflow-docs Ready Ready Preview Comment Nov 4, 2025 5:04am

@socket-security
Copy link

socket-security bot commented Oct 29, 2025

@vercel vercel bot temporarily deployed to Preview – workflow-docs October 29, 2025 00:45 Inactive
@vercel vercel bot temporarily deployed to Preview – workflow-docs October 29, 2025 05:57 Inactive
@vercel vercel bot temporarily deployed to Preview – workflow-docs October 30, 2025 02:12 Inactive
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.

4 participants