deepline 0.1.242 → 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.
- 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 +23 -21
- 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 +39 -74
- package/dist/cli/index.mjs +39 -74
- 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 +24 -22
- package/dist/index.mjs +24 -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.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
|
-
|
|
433
|
-
|
|
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.
|
|
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.
|
|
447
|
-
reason: "
|
|
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.
|
|
452
|
-
reason: "
|
|
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.
|
|
458
|
-
reason: "
|
|
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.
|
|
463
|
-
reason: "
|
|
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.
|
|
469
|
-
reason: "
|
|
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.
|
|
474
|
-
reason: "
|
|
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.
|
|
480
|
-
reason: "
|
|
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.
|
|
485
|
-
reason: "
|
|
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.
|
|
491
|
-
reason: "
|
|
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 =
|
|
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;
|
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
|
-
|
|
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.244",
|
|
365
|
+
apiContract: "2026-07-cjs-absurd-only-play-runtime-hard-cutover",
|
|
364
366
|
supportPolicy: {
|
|
365
|
-
latest: "0.1.
|
|
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.
|
|
377
|
-
reason: "
|
|
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.
|
|
382
|
-
reason: "
|
|
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.
|
|
388
|
-
reason: "
|
|
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.
|
|
393
|
-
reason: "
|
|
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.
|
|
399
|
-
reason: "
|
|
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.
|
|
404
|
-
reason: "
|
|
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.
|
|
410
|
-
reason: "
|
|
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.
|
|
415
|
-
reason: "
|
|
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.
|
|
421
|
-
reason: "
|
|
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 =
|
|
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-
|
|
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
|
};
|