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.
- package/README.md +1 -1
- package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +5 -25
- package/dist/bundling-sources/sdk/src/release.ts +25 -26
- package/dist/bundling-sources/sdk/src/types.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/backend.ts +2 -21
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +5 -6
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +6 -13
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +9 -26
- package/dist/bundling-sources/shared_libs/play-runtime/internal-step-ids.ts +1 -2
- package/dist/bundling-sources/shared_libs/play-runtime/map-row-identity.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +191 -29
- package/dist/bundling-sources/shared_libs/play-runtime/play-latency-trace.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/providers.ts +1 -36
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +2 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/index.ts +0 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1 -12
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-pg-driver-pg.ts +2 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-pg-driver.ts +5 -15
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -21
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +3 -4
- package/dist/bundling-sources/shared_libs/plays/artifact-kind-guard.ts +16 -29
- package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +4 -8
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +21 -712
- package/dist/bundling-sources/shared_libs/plays/bundling/limits.ts +1 -18
- package/dist/cli/index.js +28 -71
- package/dist/cli/index.mjs +28 -71
- package/dist/{compiler-manifest-CYcwzSOJ.d.ts → compiler-manifest-DlE7dnRm.d.mts} +2 -8
- package/dist/{compiler-manifest-CYcwzSOJ.d.mts → compiler-manifest-DlE7dnRm.d.ts} +2 -8
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +23 -22
- package/dist/index.mjs +23 -22
- package/dist/plays/bundle-play-file.d.mts +7 -22
- package/dist/plays/bundle-play-file.d.ts +7 -22
- package/dist/plays/bundle-play-file.mjs +26 -614
- package/package.json +2 -2
- package/dist/bundling-sources/apps/play-runner-workers/src/coordinator-entry.ts +0 -4504
- package/dist/bundling-sources/apps/play-runner-workers/src/dedup-do.ts +0 -1386
- package/dist/bundling-sources/apps/play-runner-workers/src/durable-object-deploy-handoff.ts +0 -30
- package/dist/bundling-sources/apps/play-runner-workers/src/entry.ts +0 -8385
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/README.md +0 -21
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/batching.ts +0 -251
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/coordinator-progress.ts +0 -289
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/csv-rows.ts +0 -85
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/customer-console.ts +0 -23
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/dataset-handles.ts +0 -528
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/harness-receipt-store.ts +0 -229
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/ledger-event-batches.ts +0 -81
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/live-progress.ts +0 -22
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/map-chunk-plan.ts +0 -920
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/map-latency-profile.ts +0 -90
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/output-datasets.ts +0 -475
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/receipts.ts +0 -570
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/result-dataset-persistence.ts +0 -50
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/row-isolation.ts +0 -5
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/run-work-dispatcher.ts +0 -519
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-batch.ts +0 -107
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-dispatch.ts +0 -2541
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-http-errors.ts +0 -7
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/tool-receipts.ts +0 -227
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/work-budget.ts +0 -130
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/worker-platform-budget.ts +0 -39
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime/workflow-preview.ts +0 -26
- package/dist/bundling-sources/apps/play-runner-workers/src/runtime-api-retry.ts +0 -23
- package/dist/bundling-sources/apps/play-runner-workers/src/workflow-instance-create.ts +0 -47
- package/dist/bundling-sources/apps/play-runner-workers/src/workflow-retry-state.ts +0 -167
- package/dist/bundling-sources/apps/play-runner-workers/src/workflow-retry.ts +0 -91
- package/dist/bundling-sources/sdk/src/plays/harness-stub.ts +0 -329
- package/dist/bundling-sources/sdk/src/worker-play-entry.ts +0 -240
- package/dist/bundling-sources/shared_libs/play-runtime/governor/coordinator-rate-state-backend.ts +0 -252
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-pg-driver-neon-serverless.ts +0 -217
package/dist/index.mjs
CHANGED
|
@@ -359,10 +359,11 @@ 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
|
-
|
|
363
|
-
|
|
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.245",
|
|
365
|
+
apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
|
|
364
366
|
supportPolicy: {
|
|
365
|
-
latest: "0.1.243",
|
|
366
367
|
minimumSupported: "0.1.53",
|
|
367
368
|
deprecatedBelow: "0.1.219",
|
|
368
369
|
commandMinimumSupported: [
|
|
@@ -373,52 +374,52 @@ var SDK_RELEASE = {
|
|
|
373
374
|
},
|
|
374
375
|
{
|
|
375
376
|
command: "plays",
|
|
376
|
-
minimumSupported: "0.1.
|
|
377
|
-
reason: "
|
|
377
|
+
minimumSupported: "0.1.241",
|
|
378
|
+
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
379
|
},
|
|
379
380
|
{
|
|
380
381
|
command: "plays run",
|
|
381
|
-
minimumSupported: "0.1.
|
|
382
|
-
reason: "
|
|
382
|
+
minimumSupported: "0.1.241",
|
|
383
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
|
|
383
384
|
},
|
|
384
385
|
{
|
|
385
386
|
command: "run",
|
|
386
387
|
displayCommand: "plays run",
|
|
387
|
-
minimumSupported: "0.1.
|
|
388
|
-
reason: "
|
|
388
|
+
minimumSupported: "0.1.241",
|
|
389
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract."
|
|
389
390
|
},
|
|
390
391
|
{
|
|
391
392
|
command: "plays check",
|
|
392
|
-
minimumSupported: "0.1.
|
|
393
|
-
reason: "
|
|
393
|
+
minimumSupported: "0.1.241",
|
|
394
|
+
reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
|
|
394
395
|
},
|
|
395
396
|
{
|
|
396
397
|
command: "check",
|
|
397
398
|
displayCommand: "plays check",
|
|
398
|
-
minimumSupported: "0.1.
|
|
399
|
-
reason: "
|
|
399
|
+
minimumSupported: "0.1.241",
|
|
400
|
+
reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
|
|
400
401
|
},
|
|
401
402
|
{
|
|
402
403
|
command: "plays publish",
|
|
403
|
-
minimumSupported: "0.1.
|
|
404
|
-
reason: "
|
|
404
|
+
minimumSupported: "0.1.241",
|
|
405
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
405
406
|
},
|
|
406
407
|
{
|
|
407
408
|
command: "publish",
|
|
408
409
|
displayCommand: "plays publish",
|
|
409
|
-
minimumSupported: "0.1.
|
|
410
|
-
reason: "
|
|
410
|
+
minimumSupported: "0.1.241",
|
|
411
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
411
412
|
},
|
|
412
413
|
{
|
|
413
414
|
command: "plays set-live",
|
|
414
|
-
minimumSupported: "0.1.
|
|
415
|
-
reason: "
|
|
415
|
+
minimumSupported: "0.1.241",
|
|
416
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
416
417
|
},
|
|
417
418
|
{
|
|
418
419
|
command: "set-live",
|
|
419
420
|
displayCommand: "plays set-live",
|
|
420
|
-
minimumSupported: "0.1.
|
|
421
|
-
reason: "
|
|
421
|
+
minimumSupported: "0.1.241",
|
|
422
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
422
423
|
},
|
|
423
424
|
{
|
|
424
425
|
command: "runs",
|
|
@@ -1191,7 +1192,7 @@ function createSecretRedactionContext(initialValues = []) {
|
|
|
1191
1192
|
|
|
1192
1193
|
// ../shared_libs/play-runtime/output-size-limits.ts
|
|
1193
1194
|
var encoder = typeof TextEncoder === "undefined" ? null : new TextEncoder();
|
|
1194
|
-
var LEDGER_TERMINAL_RESULT_MAX_BYTES =
|
|
1195
|
+
var LEDGER_TERMINAL_RESULT_MAX_BYTES = 256 * 1024;
|
|
1195
1196
|
var CUSTOMER_OUTPUT_VALUE_MAX_BYTES = 1 * 1024 * 1024;
|
|
1196
1197
|
var CUSTOMER_OUTPUT_TOTAL_MAX_BYTES = 2 * 1024 * 1024;
|
|
1197
1198
|
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-
|
|
2
|
-
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-
|
|
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
|
-
|
|
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'
|
|
29
|
-
/** Defaults to cjs_node20 when not present
|
|
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-
|
|
2
|
-
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-
|
|
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
|
-
|
|
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'
|
|
29
|
-
/** Defaults to cjs_node20 when not present
|
|
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
|
};
|