1# @distilled.cloud/vendor-workflows-shared
2
3Private workspace package vendoring raw TypeScript source from
4[`@cloudflare/workflows-shared`](https://github.com/cloudflare/workers-sdk/tree/f9e7727dbef58e71c6b297dc688d3c544cef87cb/packages/workflows-shared).
5This package does not bundle or publish; consumer packages in this monorepo
6import the `.ts` files directly and apply their own bundling.
7
8The upstream source and tests are co-located under
9`src/internal/workflows-shared/`. Deliberate behavioral differences from
10upstream are documented with `Alchemy modifications:` comments in the affected
11files. Project metadata and imports are adapted to this monorepo's tooling.
12
13## Provenance
14
15Sourced from [`cloudflare/workers-sdk`](https://github.com/cloudflare/workers-sdk)
16at commit [`f9e7727dbef58e71c6b297dc688d3c544cef87cb`](https://github.com/cloudflare/workers-sdk/commit/f9e7727dbef58e71c6b297dc688d3c544cef87cb) (path:
17`packages/workflows-shared`). Upstream license: MIT OR Apache-2.0.
18
19## Consumer imports
20
21```ts
22// Worker entrypoints (Engine DO + WorkflowBinding entrypoint)
23import {
24 Engine,
25 WorkflowBinding,
26} from "@distilled.cloud/vendor-workflows-shared/local-binding-worker";
27
28// Type-only imports of individual modules
29import type { Engine } from "@distilled.cloud/vendor-workflows-shared/src/engine";
30```