deepline 0.1.243 → 0.1.245

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.
Files changed (71) hide show
  1. package/README.md +1 -1
  2. package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +5 -25
  3. package/dist/bundling-sources/sdk/src/release.ts +25 -26
  4. package/dist/bundling-sources/sdk/src/types.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/backend.ts +2 -21
  6. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +5 -6
  7. package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +6 -13
  8. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +9 -26
  9. package/dist/bundling-sources/shared_libs/play-runtime/internal-step-ids.ts +1 -2
  10. package/dist/bundling-sources/shared_libs/play-runtime/map-row-identity.ts +1 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +191 -29
  12. package/dist/bundling-sources/shared_libs/play-runtime/play-latency-trace.ts +1 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/providers.ts +1 -36
  14. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +2 -3
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/index.ts +0 -7
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1 -12
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-pg-driver-pg.ts +2 -3
  18. package/dist/bundling-sources/shared_libs/play-runtime/runtime-pg-driver.ts +5 -15
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -21
  20. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +3 -4
  21. package/dist/bundling-sources/shared_libs/plays/artifact-kind-guard.ts +16 -29
  22. package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +4 -8
  23. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +21 -712
  24. package/dist/bundling-sources/shared_libs/plays/bundling/limits.ts +1 -18
  25. package/dist/cli/index.js +28 -71
  26. package/dist/cli/index.mjs +28 -71
  27. package/dist/{compiler-manifest-CYcwzSOJ.d.ts → compiler-manifest-DlE7dnRm.d.mts} +2 -8
  28. package/dist/{compiler-manifest-CYcwzSOJ.d.mts → compiler-manifest-DlE7dnRm.d.ts} +2 -8
  29. package/dist/index.d.mts +2 -2
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +23 -22
  32. package/dist/index.mjs +23 -22
  33. package/dist/plays/bundle-play-file.d.mts +7 -22
  34. package/dist/plays/bundle-play-file.d.ts +7 -22
  35. package/dist/plays/bundle-play-file.mjs +26 -614
  36. package/package.json +2 -2
  37. package/dist/bundling-sources/apps/play-runner-workers/src/coordinator-entry.ts +0 -4504
  38. package/dist/bundling-sources/apps/play-runner-workers/src/dedup-do.ts +0 -1386
  39. package/dist/bundling-sources/apps/play-runner-workers/src/durable-object-deploy-handoff.ts +0 -30
  40. package/dist/bundling-sources/apps/play-runner-workers/src/entry.ts +0 -8385
  41. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/README.md +0 -21
  42. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/batching.ts +0 -251
  43. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/coordinator-progress.ts +0 -289
  44. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/csv-rows.ts +0 -85
  45. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/customer-console.ts +0 -23
  46. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/dataset-handles.ts +0 -528
  47. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/harness-receipt-store.ts +0 -229
  48. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/ledger-event-batches.ts +0 -81
  49. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/live-progress.ts +0 -22
  50. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/map-chunk-plan.ts +0 -920
  51. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/map-latency-profile.ts +0 -90
  52. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/output-datasets.ts +0 -475
  53. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/receipts.ts +0 -570
  54. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/result-dataset-persistence.ts +0 -50
  55. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/row-isolation.ts +0 -5
  56. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/run-work-dispatcher.ts +0 -519
  57. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-batch.ts +0 -107
  58. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-dispatch.ts +0 -2541
  59. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-http-errors.ts +0 -7
  60. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-receipts.ts +0 -227
  61. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/work-budget.ts +0 -130
  62. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/worker-platform-budget.ts +0 -39
  63. package/dist/bundling-sources/apps/play-runner-workers/src/runtime/workflow-preview.ts +0 -26
  64. package/dist/bundling-sources/apps/play-runner-workers/src/runtime-api-retry.ts +0 -23
  65. package/dist/bundling-sources/apps/play-runner-workers/src/workflow-instance-create.ts +0 -47
  66. package/dist/bundling-sources/apps/play-runner-workers/src/workflow-retry-state.ts +0 -167
  67. package/dist/bundling-sources/apps/play-runner-workers/src/workflow-retry.ts +0 -91
  68. package/dist/bundling-sources/sdk/src/plays/harness-stub.ts +0 -329
  69. package/dist/bundling-sources/sdk/src/worker-play-entry.ts +0 -240
  70. package/dist/bundling-sources/shared_libs/play-runtime/governor/coordinator-rate-state-backend.ts +0 -252
  71. package/dist/bundling-sources/shared_libs/play-runtime/runtime-pg-driver-neon-serverless.ts +0 -217
@@ -8,22 +8,5 @@
8
8
  * is generated from here.
9
9
  */
10
10
 
11
- /**
12
- * Absolute hard ceiling for a compiled play bundle, across every artifact kind.
13
- * A bundle larger than this is rejected at submit time.
14
- */
11
+ /** Absolute hard ceiling for a compiled Play bundle. */
15
12
  export const MAX_PLAY_BUNDLE_BYTES = 30 * 1024 * 1024;
16
-
17
- /**
18
- * Tighter ceiling for the `esm_workers` artifact kind. workerd local-mode
19
- * (`wrangler dev` Worker Loader) silently fails to instantiate per-graphHash
20
- * play Workers when the bundled code passes a threshold somewhere between
21
- * 1.04 MiB (44-package-imports — works) and 1.18 MiB (the same play with
22
- * date-fns added — hangs forever). The workflow body never runs, no error is
23
- * logged anywhere, and the run hangs indefinitely. We surface this as a hard
24
- * bundle failure so the user gets an actionable message at submit time instead
25
- * of a 5-minute silent timeout. Real CF (workers.dev) accepts much larger
26
- * bundles, but `dev:v2 cloudflare` is the regression entrypoint so the local
27
- * limit is the binding one.
28
- */
29
- export const MAX_ESM_WORKERS_BUNDLE_BYTES = 1_150_000;
package/dist/cli/index.js CHANGED
@@ -630,10 +630,11 @@ var SDK_RELEASE = {
630
630
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
631
631
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
632
632
  // runtime intentionally no longer compiles at publish or launch time.
633
- version: "0.1.243",
634
- apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
633
+ // 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
634
+ // deploy-time artifact migration. Play authoring now has one CJS contract.
635
+ version: "0.1.245",
636
+ apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
635
637
  supportPolicy: {
636
- latest: "0.1.243",
637
638
  minimumSupported: "0.1.53",
638
639
  deprecatedBelow: "0.1.219",
639
640
  commandMinimumSupported: [
@@ -644,52 +645,52 @@ var SDK_RELEASE = {
644
645
  },
645
646
  {
646
647
  command: "plays",
647
- minimumSupported: "0.1.111",
648
- reason: "Play file commands now use dataset-native list getters and result row datasets."
648
+ minimumSupported: "0.1.241",
649
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract. Update before checking, publishing, or running plays."
649
650
  },
650
651
  {
651
652
  command: "plays run",
652
- minimumSupported: "0.1.111",
653
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
653
+ minimumSupported: "0.1.241",
654
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
654
655
  },
655
656
  {
656
657
  command: "run",
657
658
  displayCommand: "plays run",
658
- minimumSupported: "0.1.111",
659
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
659
+ minimumSupported: "0.1.241",
660
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
660
661
  },
661
662
  {
662
663
  command: "plays check",
663
- minimumSupported: "0.1.111",
664
- reason: "Play file checks now validate dataset-native list getter authoring."
664
+ minimumSupported: "0.1.241",
665
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
665
666
  },
666
667
  {
667
668
  command: "check",
668
669
  displayCommand: "plays check",
669
- minimumSupported: "0.1.111",
670
- reason: "Play file checks now validate dataset-native list getter authoring."
670
+ minimumSupported: "0.1.241",
671
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
671
672
  },
672
673
  {
673
674
  command: "plays publish",
674
- minimumSupported: "0.1.111",
675
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
675
+ minimumSupported: "0.1.241",
676
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
676
677
  },
677
678
  {
678
679
  command: "publish",
679
680
  displayCommand: "plays publish",
680
- minimumSupported: "0.1.111",
681
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
681
+ minimumSupported: "0.1.241",
682
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
682
683
  },
683
684
  {
684
685
  command: "plays set-live",
685
- minimumSupported: "0.1.111",
686
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
686
+ minimumSupported: "0.1.241",
687
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
687
688
  },
688
689
  {
689
690
  command: "set-live",
690
691
  displayCommand: "plays set-live",
691
- minimumSupported: "0.1.111",
692
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
692
+ minimumSupported: "0.1.241",
693
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
693
694
  },
694
695
  {
695
696
  command: "runs",
@@ -1462,7 +1463,7 @@ function createSecretRedactionContext(initialValues = []) {
1462
1463
 
1463
1464
  // ../shared_libs/play-runtime/output-size-limits.ts
1464
1465
  var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
1465
- var LEDGER_TERMINAL_RESULT_MAX_BYTES = 768 * 1024;
1466
+ var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
1466
1467
  var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
1467
1468
  var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
1468
1469
  var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
@@ -5555,10 +5556,7 @@ function registerAdminCommands(program) {
5555
5556
  lanes.command("show <releaseId>").description("Show one lane and its retire-gate depth.").option("--environment <env>", "production (default) or preview").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleLanesShow);
5556
5557
  lanes.command("retire-check <releaseId>").description("Check whether a lane is safe to retire (queue empty).").option("--environment <env>", "production (default) or preview").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleLanesRetireCheck);
5557
5558
  const releases = admin.command("releases").description("Manage the active runtime release pointer.");
5558
- releases.command("activate <releaseId>").description("Activate a prior registered Absurd release lane.").option("--environment <env>", "production (default) or preview").option(
5559
- "--scheduler-backend <backend>",
5560
- "compatibility flag: absurd only; workers_edge is disabled"
5561
- ).option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleReleasesActivate);
5559
+ releases.command("activate <releaseId>").description("Activate a prior registered Absurd release lane.").option("--environment <env>", "production (default) or preview").option("--scheduler-backend <backend>", "runtime scheduler (absurd only)").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleReleasesActivate);
5562
5560
  }
5563
5561
 
5564
5562
  // src/cli/commands/auth.ts
@@ -10891,15 +10889,10 @@ ${hint}`;
10891
10889
  // ../shared_libs/play-runtime/backend.ts
10892
10890
  var PLAY_RUNTIME_BACKENDS = {
10893
10891
  localProcess: "local_process",
10894
- daytona: "daytona",
10895
- // Artifact/runtime contract for Cloudflare Dynamic Workers. This is no
10896
- // longer a standalone runner backend; use profile=workers_edge so the
10897
- // cf-workflows scheduler owns loading and execution.
10898
- cloudflareWorkers: "cloudflare_workers"
10892
+ daytona: "daytona"
10899
10893
  };
10900
10894
  var PLAY_ARTIFACT_KINDS = {
10901
- cjsNode20: "cjs_node20",
10902
- esmWorkers: "esm_workers"
10895
+ cjsNode20: "cjs_node20"
10903
10896
  };
10904
10897
  var PLAY_BACKEND_DESCRIPTORS = {
10905
10898
  [PLAY_RUNTIME_BACKENDS.localProcess]: {
@@ -10911,11 +10904,6 @@ var PLAY_BACKEND_DESCRIPTORS = {
10911
10904
  id: PLAY_RUNTIME_BACKENDS.daytona,
10912
10905
  artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
10913
10906
  label: "Daytona sandbox"
10914
- },
10915
- [PLAY_RUNTIME_BACKENDS.cloudflareWorkers]: {
10916
- id: PLAY_RUNTIME_BACKENDS.cloudflareWorkers,
10917
- artifactKind: PLAY_ARTIFACT_KINDS.esmWorkers,
10918
- label: "Cloudflare Dynamic Workers"
10919
10907
  }
10920
10908
  };
10921
10909
 
@@ -10928,9 +10916,6 @@ var PLAY_DEDUP_BACKENDS = {
10928
10916
 
10929
10917
  // ../shared_libs/play-runtime/scheduler-backend.ts
10930
10918
  var PLAY_SCHEDULER_BACKENDS = {
10931
- cfWorkflows: "cf-workflows",
10932
- /** Private legacy id retained only so old persisted rows can be interpreted. */
10933
- postgres: "postgres",
10934
10919
  /**
10935
10920
  * Postgres-native durable-execution scheduler (vendored Absurd engine). Runs
10936
10921
  * on the battle-tested run-state store without an external workflow engine.
@@ -10942,30 +10927,9 @@ var PLAY_SCHEDULER_BACKENDS = {
10942
10927
 
10943
10928
  // ../shared_libs/play-runtime/providers.ts
10944
10929
  var PLAY_RUNTIME_PROVIDER_IDS = {
10945
- workersEdge: "workers_edge",
10946
10930
  absurd: "absurd"
10947
10931
  };
10948
- var PLAY_RUNTIME_PROVIDER_DISABLED_CODE = "PLAY_RUNTIME_PROVIDER_DISABLED";
10949
- var PlayRuntimeProviderDisabledError = class extends Error {
10950
- code = PLAY_RUNTIME_PROVIDER_DISABLED_CODE;
10951
- profile;
10952
- constructor(profile) {
10953
- super(
10954
- `Play runtime profile "${profile}" is disabled. Deepline runs now execute on the "absurd" profile.`
10955
- );
10956
- this.name = "PlayRuntimeProviderDisabledError";
10957
- this.profile = profile;
10958
- }
10959
- };
10960
10932
  var PLAY_RUNTIME_PROVIDERS = {
10961
- workers_edge: {
10962
- id: PLAY_RUNTIME_PROVIDER_IDS.workersEdge,
10963
- scheduler: PLAY_SCHEDULER_BACKENDS.cfWorkflows,
10964
- runner: PLAY_RUNTIME_BACKENDS.cloudflareWorkers,
10965
- dedup: PLAY_DEDUP_BACKENDS.durableObject,
10966
- artifactKind: PLAY_ARTIFACT_KINDS.esmWorkers,
10967
- label: "Cloudflare Dynamic Workflows + Dynamic Workers + DO dedup"
10968
- },
10969
10933
  absurd: {
10970
10934
  id: PLAY_RUNTIME_PROVIDER_IDS.absurd,
10971
10935
  scheduler: PLAY_SCHEDULER_BACKENDS.absurd,
@@ -10981,11 +10945,6 @@ var PLAY_RUNTIME_PROVIDERS = {
10981
10945
  function defaultPlayRuntimeProvider() {
10982
10946
  return PLAY_RUNTIME_PROVIDERS.absurd;
10983
10947
  }
10984
- function assertPlayRuntimeProviderEnabled(provider) {
10985
- if (provider.id === PLAY_RUNTIME_PROVIDER_IDS.workersEdge) {
10986
- throw new PlayRuntimeProviderDisabledError(provider.id);
10987
- }
10988
- }
10989
10948
  function resolvePlayRuntimeProvider(override) {
10990
10949
  if (override?.trim()) {
10991
10950
  const id = override.trim();
@@ -11001,9 +10960,7 @@ function resolvePlayRuntimeProvider(override) {
11001
10960
  return defaultPlayRuntimeProvider();
11002
10961
  }
11003
10962
  function resolveEnabledPlayRuntimeProvider(override) {
11004
- const provider = resolvePlayRuntimeProvider(override);
11005
- assertPlayRuntimeProviderEnabled(provider);
11006
- return provider;
10963
+ return resolvePlayRuntimeProvider(override);
11007
10964
  }
11008
10965
 
11009
10966
  // ../shared_libs/play-runtime/profiles.ts
@@ -14914,7 +14871,7 @@ function writeStartedPlayRun(input2) {
14914
14871
  );
14915
14872
  }
14916
14873
  function parsePlayRunOptions(args) {
14917
- const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n Runs default to absurd. The workers_edge profile is disabled.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and ctx.dataset guidance.";
14874
+ const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and ctx.dataset guidance.";
14918
14875
  let filePath = null;
14919
14876
  let playName = null;
14920
14877
  let input2 = null;
@@ -615,10 +615,11 @@ var SDK_RELEASE = {
615
615
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
616
616
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
617
617
  // runtime intentionally no longer compiles at publish or launch time.
618
- version: "0.1.243",
619
- apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
618
+ // 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
619
+ // deploy-time artifact migration. Play authoring now has one CJS contract.
620
+ version: "0.1.245",
621
+ apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
620
622
  supportPolicy: {
621
- latest: "0.1.243",
622
623
  minimumSupported: "0.1.53",
623
624
  deprecatedBelow: "0.1.219",
624
625
  commandMinimumSupported: [
@@ -629,52 +630,52 @@ var SDK_RELEASE = {
629
630
  },
630
631
  {
631
632
  command: "plays",
632
- minimumSupported: "0.1.111",
633
- reason: "Play file commands now use dataset-native list getters and result row datasets."
633
+ minimumSupported: "0.1.241",
634
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract. Update before checking, publishing, or running plays."
634
635
  },
635
636
  {
636
637
  command: "plays run",
637
- minimumSupported: "0.1.111",
638
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
638
+ minimumSupported: "0.1.241",
639
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
639
640
  },
640
641
  {
641
642
  command: "run",
642
643
  displayCommand: "plays run",
643
- minimumSupported: "0.1.111",
644
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
644
+ minimumSupported: "0.1.241",
645
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
645
646
  },
646
647
  {
647
648
  command: "plays check",
648
- minimumSupported: "0.1.111",
649
- reason: "Play file checks now validate dataset-native list getter authoring."
649
+ minimumSupported: "0.1.241",
650
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
650
651
  },
651
652
  {
652
653
  command: "check",
653
654
  displayCommand: "plays check",
654
- minimumSupported: "0.1.111",
655
- reason: "Play file checks now validate dataset-native list getter authoring."
655
+ minimumSupported: "0.1.241",
656
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
656
657
  },
657
658
  {
658
659
  command: "plays publish",
659
- minimumSupported: "0.1.111",
660
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
660
+ minimumSupported: "0.1.241",
661
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
661
662
  },
662
663
  {
663
664
  command: "publish",
664
665
  displayCommand: "plays publish",
665
- minimumSupported: "0.1.111",
666
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
666
+ minimumSupported: "0.1.241",
667
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
667
668
  },
668
669
  {
669
670
  command: "plays set-live",
670
- minimumSupported: "0.1.111",
671
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
671
+ minimumSupported: "0.1.241",
672
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
672
673
  },
673
674
  {
674
675
  command: "set-live",
675
676
  displayCommand: "plays set-live",
676
- minimumSupported: "0.1.111",
677
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
677
+ minimumSupported: "0.1.241",
678
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
678
679
  },
679
680
  {
680
681
  command: "runs",
@@ -1447,7 +1448,7 @@ function createSecretRedactionContext(initialValues = []) {
1447
1448
 
1448
1449
  // ../shared_libs/play-runtime/output-size-limits.ts
1449
1450
  var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
1450
- var LEDGER_TERMINAL_RESULT_MAX_BYTES = 768 * 1024;
1451
+ var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
1451
1452
  var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
1452
1453
  var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
1453
1454
  var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
@@ -5546,10 +5547,7 @@ function registerAdminCommands(program) {
5546
5547
  lanes.command("show <releaseId>").description("Show one lane and its retire-gate depth.").option("--environment <env>", "production (default) or preview").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleLanesShow);
5547
5548
  lanes.command("retire-check <releaseId>").description("Check whether a lane is safe to retire (queue empty).").option("--environment <env>", "production (default) or preview").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleLanesRetireCheck);
5548
5549
  const releases = admin.command("releases").description("Manage the active runtime release pointer.");
5549
- releases.command("activate <releaseId>").description("Activate a prior registered Absurd release lane.").option("--environment <env>", "production (default) or preview").option(
5550
- "--scheduler-backend <backend>",
5551
- "compatibility flag: absurd only; workers_edge is disabled"
5552
- ).option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleReleasesActivate);
5550
+ releases.command("activate <releaseId>").description("Activate a prior registered Absurd release lane.").option("--environment <env>", "production (default) or preview").option("--scheduler-backend <backend>", "runtime scheduler (absurd only)").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(handleReleasesActivate);
5553
5551
  }
5554
5552
 
5555
5553
  // src/cli/commands/auth.ts
@@ -10920,15 +10918,10 @@ ${hint}`;
10920
10918
  // ../shared_libs/play-runtime/backend.ts
10921
10919
  var PLAY_RUNTIME_BACKENDS = {
10922
10920
  localProcess: "local_process",
10923
- daytona: "daytona",
10924
- // Artifact/runtime contract for Cloudflare Dynamic Workers. This is no
10925
- // longer a standalone runner backend; use profile=workers_edge so the
10926
- // cf-workflows scheduler owns loading and execution.
10927
- cloudflareWorkers: "cloudflare_workers"
10921
+ daytona: "daytona"
10928
10922
  };
10929
10923
  var PLAY_ARTIFACT_KINDS = {
10930
- cjsNode20: "cjs_node20",
10931
- esmWorkers: "esm_workers"
10924
+ cjsNode20: "cjs_node20"
10932
10925
  };
10933
10926
  var PLAY_BACKEND_DESCRIPTORS = {
10934
10927
  [PLAY_RUNTIME_BACKENDS.localProcess]: {
@@ -10940,11 +10933,6 @@ var PLAY_BACKEND_DESCRIPTORS = {
10940
10933
  id: PLAY_RUNTIME_BACKENDS.daytona,
10941
10934
  artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
10942
10935
  label: "Daytona sandbox"
10943
- },
10944
- [PLAY_RUNTIME_BACKENDS.cloudflareWorkers]: {
10945
- id: PLAY_RUNTIME_BACKENDS.cloudflareWorkers,
10946
- artifactKind: PLAY_ARTIFACT_KINDS.esmWorkers,
10947
- label: "Cloudflare Dynamic Workers"
10948
10936
  }
10949
10937
  };
10950
10938
 
@@ -10957,9 +10945,6 @@ var PLAY_DEDUP_BACKENDS = {
10957
10945
 
10958
10946
  // ../shared_libs/play-runtime/scheduler-backend.ts
10959
10947
  var PLAY_SCHEDULER_BACKENDS = {
10960
- cfWorkflows: "cf-workflows",
10961
- /** Private legacy id retained only so old persisted rows can be interpreted. */
10962
- postgres: "postgres",
10963
10948
  /**
10964
10949
  * Postgres-native durable-execution scheduler (vendored Absurd engine). Runs
10965
10950
  * on the battle-tested run-state store without an external workflow engine.
@@ -10971,30 +10956,9 @@ var PLAY_SCHEDULER_BACKENDS = {
10971
10956
 
10972
10957
  // ../shared_libs/play-runtime/providers.ts
10973
10958
  var PLAY_RUNTIME_PROVIDER_IDS = {
10974
- workersEdge: "workers_edge",
10975
10959
  absurd: "absurd"
10976
10960
  };
10977
- var PLAY_RUNTIME_PROVIDER_DISABLED_CODE = "PLAY_RUNTIME_PROVIDER_DISABLED";
10978
- var PlayRuntimeProviderDisabledError = class extends Error {
10979
- code = PLAY_RUNTIME_PROVIDER_DISABLED_CODE;
10980
- profile;
10981
- constructor(profile) {
10982
- super(
10983
- `Play runtime profile "${profile}" is disabled. Deepline runs now execute on the "absurd" profile.`
10984
- );
10985
- this.name = "PlayRuntimeProviderDisabledError";
10986
- this.profile = profile;
10987
- }
10988
- };
10989
10961
  var PLAY_RUNTIME_PROVIDERS = {
10990
- workers_edge: {
10991
- id: PLAY_RUNTIME_PROVIDER_IDS.workersEdge,
10992
- scheduler: PLAY_SCHEDULER_BACKENDS.cfWorkflows,
10993
- runner: PLAY_RUNTIME_BACKENDS.cloudflareWorkers,
10994
- dedup: PLAY_DEDUP_BACKENDS.durableObject,
10995
- artifactKind: PLAY_ARTIFACT_KINDS.esmWorkers,
10996
- label: "Cloudflare Dynamic Workflows + Dynamic Workers + DO dedup"
10997
- },
10998
10962
  absurd: {
10999
10963
  id: PLAY_RUNTIME_PROVIDER_IDS.absurd,
11000
10964
  scheduler: PLAY_SCHEDULER_BACKENDS.absurd,
@@ -11010,11 +10974,6 @@ var PLAY_RUNTIME_PROVIDERS = {
11010
10974
  function defaultPlayRuntimeProvider() {
11011
10975
  return PLAY_RUNTIME_PROVIDERS.absurd;
11012
10976
  }
11013
- function assertPlayRuntimeProviderEnabled(provider) {
11014
- if (provider.id === PLAY_RUNTIME_PROVIDER_IDS.workersEdge) {
11015
- throw new PlayRuntimeProviderDisabledError(provider.id);
11016
- }
11017
- }
11018
10977
  function resolvePlayRuntimeProvider(override) {
11019
10978
  if (override?.trim()) {
11020
10979
  const id = override.trim();
@@ -11030,9 +10989,7 @@ function resolvePlayRuntimeProvider(override) {
11030
10989
  return defaultPlayRuntimeProvider();
11031
10990
  }
11032
10991
  function resolveEnabledPlayRuntimeProvider(override) {
11033
- const provider = resolvePlayRuntimeProvider(override);
11034
- assertPlayRuntimeProviderEnabled(provider);
11035
- return provider;
10992
+ return resolvePlayRuntimeProvider(override);
11036
10993
  }
11037
10994
 
11038
10995
  // ../shared_libs/play-runtime/profiles.ts
@@ -14943,7 +14900,7 @@ function writeStartedPlayRun(input2) {
14943
14900
  );
14944
14901
  }
14945
14902
  function parsePlayRunOptions(args) {
14946
- const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n Runs default to absurd. The workers_edge profile is disabled.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and ctx.dataset guidance.";
14903
+ const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and ctx.dataset guidance.";
14947
14904
  let filePath = null;
14948
14905
  let playName = null;
14949
14906
  let input2 = null;
@@ -1,15 +1,9 @@
1
1
  /**
2
- * The runtime shape of a built play artifact. Different runner backends need
3
- * different bundle outputs:
4
- * - cjs_node20: Daytona + local-process (full Node.js sandbox).
5
- * - esm_workers: Cloudflare Workers (V8 isolate, no `fs`/`child_process`).
6
- *
7
- * The CLI selects which kind to build based on the target backend; the worker
8
- * validates the kind matches the backend it's about to dispatch to.
2
+ * The one executable Play artifact contract. Daytona and local-process both
3
+ * load CommonJS under Node 20.
9
4
  */
10
5
  declare const PLAY_ARTIFACT_KINDS: {
11
6
  readonly cjsNode20: "cjs_node20";
12
- readonly esmWorkers: "esm_workers";
13
7
  };
14
8
  type PlayArtifactKind = (typeof PLAY_ARTIFACT_KINDS)[keyof typeof PLAY_ARTIFACT_KINDS];
15
9
 
@@ -1,15 +1,9 @@
1
1
  /**
2
- * The runtime shape of a built play artifact. Different runner backends need
3
- * different bundle outputs:
4
- * - cjs_node20: Daytona + local-process (full Node.js sandbox).
5
- * - esm_workers: Cloudflare Workers (V8 isolate, no `fs`/`child_process`).
6
- *
7
- * The CLI selects which kind to build based on the target backend; the worker
8
- * validates the kind matches the backend it's about to dispatch to.
2
+ * The one executable Play artifact contract. Daytona and local-process both
3
+ * load CommonJS under Node 20.
9
4
  */
10
5
  declare const PLAY_ARTIFACT_KINDS: {
11
6
  readonly cjsNode20: "cjs_node20";
12
- readonly esmWorkers: "esm_workers";
13
7
  };
14
8
  type PlayArtifactKind = (typeof PLAY_ARTIFACT_KINDS)[keyof typeof PLAY_ARTIFACT_KINDS];
15
9
 
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as PlayCompilerManifest } from './compiler-manifest-CYcwzSOJ.mjs';
1
+ import { a as PlayCompilerManifest } from './compiler-manifest-DlE7dnRm.mjs';
2
2
 
3
3
  declare const DEEPLINE_TOOL_CATEGORIES: readonly ["company_search", "people_search", "people_enrich", "email_finder", "email_verify", "phone_finder", "phone_verify", "identity_resolution", "reverse_lookup", "enrichment", "batch", "premium", "free"];
4
4
  type DeeplineToolCategory = (typeof DEEPLINE_TOOL_CATEGORIES)[number] | (string & {});
@@ -1189,7 +1189,7 @@ interface StartPlayRunRequest {
1189
1189
  waitForCompletionMs?: number;
1190
1190
  /**
1191
1191
  * Per-run execution profile override. The server defaults to absurd. The
1192
- * workers_edge profile is disabled; most callers should leave this unset.
1192
+ * Only `absurd` is accepted; most callers should leave this unset.
1193
1193
  */
1194
1194
  profile?: string;
1195
1195
  /** Optional per-run provider execution mode for eval/smoke runs. */
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as PlayCompilerManifest } from './compiler-manifest-CYcwzSOJ.js';
1
+ import { a as PlayCompilerManifest } from './compiler-manifest-DlE7dnRm.js';
2
2
 
3
3
  declare const DEEPLINE_TOOL_CATEGORIES: readonly ["company_search", "people_search", "people_enrich", "email_finder", "email_verify", "phone_finder", "phone_verify", "identity_resolution", "reverse_lookup", "enrichment", "batch", "premium", "free"];
4
4
  type DeeplineToolCategory = (typeof DEEPLINE_TOOL_CATEGORIES)[number] | (string & {});
@@ -1189,7 +1189,7 @@ interface StartPlayRunRequest {
1189
1189
  waitForCompletionMs?: number;
1190
1190
  /**
1191
1191
  * Per-run execution profile override. The server defaults to absurd. The
1192
- * workers_edge profile is disabled; most callers should leave this unset.
1192
+ * Only `absurd` is accepted; most callers should leave this unset.
1193
1193
  */
1194
1194
  profile?: string;
1195
1195
  /** Optional per-run provider execution mode for eval/smoke runs. */
package/dist/index.js CHANGED
@@ -429,10 +429,11 @@ var SDK_RELEASE = {
429
429
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
430
430
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
431
431
  // runtime intentionally no longer compiles at publish or launch time.
432
- version: "0.1.243",
433
- apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
432
+ // 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
433
+ // deploy-time artifact migration. Play authoring now has one CJS contract.
434
+ version: "0.1.245",
435
+ apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
434
436
  supportPolicy: {
435
- latest: "0.1.243",
436
437
  minimumSupported: "0.1.53",
437
438
  deprecatedBelow: "0.1.219",
438
439
  commandMinimumSupported: [
@@ -443,52 +444,52 @@ var SDK_RELEASE = {
443
444
  },
444
445
  {
445
446
  command: "plays",
446
- minimumSupported: "0.1.111",
447
- reason: "Play file commands now use dataset-native list getters and result row datasets."
447
+ minimumSupported: "0.1.241",
448
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract. Update before checking, publishing, or running plays."
448
449
  },
449
450
  {
450
451
  command: "plays run",
451
- minimumSupported: "0.1.111",
452
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
452
+ minimumSupported: "0.1.241",
453
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
453
454
  },
454
455
  {
455
456
  command: "run",
456
457
  displayCommand: "plays run",
457
- minimumSupported: "0.1.111",
458
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
458
+ minimumSupported: "0.1.241",
459
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
459
460
  },
460
461
  {
461
462
  command: "plays check",
462
- minimumSupported: "0.1.111",
463
- reason: "Play file checks now validate dataset-native list getter authoring."
463
+ minimumSupported: "0.1.241",
464
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
464
465
  },
465
466
  {
466
467
  command: "check",
467
468
  displayCommand: "plays check",
468
- minimumSupported: "0.1.111",
469
- reason: "Play file checks now validate dataset-native list getter authoring."
469
+ minimumSupported: "0.1.241",
470
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
470
471
  },
471
472
  {
472
473
  command: "plays publish",
473
- minimumSupported: "0.1.111",
474
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
474
+ minimumSupported: "0.1.241",
475
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
475
476
  },
476
477
  {
477
478
  command: "publish",
478
479
  displayCommand: "plays publish",
479
- minimumSupported: "0.1.111",
480
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
480
+ minimumSupported: "0.1.241",
481
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
481
482
  },
482
483
  {
483
484
  command: "plays set-live",
484
- minimumSupported: "0.1.111",
485
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
485
+ minimumSupported: "0.1.241",
486
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
486
487
  },
487
488
  {
488
489
  command: "set-live",
489
490
  displayCommand: "plays set-live",
490
- minimumSupported: "0.1.111",
491
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
491
+ minimumSupported: "0.1.241",
492
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
492
493
  },
493
494
  {
494
495
  command: "runs",
@@ -1261,7 +1262,7 @@ function createSecretRedactionContext(initialValues = []) {
1261
1262
 
1262
1263
  // ../shared_libs/play-runtime/output-size-limits.ts
1263
1264
  var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
1264
- var LEDGER_TERMINAL_RESULT_MAX_BYTES = 768 * 1024;
1265
+ var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
1265
1266
  var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
1266
1267
  var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
1267
1268
  var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;