@prooflane/inspector-beta 0.1.0-beta.2 → 0.1.0-beta.5
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/bin/prooflane.mjs +6 -4
- package/dist/cli.mjs +709 -85
- package/dist/server.mjs +669 -11
- package/dist/ui/assets/index-CpAYKbz1.js +69 -0
- package/dist/ui/assets/index-FzYL8drR.css +1 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/index-Bm0mjeKI.css +0 -1
- package/dist/ui/assets/index-DTwb5Ebi.js +0 -69
package/bin/prooflane.mjs
CHANGED
|
@@ -20,10 +20,12 @@ const flag = (name) => {
|
|
|
20
20
|
return i >= 0 ? args[i + 1] : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
// The same npm package serves both experiences: no
|
|
24
|
-
//
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
// The same npm package serves both experiences: no arguments (or the two UI
|
|
24
|
+
// configuration flags) open the Inspector. Every named command is delegated to
|
|
25
|
+
// the public CLI, so every command shown in Command Deck runs headlessly from
|
|
26
|
+
// this package instead of silently launching the browser console.
|
|
27
|
+
const uiMode = args.length === 0 || args[0] === "--port" || args[0] === "--control-plane";
|
|
28
|
+
const cliMode = !uiMode;
|
|
27
29
|
if (cliMode) {
|
|
28
30
|
await import(join(dist, "cli.mjs"));
|
|
29
31
|
} else {
|