@wp-playground/cli 1.2.1 → 1.2.3

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.
@@ -0,0 +1,586 @@
1
+ import { logger as p, errorLogPath as G } from "@php-wasm/logger";
2
+ import { ProgressTracker as K, EmscriptenDownloadMonitor as ee } from "@php-wasm/progress";
3
+ import { SupportedPHPVersions as te, PHPResponse as re, consumeAPI as U, exposeAPI as oe, exposeSyncAPI as ie } from "@php-wasm/universal";
4
+ import { resolveRemoteBlueprint as ne, isBlueprintBundle as se, compileBlueprint as ae, runBlueprintSteps as le } from "@wp-playground/blueprints";
5
+ import { RecommendedPHPVersion as O, zipDirectory as j, unzipFile as pe } from "@wp-playground/common";
6
+ import b from "fs";
7
+ import g, { basename as de } from "path";
8
+ import { MessageChannel as ce, Worker as ue } from "worker_threads";
9
+ import { resolveWordPressRelease as fe } from "@wp-playground/wordpress";
10
+ import { p as D, a as me, e as we } from "./mounts-B-Qdcyyt.js";
11
+ import v from "fs-extra";
12
+ import he, { cpus as ye } from "os";
13
+ import be from "express";
14
+ import { FileLockManagerForNode as ge } from "@php-wasm/node";
15
+ import { jspi as Pe } from "wasm-feature-detect";
16
+ import ke from "yargs";
17
+ import { NodeJsFilesystem as ve, OverlayFilesystem as We, InMemoryFilesystem as Re, ZipFilesystem as Se } from "@wp-playground/storage";
18
+ const $ = g.join(he.homedir(), ".wordpress-playground");
19
+ async function xe(e) {
20
+ return await Z(
21
+ "https://github.com/WordPress/sqlite-database-integration/archive/refs/heads/develop.zip",
22
+ "sqlite.zip",
23
+ e
24
+ );
25
+ }
26
+ async function Z(e, r, t) {
27
+ const s = g.join($, r);
28
+ return v.existsSync(s) || (v.ensureDirSync($), await Le(e, s, t)), V(s);
29
+ }
30
+ async function Le(e, r, t) {
31
+ const i = (await t.monitorFetch(fetch(e))).body.getReader(), o = `${r}.partial`, a = v.createWriteStream(o);
32
+ for (; ; ) {
33
+ const { done: d, value: c } = await i.read();
34
+ if (c && a.write(c), d)
35
+ break;
36
+ }
37
+ a.close(), a.closed || await new Promise((d, c) => {
38
+ a.on("finish", () => {
39
+ v.renameSync(o, r), d(null);
40
+ }), a.on("error", (M) => {
41
+ v.removeSync(o), c(M);
42
+ });
43
+ });
44
+ }
45
+ function V(e, r) {
46
+ return new File([v.readFileSync(e)], de(e));
47
+ }
48
+ async function Fe(e) {
49
+ const r = be(), t = await new Promise((o, a) => {
50
+ const d = r.listen(e.port, () => {
51
+ const c = d.address();
52
+ c === null || typeof c == "string" ? a(new Error("Server address is not available")) : o(d);
53
+ });
54
+ });
55
+ r.use("/", async (o, a) => {
56
+ const d = await e.handleRequest({
57
+ url: o.url,
58
+ headers: Me(o),
59
+ method: o.method,
60
+ body: await Ce(o)
61
+ });
62
+ a.statusCode = d.httpStatusCode;
63
+ for (const c in d.headers)
64
+ a.setHeader(c, d.headers[c]);
65
+ a.end(d.bytes);
66
+ });
67
+ const i = t.address().port;
68
+ return await e.onBind(t, i);
69
+ }
70
+ const Ce = async (e) => await new Promise((r) => {
71
+ const t = [];
72
+ e.on("data", (s) => {
73
+ t.push(s);
74
+ }), e.on("end", () => {
75
+ r(new Uint8Array(Buffer.concat(t)));
76
+ });
77
+ }), Me = (e) => {
78
+ const r = {};
79
+ if (e.rawHeaders && e.rawHeaders.length)
80
+ for (let t = 0; t < e.rawHeaders.length; t += 2)
81
+ r[e.rawHeaders[t].toLowerCase()] = e.rawHeaders[t + 1];
82
+ return r;
83
+ }, Ie = "" + new URL("worker-thread-CYvRK9UX.js", import.meta.url).href;
84
+ class $e {
85
+ constructor(r) {
86
+ this.workerLoads = [], this.addWorker(r);
87
+ }
88
+ addWorker(r) {
89
+ this.workerLoads.push({
90
+ worker: r,
91
+ activeRequests: /* @__PURE__ */ new Set()
92
+ });
93
+ }
94
+ async handleRequest(r) {
95
+ let t = this.workerLoads[0];
96
+ for (let i = 1; i < this.workerLoads.length; i++) {
97
+ const o = this.workerLoads[i];
98
+ o.activeRequests.size < t.activeRequests.size && (t = o);
99
+ }
100
+ const s = t.worker.request(r);
101
+ return t.activeRequests.add(s), s.url = r.url, s.finally(() => {
102
+ t.activeRequests.delete(s);
103
+ });
104
+ }
105
+ }
106
+ function Ee(e) {
107
+ return /^latest$|^trunk$|^nightly$|^(?:(\d+)\.(\d+)(?:\.(\d+))?)((?:-beta(?:\d+)?)|(?:-RC(?:\d+)?))?$/.test(e);
108
+ }
109
+ class N extends Error {
110
+ constructor(r, t) {
111
+ super(r, {
112
+ ...t,
113
+ cause: {
114
+ isReportableInCLI: !0
115
+ }
116
+ }), this.isReportableInCLI = !0, this.isReportableInCLI = !0;
117
+ }
118
+ static getReportableCause(r) {
119
+ let t = 0;
120
+ const s = 15, i = [r];
121
+ for (; i.length > 0 && t < s; ) {
122
+ const o = i.pop();
123
+ if (o instanceof Error) {
124
+ if (o.isReportableInCLI)
125
+ return o;
126
+ Array.isArray(o.cause) ? i.push(...o.cause) : i.push(o.cause), t++, t >= s && p.warn(
127
+ "Recursion limit exceeded while checking if error is reportable"
128
+ );
129
+ }
130
+ }
131
+ return null;
132
+ }
133
+ }
134
+ async function Be({
135
+ sourceString: e,
136
+ blueprintMayReadAdjacentFiles: r
137
+ }) {
138
+ if (!e)
139
+ return;
140
+ if (e.startsWith("http://") || e.startsWith("https://"))
141
+ return await ne(e);
142
+ let t = g.resolve(process.cwd(), e);
143
+ if (!b.existsSync(t))
144
+ throw new Error(`Blueprint file does not exist: ${t}`);
145
+ const s = b.statSync(t);
146
+ if (s.isDirectory() && (t = g.join(t, "blueprint.json")), !s.isFile() && s.isSymbolicLink())
147
+ throw new Error(
148
+ `Blueprint path is neither a file nor a directory: ${t}`
149
+ );
150
+ const i = g.extname(t);
151
+ switch (i) {
152
+ case ".zip":
153
+ return Se.fromArrayBuffer(
154
+ b.readFileSync(t).buffer
155
+ );
156
+ case ".json": {
157
+ const o = b.readFileSync(t, "utf-8");
158
+ try {
159
+ JSON.parse(o);
160
+ } catch {
161
+ throw new Error(
162
+ `Blueprint file at ${t} is not a valid JSON file`
163
+ );
164
+ }
165
+ const a = g.dirname(t), d = new ve(a);
166
+ return new We([
167
+ new Re({
168
+ "blueprint.json": o
169
+ }),
170
+ /**
171
+ * Wrap the NodeJS filesystem to prevent access to local files
172
+ * unless the user explicitly allowed it.
173
+ */
174
+ {
175
+ read(c) {
176
+ if (!r)
177
+ throw new N(
178
+ `Error: Blueprint contained tried to read a local file at path "${c}" (via a resource of type "bundled"). Playground restricts access to local resources by default as a security measure.
179
+
180
+ You can allow this Blueprint to read files from the same parent directory by explicitly adding the --blueprint-may-read-adjacent-files option to your command.`
181
+ );
182
+ return d.read(c);
183
+ }
184
+ }
185
+ ]);
186
+ }
187
+ default:
188
+ throw new Error(
189
+ `Unsupported blueprint file extension: ${i}. Only .zip and .json files are supported.`
190
+ );
191
+ }
192
+ }
193
+ async function Ke() {
194
+ const e = ke(process.argv.slice(2)).usage("Usage: wp-playground <command> [options]").positional("command", {
195
+ describe: "Command to run",
196
+ choices: ["server", "run-blueprint", "build-snapshot"],
197
+ demandOption: !0
198
+ }).option("outfile", {
199
+ describe: "When building, write to this output file.",
200
+ type: "string",
201
+ default: "wordpress.zip"
202
+ }).option("port", {
203
+ describe: "Port to listen on when serving.",
204
+ type: "number",
205
+ default: 9400
206
+ }).option("php", {
207
+ describe: "PHP version to use.",
208
+ type: "string",
209
+ default: O,
210
+ choices: te
211
+ }).option("wp", {
212
+ describe: "WordPress version to use.",
213
+ type: "string",
214
+ default: "latest"
215
+ }).option("mount", {
216
+ describe: "Mount a directory to the PHP runtime (can be used multiple times). Format: /host/path:/vfs/path",
217
+ type: "array",
218
+ string: !0,
219
+ coerce: D
220
+ }).option("mount-before-install", {
221
+ describe: "Mount a directory to the PHP runtime before WordPress installation (can be used multiple times). Format: /host/path:/vfs/path",
222
+ type: "array",
223
+ string: !0,
224
+ coerce: D
225
+ }).option("mount-dir", {
226
+ describe: 'Mount a directory to the PHP runtime (can be used multiple times). Format: "/host/path" "/vfs/path"',
227
+ type: "array",
228
+ nargs: 2,
229
+ array: !0
230
+ // coerce: parseMountDirArguments,
231
+ }).option("mount-dir-before-install", {
232
+ describe: 'Mount a directory before WordPress installation (can be used multiple times). Format: "/host/path" "/vfs/path"',
233
+ type: "string",
234
+ nargs: 2,
235
+ array: !0,
236
+ coerce: me
237
+ }).option("login", {
238
+ describe: "Should log the user in",
239
+ type: "boolean",
240
+ default: !1
241
+ }).option("blueprint", {
242
+ describe: "Blueprint to execute.",
243
+ type: "string"
244
+ }).option("blueprint-may-read-adjacent-files", {
245
+ describe: 'Consent flag: Allow "bundled" resources in a local blueprint to read files in the same directory as the blueprint file.',
246
+ type: "boolean",
247
+ default: !1
248
+ }).option("skip-wordpress-setup", {
249
+ describe: "Do not download, unzip, and install WordPress. Useful for mounting a pre-configured WordPress directory at /wordpress.",
250
+ type: "boolean",
251
+ default: !1
252
+ }).option("skip-sqlite-setup", {
253
+ describe: "Skip the SQLite integration plugin setup to allow the WordPress site to use MySQL.",
254
+ type: "boolean",
255
+ default: !1
256
+ }).option("quiet", {
257
+ describe: "Do not output logs and progress messages.",
258
+ type: "boolean",
259
+ default: !1
260
+ }).option("debug", {
261
+ describe: "Print PHP error log content if an error occurs during Playground boot.",
262
+ type: "boolean",
263
+ default: !1
264
+ }).option("auto-mount", {
265
+ describe: "Automatically mount the current working directory. You can mount a WordPress directory, a plugin directory, a theme directory, a wp-content directory, or any directory containing PHP and HTML files.",
266
+ type: "boolean",
267
+ default: !1
268
+ }).option("follow-symlinks", {
269
+ describe: `Allow Playground to follow symlinks by automatically mounting symlinked directories and files encountered in mounted directories.
270
+ Warning: Following symlinks will expose files outside mounted directories to Playground and could be a security risk.`,
271
+ type: "boolean",
272
+ default: !1
273
+ }).option("experimentalTrace", {
274
+ describe: "Print detailed messages about system behavior to the console. Useful for troubleshooting.",
275
+ type: "boolean",
276
+ default: !1,
277
+ // Hide this option because we want to replace with a more general log-level flag.
278
+ hidden: !0
279
+ }).option("internal-cookie-store", {
280
+ describe: "Enable internal cookie handling. When enabled, Playground will manage cookies internally using an HttpCookieStore that persists cookies across requests. When disabled, cookies are handled externally (e.g., by a browser in Node.js environments).",
281
+ type: "boolean",
282
+ default: !1
283
+ }).option("xdebug", {
284
+ describe: "Enable Xdebug.",
285
+ type: "boolean",
286
+ default: !1
287
+ }).option("experimentalMultiWorker", {
288
+ describe: "Enable experimental multi-worker support which requires JSPI and a /wordpress directory backed by a real filesystem. Pass a positive number to specify the number of workers to use. Otherwise, default to the number of CPUs minus 1.",
289
+ type: "number",
290
+ coerce: (i) => i ?? ye().length - 1
291
+ }).showHelpOnFail(!1).check(async (i) => {
292
+ if (i.wp !== void 0 && !Ee(i.wp))
293
+ try {
294
+ new URL(i.wp);
295
+ } catch {
296
+ throw new Error(
297
+ 'Unrecognized WordPress version. Please use "latest", a URL, or a numeric version such as "6.2", "6.0.1", "6.2-beta1", or "6.2-RC1"'
298
+ );
299
+ }
300
+ if (i.experimentalMultiWorker !== void 0) {
301
+ if (i.experimentalMultiWorker <= 1)
302
+ throw new Error(
303
+ "The --experimentalMultiWorker flag must be a positive integer greater than 1."
304
+ );
305
+ const o = (a) => a.vfsPath === "/wordpress";
306
+ if (!i.mount?.some(o) && !i["mount-before-install"]?.some(
307
+ o
308
+ ))
309
+ throw new Error(
310
+ "Please mount a real filesystem directory as the /wordpress directory before using the --experimentalMultiWorker flag."
311
+ );
312
+ }
313
+ return !0;
314
+ });
315
+ e.wrap(e.terminalWidth());
316
+ const r = await e.argv, t = r._[0];
317
+ ["run-blueprint", "server", "build-snapshot"].includes(t) || (e.showHelp(), process.exit(1));
318
+ const s = {
319
+ ...r,
320
+ command: t,
321
+ blueprint: await Be({
322
+ sourceString: r.blueprint,
323
+ blueprintMayReadAdjacentFiles: r.blueprintMayReadAdjacentFiles
324
+ }),
325
+ mount: [...r.mount || [], ...r["mount-dir"] || []],
326
+ "mount-before-install": [
327
+ ...r["mount-before-install"] || [],
328
+ ...r["mount-dir-before-install"] || []
329
+ ]
330
+ };
331
+ try {
332
+ return Ae(s);
333
+ } catch (i) {
334
+ const o = N.getReportableCause(i);
335
+ if (o)
336
+ console.log(""), console.log(o.message), process.exit(1);
337
+ else
338
+ throw i;
339
+ }
340
+ }
341
+ async function Ae(e) {
342
+ let r, t;
343
+ const s = [];
344
+ e.autoMount && (e = we(e));
345
+ async function i(n) {
346
+ await t.run({
347
+ code: `<?php
348
+ $zip = new ZipArchive();
349
+ if(false === $zip->open('/tmp/build.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
350
+ throw new Exception('Failed to create ZIP');
351
+ }
352
+ $files = new RecursiveIteratorIterator(
353
+ new RecursiveDirectoryIterator('/wordpress')
354
+ );
355
+ foreach ($files as $file) {
356
+ echo $file . PHP_EOL;
357
+ if (!$file->isFile()) {
358
+ continue;
359
+ }
360
+ $zip->addFile($file->getPathname(), $file->getPathname());
361
+ }
362
+ $zip->close();
363
+
364
+ `
365
+ });
366
+ const l = await t.readFileAsBuffer("/tmp/build.zip");
367
+ b.writeFileSync(n, l);
368
+ }
369
+ async function o(n) {
370
+ const l = se(e.blueprint) ? e.blueprint : {
371
+ login: e.login,
372
+ ...e.blueprint,
373
+ preferredVersions: {
374
+ php: e.php ?? e?.blueprint?.preferredVersions?.php ?? O,
375
+ wp: e.wp ?? e?.blueprint?.preferredVersions?.wp ?? "latest",
376
+ ...e.blueprint?.preferredVersions || {}
377
+ }
378
+ }, f = new K();
379
+ let w = "", m = !1;
380
+ return f.addEventListener("progress", (u) => {
381
+ if (m)
382
+ return;
383
+ m = u.detail.progress === 100;
384
+ const R = Math.floor(u.detail.progress);
385
+ w = u.detail.caption || w || "Running the Blueprint";
386
+ const P = `${w.trim()} – ${R}%`;
387
+ e.quiet || d(
388
+ process.stdout,
389
+ P,
390
+ m
391
+ );
392
+ }), await ae(l, {
393
+ progress: f,
394
+ additionalSteps: n
395
+ });
396
+ }
397
+ let a = "";
398
+ function d(n, l, f) {
399
+ l !== a && (a = l, n.isTTY ? (n.cursorTo(0), n.write(l), n.clearLine(1), f && n.write(`
400
+ `)) : n.write(`${l}
401
+ `));
402
+ }
403
+ async function c(n) {
404
+ const l = new ue(n);
405
+ return new Promise(
406
+ (f, w) => {
407
+ l.once("message", function(m) {
408
+ m.command === "worker-script-initialized" && f({ worker: l, phpPort: m.phpPort });
409
+ }), l.once("error", function(m) {
410
+ console.error(m);
411
+ const u = new Error(
412
+ `Worker failed to load at ${n}. ${m.message ? `Original error: ${m.message}` : ""}`
413
+ );
414
+ u.filename = n, w(u);
415
+ });
416
+ }
417
+ );
418
+ }
419
+ function M(n) {
420
+ const l = new URL(
421
+ Ie,
422
+ import.meta.url
423
+ ), f = [];
424
+ for (let w = 0; w < n; w++)
425
+ f.push(c(l));
426
+ return Promise.all(f);
427
+ }
428
+ e.quiet && (p.handlers = []);
429
+ const W = await o(
430
+ e["additional-blueprint-steps"] || []
431
+ ), J = await import("fs-ext").then((n) => n.flockSync).catch(() => {
432
+ p.warn(
433
+ "The fs-ext package is not installed. Internal file locking will not be integrated with host OS file locking."
434
+ );
435
+ }), E = new ge(J);
436
+ async function B() {
437
+ const { port1: n, port2: l } = new ce();
438
+ return await Pe() ? oe(E, null, n) : await ie(E, n), l;
439
+ }
440
+ let A = !1;
441
+ return p.log("Starting a PHP server..."), Fe({
442
+ port: e.port,
443
+ onBind: async (n, l) => {
444
+ const f = `http://127.0.0.1:${l}`, w = e.experimentalMultiWorker ?? 1, m = M(w);
445
+ p.log(`Setting up WordPress ${e.wp}`);
446
+ let u;
447
+ const R = new ee();
448
+ if (!e.skipWordPressSetup) {
449
+ let h = !1;
450
+ R.addEventListener("progress", (k) => {
451
+ if (h)
452
+ return;
453
+ const { loaded: x, total: I } = k.detail, L = Math.floor(
454
+ Math.min(100, 100 * x / I)
455
+ );
456
+ h = L === 100, e.quiet || d(
457
+ process.stdout,
458
+ `Downloading WordPress ${L}%...`,
459
+ h
460
+ );
461
+ }), u = await fe(e.wp), p.log(
462
+ `Resolved WordPress release URL: ${u?.releaseUrl}`
463
+ );
464
+ }
465
+ const P = u && g.join(
466
+ $,
467
+ `prebuilt-wp-content-for-wp-${u.version}.zip`
468
+ ), H = u ? b.existsSync(P) ? V(P) : await Z(
469
+ u.releaseUrl,
470
+ `${u.version}.zip`,
471
+ R
472
+ ) : void 0;
473
+ p.log("Fetching SQLite integration plugin...");
474
+ const X = e.skipSqliteSetup ? void 0 : await xe(R), z = e.followSymlinks === !0, q = e.experimentalTrace === !0;
475
+ try {
476
+ const h = e["mount-before-install"] || [], k = e.mount || [], [x, ...I] = await m;
477
+ t = U(
478
+ x.phpPort
479
+ ), s.push({
480
+ playground: t,
481
+ worker: x.worker
482
+ }), await t.isConnected();
483
+ const L = await B();
484
+ p.log("Booting WordPress...");
485
+ const F = Math.floor(
486
+ Number.MAX_SAFE_INTEGER / w
487
+ );
488
+ if (await t.useFileLockManager(L), await t.boot({
489
+ phpVersion: W.versions.php,
490
+ wpVersion: W.versions.wp,
491
+ absoluteUrl: f,
492
+ mountsBeforeWpInstall: h,
493
+ mountsAfterWpInstall: k,
494
+ wordPressZip: H && await H.arrayBuffer(),
495
+ sqliteIntegrationPluginZip: await X.arrayBuffer(),
496
+ firstProcessId: 0,
497
+ processIdSpaceLength: F,
498
+ followSymlinks: z,
499
+ trace: q,
500
+ internalCookieStore: e.internalCookieStore,
501
+ withXdebug: e.xdebug
502
+ }), u && !e["mount-before-install"] && !b.existsSync(P) && (p.log(
503
+ "Caching preinstalled WordPress for the next boot..."
504
+ ), b.writeFileSync(
505
+ P,
506
+ await j(t, "/wordpress")
507
+ ), p.log("Cached!")), r = new $e(t), await t.isReady(), A = !0, p.log("Booted!"), W && (p.log("Running the Blueprint..."), await le(W, t), p.log("Finished running the blueprint")), e.command === "build-snapshot" ? (await i(e.outfile), p.log(`WordPress exported to ${e.outfile}`), process.exit(0)) : e.command === "run-blueprint" && (p.log("Blueprint executed"), process.exit(0)), e.experimentalMultiWorker && e.experimentalMultiWorker > 1) {
508
+ p.log("Preparing additional workers...");
509
+ const T = await j(
510
+ t,
511
+ "/internal"
512
+ ), S = F;
513
+ await Promise.all(
514
+ I.map(async (C, _) => {
515
+ const y = U(C.phpPort);
516
+ s.push({
517
+ playground: y,
518
+ worker: C.worker
519
+ }), await y.isConnected();
520
+ const Y = S + _ * F, Q = await B();
521
+ await y.useFileLockManager(
522
+ Q
523
+ ), await y.boot({
524
+ phpVersion: W.versions.php,
525
+ absoluteUrl: f,
526
+ mountsBeforeWpInstall: h,
527
+ mountsAfterWpInstall: k,
528
+ // Skip WordPress zip because we share the /wordpress directory
529
+ // populated by the initial worker.
530
+ wordPressZip: void 0,
531
+ // Skip SQLite integration plugin for now because we
532
+ // will copy it from primary's `/internal` directory.
533
+ sqliteIntegrationPluginZip: void 0,
534
+ dataSqlPath: "/wordpress/wp-content/database/.ht.sqlite",
535
+ firstProcessId: Y,
536
+ processIdSpaceLength: F,
537
+ followSymlinks: z,
538
+ trace: q,
539
+ internalCookieStore: e.internalCookieStore,
540
+ withXdebug: e.xdebug
541
+ }), await y.isReady(), await y.writeFile(
542
+ "/tmp/internal.zip",
543
+ T
544
+ ), await pe(
545
+ y,
546
+ "/tmp/internal.zip",
547
+ "/internal"
548
+ ), await y.unlink(
549
+ "/tmp/internal.zip"
550
+ ), r.addWorker(y);
551
+ })
552
+ ), p.log("Ready!");
553
+ }
554
+ return p.log(`WordPress is running on ${f}`), {
555
+ playground: t,
556
+ server: n,
557
+ [Symbol.asyncDispose]: async function() {
558
+ await Promise.all(
559
+ s.map(
560
+ async ({ playground: S, worker: C }) => {
561
+ await S.dispose(), await C.terminate();
562
+ }
563
+ )
564
+ ), await new Promise((S) => n.close(S));
565
+ }
566
+ };
567
+ } catch (h) {
568
+ if (!e.debug)
569
+ throw h;
570
+ const k = await t.readFileAsText(G);
571
+ throw new Error(k, { cause: h });
572
+ }
573
+ },
574
+ async handleRequest(n) {
575
+ return A ? await r.handleRequest(n) : re.forHttpCode(
576
+ 502,
577
+ "WordPress is not ready yet"
578
+ );
579
+ }
580
+ });
581
+ }
582
+ export {
583
+ Ke as p,
584
+ Ae as r
585
+ };
586
+ //# sourceMappingURL=run-cli-W9VNXESj.js.map