deepline 0.3.392 → 0.3.393
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/dist/bundling-sources/sdk/src/client.ts +156 -24
- package/dist/bundling-sources/sdk/src/compat.ts +9 -0
- package/dist/bundling-sources/sdk/src/http.ts +5 -1
- package/dist/bundling-sources/sdk/src/index.ts +5 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +182 -6
- package/dist/bundling-sources/sdk/src/release.ts +4 -1
- package/dist/bundling-sources/sdk/src/types.ts +13 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/request-warnings.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +315 -0
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +41 -8
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +418 -44
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +36 -3
- package/dist/bundling-sources/shared_libs/play-runtime/durable-invocation-fence.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +11 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +19 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +158 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +235 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +92 -58
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +30 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1161 -316
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +28 -15
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +24 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +31 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -4
- package/dist/bundling-sources/shared_libs/plays/dataset.ts +172 -79
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +173 -1
- package/dist/cli/{auth-6JSA2ZCW.mjs → auth-5PXHA232.mjs} +4 -4
- package/dist/cli/auth-P3MVDTXM.js +39 -0
- package/dist/cli/{billing-Q5BLQHIU.js → billing-JFB2XLSO.js} +101 -74
- package/dist/cli/{billing-MRRO643H.mjs → billing-Z2N7ZAGM.mjs} +32 -5
- package/dist/cli/{chunk-CVLM3WMJ.js → chunk-2HAD745V.js} +242 -183
- package/dist/cli/{chunk-HGYBEAQP.mjs → chunk-2LGC4EFT.mjs} +3 -3
- package/dist/cli/{chunk-A3APGZFP.mjs → chunk-4PT2VA3A.mjs} +2 -2
- package/dist/cli/{chunk-6DBOU7UH.js → chunk-4XX6443T.js} +176 -87
- package/dist/cli/{chunk-2QLML6G4.mjs → chunk-5KWKZIQR.mjs} +4 -4
- package/dist/cli/{chunk-2G7DXFHI.mjs → chunk-5PRVMXKB.mjs} +27 -2
- package/dist/cli/{chunk-DSWSEHRX.mjs → chunk-6I73X254.mjs} +1 -1
- package/dist/cli/{chunk-ZTACINO5.mjs → chunk-7HR7BGZL.mjs} +13 -3
- package/dist/cli/{chunk-BB3FNYFY.js → chunk-AARX5L4B.js} +2 -2
- package/dist/cli/{chunk-WMS5U6YB.js → chunk-CDFH2DYL.js} +20 -19
- package/dist/cli/{chunk-R3O2CZ4H.mjs → chunk-FQ6VHPW4.mjs} +2 -2
- package/dist/cli/{chunk-MU6M3URX.mjs → chunk-HLEESTCH.mjs} +1 -1
- package/dist/cli/{chunk-Q6EOHNRH.mjs → chunk-JI2B4RZP.mjs} +119 -6
- package/dist/cli/{chunk-2Q3GEFL4.mjs → chunk-KIYU2TGL.mjs} +2 -2
- package/dist/cli/{chunk-Y6VOGHF2.mjs → chunk-KZZC33PY.mjs} +0 -181
- package/dist/cli/{chunk-UCKJQG25.js → chunk-L2SYLGRP.js} +8 -8
- package/dist/cli/{chunk-2GAHHSLB.mjs → chunk-LMMEAMA7.mjs} +3 -2
- package/dist/cli/{chunk-YAZCDBXX.mjs → chunk-LZPCDB7U.mjs} +3 -2
- package/dist/cli/{chunk-RV6ALZIX.js → chunk-M7Y7JYZX.js} +32 -7
- package/dist/cli/{chunk-QGKPTBRR.js → chunk-MS6GUPBB.js} +3 -3
- package/dist/cli/{chunk-4SFPVW7A.js → chunk-OXNOAD6Y.js} +26 -26
- package/dist/cli/{chunk-JOFPQGXW.js → chunk-PTDECJGP.js} +50 -50
- package/dist/cli/{chunk-5O4B6AUN.js → chunk-PWSWAN7Q.js} +25 -2
- package/dist/cli/{chunk-YN6YA7ZZ.mjs → chunk-Q26LUSQ2.mjs} +79 -20
- package/dist/cli/{chunk-3VN4FTE3.js → chunk-RDXFGPJU.js} +1 -182
- package/dist/cli/{chunk-7E66A24V.mjs → chunk-RKMB3N7K.mjs} +25 -2
- package/dist/cli/{chunk-JSLPHFP7.js → chunk-RWHWF5ZJ.js} +3 -2
- package/dist/cli/{chunk-3FV4GBRK.mjs → chunk-STNYIMIV.mjs} +97 -8
- package/dist/cli/chunk-UBKA33KY.mjs +310 -0
- package/dist/cli/{chunk-PAIMOGCM.js → chunk-UHNDVD3P.js} +125 -12
- package/dist/cli/{chunk-24VEN5PQ.mjs → chunk-UOGZUA24.mjs} +179 -17
- package/dist/cli/{chunk-T7OKJ2T6.js → chunk-VIQJIX2P.js} +73 -63
- package/dist/cli/{chunk-RIV2GS5E.js → chunk-VIWE6WRK.js} +627 -465
- package/dist/cli/{chunk-EY7RFC6A.js → chunk-W4WOMXR3.js} +15 -15
- package/dist/cli/chunk-XDVT3GOM.js +310 -0
- package/dist/cli/{chunk-2FQG2HU4.js → chunk-Z3OOZM5L.js} +8 -8
- package/dist/cli/{csv-E4QGUIGI.mjs → csv-KJWZHKCH.mjs} +3 -3
- package/dist/cli/{csv-26U5T24Z.js → csv-P3Z3YE7H.js} +12 -12
- package/dist/cli/{db-JTRJIAQW.mjs → db-NCM4CQIS.mjs} +6 -5
- package/dist/cli/{db-QHBFLMVL.js → db-NUZGJNQC.js} +31 -30
- package/dist/cli/{describe-E3DE3ZK3.mjs → describe-WT6MM2GO.mjs} +17 -16
- package/dist/cli/{describe-FDV2V74F.js → describe-YGSEN5WC.js} +24 -23
- package/dist/cli/{executions-VZYOGVQY.js → executions-PCOLHN7Q.js} +8 -7
- package/dist/cli/{executions-B3GTNPRE.mjs → executions-XS2IPJ4W.mjs} +6 -5
- package/dist/cli/{feedback-CR55FJA2.js → feedback-4MSH7TFU.js} +7 -7
- package/dist/cli/{feedback-4CEBR3OV.mjs → feedback-CCLTS5SV.mjs} +3 -3
- package/dist/cli/{git-NM2PHHZ4.mjs → git-K2DHPMPC.mjs} +4 -4
- package/dist/cli/git-RNM45FX4.js +23 -0
- package/dist/cli/index.js +96 -92
- package/dist/cli/index.mjs +46 -42
- package/dist/cli/{legacy-noops-A7MSW5ND.mjs → legacy-noops-B5S4AR3P.mjs} +4 -4
- package/dist/cli/{legacy-noops-ZUA4YFIH.js → legacy-noops-GPNOPFXV.js} +7 -7
- package/dist/cli/{monitors-NVPRQYP3.mjs → monitors-JLMAIPRG.mjs} +6 -5
- package/dist/cli/{monitors-ZE3TLZ4H.js → monitors-ZAWD7NSN.js} +87 -86
- package/dist/cli/{org-U7A6DV5D.js → org-P2KN4CES.js} +66 -65
- package/dist/cli/{org-KUBILNQV.mjs → org-T3JTHP4G.mjs} +6 -5
- package/dist/cli/{play-HRDXQ4QE.mjs → play-NK6BLRGL.mjs} +11 -10
- package/dist/cli/play-PDXR6JFB.js +158 -0
- package/dist/cli/{providers-OHIWI453.mjs → providers-3NQRA7IT.mjs} +6 -5
- package/dist/cli/{providers-VD6YTVQZ.js → providers-5QRZN3DT.js} +9 -8
- package/dist/cli/{quickstart-UBV2FONF.mjs → quickstart-PIA2JGPV.mjs} +3 -3
- package/dist/cli/{quickstart-ETTCWPA4.js → quickstart-R7NUZGNW.js} +5 -5
- package/dist/cli/run-identity-G257GQED.js +25 -0
- package/dist/cli/run-identity-MRNCEGV2.mjs +25 -0
- package/dist/cli/{search-F44IZRT7.mjs → search-AIDIIGLY.mjs} +7 -6
- package/dist/cli/search-QRWL7MFM.js +27 -0
- package/dist/cli/{secrets-CAEMRORF.js → secrets-BT3PGMWN.js} +15 -14
- package/dist/cli/{secrets-R6XOJZKU.mjs → secrets-OQNHL45O.mjs} +6 -5
- package/dist/cli/{sessions-6GC7OFTT.js → sessions-EYXWOSWK.js} +5 -5
- package/dist/cli/{sessions-RLN6UQS3.mjs → sessions-SF7WJPJP.mjs} +4 -4
- package/dist/cli/{settings-DPNVUAV2.js → settings-BA3GHBOD.js} +76 -75
- package/dist/cli/{settings-KIPAMRPP.mjs → settings-Y57JTFDD.mjs} +9 -8
- package/dist/cli/{setup-TU2F7PU5.mjs → setup-7GR5GBHA.mjs} +6 -6
- package/dist/cli/{setup-DTL3L5SG.js → setup-RERXYC66.js} +41 -41
- package/dist/cli/{skills-UV5MYJ46.mjs → skills-SJWIQAV5.mjs} +4 -4
- package/dist/cli/skills-V7EY75HB.js +28 -0
- package/dist/cli/tools-H5HLBCHH.js +41 -0
- package/dist/cli/{tools-QRRNDCQ7.mjs → tools-ZF3JXPNL.mjs} +10 -9
- package/dist/cli/update-472HA3LT.js +28 -0
- package/dist/cli/{update-4426TF35.mjs → update-FFFYQAOJ.mjs} +6 -6
- package/dist/cli/{workflow-HNLOVISB.js → workflow-SZJVQH4T.js} +17 -16
- package/dist/cli/{workflow-N4U5VLZ3.mjs → workflow-XVFEEGAS.mjs} +7 -6
- package/dist/{client-e6Qh5ZIg.d.mts → client-DU5dtHDy.d.mts} +153 -4
- package/dist/{client-Uxuy-xQ2.d.ts → client-mCE88hC4.d.ts} +153 -4
- package/dist/{compiler-manifest-CY2v8ab0.d.ts → compiler-manifest-DE4RdAiY.d.mts} +61 -1
- package/dist/{compiler-manifest-CY2v8ab0.d.mts → compiler-manifest-DE4RdAiY.d.ts} +61 -1
- package/dist/{index-B9fBZH1g.d.mts → index-BI6nWgaV.d.mts} +1 -1
- package/dist/{index-BZ6uzZJl.d.ts → index-Bi-f7HFT.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +120 -29
- package/dist/index.mjs +111 -20
- package/dist/install-integrity.json +91 -86
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +5 -2
- package/dist/plays/run-request.mjs +4 -1
- package/dist/release.d.mts +4 -1
- package/dist/release.d.ts +4 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-67TAELQL.js +0 -39
- package/dist/cli/git-I5JTK6YU.js +0 -23
- package/dist/cli/play-A2V7YDU7.js +0 -157
- package/dist/cli/search-WWXMBVPH.js +0 -26
- package/dist/cli/skills-SWOSEZLB.js +0 -28
- package/dist/cli/tools-IL2YCDQ6.js +0 -40
- package/dist/cli/update-BERDPEYR.js +0 -28
|
@@ -98,6 +98,7 @@ export interface StoredStaticPipelineV2Branch {
|
|
|
98
98
|
index: number;
|
|
99
99
|
label: string;
|
|
100
100
|
condition?: string;
|
|
101
|
+
inputRequirement?: PlayStaticInputCondition;
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
function dedupeStaticFieldNames(
|
|
@@ -336,7 +337,11 @@ function truncateStaticControlFlowBranchesForStorage(
|
|
|
336
337
|
omitUndefinedProperties({
|
|
337
338
|
...(input.preserveAdditiveMetadata
|
|
338
339
|
? branch
|
|
339
|
-
: {
|
|
340
|
+
: {
|
|
341
|
+
label: branch.label,
|
|
342
|
+
condition: branch.condition,
|
|
343
|
+
inputRequirement: branch.inputRequirement,
|
|
344
|
+
}),
|
|
340
345
|
steps: truncateStaticSubstepsForStorage(
|
|
341
346
|
branch.steps,
|
|
342
347
|
nextStoredSubstepInput(input),
|
|
@@ -882,6 +887,9 @@ export function createStoredStaticPipelineV2(
|
|
|
882
887
|
typeof branchRecord.condition === 'string'
|
|
883
888
|
? branchRecord.condition
|
|
884
889
|
: undefined,
|
|
890
|
+
inputRequirement: parsePlayStaticInputCondition(
|
|
891
|
+
branchRecord.inputRequirement,
|
|
892
|
+
),
|
|
885
893
|
}),
|
|
886
894
|
);
|
|
887
895
|
if (Array.isArray(branchRecord.steps)) {
|
|
@@ -1043,6 +1051,9 @@ export function hydrateStoredStaticPipelineV2(
|
|
|
1043
1051
|
label: branch.label,
|
|
1044
1052
|
condition:
|
|
1045
1053
|
typeof branch.condition === 'string' ? branch.condition : undefined,
|
|
1054
|
+
inputRequirement: parsePlayStaticInputCondition(
|
|
1055
|
+
branch.inputRequirement,
|
|
1056
|
+
),
|
|
1046
1057
|
steps: [] as PlayStaticSubstep[],
|
|
1047
1058
|
}),
|
|
1048
1059
|
);
|
|
@@ -1233,10 +1244,14 @@ export interface PlayStaticSourceRange {
|
|
|
1233
1244
|
}
|
|
1234
1245
|
|
|
1235
1246
|
type PlayStaticSubstepMetadata = {
|
|
1247
|
+
/** A source helper received execution context but its work could not be resolved. */
|
|
1248
|
+
unresolvedProviderWork?: boolean;
|
|
1236
1249
|
/** This call is syntactically inside Promise.all/allSettled/race/any. */
|
|
1237
1250
|
concurrent?: boolean;
|
|
1238
1251
|
conditional?: boolean;
|
|
1239
1252
|
disabled?: boolean;
|
|
1253
|
+
/** Source-bound input-only gate; absent means reachability is unknown. */
|
|
1254
|
+
inputRequirement?: PlayStaticInputCondition;
|
|
1240
1255
|
/**
|
|
1241
1256
|
* Where this substep was REACHED FROM, when the extractor resolved it by
|
|
1242
1257
|
* following a call into another function — the range of the call expression
|
|
@@ -1267,10 +1282,167 @@ export type PlayStaticControlFlowBranch = {
|
|
|
1267
1282
|
label: string;
|
|
1268
1283
|
/** The arm's condition source text, when it has one (omitted for `else`). */
|
|
1269
1284
|
condition?: string;
|
|
1285
|
+
inputRequirement?: PlayStaticInputCondition;
|
|
1270
1286
|
/** Static work in this arm. Empty for log/throw/return-only arms. */
|
|
1271
1287
|
steps: PlayStaticSubstep[];
|
|
1272
1288
|
};
|
|
1273
1289
|
|
|
1290
|
+
/** Declarative subset of input conditions; never evaluates authored JavaScript. */
|
|
1291
|
+
export type PlayStaticInputValue =
|
|
1292
|
+
| { kind: 'input'; path: string[] }
|
|
1293
|
+
| { kind: 'literal'; value: string | number | boolean | null };
|
|
1294
|
+
export type PlayStaticInputCondition =
|
|
1295
|
+
| { kind: 'truthy'; value: PlayStaticInputValue }
|
|
1296
|
+
| { kind: 'not'; condition: PlayStaticInputCondition }
|
|
1297
|
+
| {
|
|
1298
|
+
kind: 'and' | 'or';
|
|
1299
|
+
left: PlayStaticInputCondition;
|
|
1300
|
+
right: PlayStaticInputCondition;
|
|
1301
|
+
}
|
|
1302
|
+
| { kind: 'equals'; left: PlayStaticInputValue; right: PlayStaticInputValue }
|
|
1303
|
+
| {
|
|
1304
|
+
kind: 'includes';
|
|
1305
|
+
value: PlayStaticInputValue;
|
|
1306
|
+
item: PlayStaticInputValue;
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
function parsePlayStaticInputCondition(
|
|
1310
|
+
value: unknown,
|
|
1311
|
+
): PlayStaticInputCondition | undefined {
|
|
1312
|
+
if (value === undefined) return undefined;
|
|
1313
|
+
const active = new WeakSet<object>();
|
|
1314
|
+
const operand = (value: unknown): PlayStaticInputValue => {
|
|
1315
|
+
const record = asStaticRecord(value);
|
|
1316
|
+
if (
|
|
1317
|
+
record?.kind === 'input' &&
|
|
1318
|
+
Array.isArray(record.path) &&
|
|
1319
|
+
record.path.every((key) => typeof key === 'string')
|
|
1320
|
+
)
|
|
1321
|
+
return { ...record, kind: 'input', path: record.path };
|
|
1322
|
+
if (record?.kind === 'literal') {
|
|
1323
|
+
const literal = record.value;
|
|
1324
|
+
if (literal === null) return { ...record, kind: 'literal', value: null };
|
|
1325
|
+
if (
|
|
1326
|
+
typeof literal === 'string' ||
|
|
1327
|
+
typeof literal === 'boolean' ||
|
|
1328
|
+
(typeof literal === 'number' && Number.isFinite(literal))
|
|
1329
|
+
)
|
|
1330
|
+
return { ...record, kind: 'literal', value: literal };
|
|
1331
|
+
}
|
|
1332
|
+
return invalidStoredStaticPipelineV2('invalid input requirement value');
|
|
1333
|
+
};
|
|
1334
|
+
const condition = (value: unknown): PlayStaticInputCondition => {
|
|
1335
|
+
const record = asStaticRecord(value);
|
|
1336
|
+
if (!record || active.has(record))
|
|
1337
|
+
return invalidStoredStaticPipelineV2(
|
|
1338
|
+
'invalid input requirement condition',
|
|
1339
|
+
);
|
|
1340
|
+
active.add(record);
|
|
1341
|
+
try {
|
|
1342
|
+
switch (record.kind) {
|
|
1343
|
+
case 'truthy':
|
|
1344
|
+
return { ...record, kind: 'truthy', value: operand(record.value) };
|
|
1345
|
+
case 'not':
|
|
1346
|
+
return {
|
|
1347
|
+
...record,
|
|
1348
|
+
kind: 'not',
|
|
1349
|
+
condition: condition(record.condition),
|
|
1350
|
+
};
|
|
1351
|
+
case 'and':
|
|
1352
|
+
case 'or':
|
|
1353
|
+
return {
|
|
1354
|
+
...record,
|
|
1355
|
+
kind: record.kind,
|
|
1356
|
+
left: condition(record.left),
|
|
1357
|
+
right: condition(record.right),
|
|
1358
|
+
};
|
|
1359
|
+
case 'equals':
|
|
1360
|
+
return {
|
|
1361
|
+
...record,
|
|
1362
|
+
kind: 'equals',
|
|
1363
|
+
left: operand(record.left),
|
|
1364
|
+
right: operand(record.right),
|
|
1365
|
+
};
|
|
1366
|
+
case 'includes':
|
|
1367
|
+
return {
|
|
1368
|
+
...record,
|
|
1369
|
+
kind: 'includes',
|
|
1370
|
+
value: operand(record.value),
|
|
1371
|
+
item: operand(record.item),
|
|
1372
|
+
};
|
|
1373
|
+
default:
|
|
1374
|
+
return invalidStoredStaticPipelineV2(
|
|
1375
|
+
'invalid input requirement condition',
|
|
1376
|
+
);
|
|
1377
|
+
}
|
|
1378
|
+
} finally {
|
|
1379
|
+
active.delete(record);
|
|
1380
|
+
}
|
|
1381
|
+
};
|
|
1382
|
+
return condition(value);
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
export function evaluatePlayStaticInputCondition(
|
|
1386
|
+
condition: PlayStaticInputCondition,
|
|
1387
|
+
input: Record<string, unknown>,
|
|
1388
|
+
): boolean | null {
|
|
1389
|
+
const read = (value: PlayStaticInputValue): unknown => {
|
|
1390
|
+
if (value.kind === 'literal') return value.value;
|
|
1391
|
+
let current: unknown = input;
|
|
1392
|
+
for (const key of value.path) {
|
|
1393
|
+
if (
|
|
1394
|
+
!current ||
|
|
1395
|
+
typeof current !== 'object' ||
|
|
1396
|
+
!Object.hasOwn(current, key)
|
|
1397
|
+
)
|
|
1398
|
+
return undefined;
|
|
1399
|
+
current = (current as Record<string, unknown>)[key];
|
|
1400
|
+
}
|
|
1401
|
+
return current;
|
|
1402
|
+
};
|
|
1403
|
+
const evaluate = (value: PlayStaticInputCondition): boolean | null => {
|
|
1404
|
+
switch (value.kind) {
|
|
1405
|
+
case 'truthy':
|
|
1406
|
+
return Boolean(read(value.value));
|
|
1407
|
+
case 'not': {
|
|
1408
|
+
const result = evaluate(value.condition);
|
|
1409
|
+
return result === null ? null : !result;
|
|
1410
|
+
}
|
|
1411
|
+
case 'equals':
|
|
1412
|
+
return read(value.left) === read(value.right);
|
|
1413
|
+
case 'includes': {
|
|
1414
|
+
const collection = read(value.value);
|
|
1415
|
+
const item = read(value.item);
|
|
1416
|
+
if (Array.isArray(collection)) return collection.includes(item);
|
|
1417
|
+
if (typeof collection === 'string' && typeof item === 'string')
|
|
1418
|
+
return collection.includes(item);
|
|
1419
|
+
return null;
|
|
1420
|
+
}
|
|
1421
|
+
case 'and': {
|
|
1422
|
+
const left = evaluate(value.left);
|
|
1423
|
+
const right = evaluate(value.right);
|
|
1424
|
+
return left === false || right === false
|
|
1425
|
+
? false
|
|
1426
|
+
: left === true && right === true
|
|
1427
|
+
? true
|
|
1428
|
+
: null;
|
|
1429
|
+
}
|
|
1430
|
+
case 'or': {
|
|
1431
|
+
const left = evaluate(value.left);
|
|
1432
|
+
const right = evaluate(value.right);
|
|
1433
|
+
return left === true || right === true
|
|
1434
|
+
? true
|
|
1435
|
+
: left === false && right === false
|
|
1436
|
+
? false
|
|
1437
|
+
: null;
|
|
1438
|
+
}
|
|
1439
|
+
default:
|
|
1440
|
+
return null;
|
|
1441
|
+
}
|
|
1442
|
+
};
|
|
1443
|
+
return evaluate(condition);
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1274
1446
|
export type PlayStaticSubstep = PlayStaticSubstepMetadata &
|
|
1275
1447
|
(
|
|
1276
1448
|
| {
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
reportSetupCompleted,
|
|
14
14
|
resolvePendingAuthClaimForResume,
|
|
15
15
|
statusBannerLine
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-FQ6VHPW4.mjs";
|
|
17
|
+
import "./chunk-5PRVMXKB.mjs";
|
|
18
|
+
import "./chunk-LMMEAMA7.mjs";
|
|
19
19
|
import "./chunk-DLIRSHV6.mjs";
|
|
20
20
|
import "./chunk-NXGCO4JB.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-LZPCDB7U.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
24
24
|
export {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkPTDECJGPjs = require('./chunk-PTDECJGP.js');
|
|
17
|
+
require('./chunk-M7Y7JYZX.js');
|
|
18
|
+
require('./chunk-CDFH2DYL.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-7P5AA3SN.js');
|
|
21
|
+
require('./chunk-RWHWF5ZJ.js');
|
|
22
|
+
require('./chunk-OG64RBAC.js');
|
|
23
|
+
require('./chunk-COGTRVWW.js');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunkPTDECJGPjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkPTDECJGPjs.authStatusLine; exports.clearPendingClaim = _chunkPTDECJGPjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkPTDECJGPjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkPTDECJGPjs.handleRegister; exports.handleStatus = _chunkPTDECJGPjs.handleStatus; exports.handleWait = _chunkPTDECJGPjs.handleWait; exports.httpJson = _chunkPTDECJGPjs.httpJson; exports.readPendingAuthClaim = _chunkPTDECJGPjs.readPendingAuthClaim; exports.readStatusBanner = _chunkPTDECJGPjs.readStatusBanner; exports.registerAuthCommands = _chunkPTDECJGPjs.registerAuthCommands; exports.reportSetupCompleted = _chunkPTDECJGPjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkPTDECJGPjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkPTDECJGPjs.statusBannerLine;
|