@cimplify/cli 0.16.0 → 0.17.0
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-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-DYWUPHV3.mjs → chunk-FV273ECI.mjs} +2 -2
- 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-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-SS4JTMIV.mjs → chunk-YS2JUNSQ.mjs} +16 -8
- 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-XRTNG2IT.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-32RSXEXC.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-27MMTACH.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-VRHQOEGG.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-XKKFREKH.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,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { sha256 } from './chunk-25ZPFHLF.mjs';
|
|
3
|
-
import { resolveBaseUrl, ApiClient } from './chunk-
|
|
4
|
-
import { readAuthOrNull } from './chunk-
|
|
5
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
3
|
+
import { resolveBaseUrl, ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
4
|
+
import { readAuthOrNull } from './chunk-GGPN4QYQ.mjs';
|
|
5
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
import { existsSync, readFileSync } from 'fs';
|
|
7
7
|
import path from 'path';
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { encodeChunk } from './chunk-EYEMPIMP.mjs';
|
|
3
|
-
import { SDK_PACKAGE, PINNED_TYPESCRIPT_VERSION, PINNED_SDK_VERSION, LIBRARY_ALLOWLIST } from './chunk-
|
|
3
|
+
import { SDK_PACKAGE, PINNED_TYPESCRIPT_VERSION, PINNED_SDK_VERSION, LIBRARY_ALLOWLIST } from './chunk-BGM7CH5G.mjs';
|
|
4
4
|
import { isDigest, sha256, compareStrings } from './chunk-25ZPFHLF.mjs';
|
|
5
5
|
import { diagnostic } from './chunk-SGT5IJVW.mjs';
|
|
6
|
-
import { authConfigDir } from './chunk-
|
|
6
|
+
import { authConfigDir } from './chunk-GGPN4QYQ.mjs';
|
|
7
7
|
import { randomBytes, createHash } from 'crypto';
|
|
8
8
|
import { existsSync, readFileSync, promises, realpathSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
9
9
|
import path4 from 'path';
|
|
10
|
-
import { FULL_ENGINE_VARIANT, TEXT_DICTIONARIES_FILE, ENGINE_AUDIO_UNIT, ENGINE_LUAU_UNIT,
|
|
10
|
+
import { FULL_ENGINE_VARIANT, TEXT_DICTIONARIES_FILE, ENGINE_AUDIO_UNIT, ENGINE_LUAU_UNIT, ENGINE_CORE_GL_UNIT, ENGINE_CORE_SCRIPTS_UNIT, AUDIO_WORKLET_FILE, LUAU_VM_FILE, isScriptsVariant, isShadersVariant, SCRIPTS_SHADERS_ENGINE_VARIANT, SCRIPTS_ENGINE_VARIANT, glVariantOf, threadedVariantOf, ENGINE_EXPORT_PROTOTYPES } from '@cimplify/sdk/interactives';
|
|
11
11
|
import { buildSync, transformSync } from 'esbuild';
|
|
12
12
|
import ts from 'typescript';
|
|
13
13
|
import os from 'os';
|
|
@@ -1681,20 +1681,6 @@ function glCoreRuntime(core, sdkDir, variant) {
|
|
|
1681
1681
|
const unit = { name: ENGINE_CORE_GL_UNIT, version: core.version, specifiers: [] };
|
|
1682
1682
|
return engineWasm(unit, readFileSync(file));
|
|
1683
1683
|
}
|
|
1684
|
-
function coreFileOf(sdkDir, variant, of) {
|
|
1685
|
-
if (of === ENGINE_CORE_THREADS) return threadedCoreFile(sdkDir, variant);
|
|
1686
|
-
if (of === ENGINE_CORE_SCRIPTS_UNIT) return scriptsCoreFile(sdkDir, variant);
|
|
1687
|
-
if (of === ENGINE_CORE_GL_UNIT) return glCoreFile(sdkDir, variant);
|
|
1688
|
-
return engineCoreFile(sdkDir, variant);
|
|
1689
|
-
}
|
|
1690
|
-
function engineCoreRestRuntime(core, sdkDir, variant, of) {
|
|
1691
|
-
const coreFile = coreFileOf(sdkDir, variant, of);
|
|
1692
|
-
if (coreFile === null) return null;
|
|
1693
|
-
const file = restFileOf(coreFile);
|
|
1694
|
-
if (!existsSync(file)) return null;
|
|
1695
|
-
const unit = { name: restUnitOf(of), version: core.version, specifiers: [] };
|
|
1696
|
-
return built(unit, "wasm", encodeChunk("wasm", readFileSync(file)), [], null);
|
|
1697
|
-
}
|
|
1698
1684
|
function engineCoreRuntime(unit, sdkDir, variant) {
|
|
1699
1685
|
return engineWasm(unit, readFileSync(engineCoreFile(sdkDir, variant)));
|
|
1700
1686
|
}
|
|
@@ -1878,14 +1864,6 @@ function bundledRuntimes(sdkDir) {
|
|
|
1878
1864
|
if (runtime !== null) cache.set(key, runtime);
|
|
1879
1865
|
return runtime;
|
|
1880
1866
|
},
|
|
1881
|
-
engineCoreRest(core, variant, of = ENGINE_CORE) {
|
|
1882
|
-
const key = [restUnitOf(of), core.version, variant.file].join(UNIT_KEY_SEPARATOR);
|
|
1883
|
-
const cached = cache.get(key);
|
|
1884
|
-
if (cached !== void 0) return cached;
|
|
1885
|
-
const runtime = engineCoreRestRuntime(core, sdkDir, variant, of);
|
|
1886
|
-
if (runtime !== null) cache.set(key, runtime);
|
|
1887
|
-
return runtime;
|
|
1888
|
-
},
|
|
1889
1867
|
sdkGame(bindings) {
|
|
1890
1868
|
const key = JSON.stringify(canonical(bindings));
|
|
1891
1869
|
const cached = cache.get(key);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { packageData } from './chunk-
|
|
2
|
+
import { packageData } from './chunk-BTNVYAC4.mjs';
|
|
3
3
|
import { createHash } from 'crypto';
|
|
4
4
|
import { existsSync, readdirSync, promises, mkdirSync, statSync } from 'fs';
|
|
5
5
|
import path from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { modelFromEnv, askAuthoring } from './chunk-
|
|
3
|
-
import { requireInteractiveProject } from './chunk-
|
|
2
|
+
import { modelFromEnv, askAuthoring } from './chunk-74QZQSCL.mjs';
|
|
3
|
+
import { requireInteractiveProject } from './chunk-BTNVYAC4.mjs';
|
|
4
4
|
import { parseArgs } from './chunk-XQAHREKO.mjs';
|
|
5
|
-
import { info, dim, warn, failure, success, CliError, CLI_ERROR_CODE, step, result } from './chunk-
|
|
5
|
+
import { info, dim, warn, failure, success, CliError, CLI_ERROR_CODE, step, result } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
import { formatDiagnostics } from '@cimplify/sdk/interactives/authoring';
|
|
7
7
|
|
|
8
8
|
function describeEvent(event) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { writeModuleTree } from './chunk-
|
|
3
|
-
import { outputPathOf } from './chunk-
|
|
4
|
-
import { isEngineGame } from './chunk-
|
|
5
|
-
import { resolveExport, NODE_CONDITIONS, heapHooksUrl, runtimeImportMap, ENGINE_CORE, engineCoreFile } from './chunk-
|
|
2
|
+
import { writeModuleTree } from './chunk-XF3MGADK.mjs';
|
|
3
|
+
import { outputPathOf } from './chunk-BTNVYAC4.mjs';
|
|
4
|
+
import { isEngineGame } from './chunk-HQPZQIWW.mjs';
|
|
5
|
+
import { resolveExport, NODE_CONDITIONS, heapHooksUrl, runtimeImportMap, ENGINE_CORE, engineCoreFile } from './chunk-N2WZJX5P.mjs';
|
|
6
6
|
import { CHUNK_PAYLOAD_PART } from './chunk-EYEMPIMP.mjs';
|
|
7
7
|
import { createServer } from 'http';
|
|
8
8
|
import { promises } from 'fs';
|
|
9
9
|
import { createRequire } from 'module';
|
|
10
10
|
import path from 'path';
|
|
11
11
|
import { pathToFileURL, fileURLToPath } from 'url';
|
|
12
|
-
import { ENGINE_REST_SUFFIX, restFileOf, FULL_ENGINE_VARIANT, restUnitOf } from '@cimplify/sdk/interactives';
|
|
13
12
|
import { build } from 'esbuild';
|
|
14
13
|
import { spawn } from 'child_process';
|
|
14
|
+
import { FULL_ENGINE_VARIANT } from '@cimplify/sdk/interactives';
|
|
15
15
|
import { judgeEconomy, auditManifestEconomy } from '@cimplify/sdk/game/kit';
|
|
16
16
|
|
|
17
17
|
var MAGLEV_GATE = "heap growth (maglev)";
|
|
@@ -81,9 +81,7 @@ globalThis.__setup = async (gate) => {
|
|
|
81
81
|
let platform;
|
|
82
82
|
if (gate.engine !== null && g.hooks !== null && typeof g.hooks.bytesFramePlatform === "function") {
|
|
83
83
|
const bytes = new Uint8Array(await (await fetch(gate.engine)).arrayBuffer());
|
|
84
|
-
|
|
85
|
-
const rest = restResponse.ok ? new Uint8Array(await restResponse.arrayBuffer()) : null;
|
|
86
|
-
platform = g.hooks.bytesFramePlatform(bytes, rest);
|
|
84
|
+
platform = g.hooks.bytesFramePlatform(bytes);
|
|
87
85
|
}
|
|
88
86
|
const assets = {
|
|
89
87
|
take: async (asset) => {
|
|
@@ -186,25 +184,12 @@ var CONFIG_FILE = "gate-config.json";
|
|
|
186
184
|
var ENGINE_FILE = "engine-core.wasm";
|
|
187
185
|
var ASSET_DIR = "assets";
|
|
188
186
|
var NATIVE_PROFILE = "native";
|
|
189
|
-
function shippedRest(result) {
|
|
190
|
-
const unit = restUnitOf(ENGINE_CORE);
|
|
191
|
-
for (const group of result.package?.groups ?? []) {
|
|
192
|
-
for (const f of group.files) {
|
|
193
|
-
if (f.runtime?.name !== unit) continue;
|
|
194
|
-
const chunk = result.chunks.find((c) => c.digest === f.chunk);
|
|
195
|
-
if (chunk !== void 0) return chunk.parts[CHUNK_PAYLOAD_PART];
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
return null;
|
|
199
|
-
}
|
|
200
187
|
async function writeShippedEngine(workDir, result, toolchain = null) {
|
|
201
188
|
const file = path.join(workDir, ENGINE_FILE);
|
|
202
189
|
const reference = result.package?.runtime.find((r) => r.name === ENGINE_CORE && r.kind === "wasm");
|
|
203
190
|
const chunk = reference === void 0 ? void 0 : result.chunks.find((c) => c.digest === reference.chunk);
|
|
204
191
|
if (chunk !== void 0) {
|
|
205
192
|
await promises.writeFile(file, chunk.parts[CHUNK_PAYLOAD_PART]);
|
|
206
|
-
const rest = shippedRest(result);
|
|
207
|
-
if (rest !== null) await promises.writeFile(restFileOf(file), rest);
|
|
208
193
|
return file;
|
|
209
194
|
}
|
|
210
195
|
if (toolchain === null || result.manifest?.profile.kind !== NATIVE_PROFILE) return null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { materialize, titleFromName } from './chunk-
|
|
3
|
-
import { MANIFEST_FILE, LOCKFILE, serializeLockfile, currentLockfile } from './chunk-
|
|
2
|
+
import { materialize, titleFromName } from './chunk-ZG7NJLXN.mjs';
|
|
3
|
+
import { MANIFEST_FILE, LOCKFILE, serializeLockfile, currentLockfile } from './chunk-HQPZQIWW.mjs';
|
|
4
4
|
import { quoteTomlString } from './chunk-KQNZKV6E.mjs';
|
|
5
|
-
import { PINNED_SDK_VERSION } from './chunk-
|
|
5
|
+
import { PINNED_SDK_VERSION } from './chunk-BGM7CH5G.mjs';
|
|
6
6
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
7
|
-
import { CliError, CLI_ERROR_CODE, success, warn, info, dim, result } from './chunk-
|
|
7
|
+
import { CliError, CLI_ERROR_CODE, success, warn, info, dim, result } from './chunk-I7GEHLDD.mjs';
|
|
8
8
|
import { spawnSync } from 'child_process';
|
|
9
9
|
import { promises } from 'fs';
|
|
10
10
|
import path from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { framesFor } from './chunk-
|
|
3
|
-
import { loadScript, DEFAULT_DEVICE, BACKENDS, DEFAULT_SEED, DEFAULT_FRAMES, parseDevice, parseInsets, withInsets } from './chunk-
|
|
2
|
+
import { framesFor } from './chunk-JTYVGORV.mjs';
|
|
3
|
+
import { loadScript, DEFAULT_DEVICE, BACKENDS, DEFAULT_SEED, DEFAULT_FRAMES, parseDevice, parseInsets, withInsets } from './chunk-SZXO6YSX.mjs';
|
|
4
4
|
import { flagString } from './chunk-XQAHREKO.mjs';
|
|
5
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
5
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
import path from 'path';
|
|
7
7
|
|
|
8
8
|
function invalid(message, remediation) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { promptYesNo } from './chunk-
|
|
3
|
-
import { gitRemoteHead, managedProviderForHost } from './chunk-
|
|
2
|
+
import { promptYesNo } from './chunk-XASDB7YS.mjs';
|
|
3
|
+
import { gitRemoteHead, managedProviderForHost } from './chunk-EOOOXVHR.mjs';
|
|
4
4
|
import { TOKEN_PURPOSE, REPO_PROVIDER, isManagedRepoProvider, REPO_PROVIDER_VALUES } from './chunk-LLRUOIMU.mjs';
|
|
5
5
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
6
|
-
import { ApiClient } from './chunk-
|
|
7
|
-
import { readAuth, readProjectLink } from './chunk-
|
|
8
|
-
import { CliError, CLI_ERROR_CODE, isJsonMode, result, dim, success, info, bold } from './chunk-
|
|
6
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
7
|
+
import { readAuth, readProjectLink } from './chunk-GGPN4QYQ.mjs';
|
|
8
|
+
import { CliError, CLI_ERROR_CODE, isJsonMode, result, dim, success, info, bold } from './chunk-I7GEHLDD.mjs';
|
|
9
9
|
|
|
10
10
|
// src/commands/repo.ts
|
|
11
11
|
var SUB_PROVISION = "provision";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { locateToolchain, localEngineRuntimeDir, validManifest, engineCacheRoot, cachedVersion, storeRuntime, cachedEngineRuntimeDir } from './chunk-
|
|
3
|
-
import { ApiClient } from './chunk-
|
|
4
|
-
import { readAuthOrNull } from './chunk-
|
|
5
|
-
import { isCliError, CLI_ERROR_CODE, info, dim, warn } from './chunk-
|
|
2
|
+
import { locateToolchain, localEngineRuntimeDir, validManifest, engineCacheRoot, cachedVersion, storeRuntime, cachedEngineRuntimeDir } from './chunk-N2WZJX5P.mjs';
|
|
3
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
4
|
+
import { readAuthOrNull } from './chunk-GGPN4QYQ.mjs';
|
|
5
|
+
import { isCliError, CLI_ERROR_CODE, info, dim, warn } from './chunk-I7GEHLDD.mjs';
|
|
6
6
|
|
|
7
7
|
// src/interactives/build/engine-runtime-fetch.ts
|
|
8
8
|
var ENGINE_RUNTIME_ROUTE = "/v1/interactives/engine/runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { locateChromium, startDevServer, HARDWARE_GPU_ARGS, BROWSER_ARGS, probeScript, SILENT_PARAM, EMPTY_READINESS } from './chunk-
|
|
2
|
+
import { locateChromium, startDevServer, HARDWARE_GPU_ARGS, BROWSER_ARGS, probeScript, SILENT_PARAM, EMPTY_READINESS } from './chunk-XF3MGADK.mjs';
|
|
3
3
|
import { inspectSnapshot } from './chunk-THATLMEX.mjs';
|
|
4
4
|
import { inflateSync, deflateSync } from 'zlib';
|
|
5
5
|
import { promises } from 'fs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { loadOrCreateSigningKey, registrationFor, withRegistration, writeSigningKey, signSource, signingKeyDir, remoteFromEnv } from './chunk-
|
|
3
|
-
import { CHANNELS, remoteCall, RemoteError } from './chunk-
|
|
4
|
-
import { buildLocal, workPath, formatBytes, VERIFIED_MAX_SOURCE_SET_BYTES, requireInteractiveProject, UPLOAD_PART_BYTES } from './chunk-
|
|
5
|
-
import { MANIFEST_FILE, assignInteractiveId } from './chunk-
|
|
6
|
-
import { refreshEngineRuntime } from './chunk-
|
|
2
|
+
import { loadOrCreateSigningKey, registrationFor, withRegistration, writeSigningKey, signSource, signingKeyDir, remoteFromEnv } from './chunk-XZG3DTXV.mjs';
|
|
3
|
+
import { CHANNELS, remoteCall, RemoteError } from './chunk-JNCEKW2Y.mjs';
|
|
4
|
+
import { buildLocal, workPath, formatBytes, VERIFIED_MAX_SOURCE_SET_BYTES, requireInteractiveProject, UPLOAD_PART_BYTES } from './chunk-BTNVYAC4.mjs';
|
|
5
|
+
import { MANIFEST_FILE, assignInteractiveId } from './chunk-HQPZQIWW.mjs';
|
|
6
|
+
import { refreshEngineRuntime } from './chunk-QVR6V6QP.mjs';
|
|
7
7
|
import { sha256 } from './chunk-25ZPFHLF.mjs';
|
|
8
8
|
import { formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
9
9
|
import { parseArgs, flagString } from './chunk-XQAHREKO.mjs';
|
|
10
|
-
import { CliError, CLI_ERROR_CODE, info, dim, step, failure, isJsonMode, warn, success, bold, result } from './chunk-
|
|
10
|
+
import { CliError, CLI_ERROR_CODE, info, dim, step, failure, isJsonMode, warn, success, bold, result } from './chunk-I7GEHLDD.mjs';
|
|
11
11
|
import { promises } from 'fs';
|
|
12
12
|
import os from 'os';
|
|
13
13
|
import path from 'path';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
2
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
3
3
|
import { randomBytes, createHash } from 'crypto';
|
|
4
4
|
import { createServer } from 'http';
|
|
5
5
|
import { spawn } from 'child_process';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { isAutoYes, isInteractive, CliError, CLI_ERROR_CODE } from './chunk-
|
|
2
|
+
import { isAutoYes, isInteractive, CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
3
3
|
import readline from 'readline';
|
|
4
4
|
|
|
5
5
|
async function promptLine(question) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { modelFromEnv, askAuthoring, buildCheck, trimHistory } from './chunk-
|
|
3
|
-
import { LocalData, DEV_DATA_ROUTE, DATA_FAMILIES } from './chunk-
|
|
4
|
-
import { parseChannel, publishProject } from './chunk-
|
|
5
|
-
import { remoteFromEnv, signingKeyDir } from './chunk-
|
|
6
|
-
import { brotliTwinBytes, TICK_GUEST_PATH, TICK_GUEST_MAP_PATH, buildLocal, EXCLUDED_DIRECTORIES, outputPathOf, LAZY_GROUP_PREFIX, CODE_GROUP, TICK_GUEST_ORIGIN } from './chunk-
|
|
7
|
-
import { findPackageDir, readPackageJson, exportsMap, pickTarget, BROWSER_CONDITIONS, stripDotSlash, exportTarget } from './chunk-
|
|
8
|
-
import { LIBRARY_ALLOWLIST, SDK_PACKAGE } from './chunk-
|
|
2
|
+
import { modelFromEnv, askAuthoring, buildCheck, trimHistory } from './chunk-74QZQSCL.mjs';
|
|
3
|
+
import { LocalData, DEV_DATA_ROUTE, DATA_FAMILIES } from './chunk-NEB372WD.mjs';
|
|
4
|
+
import { parseChannel, publishProject } from './chunk-TYR4Q37L.mjs';
|
|
5
|
+
import { remoteFromEnv, signingKeyDir } from './chunk-XZG3DTXV.mjs';
|
|
6
|
+
import { brotliTwinBytes, TICK_GUEST_PATH, TICK_GUEST_MAP_PATH, buildLocal, EXCLUDED_DIRECTORIES, outputPathOf, LAZY_GROUP_PREFIX, CODE_GROUP, TICK_GUEST_ORIGIN } from './chunk-BTNVYAC4.mjs';
|
|
7
|
+
import { findPackageDir, readPackageJson, exportsMap, pickTarget, BROWSER_CONDITIONS, stripDotSlash, exportTarget } from './chunk-N2WZJX5P.mjs';
|
|
8
|
+
import { LIBRARY_ALLOWLIST, SDK_PACKAGE } from './chunk-BGM7CH5G.mjs';
|
|
9
9
|
import { digestHex } from './chunk-25ZPFHLF.mjs';
|
|
10
10
|
import { formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
11
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
11
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
12
12
|
import { promises, watch, existsSync, readdirSync, statSync, readFileSync } from 'fs';
|
|
13
13
|
import path from 'path';
|
|
14
14
|
import { HOST_PAGE_ISOLATION_HEADERS, FACE_LANDMARKER, parseContentOrigin, servesContent, serveContent, sha256Hex } from '@cimplify/sdk/interactives/web';
|
|
@@ -972,8 +972,8 @@ function devAiFromEnv(declarations, env = process.env) {
|
|
|
972
972
|
|
|
973
973
|
// src/interactives/dev/page.ts
|
|
974
974
|
var STYLE = `
|
|
975
|
-
:root { color-scheme: light dark; --bg: #f4f4f5; --fg: #18181b; --card: #ffffff; --muted: #71717a; --line: #e4e4e7; --accent: #
|
|
976
|
-
@media (prefers-color-scheme: dark) { :root { --bg: #09090b; --fg: #fafafa; --card: #18181b; --muted: #a1a1aa; --line: #27272a; } }
|
|
975
|
+
:root { color-scheme: light dark; --bg: #f4f4f5; --fg: #18181b; --card: #ffffff; --muted: #71717a; --line: #e4e4e7; --accent: #f2b33d; --accent-fg: #9a6209; --on-accent: #1a1205; }
|
|
976
|
+
@media (prefers-color-scheme: dark) { :root { --bg: #09090b; --fg: #fafafa; --card: #18181b; --muted: #a1a1aa; --line: #27272a; --accent-fg: #f2b33d; } }
|
|
977
977
|
* { box-sizing: border-box; }
|
|
978
978
|
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--fg); font: 15px/1.4 system-ui, sans-serif; }
|
|
979
979
|
#phone { position: relative; width: min(390px, 100vw); height: min(780px, 100vh); background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
|
|
@@ -995,8 +995,8 @@ body { margin: 0; min-height: 100vh; display: grid; place-items: center; backgro
|
|
|
995
995
|
.kv { display: flex; justify-content: space-between; gap: 12px; } .kv span:first-child { color: var(--muted); }
|
|
996
996
|
.stat b { display: block; font-size: 22px; } .stat span { color: var(--muted); font-size: 12px; }
|
|
997
997
|
button { font: inherit; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; }
|
|
998
|
-
button.primary { background: var(--accent); border-color: var(--accent); color:
|
|
999
|
-
button.on { border-color: var(--accent); color: var(--accent); }
|
|
998
|
+
button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
|
|
999
|
+
button.on { border-color: var(--accent); color: var(--accent-fg); }
|
|
1000
1000
|
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
1001
1001
|
.stepper { display: flex; align-items: center; justify-content: space-between; }
|
|
1002
1002
|
.stepper div { display: flex; align-items: center; gap: 10px; }
|
|
@@ -1014,7 +1014,7 @@ label.field { display: flex; flex-direction: column; gap: 6px; }
|
|
|
1014
1014
|
#studio section[hidden] { display: none; }
|
|
1015
1015
|
#ai-log { max-height: 360px; overflow: auto; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
|
|
1016
1016
|
#ai-log:empty::before { content: "Describe a change, for example: add traffic on the loop, make the bus red, or add a horn on Space."; color: var(--muted); }
|
|
1017
|
-
.ai-me { align-self: flex-end; background: var(--accent); color:
|
|
1017
|
+
.ai-me { align-self: flex-end; background: var(--accent); color: var(--on-accent); padding: 6px 10px; border-radius: 12px; max-width: 85%; white-space: pre-wrap; }
|
|
1018
1018
|
.ai-say { white-space: pre-wrap; }
|
|
1019
1019
|
.ai-step, .ai-file { color: var(--muted); font: 12px/1.4 ui-monospace, monospace; overflow-wrap: anywhere; }
|
|
1020
1020
|
.ai-error { color: #dc2626; font: 12px/1.4 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
@@ -1471,7 +1471,8 @@ function hostConstants(contentOrigin, engineSession, recordPrelude, locale) {
|
|
|
1471
1471
|
TICK_EVENT
|
|
1472
1472
|
};
|
|
1473
1473
|
let out = "";
|
|
1474
|
-
for (const [name, value] of Object.entries(constants))
|
|
1474
|
+
for (const [name, value] of Object.entries(constants))
|
|
1475
|
+
out += `const ${name} = ${escapeJsonForHtml(JSON.stringify(value))};
|
|
1475
1476
|
`;
|
|
1476
1477
|
return out;
|
|
1477
1478
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { RemoteError } from './chunk-
|
|
3
|
-
import { VERIFIED_SOURCE_STORAGE_QUOTA_BYTES, SOURCE_STORAGE_QUOTA_BYTES, UPLOAD_PART_BYTES, VERIFIED_UPLOAD_BYTES_PER_HOUR, UPLOAD_BYTES_PER_HOUR, MAX_CAPTURE_FILE_BYTES, MAX_SOURCE_FILE_BYTES, VERIFIED_MAX_SOURCE_SET_BYTES, MAX_SOURCE_SET_BYTES, sourceSetFromFiles, buildInteractive } from './chunk-
|
|
2
|
+
import { RemoteError } from './chunk-JNCEKW2Y.mjs';
|
|
3
|
+
import { VERIFIED_SOURCE_STORAGE_QUOTA_BYTES, SOURCE_STORAGE_QUOTA_BYTES, UPLOAD_PART_BYTES, VERIFIED_UPLOAD_BYTES_PER_HOUR, UPLOAD_BYTES_PER_HOUR, MAX_CAPTURE_FILE_BYTES, MAX_SOURCE_FILE_BYTES, VERIFIED_MAX_SOURCE_SET_BYTES, MAX_SOURCE_SET_BYTES, sourceSetFromFiles, buildInteractive } from './chunk-BTNVYAC4.mjs';
|
|
4
4
|
import { digestHex, sha256 } from './chunk-25ZPFHLF.mjs';
|
|
5
5
|
import { formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
6
|
-
import { ApiClient } from './chunk-
|
|
7
|
-
import { authConfigDir, readAuthOrNull } from './chunk-
|
|
8
|
-
import { CliError, CLI_ERROR_CODE } from './chunk-
|
|
6
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
7
|
+
import { authConfigDir, readAuthOrNull } from './chunk-GGPN4QYQ.mjs';
|
|
8
|
+
import { CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
9
9
|
import { generateKeyPairSync, createPrivateKey, sign, randomBytes, createPublicKey, verify } from 'crypto';
|
|
10
10
|
import { promises } from 'fs';
|
|
11
11
|
import path2 from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { loadScript, parseDevice, DEFAULT_DEVICE, DEFAULT_SEED, DEFAULT_FRAMES } from './chunk-
|
|
3
|
-
import { EMPTY_READINESS } from './chunk-
|
|
2
|
+
import { loadScript, parseDevice, DEFAULT_DEVICE, DEFAULT_SEED, DEFAULT_FRAMES } from './chunk-SZXO6YSX.mjs';
|
|
3
|
+
import { EMPTY_READINESS } from './chunk-XF3MGADK.mjs';
|
|
4
4
|
import { existsSync } from 'fs';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { parseEnvFile } from './chunk-
|
|
3
|
-
import { package_default } from './chunk-
|
|
4
|
-
import { gitDetectRoot, gitCurrentBranch, gitCurrentSha, gitStatusPorcelain } from './chunk-
|
|
2
|
+
import { parseEnvFile } from './chunk-ECGDRU56.mjs';
|
|
3
|
+
import { package_default } from './chunk-FV273ECI.mjs';
|
|
4
|
+
import { gitDetectRoot, gitCurrentBranch, gitCurrentSha, gitStatusPorcelain } from './chunk-EOOOXVHR.mjs';
|
|
5
5
|
import { parseArgs } from './chunk-XQAHREKO.mjs';
|
|
6
|
-
import { readAuthOrNull, readProjectLinkOrNull, readProjectState } from './chunk-
|
|
7
|
-
import { bold, dim,
|
|
6
|
+
import { readAuthOrNull, readProjectLinkOrNull, readProjectState } from './chunk-GGPN4QYQ.mjs';
|
|
7
|
+
import { bold, dim, orange, green, info, result, red } from './chunk-I7GEHLDD.mjs';
|
|
8
8
|
import { promises } from 'fs';
|
|
9
9
|
import path from 'path';
|
|
10
10
|
|
|
@@ -33,7 +33,13 @@ async function findFirstExisting(cwd, candidates) {
|
|
|
33
33
|
async function gatherAuth() {
|
|
34
34
|
const auth = await readAuthOrNull();
|
|
35
35
|
if (!auth) {
|
|
36
|
-
return {
|
|
36
|
+
return {
|
|
37
|
+
logged_in: false,
|
|
38
|
+
account_id: null,
|
|
39
|
+
business_id: null,
|
|
40
|
+
email: null,
|
|
41
|
+
api_base_url: null
|
|
42
|
+
};
|
|
37
43
|
}
|
|
38
44
|
return {
|
|
39
45
|
logged_in: true,
|
|
@@ -199,7 +205,9 @@ function renderIntrospection(snapshot) {
|
|
|
199
205
|
if (p.last_deployment) {
|
|
200
206
|
const d = p.last_deployment;
|
|
201
207
|
const shortSha = d.sha ? d.sha.slice(0, SHA_DISPLAY_LEN) : "?";
|
|
202
|
-
out.push(
|
|
208
|
+
out.push(
|
|
209
|
+
` ${" ".repeat(LABEL_WIDTH)}last deploy: ${d.environment ?? "?"} \xB7 ${shortSha} \xB7 ${d.id}`
|
|
210
|
+
);
|
|
203
211
|
}
|
|
204
212
|
} else {
|
|
205
213
|
out.push(` ${label("Project")}${check(false)} not linked ${dim("(cimplify link <id>)")}`);
|
|
@@ -244,7 +252,7 @@ function renderIntrospection(snapshot) {
|
|
|
244
252
|
}
|
|
245
253
|
if (snapshot.git) {
|
|
246
254
|
const g = snapshot.git;
|
|
247
|
-
const dirty = g.dirty ?
|
|
255
|
+
const dirty = g.dirty ? orange("dirty") : green("clean");
|
|
248
256
|
out.push(` ${label("Git")}${g.branch ?? "(no branch)"} \xB7 ${dirty}`);
|
|
249
257
|
}
|
|
250
258
|
return out;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { MANIFEST_FILE, LOCKFILE, serializeLockfile, currentLockfile } from './chunk-
|
|
2
|
+
import { MANIFEST_FILE, LOCKFILE, serializeLockfile, currentLockfile } from './chunk-HQPZQIWW.mjs';
|
|
3
3
|
import { quoteTomlString } from './chunk-KQNZKV6E.mjs';
|
|
4
|
-
import { PINNED_TYPESCRIPT_VERSION, PINNED_SDK_VERSION } from './chunk-
|
|
4
|
+
import { PINNED_TYPESCRIPT_VERSION, PINNED_SDK_VERSION } from './chunk-BGM7CH5G.mjs';
|
|
5
5
|
|
|
6
6
|
// src/interactives/templates/common.ts
|
|
7
7
|
var VITEST_VERSION = "^4.1.10";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { createProject, run as default, parseTemplate } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
2
|
+
export { createProject, run as default, parseTemplate } from './chunk-PQBALZUH.mjs';
|
|
3
|
+
import './chunk-ZG7NJLXN.mjs';
|
|
4
|
+
import './chunk-HQPZQIWW.mjs';
|
|
5
5
|
import './chunk-KQNZKV6E.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-BGM7CH5G.mjs';
|
|
7
7
|
import './chunk-25ZPFHLF.mjs';
|
|
8
8
|
import './chunk-SGT5IJVW.mjs';
|
|
9
9
|
import './chunk-XQAHREKO.mjs';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-I7GEHLDD.mjs';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { requireInteractiveProject, buildLocal, renderDiagnostics } from './chunk-
|
|
2
|
+
import { requireInteractiveProject, buildLocal, renderDiagnostics } from './chunk-BTNVYAC4.mjs';
|
|
3
3
|
import './chunk-VHK7WBO3.mjs';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-454RQ6NR.mjs';
|
|
5
5
|
import './chunk-JKECUAAV.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-HQPZQIWW.mjs';
|
|
7
7
|
import './chunk-KQNZKV6E.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-N2WZJX5P.mjs';
|
|
9
9
|
import './chunk-EYEMPIMP.mjs';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-BGM7CH5G.mjs';
|
|
11
11
|
import './chunk-25ZPFHLF.mjs';
|
|
12
12
|
import './chunk-SGT5IJVW.mjs';
|
|
13
|
-
import './chunk-
|
|
14
|
-
import { info, dim, result } from './chunk-
|
|
13
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
14
|
+
import { info, dim, result } from './chunk-I7GEHLDD.mjs';
|
|
15
15
|
|
|
16
16
|
// src/interactives/commands/credits.ts
|
|
17
17
|
async function run() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { detectPackageManager } from './chunk-
|
|
3
|
-
import { fetchRepoRecord, fetchCloneToken } from './chunk-
|
|
4
|
-
import { pollDeployment } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import { promptYesNo } from './chunk-
|
|
7
|
-
import { isManagedRemote, gitDetectRoot, gitStatusPorcelain, gitCurrentBranch, gitCurrentSha, gitGetRemoteUrl, gitPushToUrl, gitPush } from './chunk-
|
|
2
|
+
import { detectPackageManager } from './chunk-3LJG22FS.mjs';
|
|
3
|
+
import { fetchRepoRecord, fetchCloneToken } from './chunk-QQWYQ2HS.mjs';
|
|
4
|
+
import { pollDeployment } from './chunk-6CQMRZ2W.mjs';
|
|
5
|
+
import './chunk-ECGDRU56.mjs';
|
|
6
|
+
import { promptYesNo } from './chunk-XASDB7YS.mjs';
|
|
7
|
+
import { isManagedRemote, gitDetectRoot, gitStatusPorcelain, gitCurrentBranch, gitCurrentSha, gitGetRemoteUrl, gitPushToUrl, gitPush } from './chunk-EOOOXVHR.mjs';
|
|
8
8
|
import { isManagedRepoProvider, ENV_SCOPE, DEPLOY_TRIGGER, DEPLOYMENT_STATUS, TOKEN_PURPOSE } from './chunk-LLRUOIMU.mjs';
|
|
9
9
|
import { parseArgs, flagBool, flagString } from './chunk-XQAHREKO.mjs';
|
|
10
|
-
import { ApiClient } from './chunk-
|
|
11
|
-
import { readAuth, readProjectLink, writeProjectState } from './chunk-
|
|
12
|
-
import { info, dim, step, CliError, CLI_ERROR_CODE, success, result, EXIT_CODE } from './chunk-
|
|
10
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
11
|
+
import { readAuth, readProjectLink, writeProjectState } from './chunk-GGPN4QYQ.mjs';
|
|
12
|
+
import { info, dim, step, CliError, CLI_ERROR_CODE, success, result, EXIT_CODE } from './chunk-I7GEHLDD.mjs';
|
|
13
13
|
import { spawn } from 'child_process';
|
|
14
14
|
import { promises } from 'fs';
|
|
15
15
|
import path from 'path';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
export { run as default, detectPackageManager, mergeEnvEntries } from './chunk-3LJG22FS.mjs';
|
|
3
|
+
import './chunk-ECGDRU56.mjs';
|
|
4
|
+
import './chunk-LLRUOIMU.mjs';
|
|
5
|
+
import './chunk-XQAHREKO.mjs';
|
|
6
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
7
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
8
|
+
import './chunk-I7GEHLDD.mjs';
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { FRAME_MS, DEFAULT_EPOCH_MS, DEFAULT_SEED, SCRIPT_SCHEMA, DEVICES, DEFAULT_HOLD_FRAMES, DEFAULT_DRAG_FRAMES } from './chunk-
|
|
3
|
-
import { startDevServer, devLocale, probeScript } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import { localEnvironmentName } from './chunk-
|
|
6
|
-
import { localDataDir } from './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
2
|
+
import { FRAME_MS, DEFAULT_EPOCH_MS, DEFAULT_SEED, SCRIPT_SCHEMA, DEVICES, DEFAULT_HOLD_FRAMES, DEFAULT_DRAG_FRAMES } from './chunk-SZXO6YSX.mjs';
|
|
3
|
+
import { startDevServer, devLocale, probeScript } from './chunk-XF3MGADK.mjs';
|
|
4
|
+
import './chunk-74QZQSCL.mjs';
|
|
5
|
+
import { localEnvironmentName } from './chunk-ITDAICBY.mjs';
|
|
6
|
+
import { localDataDir } from './chunk-NEB372WD.mjs';
|
|
7
|
+
import './chunk-TYR4Q37L.mjs';
|
|
8
|
+
import './chunk-XZG3DTXV.mjs';
|
|
9
|
+
import './chunk-JNCEKW2Y.mjs';
|
|
10
|
+
import './chunk-BTNVYAC4.mjs';
|
|
11
11
|
import './chunk-VHK7WBO3.mjs';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-454RQ6NR.mjs';
|
|
13
13
|
import './chunk-JKECUAAV.mjs';
|
|
14
14
|
import './chunk-THATLMEX.mjs';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-HQPZQIWW.mjs';
|
|
16
16
|
import './chunk-KQNZKV6E.mjs';
|
|
17
|
-
import { refreshEngineRuntime } from './chunk-
|
|
18
|
-
import './chunk-
|
|
17
|
+
import { refreshEngineRuntime } from './chunk-QVR6V6QP.mjs';
|
|
18
|
+
import './chunk-N2WZJX5P.mjs';
|
|
19
19
|
import './chunk-EYEMPIMP.mjs';
|
|
20
|
-
import './chunk-
|
|
20
|
+
import './chunk-BGM7CH5G.mjs';
|
|
21
21
|
import './chunk-25ZPFHLF.mjs';
|
|
22
22
|
import { formatDiagnostic } from './chunk-SGT5IJVW.mjs';
|
|
23
23
|
import { parseArgs, flagBool, flagString } from './chunk-XQAHREKO.mjs';
|
|
24
|
-
import { ApiClient } from './chunk-
|
|
25
|
-
import { readAuthOrNull } from './chunk-
|
|
26
|
-
import { info, bold, dim, CliError, CLI_ERROR_CODE, warn, failure, success } from './chunk-
|
|
24
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
25
|
+
import { readAuthOrNull } from './chunk-GGPN4QYQ.mjs';
|
|
26
|
+
import { info, bold, dim, CliError, CLI_ERROR_CODE, warn, failure, success } from './chunk-I7GEHLDD.mjs';
|
|
27
27
|
import path2 from 'path';
|
|
28
28
|
import { promises } from 'fs';
|
|
29
29
|
import { randomInt } from 'crypto';
|