Commit Graph

129 Commits

Author SHA1 Message Date
Vercel Release Bot f368cd34a5 Version Packages (beta) (#206) @workflow/world-postgres@4.1.0-beta.7 @workflow/world-testing@4.0.1-beta.11 workflow@4.0.1-beta.10 @workflow/nitro@4.0.1-beta.10 @workflow/next@4.0.1-beta.10 @workflow/ai@4.0.1-beta.10 @workflow/web-shared@4.0.1-beta.9 @workflow/builders@4.0.1-beta.6 @workflow/sveltekit@4.0.0-beta.4 2025-11-05 09:40:03 -08:00
Nathan Rajlich 5b9a24a6bf [docs] Remove framework support callout (#220) 2025-11-04 23:07:31 -08:00
Peter Wielander 0ce3197d02 Disable postgres world tests running in win32, fix container setup for ubuntu (#215) 2025-11-04 18:27:08 -08:00
Peter Wielander d71da4acb5 Web-shared: update packaging to support projects with node16 style module resolution (#214) 2025-11-04 18:16:11 -08:00
Adrian c2fa9df87d fix: node module plugin in workflow and add tests (#210)
* fix: node module plugin in workflow and add tests

* fix: node modules regex

* changeset
2025-11-04 16:39:56 -08:00
Copilot d792ff5063 Fix CLI flag documentation: --auth-token → --authToken (#213) 2025-11-04 16:09:55 -08:00
Sree Narayanan 8a82ec5334 fix: postgres world storage edgecases (re-open of PR #135) (#208)
* fixes query failing on undefined runid

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

* fixes startedAt being undefined on resume

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

* tests for storage contract

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

* added changeset

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>

---------

Signed-off-by: Sree Narayanan <sreeaadhi07@gmail.com>
2025-11-04 14:12:36 -08:00
Nathan Rajlich 03faac19db Fix CLI --web flag on Windows (#207)
---------

Signed-off-by: Nathan Rajlich <n@n8.io>
2025-11-04 13:09:40 -08:00
Vercel Release Bot cf84adefda Version Packages (beta) (#205) @workflow/world-testing@4.0.1-beta.10 workflow@4.0.1-beta.9 @workflow/nitro@4.0.1-beta.9 @workflow/next@4.0.1-beta.9 @workflow/cli@4.0.1-beta.9 @workflow/ai@4.0.1-beta.9 @workflow/web-shared@4.0.1-beta.8 @workflow/core@4.0.1-beta.8 @workflow/builders@4.0.1-beta.5 @workflow/swc-plugin@4.0.1-beta.3 @workflow/sveltekit@4.0.0-beta.3 2025-11-04 12:22:37 -08:00
Paul Nodet f809294049 docs: invalid example for inspect example (#188)
Signed-off-by: Paul Nodet <5941125+pnodet@users.noreply.github.com>
2025-11-04 12:22:01 -08:00
Copilot 4a821fce7c Fix Windows support by normalizing path separators in workflow IDs (#150)
---------

Signed-off-by: Nathan Rajlich <n@n8.io>
Co-authored-by: Nathan Rajlich <n@n8.io>
2025-11-04 12:13:45 -08:00
Adrian 8a240939d4 refactor(rollup): change rollup export path (#204)
* refactor(rollup): change rollup export path

* changeset

---------

Co-authored-by: Pranay Prakash <pranay.gp@gmail.com>
2025-11-04 11:32:34 -08:00
Vercel Release Bot 79df3799a3 Version Packages (beta) (#193)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@workflow/world-postgres@4.1.0-beta.6 @workflow/world-testing@4.0.1-beta.9 workflow@4.0.1-beta.8 @workflow/web@4.0.1-beta.8 @workflow/nitro@4.0.1-beta.8 @workflow/next@4.0.1-beta.8 @workflow/cli@4.0.1-beta.8 @workflow/ai@4.0.1-beta.8 @workflow/web-shared@4.0.1-beta.7 @workflow/core@4.0.1-beta.7 @workflow/world-local@4.0.1-beta.5 @workflow/builders@4.0.1-beta.4
2025-11-04 11:15:36 -08:00
Pranay Prakash a09a3ea091 remove old builder code (#202)
* remove old builder code

* changeset
2025-11-04 10:43:25 -08:00
Pranay Prakash 80d68b7a5d docs: add documentation and improve code clarity (#84)
* feat: add type safety for builder configurations with discriminated unions

Improves type safety by creating discriminated union types for builder-specific
configurations, making it clear which configuration options are required for
each builder type.

Changes:
- Created BaseWorkflowConfig interface with common options
- Created StandaloneConfig, VercelBuildOutputConfig, and NextConfig types
- Made WorkflowConfig a discriminated union based on buildTarget
- Added documentation for each configuration type
- Exported new types from @workflow/builders

This enables better IntelliSense and type checking when constructing builder
configurations, preventing invalid configuration combinations at compile time.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: consolidate builder configuration patterns

Extracts common builder configuration pattern into a reusable helper function,
improving consistency across framework integrations.

Changes:
- Created createBaseBuilderConfig() helper in @workflow/builders
- Updated @workflow/nitro builders to use the new helper
- Removed CommonBuildOptions constant from nitro package
- Added clear documentation for when bundle paths are not used

This makes it easier for framework integrations to create properly configured
builder instances without manually specifying unused bundle path properties.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: add documentation and improve code clarity

Adds comprehensive JSDoc comments to BaseBuilder methods and improves code
documentation throughout the builders package.

Changes:
- Added class-level documentation for BaseBuilder
- Added JSDoc comments for all major public/protected methods
- Documented the discoveredEntries WeakMap caching mechanism
- Cleaned up TODO comment about debug file location
- Improved method parameter documentation

This makes the builders package more maintainable and easier to understand
for contributors and users extending the base builder functionality.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Apply suggestion from @vercel[bot]

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Nathan Rajlich <n@n8.io>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2025-11-04 00:10:50 -08:00
Mahdi Bagheri 9a5d5a1f32 Updated postgres world doc (#178)
Removed Duplicate code snippet
2025-11-04 00:03:48 -08:00
Pranay Prakash ebee7f5425 refactor: consolidate builder configuration patterns (#83)
* refactor: consolidate builder configuration patterns

Extracts common builder configuration pattern into a reusable helper function,
improving consistency across framework integrations.

Changes:
- Created createBaseBuilderConfig() helper in @workflow/builders
- Updated @workflow/nitro builders to use the new helper
- Removed CommonBuildOptions constant from nitro package
- Added clear documentation for when bundle paths are not used

This makes it easier for framework integrations to create properly configured
builder instances without manually specifying unused bundle path properties.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* .

Signed-off-by: Nathan Rajlich <n@n8.io>

---------

Signed-off-by: Nathan Rajlich <n@n8.io>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Nathan Rajlich <n@n8.io>
2025-11-03 23:56:23 -08:00
Pranay Prakash f8c779e4c8 refactor: improve error handling in bundle creation (#82)
Enhances logEsbuildMessages to throw on critical errors by default,
ensuring build failures are properly surfaced instead of being silently logged.

Changes:
- Added throwOnError parameter to logEsbuildMessages (defaults to true)
- When errors occur, now throws with formatted error messages
- Collects all error messages and locations for comprehensive error reporting

This prevents builds from appearing successful when esbuild encounters
critical errors, improving debugging and build reliability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-03 23:40:21 -08:00
Pranay Prakash 10bfd4aea8 refactor: extract path resolution and directory creation helpers (#81)
* feat: add type safety for builder configurations with discriminated unions

Improves type safety by creating discriminated union types for builder-specific
configurations, making it clear which configuration options are required for
each builder type.

Changes:
- Created BaseWorkflowConfig interface with common options
- Created StandaloneConfig, VercelBuildOutputConfig, and NextConfig types
- Made WorkflowConfig a discriminated union based on buildTarget
- Added documentation for each configuration type
- Exported new types from @workflow/builders

This enables better IntelliSense and type checking when constructing builder
configurations, preventing invalid configuration combinations at compile time.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: extract path resolution and directory creation helpers

Adds reusable helper methods to BaseBuilder for common path operations,
reducing code duplication and improving readability in builder subclasses.

Changes:
- Added resolvePath() helper in BaseBuilder
- Added ensureDirectory() helper in BaseBuilder
- Updated StandaloneBuilder (both in @workflow/builders and @workflow/cli)
  to use the new helpers
- Removed unnecessary imports from StandaloneBuilder

This simplifies path handling code from:
  const path = resolve(this.config.workingDir, this.config.somePath);
  await mkdir(dirname(path), { recursive: true });

To:
  const path = this.resolvePath(this.config.somePath);
  await this.ensureDirectory(path);

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

---------

Signed-off-by: Nathan Rajlich <n@n8.io>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-03 23:30:05 -08:00
Pranay Prakash 744d82f95b feat: add type safety for builder configurations with discriminated unions (#80)
* feat: add type safety for builder configurations with discriminated unions

Improves type safety by creating discriminated union types for builder-specific
configurations, making it clear which configuration options are required for
each builder type.

Changes:
- Created BaseWorkflowConfig interface with common options
- Created StandaloneConfig, VercelBuildOutputConfig, and NextConfig types
- Made WorkflowConfig a discriminated union based on buildTarget
- Added documentation for each configuration type
- Exported new types from @workflow/builders

This enables better IntelliSense and type checking when constructing builder
configurations, preventing invalid configuration combinations at compile time.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* .

Signed-off-by: Nathan Rajlich <n@n8.io>

---------

Signed-off-by: Nathan Rajlich <n@n8.io>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Nathan Rajlich <n@n8.io>
2025-11-03 23:20:39 -08:00
Pranay Prakash bf54a7b061 refactor: standardize method naming and clarify log messages (#79)
Improves code consistency by standardizing method naming conventions and
clarifying log messages across builders.

Changes:
- Renamed buildClientLibrary() to createClientLibrary() in BaseBuilder to match
  the convention where "create" is used for protected/shared methods
- Updated all callers in StandaloneBuilder and VercelBuildOutputAPIBuilder
- Clarified log messages in StandaloneBuilder by removing "Vercel API" prefix
  since this builder is framework-agnostic

This establishes a clear pattern:
- Public/template methods in subclasses: build* (buildStepsFunction, etc.)
- Protected/shared methods in BaseBuilder: create* (createStepsBundle, etc.)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-03 23:03:56 -08:00
Pranay Prakash 4585222c75 refactor: deduplicate package.json and .vc-config.json generation (#77)
Extracts repeated package.json and .vc-config.json generation logic into
reusable helper methods in BaseBuilder, eliminating code duplication across
VercelBuildOutputAPIBuilder.

Changes:
- Added createPackageJson() helper method to BaseBuilder
- Added createVcConfig() helper method with sensible defaults
- Updated VercelBuildOutputAPIBuilder (both in @workflow/builders and @workflow/cli)
  to use the new helper methods
- Reduced configuration code from ~20 lines per function to ~3 lines

This makes the build code more maintainable and ensures consistent configuration
across all Vercel Build Output API functions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-03 22:55:01 -08:00
Pranay Prakash 5dfa4eb9f1 refactor: extract queue trigger configuration constants (#76)
Consolidates duplicated queue trigger configurations into shared constants
in @workflow/builders package, eliminating repetition across multiple builders.

Changes:
- Created STEP_QUEUE_TRIGGER and WORKFLOW_QUEUE_TRIGGER constants
- Updated VercelBuildOutputAPIBuilder to use shared constants
- Updated NextBuilder (both in @workflow/next and @workflow/cli) to use constants
- Exported constants from @workflow/builders index

This ensures consistent queue configuration across all builders and makes
future updates to these settings easier to manage from a single location.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-03 22:35:01 -08:00
Adrian f563585343 docs: add WorkflowReadableStreamOptions to start api reference (#100)
* export WorkflowReadableStreamOptions from workflow/api

* docs: add WorkflowReadableStreamOptions to start api reference

* changeset

* docs: update getRun api reference to show WorkflowReadableStreamOptions

* refactor: link to WorkflowReadableStreamOptions on getRun docs

* Apply suggestion from @TooTallNate

---------

Co-authored-by: Nathan Rajlich <n@n8.io>
2025-11-03 22:29:23 -08:00
Peter Wielander 7db9e942db Web: Fix hook events not displaying on trace viewer if there's multiple hook_received events (#196) 2025-11-03 22:26:56 -08:00
Jacob Paris 9e1ab0a27d Add preventClose option to prevent closing writable after agent.stream (#198) 2025-11-03 22:21:51 -08:00
Adrian 05714f7924 feat: add sveltekit support (#131)
* add workbench sveltekit

* add sveltekit package

* fix: use js for generated server routes in svelte

* add test routes for sveltekit workbench

* updates from debugging

* feat: add sveltekit build target

* update user sign up workflow workbench sveltekit

* fix: base builder missing GET route handler for sveltekit

* feat: add vercel builder and check for vercel env

* refactor: workflowPlugin for sveltekit

* ci: add tests to workbench sveltekit

* fix: no start command and vercel builder outputs

* fix: base builder conditions

* .

* add auto adapter sveltekit

* fix: disable checking origin for cross site ci stuff

* allow all trusted origins in svelte config

* fix: add catch for error thrown when waiting for ops

* fix: sveltekit workbench adapter

* test

* test

* refactor: move vercel builder on config resolved

* update package json

* add demo workflow trigger

* test letting sveltekit handle route generation

* fix: exclude git ignore for local builder outputs

* update config

* add debug logs

* update debug

* update turbo.json

* fix env check

* another output

* use top-level await

* ensure vercel functions are patched

* change hook

* update

* fix spread

* debug

* update

* chore: remove vercel builder

* chore: update comments in sveltekit workflow package

* chore: remove console comment

* refactor: workflow svelte plugin

* refactor: simplify local builder config

* chore: remove unused deps

* chore: add comment for workbench svelte app

* chore: add sveltekit export to workflow

* export sveltekit from workflow

* lockfile

* chore: remove unused deps svelte workbench

* update styling

* add sveltekit getting started docs

* update sveltekit docs getting started

* changeset

* Apply suggestion from @vercel[bot]

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* use proper env var

* Update packages/sveltekit/src/index.ts

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* Update docs/content/docs/getting-started/sveltekit.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Document CSRF protection bypass in SvelteKit workbench config (#157)

* Initial plan

* docs: add CSRF security warning to svelte.config.js

Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com>

* refactor: deduplicate SvelteKit request conversion logic (#156)

* Initial plan

* refactor: extract duplicated SvelteKit request conversion to helper

Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com>

* docs: fix getting staretd sveltekit missing folder

* chore: cleanup sveltekit builder after rebase

* lockfile

* fix: sveltekit building logic in base builder

* refactor: move sveltekit builder logic to its own package

* fix: console log base builder

* changeset

* test

* feat: create hmr plugin

* fix: add initial build on load

* fix: check all files for workflows and steps

* add comments for plugin todo

* remove catching error

* fix: missing context for nodejs envs causing waitUntil to fail

* fix: setting global request conext in vercel environments

---------

Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-03 21:15:33 -08:00
Serge the Lion eb78bfcdf9 feat: add NestJS to the list of upcoming supported frameworks (#175)
* feat: add NestJS to the list of upcoming supported frameworks

* Update docs/app/(home)/components/frameworks.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/app/(home)/components/frameworks.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/app/(home)/components/frameworks.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-03 14:36:10 -08:00
Pranay Prakash 2363e472ca feat: move NextBuilder to @workflow/next package (#74)
Moves NextBuilder from @workflow/cli to @workflow/next package, establishing
proper package boundaries where framework-specific builders live in their
respective framework integration packages.

Changes:
- Moved NextBuilder from @workflow/cli to @workflow/next
- Added @workflow/builders and watchpack dependencies to @workflow/next
- Updated runtime re-export to use @workflow/core/dist/runtime directly
- Removed direct dependency on @workflow/cli from @workflow/next

This aligns the Next.js builder with the Nitro builder pattern (which already
lives in @workflow/nitro), creating consistent package organization.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 14:25:14 -08:00
Pranay Prakash fb4c3f83a3 Revert "World-postgres: allow steps.get in world-postgres to handle undefined…" (#195)
This reverts commit f856031514.
2025-11-03 14:00:53 -08:00
Sree Narayanan f856031514 World-postgres: allow steps.get in world-postgres to handle undefined runId (#135) 2025-11-03 13:57:18 -08:00
Adrian 278c3eeeb2 chore: update license (#192)
* chore: update license on vite workbench app

* update cargo toml
2025-11-03 13:45:01 -08:00
Pranay Prakash 652485aa30 feat: create @workflow/builders package with shared builder infrastructure (#73)
This commit extracts builder infrastructure from @workflow/cli into a new
shared @workflow/builders package. This improves code organization by:

- Creating a dedicated package for builder functionality
- Allowing @workflow/next and @workflow/nitro to depend on builders directly
- Reducing coupling between framework integrations and the CLI
- Preparing for moving NextBuilder to @workflow/next in the next PR

Changes:
- Created new @workflow/builders package
- Moved BaseBuilder, BasicBuilder, and VercelBuildOutputAPIBuilder
- Moved esbuild plugins (swc, discover-entries, node-module)
- Moved WorkflowConfig and BuildTarget types
- Updated @workflow/cli to import from @workflow/builders
- Updated @workflow/nitro to import from @workflow/builders
- Re-exported types from CLI for backwards compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 13:37:39 -08:00
Pooya Parsa e814dba6f2 feat: workflow/vite plugin (#172)
* feat: nitro+vite support and workbench

* update package.json files

* test: add local-build test for vite

* update to vite plugin

* fix imports

* dedup nitro

* update

* update nitro

* allow passing options via plugin

* Update packages/nitro/src/vite.ts

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* test: add vite tests

* trigger ci

* fix: missing js extension from builder and rollup

* refactor: move debug => unenv under vite plugin

* alternative workaround

* Update packages/nitro/src/vite.ts

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* rename plugin

* Update packages/cli/package.json

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* lockfile

---------

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Adrian Lam <me@adriandlam.com>
2025-11-03 13:24:03 -08:00
Vercel Release Bot 3c111c5ca6 Version Packages (beta) (#174)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@workflow/world-postgres@4.1.0-beta.5 workflow@4.0.1-beta.7 @workflow/web@4.0.1-beta.7 @workflow/nitro@4.0.1-beta.7 @workflow/next@4.0.1-beta.7 @workflow/cli@4.0.1-beta.7 @workflow/ai@4.0.1-beta.7 @workflow/web-shared@4.0.1-beta.6 @workflow/core@4.0.1-beta.6 @workflow/world-vercel@4.0.1-beta.5 @workflow/world-local@4.0.1-beta.4 @workflow/world@4.0.1-beta.4 @workflow/typescript-plugin@4.0.1-beta.4 @workflow/swc-plugin@4.0.1-beta.2
2025-11-03 12:51:53 -08:00
Nathan Rajlich 558009186e Remove "@workflow/tsconfig" changeset entries
This package does not get published
2025-11-03 12:48:57 -08:00
Pranay Prakash f973954bd3 Switching from MIT to Apache + DCO (#191)
* Switching from MIT to Apache + DCO

* Add DCO github app
2025-11-03 12:42:40 -08:00
Nathan Rajlich 10309c3bfb [world-local] Fix long-running steps to not time out after 5 minutes (#185) 2025-11-03 10:20:27 -08:00
Peter Wielander 2ae7426d54 Web-shared: change typescript jsx compile target for increased compatibility (#184) 2025-11-03 10:02:15 -08:00
Nathan Rajlich 507892574e [typescript-plugin] Add warning when invoking a workflow function without using start() (#181)
* No direct workflow invoke

* Add code fix

* changeset

* Apply vade comment
2025-11-02 00:33:20 -07:00
Adrian 2e1e2f61dc docs: remove bun getting started card and add bun install command (#176) 2025-10-31 22:08:30 -07:00
Peter Wielander a3326a257c Add workflow inspect sleep command to list active sleep/wait events (#170) 2025-10-31 15:24:49 -07:00
Nathan Rajlich fcadd7b1a1 Fix TypeScript LSP plugin on Node.js v20 (#171) 2025-10-31 13:39:23 -07:00
Chris 61f022a773 Update use-cases-server.tsx (#173) 2025-10-31 13:39:16 -07:00
Adrian 50308ea82e fix: docs code block styling (#158) 2025-10-31 13:38:03 -07:00
Vercel Release Bot 7bf7a3b026 Version Packages (beta) (#141)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@workflow/world-postgres@4.1.0-beta.4 @workflow/world-testing@4.0.1-beta.7 workflow@4.0.1-beta.6 @workflow/web@4.0.1-beta.6 @workflow/nitro@4.0.1-beta.6 @workflow/next@4.0.1-beta.6 @workflow/cli@4.0.1-beta.6 @workflow/ai@4.0.1-beta.6 @workflow/web-shared@4.0.1-beta.5 @workflow/core@4.0.1-beta.5 @workflow/world-vercel@4.0.1-beta.4 @workflow/world-local@4.0.1-beta.3 @workflow/world@4.0.1-beta.3 @workflow/errors@4.0.1-beta.2
2025-10-30 17:45:26 -07:00
Peter Wielander 7f5a2da286 Web: support new wait events in trace viewer (#46) 2025-10-30 17:24:56 -07:00
Pranay Prakash 70be894ad1 Make sleep() a core runtime function (#40)
* Handle the sleep not completing at the end of the event log

* Handle multiple timers being created in the same suspension

* Better `buildWorkflowSuspensionMessage()`

* New sleep unit tests

---------

Co-authored-by: Nathan Rajlich <n@n8.io>
2025-10-30 15:31:25 -07:00
Nathan Rajlich 20d51f0d7f Add optional retryAfter property to Step interface (#142) 2025-10-30 13:39:00 -07:00
Nathan Rajlich 796fafd58d Remove isInstanceOf() function and utilize is() method on Error subclasses instead (#148) 2025-10-30 13:08:52 -07:00