@cimplify/cli 0.16.0 → 0.17.1
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/{add-SXC6RUPQ.mjs → add-C3DPTVH3.mjs} +9 -9
- package/dist/{add-XQVQLD3F.mjs → add-JX2GXWXU.mjs} +3 -3
- package/dist/{ai-NQH5L4I6.mjs → ai-HUZTVJIQ.mjs} +9 -9
- package/dist/{assets-FZGVOQXH.mjs → assets-MPESJSUV.mjs} +3 -3
- package/dist/{auth-step-up-67LCPDNL.mjs → auth-step-up-VJAFGSW6.mjs} +4 -4
- package/dist/{build-J4ZUIOPX.mjs → build-E7RRQWVF.mjs} +21 -30
- package/dist/{cancel-VGJHZJ4J.mjs → cancel-UMKR274A.mjs} +3 -3
- package/dist/{capture-RAJ2B3BH.mjs → capture-TK4NIUYM.mjs} +19 -19
- package/dist/{chunk-DYWUPHV3.mjs → chunk-3JOJZ2MK.mjs} +2 -2
- package/dist/{chunk-LNMITJ4Z.mjs → chunk-3LJG22FS.mjs} +4 -4
- package/dist/{chunk-5HP2INMY.mjs → chunk-454RQ6NR.mjs} +5 -22
- package/dist/{chunk-54J3XR4T.mjs → chunk-6CQMRZ2W.mjs} +1 -1
- package/dist/{chunk-7JR6JCFF.mjs → chunk-6KKLF5KG.mjs} +4 -4
- package/dist/{chunk-NY4YT7O6.mjs → chunk-74QZQSCL.mjs} +2 -2
- package/dist/{chunk-AKACUJ3W.mjs → chunk-BGM7CH5G.mjs} +1 -1
- package/dist/{chunk-CPBESPWK.mjs → chunk-BTNVYAC4.mjs} +7 -26
- package/dist/{chunk-SAXGWS2K.mjs → chunk-ECGDRU56.mjs} +1 -1
- package/dist/{chunk-EDZSOL5O.mjs → chunk-EOOOXVHR.mjs} +1 -1
- package/dist/{chunk-TT4YI33G.mjs → chunk-GGPN4QYQ.mjs} +1 -1
- package/dist/{chunk-T4MW3PD4.mjs → chunk-HQPZQIWW.mjs} +1 -1
- package/dist/{chunk-KOD4GBQ5.mjs → chunk-I7GEHLDD.mjs} +10 -2
- package/dist/{chunk-JEVSFNPT.mjs → chunk-ITDAICBY.mjs} +6 -6
- package/dist/{chunk-SCKQ4XSD.mjs → chunk-JNCEKW2Y.mjs} +2 -2
- package/dist/{chunk-TYV2SVFN.mjs → chunk-JTYVGORV.mjs} +4 -4
- package/dist/{chunk-MEM3MDV4.mjs → chunk-LJDIQ4PF.mjs} +8 -8
- package/dist/{chunk-SS4JTMIV.mjs → chunk-LOH7C6ZO.mjs} +16 -8
- package/dist/{chunk-RP66A52P.mjs → chunk-MJMRIMR7.mjs} +3 -3
- package/dist/{chunk-ZUCDXRFI.mjs → chunk-N2WZJX5P.mjs} +3 -25
- package/dist/{chunk-SF44L2OD.mjs → chunk-NEB372WD.mjs} +1 -1
- package/dist/{chunk-7PQL7E7K.mjs → chunk-OPX7KPOU.mjs} +3 -3
- package/dist/{chunk-KMHORI4Y.mjs → chunk-PHUBMRAS.mjs} +6 -21
- package/dist/{chunk-EAV2P4N3.mjs → chunk-PQBALZUH.mjs} +4 -4
- package/dist/{chunk-XL54SQJ3.mjs → chunk-PVW5D5AW.mjs} +3 -3
- package/dist/{chunk-Q6CF4C3E.mjs → chunk-QQWYQ2HS.mjs} +5 -5
- package/dist/{chunk-G2ZEFSQJ.mjs → chunk-QVR6V6QP.mjs} +4 -4
- package/dist/{chunk-KNPYBZ6B.mjs → chunk-SZXO6YSX.mjs} +1 -1
- package/dist/{chunk-VSA44UKR.mjs → chunk-TYR4Q37L.mjs} +6 -6
- package/dist/{chunk-EOO4UOQD.mjs → chunk-V3R2NYQR.mjs} +1 -1
- package/dist/{chunk-I4HNHPEM.mjs → chunk-XASDB7YS.mjs} +1 -1
- package/dist/{chunk-CLQYPTJ2.mjs → chunk-XBQ4LO2N.mjs} +1 -1
- package/dist/{chunk-BYNE553A.mjs → chunk-XF3MGADK.mjs} +15 -14
- package/dist/{chunk-EGQIPYUN.mjs → chunk-XZG3DTXV.mjs} +5 -5
- package/dist/{chunk-47ZXSY47.mjs → chunk-Y4YGR2NY.mjs} +2 -2
- package/dist/{chunk-CNZAOVSK.mjs → chunk-ZG7NJLXN.mjs} +2 -2
- package/dist/{create-4S2EAUR3.mjs → create-3TGG7B3X.mjs} +5 -5
- package/dist/{credits-NJOAOPPW.mjs → credits-MEG7V5DI.mjs} +7 -7
- package/dist/{deploy-26Y4UGZZ.mjs → deploy-CNRORHJ7.mjs} +9 -9
- package/dist/dev-RXSBY7U4.mjs +8 -0
- package/dist/{dev-MOYURRWQ.mjs → dev-YLYC6B7R.mjs} +17 -17
- package/dist/dispatcher.mjs +54 -54
- package/dist/{doctor-E6ETD2GJ.mjs → doctor-SRXVQ4GT.mjs} +8 -8
- package/dist/{domains-LOTQMVOR.mjs → domains-JIHFKDWR.mjs} +4 -4
- package/dist/engine-runtime-fetch-QVKJVC3W.mjs +10 -0
- package/dist/{env-3PDFC5XF.mjs → env-LJ3DCAA5.mjs} +5 -5
- package/dist/env-R72AHBT2.mjs +19 -0
- package/dist/{explain-K5QEVWCD.mjs → explain-QHD4UZTB.mjs} +2 -2
- package/dist/{inspect-SJ4WBAXO.mjs → inspect-PYLYN45K.mjs} +18 -18
- package/dist/{inspect-Q3E2DHYY.mjs → inspect-ZOLZHNSZ.mjs} +27 -12
- package/dist/introspect-QJNR3YXJ.mjs +9 -0
- package/dist/{kernel-DEGWMHFL.mjs → kernel-IC4ZC54Z.mjs} +7 -7
- package/dist/{keys-W5SN3DPK.mjs → keys-WKOQ4KQE.mjs} +12 -12
- package/dist/{lines-XGJYTQ7P.mjs → lines-I6ZB2IOU.mjs} +8 -8
- package/dist/{link-NKUAVNM2.mjs → link-TE2FUX74.mjs} +4 -4
- package/dist/{lint-G4YPQSSO.mjs → lint-735IPMC6.mjs} +1 -1
- package/dist/{list-TDR7K2JB.mjs → list-CHYY2P4T.mjs} +6 -10
- package/dist/{lock-EJPW2LM3.mjs → lock-XVR3RRZ6.mjs} +7 -7
- package/dist/{login-AYLU7JU7.mjs → login-LW7CHZDZ.mjs} +5 -5
- package/dist/{logout-3M6VMHLH.mjs → logout-6U6OP5DM.mjs} +2 -2
- package/dist/{logs-4EL5SOXN.mjs → logs-HKH4H6PT.mjs} +3 -3
- package/dist/{logs-4QQGG2XY.mjs → logs-SCQC5HNO.mjs} +10 -10
- package/dist/{mcp-4R2R6E5M.mjs → mcp-CKGZK2BS.mjs} +7 -7
- package/dist/{mock-AK24GSP2.mjs → mock-5H3CVPHC.mjs} +1 -1
- package/dist/{outdated-JEKCVLTG.mjs → outdated-T7QW6F3Z.mjs} +9 -9
- package/dist/{port-SBZ7X3EH.mjs → port-24R7ZNP4.mjs} +10 -10
- package/dist/{projects-7JKTC5WJ.mjs → projects-HYITVEXS.mjs} +4 -4
- package/dist/{publish-QQCX47HK.mjs → publish-DZRR5A5X.mjs} +12 -12
- package/dist/{remix-NLLYD3BI.mjs → remix-4HVXRIEB.mjs} +1 -1
- package/dist/repo-FG3CMZQS.mjs +9 -0
- package/dist/{rollback-2WQ2CW7T.mjs → rollback-H7Q4XYGX.mjs} +13 -13
- package/dist/{rollback-ZGU32HGT.mjs → rollback-OM64O67F.mjs} +4 -4
- package/dist/{scene-HXARHUM7.mjs → scene-QTHT3ZPL.mjs} +4 -4
- package/dist/{status-C3ZSLZ7Q.mjs → status-5D4RR3MM.mjs} +3 -3
- package/dist/status-AKI6E3JK.mjs +18 -0
- package/dist/{test-ZPBWV4VX.mjs → test-W6MURUGZ.mjs} +21 -21
- package/dist/{testers-A3LMXOJJ.mjs → testers-EI32JB5F.mjs} +10 -10
- package/dist/{unlink-4G4FE4RJ.mjs → unlink-BND47IWW.mjs} +2 -2
- package/dist/{update-GHKKM5FS.mjs → update-EFL3OF44.mjs} +3 -3
- package/dist/{whoami-3QQN6G2A.mjs → whoami-WHLGCVRC.mjs} +3 -3
- package/dist/{workshop-CD74D2LK.mjs → workshop-F2T4IDOU.mjs} +4 -4
- package/package.json +2 -2
- package/templates/storefront-auto/package.json +1 -1
- package/templates/storefront-bakery/package.json +1 -1
- package/templates/storefront-fashion/package.json +1 -1
- package/templates/storefront-grocery/package.json +1 -1
- package/templates/storefront-pharmacy/package.json +1 -1
- package/templates/storefront-restaurant/package.json +1 -1
- package/templates/storefront-retail/package.json +1 -1
- package/templates/storefront-services/package.json +1 -1
- package/dist/dev-WL43Q7VD.mjs +0 -8
- package/dist/engine-runtime-fetch-CIE7S7PB.mjs +0 -10
- package/dist/env-MOTYOPM5.mjs +0 -19
- package/dist/introspect-7F34YN5V.mjs +0 -9
- package/dist/repo-Z4G4EW3N.mjs +0 -9
- package/dist/status-WEQOC25K.mjs +0 -18
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { contentRemoteFromEnv } from './chunk-
|
|
3
|
-
import { contentDirectory, parseLibraryVersion, variantFor, richerVariants, requireInteractiveProject } from './chunk-
|
|
2
|
+
import { contentRemoteFromEnv } from './chunk-MJMRIMR7.mjs';
|
|
3
|
+
import { contentDirectory, parseLibraryVersion, variantFor, richerVariants, requireInteractiveProject } from './chunk-BTNVYAC4.mjs';
|
|
4
4
|
import './chunk-VHK7WBO3.mjs';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-454RQ6NR.mjs';
|
|
6
6
|
import './chunk-JKECUAAV.mjs';
|
|
7
|
-
import { isItemReference, MANIFEST_FILE, parseManifest, LOCKFILE, parseLockfile, currentLockfile, serializeLockfile, withContent } from './chunk-
|
|
7
|
+
import { isItemReference, MANIFEST_FILE, parseManifest, LOCKFILE, parseLockfile, currentLockfile, serializeLockfile, withContent } from './chunk-HQPZQIWW.mjs';
|
|
8
8
|
import './chunk-KQNZKV6E.mjs';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-N2WZJX5P.mjs';
|
|
10
10
|
import './chunk-EYEMPIMP.mjs';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-BGM7CH5G.mjs';
|
|
12
12
|
import { sha256 } from './chunk-25ZPFHLF.mjs';
|
|
13
13
|
import './chunk-SGT5IJVW.mjs';
|
|
14
14
|
import { parseArgs, flagString } from './chunk-XQAHREKO.mjs';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import { CliError, CLI_ERROR_CODE, info, dim, success, result } from './chunk-
|
|
15
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
16
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
17
|
+
import { CliError, CLI_ERROR_CODE, info, dim, success, result } from './chunk-I7GEHLDD.mjs';
|
|
18
18
|
import { promises, existsSync } from 'fs';
|
|
19
19
|
import path from 'path';
|
|
20
20
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { promptYesNo } from './chunk-
|
|
3
|
-
import { REGISTRY_INDEX, REGISTRY } from './chunk-
|
|
2
|
+
import { promptYesNo } from './chunk-XASDB7YS.mjs';
|
|
3
|
+
import { REGISTRY_INDEX, REGISTRY } from './chunk-LJDIQ4PF.mjs';
|
|
4
4
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
5
|
-
import { CliError, CLI_ERROR_CODE, info, bold, dim, success, result, yellow } from './chunk-
|
|
5
|
+
import { CliError, CLI_ERROR_CODE, info, bold, dim, success, result, yellow } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
import { mkdirSync, existsSync, writeFileSync } from 'fs';
|
|
7
7
|
import { resolve, join, dirname } from 'path';
|
|
8
8
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { run as default, describeEvent, describeTurnLines, reportOutcome } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
2
|
+
export { run as default, describeEvent, describeTurnLines, reportOutcome } from './chunk-OPX7KPOU.mjs';
|
|
3
|
+
import './chunk-74QZQSCL.mjs';
|
|
4
|
+
import './chunk-BTNVYAC4.mjs';
|
|
5
5
|
import './chunk-VHK7WBO3.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-454RQ6NR.mjs';
|
|
7
7
|
import './chunk-JKECUAAV.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-HQPZQIWW.mjs';
|
|
9
9
|
import './chunk-KQNZKV6E.mjs';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-N2WZJX5P.mjs';
|
|
11
11
|
import './chunk-EYEMPIMP.mjs';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-BGM7CH5G.mjs';
|
|
13
13
|
import './chunk-25ZPFHLF.mjs';
|
|
14
14
|
import './chunk-SGT5IJVW.mjs';
|
|
15
15
|
import './chunk-XQAHREKO.mjs';
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
16
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
17
|
+
import './chunk-I7GEHLDD.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
3
|
-
import { ApiClient } from './chunk-
|
|
4
|
-
import { readAuth } from './chunk-
|
|
5
|
-
import { CliError, CLI_ERROR_CODE, step, yellow, dim, success, info, result, bold, green } from './chunk-
|
|
3
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
4
|
+
import { readAuth } from './chunk-GGPN4QYQ.mjs';
|
|
5
|
+
import { CliError, CLI_ERROR_CODE, step, yellow, dim, success, info, result, bold, green } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { promises } from 'fs';
|
|
8
8
|
import path from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { startLoopbackServer, generateState, generatePkcePair, openBrowser } from './chunk-
|
|
2
|
+
import { startLoopbackServer, generateState, generatePkcePair, openBrowser } from './chunk-V3R2NYQR.mjs';
|
|
3
3
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
4
|
-
import { resolveBaseUrl, ApiClient } from './chunk-
|
|
5
|
-
import { readAuth, writeStepUp } from './chunk-
|
|
6
|
-
import { isJsonMode, CliError, CLI_ERROR_CODE, step, info, dim, success, result } from './chunk-
|
|
4
|
+
import { resolveBaseUrl, ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
5
|
+
import { readAuth, writeStepUp } from './chunk-GGPN4QYQ.mjs';
|
|
6
|
+
import { isJsonMode, CliError, CLI_ERROR_CODE, step, info, dim, success, result } from './chunk-I7GEHLDD.mjs';
|
|
7
7
|
|
|
8
8
|
// src/commands/auth-step-up.ts
|
|
9
9
|
var FLAG_NO_BROWSER = "no-browser";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { frameGates, browserRequired, economyGates } from './chunk-
|
|
3
|
-
import { writeBuildOutput, buildReport, locateChromium, startDevServer, HARDWARE_GPU_ARGS, BROWSER_ARGS, codeLogArgs, warmBrowser, measureCanvas, gateMisses, gateNotices, canvasMeasurements, softwareRenderer, measureLaunches, HOLD_PARAM, SILENT_PARAM } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import { readSourceSet, bakerFor, locateAudioPreviewer, buildInteractive, progressiveFromEnv, partsFromEnv, directoryContent, pinnedHermes, formatBytes, withBoot, BOOT_FORMAT_VERSION, MODULE_INDEX_PATH, splitModuleIndex, MODULE_MORE_PATH, requireInteractiveProject, workPath, PART_PATH_SEPARATOR } from './chunk-
|
|
2
|
+
import { frameGates, browserRequired, economyGates } from './chunk-PHUBMRAS.mjs';
|
|
3
|
+
import { writeBuildOutput, buildReport, locateChromium, startDevServer, HARDWARE_GPU_ARGS, BROWSER_ARGS, codeLogArgs, warmBrowser, measureCanvas, gateMisses, gateNotices, canvasMeasurements, softwareRenderer, measureLaunches, HOLD_PARAM, SILENT_PARAM } from './chunk-XF3MGADK.mjs';
|
|
4
|
+
import './chunk-74QZQSCL.mjs';
|
|
5
|
+
import './chunk-NEB372WD.mjs';
|
|
6
|
+
import './chunk-TYR4Q37L.mjs';
|
|
7
|
+
import './chunk-XZG3DTXV.mjs';
|
|
8
|
+
import './chunk-JNCEKW2Y.mjs';
|
|
9
|
+
import { readSourceSet, bakerFor, locateAudioPreviewer, buildInteractive, progressiveFromEnv, partsFromEnv, directoryContent, pinnedHermes, formatBytes, withBoot, BOOT_FORMAT_VERSION, MODULE_INDEX_PATH, splitModuleIndex, MODULE_MORE_PATH, requireInteractiveProject, workPath, PART_PATH_SEPARATOR } from './chunk-BTNVYAC4.mjs';
|
|
10
10
|
import { sceneCompilerFromFlag } from './chunk-VHK7WBO3.mjs';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-454RQ6NR.mjs';
|
|
12
12
|
import './chunk-JKECUAAV.mjs';
|
|
13
|
-
import { isEngineGame } from './chunk-
|
|
13
|
+
import { isEngineGame } from './chunk-HQPZQIWW.mjs';
|
|
14
14
|
import './chunk-KQNZKV6E.mjs';
|
|
15
|
-
import { refreshEngineRuntime } from './chunk-
|
|
16
|
-
import { locateToolchain } from './chunk-
|
|
15
|
+
import { refreshEngineRuntime } from './chunk-QVR6V6QP.mjs';
|
|
16
|
+
import { locateToolchain } from './chunk-N2WZJX5P.mjs';
|
|
17
17
|
import './chunk-EYEMPIMP.mjs';
|
|
18
|
-
import { approvedWasm, EMPTY_WASM_REGISTRY } from './chunk-
|
|
18
|
+
import { approvedWasm, EMPTY_WASM_REGISTRY } from './chunk-BGM7CH5G.mjs';
|
|
19
19
|
import './chunk-25ZPFHLF.mjs';
|
|
20
20
|
import { formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
21
21
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import { info, dim, failure, CliError, CLI_ERROR_CODE, success, bold, result } from './chunk-
|
|
22
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
23
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
24
|
+
import { info, dim, failure, CliError, CLI_ERROR_CODE, success, bold, result } from './chunk-I7GEHLDD.mjs';
|
|
25
25
|
import fs from 'fs/promises';
|
|
26
26
|
import path2 from 'path';
|
|
27
|
-
import { LUAU_SCRIPTS_GROUP, isEngineRestGroup } from '@cimplify/sdk/interactives';
|
|
28
27
|
import { declareEngineHeap, localSession, WebHost, workerEngines } from '@cimplify/sdk/interactives/web';
|
|
28
|
+
import { LUAU_SCRIPTS_GROUP } from '@cimplify/sdk/interactives';
|
|
29
29
|
import { mkdtempSync, rmSync } from 'fs';
|
|
30
30
|
import { tmpdir } from 'os';
|
|
31
31
|
|
|
@@ -70,7 +70,7 @@ function packageRefs(pkg) {
|
|
|
70
70
|
for (const file of group.files) {
|
|
71
71
|
if (seen.has(file.chunk)) continue;
|
|
72
72
|
seen.add(file.chunk);
|
|
73
|
-
chunks.push({ digest: file.chunk, before_play: group.before_play, asset_group: group.name, size: file.bytes
|
|
73
|
+
chunks.push({ digest: file.chunk, before_play: group.before_play, asset_group: group.name, size: file.bytes });
|
|
74
74
|
}
|
|
75
75
|
if (ordinal !== CODE_GROUP_ORDINAL) return;
|
|
76
76
|
for (const module of pkg.runtime) {
|
|
@@ -144,8 +144,6 @@ var STACK_FRAMES = 6;
|
|
|
144
144
|
var URGENT_PRIORITY = 0;
|
|
145
145
|
var PREFETCH_KIND = 2;
|
|
146
146
|
var PIPELINE_KIND = 3;
|
|
147
|
-
var DEFERRED_KIND = 5;
|
|
148
|
-
var DEFERRED_PREFIX = "deferred:";
|
|
149
147
|
var PIPELINE_PREFIX = "pipeline:";
|
|
150
148
|
var CHUNK_KIND = 4;
|
|
151
149
|
var CHUNK_PREFIX = "chunk:";
|
|
@@ -190,7 +188,7 @@ function describe2(fault) {
|
|
|
190
188
|
var HOST_ENGINE_PREFIXES = ["engine:", "threads:"];
|
|
191
189
|
var RECORD_ORDER = ["mid", "low", "high"];
|
|
192
190
|
function hostSpecific(group) {
|
|
193
|
-
return
|
|
191
|
+
return HOST_ENGINE_PREFIXES.some((prefix) => group.startsWith(prefix));
|
|
194
192
|
}
|
|
195
193
|
function touched(touch) {
|
|
196
194
|
if (touch.digest === null || touch.group === null || hostSpecific(touch.group)) return null;
|
|
@@ -272,7 +270,6 @@ async function recordBoot(result4, tier = "mid", guest = import.meta.resolve(REC
|
|
|
272
270
|
const seen = /* @__PURE__ */ new Set();
|
|
273
271
|
let frames = 0;
|
|
274
272
|
let heapPeak = 0;
|
|
275
|
-
const deferredHits = [];
|
|
276
273
|
let started = false;
|
|
277
274
|
let drawn = false;
|
|
278
275
|
let readyFrame = null;
|
|
@@ -323,10 +320,6 @@ async function recordBoot(result4, tier = "mid", guest = import.meta.resolve(REC
|
|
|
323
320
|
pipelines.push({ key: touch.path.slice(PIPELINE_PREFIX.length), frame: mark.frame });
|
|
324
321
|
continue;
|
|
325
322
|
}
|
|
326
|
-
if (touch.kind === DEFERRED_KIND) {
|
|
327
|
-
deferredHits.push({ frame: mark.frame, total: Number(touch.path.slice(DEFERRED_PREFIX.length)) });
|
|
328
|
-
continue;
|
|
329
|
-
}
|
|
330
323
|
const part = touch.kind === CHUNK_KIND ? digests.get(touch.path.slice(CHUNK_PREFIX.length)) : paths.get(touch.path);
|
|
331
324
|
const key = part?.digest ?? touch.path;
|
|
332
325
|
if (seen.has(key)) continue;
|
|
@@ -360,9 +353,7 @@ async function recordBoot(result4, tier = "mid", guest = import.meta.resolve(REC
|
|
|
360
353
|
}
|
|
361
354
|
const ended = end ?? "fault";
|
|
362
355
|
const boot_frame = ended === "fault" || ended === "limit" ? null : bootFrame;
|
|
363
|
-
|
|
364
|
-
const deferred = { before_input: reached(boot_frame ?? Number.MAX_SAFE_INTEGER), total: reached(Number.MAX_SAFE_INTEGER) };
|
|
365
|
-
return { tier, end: ended, boot_frame, frames, code: codeParts(pkg), touches, pipelines, fault, heap_peak: heapPeak, deferred };
|
|
356
|
+
return { tier, end: ended, boot_frame, frames, code: codeParts(pkg), touches, pipelines, fault, heap_peak: heapPeak };
|
|
366
357
|
}
|
|
367
358
|
var GATE = "canvas";
|
|
368
359
|
var LOCAL_HOST = "127.0.0.1";
|
|
@@ -541,7 +532,7 @@ async function recordAndPackBoot(outDir, built) {
|
|
|
541
532
|
const ranges = built.package === null ? { boot: [], follow: [] } : bootSet(record, built.package);
|
|
542
533
|
info(
|
|
543
534
|
dim(
|
|
544
|
-
` boot ${tier.padEnd(4)} ${record.end.padEnd(5)} frame ${record.boot_frame ?? "none"}, ${ranges.boot.length} parts ${formatBytes(sum(ranges.boot))} then ${ranges.follow.length} parts ${formatBytes(sum(ranges.follow))}, ${record.pipelines.length} pipelines, engine heap ${formatBytes(record.heap_peak)}${record.
|
|
535
|
+
` boot ${tier.padEnd(4)} ${record.end.padEnd(5)} frame ${record.boot_frame ?? "none"}, ${ranges.boot.length} parts ${formatBytes(sum(ranges.boot))} then ${ranges.follow.length} parts ${formatBytes(sum(ranges.follow))}, ${record.pipelines.length} pipelines, engine heap ${formatBytes(record.heap_peak)}${record.fault ? `, ${record.fault}` : ""}`
|
|
545
536
|
)
|
|
546
537
|
);
|
|
547
538
|
records.push(record);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { parseArgs } from './chunk-XQAHREKO.mjs';
|
|
3
|
-
import { ApiClient } from './chunk-
|
|
4
|
-
import { readAuth, readProjectLink } from './chunk-
|
|
5
|
-
import { CliError, CLI_ERROR_CODE, success, result } from './chunk-
|
|
3
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
4
|
+
import { readAuth, readProjectLink } from './chunk-GGPN4QYQ.mjs';
|
|
5
|
+
import { CliError, CLI_ERROR_CODE, success, result } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
|
|
7
7
|
// src/commands/cancel.ts
|
|
8
8
|
function cancelEndpoint(businessId, projectId, deploymentId) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { commonOptions } from './chunk-
|
|
3
|
-
import { readinessSummary } from './chunk-
|
|
4
|
-
import { FINAL_CAPTURE, prepareSession, runSession, writeCapture, CAPTURE_SCHEMA } from './chunk-
|
|
5
|
-
import { SessionError } from './chunk-
|
|
6
|
-
import { EMPTY_READINESS } from './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import { workPath, requireInteractiveProject } from './chunk-
|
|
2
|
+
import { commonOptions } from './chunk-PVW5D5AW.mjs';
|
|
3
|
+
import { readinessSummary } from './chunk-Y4YGR2NY.mjs';
|
|
4
|
+
import { FINAL_CAPTURE, prepareSession, runSession, writeCapture, CAPTURE_SCHEMA } from './chunk-JTYVGORV.mjs';
|
|
5
|
+
import { SessionError } from './chunk-SZXO6YSX.mjs';
|
|
6
|
+
import { EMPTY_READINESS } from './chunk-XF3MGADK.mjs';
|
|
7
|
+
import './chunk-74QZQSCL.mjs';
|
|
8
|
+
import './chunk-NEB372WD.mjs';
|
|
9
|
+
import './chunk-TYR4Q37L.mjs';
|
|
10
|
+
import './chunk-XZG3DTXV.mjs';
|
|
11
|
+
import './chunk-JNCEKW2Y.mjs';
|
|
12
|
+
import { workPath, requireInteractiveProject } from './chunk-BTNVYAC4.mjs';
|
|
13
13
|
import './chunk-VHK7WBO3.mjs';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-454RQ6NR.mjs';
|
|
15
15
|
import './chunk-JKECUAAV.mjs';
|
|
16
16
|
import './chunk-THATLMEX.mjs';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-HQPZQIWW.mjs';
|
|
18
18
|
import './chunk-KQNZKV6E.mjs';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-QVR6V6QP.mjs';
|
|
20
|
+
import './chunk-N2WZJX5P.mjs';
|
|
21
21
|
import './chunk-EYEMPIMP.mjs';
|
|
22
|
-
import './chunk-
|
|
22
|
+
import './chunk-BGM7CH5G.mjs';
|
|
23
23
|
import './chunk-25ZPFHLF.mjs';
|
|
24
24
|
import './chunk-SGT5IJVW.mjs';
|
|
25
25
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
26
|
-
import './chunk-
|
|
27
|
-
import './chunk-
|
|
28
|
-
import { success, warn, info, dim, result, CliError, CLI_ERROR_CODE } from './chunk-
|
|
26
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
27
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
28
|
+
import { success, warn, info, dim, result, CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
29
29
|
import path from 'path';
|
|
30
30
|
|
|
31
31
|
var CAPTURE_DIR = "captures";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// package.json
|
|
3
3
|
var package_default = {
|
|
4
4
|
name: "@cimplify/cli",
|
|
5
|
-
version: "0.
|
|
5
|
+
version: "0.17.1",
|
|
6
6
|
description: "Cimplify CLI \u2014 deploy, manage env vars, link projects, and scaffold storefronts",
|
|
7
7
|
keywords: [
|
|
8
8
|
"cimplify",
|
|
@@ -45,7 +45,7 @@ var package_default = {
|
|
|
45
45
|
"@babel/parser": "^8.0.4",
|
|
46
46
|
"@babel/traverse": "^8.0.4",
|
|
47
47
|
"@babel/types": "^8.0.4",
|
|
48
|
-
"@cimplify/sdk": "^0.
|
|
48
|
+
"@cimplify/sdk": "^0.110.2",
|
|
49
49
|
esbuild: "0.28.2",
|
|
50
50
|
"hermes-compiler": "250829098.0.19",
|
|
51
51
|
re2js: "^1.4.0",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { parseEnvFile, formatEnvFile } from './chunk-
|
|
2
|
+
import { parseEnvFile, formatEnvFile } from './chunk-ECGDRU56.mjs';
|
|
3
3
|
import { ENV_SCOPE, PUBLIC_ENV_PREFIX } from './chunk-LLRUOIMU.mjs';
|
|
4
4
|
import { parseArgs, flagBool } from './chunk-XQAHREKO.mjs';
|
|
5
|
-
import { ApiClient } from './chunk-
|
|
6
|
-
import { readAuth, readProjectLink } from './chunk-
|
|
7
|
-
import { info, CliError, CLI_ERROR_CODE, dim } from './chunk-
|
|
5
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
6
|
+
import { readAuth, readProjectLink } from './chunk-GGPN4QYQ.mjs';
|
|
7
|
+
import { info, CliError, CLI_ERROR_CODE, dim } from './chunk-I7GEHLDD.mjs';
|
|
8
8
|
import { spawn } from 'child_process';
|
|
9
9
|
import { promises } from 'fs';
|
|
10
10
|
import path from 'path';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { LIBRARY_ALLOWLIST } from './chunk-
|
|
2
|
+
import { LIBRARY_ALLOWLIST } from './chunk-BGM7CH5G.mjs';
|
|
3
3
|
import { diagnostic } from './chunk-SGT5IJVW.mjs';
|
|
4
4
|
import { createHash } from 'crypto';
|
|
5
5
|
import { existsSync, readFileSync, promises } from 'fs';
|
|
6
6
|
import path2 from 'path';
|
|
7
7
|
import ts4 from 'typescript';
|
|
8
|
-
import { kernelIsa, kernelLanes, kernelMath, KERNEL_STD_SOURCES, vmLoopEngine, LOOP_MAX_REGION_ROWS, kernelMath64, LoweredLoop, setLoopEngine, configureLoops
|
|
9
|
-
import { restFileOf } from '@cimplify/sdk/interactives';
|
|
8
|
+
import { kernelIsa, kernelLanes, kernelMath, KERNEL_STD_SOURCES, vmLoopEngine, LOOP_MAX_REGION_ROWS, kernelMath64, LoweredLoop, setLoopEngine, configureLoops } from '@cimplify/sdk/game';
|
|
10
9
|
|
|
11
10
|
var LOOP_PROFILE_SCHEMA = "cimplify.loops/1";
|
|
12
11
|
var LOOP_PROFILE_FILE = "loops.json";
|
|
@@ -7037,32 +7036,17 @@ var RESERVE_SLACK = 1 << 20;
|
|
|
7037
7036
|
var REQUIRED = ["engine_alloc", "engine_free", "engine_kernel_load", "engine_kernel_run_region"];
|
|
7038
7037
|
var wasm = globalThis.WebAssembly;
|
|
7039
7038
|
var engines = /* @__PURE__ */ new Map();
|
|
7040
|
-
function engineFromWasm(bytes
|
|
7039
|
+
function engineFromWasm(bytes) {
|
|
7041
7040
|
const module = new wasm.Module(bytes);
|
|
7042
7041
|
const memory = new wasm.Memory({ initial: INITIAL_PAGES, maximum: PAGES });
|
|
7043
7042
|
const imports = { env: { memory } };
|
|
7044
|
-
let table = null;
|
|
7045
7043
|
for (const entry of wasm.Module.imports(module)) {
|
|
7046
7044
|
if (entry.module === "env" && entry.name === "memory") continue;
|
|
7047
7045
|
if (entry.kind !== "function") return null;
|
|
7048
7046
|
imports[entry.module] ??= {};
|
|
7049
|
-
|
|
7050
|
-
imports[entry.module][entry.name] = () => 0;
|
|
7051
|
-
continue;
|
|
7052
|
-
}
|
|
7053
|
-
if (rest === null) return null;
|
|
7054
|
-
const slot = Number(entry.name);
|
|
7055
|
-
imports[entry.module][entry.name] = (...args) => table.get(slot)(...args);
|
|
7047
|
+
imports[entry.module][entry.name] = () => 0;
|
|
7056
7048
|
}
|
|
7057
7049
|
const exports = new wasm.Instance(module, imports).exports;
|
|
7058
|
-
if (rest !== null && imports[PLACEHOLDER_NAMESPACE] !== void 0) {
|
|
7059
|
-
const slots = Object.keys(imports[PLACEHOLDER_NAMESPACE]).length;
|
|
7060
|
-
for (const value of Object.values(exports)) {
|
|
7061
|
-
if (value instanceof wasm.Table && value.length === slots) table = value;
|
|
7062
|
-
}
|
|
7063
|
-
if (table === null) return null;
|
|
7064
|
-
new wasm.Instance(new wasm.Module(rest), { [PRIMARY_NAMESPACE]: exports });
|
|
7065
|
-
}
|
|
7066
7050
|
if (!REQUIRED.every((name) => typeof exports[name] === "function")) return null;
|
|
7067
7051
|
const featureSet = /* @__PURE__ */ new Set();
|
|
7068
7052
|
const count = exports.engine_feature_count;
|
|
@@ -7109,8 +7093,7 @@ function wasmLoopEngine(file) {
|
|
|
7109
7093
|
if (engines.has(file)) return engines.get(file) ?? null;
|
|
7110
7094
|
let engine = null;
|
|
7111
7095
|
try {
|
|
7112
|
-
|
|
7113
|
-
engine = engineFromWasm(new Uint8Array(readFileSync(file)), existsSync(restFile) ? new Uint8Array(readFileSync(restFile)) : null);
|
|
7096
|
+
engine = engineFromWasm(new Uint8Array(readFileSync(file)));
|
|
7114
7097
|
} catch {
|
|
7115
7098
|
engine = null;
|
|
7116
7099
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { TERMINAL_DEPLOYMENT_STATUSES, DEPLOYMENT_STATUS } from './chunk-LLRUOIMU.mjs';
|
|
3
|
-
import { dim, CliError, CLI_ERROR_CODE, failure, success, isJsonMode } from './chunk-
|
|
3
|
+
import { dim, CliError, CLI_ERROR_CODE, failure, success, isJsonMode } from './chunk-I7GEHLDD.mjs';
|
|
4
4
|
|
|
5
5
|
// src/progress.ts
|
|
6
6
|
var POLL_INTERVAL_MS = 1e3;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { remoteFromEnv } from './chunk-
|
|
3
|
-
import { readInteractiveId, remoteCall } from './chunk-
|
|
4
|
-
import { requireInteractiveProject } from './chunk-
|
|
5
|
-
import { bold, dim, info, result } from './chunk-
|
|
2
|
+
import { remoteFromEnv } from './chunk-XZG3DTXV.mjs';
|
|
3
|
+
import { readInteractiveId, remoteCall } from './chunk-JNCEKW2Y.mjs';
|
|
4
|
+
import { requireInteractiveProject } from './chunk-BTNVYAC4.mjs';
|
|
5
|
+
import { bold, dim, info, result } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
|
|
7
7
|
// src/interactives/commands/status.ts
|
|
8
8
|
var RECENT_REVISIONS = 5;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { collectSourcePaths, listSourcePaths, buildLocal } from './chunk-
|
|
3
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
2
|
+
import { collectSourcePaths, listSourcePaths, buildLocal } from './chunk-BTNVYAC4.mjs';
|
|
3
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
4
4
|
import { existsSync, promises } from 'fs';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import { writablePath, readablePath, anthropicAuthoringModel, runAuthoringTurn } from '@cimplify/sdk/interactives/authoring';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// src/interactives/allowlist.ts
|
|
3
3
|
var SDK_PACKAGE = "@cimplify/sdk";
|
|
4
|
-
var PINNED_SDK_VERSION = "0.
|
|
4
|
+
var PINNED_SDK_VERSION = "0.110.2";
|
|
5
5
|
var PINNED_TYPESCRIPT_VERSION = "6.0.3";
|
|
6
6
|
var BOTH = ["native", "canvas"];
|
|
7
7
|
var CANVAS = ["canvas"];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { buildScenes, sceneCompilerFromFlag } from './chunk-VHK7WBO3.mjs';
|
|
3
|
-
import { NO_KERNELS, buildKernels, applyEdits, typecheckSources, readLoopProfile, LOOP_PROFILE_FILE, createSourceProgram } from './chunk-
|
|
3
|
+
import { NO_KERNELS, buildKernels, applyEdits, typecheckSources, readLoopProfile, LOOP_PROFILE_FILE, createSourceProgram } from './chunk-454RQ6NR.mjs';
|
|
4
4
|
import { PASSTHROUGH_CONVERTER, checkRefusals, extensionOf, isCodePath, compileGroups, assetKind, groupOf, compileScript } from './chunk-JKECUAAV.mjs';
|
|
5
|
-
import { MANIFEST_FILE, isEngineGame, lockedMissingOperations, parseManifest, LOCKFILE, parseLockfile, checkLockfile, ENGINE_ENTRY, DEFAULT_KERNELS, currentLockfile, serializeLockfile, lockedVersion, withLibrary } from './chunk-
|
|
5
|
+
import { MANIFEST_FILE, isEngineGame, lockedMissingOperations, parseManifest, LOCKFILE, parseLockfile, checkLockfile, ENGINE_ENTRY, DEFAULT_KERNELS, currentLockfile, serializeLockfile, lockedVersion, withLibrary } from './chunk-HQPZQIWW.mjs';
|
|
6
6
|
import { parseToml, TomlSyntaxError } from './chunk-KQNZKV6E.mjs';
|
|
7
|
-
import { locateToolchain, toolchainDiagnostics, bundledRuntimes, isSdkRuntime, textDictionariesFile, ENGINE_CORE, ENGINE_CORE_THREADS, findPackageDir, runtimeExportOf, runtimeClosure, engineCoreFile, resolveExport, NODE_CONDITIONS, WHOLE_SPECIFIER } from './chunk-
|
|
7
|
+
import { locateToolchain, toolchainDiagnostics, bundledRuntimes, isSdkRuntime, textDictionariesFile, ENGINE_CORE, ENGINE_CORE_THREADS, findPackageDir, runtimeExportOf, runtimeClosure, engineCoreFile, resolveExport, NODE_CONDITIONS, WHOLE_SPECIFIER } from './chunk-N2WZJX5P.mjs';
|
|
8
8
|
import { CHUNK_PAYLOAD_PART, encodeChunk, CHUNK_KIND, CHUNK_ALIGNMENT, CHUNK_HEADER_BYTES, CHUNK_FORMAT_VERSION, decodeChunk } from './chunk-EYEMPIMP.mjs';
|
|
9
|
-
import { EMPTY_WASM_REGISTRY, PINNED_TYPESCRIPT_VERSION, SDK_PACKAGE, matchLibrary } from './chunk-
|
|
9
|
+
import { EMPTY_WASM_REGISTRY, PINNED_TYPESCRIPT_VERSION, SDK_PACKAGE, matchLibrary } from './chunk-BGM7CH5G.mjs';
|
|
10
10
|
import { sha256, compareStrings, canonicalJson, hasher, finish } from './chunk-25ZPFHLF.mjs';
|
|
11
11
|
import { diagnostic, hasErrors, compareDiagnostics, formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
12
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
12
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
13
13
|
import { execFile, spawnSync } from 'child_process';
|
|
14
14
|
import { statSync, mkdtempSync, writeFileSync, readFileSync, rmSync, promises, existsSync, mkdirSync, realpathSync, readdirSync } from 'fs';
|
|
15
15
|
import os, { tmpdir } from 'os';
|
|
@@ -17,7 +17,7 @@ import path from 'path';
|
|
|
17
17
|
import { kernelIsa, checkGameSources, AUDIO_PREVIEW_SUFFIX, scriptedPath, parseSceneryManifest, SCENERY_TIER_RADII, SCENERY_LOAD_SHARE, SCENERY_NEED_SHARE, simulateStreaming, sceneryPrefetchItems, scanImports } from '@cimplify/sdk/game';
|
|
18
18
|
import { brotliCompressSync, constants, zstdCompressSync, zstdDecompressSync, gunzipSync } from 'zlib';
|
|
19
19
|
import * as sdk from '@cimplify/sdk/interactives';
|
|
20
|
-
import { parts, ENGINE_FEATURE_NAMES, ENGINE_FEATURES, engineFeatureMember, ENGINE_ARENA_BASELINE_BYTES, ENGINE_ARENA_FEATURE, engineVariantFor, TEXT_DICTIONARIES_ASSET, engineExportsUsed, ENGINE_EXPORT_PROTOTYPES,
|
|
20
|
+
import { parts, ENGINE_FEATURE_NAMES, ENGINE_FEATURES, engineFeatureMember, ENGINE_ARENA_BASELINE_BYTES, ENGINE_ARENA_FEATURE, engineVariantFor, TEXT_DICTIONARIES_ASSET, engineExportsUsed, ENGINE_EXPORT_PROTOTYPES, AUDIO_WORKLET_GROUP, progressive, ENGINE_CORE_SCRIPTS_UNIT, ENGINE_CORE_GL_UNIT, AUDIO_RELAY_EXPORT, ENGINE_LUAU_UNIT, ENGINE_AUDIO_UNIT, SCRIPTS_CORE_PATH, SCRIPTS_CORE_GROUP, GL_CORE_PATH, GL_CORE_GROUP, LUAU_VM_PATH, LUAU_SCRIPTS_GROUP, AUDIO_WORKLET_PATH, FULL_ENGINE_VARIANT } from '@cimplify/sdk/interactives';
|
|
21
21
|
import ts2 from 'typescript';
|
|
22
22
|
import { builtinModules } from 'module';
|
|
23
23
|
import { DELIVERY_BUDGETS } from '@cimplify/sdk/interactives/meters';
|
|
@@ -5234,21 +5234,10 @@ function buildInteractive(set, options = {}) {
|
|
|
5234
5234
|
diagnostics.push(diagnostic("runtime.build", "this package's animations carry scripts, but the installed engine runtime cannot run them on the web; update the CLI and rebuild", null, null));
|
|
5235
5235
|
return failed(set, diagnostics, manifest, lockfile, modules);
|
|
5236
5236
|
}
|
|
5237
|
-
const restOf = (of, variant, restPath) => {
|
|
5238
|
-
const built2 = coreRuntime === null ? null : runtimeRegistry.engineCoreRest?.(coreRuntime.unit, variant, of) ?? null;
|
|
5239
|
-
return built2 === null ? null : { of, built: built2, path: restPath };
|
|
5240
|
-
};
|
|
5241
|
-
const rests = [
|
|
5242
|
-
restOf(ENGINE_CORE, coreVariant, ENGINE_REST_PATH),
|
|
5243
|
-
threadedCore === null ? null : restOf(ENGINE_CORE_THREADS, coreVariant, restFileOf(THREADED_CORE_PATH)),
|
|
5244
|
-
scriptsCore === null ? null : restOf(ENGINE_CORE_SCRIPTS_UNIT, engineVariantFor(usedFeatures, true), restFileOf(SCRIPTS_CORE_PATH)),
|
|
5245
|
-
glCore === null ? null : restOf(ENGINE_CORE_GL_UNIT, glVariant, restFileOf(GL_CORE_PATH))
|
|
5246
|
-
].filter((rest) => rest !== null);
|
|
5247
5237
|
const audioWorklet = coreRuntime === null || !usesAudioWorklet(glue) ? null : runtimeRegistry.audioWorklet?.() ?? null;
|
|
5248
5238
|
const late = [
|
|
5249
5239
|
...luauVm === null ? [] : [luauLateRuntime(luauVm)],
|
|
5250
|
-
...audioWorklet === null ? [] : [audioWorkletLateRuntime(audioWorklet)]
|
|
5251
|
-
...rests.map((rest) => ({ unit: restUnitOf(rest.of), chunk: rest.built.chunk.digest }))
|
|
5240
|
+
...audioWorklet === null ? [] : [audioWorkletLateRuntime(audioWorklet)]
|
|
5252
5241
|
];
|
|
5253
5242
|
const indexChunk = encodeModuleIndex(
|
|
5254
5243
|
moduleIndex(packageEntries, indexed, (specifier) => linked.targets.get(specifier), linked.runtimes.map(indexedRuntime), indexedAssets, alternatives, late)
|
|
@@ -5341,14 +5330,6 @@ function buildInteractive(set, options = {}) {
|
|
|
5341
5330
|
addChunk(audioWorklet.chunk);
|
|
5342
5331
|
groups.push(audioWorkletGroup(audioWorklet));
|
|
5343
5332
|
}
|
|
5344
|
-
for (const rest of rests) {
|
|
5345
|
-
addChunk(rest.built.chunk);
|
|
5346
|
-
groups.push({
|
|
5347
|
-
name: restGroupOf(rest.of, ENGINE_CORE),
|
|
5348
|
-
before_play: false,
|
|
5349
|
-
files: [{ path: rest.path, kind: "wasm", chunk: rest.built.chunk.digest, bytes: rest.built.chunk.payloadBytes, runtime: { name: restUnitOf(rest.of), version: rest.built.version } }]
|
|
5350
|
-
});
|
|
5351
|
-
}
|
|
5352
5333
|
for (const [device, files] of [...library.tiers.entries()].sort((a, b) => TIER_RANK[a[0]] - TIER_RANK[b[0]])) {
|
|
5353
5334
|
if (files.length > 0) groups.push({ name: tierGroupName(device), before_play: false, files });
|
|
5354
5335
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { REPO_PROVIDER } from './chunk-LLRUOIMU.mjs';
|
|
3
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
3
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
4
4
|
import { spawn } from 'child_process';
|
|
5
5
|
|
|
6
6
|
var GIT_BINARY = "git";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { quoteTomlString, parseToml, TomlSyntaxError } from './chunk-KQNZKV6E.mjs';
|
|
3
|
-
import { PINNED_TYPESCRIPT_VERSION, PINNED_SDK_VERSION, SDK_PACKAGE, findLibrary } from './chunk-
|
|
3
|
+
import { PINNED_TYPESCRIPT_VERSION, PINNED_SDK_VERSION, SDK_PACKAGE, findLibrary } from './chunk-BGM7CH5G.mjs';
|
|
4
4
|
import { compareStrings } from './chunk-25ZPFHLF.mjs';
|
|
5
5
|
import { diagnostic } from './chunk-SGT5IJVW.mjs';
|
|
6
6
|
import { CTX_CONTRACT_FINGERPRINT, CTX_CONTRACT_VERSION, CTX_MIN_SUPPORTED_CONTRACT_VERSION, CTX_COMPATIBLE_FINGERPRINTS, CTX_CAPABILITIES, CTX_LIMITS, ENGINE_FEATURE_NAMES, ENGINE_ARENA_BASELINE_BYTES, ENGINE_ARENA_MAX_CEILING_BYTES, ENGINE_ARENA_CHUNK_BYTES } from '@cimplify/sdk/interactives';
|
|
@@ -87,6 +87,8 @@ var RED_OPEN = "\x1B[31m";
|
|
|
87
87
|
var GREEN_OPEN = "\x1B[32m";
|
|
88
88
|
var YELLOW_OPEN = "\x1B[33m";
|
|
89
89
|
var CYAN_OPEN = "\x1B[36m";
|
|
90
|
+
var HONEY_OPEN = "\x1B[38;5;214m";
|
|
91
|
+
var ORANGE_OPEN = "\x1B[38;5;208m";
|
|
90
92
|
var PREFIX_STEP = "\u25B8";
|
|
91
93
|
var PREFIX_SUCCESS = "\u2713";
|
|
92
94
|
var PREFIX_FAILURE = "\u2717";
|
|
@@ -141,6 +143,12 @@ function yellow(value) {
|
|
|
141
143
|
function cyan(value) {
|
|
142
144
|
return isJsonMode() ? value : wrap(CYAN_OPEN, value);
|
|
143
145
|
}
|
|
146
|
+
function honey(value) {
|
|
147
|
+
return isJsonMode() ? value : wrap(HONEY_OPEN, value);
|
|
148
|
+
}
|
|
149
|
+
function orange(value) {
|
|
150
|
+
return isJsonMode() ? value : wrap(ORANGE_OPEN, value);
|
|
151
|
+
}
|
|
144
152
|
function step(message) {
|
|
145
153
|
if (isJsonMode()) return;
|
|
146
154
|
console.log(`${cyan(PREFIX_STEP)} ${message}`);
|
|
@@ -155,7 +163,7 @@ function failure(message) {
|
|
|
155
163
|
}
|
|
156
164
|
function warn(message) {
|
|
157
165
|
if (isJsonMode()) return;
|
|
158
|
-
console.error(`${
|
|
166
|
+
console.error(`${orange(PREFIX_WARN)} ${message}`);
|
|
159
167
|
}
|
|
160
168
|
function info(message) {
|
|
161
169
|
if (isJsonMode()) return;
|
|
@@ -170,4 +178,4 @@ function result(data) {
|
|
|
170
178
|
`);
|
|
171
179
|
}
|
|
172
180
|
|
|
173
|
-
export { CLI_ERROR_CODE, CliError, EXIT_CODE, OUTPUT_MODE, bold, configureOutput, dim, failure, green, info, isAutoYes, isCliError, isInteractive, isJsonMode, red, result, step, success, warn, yellow };
|
|
181
|
+
export { CLI_ERROR_CODE, CliError, EXIT_CODE, OUTPUT_MODE, bold, configureOutput, dim, failure, green, honey, info, isAutoYes, isCliError, isInteractive, isJsonMode, orange, red, result, step, success, warn, yellow };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { LOCAL_ENVIRONMENT, resetLocalData, localEnvironments, localDataDir } from './chunk-
|
|
3
|
-
import { readInteractiveId, remoteCall, CHANNELS } from './chunk-
|
|
4
|
-
import { requireInteractiveProject } from './chunk-
|
|
2
|
+
import { LOCAL_ENVIRONMENT, resetLocalData, localEnvironments, localDataDir } from './chunk-NEB372WD.mjs';
|
|
3
|
+
import { readInteractiveId, remoteCall, CHANNELS } from './chunk-JNCEKW2Y.mjs';
|
|
4
|
+
import { requireInteractiveProject } from './chunk-BTNVYAC4.mjs';
|
|
5
5
|
import { flagBool, flagString, parseArgs } from './chunk-XQAHREKO.mjs';
|
|
6
|
-
import { ApiClient } from './chunk-
|
|
7
|
-
import { readAuthOrNull } from './chunk-
|
|
8
|
-
import { bold, dim, info, success, warn, result, CliError, CLI_ERROR_CODE } from './chunk-
|
|
6
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
7
|
+
import { readAuthOrNull } from './chunk-GGPN4QYQ.mjs';
|
|
8
|
+
import { bold, dim, info, success, warn, result, CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
9
9
|
|
|
10
10
|
// src/interactives/remote/environments.ts
|
|
11
11
|
var BASE = "/v1/interactives";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { parseManifest, MANIFEST_FILE } from './chunk-
|
|
2
|
+
import { parseManifest, MANIFEST_FILE } from './chunk-HQPZQIWW.mjs';
|
|
3
3
|
import { formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
4
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
4
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
5
5
|
import { promises } from 'fs';
|
|
6
6
|
import path from 'path';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { SessionError, CaptureSession, FRAME_MS, DEFAULT_EPOCH_MS } from './chunk-
|
|
3
|
-
import { buildLocal, workPath } from './chunk-
|
|
4
|
-
import { writeLoopProfile, LOOP_PROFILE_FILE } from './chunk-
|
|
5
|
-
import { locateToolchain } from './chunk-
|
|
2
|
+
import { SessionError, CaptureSession, FRAME_MS, DEFAULT_EPOCH_MS } from './chunk-SZXO6YSX.mjs';
|
|
3
|
+
import { buildLocal, workPath } from './chunk-BTNVYAC4.mjs';
|
|
4
|
+
import { writeLoopProfile, LOOP_PROFILE_FILE } from './chunk-454RQ6NR.mjs';
|
|
5
|
+
import { locateToolchain } from './chunk-N2WZJX5P.mjs';
|
|
6
6
|
import { formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
7
7
|
import { createHash } from 'crypto';
|
|
8
8
|
import { promises } from 'fs';
|