wrangler 4.141.0 → 4.143.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.141.0",
3
+ "version": "4.143.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -71,17 +71,17 @@
71
71
  "esbuild": "0.28.1",
72
72
  "path-to-regexp": "6.3.0",
73
73
  "unenv": "2.0.0-rc.24",
74
- "workerd": "1.20260925.1",
75
- "@cloudflare/unenv-preset": "2.16.2",
74
+ "workerd": "1.20260926.1",
76
75
  "@cloudflare/kv-asset-handler": "0.5.0",
77
- "miniflare": "5.20260925.0-alpha"
76
+ "miniflare": "5.20260926.0-alpha",
77
+ "@cloudflare/unenv-preset": "2.16.2"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@aws-sdk/client-s3": "^3.721.0",
81
81
  "@aws-sdk/s3-request-presigner": "^3.721.0",
82
82
  "@bomb.sh/tab": "^0.0.12",
83
83
  "@cloudflare/types": "6.18.4",
84
- "@cloudflare/workers-types": "^5.20260925.1",
84
+ "@cloudflare/workers-types": "^5.20260926.1",
85
85
  "@cspotcode/source-map-support": "0.8.1",
86
86
  "@netlify/build-info": "10.5.1",
87
87
  "@sentry/node": "^7.86.0",
@@ -161,25 +161,25 @@
161
161
  "yaml": "^2.8.1",
162
162
  "yargs": "^17.7.2",
163
163
  "zod": "4.4.3",
164
- "@cloudflare/autoconfig": "0.6.6",
165
- "@cloudflare/build-output-utils": "0.8.1",
164
+ "@cloudflare/autoconfig": "0.7.1",
165
+ "@cloudflare/build-output-utils": "0.8.2",
166
166
  "@cloudflare/cli-shared-helpers": "0.2.0",
167
- "@cloudflare/config": "0.19.0",
168
- "@cloudflare/containers-shared": "0.20.2",
169
- "@cloudflare/deploy-helpers": "0.18.0",
170
- "@cloudflare/pages-shared": "^0.13.189",
171
- "@cloudflare/remote-bindings": "0.0.36",
167
+ "@cloudflare/config": "0.20.0",
168
+ "@cloudflare/containers-shared": "0.20.3",
169
+ "@cloudflare/deploy-helpers": "0.18.1",
172
170
  "@cloudflare/pages-functions": "0.1.0",
173
- "@cloudflare/runtime-types": "0.1.3",
171
+ "@cloudflare/pages-shared": "^0.13.190",
172
+ "@cloudflare/remote-bindings": "0.0.37",
173
+ "@cloudflare/shared-ast-primitives": "1.1.0",
174
174
  "@cloudflare/workers-auth": "0.9.4",
175
+ "@cloudflare/runtime-types": "0.1.4",
175
176
  "@cloudflare/workers-shared": "0.20.0",
176
- "@cloudflare/shared-ast-primitives": "1.1.0",
177
- "@cloudflare/workers-utils": "0.44.0",
178
177
  "@cloudflare/workers-tsconfig": "0.0.0",
179
- "@cloudflare/workflows-shared": "0.14.0"
178
+ "@cloudflare/workers-utils": "0.44.0",
179
+ "@cloudflare/workflows-shared": "0.15.0"
180
180
  },
181
181
  "peerDependencies": {
182
- "@cloudflare/workers-types": "^5.20260925.1"
182
+ "@cloudflare/workers-types": "^5.20260926.1"
183
183
  },
184
184
  "peerDependenciesMeta": {
185
185
  "@cloudflare/workers-types": {
@@ -27321,7 +27321,7 @@ var DEFAULT_COMPAT_DATE;
27321
27321
  var init_default_compat_date = __esm({
27322
27322
  "../workers-utils/src/default-compat-date.ts"() {
27323
27323
  init_import_meta_url();
27324
- DEFAULT_COMPAT_DATE = "2026-09-25";
27324
+ DEFAULT_COMPAT_DATE = "2026-09-26";
27325
27325
  }
27326
27326
  });
27327
27327
 
@@ -62624,7 +62624,7 @@ var name, version2;
62624
62624
  var init_package = __esm({
62625
62625
  "package.json"() {
62626
62626
  name = "wrangler";
62627
- version2 = "4.141.0";
62627
+ version2 = "4.143.0";
62628
62628
  }
62629
62629
  });
62630
62630
 
@@ -135597,6 +135597,14 @@ function convertBindingsAndAssets(config2, result) {
135597
135597
  case "worker-loader":
135598
135598
  workerLoaders.push({ binding: name2 });
135599
135599
  break;
135600
+ case "workflow":
135601
+ workflows.push({
135602
+ binding: name2,
135603
+ name: binding.name,
135604
+ class_name: binding.exportName,
135605
+ script_name: binding.worker
135606
+ });
135607
+ break;
135600
135608
  }
135601
135609
  }
135602
135610
  if (kvNamespaces.length) result.kv_namespaces = kvNamespaces;
@@ -136052,7 +136060,7 @@ async function loadAndParseConfig(configPath, ctx) {
136052
136060
  dependencies
136053
136061
  };
136054
136062
  }
136055
- var __getOwnPropNames2, __commonJS2, RemoteBindingDevSchema, AssetsSchema, BrowserBindingSchema, WorkerBindingSchema, D1BindingSchema, KVBindingSchema, QueueBindingSchema, R2BindingSchema, AnalyticsEngineDatasetBindingSchema, FlagshipBindingSchema, HyperdriveBindingSchema, KnownBindingSchema, UnsafeBindingSchema, BindingSchema, CacheSchema, SINGLETON_BINDING_TYPES, listFormatter, EnvSchema, ContainerImageDockerfileSchema, ContainerImageReferenceSchema, ContainerImageLocalReferenceSchema, InputContainerImageSchema, OutputContainerImageSchema, VALID_ROLLOUT_STEP_PERCENTAGES, ContainerRolloutStepPercentageSchema, ContainerObservabilityBaseSchema, StandardContainerObservabilitySchema, BaseContainerSchema, StandardContainerBaseSchema, DurableObjectContainerBaseSchema, InputContainerSchema, DurableObjectCreatedExportSchema, DurableObjectDeletedExportSchema, DurableObjectRenamedExportSchema, DurableObjectTransferredExportSchema, DurableObjectExpectingTransferExportSchema, WorkerEntrypointExportSchema, WorkflowRetentionSchema, WorkflowExportSchema, DurableObjectCreatedSqliteExportSchema, DurableObjectCreatedLegacyKvExportSchema, DurableObjectExpectingTransferSqliteExportSchema, DurableObjectExpectingTransferLegacyKvExportSchema, ExportSchema, LimitsSchema, ObservabilitySchema, PlacementSchema, TailConsumerSchema, TriggerSchema, UnsafeSchema, BaseWorkerSchema, InputWorkerSchema, InputSettingsSchema, InputConfigSchema, BuildContextSchema, ModuleTypeSchema, ManifestModulesSchema, ManifestSchema, require_dist2, import_dist, __defProp3, __name3, UserError2, FatalError2, JsonFriendlyFatalError2, ROLLOUT_KIND_MAP, CF_WORKER_SCHEME, CF_WORKER_TYPE, CF_ATTR, CF_NO_CACHE_VALUE, CF_NO_CACHE_QUERY_KEY, RE_NODE_MODULES, depsStore, deregister, CROSS_WORKER_BINDING_TYPES;
136063
+ var __getOwnPropNames2, __commonJS2, RemoteBindingDevSchema, AssetsSchema, BrowserBindingSchema, WorkerBindingSchema, WorkflowBindingSchema, D1BindingSchema, KVBindingSchema, QueueBindingSchema, R2BindingSchema, AnalyticsEngineDatasetBindingSchema, FlagshipBindingSchema, HyperdriveBindingSchema, KnownBindingSchema, UnsafeBindingSchema, BindingSchema, CacheSchema, SINGLETON_BINDING_TYPES, listFormatter, EnvSchema, ContainerImageDockerfileSchema, ContainerImageReferenceSchema, ContainerImageLocalReferenceSchema, InputContainerImageSchema, OutputContainerImageSchema, VALID_ROLLOUT_STEP_PERCENTAGES, ContainerRolloutStepPercentageSchema, ContainerObservabilityBaseSchema, StandardContainerObservabilitySchema, BaseContainerSchema, StandardContainerBaseSchema, DurableObjectContainerBaseSchema, InputContainerSchema, DurableObjectCreatedExportSchema, DurableObjectDeletedExportSchema, DurableObjectRenamedExportSchema, DurableObjectTransferredExportSchema, DurableObjectExpectingTransferExportSchema, WorkerEntrypointExportSchema, WorkflowRetentionSchema, WorkflowExportSchema, DurableObjectCreatedSqliteExportSchema, DurableObjectCreatedLegacyKvExportSchema, DurableObjectExpectingTransferSqliteExportSchema, DurableObjectExpectingTransferLegacyKvExportSchema, ExportSchema, LimitsSchema, ObservabilitySchema, PlacementSchema, TailConsumerSchema, TriggerSchema, UnsafeSchema, BaseWorkerSchema, InputWorkerSchema, InputSettingsSchema, InputConfigSchema, BuildContextSchema, ModuleTypeSchema, ManifestModulesSchema, ManifestSchema, require_dist2, import_dist, __defProp3, __name3, UserError2, FatalError2, JsonFriendlyFatalError2, ROLLOUT_KIND_MAP, CF_WORKER_SCHEME, CF_WORKER_TYPE, CF_ATTR, CF_NO_CACHE_VALUE, CF_NO_CACHE_QUERY_KEY, RE_NODE_MODULES, depsStore, deregister, CROSS_WORKER_BINDING_TYPES;
136056
136064
  var init_dist3 = __esm({
136057
136065
  "../config/dist/index.mjs"() {
136058
136066
  init_import_meta_url();
@@ -136087,6 +136095,12 @@ var init_dist3 = __esm({
136087
136095
  props: record(string2(), unknown()).optional(),
136088
136096
  dev: RemoteBindingDevSchema.optional()
136089
136097
  });
136098
+ WorkflowBindingSchema = strictObject({
136099
+ type: literal("workflow"),
136100
+ name: string2(),
136101
+ worker: string2(),
136102
+ exportName: string2()
136103
+ });
136090
136104
  D1BindingSchema = strictObject({
136091
136105
  type: literal("d1"),
136092
136106
  name: string2().optional(),
@@ -136251,7 +136265,8 @@ var init_dist3 = __esm({
136251
136265
  return value.tunnelId !== void 0 && value.networkId !== void 0 ? `"vpc-network" bindings must specify exactly one of "tunnelId" or "networkId", not both` : `"vpc-network" bindings must specify either "tunnelId" or "networkId"`;
136252
136266
  }, "error") }),
136253
136267
  WorkerBindingSchema,
136254
- strictObject({ type: literal("worker-loader") })
136268
+ strictObject({ type: literal("worker-loader") }),
136269
+ WorkflowBindingSchema
136255
136270
  ]);
136256
136271
  UnsafeBindingSchema = looseObject({
136257
136272
  type: templateLiteral(["unsafe:", string2().min(1)]),
@@ -179987,7 +180002,7 @@ var init_dist14 = __esm({
179987
180002
  init_wrapper();
179988
180003
  init_create_worker_upload_form();
179989
180004
  import_undici13 = __toESM(require_undici(), 1);
179990
- version3 = "0.0.36";
180005
+ version3 = "0.0.37";
179991
180006
  NoDefaultValueProvided2 = class extends UserError {
179992
180007
  static {
179993
180008
  __name(this, "NoDefaultValueProvided");
@@ -205665,7 +205680,7 @@ async function regenerateNewConfigTypes(options) {
205665
205680
  const configImportPath = relativeConfigPath.startsWith(".") ? relativeConfigPath : `./${relativeConfigPath}`;
205666
205681
  content = generateTypes({
205667
205682
  configPath: configImportPath,
205668
- packageName: "wrangler/experimental-config"
205683
+ packageName: "cf/config"
205669
205684
  });
205670
205685
  if (options.types.includeRuntime) {
205671
205686
  const { runtimeHeader, runtimeTypes } = await generateRuntimeTypes2({
@@ -266461,8 +266476,10 @@ var init_vite_config = __esm({
266461
266476
  async function installCloudflareVitePlugin({
266462
266477
  packageManager,
266463
266478
  projectPath,
266464
- isWorkspaceRoot
266479
+ isWorkspaceRoot,
266480
+ version: version7
266465
266481
  }) {
266482
+ const packageSpecifier = `@cloudflare/vite-plugin${version7 ? `@${version7}` : ""}`;
266466
266483
  const viteVersion = getInstalledPackageVersion("vite", projectPath);
266467
266484
  if (viteVersion && semiver_default(viteVersion, "6.0.0") >= 0 && semiver_default(viteVersion, "6.1.0") < 0) {
266468
266485
  await installPackages(packageManager, ["vite@^6.1.0"], {
@@ -266472,10 +266489,10 @@ async function installCloudflareVitePlugin({
266472
266489
  isWorkspaceRoot
266473
266490
  });
266474
266491
  }
266475
- await installPackages(packageManager, ["@cloudflare/vite-plugin"], {
266492
+ await installPackages(packageManager, [packageSpecifier], {
266476
266493
  dev: true,
266477
266494
  startText: "Installing the Cloudflare Vite plugin",
266478
- doneText: `${brandColor2(`installed`)} ${dim2("@cloudflare/vite-plugin")}`,
266495
+ doneText: `${brandColor2(`installed`)} ${dim2(packageSpecifier)}`,
266479
266496
  isWorkspaceRoot
266480
266497
  });
266481
266498
  }
@@ -266822,7 +266839,8 @@ var init_react_router = __esm({
266822
266839
  projectPath,
266823
266840
  packageManager,
266824
266841
  isWorkspaceRoot,
266825
- context: context2
266842
+ context: context2,
266843
+ target
266826
266844
  }) {
266827
266845
  const useMiddlewarePattern = hasV8MiddlewareFlag(
266828
266846
  projectPath,
@@ -266832,7 +266850,8 @@ var init_react_router = __esm({
266832
266850
  await installCloudflareVitePlugin({
266833
266851
  packageManager: packageManager.type,
266834
266852
  projectPath,
266835
- isWorkspaceRoot
266853
+ isWorkspaceRoot,
266854
+ version: target === "cf" ? "beta" : void 0
266836
266855
  });
266837
266856
  fs14.mkdirSync("workers");
266838
266857
  writeAppTs(useMiddlewarePattern);
@@ -267071,13 +267090,15 @@ var init_tanstack = __esm({
267071
267090
  dryRun,
267072
267091
  projectPath,
267073
267092
  packageManager,
267074
- isWorkspaceRoot
267093
+ isWorkspaceRoot,
267094
+ target
267075
267095
  }) {
267076
267096
  if (!dryRun) {
267077
267097
  await installCloudflareVitePlugin({
267078
267098
  packageManager: packageManager.type,
267079
267099
  isWorkspaceRoot,
267080
- projectPath
267100
+ projectPath,
267101
+ version: target === "cf" ? "beta" : void 0
267081
267102
  });
267082
267103
  transformViteConfig(projectPath, { viteEnvironmentName: "ssr" });
267083
267104
  }
@@ -267325,13 +267346,15 @@ var init_vite = __esm({
267325
267346
  dryRun,
267326
267347
  projectPath,
267327
267348
  packageManager,
267328
- isWorkspaceRoot
267349
+ isWorkspaceRoot,
267350
+ target
267329
267351
  }) {
267330
267352
  if (!dryRun) {
267331
267353
  await installCloudflareVitePlugin({
267332
267354
  packageManager: packageManager.type,
267333
267355
  isWorkspaceRoot,
267334
- projectPath
267356
+ projectPath,
267357
+ version: target === "cf" ? "beta" : void 0
267335
267358
  });
267336
267359
  if (hasViteConfig(projectPath)) {
267337
267360
  transformViteConfig(projectPath);
@@ -267564,6 +267587,7 @@ var init_all_frameworks = __esm({
267564
267587
  minimumVersion: "2.0.0",
267565
267588
  maximumKnownMajorVersion: "2"
267566
267589
  },
267590
+ supportsCf: false,
267567
267591
  supported: true
267568
267592
  },
267569
267593
  {
@@ -267580,6 +267604,7 @@ var init_all_frameworks = __esm({
267580
267604
  minimumVersion: "19.0.0",
267581
267605
  maximumKnownMajorVersion: "22"
267582
267606
  },
267607
+ supportsCf: false,
267583
267608
  supported: true
267584
267609
  },
267585
267610
  {
@@ -267594,6 +267619,7 @@ var init_all_frameworks = __esm({
267594
267619
  minimumVersion: "4.0.0",
267595
267620
  maximumKnownMajorVersion: "7"
267596
267621
  },
267622
+ supportsCf: true,
267597
267623
  supported: true
267598
267624
  },
267599
267625
  {
@@ -267612,6 +267638,7 @@ var init_all_frameworks = __esm({
267612
267638
  minimumVersion: "14.2.35",
267613
267639
  maximumKnownMajorVersion: "16"
267614
267640
  },
267641
+ supportsCf: true,
267615
267642
  supported: true
267616
267643
  },
267617
267644
  {
@@ -267627,6 +267654,7 @@ var init_all_frameworks = __esm({
267627
267654
  minimumVersion: "3.21.0",
267628
267655
  maximumKnownMajorVersion: "4"
267629
267656
  },
267657
+ supportsCf: false,
267630
267658
  supported: true
267631
267659
  },
267632
267660
  {
@@ -267641,6 +267669,7 @@ var init_all_frameworks = __esm({
267641
267669
  minimumVersion: "1.1.0",
267642
267670
  maximumKnownMajorVersion: "1"
267643
267671
  },
267672
+ supportsCf: false,
267644
267673
  supported: true
267645
267674
  },
267646
267675
  {
@@ -267655,6 +267684,7 @@ var init_all_frameworks = __esm({
267655
267684
  minimumVersion: "7.0.0",
267656
267685
  maximumKnownMajorVersion: "8"
267657
267686
  },
267687
+ supportsCf: true,
267658
267688
  supported: true
267659
267689
  },
267660
267690
  {
@@ -267668,6 +267698,7 @@ var init_all_frameworks = __esm({
267668
267698
  minimumVersion: "1.0.0",
267669
267699
  maximumKnownMajorVersion: "2"
267670
267700
  },
267701
+ supportsCf: false,
267671
267702
  supported: true
267672
267703
  },
267673
267704
  {
@@ -267682,6 +267713,7 @@ var init_all_frameworks = __esm({
267682
267713
  minimumVersion: "2.20.3",
267683
267714
  maximumKnownMajorVersion: "2"
267684
267715
  },
267716
+ supportsCf: false,
267685
267717
  supported: true
267686
267718
  },
267687
267719
  {
@@ -267695,6 +267727,7 @@ var init_all_frameworks = __esm({
267695
267727
  minimumVersion: "1.132.0",
267696
267728
  maximumKnownMajorVersion: "1"
267697
267729
  },
267730
+ supportsCf: true,
267698
267731
  supported: true
267699
267732
  },
267700
267733
  {
@@ -267711,6 +267744,7 @@ var init_all_frameworks = __esm({
267711
267744
  minimumVersion: "6.0.0",
267712
267745
  maximumKnownMajorVersion: "8"
267713
267746
  },
267747
+ supportsCf: true,
267714
267748
  supported: true
267715
267749
  },
267716
267750
  {
@@ -267722,6 +267756,7 @@ var init_all_frameworks = __esm({
267722
267756
  minimumVersion: "0.0.0",
267723
267757
  maximumKnownMajorVersion: "0"
267724
267758
  },
267759
+ supportsCf: false,
267725
267760
  supported: true
267726
267761
  },
267727
267762
  {
@@ -267737,6 +267772,7 @@ var init_all_frameworks = __esm({
267737
267772
  minimumVersion: "1.0.0-alpha.4",
267738
267773
  maximumKnownMajorVersion: "1"
267739
267774
  },
267775
+ supportsCf: false,
267740
267776
  supported: true
267741
267777
  },
267742
267778
  {
@@ -267755,6 +267791,7 @@ var init_all_frameworks = __esm({
267755
267791
  id: "static",
267756
267792
  name: "Static",
267757
267793
  class: Static,
267794
+ supportsCf: true,
267758
267795
  supported: true
267759
267796
  };
267760
267797
  allFrameworksInfos = [
@@ -267804,10 +267841,26 @@ function isFrameworkSupported(frameworkId) {
267804
267841
  );
267805
267842
  return targetedFramework.supported;
267806
267843
  }
267844
+ function validateFrameworkTargetSupport(framework, target) {
267845
+ if (target !== "cf") {
267846
+ return;
267847
+ }
267848
+ const frameworkInfo = allFrameworksInfos.find(
267849
+ ({ id }) => id === framework.id
267850
+ );
267851
+ if (frameworkInfo?.supported !== true || frameworkInfo.supportsCf) {
267852
+ return;
267853
+ }
267854
+ throw new AutoConfigFrameworkConfigurationError(
267855
+ `cf does not support ${framework.name} projects yet. You can still use Wrangler to develop and deploy this project.`,
267856
+ { telemetryMessage: "autoconfig framework unsupported for cf" }
267857
+ );
267858
+ }
267807
267859
  var allKnownFrameworksIds;
267808
267860
  var init_frameworks = __esm({
267809
267861
  "../autoconfig/src/frameworks/index.ts"() {
267810
267862
  init_import_meta_url();
267863
+ init_errors7();
267811
267864
  init_all_frameworks();
267812
267865
  init_no_op();
267813
267866
  allKnownFrameworksIds = new Set(
@@ -267816,6 +267869,7 @@ var init_frameworks = __esm({
267816
267869
  __name(isKnownFramework, "isKnownFramework");
267817
267870
  __name(getFrameworkClassInstance, "getFrameworkClassInstance");
267818
267871
  __name(isFrameworkSupported, "isFrameworkSupported");
267872
+ __name(validateFrameworkTargetSupport, "validateFrameworkTargetSupport");
267819
267873
  }
267820
267874
  });
267821
267875
 
@@ -287785,6 +287839,7 @@ async function runAutoConfig(autoConfigDetails, autoConfigOptions) {
287785
287839
  }
287786
287840
  autoConfigDetails = updatedAutoConfigDetails;
287787
287841
  assertNonConfigured(autoConfigDetails);
287842
+ validateFrameworkTargetSupport(autoConfigDetails.framework, target);
287788
287843
  if (isKnownFramework(autoConfigDetails.framework.id)) {
287789
287844
  const frameworkIsSupported = isFrameworkSupported(
287790
287845
  autoConfigDetails.framework.id
@@ -288064,7 +288119,9 @@ async function buildOperationsSummary(autoConfigDetails, workerConfig, configura
288064
288119
  packagesToInstall.add(target);
288065
288120
  }
288066
288121
  if (configurationResults.buildTool === "vite") {
288067
- packagesToInstall.add("@cloudflare/vite-plugin");
288122
+ packagesToInstall.add(
288123
+ target === "cf" ? "@cloudflare/vite-plugin@beta" : "@cloudflare/vite-plugin"
288124
+ );
288068
288125
  } else if (target === "cf" && configurationResults.buildTool === "wrangler") {
288069
288126
  packagesToInstall.add("wrangler");
288070
288127
  }
@@ -288093,7 +288150,7 @@ async function buildOperationsSummary(autoConfigDetails, workerConfig, configura
288093
288150
  // If there is no server side code, then there is no need to add the cf-typegen script
288094
288151
  containsServerSideCode && usesTypescript(autoConfigDetails.projectPath) && !("cf-typegen" in (autoConfigDetails.packageJson.scripts ?? {}))
288095
288152
  ) {
288096
- summary.scripts["cf-typegen"] = scriptOverrides?.typegen ?? `${target} types`;
288153
+ summary.scripts["cf-typegen"] = scriptOverrides?.typegen ?? (target === "cf" ? "cf workers types" : "wrangler types");
288097
288154
  }
288098
288155
  logger7.log("\u{1F4DD} Update package.json scripts:");
288099
288156
  for (const [name2, script] of Object.entries(summary.scripts)) {
@@ -369797,7 +369854,13 @@ async function getMiniflareOptionsFromConfig(args) {
369797
369854
  bindings,
369798
369855
  queueConsumers: void 0,
369799
369856
  migrations: config2.migrations,
369800
- exports: config2.exports,
369857
+ // The platform proxy doesn't run the Worker's code, so it can't run the
369858
+ // Workflows the Worker exports.
369859
+ exports: config2.exports && Object.fromEntries(
369860
+ Object.entries(config2.exports).filter(
369861
+ ([, exported]) => exported.type !== "workflow"
369862
+ )
369863
+ ),
369801
369864
  tails: [],
369802
369865
  streamingTails: [],
369803
369866
  // Platform proxy does not prepare local Container images.