@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
package/dist/dispatcher.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { TEMPLATES } from './chunk-
|
|
3
|
-
import { package_default } from './chunk-
|
|
2
|
+
import { TEMPLATES } from './chunk-LJDIQ4PF.mjs';
|
|
3
|
+
import { package_default } from './chunk-3JOJZ2MK.mjs';
|
|
4
4
|
|
|
5
5
|
// src/dispatcher.ts
|
|
6
6
|
var VERSION = package_default.version ?? "unknown";
|
|
@@ -192,61 +192,61 @@ Local mock server (custom demo data, no fork needed):
|
|
|
192
192
|
cimplify mock --seed-module ./seed.ts Boot from a seed module (defineSeed from @cimplify/sdk/mock)
|
|
193
193
|
`;
|
|
194
194
|
var COMMANDS = {
|
|
195
|
-
login: () => import('./login-
|
|
196
|
-
logout: () => import('./logout-
|
|
197
|
-
whoami: () => import('./whoami-
|
|
198
|
-
projects: () => import('./projects-
|
|
199
|
-
link: () => import('./link-
|
|
200
|
-
unlink: () => import('./unlink-
|
|
201
|
-
deploy: () => import('./deploy-
|
|
202
|
-
cancel: () => import('./cancel-
|
|
203
|
-
rollback: () => import('./rollback-
|
|
204
|
-
env: () => import('./env-
|
|
205
|
-
domains: () => import('./domains-
|
|
206
|
-
logs: () => import('./logs-
|
|
207
|
-
status: () => import('./status-
|
|
208
|
-
dev: () => import('./dev-
|
|
209
|
-
mock: () => import('./mock-
|
|
210
|
-
introspect: () => import('./introspect-
|
|
211
|
-
inspect: () => import('./inspect-
|
|
212
|
-
doctor: () => import('./doctor-
|
|
213
|
-
lint: () => import('./lint-
|
|
214
|
-
explain: () => import('./explain-
|
|
215
|
-
mcp: () => import('./mcp-
|
|
216
|
-
assets: () => import('./assets-
|
|
217
|
-
repo: () => import('./repo-
|
|
218
|
-
list: () => import('./list-
|
|
219
|
-
add: () => import('./add-
|
|
220
|
-
update: () => import('./update-
|
|
221
|
-
upgrade: () => import('./update-
|
|
222
|
-
"auth-step-up": () => import('./auth-step-up-
|
|
195
|
+
login: () => import('./login-LW7CHZDZ.mjs'),
|
|
196
|
+
logout: () => import('./logout-6U6OP5DM.mjs'),
|
|
197
|
+
whoami: () => import('./whoami-WHLGCVRC.mjs'),
|
|
198
|
+
projects: () => import('./projects-HYITVEXS.mjs'),
|
|
199
|
+
link: () => import('./link-TE2FUX74.mjs'),
|
|
200
|
+
unlink: () => import('./unlink-BND47IWW.mjs'),
|
|
201
|
+
deploy: () => import('./deploy-CNRORHJ7.mjs'),
|
|
202
|
+
cancel: () => import('./cancel-UMKR274A.mjs'),
|
|
203
|
+
rollback: () => import('./rollback-OM64O67F.mjs'),
|
|
204
|
+
env: () => import('./env-LJ3DCAA5.mjs'),
|
|
205
|
+
domains: () => import('./domains-JIHFKDWR.mjs'),
|
|
206
|
+
logs: () => import('./logs-HKH4H6PT.mjs'),
|
|
207
|
+
status: () => import('./status-5D4RR3MM.mjs'),
|
|
208
|
+
dev: () => import('./dev-RXSBY7U4.mjs'),
|
|
209
|
+
mock: () => import('./mock-5H3CVPHC.mjs'),
|
|
210
|
+
introspect: () => import('./introspect-QJNR3YXJ.mjs'),
|
|
211
|
+
inspect: () => import('./inspect-ZOLZHNSZ.mjs'),
|
|
212
|
+
doctor: () => import('./doctor-SRXVQ4GT.mjs'),
|
|
213
|
+
lint: () => import('./lint-735IPMC6.mjs'),
|
|
214
|
+
explain: () => import('./explain-QHD4UZTB.mjs'),
|
|
215
|
+
mcp: () => import('./mcp-CKGZK2BS.mjs'),
|
|
216
|
+
assets: () => import('./assets-MPESJSUV.mjs'),
|
|
217
|
+
repo: () => import('./repo-FG3CMZQS.mjs'),
|
|
218
|
+
list: () => import('./list-CHYY2P4T.mjs'),
|
|
219
|
+
add: () => import('./add-JX2GXWXU.mjs'),
|
|
220
|
+
update: () => import('./update-EFL3OF44.mjs'),
|
|
221
|
+
upgrade: () => import('./update-EFL3OF44.mjs'),
|
|
222
|
+
"auth-step-up": () => import('./auth-step-up-VJAFGSW6.mjs')
|
|
223
223
|
};
|
|
224
224
|
var INTERACTIVE_MANIFEST = "interactive.toml";
|
|
225
225
|
var INTERACTIVE_COMMANDS = {
|
|
226
|
-
create: () => import('./create-
|
|
227
|
-
build: () => import('./build-
|
|
228
|
-
test: () => import('./test-
|
|
229
|
-
publish: () => import('./publish-
|
|
230
|
-
dev: () => import('./dev-
|
|
231
|
-
status: () => import('./status-
|
|
232
|
-
logs: () => import('./logs-
|
|
233
|
-
rollback: () => import('./rollback-
|
|
234
|
-
testers: () => import('./testers-
|
|
235
|
-
env: () => import('./env-
|
|
236
|
-
keys: () => import('./keys-
|
|
237
|
-
add: () => import('./add-
|
|
238
|
-
workshop: () => import('./workshop-
|
|
239
|
-
outdated: () => import('./outdated-
|
|
240
|
-
lock: () => import('./lock-
|
|
241
|
-
credits: () => import('./credits-
|
|
242
|
-
ai: () => import('./ai-
|
|
243
|
-
lines: () => import('./lines-
|
|
244
|
-
scene: () => import('./scene-
|
|
245
|
-
port: () => import('./port-
|
|
246
|
-
remix: () => import('./remix-
|
|
247
|
-
capture: () => import('./capture-
|
|
248
|
-
inspect: () => import('./inspect-
|
|
249
|
-
kernel: () => import('./kernel-
|
|
226
|
+
create: () => import('./create-3TGG7B3X.mjs'),
|
|
227
|
+
build: () => import('./build-E7RRQWVF.mjs'),
|
|
228
|
+
test: () => import('./test-W6MURUGZ.mjs'),
|
|
229
|
+
publish: () => import('./publish-DZRR5A5X.mjs'),
|
|
230
|
+
dev: () => import('./dev-YLYC6B7R.mjs'),
|
|
231
|
+
status: () => import('./status-AKI6E3JK.mjs'),
|
|
232
|
+
logs: () => import('./logs-SCQC5HNO.mjs'),
|
|
233
|
+
rollback: () => import('./rollback-H7Q4XYGX.mjs'),
|
|
234
|
+
testers: () => import('./testers-EI32JB5F.mjs'),
|
|
235
|
+
env: () => import('./env-R72AHBT2.mjs'),
|
|
236
|
+
keys: () => import('./keys-WKOQ4KQE.mjs'),
|
|
237
|
+
add: () => import('./add-C3DPTVH3.mjs'),
|
|
238
|
+
workshop: () => import('./workshop-F2T4IDOU.mjs'),
|
|
239
|
+
outdated: () => import('./outdated-T7QW6F3Z.mjs'),
|
|
240
|
+
lock: () => import('./lock-XVR3RRZ6.mjs'),
|
|
241
|
+
credits: () => import('./credits-MEG7V5DI.mjs'),
|
|
242
|
+
ai: () => import('./ai-HUZTVJIQ.mjs'),
|
|
243
|
+
lines: () => import('./lines-I6ZB2IOU.mjs'),
|
|
244
|
+
scene: () => import('./scene-QTHT3ZPL.mjs'),
|
|
245
|
+
port: () => import('./port-24R7ZNP4.mjs'),
|
|
246
|
+
remix: () => import('./remix-4HVXRIEB.mjs'),
|
|
247
|
+
capture: () => import('./capture-TK4NIUYM.mjs'),
|
|
248
|
+
inspect: () => import('./inspect-PYLYN45K.mjs'),
|
|
249
|
+
kernel: () => import('./kernel-IC4ZC54Z.mjs')
|
|
250
250
|
};
|
|
251
251
|
var INTERACTIVE_ONLY = /* @__PURE__ */ new Set(["create", "build", "test", "publish", "testers", "keys", "workshop", "ai", "lines", "scene", "port", "capture", "remix", "lock", "kernel"]);
|
|
252
252
|
async function interactiveLoader(sub) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { gatherIntrospection } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
2
|
+
import { gatherIntrospection } from './chunk-LOH7C6ZO.mjs';
|
|
3
|
+
import './chunk-ECGDRU56.mjs';
|
|
4
|
+
import './chunk-3JOJZ2MK.mjs';
|
|
5
|
+
import './chunk-EOOOXVHR.mjs';
|
|
6
6
|
import './chunk-LLRUOIMU.mjs';
|
|
7
7
|
import { parseArgs, flagBool } from './chunk-XQAHREKO.mjs';
|
|
8
|
-
import { SDK_ENV_API_URL, DEFAULT_API_BASE_URL, ApiClient, ENV_API_BASE_URL } from './chunk-
|
|
9
|
-
import { readAuthOrNull } from './chunk-
|
|
10
|
-
import { bold, dim, info, result, isCliError, CLI_ERROR_CODE, red,
|
|
8
|
+
import { SDK_ENV_API_URL, DEFAULT_API_BASE_URL, ApiClient, ENV_API_BASE_URL } from './chunk-XBQ4LO2N.mjs';
|
|
9
|
+
import { readAuthOrNull } from './chunk-GGPN4QYQ.mjs';
|
|
10
|
+
import { bold, dim, info, result, isCliError, CLI_ERROR_CODE, red, orange, green } from './chunk-I7GEHLDD.mjs';
|
|
11
11
|
import { promises } from 'fs';
|
|
12
12
|
import path from 'path';
|
|
13
13
|
|
|
@@ -291,7 +291,7 @@ function levelGlyph(level) {
|
|
|
291
291
|
case "ok":
|
|
292
292
|
return green("\u2713");
|
|
293
293
|
case "warn":
|
|
294
|
-
return
|
|
294
|
+
return orange("!");
|
|
295
295
|
case "fail":
|
|
296
296
|
return red("\u2717");
|
|
297
297
|
case "skip":
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { promptYesNo } from './chunk-
|
|
2
|
+
import { promptYesNo } from './chunk-XASDB7YS.mjs';
|
|
3
3
|
import { ENV_SCOPE, DOMAIN_TYPE } from './chunk-LLRUOIMU.mjs';
|
|
4
4
|
import { parseArgs, flagBool, flagString } from './chunk-XQAHREKO.mjs';
|
|
5
|
-
import { ApiClient } from './chunk-
|
|
6
|
-
import { readAuth, readProjectLink } from './chunk-
|
|
7
|
-
import { CliError, CLI_ERROR_CODE, result, info, dim, bold, success } from './chunk-
|
|
5
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
6
|
+
import { readAuth, readProjectLink } from './chunk-GGPN4QYQ.mjs';
|
|
7
|
+
import { CliError, CLI_ERROR_CODE, result, info, dim, bold, success } from './chunk-I7GEHLDD.mjs';
|
|
8
8
|
|
|
9
9
|
// src/commands/domains.ts
|
|
10
10
|
var SUB_LS = "ls";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
export { ENGINE_RUNTIME_FILES_ROUTE, ENGINE_RUNTIME_ROUTE, ensureEngineRuntime, refreshEngineRuntime } from './chunk-QVR6V6QP.mjs';
|
|
3
|
+
import './chunk-N2WZJX5P.mjs';
|
|
4
|
+
import './chunk-EYEMPIMP.mjs';
|
|
5
|
+
import './chunk-BGM7CH5G.mjs';
|
|
6
|
+
import './chunk-25ZPFHLF.mjs';
|
|
7
|
+
import './chunk-SGT5IJVW.mjs';
|
|
8
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
9
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
10
|
+
import './chunk-I7GEHLDD.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { formatEnvFile, parseEnvFile, parseKeyValueArg } from './chunk-
|
|
3
|
-
import { promptYesNo } from './chunk-
|
|
2
|
+
import { formatEnvFile, parseEnvFile, parseKeyValueArg } from './chunk-ECGDRU56.mjs';
|
|
3
|
+
import { promptYesNo } from './chunk-XASDB7YS.mjs';
|
|
4
4
|
import { ENV_SCOPE, PUBLIC_ENV_PREFIX, SECRET_MASK } 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, info, dim, result, bold, success } from './chunk-
|
|
6
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
7
|
+
import { readAuth, readProjectLink } from './chunk-GGPN4QYQ.mjs';
|
|
8
|
+
import { CliError, CLI_ERROR_CODE, info, dim, result, bold, success } from './chunk-I7GEHLDD.mjs';
|
|
9
9
|
import { promises } from 'fs';
|
|
10
10
|
import path from 'path';
|
|
11
11
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
export { run as default, localEnvironmentName, parseEnvCommand, renderDiff, renderEnvOutcome, runEnvCommand } from './chunk-ITDAICBY.mjs';
|
|
3
|
+
import './chunk-NEB372WD.mjs';
|
|
4
|
+
import './chunk-JNCEKW2Y.mjs';
|
|
5
|
+
import './chunk-BTNVYAC4.mjs';
|
|
6
|
+
import './chunk-VHK7WBO3.mjs';
|
|
7
|
+
import './chunk-454RQ6NR.mjs';
|
|
8
|
+
import './chunk-JKECUAAV.mjs';
|
|
9
|
+
import './chunk-HQPZQIWW.mjs';
|
|
10
|
+
import './chunk-KQNZKV6E.mjs';
|
|
11
|
+
import './chunk-N2WZJX5P.mjs';
|
|
12
|
+
import './chunk-EYEMPIMP.mjs';
|
|
13
|
+
import './chunk-BGM7CH5G.mjs';
|
|
14
|
+
import './chunk-25ZPFHLF.mjs';
|
|
15
|
+
import './chunk-SGT5IJVW.mjs';
|
|
16
|
+
import './chunk-XQAHREKO.mjs';
|
|
17
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
18
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
19
|
+
import './chunk-I7GEHLDD.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { package_default } from './chunk-
|
|
2
|
+
import { package_default } from './chunk-3JOJZ2MK.mjs';
|
|
3
3
|
import { parseArgs } from './chunk-XQAHREKO.mjs';
|
|
4
|
-
import { bold, dim, info, result, CliError, CLI_ERROR_CODE } from './chunk-
|
|
4
|
+
import { bold, dim, info, result, CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
5
5
|
|
|
6
6
|
// src/embedded-docs.ts
|
|
7
7
|
var TOPICS = [
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { commonOptions } from './chunk-
|
|
3
|
-
import { prepareSession, runSession, FINAL_CAPTURE } from './chunk-
|
|
4
|
-
import { SessionError } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import { requireInteractiveProject, workPath } from './chunk-
|
|
2
|
+
import { commonOptions } from './chunk-PVW5D5AW.mjs';
|
|
3
|
+
import { prepareSession, runSession, FINAL_CAPTURE } from './chunk-JTYVGORV.mjs';
|
|
4
|
+
import { SessionError } from './chunk-SZXO6YSX.mjs';
|
|
5
|
+
import './chunk-XF3MGADK.mjs';
|
|
6
|
+
import './chunk-74QZQSCL.mjs';
|
|
7
|
+
import './chunk-NEB372WD.mjs';
|
|
8
|
+
import './chunk-TYR4Q37L.mjs';
|
|
9
|
+
import './chunk-XZG3DTXV.mjs';
|
|
10
|
+
import './chunk-JNCEKW2Y.mjs';
|
|
11
|
+
import { requireInteractiveProject, workPath } from './chunk-BTNVYAC4.mjs';
|
|
12
12
|
import './chunk-VHK7WBO3.mjs';
|
|
13
|
-
import { readLoopProfile, LOOP_PROFILE_FILE, HOT_MS_PER_FRAME, HOT_ROWS_PER_CALL } from './chunk-
|
|
13
|
+
import { readLoopProfile, LOOP_PROFILE_FILE, HOT_MS_PER_FRAME, HOT_ROWS_PER_CALL } from './chunk-454RQ6NR.mjs';
|
|
14
14
|
import './chunk-JKECUAAV.mjs';
|
|
15
15
|
import { compactReport, formatFinding } from './chunk-THATLMEX.mjs';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-HQPZQIWW.mjs';
|
|
17
17
|
import './chunk-KQNZKV6E.mjs';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
18
|
+
import './chunk-QVR6V6QP.mjs';
|
|
19
|
+
import './chunk-N2WZJX5P.mjs';
|
|
20
20
|
import './chunk-EYEMPIMP.mjs';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-BGM7CH5G.mjs';
|
|
22
22
|
import './chunk-25ZPFHLF.mjs';
|
|
23
23
|
import './chunk-SGT5IJVW.mjs';
|
|
24
24
|
import { parseArgs, flagBool } from './chunk-XQAHREKO.mjs';
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
27
|
-
import { isJsonMode, result, CliError, CLI_ERROR_CODE } from './chunk-
|
|
25
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
26
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
27
|
+
import { isJsonMode, result, CliError, CLI_ERROR_CODE } from './chunk-I7GEHLDD.mjs';
|
|
28
28
|
|
|
29
29
|
// src/interactives/kernels/loops/report.ts
|
|
30
30
|
var MS_DIGITS = 3;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { parseEnvFile } from './chunk-
|
|
2
|
+
import { parseEnvFile } from './chunk-ECGDRU56.mjs';
|
|
3
3
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
4
|
-
import { CliError, CLI_ERROR_CODE, isJsonMode, result, info, bold, dim,
|
|
4
|
+
import { CliError, CLI_ERROR_CODE, isJsonMode, result, info, bold, dim, orange, honey, green, red } from './chunk-I7GEHLDD.mjs';
|
|
5
5
|
import { promises } from 'fs';
|
|
6
6
|
import path from 'path';
|
|
7
7
|
import { createCimplifyClient } from '@cimplify/sdk';
|
|
@@ -245,7 +245,15 @@ function computeGaps(products, collections, categories, collectionMembers) {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
const empty_categories = categories.filter((c) => (productCountsByCategory.get(c.id) ?? 0) === 0).map((c) => ({ id: c.id, name: c.name }));
|
|
248
|
-
return {
|
|
248
|
+
return {
|
|
249
|
+
no_image,
|
|
250
|
+
no_description,
|
|
251
|
+
no_price,
|
|
252
|
+
no_collection,
|
|
253
|
+
no_tags,
|
|
254
|
+
empty_collections,
|
|
255
|
+
empty_categories
|
|
256
|
+
};
|
|
249
257
|
}
|
|
250
258
|
function buildCategoryTree(categories) {
|
|
251
259
|
const byParent = /* @__PURE__ */ new Map();
|
|
@@ -289,7 +297,8 @@ function shapeHints(d, source) {
|
|
|
289
297
|
if (d.gaps.empty_categories.length > 0) hints.push("has_empty_category");
|
|
290
298
|
const sampleSize = d.products.sample.length;
|
|
291
299
|
if (sampleSize > 0 && d.gaps.no_tags / sampleSize > 0.5) hints.push("untagged_majority");
|
|
292
|
-
if (sampleSize > 0 && d.gaps.no_collection / sampleSize > 0.5)
|
|
300
|
+
if (sampleSize > 0 && d.gaps.no_collection / sampleSize > 0.5)
|
|
301
|
+
hints.push("unmerchandised_majority");
|
|
293
302
|
if (d.gaps.no_image > 0) hints.push("has_image_gaps");
|
|
294
303
|
if (d.gaps.no_description > 0) hints.push("has_description_gaps");
|
|
295
304
|
if (d.gaps.no_price > 0) hints.push("has_price_gaps");
|
|
@@ -333,8 +342,12 @@ function renderHuman(d, m) {
|
|
|
333
342
|
);
|
|
334
343
|
info("");
|
|
335
344
|
info(` Products ${pad(d.totals.products, 5)} ${gapBadges(d.gaps)}`);
|
|
336
|
-
info(
|
|
337
|
-
|
|
345
|
+
info(
|
|
346
|
+
` Collections ${pad(d.totals.collections, 5)} ${emptyBadge(d.gaps.empty_collections, "empty")}`
|
|
347
|
+
);
|
|
348
|
+
info(
|
|
349
|
+
` Categories ${pad(d.totals.categories, 5)} ${emptyBadge(d.gaps.empty_categories, "empty")}`
|
|
350
|
+
);
|
|
338
351
|
info(` Tags ${pad(d.totals.distinct_tags, 5)} ${tagBadge(d.gaps.no_tags)}`);
|
|
339
352
|
info("");
|
|
340
353
|
if (d.tags.top.length > 0) {
|
|
@@ -344,8 +357,8 @@ function renderHuman(d, m) {
|
|
|
344
357
|
if (d.collections.length > 0) {
|
|
345
358
|
info(` ${dim("Collections")}`);
|
|
346
359
|
for (const c of d.collections.slice(0, 5)) {
|
|
347
|
-
const tag = c.product_count === 0 ? ` ${
|
|
348
|
-
info(` ${
|
|
360
|
+
const tag = c.product_count === 0 ? ` ${orange("\u26A0 empty")}` : "";
|
|
361
|
+
info(` ${honey("\u25B8")} ${c.name.padEnd(20)} ${dim(`${c.product_count} items`)}${tag}`);
|
|
349
362
|
}
|
|
350
363
|
if (d.collections.length > 5) info(` ${dim(`\u2026${d.collections.length - 5} more`)}`);
|
|
351
364
|
info("");
|
|
@@ -363,7 +376,9 @@ function renderHuman(d, m) {
|
|
|
363
376
|
info("");
|
|
364
377
|
}
|
|
365
378
|
if (m.sampled) {
|
|
366
|
-
info(
|
|
379
|
+
info(
|
|
380
|
+
` ${dim(`Gaps computed from first ${m.sample_size} products. Add --all for exact counts.`)}`
|
|
381
|
+
);
|
|
367
382
|
} else {
|
|
368
383
|
info(` ${dim("Gaps are exact (walked the full catalogue).")}`);
|
|
369
384
|
}
|
|
@@ -380,17 +395,17 @@ function gapBadges(g, _kind) {
|
|
|
380
395
|
if (g.no_description > 0) bits.push(`${g.no_description} no description`);
|
|
381
396
|
if (g.no_collection > 0) bits.push(`${g.no_collection} not in any collection`);
|
|
382
397
|
if (bits.length === 0) return dim("no gaps");
|
|
383
|
-
return
|
|
398
|
+
return orange(`\u26A0 ${bits.join(" \xB7 ")}`);
|
|
384
399
|
}
|
|
385
400
|
function emptyBadge(items, label) {
|
|
386
401
|
if (items.length === 0) return dim("no gaps");
|
|
387
402
|
const names = items.slice(0, 3).map((i) => i.name).join(", ");
|
|
388
403
|
const more = items.length > 3 ? `, \u2026${items.length - 3} more` : "";
|
|
389
|
-
return
|
|
404
|
+
return orange(`\u26A0 ${items.length} ${label} (${names}${more})`);
|
|
390
405
|
}
|
|
391
406
|
function tagBadge(untagged) {
|
|
392
407
|
if (untagged === 0) return dim("all tagged");
|
|
393
|
-
return
|
|
408
|
+
return orange(`\u26A0 ${untagged} products untagged`);
|
|
394
409
|
}
|
|
395
410
|
function pad(n, width) {
|
|
396
411
|
return String(n).padStart(width);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
export { run as default, extractMockSeed, gatherIntrospection, renderIntrospection } from './chunk-LOH7C6ZO.mjs';
|
|
3
|
+
import './chunk-ECGDRU56.mjs';
|
|
4
|
+
import './chunk-3JOJZ2MK.mjs';
|
|
5
|
+
import './chunk-EOOOXVHR.mjs';
|
|
6
|
+
import './chunk-LLRUOIMU.mjs';
|
|
7
|
+
import './chunk-XQAHREKO.mjs';
|
|
8
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
9
|
+
import './chunk-I7GEHLDD.mjs';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { kernelProgram, findSites, tunableConsts, tunableLiteral, compileSite, KernelError, metaOf } from './chunk-
|
|
3
|
-
import { ENGINE_RUNTIME_ROUTE, ENGINE_RUNTIME_FILES_ROUTE } from './chunk-
|
|
4
|
-
import { locateToolchain, engineCacheRoot, validManifest, canonicalBytes } from './chunk-
|
|
2
|
+
import { kernelProgram, findSites, tunableConsts, tunableLiteral, compileSite, KernelError, metaOf } from './chunk-454RQ6NR.mjs';
|
|
3
|
+
import { ENGINE_RUNTIME_ROUTE, ENGINE_RUNTIME_FILES_ROUTE } from './chunk-QVR6V6QP.mjs';
|
|
4
|
+
import { locateToolchain, engineCacheRoot, validManifest, canonicalBytes } from './chunk-N2WZJX5P.mjs';
|
|
5
5
|
import './chunk-EYEMPIMP.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-BGM7CH5G.mjs';
|
|
7
7
|
import { isDigest, sha256 } from './chunk-25ZPFHLF.mjs';
|
|
8
8
|
import './chunk-SGT5IJVW.mjs';
|
|
9
9
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
10
|
-
import { ApiClient } from './chunk-
|
|
11
|
-
import { readAuthOrNull } from './chunk-
|
|
12
|
-
import { CliError, CLI_ERROR_CODE, info, dim, bold, warn, success, result, isCliError } from './chunk-
|
|
10
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
11
|
+
import { readAuthOrNull } from './chunk-GGPN4QYQ.mjs';
|
|
12
|
+
import { CliError, CLI_ERROR_CODE, info, dim, bold, warn, success, result, isCliError } from './chunk-I7GEHLDD.mjs';
|
|
13
13
|
import { promises, existsSync, readFileSync } from 'fs';
|
|
14
14
|
import path5 from 'path';
|
|
15
15
|
import { spawnSync } from 'child_process';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { keyLabel } from './chunk-
|
|
3
|
-
import { loadSigningKey, registrationFor, generateSigningKey, writeSigningKey, withRegistration, removeSigningKey, remoteFromEnv, signingKeyDir } from './chunk-
|
|
4
|
-
import { remoteCall } from './chunk-
|
|
5
|
-
import './chunk-
|
|
2
|
+
import { keyLabel } from './chunk-TYR4Q37L.mjs';
|
|
3
|
+
import { loadSigningKey, registrationFor, generateSigningKey, writeSigningKey, withRegistration, removeSigningKey, remoteFromEnv, signingKeyDir } from './chunk-XZG3DTXV.mjs';
|
|
4
|
+
import { remoteCall } from './chunk-JNCEKW2Y.mjs';
|
|
5
|
+
import './chunk-BTNVYAC4.mjs';
|
|
6
6
|
import './chunk-VHK7WBO3.mjs';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-454RQ6NR.mjs';
|
|
8
8
|
import './chunk-JKECUAAV.mjs';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-HQPZQIWW.mjs';
|
|
10
10
|
import './chunk-KQNZKV6E.mjs';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-QVR6V6QP.mjs';
|
|
12
|
+
import './chunk-N2WZJX5P.mjs';
|
|
13
13
|
import './chunk-EYEMPIMP.mjs';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-BGM7CH5G.mjs';
|
|
15
15
|
import './chunk-25ZPFHLF.mjs';
|
|
16
16
|
import './chunk-SGT5IJVW.mjs';
|
|
17
17
|
import { parseArgs } from './chunk-XQAHREKO.mjs';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import { CliError, CLI_ERROR_CODE, success, bold, result, info, dim } from './chunk-
|
|
18
|
+
import './chunk-XBQ4LO2N.mjs';
|
|
19
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
20
|
+
import { CliError, CLI_ERROR_CODE, success, bold, result, info, dim } from './chunk-I7GEHLDD.mjs';
|
|
21
21
|
|
|
22
22
|
// src/interactives/commands/keys.ts
|
|
23
23
|
var USAGE = "usage: cimplify keys list, cimplify keys rotate, or cimplify keys revoke <key_id>";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { fileProject } from './chunk-
|
|
3
|
-
import { requireInteractiveProject } from './chunk-
|
|
2
|
+
import { fileProject } from './chunk-74QZQSCL.mjs';
|
|
3
|
+
import { 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 './chunk-
|
|
7
|
+
import './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 './chunk-25ZPFHLF.mjs';
|
|
13
13
|
import './chunk-SGT5IJVW.mjs';
|
|
14
14
|
import { parseArgs } from './chunk-XQAHREKO.mjs';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import { bold, info, dim, result } from './chunk-
|
|
15
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
16
|
+
import { bold, info, dim, result } from './chunk-I7GEHLDD.mjs';
|
|
17
17
|
import path from 'path';
|
|
18
18
|
import { TEMPLATE_LINE_CEILINGS, measureGameLines } from '@cimplify/sdk/interactives/authoring';
|
|
19
19
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { gitDetectRoot, gitGetRemoteUrl, gitAddRemote } from './chunk-
|
|
2
|
+
import { gitDetectRoot, gitGetRemoteUrl, gitAddRemote } from './chunk-EOOOXVHR.mjs';
|
|
3
3
|
import './chunk-LLRUOIMU.mjs';
|
|
4
4
|
import { parseArgs } from './chunk-XQAHREKO.mjs';
|
|
5
|
-
import { ApiClient } from './chunk-
|
|
6
|
-
import { readAuth, writeProjectLink } from './chunk-
|
|
7
|
-
import { CliError, CLI_ERROR_CODE, success, info, dim, result } from './chunk-
|
|
5
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
6
|
+
import { readAuth, writeProjectLink } from './chunk-GGPN4QYQ.mjs';
|
|
7
|
+
import { CliError, CLI_ERROR_CODE, success, info, dim, result } from './chunk-I7GEHLDD.mjs';
|
|
8
8
|
|
|
9
9
|
// src/commands/link.ts
|
|
10
10
|
function projectEndpoint(businessId, projectId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { parseArgs, flagBool, flagString } from './chunk-XQAHREKO.mjs';
|
|
3
|
-
import { isJsonMode, result, info, CliError, CLI_ERROR_CODE, configureOutput, OUTPUT_MODE } from './chunk-
|
|
3
|
+
import { isJsonMode, result, info, CliError, CLI_ERROR_CODE, configureOutput, OUTPUT_MODE } from './chunk-I7GEHLDD.mjs';
|
|
4
4
|
import { promises } from 'fs';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import { parse } from '@babel/parser';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { REGISTRY_INDEX } from './chunk-
|
|
2
|
+
import { REGISTRY_INDEX } from './chunk-LJDIQ4PF.mjs';
|
|
3
3
|
import { parseArgs, flagBool } from './chunk-XQAHREKO.mjs';
|
|
4
|
-
import { CliError, CLI_ERROR_CODE, info, bold, dim,
|
|
4
|
+
import { CliError, CLI_ERROR_CODE, info, bold, dim, honey, result } from './chunk-I7GEHLDD.mjs';
|
|
5
5
|
|
|
6
6
|
// src/commands/list.ts
|
|
7
7
|
async function run(argv) {
|
|
@@ -10,13 +10,9 @@ async function run(argv) {
|
|
|
10
10
|
const componentsOnly = flagBool(args, "components");
|
|
11
11
|
const index = REGISTRY_INDEX;
|
|
12
12
|
if (!index || !Array.isArray(index.components)) {
|
|
13
|
-
throw new CliError(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{
|
|
17
|
-
remediation: "Rebuild the CLI with the SDK present: `cd packages/sdk && bun run build && cd ../cli && bun run build`."
|
|
18
|
-
}
|
|
19
|
-
);
|
|
13
|
+
throw new CliError(CLI_ERROR_CODE.NOT_FOUND, "Embedded SDK component registry is empty.", {
|
|
14
|
+
remediation: "Rebuild the CLI with the SDK present: `cd packages/sdk && bun run build && cd ../cli && bun run build`."
|
|
15
|
+
});
|
|
20
16
|
}
|
|
21
17
|
const filtered = index.components.filter((entry) => {
|
|
22
18
|
if (utilitiesOnly) return entry.type === "utility";
|
|
@@ -29,7 +25,7 @@ async function run(argv) {
|
|
|
29
25
|
info("");
|
|
30
26
|
for (const entry of filtered) {
|
|
31
27
|
const tag = entry.type === "utility" ? dim(" (utility)") : "";
|
|
32
|
-
info(` ${
|
|
28
|
+
info(` ${honey(entry.name.padEnd(maxName))} ${entry.description}${tag}`);
|
|
33
29
|
}
|
|
34
30
|
info("");
|
|
35
31
|
info(dim("Eject a component into your project with `cimplify add <name>`."));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { requireInteractiveProject } from './chunk-
|
|
2
|
+
import { requireInteractiveProject } 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 { LOCKFILE, parseLockfile, lockedMissingOperations, withCurrentContract, serializeLockfile } from './chunk-
|
|
6
|
+
import { LOCKFILE, parseLockfile, lockedMissingOperations, withCurrentContract, serializeLockfile } from './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
13
|
import { parseArgs, flagBool } from './chunk-XQAHREKO.mjs';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import { CliError, CLI_ERROR_CODE, success, info, dim, warn, result } from './chunk-
|
|
14
|
+
import './chunk-GGPN4QYQ.mjs';
|
|
15
|
+
import { CliError, CLI_ERROR_CODE, success, info, dim, warn, result } from './chunk-I7GEHLDD.mjs';
|
|
16
16
|
import { existsSync, promises } from 'fs';
|
|
17
17
|
import path from 'path';
|
|
18
18
|
import { CTX_CONTRACT_VERSION, CTX_CONTRACT_FINGERPRINT } from '@cimplify/sdk/interactives';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { generatePkcePair, openBrowser } from './chunk-
|
|
2
|
+
import { generatePkcePair, openBrowser } from './chunk-V3R2NYQR.mjs';
|
|
3
3
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
4
|
-
import { resolveBaseUrl, ApiClient } from './chunk-
|
|
5
|
-
import { writeAuth } from './chunk-
|
|
6
|
-
import { CliError, CLI_ERROR_CODE, success, result, isJsonMode, step, info, dim } from './chunk-
|
|
4
|
+
import { resolveBaseUrl, ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
5
|
+
import { writeAuth } from './chunk-GGPN4QYQ.mjs';
|
|
6
|
+
import { CliError, CLI_ERROR_CODE, success, result, isJsonMode, step, info, dim } from './chunk-I7GEHLDD.mjs';
|
|
7
7
|
import os from 'os';
|
|
8
8
|
|
|
9
9
|
var FLAG_API_KEY = "api-key";
|
|
@@ -27,7 +27,7 @@ async function run(argv) {
|
|
|
27
27
|
const scopes = parseScopeFlag(flagString(args, FLAG_SCOPE));
|
|
28
28
|
await loginWithBrowser(baseUrl, flagBool(args, FLAG_NO_BROWSER), scopes);
|
|
29
29
|
}
|
|
30
|
-
const { refreshEngineRuntime } = await import('./engine-runtime-fetch-
|
|
30
|
+
const { refreshEngineRuntime } = await import('./engine-runtime-fetch-QVKJVC3W.mjs');
|
|
31
31
|
await refreshEngineRuntime(null);
|
|
32
32
|
}
|
|
33
33
|
function parseScopeFlag(raw) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { clearAuth } from './chunk-
|
|
3
|
-
import { success, info, result } from './chunk-
|
|
2
|
+
import { clearAuth } from './chunk-GGPN4QYQ.mjs';
|
|
3
|
+
import { success, info, result } from './chunk-I7GEHLDD.mjs';
|
|
4
4
|
|
|
5
5
|
// src/commands/logout.ts
|
|
6
6
|
async function run(_argv) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { TERMINAL_DEPLOYMENT_STATUSES } from './chunk-LLRUOIMU.mjs';
|
|
3
3
|
import { parseArgs, flagString, flagBool } from './chunk-XQAHREKO.mjs';
|
|
4
|
-
import { ApiClient } from './chunk-
|
|
5
|
-
import { readAuth, readProjectLink, readProjectState } from './chunk-
|
|
6
|
-
import { CliError, CLI_ERROR_CODE, isJsonMode, failure, result, red } from './chunk-
|
|
4
|
+
import { ApiClient } from './chunk-XBQ4LO2N.mjs';
|
|
5
|
+
import { readAuth, readProjectLink, readProjectState } from './chunk-GGPN4QYQ.mjs';
|
|
6
|
+
import { CliError, CLI_ERROR_CODE, isJsonMode, failure, result, red } from './chunk-I7GEHLDD.mjs';
|
|
7
7
|
|
|
8
8
|
// src/commands/logs.ts
|
|
9
9
|
var FLAG_DEPLOYMENT = "deployment";
|