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
package/dist/index.mjs CHANGED
@@ -359,10 +359,12 @@ var SDK_RELEASE = {
359
359
  // 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
360
360
  // artifacts. Older clients can submit esm_workers artifacts that the Absurd
361
361
  // runtime intentionally no longer compiles at publish or launch time.
362
- version: "0.1.243",
363
- apiContract: "2026-07-immutable-cjs-play-artifacts-hard-cutover",
362
+ // 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
363
+ // deploy-time artifact migration. Play authoring now has one CJS contract.
364
+ version: "0.1.244",
365
+ apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
364
366
  supportPolicy: {
365
- latest: "0.1.243",
367
+ latest: "0.1.244",
366
368
  minimumSupported: "0.1.53",
367
369
  deprecatedBelow: "0.1.219",
368
370
  commandMinimumSupported: [
@@ -373,52 +375,52 @@ var SDK_RELEASE = {
373
375
  },
374
376
  {
375
377
  command: "plays",
376
- minimumSupported: "0.1.111",
377
- reason: "Play file commands now use dataset-native list getters and result row datasets."
378
+ minimumSupported: "0.1.241",
379
+ 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."
378
380
  },
379
381
  {
380
382
  command: "plays run",
381
- minimumSupported: "0.1.111",
382
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
383
+ minimumSupported: "0.1.241",
384
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
383
385
  },
384
386
  {
385
387
  command: "run",
386
388
  displayCommand: "plays run",
387
- minimumSupported: "0.1.111",
388
- reason: "Play run results now promote row-shaped outputs into dataset handles for safe export."
389
+ minimumSupported: "0.1.241",
390
+ reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
389
391
  },
390
392
  {
391
393
  command: "plays check",
392
- minimumSupported: "0.1.111",
393
- reason: "Play file checks now validate dataset-native list getter authoring."
394
+ minimumSupported: "0.1.241",
395
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
394
396
  },
395
397
  {
396
398
  command: "check",
397
399
  displayCommand: "plays check",
398
- minimumSupported: "0.1.111",
399
- reason: "Play file checks now validate dataset-native list getter authoring."
400
+ minimumSupported: "0.1.241",
401
+ reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
400
402
  },
401
403
  {
402
404
  command: "plays publish",
403
- minimumSupported: "0.1.111",
404
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
405
+ minimumSupported: "0.1.241",
406
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
405
407
  },
406
408
  {
407
409
  command: "publish",
408
410
  displayCommand: "plays publish",
409
- minimumSupported: "0.1.111",
410
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
411
+ minimumSupported: "0.1.241",
412
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
411
413
  },
412
414
  {
413
415
  command: "plays set-live",
414
- minimumSupported: "0.1.111",
415
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
416
+ minimumSupported: "0.1.241",
417
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
416
418
  },
417
419
  {
418
420
  command: "set-live",
419
421
  displayCommand: "plays set-live",
420
- minimumSupported: "0.1.111",
421
- reason: "Published play artifacts now target dataset-native list getters and result row datasets."
422
+ minimumSupported: "0.1.241",
423
+ reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
422
424
  },
423
425
  {
424
426
  command: "runs",
@@ -1191,7 +1193,7 @@ function createSecretRedactionContext(initialValues = []) {
1191
1193
 
1192
1194
  // ../shared_libs/play-runtime/output-size-limits.ts
1193
1195
  var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
1194
- var LEDGER_TERMINAL_RESULT_MAX_BYTES = 768 * 1024;
1196
+ var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
1195
1197
  var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
1196
1198
  var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
1197
1199
  var RUNTIME_RECEIPT_OUTPUT_MAX_BYTES = 10 * 1024 * 1024;
@@ -1,5 +1,5 @@
1
- import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-CYcwzSOJ.mjs';
2
- export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-CYcwzSOJ.mjs';
1
+ import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-DlE7dnRm.mjs';
2
+ export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-DlE7dnRm.mjs';
3
3
 
4
4
  type PlayPackageImport = {
5
5
  name: string;
@@ -18,15 +18,11 @@ type PlayArtifactCompatibility = {
18
18
  runtimeFeatures: PlayRuntimeFeature[];
19
19
  runtimeBackend?: string | null;
20
20
  };
21
- /**
22
- * Identifies which runtime can consume this artifact:
23
- * - cjs_node20: Daytona / local-process (Node.js)
24
- * - esm_workers: Cloudflare Workers (V8 isolate)
25
- */
26
- type PlayArtifactKind = 'cjs_node20' | 'esm_workers';
21
+ /** The only executable Play artifact contract. */
22
+ type PlayArtifactKind = 'cjs_node20';
27
23
  type PlayBundleArtifact = {
28
- codeFormat: 'cjs_module' | 'esm_module';
29
- /** Defaults to cjs_node20 when not present (legacy artifacts). */
24
+ codeFormat: 'cjs_module';
25
+ /** Defaults to cjs_node20 when not present on legacy Node artifacts. */
30
26
  artifactKind?: PlayArtifactKind;
31
27
  entryFile: string;
32
28
  virtualFilename: string;
@@ -70,10 +66,6 @@ type PlayBundlingAdapter = {
70
66
  sdkPackageJson: string;
71
67
  sdkEntryFile: string;
72
68
  sdkTypesEntryFile?: string;
73
- sdkWorkersEntryFile: string;
74
- workersHarnessEntryFile: string;
75
- workersHarnessFilesDir: string;
76
- workersRuntimeFingerprintDirs?: string[];
77
69
  discoverPackagedLocalFiles(filePath: string): Promise<PlayLocalFileDiscoveryResult>;
78
70
  typecheckPlaySource?(input: {
79
71
  sourceCode: string;
@@ -103,14 +95,7 @@ type BundledPlayFileFailure = {
103
95
  type BundledPlayFileResult = BundledPlayFileSuccess | BundledPlayFileFailure;
104
96
  declare function extractDefinedPlayName(sourceCode: string): string | null;
105
97
  type BundlePlayFileOptions = {
106
- /**
107
- * Which artifact to produce. Defaults to `cjs_node20` (Daytona / local-process
108
- * runner). Pass `esm_workers` to produce a Cloudflare Worker bundle that
109
- * combines the play with the Workers harness.
110
- *
111
- * The CLI selects this from the execution profile or an explicit flag. Each
112
- * kind is cached independently on disk.
113
- */
98
+ /** Must be `cjs_node20`; retained as an explicit compile-contract assertion. */
114
99
  target?: PlayArtifactKind$1;
115
100
  exportName?: string;
116
101
  };
@@ -1,5 +1,5 @@
1
- import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-CYcwzSOJ.js';
2
- export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-CYcwzSOJ.js';
1
+ import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-DlE7dnRm.js';
2
+ export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-DlE7dnRm.js';
3
3
 
4
4
  type PlayPackageImport = {
5
5
  name: string;
@@ -18,15 +18,11 @@ type PlayArtifactCompatibility = {
18
18
  runtimeFeatures: PlayRuntimeFeature[];
19
19
  runtimeBackend?: string | null;
20
20
  };
21
- /**
22
- * Identifies which runtime can consume this artifact:
23
- * - cjs_node20: Daytona / local-process (Node.js)
24
- * - esm_workers: Cloudflare Workers (V8 isolate)
25
- */
26
- type PlayArtifactKind = 'cjs_node20' | 'esm_workers';
21
+ /** The only executable Play artifact contract. */
22
+ type PlayArtifactKind = 'cjs_node20';
27
23
  type PlayBundleArtifact = {
28
- codeFormat: 'cjs_module' | 'esm_module';
29
- /** Defaults to cjs_node20 when not present (legacy artifacts). */
24
+ codeFormat: 'cjs_module';
25
+ /** Defaults to cjs_node20 when not present on legacy Node artifacts. */
30
26
  artifactKind?: PlayArtifactKind;
31
27
  entryFile: string;
32
28
  virtualFilename: string;
@@ -70,10 +66,6 @@ type PlayBundlingAdapter = {
70
66
  sdkPackageJson: string;
71
67
  sdkEntryFile: string;
72
68
  sdkTypesEntryFile?: string;
73
- sdkWorkersEntryFile: string;
74
- workersHarnessEntryFile: string;
75
- workersHarnessFilesDir: string;
76
- workersRuntimeFingerprintDirs?: string[];
77
69
  discoverPackagedLocalFiles(filePath: string): Promise<PlayLocalFileDiscoveryResult>;
78
70
  typecheckPlaySource?(input: {
79
71
  sourceCode: string;
@@ -103,14 +95,7 @@ type BundledPlayFileFailure = {
103
95
  type BundledPlayFileResult = BundledPlayFileSuccess | BundledPlayFileFailure;
104
96
  declare function extractDefinedPlayName(sourceCode: string): string | null;
105
97
  type BundlePlayFileOptions = {
106
- /**
107
- * Which artifact to produce. Defaults to `cjs_node20` (Daytona / local-process
108
- * runner). Pass `esm_workers` to produce a Cloudflare Worker bundle that
109
- * combines the play with the Workers harness.
110
- *
111
- * The CLI selects this from the execution profile or an explicit flag. Each
112
- * kind is cached independently on disk.
113
- */
98
+ /** Must be `cjs_node20`; retained as an explicit compile-contract assertion. */
114
99
  target?: PlayArtifactKind$1;
115
100
  exportName?: string;
116
101
  };