deepline 0.1.243 → 0.1.244

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 +23 -21
  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 +29 -71
  26. package/dist/cli/index.mjs +29 -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 +24 -22
  32. package/dist/index.mjs +24 -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,12 @@ 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.244",
636
+ apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
635
637
  supportPolicy: {
636
- latest: "0.1.243",
638
+ latest: "0.1.244",
637
639
  minimumSupported: "0.1.53",
638
640
  deprecatedBelow: "0.1.219",
639
641
  commandMinimumSupported: [
@@ -644,52 +646,52 @@ var SDK_RELEASE = {
644
646
  },
645
647
  {
646
648
  command: "plays",
647
- minimumSupported: "0.1.111",
648
- reason: "Play file commands now use dataset-native list getters and result row datasets."
649
+ minimumSupported: "0.1.241",
650
+ 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
651
  },
650
652
  {
651
653
  command: "plays run",
652
- minimumSupported: "0.1.111",
653
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
654
+ minimumSupported: "0.1.241",
655
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
654
656
  },
655
657
  {
656
658
  command: "run",
657
659
  displayCommand: "plays run",
658
- minimumSupported: "0.1.111",
659
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
660
+ minimumSupported: "0.1.241",
661
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
660
662
  },
661
663
  {
662
664
  command: "plays check",
663
- minimumSupported: "0.1.111",
664
- reason: "Play file checks now validate dataset-native list getter authoring."
665
+ minimumSupported: "0.1.241",
666
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
665
667
  },
666
668
  {
667
669
  command: "check",
668
670
  displayCommand: "plays check",
669
- minimumSupported: "0.1.111",
670
- reason: "Play file checks now validate dataset-native list getter authoring."
671
+ minimumSupported: "0.1.241",
672
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
671
673
  },
672
674
  {
673
675
  command: "plays publish",
674
- minimumSupported: "0.1.111",
675
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
676
+ minimumSupported: "0.1.241",
677
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
676
678
  },
677
679
  {
678
680
  command: "publish",
679
681
  displayCommand: "plays publish",
680
- minimumSupported: "0.1.111",
681
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
682
+ minimumSupported: "0.1.241",
683
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
682
684
  },
683
685
  {
684
686
  command: "plays set-live",
685
- minimumSupported: "0.1.111",
686
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
687
+ minimumSupported: "0.1.241",
688
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
687
689
  },
688
690
  {
689
691
  command: "set-live",
690
692
  displayCommand: "plays set-live",
691
- minimumSupported: "0.1.111",
692
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
693
+ minimumSupported: "0.1.241",
694
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
693
695
  },
694
696
  {
695
697
  command: "runs",
@@ -1462,7 +1464,7 @@ function createSecretRedactionContext(initialValues = []) {
1462
1464
 
1463
1465
  // ../shared_libs/play-runtime/output-size-limits.ts
1464
1466
  var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
1465
- var LEDGER_TERMINAL_RESULT_MAX_BYTES = 768 * 1024;
1467
+ var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
1466
1468
  var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
1467
1469
  var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
1468
1470
  var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
@@ -5555,10 +5557,7 @@ function registerAdminCommands(program) {
5555
5557
  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
5558
  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
5559
  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);
5560
+ 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
5561
  }
5563
5562
 
5564
5563
  // src/cli/commands/auth.ts
@@ -10891,15 +10890,10 @@ ${hint}`;
10891
10890
  // ../shared_libs/play-runtime/backend.ts
10892
10891
  var PLAY_RUNTIME_BACKENDS = {
10893
10892
  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"
10893
+ daytona: "daytona"
10899
10894
  };
10900
10895
  var PLAY_ARTIFACT_KINDS = {
10901
- cjsNode20: "cjs_node20",
10902
- esmWorkers: "esm_workers"
10896
+ cjsNode20: "cjs_node20"
10903
10897
  };
10904
10898
  var PLAY_BACKEND_DESCRIPTORS = {
10905
10899
  [PLAY_RUNTIME_BACKENDS.localProcess]: {
@@ -10911,11 +10905,6 @@ var PLAY_BACKEND_DESCRIPTORS = {
10911
10905
  id: PLAY_RUNTIME_BACKENDS.daytona,
10912
10906
  artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
10913
10907
  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
10908
  }
10920
10909
  };
10921
10910
 
@@ -10928,9 +10917,6 @@ var PLAY_DEDUP_BACKENDS = {
10928
10917
 
10929
10918
  // ../shared_libs/play-runtime/scheduler-backend.ts
10930
10919
  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
10920
  /**
10935
10921
  * Postgres-native durable-execution scheduler (vendored Absurd engine). Runs
10936
10922
  * on the battle-tested run-state store without an external workflow engine.
@@ -10942,30 +10928,9 @@ var PLAY_SCHEDULER_BACKENDS = {
10942
10928
 
10943
10929
  // ../shared_libs/play-runtime/providers.ts
10944
10930
  var PLAY_RUNTIME_PROVIDER_IDS = {
10945
- workersEdge: "workers_edge",
10946
10931
  absurd: "absurd"
10947
10932
  };
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
10933
  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
10934
  absurd: {
10970
10935
  id: PLAY_RUNTIME_PROVIDER_IDS.absurd,
10971
10936
  scheduler: PLAY_SCHEDULER_BACKENDS.absurd,
@@ -10981,11 +10946,6 @@ var PLAY_RUNTIME_PROVIDERS = {
10981
10946
  function defaultPlayRuntimeProvider() {
10982
10947
  return PLAY_RUNTIME_PROVIDERS.absurd;
10983
10948
  }
10984
- function assertPlayRuntimeProviderEnabled(provider) {
10985
- if (provider.id === PLAY_RUNTIME_PROVIDER_IDS.workersEdge) {
10986
- throw new PlayRuntimeProviderDisabledError(provider.id);
10987
- }
10988
- }
10989
10949
  function resolvePlayRuntimeProvider(override) {
10990
10950
  if (override?.trim()) {
10991
10951
  const id = override.trim();
@@ -11001,9 +10961,7 @@ function resolvePlayRuntimeProvider(override) {
11001
10961
  return defaultPlayRuntimeProvider();
11002
10962
  }
11003
10963
  function resolveEnabledPlayRuntimeProvider(override) {
11004
- const provider = resolvePlayRuntimeProvider(override);
11005
- assertPlayRuntimeProviderEnabled(provider);
11006
- return provider;
10964
+ return resolvePlayRuntimeProvider(override);
11007
10965
  }
11008
10966
 
11009
10967
  // ../shared_libs/play-runtime/profiles.ts
@@ -14914,7 +14872,7 @@ function writeStartedPlayRun(input2) {
14914
14872
  );
14915
14873
  }
14916
14874
  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.";
14875
+ 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
14876
  let filePath = null;
14919
14877
  let playName = null;
14920
14878
  let input2 = null;
@@ -615,10 +615,12 @@ 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.244",
621
+ apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
620
622
  supportPolicy: {
621
- latest: "0.1.243",
623
+ latest: "0.1.244",
622
624
  minimumSupported: "0.1.53",
623
625
  deprecatedBelow: "0.1.219",
624
626
  commandMinimumSupported: [
@@ -629,52 +631,52 @@ var SDK_RELEASE = {
629
631
  },
630
632
  {
631
633
  command: "plays",
632
- minimumSupported: "0.1.111",
633
- reason: "Play file commands now use dataset-native list getters and result row datasets."
634
+ minimumSupported: "0.1.241",
635
+ 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
636
  },
635
637
  {
636
638
  command: "plays run",
637
- minimumSupported: "0.1.111",
638
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
639
+ minimumSupported: "0.1.241",
640
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
639
641
  },
640
642
  {
641
643
  command: "run",
642
644
  displayCommand: "plays run",
643
- minimumSupported: "0.1.111",
644
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
645
+ minimumSupported: "0.1.241",
646
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
645
647
  },
646
648
  {
647
649
  command: "plays check",
648
- minimumSupported: "0.1.111",
649
- reason: "Play file checks now validate dataset-native list getter authoring."
650
+ minimumSupported: "0.1.241",
651
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
650
652
  },
651
653
  {
652
654
  command: "check",
653
655
  displayCommand: "plays check",
654
- minimumSupported: "0.1.111",
655
- reason: "Play file checks now validate dataset-native list getter authoring."
656
+ minimumSupported: "0.1.241",
657
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
656
658
  },
657
659
  {
658
660
  command: "plays publish",
659
- minimumSupported: "0.1.111",
660
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
661
+ minimumSupported: "0.1.241",
662
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
661
663
  },
662
664
  {
663
665
  command: "publish",
664
666
  displayCommand: "plays publish",
665
- minimumSupported: "0.1.111",
666
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
667
+ minimumSupported: "0.1.241",
668
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
667
669
  },
668
670
  {
669
671
  command: "plays set-live",
670
- minimumSupported: "0.1.111",
671
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
672
+ minimumSupported: "0.1.241",
673
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
672
674
  },
673
675
  {
674
676
  command: "set-live",
675
677
  displayCommand: "plays set-live",
676
- minimumSupported: "0.1.111",
677
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
678
+ minimumSupported: "0.1.241",
679
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
678
680
  },
679
681
  {
680
682
  command: "runs",
@@ -1447,7 +1449,7 @@ function createSecretRedactionContext(initialValues = []) {
1447
1449
 
1448
1450
  // ../shared_libs/play-runtime/output-size-limits.ts
1449
1451
  var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
1450
- var LEDGER_TERMINAL_RESULT_MAX_BYTES = 768 * 1024;
1452
+ var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
1451
1453
  var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
1452
1454
  var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
1453
1455
  var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
@@ -5546,10 +5548,7 @@ function registerAdminCommands(program) {
5546
5548
  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
5549
  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
5550
  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);
5551
+ 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
5552
  }
5554
5553
 
5555
5554
  // src/cli/commands/auth.ts
@@ -10920,15 +10919,10 @@ ${hint}`;
10920
10919
  // ../shared_libs/play-runtime/backend.ts
10921
10920
  var PLAY_RUNTIME_BACKENDS = {
10922
10921
  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"
10922
+ daytona: "daytona"
10928
10923
  };
10929
10924
  var PLAY_ARTIFACT_KINDS = {
10930
- cjsNode20: "cjs_node20",
10931
- esmWorkers: "esm_workers"
10925
+ cjsNode20: "cjs_node20"
10932
10926
  };
10933
10927
  var PLAY_BACKEND_DESCRIPTORS = {
10934
10928
  [PLAY_RUNTIME_BACKENDS.localProcess]: {
@@ -10940,11 +10934,6 @@ var PLAY_BACKEND_DESCRIPTORS = {
10940
10934
  id: PLAY_RUNTIME_BACKENDS.daytona,
10941
10935
  artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
10942
10936
  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
10937
  }
10949
10938
  };
10950
10939
 
@@ -10957,9 +10946,6 @@ var PLAY_DEDUP_BACKENDS = {
10957
10946
 
10958
10947
  // ../shared_libs/play-runtime/scheduler-backend.ts
10959
10948
  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
10949
  /**
10964
10950
  * Postgres-native durable-execution scheduler (vendored Absurd engine). Runs
10965
10951
  * on the battle-tested run-state store without an external workflow engine.
@@ -10971,30 +10957,9 @@ var PLAY_SCHEDULER_BACKENDS = {
10971
10957
 
10972
10958
  // ../shared_libs/play-runtime/providers.ts
10973
10959
  var PLAY_RUNTIME_PROVIDER_IDS = {
10974
- workersEdge: "workers_edge",
10975
10960
  absurd: "absurd"
10976
10961
  };
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
10962
  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
10963
  absurd: {
10999
10964
  id: PLAY_RUNTIME_PROVIDER_IDS.absurd,
11000
10965
  scheduler: PLAY_SCHEDULER_BACKENDS.absurd,
@@ -11010,11 +10975,6 @@ var PLAY_RUNTIME_PROVIDERS = {
11010
10975
  function defaultPlayRuntimeProvider() {
11011
10976
  return PLAY_RUNTIME_PROVIDERS.absurd;
11012
10977
  }
11013
- function assertPlayRuntimeProviderEnabled(provider) {
11014
- if (provider.id === PLAY_RUNTIME_PROVIDER_IDS.workersEdge) {
11015
- throw new PlayRuntimeProviderDisabledError(provider.id);
11016
- }
11017
- }
11018
10978
  function resolvePlayRuntimeProvider(override) {
11019
10979
  if (override?.trim()) {
11020
10980
  const id = override.trim();
@@ -11030,9 +10990,7 @@ function resolvePlayRuntimeProvider(override) {
11030
10990
  return defaultPlayRuntimeProvider();
11031
10991
  }
11032
10992
  function resolveEnabledPlayRuntimeProvider(override) {
11033
- const provider = resolvePlayRuntimeProvider(override);
11034
- assertPlayRuntimeProviderEnabled(provider);
11035
- return provider;
10993
+ return resolvePlayRuntimeProvider(override);
11036
10994
  }
11037
10995
 
11038
10996
  // ../shared_libs/play-runtime/profiles.ts
@@ -14943,7 +14901,7 @@ function writeStartedPlayRun(input2) {
14943
14901
  );
14944
14902
  }
14945
14903
  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.";
14904
+ 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
14905
  let filePath = null;
14948
14906
  let playName = null;
14949
14907
  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,12 @@ 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.244",
435
+ apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
434
436
  supportPolicy: {
435
- latest: "0.1.243",
437
+ latest: "0.1.244",
436
438
  minimumSupported: "0.1.53",
437
439
  deprecatedBelow: "0.1.219",
438
440
  commandMinimumSupported: [
@@ -443,52 +445,52 @@ var SDK_RELEASE = {
443
445
  },
444
446
  {
445
447
  command: "plays",
446
- minimumSupported: "0.1.111",
447
- reason: "Play file commands now use dataset-native list getters and result row datasets."
448
+ minimumSupported: "0.1.241",
449
+ 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
450
  },
449
451
  {
450
452
  command: "plays run",
451
- minimumSupported: "0.1.111",
452
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
453
+ minimumSupported: "0.1.241",
454
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
453
455
  },
454
456
  {
455
457
  command: "run",
456
458
  displayCommand: "plays run",
457
- minimumSupported: "0.1.111",
458
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
459
+ minimumSupported: "0.1.241",
460
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
459
461
  },
460
462
  {
461
463
  command: "plays check",
462
- minimumSupported: "0.1.111",
463
- reason: "Play file checks now validate dataset-native list getter authoring."
464
+ minimumSupported: "0.1.241",
465
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
464
466
  },
465
467
  {
466
468
  command: "check",
467
469
  displayCommand: "plays check",
468
- minimumSupported: "0.1.111",
469
- reason: "Play file checks now validate dataset-native list getter authoring."
470
+ minimumSupported: "0.1.241",
471
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
470
472
  },
471
473
  {
472
474
  command: "plays publish",
473
- minimumSupported: "0.1.111",
474
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
475
+ minimumSupported: "0.1.241",
476
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
475
477
  },
476
478
  {
477
479
  command: "publish",
478
480
  displayCommand: "plays publish",
479
- minimumSupported: "0.1.111",
480
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
481
+ minimumSupported: "0.1.241",
482
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
481
483
  },
482
484
  {
483
485
  command: "plays set-live",
484
- minimumSupported: "0.1.111",
485
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
486
+ minimumSupported: "0.1.241",
487
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
486
488
  },
487
489
  {
488
490
  command: "set-live",
489
491
  displayCommand: "plays set-live",
490
- minimumSupported: "0.1.111",
491
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
492
+ minimumSupported: "0.1.241",
493
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
492
494
  },
493
495
  {
494
496
  command: "runs",
@@ -1261,7 +1263,7 @@ function createSecretRedactionContext(initialValues = []) {
1261
1263
 
1262
1264
  // ../shared_libs/play-runtime/output-size-limits.ts
1263
1265
  var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
1264
- var LEDGER_TERMINAL_RESULT_MAX_BYTES = 768 * 1024;
1266
+ var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
1265
1267
  var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
1266
1268
  var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
1267
1269
  var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;