@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.
Files changed (74) hide show
  1. package/dist/{check-BhShHuOZ.mjs → check-BdeBTBzN.mjs} +7 -7
  2. package/dist/check-BdeBTBzN.mjs.map +1 -0
  3. package/dist/{cli-connect-override-Dm55uCjR.mjs → cli-connect-override-CY_Zf7wG.mjs} +4 -4
  4. package/dist/{cli-connect-override-Dm55uCjR.mjs.map → cli-connect-override-CY_Zf7wG.mjs.map} +1 -1
  5. package/dist/cli.mjs +4 -4
  6. package/dist/{compound-BZb3tR_c-CAf7DitW.mjs → compound-BSOW40st-CWIT2x84.mjs} +26 -141
  7. package/dist/compound-BSOW40st-CWIT2x84.mjs.map +1 -0
  8. package/dist/{connect-build-DMKUu9mw.mjs → connect-build-6OzCZczA.mjs} +73 -5
  9. package/dist/connect-build-6OzCZczA.mjs.map +1 -0
  10. package/dist/{connect-config-B4yKClFe.mjs → connect-config-nuwLOG8I.mjs} +4 -4
  11. package/dist/{connect-config-B4yKClFe.mjs.map → connect-config-nuwLOG8I.mjs.map} +1 -1
  12. package/dist/connect-preview-DBcsUnSB.mjs +48 -0
  13. package/dist/connect-preview-DBcsUnSB.mjs.map +1 -0
  14. package/dist/{connect-studio-DaaQOVBr.mjs → connect-studio-B3amPdLj.mjs} +4 -4
  15. package/dist/{connect-studio-DaaQOVBr.mjs.map → connect-studio-B3amPdLj.mjs.map} +1 -1
  16. package/dist/{connect-studio-CJ8ImldI.mjs → connect-studio-Mhhe7W5g.mjs} +3 -3
  17. package/dist/{dist-tZHpCFn_.mjs → dist-Dw0p_A5j.mjs} +12 -308
  18. package/dist/dist-Dw0p_A5j.mjs.map +1 -0
  19. package/dist/{explain-4PQGC1BH.mjs → explain-BS1cIzPW.mjs} +5 -5
  20. package/dist/{explain-4PQGC1BH.mjs.map → explain-BS1cIzPW.mjs.map} +1 -1
  21. package/dist/{export-BfSsraKe.mjs → export-BkYfEgBr.mjs} +4 -4
  22. package/dist/{export-BfSsraKe.mjs.map → export-BkYfEgBr.mjs.map} +1 -1
  23. package/dist/{generate-all-CoLL-TJu.mjs → generate-all-sPjxvgql.mjs} +4 -4
  24. package/dist/{generate-all-CoLL-TJu.mjs.map → generate-all-sPjxvgql.mjs.map} +1 -1
  25. package/dist/{generate-desktop-shell-DzEzNspp.mjs → generate-desktop-shell-DR5vuZu9.mjs} +11 -6
  26. package/dist/generate-desktop-shell-DR5vuZu9.mjs.map +1 -0
  27. package/dist/{get-version-DnU4hhms.mjs → get-version-CdS7U_Q8.mjs} +4 -4
  28. package/dist/{get-version-DnU4hhms.mjs.map → get-version-CdS7U_Q8.mjs.map} +1 -1
  29. package/dist/{index-V0t4klsV.d.mts → index-BCSl7lP0.d.mts} +9 -19
  30. package/dist/{index-V0t4klsV.d.mts.map → index-BCSl7lP0.d.mts.map} +1 -1
  31. package/dist/{mcp-LUXNRVj3.mjs → mcp-DnKGQZ10.mjs} +4 -4
  32. package/dist/{mcp-LUXNRVj3.mjs.map → mcp-DnKGQZ10.mjs.map} +1 -1
  33. package/dist/{migrate-CIJaE3iZ.mjs → migrate-B9F_cSCA.mjs} +4 -4
  34. package/dist/{migrate-CIJaE3iZ.mjs.map → migrate-B9F_cSCA.mjs.map} +1 -1
  35. package/dist/{ph-cli-commands-B0V_uMll.mjs → ph-cli-commands-DQ7kfVak.mjs} +19 -19
  36. package/dist/{ph-cli-commands-B0V_uMll.mjs.map → ph-cli-commands-DQ7kfVak.mjs.map} +1 -1
  37. package/dist/ph-cli-commands-oih3l80w.mjs +4 -0
  38. package/dist/{run-sugar-fbWJGtkS.mjs → run-sugar-5TYsoc3n.mjs} +4 -4
  39. package/dist/{run-sugar-fbWJGtkS.mjs.map → run-sugar-5TYsoc3n.mjs.map} +1 -1
  40. package/dist/runners/connect.d.mts +6 -1206
  41. package/dist/runners/connect.d.mts.map +1 -1
  42. package/dist/runners/connect.mjs +21 -255
  43. package/dist/runners/connect.mjs.map +1 -1
  44. package/dist/runners/switchboard.d.mts +4 -1752
  45. package/dist/runners/switchboard.d.mts.map +1 -1
  46. package/dist/runners/switchboard.mjs +10 -722
  47. package/dist/runners/switchboard.mjs.map +1 -1
  48. package/dist/utils-TO9lB8Xs.mjs +4 -0
  49. package/dist/{vetra-BRyjbepO.mjs → vetra-CwhVV4_U.mjs} +13 -29
  50. package/dist/vetra-CwhVV4_U.mjs.map +1 -0
  51. package/package.json +16 -15
  52. package/dist/check-BhShHuOZ.mjs.map +0 -1
  53. package/dist/compound-BZb3tR_c-CAf7DitW.mjs.map +0 -1
  54. package/dist/connect-build-DMKUu9mw.mjs.map +0 -1
  55. package/dist/connect-plugin-configs-DazgTR0p.mjs +0 -50
  56. package/dist/connect-plugin-configs-DazgTR0p.mjs.map +0 -1
  57. package/dist/connect-preview-Ckoqw_XU.mjs +0 -231
  58. package/dist/connect-preview-Ckoqw_XU.mjs.map +0 -1
  59. package/dist/dist-tZHpCFn_.mjs.map +0 -1
  60. package/dist/generate-desktop-shell-DzEzNspp.mjs.map +0 -1
  61. package/dist/member-config-DJUsoeHe.mjs +0 -155
  62. package/dist/member-config-DJUsoeHe.mjs.map +0 -1
  63. package/dist/ph-cli-commands-KQDLKJ7k.mjs +0 -4
  64. package/dist/precompress-P6cJDPVC.mjs +0 -77
  65. package/dist/precompress-P6cJDPVC.mjs.map +0 -1
  66. package/dist/start-run-x-6Ccna-.mjs +0 -124
  67. package/dist/start-run-x-6Ccna-.mjs.map +0 -1
  68. package/dist/superseded-config-CbSTFun2.mjs +0 -53
  69. package/dist/superseded-config-CbSTFun2.mjs.map +0 -1
  70. package/dist/switchboard-B6h7BNWB.mjs +0 -4
  71. package/dist/switchboard-JcKcWTaT.mjs +0 -170
  72. package/dist/switchboard-JcKcWTaT.mjs.map +0 -1
  73. package/dist/utils-DAux4Ga7.mjs +0 -4
  74. 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]="d1230431-0cc7-5e9d-8dae-b721173a85f5")}catch(e){}}();
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-CJ8ImldI.mjs");
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-DMKUu9mw.mjs");
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-Ckoqw_XU.mjs");
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-B4yKClFe.mjs");
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-CoLL-TJu.mjs");
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-DzEzNspp.mjs");
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-BhShHuOZ.mjs");
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-BfSsraKe.mjs");
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-DAux4Ga7.mjs");
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-LUXNRVj3.mjs");
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-CIJaE3iZ.mjs");
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-4PQGC1BH.mjs");
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("./start-run-x-6Ccna-.mjs");
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("./switchboard-B6h7BNWB.mjs");
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-DAux4Ga7.mjs");
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-BRyjbepO.mjs");
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-B0V_uMll.mjs.map
1641
- //# debugId=d1230431-0cc7-5e9d-8dae-b721173a85f5
1640
+ //# sourceMappingURL=ph-cli-commands-DQ7kfVak.mjs.map
1641
+ //# debugId=9c8afe01-5085-5c63-bdae-725815e81260