@powerhousedao/ph-cli 6.2.3-dev.89 → 6.2.3-dev.90
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/{check-BhShHuOZ.mjs → check-BdeBTBzN.mjs} +7 -7
- package/dist/check-BdeBTBzN.mjs.map +1 -0
- package/dist/{cli-connect-override-Dm55uCjR.mjs → cli-connect-override-CY_Zf7wG.mjs} +4 -4
- package/dist/{cli-connect-override-Dm55uCjR.mjs.map → cli-connect-override-CY_Zf7wG.mjs.map} +1 -1
- package/dist/cli.mjs +4 -4
- package/dist/{compound-BZb3tR_c-CAf7DitW.mjs → compound-BSOW40st-CWIT2x84.mjs} +26 -141
- package/dist/compound-BSOW40st-CWIT2x84.mjs.map +1 -0
- package/dist/{connect-build-DMKUu9mw.mjs → connect-build-6OzCZczA.mjs} +73 -5
- package/dist/connect-build-6OzCZczA.mjs.map +1 -0
- package/dist/{connect-config-B4yKClFe.mjs → connect-config-nuwLOG8I.mjs} +4 -4
- package/dist/{connect-config-B4yKClFe.mjs.map → connect-config-nuwLOG8I.mjs.map} +1 -1
- package/dist/connect-preview-DBcsUnSB.mjs +48 -0
- package/dist/connect-preview-DBcsUnSB.mjs.map +1 -0
- package/dist/{connect-studio-DaaQOVBr.mjs → connect-studio-B3amPdLj.mjs} +4 -4
- package/dist/{connect-studio-DaaQOVBr.mjs.map → connect-studio-B3amPdLj.mjs.map} +1 -1
- package/dist/{connect-studio-CJ8ImldI.mjs → connect-studio-Mhhe7W5g.mjs} +3 -3
- package/dist/{dist-tZHpCFn_.mjs → dist-Dw0p_A5j.mjs} +12 -308
- package/dist/dist-Dw0p_A5j.mjs.map +1 -0
- package/dist/{explain-4PQGC1BH.mjs → explain-BS1cIzPW.mjs} +5 -5
- package/dist/{explain-4PQGC1BH.mjs.map → explain-BS1cIzPW.mjs.map} +1 -1
- package/dist/{export-BfSsraKe.mjs → export-BkYfEgBr.mjs} +4 -4
- package/dist/{export-BfSsraKe.mjs.map → export-BkYfEgBr.mjs.map} +1 -1
- package/dist/{generate-all-CoLL-TJu.mjs → generate-all-sPjxvgql.mjs} +4 -4
- package/dist/{generate-all-CoLL-TJu.mjs.map → generate-all-sPjxvgql.mjs.map} +1 -1
- package/dist/{generate-desktop-shell-DzEzNspp.mjs → generate-desktop-shell-DR5vuZu9.mjs} +11 -6
- package/dist/generate-desktop-shell-DR5vuZu9.mjs.map +1 -0
- package/dist/{get-version-DnU4hhms.mjs → get-version-CdS7U_Q8.mjs} +4 -4
- package/dist/{get-version-DnU4hhms.mjs.map → get-version-CdS7U_Q8.mjs.map} +1 -1
- package/dist/{index-V0t4klsV.d.mts → index-BCSl7lP0.d.mts} +9 -19
- package/dist/{index-V0t4klsV.d.mts.map → index-BCSl7lP0.d.mts.map} +1 -1
- package/dist/{mcp-LUXNRVj3.mjs → mcp-DnKGQZ10.mjs} +4 -4
- package/dist/{mcp-LUXNRVj3.mjs.map → mcp-DnKGQZ10.mjs.map} +1 -1
- package/dist/{migrate-CIJaE3iZ.mjs → migrate-B9F_cSCA.mjs} +4 -4
- package/dist/{migrate-CIJaE3iZ.mjs.map → migrate-B9F_cSCA.mjs.map} +1 -1
- package/dist/{ph-cli-commands-B0V_uMll.mjs → ph-cli-commands-DQ7kfVak.mjs} +19 -19
- package/dist/{ph-cli-commands-B0V_uMll.mjs.map → ph-cli-commands-DQ7kfVak.mjs.map} +1 -1
- package/dist/ph-cli-commands-oih3l80w.mjs +4 -0
- package/dist/{run-sugar-fbWJGtkS.mjs → run-sugar-5TYsoc3n.mjs} +4 -4
- package/dist/{run-sugar-fbWJGtkS.mjs.map → run-sugar-5TYsoc3n.mjs.map} +1 -1
- package/dist/runners/connect.d.mts +6 -1206
- package/dist/runners/connect.d.mts.map +1 -1
- package/dist/runners/connect.mjs +21 -255
- package/dist/runners/connect.mjs.map +1 -1
- package/dist/runners/switchboard.d.mts +4 -1752
- package/dist/runners/switchboard.d.mts.map +1 -1
- package/dist/runners/switchboard.mjs +10 -722
- package/dist/runners/switchboard.mjs.map +1 -1
- package/dist/utils-TO9lB8Xs.mjs +4 -0
- package/dist/{vetra-BRyjbepO.mjs → vetra-CwhVV4_U.mjs} +13 -29
- package/dist/vetra-CwhVV4_U.mjs.map +1 -0
- package/package.json +16 -15
- package/dist/check-BhShHuOZ.mjs.map +0 -1
- package/dist/compound-BZb3tR_c-CAf7DitW.mjs.map +0 -1
- package/dist/connect-build-DMKUu9mw.mjs.map +0 -1
- package/dist/connect-plugin-configs-DazgTR0p.mjs +0 -50
- package/dist/connect-plugin-configs-DazgTR0p.mjs.map +0 -1
- package/dist/connect-preview-Ckoqw_XU.mjs +0 -231
- package/dist/connect-preview-Ckoqw_XU.mjs.map +0 -1
- package/dist/dist-tZHpCFn_.mjs.map +0 -1
- package/dist/generate-desktop-shell-DzEzNspp.mjs.map +0 -1
- package/dist/member-config-DJUsoeHe.mjs +0 -155
- package/dist/member-config-DJUsoeHe.mjs.map +0 -1
- package/dist/ph-cli-commands-KQDLKJ7k.mjs +0 -4
- package/dist/precompress-P6cJDPVC.mjs +0 -77
- package/dist/precompress-P6cJDPVC.mjs.map +0 -1
- package/dist/start-run-x-6Ccna-.mjs +0 -124
- package/dist/start-run-x-6Ccna-.mjs.map +0 -1
- package/dist/superseded-config-CbSTFun2.mjs +0 -53
- package/dist/superseded-config-CbSTFun2.mjs.map +0 -1
- package/dist/switchboard-B6h7BNWB.mjs +0 -4
- package/dist/switchboard-JcKcWTaT.mjs +0 -170
- package/dist/switchboard-JcKcWTaT.mjs.map +0 -1
- package/dist/utils-DAux4Ga7.mjs +0 -4
- package/dist/vetra-BRyjbepO.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9c8afe01-5085-5c63-bdae-725815e81260")}catch(e){}}();
|
|
3
3
|
import { n as skipInstallArgs } from "./install-added-dependencies-DnZFR3aE.mjs";
|
|
4
4
|
import { t as isUniformRunnersEnabled } from "./feature-flags-xwqcHEWC.mjs";
|
|
5
5
|
import { boolean, command, extendType, flag, multioption, number, oneOf, option, optional, positional, string, subcommands } from "cmd-ts";
|
|
@@ -129,7 +129,7 @@ This command:
|
|
|
129
129
|
args: connectStudioArgs,
|
|
130
130
|
handler: async (args) => {
|
|
131
131
|
if (args.debug) console.log(args);
|
|
132
|
-
const { runConnectStudio } = await import("./connect-studio-
|
|
132
|
+
const { runConnectStudio } = await import("./connect-studio-Mhhe7W5g.mjs");
|
|
133
133
|
await runConnectStudio(args, void 0, void 0, { reloadOnConfigChange: true });
|
|
134
134
|
}
|
|
135
135
|
});
|
|
@@ -151,7 +151,7 @@ Build has no read mode; passing only <key> without <value> errors out (use \`ph
|
|
|
151
151
|
args: connectBuildArgs,
|
|
152
152
|
handler: async (args) => {
|
|
153
153
|
if (args.debug) console.log(args);
|
|
154
|
-
const { runConnectBuild } = await import("./connect-build-
|
|
154
|
+
const { runConnectBuild } = await import("./connect-build-6OzCZczA.mjs");
|
|
155
155
|
await runConnectBuild(args);
|
|
156
156
|
process.exit(0);
|
|
157
157
|
}
|
|
@@ -164,7 +164,7 @@ NOTE: You must run \`ph connect build\` first
|
|
|
164
164
|
args: connectPreviewArgs,
|
|
165
165
|
handler: async (args) => {
|
|
166
166
|
if (args.debug) console.log(args);
|
|
167
|
-
const { runConnectPreview } = await import("./connect-preview-
|
|
167
|
+
const { runConnectPreview } = await import("./connect-preview-DBcsUnSB.mjs");
|
|
168
168
|
await runConnectPreview(args);
|
|
169
169
|
}
|
|
170
170
|
});
|
|
@@ -188,7 +188,7 @@ Writes go to:
|
|
|
188
188
|
`,
|
|
189
189
|
args: connectConfigArgs,
|
|
190
190
|
handler: async (args) => {
|
|
191
|
-
const { runConnectConfig } = await import("./connect-config-
|
|
191
|
+
const { runConnectConfig } = await import("./connect-config-nuwLOG8I.mjs");
|
|
192
192
|
await runConnectConfig(args);
|
|
193
193
|
}
|
|
194
194
|
});
|
|
@@ -213,7 +213,7 @@ const generateAllCmd = command({
|
|
|
213
213
|
description: "Instead of generating code, write a spec for every module into specs/ (one-shot migration to documents-as-source-of-truth)"
|
|
214
214
|
}) },
|
|
215
215
|
handler: async (args) => {
|
|
216
|
-
const { startGenerateAll } = await import("./generate-all-
|
|
216
|
+
const { startGenerateAll } = await import("./generate-all-sPjxvgql.mjs");
|
|
217
217
|
await startGenerateAll(args, process.cwd());
|
|
218
218
|
process.exit(0);
|
|
219
219
|
}
|
|
@@ -353,7 +353,7 @@ const generateDesktopShellCmd = command({
|
|
|
353
353
|
...debugArgs
|
|
354
354
|
},
|
|
355
355
|
handler: async (args) => {
|
|
356
|
-
const { startGenerateDesktopShell } = await import("./generate-desktop-shell-
|
|
356
|
+
const { startGenerateDesktopShell } = await import("./generate-desktop-shell-DR5vuZu9.mjs");
|
|
357
357
|
startGenerateDesktopShell(args, process.cwd());
|
|
358
358
|
process.exit(0);
|
|
359
359
|
}
|
|
@@ -770,7 +770,7 @@ const check = command({
|
|
|
770
770
|
description: "Check a host the way `ph run` would, without starting it: every load, validation, resolution and boot issue, grouped by host file. Exits 1 on any issue. `--env <file>` checks against that file alone.",
|
|
771
771
|
args: hostCheckArgs,
|
|
772
772
|
handler: async (args) => {
|
|
773
|
-
const { runHostCheck } = await import("./check-
|
|
773
|
+
const { runHostCheck } = await import("./check-BdeBTBzN.mjs");
|
|
774
774
|
const { output, exitCode } = await runHostCheck(args);
|
|
775
775
|
console.log(output);
|
|
776
776
|
process.exitCode = exitCode;
|
|
@@ -781,7 +781,7 @@ const exportCmd = command({
|
|
|
781
781
|
description: "Print a host as declared, with every member a compound names, as JSON (tokens unresolved). `--out` writes it to a file instead.",
|
|
782
782
|
args: hostExportArgs,
|
|
783
783
|
handler: async (args) => {
|
|
784
|
-
const { runHostExport } = await import("./export-
|
|
784
|
+
const { runHostExport } = await import("./export-BkYfEgBr.mjs");
|
|
785
785
|
const { stdout, stderr, exitCode } = await runHostExport(args);
|
|
786
786
|
if (stdout !== void 0) process.stdout.write(stdout);
|
|
787
787
|
if (stderr !== void 0) process.stderr.write(stderr);
|
|
@@ -927,7 +927,7 @@ Resolution order for the registry URL:
|
|
|
927
927
|
throw error;
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
|
-
const { updateConfigFile } = await import("./utils-
|
|
930
|
+
const { updateConfigFile } = await import("./utils-TO9lB8Xs.mjs");
|
|
931
931
|
try {
|
|
932
932
|
console.log("⚙️ Updating powerhouse config file...");
|
|
933
933
|
updateConfigFile(dependenciesWithVersions, projectPath, "install", args.local ? "local" : "registry", registryUrl, args.registry !== void 0);
|
|
@@ -1146,7 +1146,7 @@ way (\`ph vetra --restart\`), the next tool call connects to the new one.
|
|
|
1146
1146
|
`,
|
|
1147
1147
|
handler: async (args) => {
|
|
1148
1148
|
if (args.debug) console.error(args);
|
|
1149
|
-
const { startMcpLauncher } = await import("./mcp-
|
|
1149
|
+
const { startMcpLauncher } = await import("./mcp-DnKGQZ10.mjs");
|
|
1150
1150
|
await startMcpLauncher({
|
|
1151
1151
|
projectDir: args.projectDir,
|
|
1152
1152
|
startTimeoutSeconds: args.startTimeout
|
|
@@ -1161,7 +1161,7 @@ const migrate = command({
|
|
|
1161
1161
|
description: "Run migrations",
|
|
1162
1162
|
handler: async (args) => {
|
|
1163
1163
|
if (args.debug) console.log(args);
|
|
1164
|
-
const { startMigrate } = await import("./migrate-
|
|
1164
|
+
const { startMigrate } = await import("./migrate-B9F_cSCA.mjs");
|
|
1165
1165
|
await startMigrate(args);
|
|
1166
1166
|
process.exit(0);
|
|
1167
1167
|
}
|
|
@@ -1343,14 +1343,14 @@ const runHost = command({
|
|
|
1343
1343
|
},
|
|
1344
1344
|
handler: async (args) => {
|
|
1345
1345
|
if (args.explain !== void 0) {
|
|
1346
|
-
const { explainHost } = await import("./explain-
|
|
1346
|
+
const { explainHost } = await import("./explain-BS1cIzPW.mjs");
|
|
1347
1347
|
await explainHost({
|
|
1348
1348
|
host: args.host,
|
|
1349
1349
|
topic: args.explain
|
|
1350
1350
|
});
|
|
1351
1351
|
return;
|
|
1352
1352
|
}
|
|
1353
|
-
const { startRun } = await import("
|
|
1353
|
+
const { startRun } = await import("@powerhousedao/ph-run/start-run");
|
|
1354
1354
|
await startRun({
|
|
1355
1355
|
host: args.host,
|
|
1356
1356
|
verb: args.verb,
|
|
@@ -1394,7 +1394,7 @@ This command:
|
|
|
1394
1394
|
});
|
|
1395
1395
|
process.exit(0);
|
|
1396
1396
|
}
|
|
1397
|
-
const { startSwitchboard } = await import("
|
|
1397
|
+
const { startSwitchboard } = await import("@powerhousedao/ph-run/switchboard");
|
|
1398
1398
|
const { defaultDriveUrl, renown } = await startSwitchboard(args);
|
|
1399
1399
|
console.log(" ➜ Switchboard:", defaultDriveUrl);
|
|
1400
1400
|
if (renown) console.log(" ➜ Identity:", renown.did);
|
|
@@ -1441,7 +1441,7 @@ This command:
|
|
|
1441
1441
|
console.error("❌ Failed to uninstall dependencies");
|
|
1442
1442
|
throw error;
|
|
1443
1443
|
}
|
|
1444
|
-
const { removeStylesImports, updateConfigFile } = await import("./utils-
|
|
1444
|
+
const { removeStylesImports, updateConfigFile } = await import("./utils-TO9lB8Xs.mjs");
|
|
1445
1445
|
try {
|
|
1446
1446
|
console.log("⚙️ Updating powerhouse config file...");
|
|
1447
1447
|
updateConfigFile(dependenciesWithVersions, projectPath, "uninstall");
|
|
@@ -1603,7 +1603,7 @@ by itself when powerhouse.config.json changes.
|
|
|
1603
1603
|
args: vetraArgs,
|
|
1604
1604
|
handler: async (args) => {
|
|
1605
1605
|
if (args.debug) console.log(args);
|
|
1606
|
-
const { startVetra } = await import("./vetra-
|
|
1606
|
+
const { startVetra } = await import("./vetra-CwhVV4_U.mjs");
|
|
1607
1607
|
await startVetra(args);
|
|
1608
1608
|
}
|
|
1609
1609
|
}),
|
|
@@ -1637,5 +1637,5 @@ const phCliCommands = buildPhCliCommands(isUniformRunnersEnabled());
|
|
|
1637
1637
|
//#endregion
|
|
1638
1638
|
export { phCliCommands as n, buildPhCliCommands as t };
|
|
1639
1639
|
|
|
1640
|
-
//# sourceMappingURL=ph-cli-commands-
|
|
1641
|
-
//# debugId=
|
|
1640
|
+
//# sourceMappingURL=ph-cli-commands-DQ7kfVak.mjs.map
|
|
1641
|
+
//# debugId=9c8afe01-5085-5c63-bdae-725815e81260
|