@powerhousedao/shared 6.2.3-dev.23 → 6.2.3-dev.24

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 (103) hide show
  1. package/dist/clis/args/{access-token-Bf1K1Fpc.mjs → access-token-l4ne3id6.mjs} +2 -2
  2. package/dist/clis/args/{access-token-Bf1K1Fpc.mjs.map → access-token-l4ne3id6.mjs.map} +1 -1
  3. package/dist/clis/args/access-token.mjs +1 -1
  4. package/dist/clis/args/{common-yKU4B741.d.mts → common-Bc6Phg3O.d.mts} +4 -1
  5. package/dist/clis/args/common-Bc6Phg3O.d.mts.map +1 -0
  6. package/dist/clis/args/{common-BpnFLR-_.mjs → common-BnSmBXOm.mjs} +8 -1
  7. package/dist/clis/args/{common-BpnFLR-_.mjs.map → common-BnSmBXOm.mjs.map} +1 -1
  8. package/dist/clis/args/common.d.mts +1 -1
  9. package/dist/clis/args/common.mjs +1 -1
  10. package/dist/clis/args/{connect-ByiLv365.mjs → connect-CkPZNzui.mjs} +2 -2
  11. package/dist/clis/args/{connect-ByiLv365.mjs.map → connect-CkPZNzui.mjs.map} +1 -1
  12. package/dist/clis/args/connect.mjs +1 -1
  13. package/dist/clis/args/{generate-C51i00At.mjs → generate-BzRnsIbV.mjs} +2 -2
  14. package/dist/clis/args/{generate-C51i00At.mjs.map → generate-BzRnsIbV.mjs.map} +1 -1
  15. package/dist/clis/args/generate.mjs +1 -1
  16. package/dist/clis/args/{help-D2SeQC09.mjs → help-DnzLlEb7.mjs} +15 -15
  17. package/dist/clis/args/{help-D2SeQC09.mjs.map → help-DnzLlEb7.mjs.map} +1 -1
  18. package/dist/clis/args/help.mjs +1 -1
  19. package/dist/clis/args/index.d.mts +2 -2
  20. package/dist/clis/args/index.mjs +18 -18
  21. package/dist/clis/args/{init-DBYYsV0Y.mjs → init-Q3FOdRyY.mjs} +2 -2
  22. package/dist/clis/args/{init-DBYYsV0Y.mjs.map → init-Q3FOdRyY.mjs.map} +1 -1
  23. package/dist/clis/args/init.mjs +1 -1
  24. package/dist/clis/args/{inspect-BzBsZ0UO.mjs → inspect-99GSVTTt.mjs} +2 -2
  25. package/dist/clis/args/{inspect-BzBsZ0UO.mjs.map → inspect-99GSVTTt.mjs.map} +1 -1
  26. package/dist/clis/args/inspect.mjs +1 -1
  27. package/dist/clis/args/{install-D0jaysiP.mjs → install-Dcal76Iq.mjs} +2 -2
  28. package/dist/clis/args/{install-D0jaysiP.mjs.map → install-Dcal76Iq.mjs.map} +1 -1
  29. package/dist/clis/args/install.mjs +1 -1
  30. package/dist/clis/args/{list-BaO47Btz.mjs → list-BFbHTSf3.mjs} +2 -2
  31. package/dist/clis/args/{list-BaO47Btz.mjs.map → list-BFbHTSf3.mjs.map} +1 -1
  32. package/dist/clis/args/list.mjs +1 -1
  33. package/dist/clis/args/{login-DM-qhiYI.mjs → login-BB0WTY2n.mjs} +2 -2
  34. package/dist/clis/args/{login-DM-qhiYI.mjs.map → login-BB0WTY2n.mjs.map} +1 -1
  35. package/dist/clis/args/login.mjs +1 -1
  36. package/dist/clis/args/{migrate-EitaI7jq.mjs → migrate-0xLgeOxh.mjs} +2 -2
  37. package/dist/clis/args/{migrate-EitaI7jq.mjs.map → migrate-0xLgeOxh.mjs.map} +1 -1
  38. package/dist/clis/args/migrate.mjs +1 -1
  39. package/dist/clis/args/{publish-DfMF3Nmc.mjs → publish-BJF3ET2v.mjs} +2 -2
  40. package/dist/clis/args/{publish-DfMF3Nmc.mjs.map → publish-BJF3ET2v.mjs.map} +1 -1
  41. package/dist/clis/args/publish.mjs +1 -1
  42. package/dist/clis/args/{registry-Di1tZqbn.mjs → registry-CbORgFD8.mjs} +2 -2
  43. package/dist/clis/args/{registry-Di1tZqbn.mjs.map → registry-CbORgFD8.mjs.map} +1 -1
  44. package/dist/clis/args/registry.mjs +1 -1
  45. package/dist/clis/args/{service-jRX2qPul.mjs → service-BfDN3YBu.mjs} +2 -2
  46. package/dist/clis/args/{service-jRX2qPul.mjs.map → service-BfDN3YBu.mjs.map} +1 -1
  47. package/dist/clis/args/{service-Cou6l7l8.d.mts → service-DhIkf8-O.d.mts} +2 -2
  48. package/dist/clis/args/{service-Cou6l7l8.d.mts.map → service-DhIkf8-O.d.mts.map} +1 -1
  49. package/dist/clis/args/service.d.mts +1 -1
  50. package/dist/clis/args/service.mjs +1 -1
  51. package/dist/clis/args/{switchboard-BhR-ZwGV.mjs → switchboard-tj30Z45Y.mjs} +2 -2
  52. package/dist/clis/args/{switchboard-BhR-ZwGV.mjs.map → switchboard-tj30Z45Y.mjs.map} +1 -1
  53. package/dist/clis/args/switchboard.mjs +1 -1
  54. package/dist/clis/args/{uninstall-diefi70g.mjs → uninstall-CjVkOmXN.mjs} +2 -2
  55. package/dist/clis/args/{uninstall-diefi70g.mjs.map → uninstall-CjVkOmXN.mjs.map} +1 -1
  56. package/dist/clis/args/uninstall.mjs +1 -1
  57. package/dist/clis/args/{unpublish-C6eNRzsU.mjs → unpublish-DSvGNHhr.mjs} +2 -2
  58. package/dist/clis/args/{unpublish-C6eNRzsU.mjs.map → unpublish-DSvGNHhr.mjs.map} +1 -1
  59. package/dist/clis/args/unpublish.mjs +1 -1
  60. package/dist/clis/args/{vetra-DV0zQzba.mjs → vetra-CMIe5hyF.mjs} +2 -2
  61. package/dist/clis/args/{vetra-DV0zQzba.mjs.map → vetra-CMIe5hyF.mjs.map} +1 -1
  62. package/dist/clis/args/vetra.mjs +1 -1
  63. package/dist/clis/build-pieces.d.mts +1 -1
  64. package/dist/clis/constants.d.mts +1 -1
  65. package/dist/clis/constants.mjs +1 -1
  66. package/dist/clis/constants.mjs.map +1 -1
  67. package/dist/clis/index.d.mts +12 -2
  68. package/dist/clis/index.d.mts.map +1 -1
  69. package/dist/clis/index.mjs +41 -26
  70. package/dist/clis/index.mjs.map +1 -1
  71. package/dist/clis/{types-DXhVHupa.d.mts → types-B-Il50oC.d.mts} +4 -3
  72. package/dist/clis/{types-DXhVHupa.d.mts.map → types-B-Il50oC.d.mts.map} +1 -1
  73. package/dist/{config-loader-e4-qdVVI.js → config-loader-DcwNJiBB.js} +10 -7
  74. package/dist/config-loader-DcwNJiBB.js.map +1 -0
  75. package/dist/connect/config-loader.d.ts +1 -1
  76. package/dist/connect/config-loader.js +1 -1
  77. package/dist/connect/index.d.ts +7 -1
  78. package/dist/connect/index.d.ts.map +1 -1
  79. package/dist/connect/index.js +34 -26
  80. package/dist/connect/index.js.map +1 -1
  81. package/dist/document-drive/index.d.ts +5 -4
  82. package/dist/document-drive/index.d.ts.map +1 -1
  83. package/dist/document-drive/index.js +15 -4
  84. package/dist/document-drive/index.js.map +1 -1
  85. package/dist/document-model/index.d.ts +3 -3
  86. package/dist/document-model/index.js +390 -182
  87. package/dist/document-model/index.js.map +1 -1
  88. package/dist/{index-CAs0TFVQ.d.ts → index-BmL07S5O.d.ts} +25 -16
  89. package/dist/{index-CAs0TFVQ.d.ts.map → index-BmL07S5O.d.ts.map} +1 -1
  90. package/dist/index.d.ts +3 -3
  91. package/dist/processors/index.d.ts +1 -1
  92. package/dist/registry/index.d.ts +2 -2
  93. package/dist/registry/index.js.map +1 -1
  94. package/dist/registry/manifest-slim.d.ts +1 -1
  95. package/dist/{types-glwGlTGx.d.ts → types-COsoOK42.d.ts} +260 -246
  96. package/dist/types-COsoOK42.d.ts.map +1 -0
  97. package/dist/{types-ooGknils.d.ts → types-DhOXIQ4c.d.ts} +8 -3
  98. package/dist/types-DhOXIQ4c.d.ts.map +1 -0
  99. package/package.json +2 -1
  100. package/dist/clis/args/common-yKU4B741.d.mts.map +0 -1
  101. package/dist/config-loader-e4-qdVVI.js.map +0 -1
  102. package/dist/types-glwGlTGx.d.ts.map +0 -1
  103. package/dist/types-ooGknils.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"inspect-BzBsZ0UO.mjs","names":[],"sources":["../../../clis/args/inspect.ts"],"sourcesContent":["import { positional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const inspectArgs = {\n packageName: positional({\n type: string,\n displayName: \"package-name\",\n description: \"The name of the package to inspect\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,cAAc;CACzB,aAAa,WAAW;EACtB,MAAM;EACN,aAAa;EACb,aAAa;EACd,CAAC;CACF,GAAG;CACJ"}
1
+ {"version":3,"file":"inspect-99GSVTTt.mjs","names":[],"sources":["../../../clis/args/inspect.ts"],"sourcesContent":["import { positional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const inspectArgs = {\n packageName: positional({\n type: string,\n displayName: \"package-name\",\n description: \"The name of the package to inspect\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,cAAc;CACzB,aAAa,WAAW;EACtB,MAAM;EACN,aAAa;EACb,aAAa;EACd,CAAC;CACF,GAAG;CACJ"}
@@ -1,2 +1,2 @@
1
- import { t as inspectArgs } from "./inspect-BzBsZ0UO.mjs";
1
+ import { t as inspectArgs } from "./inspect-99GSVTTt.mjs";
2
2
  export { inspectArgs };
@@ -1,4 +1,4 @@
1
- import { _ as packageManagerArgs, o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { _ as packageManagerArgs, o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { array, boolean, flag, multioption, option, optional, restPositionals, string } from "cmd-ts";
3
3
  //#region clis/args/install.ts
4
4
  const installArgs = {
@@ -29,4 +29,4 @@ const installArgs = {
29
29
  //#endregion
30
30
  export { installArgs as t };
31
31
 
32
- //# sourceMappingURL=install-D0jaysiP.mjs.map
32
+ //# sourceMappingURL=install-Dcal76Iq.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"install-D0jaysiP.mjs","names":[],"sources":["../../../clis/args/install.ts"],"sourcesContent":["import {\n array,\n boolean,\n flag,\n multioption,\n option,\n optional,\n restPositionals,\n string,\n} from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const installArgs = {\n dependencies: restPositionals({\n type: string,\n displayName: \"dependencies\",\n description: \"Names of the dependencies to install\",\n }),\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to install from (overrides config and environment)\",\n }),\n local: flag({\n type: optional(boolean),\n long: \"local\",\n description:\n 'Also install packages into node_modules (marks them as provider: \"local\" so they get bundled into ph connect build)',\n }),\n allowBuild: multioption({\n type: array(string),\n long: \"allow-build\",\n description:\n \"A list of package names that are allowed to run postinstall scripts during installation.\",\n defaultValue: () => [],\n }),\n ...packageManagerArgs,\n ...debugArgs,\n};\n"],"mappings":";;;AAYA,MAAa,cAAc;CACzB,cAAc,gBAAgB;EAC5B,MAAM;EACN,aAAa;EACb,aAAa;EACd,CAAC;CACF,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,OAAO,KAAK;EACV,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,YAAY,YAAY;EACtB,MAAM,MAAM,OAAO;EACnB,MAAM;EACN,aACE;EACF,oBAAoB,EAAE;EACvB,CAAC;CACF,GAAG;CACH,GAAG;CACJ"}
1
+ {"version":3,"file":"install-Dcal76Iq.mjs","names":[],"sources":["../../../clis/args/install.ts"],"sourcesContent":["import {\n array,\n boolean,\n flag,\n multioption,\n option,\n optional,\n restPositionals,\n string,\n} from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const installArgs = {\n dependencies: restPositionals({\n type: string,\n displayName: \"dependencies\",\n description: \"Names of the dependencies to install\",\n }),\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to install from (overrides config and environment)\",\n }),\n local: flag({\n type: optional(boolean),\n long: \"local\",\n description:\n 'Also install packages into node_modules (marks them as provider: \"local\" so they get bundled into ph connect build)',\n }),\n allowBuild: multioption({\n type: array(string),\n long: \"allow-build\",\n description:\n \"A list of package names that are allowed to run postinstall scripts during installation.\",\n defaultValue: () => [],\n }),\n ...packageManagerArgs,\n ...debugArgs,\n};\n"],"mappings":";;;AAYA,MAAa,cAAc;CACzB,cAAc,gBAAgB;EAC5B,MAAM;EACN,aAAa;EACb,aAAa;EACd,CAAC;CACF,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,OAAO,KAAK;EACV,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,YAAY,YAAY;EACtB,MAAM,MAAM,OAAO;EACnB,MAAM;EACN,aACE;EACF,oBAAoB,EAAE;EACvB,CAAC;CACF,GAAG;CACH,GAAG;CACJ"}
@@ -1,2 +1,2 @@
1
- import { t as installArgs } from "./install-D0jaysiP.mjs";
1
+ import { t as installArgs } from "./install-Dcal76Iq.mjs";
2
2
  export { installArgs };
@@ -1,7 +1,7 @@
1
- import { o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  //#region clis/args/list.ts
3
3
  const listArgs = { ...debugArgs };
4
4
  //#endregion
5
5
  export { listArgs as t };
6
6
 
7
- //# sourceMappingURL=list-BaO47Btz.mjs.map
7
+ //# sourceMappingURL=list-BFbHTSf3.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-BaO47Btz.mjs","names":[],"sources":["../../../clis/args/list.ts"],"sourcesContent":["import { debugArgs } from \"./common.js\";\n\nexport const listArgs = {\n ...debugArgs,\n};\n"],"mappings":";;AAEA,MAAa,WAAW,EACtB,GAAG,WACJ"}
1
+ {"version":3,"file":"list-BFbHTSf3.mjs","names":[],"sources":["../../../clis/args/list.ts"],"sourcesContent":["import { debugArgs } from \"./common.js\";\n\nexport const listArgs = {\n ...debugArgs,\n};\n"],"mappings":";;AAEA,MAAa,WAAW,EACtB,GAAG,WACJ"}
@@ -1,2 +1,2 @@
1
- import { t as listArgs } from "./list-BaO47Btz.mjs";
1
+ import { t as listArgs } from "./list-BFbHTSf3.mjs";
2
2
  export { listArgs };
@@ -1,4 +1,4 @@
1
- import { E as DEFAULT_RENOWN_URL, o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { E as DEFAULT_RENOWN_URL, o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { boolean, flag, number, option, optional, string } from "cmd-ts";
3
3
  //#region clis/args/login.ts
4
4
  const loginArgs = {
@@ -37,4 +37,4 @@ const loginArgs = {
37
37
  //#endregion
38
38
  export { loginArgs as t };
39
39
 
40
- //# sourceMappingURL=login-DM-qhiYI.mjs.map
40
+ //# sourceMappingURL=login-BB0WTY2n.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"login-DM-qhiYI.mjs","names":[],"sources":["../../../clis/args/login.ts"],"sourcesContent":["import { boolean, flag, number, option, optional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\nimport { DEFAULT_RENOWN_URL, DEFAULT_TIMEOUT } from \"../constants.js\";\n\nexport const loginArgs = {\n renownUrl: option({\n type: string,\n long: \"renown-url\",\n defaultValue: () => DEFAULT_RENOWN_URL,\n description: `Renown server URL.`,\n defaultValueIsSerializable: true,\n env: \"PH_CONNECT_RENOWN_URL\",\n }),\n timeout: option({\n type: number,\n long: \"timeout\",\n defaultValue: () => DEFAULT_TIMEOUT,\n description: \"Authentication timeout in seconds.\",\n defaultValueIsSerializable: true,\n }),\n logout: flag({\n type: optional(boolean),\n long: \"logout\",\n description: \"Sign out and clear stored credentials\",\n }),\n status: flag({\n type: optional(boolean),\n long: \"status\",\n description: \"Show current authentication status\",\n }),\n showDid: flag({\n type: optional(boolean),\n long: \"show-did\",\n description: \"Show the CLI's DID and exit\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAIA,MAAa,YAAY;CACvB,WAAW,OAAO;EAChB,MAAM;EACN,MAAM;EACN,oBAAoB;EACpB,aAAa;EACb,4BAA4B;EAC5B,KAAK;EACN,CAAC;CACF,SAAS,OAAO;EACd,MAAM;EACN,MAAM;EACN,oBAAA;EACA,aAAa;EACb,4BAA4B;EAC7B,CAAC;CACF,QAAQ,KAAK;EACX,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,QAAQ,KAAK;EACX,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,SAAS,KAAK;EACZ,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,GAAG;CACJ"}
1
+ {"version":3,"file":"login-BB0WTY2n.mjs","names":[],"sources":["../../../clis/args/login.ts"],"sourcesContent":["import { boolean, flag, number, option, optional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\nimport { DEFAULT_RENOWN_URL, DEFAULT_TIMEOUT } from \"../constants.js\";\n\nexport const loginArgs = {\n renownUrl: option({\n type: string,\n long: \"renown-url\",\n defaultValue: () => DEFAULT_RENOWN_URL,\n description: `Renown server URL.`,\n defaultValueIsSerializable: true,\n env: \"PH_CONNECT_RENOWN_URL\",\n }),\n timeout: option({\n type: number,\n long: \"timeout\",\n defaultValue: () => DEFAULT_TIMEOUT,\n description: \"Authentication timeout in seconds.\",\n defaultValueIsSerializable: true,\n }),\n logout: flag({\n type: optional(boolean),\n long: \"logout\",\n description: \"Sign out and clear stored credentials\",\n }),\n status: flag({\n type: optional(boolean),\n long: \"status\",\n description: \"Show current authentication status\",\n }),\n showDid: flag({\n type: optional(boolean),\n long: \"show-did\",\n description: \"Show the CLI's DID and exit\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAIA,MAAa,YAAY;CACvB,WAAW,OAAO;EAChB,MAAM;EACN,MAAM;EACN,oBAAoB;EACpB,aAAa;EACb,4BAA4B;EAC5B,KAAK;EACN,CAAC;CACF,SAAS,OAAO;EACd,MAAM;EACN,MAAM;EACN,oBAAA;EACA,aAAa;EACb,4BAA4B;EAC7B,CAAC;CACF,QAAQ,KAAK;EACX,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,QAAQ,KAAK;EACX,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,SAAS,KAAK;EACZ,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,GAAG;CACJ"}
@@ -1,2 +1,2 @@
1
- import { t as loginArgs } from "./login-DM-qhiYI.mjs";
1
+ import { t as loginArgs } from "./login-BB0WTY2n.mjs";
2
2
  export { loginArgs };
@@ -1,4 +1,4 @@
1
- import { o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { boolean, flag, option, optional, positional, string } from "cmd-ts";
3
3
  //#region clis/args/migrate.ts
4
4
  const migrateArgs = {
@@ -26,4 +26,4 @@ const migrateArgs = {
26
26
  //#endregion
27
27
  export { migrateArgs as t };
28
28
 
29
- //# sourceMappingURL=migrate-EitaI7jq.mjs.map
29
+ //# sourceMappingURL=migrate-0xLgeOxh.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"migrate-EitaI7jq.mjs","names":[],"sources":["../../../clis/args/migrate.ts"],"sourcesContent":["import { boolean, flag, option, optional, positional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const migrateArgs = {\n versionPositional: positional({\n type: optional(string),\n displayName: \"version\",\n description:\n \"The version to migrate to. Accepts a valid semver version or `staging`, `dev`, `latest`.\",\n }),\n version: option({\n long: \"version\",\n short: \"v\",\n type: string,\n description:\n \"The version to migrate to. Accepts a valid semver version or `staging`, `dev`, `latest`.\",\n defaultValue: () => \"latest\" as const,\n defaultValueIsSerializable: true,\n }),\n force: flag({\n type: optional(boolean),\n long: \"force\",\n short: \"f\",\n description:\n \"Run migrate from the bundled codegen even if the target version cannot be resolved from the npm registry or differs from the installed ph-cli version.\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,cAAc;CACzB,mBAAmB,WAAW;EAC5B,MAAM,SAAS,OAAO;EACtB,aAAa;EACb,aACE;EACH,CAAC;CACF,SAAS,OAAO;EACd,MAAM;EACN,OAAO;EACP,MAAM;EACN,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,OAAO,KAAK;EACV,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,GAAG;CACJ"}
1
+ {"version":3,"file":"migrate-0xLgeOxh.mjs","names":[],"sources":["../../../clis/args/migrate.ts"],"sourcesContent":["import { boolean, flag, option, optional, positional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const migrateArgs = {\n versionPositional: positional({\n type: optional(string),\n displayName: \"version\",\n description:\n \"The version to migrate to. Accepts a valid semver version or `staging`, `dev`, `latest`.\",\n }),\n version: option({\n long: \"version\",\n short: \"v\",\n type: string,\n description:\n \"The version to migrate to. Accepts a valid semver version or `staging`, `dev`, `latest`.\",\n defaultValue: () => \"latest\" as const,\n defaultValueIsSerializable: true,\n }),\n force: flag({\n type: optional(boolean),\n long: \"force\",\n short: \"f\",\n description:\n \"Run migrate from the bundled codegen even if the target version cannot be resolved from the npm registry or differs from the installed ph-cli version.\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,cAAc;CACzB,mBAAmB,WAAW;EAC5B,MAAM,SAAS,OAAO;EACtB,aAAa;EACb,aACE;EACH,CAAC;CACF,SAAS,OAAO;EACd,MAAM;EACN,OAAO;EACP,MAAM;EACN,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,OAAO,KAAK;EACV,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,GAAG;CACJ"}
@@ -1,2 +1,2 @@
1
- import { t as migrateArgs } from "./migrate-EitaI7jq.mjs";
1
+ import { t as migrateArgs } from "./migrate-0xLgeOxh.mjs";
2
2
  export { migrateArgs };
@@ -1,4 +1,4 @@
1
- import { o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { option, optional, rest, string } from "cmd-ts";
3
3
  //#region clis/args/publish.ts
4
4
  const publishArgs = {
@@ -16,4 +16,4 @@ const publishArgs = {
16
16
  //#endregion
17
17
  export { publishArgs as t };
18
18
 
19
- //# sourceMappingURL=publish-DfMF3Nmc.mjs.map
19
+ //# sourceMappingURL=publish-BJF3ET2v.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"publish-DfMF3Nmc.mjs","names":[],"sources":["../../../clis/args/publish.ts"],"sourcesContent":["import { option, optional, rest, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const publishArgs = {\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to publish to (overrides config and environment)\",\n }),\n ...debugArgs,\n forwardedArgs: rest({\n displayName: \"npm-args\",\n description: \"Extra arguments forwarded to npm publish (e.g. --tag dev)\",\n }),\n};\n"],"mappings":";;;AAGA,MAAa,cAAc;CACzB,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,GAAG;CACH,eAAe,KAAK;EAClB,aAAa;EACb,aAAa;EACd,CAAC;CACH"}
1
+ {"version":3,"file":"publish-BJF3ET2v.mjs","names":[],"sources":["../../../clis/args/publish.ts"],"sourcesContent":["import { option, optional, rest, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const publishArgs = {\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to publish to (overrides config and environment)\",\n }),\n ...debugArgs,\n forwardedArgs: rest({\n displayName: \"npm-args\",\n description: \"Extra arguments forwarded to npm publish (e.g. --tag dev)\",\n }),\n};\n"],"mappings":";;;AAGA,MAAa,cAAc;CACzB,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,GAAG;CACH,eAAe,KAAK;EAClB,aAAa;EACb,aAAa;EACd,CAAC;CACH"}
@@ -1,2 +1,2 @@
1
- import { t as publishArgs } from "./publish-DfMF3Nmc.mjs";
1
+ import { t as publishArgs } from "./publish-BJF3ET2v.mjs";
2
2
  export { publishArgs };
@@ -1,4 +1,4 @@
1
- import { o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { option, optional, string } from "cmd-ts";
3
3
  //#region clis/args/registry.ts
4
4
  const DEFAULT_REGISTRY_LOGIN_EXPIRY = "30d";
@@ -20,4 +20,4 @@ const registryLoginArgs = {
20
20
  //#endregion
21
21
  export { registryLoginArgs as n, DEFAULT_REGISTRY_LOGIN_EXPIRY as t };
22
22
 
23
- //# sourceMappingURL=registry-Di1tZqbn.mjs.map
23
+ //# sourceMappingURL=registry-CbORgFD8.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"registry-Di1tZqbn.mjs","names":[],"sources":["../../../clis/args/registry.ts"],"sourcesContent":["import { option, optional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const DEFAULT_REGISTRY_LOGIN_EXPIRY = \"30d\";\n\nexport const registryLoginArgs = {\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to log in to (overrides PH_REGISTRY_URL and powerhouse.config.json)\",\n }),\n expiry: option({\n type: string,\n long: \"expiry\",\n defaultValue: () => DEFAULT_REGISTRY_LOGIN_EXPIRY,\n description:\n \"Token expiry — formats: '7d' (days), '24h' (hours), '3600' (seconds).\",\n defaultValueIsSerializable: true,\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,gCAAgC;AAE7C,MAAa,oBAAoB;CAC/B,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,QAAQ,OAAO;EACb,MAAM;EACN,MAAM;EACN,oBAAA;EACA,aACE;EACF,4BAA4B;EAC7B,CAAC;CACF,GAAG;CACJ"}
1
+ {"version":3,"file":"registry-CbORgFD8.mjs","names":[],"sources":["../../../clis/args/registry.ts"],"sourcesContent":["import { option, optional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const DEFAULT_REGISTRY_LOGIN_EXPIRY = \"30d\";\n\nexport const registryLoginArgs = {\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to log in to (overrides PH_REGISTRY_URL and powerhouse.config.json)\",\n }),\n expiry: option({\n type: string,\n long: \"expiry\",\n defaultValue: () => DEFAULT_REGISTRY_LOGIN_EXPIRY,\n description:\n \"Token expiry — formats: '7d' (days), '24h' (hours), '3600' (seconds).\",\n defaultValueIsSerializable: true,\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,gCAAgC;AAE7C,MAAa,oBAAoB;CAC/B,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,QAAQ,OAAO;EACb,MAAM;EACN,MAAM;EACN,oBAAA;EACA,aACE;EACF,4BAA4B;EAC7B,CAAC;CACF,GAAG;CACJ"}
@@ -1,2 +1,2 @@
1
- import { n as registryLoginArgs, t as DEFAULT_REGISTRY_LOGIN_EXPIRY } from "./registry-Di1tZqbn.mjs";
1
+ import { n as registryLoginArgs, t as DEFAULT_REGISTRY_LOGIN_EXPIRY } from "./registry-CbORgFD8.mjs";
2
2
  export { DEFAULT_REGISTRY_LOGIN_EXPIRY, registryLoginArgs };
@@ -1,4 +1,4 @@
1
- import { A as SERVICE_ACTIONS, o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { A as SERVICE_ACTIONS, o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { oneOf, optional, positional } from "cmd-ts";
3
3
  //#region clis/args/service.ts
4
4
  const serviceArgs = {
@@ -8,4 +8,4 @@ const serviceArgs = {
8
8
  //#endregion
9
9
  export { serviceArgs as t };
10
10
 
11
- //# sourceMappingURL=service-jRX2qPul.mjs.map
11
+ //# sourceMappingURL=service-BfDN3YBu.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-jRX2qPul.mjs","names":[],"sources":["../../../clis/args/service.ts"],"sourcesContent":["import { oneOf, optional, positional } from \"cmd-ts\";\nimport { SERVICE_ACTIONS } from \"../constants.js\";\nimport { debugArgs } from \"./common.js\";\n\nexport type { ServiceAction } from \"../types.js\";\n\nexport const serviceArgs = {\n action: positional({\n type: optional(oneOf(SERVICE_ACTIONS)),\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAMA,MAAa,cAAc;CACzB,QAAQ,WAAW,EACjB,MAAM,SAAS,MAAM,gBAAgB,CAAC,EACvC,CAAC;CACF,GAAG;CACJ"}
1
+ {"version":3,"file":"service-BfDN3YBu.mjs","names":[],"sources":["../../../clis/args/service.ts"],"sourcesContent":["import { oneOf, optional, positional } from \"cmd-ts\";\nimport { SERVICE_ACTIONS } from \"../constants.js\";\nimport { debugArgs } from \"./common.js\";\n\nexport type { ServiceAction } from \"../types.js\";\n\nexport const serviceArgs = {\n action: positional({\n type: optional(oneOf(SERVICE_ACTIONS)),\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAMA,MAAa,cAAc;CACzB,QAAQ,WAAW,EACjB,MAAM,SAAS,MAAM,gBAAgB,CAAC,EACvC,CAAC;CACF,GAAG;CACJ"}
@@ -14,9 +14,9 @@ declare const serviceArgs: {
14
14
  parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean | undefined>>;
15
15
  } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
16
16
  action: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
17
- parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"start" | "stop" | "status" | "setup" | "restart" | undefined>>;
17
+ parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"status" | "start" | "stop" | "setup" | "restart" | undefined>>;
18
18
  } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
19
19
  };
20
20
  //#endregion
21
21
  export { ServiceAction as n, serviceArgs as t };
22
- //# sourceMappingURL=service-Cou6l7l8.d.mts.map
22
+ //# sourceMappingURL=service-DhIkf8-O.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-Cou6l7l8.d.mts","names":[],"sources":["../../../clis/constants.ts","../../../clis/types.ts","../../../clis/args/service.ts"],"mappings":";;;;cAKa,eAAA;;;KCGD,cAAA,UAAwB,eAAA;AAAA,KACxB,aAAA,GAAgB,cAAA;;;cCHf,WAAA;iBAKZ,6BAAA,CAAA,QAAA"}
1
+ {"version":3,"file":"service-DhIkf8-O.d.mts","names":[],"sources":["../../../clis/constants.ts","../../../clis/types.ts","../../../clis/args/service.ts"],"mappings":";;;;cAKa,eAAA;;;KCGD,cAAA,UAAwB,eAAA;AAAA,KACxB,aAAA,GAAgB,cAAA;;;cCHf,WAAA;iBAKZ,6BAAA,CAAA,QAAA"}
@@ -1,2 +1,2 @@
1
- import { n as ServiceAction, t as serviceArgs } from "./service-Cou6l7l8.mjs";
1
+ import { n as ServiceAction, t as serviceArgs } from "./service-DhIkf8-O.mjs";
2
2
  export { ServiceAction, serviceArgs };
@@ -1,2 +1,2 @@
1
- import { t as serviceArgs } from "./service-jRX2qPul.mjs";
1
+ import { t as serviceArgs } from "./service-BfDN3YBu.mjs";
2
2
  export { serviceArgs };
@@ -1,4 +1,4 @@
1
- import { D as DEFAULT_SWITCHBOARD_PORT, k as DEFAULT_VETRA_DRIVE_ID, v as packages, x as vetraSwitchboardArgs } from "./common-BpnFLR-_.mjs";
1
+ import { D as DEFAULT_SWITCHBOARD_PORT, k as DEFAULT_VETRA_DRIVE_ID, v as packages, x as vetraSwitchboardArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { boolean, flag, number, option, optional, string } from "cmd-ts";
3
3
  //#region clis/args/switchboard.ts
4
4
  const switchboardArgs = {
@@ -82,4 +82,4 @@ const switchboardArgs = {
82
82
  //#endregion
83
83
  export { switchboardArgs as t };
84
84
 
85
- //# sourceMappingURL=switchboard-BhR-ZwGV.mjs.map
85
+ //# sourceMappingURL=switchboard-tj30Z45Y.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switchboard-BhR-ZwGV.mjs","names":[],"sources":["../../../clis/args/switchboard.ts"],"sourcesContent":["import { boolean, flag, number, option, optional, string } from \"cmd-ts\";\nimport { packages, vetraSwitchboardArgs } from \"./common.js\";\nimport {\n DEFAULT_SWITCHBOARD_PORT,\n DEFAULT_VETRA_DRIVE_ID,\n} from \"../constants.js\";\n\nexport const switchboardArgs = {\n ...vetraSwitchboardArgs,\n packages,\n port: option({\n type: number,\n long: \"port\",\n description: \"Port to host the api\",\n defaultValue: () => DEFAULT_SWITCHBOARD_PORT,\n defaultValueIsSerializable: true,\n }),\n basePath: option({\n type: optional(string),\n long: \"base-path\",\n description:\n \"base path for the API endpoints (sets the BASE_PATH environment variable)\",\n }),\n keypairPath: option({\n type: optional(string),\n long: \"keypair-path\",\n description: \"path to custom keypair file for identity\",\n }),\n vetraDriveId: option({\n type: string,\n long: \"vetra-drive-id\",\n description: \"Specify a Vetra drive ID\",\n defaultValue: () => DEFAULT_VETRA_DRIVE_ID,\n defaultValueIsSerializable: true,\n }),\n dbPath: option({\n type: optional(string),\n long: \"db-path\",\n description: \"path to the database\",\n }),\n useIdentity: flag({\n type: optional(boolean),\n long: \"use-identity\",\n description:\n \"enable identity using keypair from ph login (uses ~/.ph/keypair.json)\",\n }),\n requireIdentity: flag({\n type: optional(boolean),\n long: \"require-identity\",\n description:\n \"require existing keypair, fail if not found (implies --use-identity)\",\n }),\n migrate: flag({\n type: optional(boolean),\n long: \"migrate\",\n description: \"Run database migrations and exit\",\n }),\n migrateStatus: flag({\n type: optional(boolean),\n long: \"migrate-status\",\n description: \"Show migration status and exit\",\n }),\n reset: flag({\n type: optional(boolean),\n long: \"reset\",\n description:\n \"Wipe the local PGlite switchboard storage after confirmation, then exit\",\n }),\n yes: flag({\n type: optional(boolean),\n long: \"yes\",\n short: \"y\",\n description:\n \"Skip the interactive confirmation prompt for --reset (required for non-interactive use)\",\n }),\n mcp: flag({\n type: boolean,\n long: \"mcp\",\n description: \"enable Mcp route at /mcp\",\n defaultValue: () => true,\n defaultValueIsSerializable: true,\n }),\n useVetraDrive: flag({\n type: boolean,\n long: \"use-vetra-drive\",\n description: \"Use a Vetra drive\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n};\n"],"mappings":";;;AAOA,MAAa,kBAAkB;CAC7B,GAAG;CACH;CACA,MAAM,OAAO;EACX,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,aAAa,OAAO;EAClB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;EACd,CAAC;CACF,cAAc,OAAO;EACnB,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,QAAQ,OAAO;EACb,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;EACd,CAAC;CACF,aAAa,KAAK;EAChB,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,iBAAiB,KAAK;EACpB,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,SAAS,KAAK;EACZ,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,eAAe,KAAK;EAClB,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,OAAO,KAAK;EACV,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,eAAe,KAAK;EAClB,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACH"}
1
+ {"version":3,"file":"switchboard-tj30Z45Y.mjs","names":[],"sources":["../../../clis/args/switchboard.ts"],"sourcesContent":["import { boolean, flag, number, option, optional, string } from \"cmd-ts\";\nimport { packages, vetraSwitchboardArgs } from \"./common.js\";\nimport {\n DEFAULT_SWITCHBOARD_PORT,\n DEFAULT_VETRA_DRIVE_ID,\n} from \"../constants.js\";\n\nexport const switchboardArgs = {\n ...vetraSwitchboardArgs,\n packages,\n port: option({\n type: number,\n long: \"port\",\n description: \"Port to host the api\",\n defaultValue: () => DEFAULT_SWITCHBOARD_PORT,\n defaultValueIsSerializable: true,\n }),\n basePath: option({\n type: optional(string),\n long: \"base-path\",\n description:\n \"base path for the API endpoints (sets the BASE_PATH environment variable)\",\n }),\n keypairPath: option({\n type: optional(string),\n long: \"keypair-path\",\n description: \"path to custom keypair file for identity\",\n }),\n vetraDriveId: option({\n type: string,\n long: \"vetra-drive-id\",\n description: \"Specify a Vetra drive ID\",\n defaultValue: () => DEFAULT_VETRA_DRIVE_ID,\n defaultValueIsSerializable: true,\n }),\n dbPath: option({\n type: optional(string),\n long: \"db-path\",\n description: \"path to the database\",\n }),\n useIdentity: flag({\n type: optional(boolean),\n long: \"use-identity\",\n description:\n \"enable identity using keypair from ph login (uses ~/.ph/keypair.json)\",\n }),\n requireIdentity: flag({\n type: optional(boolean),\n long: \"require-identity\",\n description:\n \"require existing keypair, fail if not found (implies --use-identity)\",\n }),\n migrate: flag({\n type: optional(boolean),\n long: \"migrate\",\n description: \"Run database migrations and exit\",\n }),\n migrateStatus: flag({\n type: optional(boolean),\n long: \"migrate-status\",\n description: \"Show migration status and exit\",\n }),\n reset: flag({\n type: optional(boolean),\n long: \"reset\",\n description:\n \"Wipe the local PGlite switchboard storage after confirmation, then exit\",\n }),\n yes: flag({\n type: optional(boolean),\n long: \"yes\",\n short: \"y\",\n description:\n \"Skip the interactive confirmation prompt for --reset (required for non-interactive use)\",\n }),\n mcp: flag({\n type: boolean,\n long: \"mcp\",\n description: \"enable Mcp route at /mcp\",\n defaultValue: () => true,\n defaultValueIsSerializable: true,\n }),\n useVetraDrive: flag({\n type: boolean,\n long: \"use-vetra-drive\",\n description: \"Use a Vetra drive\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n};\n"],"mappings":";;;AAOA,MAAa,kBAAkB;CAC7B,GAAG;CACH;CACA,MAAM,OAAO;EACX,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,aAAa,OAAO;EAClB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;EACd,CAAC;CACF,cAAc,OAAO;EACnB,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,QAAQ,OAAO;EACb,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;EACd,CAAC;CACF,aAAa,KAAK;EAChB,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,iBAAiB,KAAK;EACpB,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,SAAS,KAAK;EACZ,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,eAAe,KAAK;EAClB,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aAAa;EACd,CAAC;CACF,OAAO,KAAK;EACV,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,eAAe,KAAK;EAClB,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACH"}
@@ -1,2 +1,2 @@
1
- import { t as switchboardArgs } from "./switchboard-BhR-ZwGV.mjs";
1
+ import { t as switchboardArgs } from "./switchboard-tj30Z45Y.mjs";
2
2
  export { switchboardArgs };
@@ -1,4 +1,4 @@
1
- import { _ as packageManagerArgs, o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { _ as packageManagerArgs, o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { restPositionals, string } from "cmd-ts";
3
3
  //#region clis/args/uninstall.ts
4
4
  const uninstallArgs = {
@@ -13,4 +13,4 @@ const uninstallArgs = {
13
13
  //#endregion
14
14
  export { uninstallArgs as t };
15
15
 
16
- //# sourceMappingURL=uninstall-diefi70g.mjs.map
16
+ //# sourceMappingURL=uninstall-CjVkOmXN.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall-diefi70g.mjs","names":[],"sources":["../../../clis/args/uninstall.ts"],"sourcesContent":["import { restPositionals, string } from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const uninstallArgs = {\n dependencies: restPositionals({\n type: string,\n displayName: \"dependencies\",\n description: \"Names of the dependencies to uninstall\",\n }),\n ...packageManagerArgs,\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,gBAAgB;CAC3B,cAAc,gBAAgB;EAC5B,MAAM;EACN,aAAa;EACb,aAAa;EACd,CAAC;CACF,GAAG;CACH,GAAG;CACJ"}
1
+ {"version":3,"file":"uninstall-CjVkOmXN.mjs","names":[],"sources":["../../../clis/args/uninstall.ts"],"sourcesContent":["import { restPositionals, string } from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const uninstallArgs = {\n dependencies: restPositionals({\n type: string,\n displayName: \"dependencies\",\n description: \"Names of the dependencies to uninstall\",\n }),\n ...packageManagerArgs,\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,gBAAgB;CAC3B,cAAc,gBAAgB;EAC5B,MAAM;EACN,aAAa;EACb,aAAa;EACd,CAAC;CACF,GAAG;CACH,GAAG;CACJ"}
@@ -1,2 +1,2 @@
1
- import { t as uninstallArgs } from "./uninstall-diefi70g.mjs";
1
+ import { t as uninstallArgs } from "./uninstall-CjVkOmXN.mjs";
2
2
  export { uninstallArgs };
@@ -1,4 +1,4 @@
1
- import { o as debugArgs } from "./common-BpnFLR-_.mjs";
1
+ import { o as debugArgs } from "./common-BnSmBXOm.mjs";
2
2
  import { boolean, flag, option, optional, positional, rest, string } from "cmd-ts";
3
3
  //#region clis/args/unpublish.ts
4
4
  const unpublishArgs = {
@@ -27,4 +27,4 @@ const unpublishArgs = {
27
27
  //#endregion
28
28
  export { unpublishArgs as t };
29
29
 
30
- //# sourceMappingURL=unpublish-C6eNRzsU.mjs.map
30
+ //# sourceMappingURL=unpublish-DSvGNHhr.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"unpublish-C6eNRzsU.mjs","names":[],"sources":["../../../clis/args/unpublish.ts"],"sourcesContent":["import {\n boolean,\n flag,\n option,\n optional,\n positional,\n rest,\n string,\n} from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const unpublishArgs = {\n spec: positional({\n type: optional(string),\n displayName: \"package-spec\",\n description:\n \"Package to unpublish: `<name>` (whole package) or `<name>@<version>` (single version). If omitted, uses the current project's `name@version` from package.json.\",\n }),\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to unpublish from (overrides config and environment)\",\n }),\n yes: flag({\n type: optional(boolean),\n long: \"yes\",\n short: \"y\",\n description: \"Skip the confirmation prompt\",\n }),\n ...debugArgs,\n forwardedArgs: rest({\n displayName: \"npm-args\",\n description: \"Extra arguments forwarded to npm unpublish\",\n }),\n};\n"],"mappings":";;;AAWA,MAAa,gBAAgB;CAC3B,MAAM,WAAW;EACf,MAAM,SAAS,OAAO;EACtB,aAAa;EACb,aACE;EACH,CAAC;CACF,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,GAAG;CACH,eAAe,KAAK;EAClB,aAAa;EACb,aAAa;EACd,CAAC;CACH"}
1
+ {"version":3,"file":"unpublish-DSvGNHhr.mjs","names":[],"sources":["../../../clis/args/unpublish.ts"],"sourcesContent":["import {\n boolean,\n flag,\n option,\n optional,\n positional,\n rest,\n string,\n} from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const unpublishArgs = {\n spec: positional({\n type: optional(string),\n displayName: \"package-spec\",\n description:\n \"Package to unpublish: `<name>` (whole package) or `<name>@<version>` (single version). If omitted, uses the current project's `name@version` from package.json.\",\n }),\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to unpublish from (overrides config and environment)\",\n }),\n yes: flag({\n type: optional(boolean),\n long: \"yes\",\n short: \"y\",\n description: \"Skip the confirmation prompt\",\n }),\n ...debugArgs,\n forwardedArgs: rest({\n displayName: \"npm-args\",\n description: \"Extra arguments forwarded to npm unpublish\",\n }),\n};\n"],"mappings":";;;AAWA,MAAa,gBAAgB;CAC3B,MAAM,WAAW;EACf,MAAM,SAAS,OAAO;EACtB,aAAa;EACb,aACE;EACH,CAAC;CACF,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,GAAG;CACH,eAAe,KAAK;EAClB,aAAa;EACb,aAAa;EACd,CAAC;CACH"}
@@ -1,2 +1,2 @@
1
- import { t as unpublishArgs } from "./unpublish-C6eNRzsU.mjs";
1
+ import { t as unpublishArgs } from "./unpublish-DSvGNHhr.mjs";
2
2
  export { unpublishArgs };
@@ -1,4 +1,4 @@
1
- import { S as getConfig, i as commonServerArgs, r as commonArgs, x as vetraSwitchboardArgs, y as renownNamespace } from "./common-BpnFLR-_.mjs";
1
+ import { S as getConfig, i as commonServerArgs, r as commonArgs, x as vetraSwitchboardArgs, y as renownNamespace } from "./common-BnSmBXOm.mjs";
2
2
  import { boolean, flag, number, option, optional, string } from "cmd-ts";
3
3
  import { join } from "node:path";
4
4
  import dotenv from "dotenv";
@@ -123,4 +123,4 @@ const vetraArgs = {
123
123
  //#endregion
124
124
  export { resolveSwitchboardPortDefault as n, vetraArgs as r, resolveConnectPortDefault as t };
125
125
 
126
- //# sourceMappingURL=vetra-DV0zQzba.mjs.map
126
+ //# sourceMappingURL=vetra-CMIe5hyF.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"vetra-DV0zQzba.mjs","names":[],"sources":["../../../clis/project-env.ts","../../../clis/args/vetra.ts"],"sourcesContent":["import dotenv from \"dotenv\";\nimport { join } from \"node:path\";\n\nlet loadedFor: string | undefined;\n\n/**\n * Load the project's `.env.local` and `.env` into `process.env`.\n *\n * `dotenv` never overwrites a variable that is already set, so loading\n * `.env.local` first and `.env` second produces the precedence the CLI\n * documents: a real `process.env` value beats `.env.local`, which beats\n * `.env`. One `process.env` lookup afterwards therefore covers all three\n * sources.\n *\n * Idempotent per directory — CLI argument defaults call it lazily and may\n * call it more than once per process.\n */\nexport function loadProjectEnv(cwd: string = process.cwd()): void {\n if (loadedFor === cwd) return;\n loadedFor = cwd;\n // dotenv 16 logs nothing for a missing file, so no suppression option is\n // needed here (and none exists before dotenv 17).\n dotenv.config({ path: join(cwd, \".env.local\") });\n dotenv.config({ path: join(cwd, \".env\") });\n}\n\n/** Test seam: forget which directory has already been loaded. */\nexport function resetProjectEnvForTests(): void {\n loadedFor = undefined;\n}\n\n/**\n * Read an environment variable as a TCP port.\n *\n * Anything that is not a plain integer in 1-65535 is ignored rather than\n * throwing: a typo in `.env` should fall through to the next source in the\n * precedence chain, not break the CLI.\n */\nexport function readPortEnv(name: string): number | undefined {\n const raw = process.env[name]?.trim();\n if (!raw || !/^\\d+$/.test(raw)) return undefined;\n const port = Number(raw);\n if (port < 1 || port > 65535) return undefined;\n return port;\n}\n","import { boolean, flag, number, option, optional, string } from \"cmd-ts\";\nimport {\n DEFAULT_SWITCHBOARD_PORT,\n DEFAULT_VETRA_CONNECT_PORT,\n} from \"../constants.js\";\nimport { getConfig } from \"../file-system/get-config.js\";\nimport { loadProjectEnv, readPortEnv } from \"../project-env.js\";\nimport {\n commonArgs,\n commonServerArgs,\n renownNamespace,\n vetraSwitchboardArgs,\n} from \"./common.js\";\n\n/**\n * Resolve the Vetra Switchboard port.\n *\n * Precedence: CLI flag (cmd-ts applies that above this function) →\n * `process.env` → `.env.local` → `.env` → `powerhouse.config.json` →\n * constant. `loadProjectEnv` folds the two files into `process.env` without\n * clobbering anything already set, so a single lookup covers the middle three.\n */\nexport function resolveSwitchboardPortDefault(): number {\n loadProjectEnv();\n return (\n readPortEnv(\"PH_SWITCHBOARD_PORT\") ??\n getConfig().reactor?.port ??\n DEFAULT_SWITCHBOARD_PORT\n );\n}\n\n/** Resolve the Vetra Connect port through the same chain. */\nexport function resolveConnectPortDefault(): number {\n loadProjectEnv();\n return (\n readPortEnv(\"PH_VETRA_CONNECT_PORT\") ??\n getConfig().vetra?.connectPort ??\n DEFAULT_VETRA_CONNECT_PORT\n );\n}\n\nexport const vetraArgs = {\n switchboardPort: option({\n type: number,\n long: \"switchboard-port\",\n description: \"port to use for the Vetra Switchboard\",\n defaultValue: resolveSwitchboardPortDefault,\n }),\n connectPort: option({\n type: number,\n long: \"connect-port\",\n // Deliberately not `defaultValueIsSerializable`: the value is now\n // per-project, and cmd-ts prints serializable defaults into `--help`,\n // which would bake one project's port into the help text.\n description: \"port to use for the Vetra Connect\",\n defaultValue: resolveConnectPortDefault,\n }),\n remoteDrive: option({\n type: optional(string),\n long: \"remote-drive\",\n description:\n \"URL of remote drive to connect to (skips switchboard initialization)\",\n defaultValue: () => {\n const baseConfig = getConfig();\n return baseConfig.vetra?.driveUrl;\n },\n }),\n watch: flag({\n type: boolean,\n long: \"watch\",\n short: \"w\",\n description:\n \"Enable dynamic loading for document-models and editors in connect-studio and switchboard\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n verbose: flag({\n type: boolean,\n long: \"logs\",\n description: \"Show additional logs\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n disableConnect: flag({\n type: boolean,\n long: \"disable-connect\",\n description:\n \"Skip Connect initialization (only start switchboard and reactor)\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n interactive: flag({\n type: boolean,\n long: \"interactive\",\n description:\n \"Enable interactive mode for code generation (requires user confirmation before generating code)\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n drivesPublicBase: option({\n type: optional(string),\n long: \"drives-public-base\",\n description:\n \"public base URL for the drive URLs advertised to Connect; each drive is exposed as <base>/d/<slug> instead of http://localhost:<switchboard-port>/d/<slug>. Use when the switchboard is reachable through a reverse proxy.\",\n }),\n dbPath: option({\n type: optional(string),\n long: \"db-path\",\n description:\n \"Database path or connection string. Use a `postgres://` URL for Postgres; otherwise treated as a PGlite filesystem path. Leave unset for in-memory PGlite.\",\n }),\n renownNamespace,\n ...commonArgs,\n ...commonServerArgs,\n ...vetraSwitchboardArgs,\n};\n"],"mappings":";;;;;AAGA,IAAI;;;;;;;;;;;;;AAcJ,SAAgB,eAAe,MAAc,QAAQ,KAAK,EAAQ;AAChE,KAAI,cAAc,IAAK;AACvB,aAAY;AAGZ,QAAO,OAAO,EAAE,MAAM,KAAK,KAAK,aAAa,EAAE,CAAC;AAChD,QAAO,OAAO,EAAE,MAAM,KAAK,KAAK,OAAO,EAAE,CAAC;;;;;;;;;AAe5C,SAAgB,YAAY,MAAkC;CAC5D,MAAM,MAAM,QAAQ,IAAI,OAAO,MAAM;AACrC,KAAI,CAAC,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAE,QAAO,KAAA;CACvC,MAAM,OAAO,OAAO,IAAI;AACxB,KAAI,OAAO,KAAK,OAAO,MAAO,QAAO,KAAA;AACrC,QAAO;;;;;;;;;;;;ACrBT,SAAgB,gCAAwC;AACtD,iBAAgB;AAChB,QACE,YAAY,sBAAsB,IAClC,WAAW,CAAC,SAAS,QAAA;;;AAMzB,SAAgB,4BAAoC;AAClD,iBAAgB;AAChB,QACE,YAAY,wBAAwB,IACpC,WAAW,CAAC,OAAO,eAAA;;AAKvB,MAAa,YAAY;CACvB,iBAAiB,OAAO;EACtB,MAAM;EACN,MAAM;EACN,aAAa;EACb,cAAc;EACf,CAAC;CACF,aAAa,OAAO;EAClB,MAAM;EACN,MAAM;EAIN,aAAa;EACb,cAAc;EACf,CAAC;CACF,aAAa,OAAO;EAClB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACF,oBAAoB;AAElB,UADmB,WAAW,CACZ,OAAO;;EAE5B,CAAC;CACF,OAAO,KAAK;EACV,MAAM;EACN,MAAM;EACN,OAAO;EACP,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,SAAS,KAAK;EACZ,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,gBAAgB,KAAK;EACnB,MAAM;EACN,MAAM;EACN,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,aAAa,KAAK;EAChB,MAAM;EACN,MAAM;EACN,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,kBAAkB,OAAO;EACvB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,QAAQ,OAAO;EACb,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF;CACA,GAAG;CACH,GAAG;CACH,GAAG;CACJ"}
1
+ {"version":3,"file":"vetra-CMIe5hyF.mjs","names":[],"sources":["../../../clis/project-env.ts","../../../clis/args/vetra.ts"],"sourcesContent":["import dotenv from \"dotenv\";\nimport { join } from \"node:path\";\n\nlet loadedFor: string | undefined;\n\n/**\n * Load the project's `.env.local` and `.env` into `process.env`.\n *\n * `dotenv` never overwrites a variable that is already set, so loading\n * `.env.local` first and `.env` second produces the precedence the CLI\n * documents: a real `process.env` value beats `.env.local`, which beats\n * `.env`. One `process.env` lookup afterwards therefore covers all three\n * sources.\n *\n * Idempotent per directory — CLI argument defaults call it lazily and may\n * call it more than once per process.\n */\nexport function loadProjectEnv(cwd: string = process.cwd()): void {\n if (loadedFor === cwd) return;\n loadedFor = cwd;\n // dotenv 16 logs nothing for a missing file, so no suppression option is\n // needed here (and none exists before dotenv 17).\n dotenv.config({ path: join(cwd, \".env.local\") });\n dotenv.config({ path: join(cwd, \".env\") });\n}\n\n/** Test seam: forget which directory has already been loaded. */\nexport function resetProjectEnvForTests(): void {\n loadedFor = undefined;\n}\n\n/**\n * Read an environment variable as a TCP port.\n *\n * Anything that is not a plain integer in 1-65535 is ignored rather than\n * throwing: a typo in `.env` should fall through to the next source in the\n * precedence chain, not break the CLI.\n */\nexport function readPortEnv(name: string): number | undefined {\n const raw = process.env[name]?.trim();\n if (!raw || !/^\\d+$/.test(raw)) return undefined;\n const port = Number(raw);\n if (port < 1 || port > 65535) return undefined;\n return port;\n}\n","import { boolean, flag, number, option, optional, string } from \"cmd-ts\";\nimport {\n DEFAULT_SWITCHBOARD_PORT,\n DEFAULT_VETRA_CONNECT_PORT,\n} from \"../constants.js\";\nimport { getConfig } from \"../file-system/get-config.js\";\nimport { loadProjectEnv, readPortEnv } from \"../project-env.js\";\nimport {\n commonArgs,\n commonServerArgs,\n renownNamespace,\n vetraSwitchboardArgs,\n} from \"./common.js\";\n\n/**\n * Resolve the Vetra Switchboard port.\n *\n * Precedence: CLI flag (cmd-ts applies that above this function) →\n * `process.env` → `.env.local` → `.env` → `powerhouse.config.json` →\n * constant. `loadProjectEnv` folds the two files into `process.env` without\n * clobbering anything already set, so a single lookup covers the middle three.\n */\nexport function resolveSwitchboardPortDefault(): number {\n loadProjectEnv();\n return (\n readPortEnv(\"PH_SWITCHBOARD_PORT\") ??\n getConfig().reactor?.port ??\n DEFAULT_SWITCHBOARD_PORT\n );\n}\n\n/** Resolve the Vetra Connect port through the same chain. */\nexport function resolveConnectPortDefault(): number {\n loadProjectEnv();\n return (\n readPortEnv(\"PH_VETRA_CONNECT_PORT\") ??\n getConfig().vetra?.connectPort ??\n DEFAULT_VETRA_CONNECT_PORT\n );\n}\n\nexport const vetraArgs = {\n switchboardPort: option({\n type: number,\n long: \"switchboard-port\",\n description: \"port to use for the Vetra Switchboard\",\n defaultValue: resolveSwitchboardPortDefault,\n }),\n connectPort: option({\n type: number,\n long: \"connect-port\",\n // Deliberately not `defaultValueIsSerializable`: the value is now\n // per-project, and cmd-ts prints serializable defaults into `--help`,\n // which would bake one project's port into the help text.\n description: \"port to use for the Vetra Connect\",\n defaultValue: resolveConnectPortDefault,\n }),\n remoteDrive: option({\n type: optional(string),\n long: \"remote-drive\",\n description:\n \"URL of remote drive to connect to (skips switchboard initialization)\",\n defaultValue: () => {\n const baseConfig = getConfig();\n return baseConfig.vetra?.driveUrl;\n },\n }),\n watch: flag({\n type: boolean,\n long: \"watch\",\n short: \"w\",\n description:\n \"Enable dynamic loading for document-models and editors in connect-studio and switchboard\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n verbose: flag({\n type: boolean,\n long: \"logs\",\n description: \"Show additional logs\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n disableConnect: flag({\n type: boolean,\n long: \"disable-connect\",\n description:\n \"Skip Connect initialization (only start switchboard and reactor)\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n interactive: flag({\n type: boolean,\n long: \"interactive\",\n description:\n \"Enable interactive mode for code generation (requires user confirmation before generating code)\",\n defaultValue: () => false,\n defaultValueIsSerializable: true,\n }),\n drivesPublicBase: option({\n type: optional(string),\n long: \"drives-public-base\",\n description:\n \"public base URL for the drive URLs advertised to Connect; each drive is exposed as <base>/d/<slug> instead of http://localhost:<switchboard-port>/d/<slug>. Use when the switchboard is reachable through a reverse proxy.\",\n }),\n dbPath: option({\n type: optional(string),\n long: \"db-path\",\n description:\n \"Database path or connection string. Use a `postgres://` URL for Postgres; otherwise treated as a PGlite filesystem path. Leave unset for in-memory PGlite.\",\n }),\n renownNamespace,\n ...commonArgs,\n ...commonServerArgs,\n ...vetraSwitchboardArgs,\n};\n"],"mappings":";;;;;AAGA,IAAI;;;;;;;;;;;;;AAcJ,SAAgB,eAAe,MAAc,QAAQ,KAAK,EAAQ;AAChE,KAAI,cAAc,IAAK;AACvB,aAAY;AAGZ,QAAO,OAAO,EAAE,MAAM,KAAK,KAAK,aAAa,EAAE,CAAC;AAChD,QAAO,OAAO,EAAE,MAAM,KAAK,KAAK,OAAO,EAAE,CAAC;;;;;;;;;AAe5C,SAAgB,YAAY,MAAkC;CAC5D,MAAM,MAAM,QAAQ,IAAI,OAAO,MAAM;AACrC,KAAI,CAAC,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAE,QAAO,KAAA;CACvC,MAAM,OAAO,OAAO,IAAI;AACxB,KAAI,OAAO,KAAK,OAAO,MAAO,QAAO,KAAA;AACrC,QAAO;;;;;;;;;;;;ACrBT,SAAgB,gCAAwC;AACtD,iBAAgB;AAChB,QACE,YAAY,sBAAsB,IAClC,WAAW,CAAC,SAAS,QAAA;;;AAMzB,SAAgB,4BAAoC;AAClD,iBAAgB;AAChB,QACE,YAAY,wBAAwB,IACpC,WAAW,CAAC,OAAO,eAAA;;AAKvB,MAAa,YAAY;CACvB,iBAAiB,OAAO;EACtB,MAAM;EACN,MAAM;EACN,aAAa;EACb,cAAc;EACf,CAAC;CACF,aAAa,OAAO;EAClB,MAAM;EACN,MAAM;EAIN,aAAa;EACb,cAAc;EACf,CAAC;CACF,aAAa,OAAO;EAClB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACF,oBAAoB;AAElB,UADmB,WAAW,CACZ,OAAO;;EAE5B,CAAC;CACF,OAAO,KAAK;EACV,MAAM;EACN,MAAM;EACN,OAAO;EACP,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,SAAS,KAAK;EACZ,MAAM;EACN,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,gBAAgB,KAAK;EACnB,MAAM;EACN,MAAM;EACN,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,aAAa,KAAK;EAChB,MAAM;EACN,MAAM;EACN,aACE;EACF,oBAAoB;EACpB,4BAA4B;EAC7B,CAAC;CACF,kBAAkB,OAAO;EACvB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,QAAQ,OAAO;EACb,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF;CACA,GAAG;CACH,GAAG;CACH,GAAG;CACJ"}
@@ -1,2 +1,2 @@
1
- import { n as resolveSwitchboardPortDefault, r as vetraArgs, t as resolveConnectPortDefault } from "./vetra-DV0zQzba.mjs";
1
+ import { n as resolveSwitchboardPortDefault, r as vetraArgs, t as resolveConnectPortDefault } from "./vetra-CMIe5hyF.mjs";
2
2
  export { resolveConnectPortDefault, resolveSwitchboardPortDefault, vetraArgs };
@@ -1,5 +1,5 @@
1
1
  import { t as InlineConfig } from "./index-CyAv0ucZ.mjs";
2
- import { t as Manifest } from "./types-DXhVHupa.mjs";
2
+ import { t as Manifest } from "./types-B-Il50oC.mjs";
3
3
  import * as node_fs0 from "node:fs";
4
4
 
5
5
  //#region clis/build-pieces.d.mts
@@ -1,2 +1,2 @@
1
- import { A as PIECES_FRAMEWORK_PACKAGE, B as VERSIONED_DEPENDENCIES, C as LEGACY_LINT_FORMAT_FILES, D as PH_BIN, E as PEER_EXTERNAL_DEPENDENCIES, F as PROJECT_PORT_BAND_SWITCHBOARD, G as externalDevDependencies, H as VERSIONED_PEER_DEPENDENCIES, I as PROJECT_PORT_BAND_VETRA_CONNECT, K as packageJsonExports, L as REACTOR_API_PACKAGE, M as POWERHOUSE_GLOBAL_DIR, N as PROJECT_PORT_BAND_SIZE, O as PH_GLOBAL_DIR_NAME, P as PROJECT_PORT_BAND_STUDIO, R as SECONDS_IN_DAY, S as LEGACY_LINT_FORMAT_DEPENDENCIES, T as MINIMUM_NODE_VERSION, U as defaultManifest, V as VERSIONED_DEV_DEPENDENCIES, W as externalDependencies, _ as DRIVES_PRESERVE_STRATEGIES, a as DEFAULT_CONFIG, b as GRAPHQL_TAG_PACKAGE, c as DEFAULT_CONNECT_STUDIO_PORT, d as DEFAULT_REGISTRY_URL, f as DEFAULT_RENOWN_URL, g as DEFAULT_VETRA_DRIVE_ID, h as DEFAULT_VETRA_CONNECT_PORT, i as BOILERPLATE_DEPENDENCY_OVERRIDES, j as POWERHOUSE_CONFIG_FILE, k as PH_GLOBAL_PROJECT_NAME, l as DEFAULT_EXPIRY_DAYS, m as DEFAULT_TIMEOUT, n as ANALYTICS_ENGINE_CORE_PACKAGE, o as DEFAULT_CONNECT_OUTDIR, p as DEFAULT_SWITCHBOARD_PORT, q as packageScripts, r as BOILERPLATE_ALLOWED_BUILDS, s as DEFAULT_CONNECT_PREVIEW_PORT, u as DEFAULT_EXPIRY_SECONDS, v as FEATURE_DEPENDENCIES, w as LOG_LEVELS, x as HOME_DIR, y as GRAPHQL_PACKAGE, z as SERVICE_ACTIONS } from "./types-DXhVHupa.mjs";
1
+ import { A as PIECES_FRAMEWORK_PACKAGE, B as VERSIONED_DEPENDENCIES, C as LEGACY_LINT_FORMAT_FILES, D as PH_BIN, E as PEER_EXTERNAL_DEPENDENCIES, F as PROJECT_PORT_BAND_SWITCHBOARD, G as externalDevDependencies, H as VERSIONED_PEER_DEPENDENCIES, I as PROJECT_PORT_BAND_VETRA_CONNECT, K as packageJsonExports, L as REACTOR_API_PACKAGE, M as POWERHOUSE_GLOBAL_DIR, N as PROJECT_PORT_BAND_SIZE, O as PH_GLOBAL_DIR_NAME, P as PROJECT_PORT_BAND_STUDIO, R as SECONDS_IN_DAY, S as LEGACY_LINT_FORMAT_DEPENDENCIES, T as MINIMUM_NODE_VERSION, U as defaultManifest, V as VERSIONED_DEV_DEPENDENCIES, W as externalDependencies, _ as DRIVES_PRESERVE_STRATEGIES, a as DEFAULT_CONFIG, b as GRAPHQL_TAG_PACKAGE, c as DEFAULT_CONNECT_STUDIO_PORT, d as DEFAULT_REGISTRY_URL, f as DEFAULT_RENOWN_URL, g as DEFAULT_VETRA_DRIVE_ID, h as DEFAULT_VETRA_CONNECT_PORT, i as BOILERPLATE_DEPENDENCY_OVERRIDES, j as POWERHOUSE_CONFIG_FILE, k as PH_GLOBAL_PROJECT_NAME, l as DEFAULT_EXPIRY_DAYS, m as DEFAULT_TIMEOUT, n as ANALYTICS_ENGINE_CORE_PACKAGE, o as DEFAULT_CONNECT_OUTDIR, p as DEFAULT_SWITCHBOARD_PORT, q as packageScripts, r as BOILERPLATE_ALLOWED_BUILDS, s as DEFAULT_CONNECT_PREVIEW_PORT, u as DEFAULT_EXPIRY_SECONDS, v as FEATURE_DEPENDENCIES, w as LOG_LEVELS, x as HOME_DIR, y as GRAPHQL_PACKAGE, z as SERVICE_ACTIONS } from "./types-B-Il50oC.mjs";
2
2
  export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_DEPENDENCY_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, PIECES_FRAMEWORK_PACKAGE, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, PROJECT_PORT_BAND_SIZE, PROJECT_PORT_BAND_STUDIO, PROJECT_PORT_BAND_SWITCHBOARD, PROJECT_PORT_BAND_VETRA_CONNECT, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
@@ -217,7 +217,7 @@ const externalDevDependencies = {
217
217
  "@types/react-dom": "^19.2.3",
218
218
  "@vitejs/plugin-react": "^6.0.1",
219
219
  "@vitest/coverage-v8": "4.1.1",
220
- oxfmt: "0.55.0",
220
+ oxfmt: "0.68.0",
221
221
  oxlint: "1.70.0",
222
222
  "oxlint-tsgolint": "0.23.0",
223
223
  tailwindcss: "^4.1.16",
@@ -1 +1 @@
1
- {"version":3,"file":"constants.mjs","names":[],"sources":["../../clis/constants.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\n// Per-project dev-server port bands. `ph init` assigns each project a port\n// triple derived from its name, so two projects never collide and an agent's\n// MCP URL can be baked into .mcp.json before a session starts.\n//\n// Two hard constraints picked these bands, both below 10000:\n//\n// 1. Below the OS ephemeral range. Linux allocates outbound source ports\n// from 32768-60999 (`/proc/sys/net/ipv4/ip_local_port_range`); macOS and\n// Windows start at 49152. A listener parked in that window can lose a\n// race to a transient outbound socket, which would surface as a\n// `--strictPort` failure blaming a project conflict that does not exist.\n// 2. Below 10000, which is where ph-clint starts. ph-clint derives its own\n// per-CLI ports by hashing into 10000-59900, so staying under 10000\n// keeps the two schemes from ever contending.\n//\n// Within those limits the blocks were chosen by measuring which ports the\n// Powerhouse repos actually reference: 2000-2999 has none, 7000-7999 has one,\n// 6000-6999 has five. See PROJECT_PORT_DENYLIST in project-ports.ts for the\n// individual ports skipped inside them.\nexport const PROJECT_PORT_BAND_SIZE = 1000 as const;\nexport const PROJECT_PORT_BAND_SWITCHBOARD = 7000 as const;\nexport const PROJECT_PORT_BAND_STUDIO = 6000 as const;\nexport const PROJECT_PORT_BAND_VETRA_CONNECT = 2000 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\nexport const PIECES_FRAMEWORK_PACKAGE = \"@powerhousedao/pieces-framework\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.3.6\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required. `devVersioned`\n// is for a workspace package the build inlines, which no consumer provides.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n devVersioned: [],\n },\n // Each piece is bundled whole (build-pieces.mts), framework included, so the\n // framework is only ever needed to compile the piece's own source.\n piece: {\n peerVersioned: [],\n peerExternal: {},\n devVersioned: [PIECES_FRAMEWORK_PACKAGE],\n },\n} as const satisfies Record<\n string,\n {\n peerVersioned: readonly string[];\n peerExternal: Record<string, PeerSpec>;\n devVersioned: readonly string[];\n }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"@reown/appkit\",\n \"bufferutil\",\n \"esbuild\",\n \"keccak\",\n \"protobufjs\",\n \"utf-8-validate\",\n] as const;\n\n// Single-version pins the boilerplate enforces on generated projects,\n// avoiding duplicates from coexisting version ranges. Rendered as pnpm\n// `overrides` (pnpm-workspace.yaml) and as yarn v1 `resolutions`\n// (package.json). Generated-project only — never change the monorepo\n// catalog for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_DEPENDENCY_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./reactor\": {\n types: \"./dist/types/reactor/index.d.ts\",\n browser: \"./dist/browser/reactor/index.js\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n browser: \"./dist/browser/subgraphs/index.js\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n // Node only, as the build is: a piece is loaded by a host process, never by\n // the browser. Without these a package can build a piece and still fail the\n // `packageName/pieces` import a host resolves it through.\n \"./pieces\": {\n types: \"./dist/types/pieces/index.d.ts\",\n node: \"./dist/node/pieces/index.mjs\",\n },\n \"./pieces/*\": {\n types: \"./dist/types/pieces/*/index.d.ts\",\n node: \"./dist/node/pieces/*/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n lint: \"oxlint --type-aware --type-check\",\n \"lint:fix\": \"oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\n// eslint/prettier devDependencies present in projects scaffolded before the oxc migration.\n// Stripped from package.json during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_DEPENDENCIES = [\n \"@eslint/js\",\n \"eslint\",\n \"eslint-config-prettier\",\n \"eslint-plugin-prettier\",\n \"eslint-plugin-react\",\n \"eslint-plugin-react-hooks\",\n \"globals\",\n \"prettier\",\n \"typescript-eslint\",\n] as const;\n\n// Legacy lint/format config files written by eslint/prettier boilerplate.\n// Removed from the project root during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_FILES = [\n \"eslint.config.js\",\n \"eslint.config.mjs\",\n \"eslint.config.cjs\",\n \"eslint.config.ts\",\n \".eslintrc\",\n \".eslintrc.js\",\n \".eslintrc.cjs\",\n \".eslintrc.json\",\n \".eslintrc.yml\",\n \".eslintrc.yaml\",\n \".eslintignore\",\n \".prettierrc\",\n \".prettierrc.js\",\n \".prettierrc.cjs\",\n \".prettierrc.json\",\n \".prettierrc.yml\",\n \".prettierrc.yaml\",\n \"prettier.config.js\",\n \"prettier.config.cjs\",\n \"prettier.config.mjs\",\n \".prettierignore\",\n] as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"4.1.1\",\n oxfmt: \"0.55.0\",\n oxlint: \"1.70.0\",\n \"oxlint-tsgolint\": \"0.23.0\",\n tailwindcss: \"^4.1.16\",\n typescript: \"^5.9.3\",\n vite: \"^8.0.10\",\n \"vite-tsconfig-paths\": \"6.1.1\",\n vitest: \"4.1.1\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n"],"mappings":";;;AAKA,MAAa,kBAAkB;CAC7B;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,iBAAiB,OAAU;AACxC,MAAa,sBAAsB;AACnC,MAAa,yBAAA,IAA+C;AAE5D,MAAa,6BAA6B,CACxC,gBACA,6BACD;AAED,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,kBAAkB;AAE/B,MAAa,8BAA8B;AAE3C,MAAa,6BAA6B;AAE1C,MAAa,+BAA+B;AAE5C,MAAa,yBAAyB;AAEtC,MAAa,qBAAqB;AAElC,MAAa,uBAAuB;AAEpC,MAAa,2BAA2B;AAqBxC,MAAa,yBAAyB;AACtC,MAAa,gCAAgC;AAC7C,MAAa,2BAA2B;AACxC,MAAa,kCAAkC;AAE/C,MAAa,yBAAyB;AAEtC,MAAa,uBAAuB;AACpC,MAAa,SAAS;AACtB,MAAa,yBAAyB;AACtC,MAAa,qBAAqB;AAElC,MAAa,yBAAA;AAEb,MAAa,WAAW,SAAS;AAEjC,MAAa,wBAAwB,KAAK,UAAA,MAA6B;AAGvE,MAAa,8BAA8B,CACzC,kBACA,iCACD;AAID,MAAa,sBAAsB;AACnC,MAAa,gCACX;AACF,MAAa,kBAAkB;AAC/B,MAAa,sBAAsB;AACnC,MAAa,2BAA2B;AAQxC,MAAa,6BAA6B;EACvC,kBAAkB;EAAE,MAAM;EAAO,KAAK;EAAW;EACjD,sBAAsB;EAAE,MAAM;EAAM,KAAK;EAAU;CACpD,OAAO;EAAE,MAAM;EAAO,KAAK;EAAU;CACrC,aAAa;EAAE,MAAM;EAAO,KAAK;EAAU;CAC3C,KAAK;EAAE,MAAM;EAAM,KAAK;EAAS;CAClC;AAID,MAAa,uBAAuB;CAClC,oBAAoB;EAClB,eAAe,CAAC,8BAA8B;EAC9C,cAAc,EAAE;EAChB,cAAc,EAAE;EACjB;CAGD,OAAO;EACL,eAAe,EAAE;EACjB,cAAc,EAAE;EAChB,cAAc,CAAC,yBAAyB;EACzC;CACF;AASD,MAAa,yBAAyB,CACpC,GAAG,6BACH,GAAG,qBAAqB,mBAAmB,cAC5C;AAOD,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAOD,MAAa,mCAAmC;CAC9C,YAAY;CACZ,MAAM;CACN,UAAU;CACX;AAED,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,qBAAqB;CAChC,KAAK;EACH,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,aAAa;EACX,OAAO;EACP,SAAS;EACV;CACD,qBAAqB;EACnB,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,uBAAuB;EACrB,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,aAAa;EACX,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,eAAe;EACb,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,eAAe;EACb,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,gBAAgB;EACd,OAAO;EACP,SAAS;EACT,MAAM;EACP;CAID,YAAY;EACV,OAAO;EACP,MAAM;EACP;CACD,cAAc;EACZ,OAAO;EACP,MAAM;EACP;CACD,cAAc;CACd,eAAe;CAChB;AAED,MAAa,iBAAiB;CAC5B,cAAc;CACd,MAAM;CACN,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,KAAK;CACL,aAAa;CACb,UAAU;CACV,SAAS;CACT,OAAO;CACP,SAAS;CACT,SAAS;CACT,OAAO;CACP,mBACE;CACF,qBACE;CACH;AAED,MAAa,uBAAuB,EAAE;AAItC,MAAa,kCAAkC;CAC7C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAID,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,0BAA0B;CACrC,wBAAwB;CACxB,8BAA8B;CAC9B,uCAAuC;CACvC,oBAAoB;CACpB,qBAAqB;CACrB,eAAe;CACf,gBAAgB;CAChB,oBAAoB;CACpB,wBAAwB;CACxB,uBAAuB;CACvB,OAAO;CACP,QAAQ;CACR,mBAAmB;CACnB,aAAa;CACb,YAAY;CACZ,MAAM;CACN,uBAAuB;CACvB,QAAQ;CACT;AAED,MAAa,kBAA4B;CACvC,MAAM;CACN,aAAa;CACb,UAAU;CACV,WAAW;EACT,MAAM;EACN,KAAK;EACN;CACD,gBAAgB,EAAE;CAClB,SAAS,EAAE;CACX,MAAM,EAAE;CACR,WAAW,EAAE;CACb,YAAY,EAAE;CACf;AAUD,MAAa,iBAAmC;CAC9C,mBATkC;CAUlC,YAT0B;CAU1B,eAT6B;CAU7B,cAT4B;CAU5B,kBATiC;CAUjC,YAT0B;CAU1B,UATwB;CAUxB,MAAM;EACJ,SAAS;EACT,QAAQ,EAAE;EACX;CACF"}
1
+ {"version":3,"file":"constants.mjs","names":[],"sources":["../../clis/constants.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\n// Per-project dev-server port bands. `ph init` assigns each project a port\n// triple derived from its name, so two projects never collide and an agent's\n// MCP URL can be baked into .mcp.json before a session starts.\n//\n// Two hard constraints picked these bands, both below 10000:\n//\n// 1. Below the OS ephemeral range. Linux allocates outbound source ports\n// from 32768-60999 (`/proc/sys/net/ipv4/ip_local_port_range`); macOS and\n// Windows start at 49152. A listener parked in that window can lose a\n// race to a transient outbound socket, which would surface as a\n// `--strictPort` failure blaming a project conflict that does not exist.\n// 2. Below 10000, which is where ph-clint starts. ph-clint derives its own\n// per-CLI ports by hashing into 10000-59900, so staying under 10000\n// keeps the two schemes from ever contending.\n//\n// Within those limits the blocks were chosen by measuring which ports the\n// Powerhouse repos actually reference: 2000-2999 has none, 7000-7999 has one,\n// 6000-6999 has five. See PROJECT_PORT_DENYLIST in project-ports.ts for the\n// individual ports skipped inside them.\nexport const PROJECT_PORT_BAND_SIZE = 1000 as const;\nexport const PROJECT_PORT_BAND_SWITCHBOARD = 7000 as const;\nexport const PROJECT_PORT_BAND_STUDIO = 6000 as const;\nexport const PROJECT_PORT_BAND_VETRA_CONNECT = 2000 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\nexport const PIECES_FRAMEWORK_PACKAGE = \"@powerhousedao/pieces-framework\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.3.6\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required. `devVersioned`\n// is for a workspace package the build inlines, which no consumer provides.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n devVersioned: [],\n },\n // Each piece is bundled whole (build-pieces.mts), framework included, so the\n // framework is only ever needed to compile the piece's own source.\n piece: {\n peerVersioned: [],\n peerExternal: {},\n devVersioned: [PIECES_FRAMEWORK_PACKAGE],\n },\n} as const satisfies Record<\n string,\n {\n peerVersioned: readonly string[];\n peerExternal: Record<string, PeerSpec>;\n devVersioned: readonly string[];\n }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"@reown/appkit\",\n \"bufferutil\",\n \"esbuild\",\n \"keccak\",\n \"protobufjs\",\n \"utf-8-validate\",\n] as const;\n\n// Single-version pins the boilerplate enforces on generated projects,\n// avoiding duplicates from coexisting version ranges. Rendered as pnpm\n// `overrides` (pnpm-workspace.yaml) and as yarn v1 `resolutions`\n// (package.json). Generated-project only — never change the monorepo\n// catalog for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_DEPENDENCY_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./reactor\": {\n types: \"./dist/types/reactor/index.d.ts\",\n browser: \"./dist/browser/reactor/index.js\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n browser: \"./dist/browser/subgraphs/index.js\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n // Node only, as the build is: a piece is loaded by a host process, never by\n // the browser. Without these a package can build a piece and still fail the\n // `packageName/pieces` import a host resolves it through.\n \"./pieces\": {\n types: \"./dist/types/pieces/index.d.ts\",\n node: \"./dist/node/pieces/index.mjs\",\n },\n \"./pieces/*\": {\n types: \"./dist/types/pieces/*/index.d.ts\",\n node: \"./dist/node/pieces/*/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n lint: \"oxlint --type-aware --type-check\",\n \"lint:fix\": \"oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\n// eslint/prettier devDependencies present in projects scaffolded before the oxc migration.\n// Stripped from package.json during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_DEPENDENCIES = [\n \"@eslint/js\",\n \"eslint\",\n \"eslint-config-prettier\",\n \"eslint-plugin-prettier\",\n \"eslint-plugin-react\",\n \"eslint-plugin-react-hooks\",\n \"globals\",\n \"prettier\",\n \"typescript-eslint\",\n] as const;\n\n// Legacy lint/format config files written by eslint/prettier boilerplate.\n// Removed from the project root during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_FILES = [\n \"eslint.config.js\",\n \"eslint.config.mjs\",\n \"eslint.config.cjs\",\n \"eslint.config.ts\",\n \".eslintrc\",\n \".eslintrc.js\",\n \".eslintrc.cjs\",\n \".eslintrc.json\",\n \".eslintrc.yml\",\n \".eslintrc.yaml\",\n \".eslintignore\",\n \".prettierrc\",\n \".prettierrc.js\",\n \".prettierrc.cjs\",\n \".prettierrc.json\",\n \".prettierrc.yml\",\n \".prettierrc.yaml\",\n \"prettier.config.js\",\n \"prettier.config.cjs\",\n \"prettier.config.mjs\",\n \".prettierignore\",\n] as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"4.1.1\",\n oxfmt: \"0.68.0\",\n oxlint: \"1.70.0\",\n \"oxlint-tsgolint\": \"0.23.0\",\n tailwindcss: \"^4.1.16\",\n typescript: \"^5.9.3\",\n vite: \"^8.0.10\",\n \"vite-tsconfig-paths\": \"6.1.1\",\n vitest: \"4.1.1\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n"],"mappings":";;;AAKA,MAAa,kBAAkB;CAC7B;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,iBAAiB,OAAU;AACxC,MAAa,sBAAsB;AACnC,MAAa,yBAAA,IAA+C;AAE5D,MAAa,6BAA6B,CACxC,gBACA,6BACD;AAED,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,kBAAkB;AAE/B,MAAa,8BAA8B;AAE3C,MAAa,6BAA6B;AAE1C,MAAa,+BAA+B;AAE5C,MAAa,yBAAyB;AAEtC,MAAa,qBAAqB;AAElC,MAAa,uBAAuB;AAEpC,MAAa,2BAA2B;AAqBxC,MAAa,yBAAyB;AACtC,MAAa,gCAAgC;AAC7C,MAAa,2BAA2B;AACxC,MAAa,kCAAkC;AAE/C,MAAa,yBAAyB;AAEtC,MAAa,uBAAuB;AACpC,MAAa,SAAS;AACtB,MAAa,yBAAyB;AACtC,MAAa,qBAAqB;AAElC,MAAa,yBAAA;AAEb,MAAa,WAAW,SAAS;AAEjC,MAAa,wBAAwB,KAAK,UAAA,MAA6B;AAGvE,MAAa,8BAA8B,CACzC,kBACA,iCACD;AAID,MAAa,sBAAsB;AACnC,MAAa,gCACX;AACF,MAAa,kBAAkB;AAC/B,MAAa,sBAAsB;AACnC,MAAa,2BAA2B;AAQxC,MAAa,6BAA6B;EACvC,kBAAkB;EAAE,MAAM;EAAO,KAAK;EAAW;EACjD,sBAAsB;EAAE,MAAM;EAAM,KAAK;EAAU;CACpD,OAAO;EAAE,MAAM;EAAO,KAAK;EAAU;CACrC,aAAa;EAAE,MAAM;EAAO,KAAK;EAAU;CAC3C,KAAK;EAAE,MAAM;EAAM,KAAK;EAAS;CAClC;AAID,MAAa,uBAAuB;CAClC,oBAAoB;EAClB,eAAe,CAAC,8BAA8B;EAC9C,cAAc,EAAE;EAChB,cAAc,EAAE;EACjB;CAGD,OAAO;EACL,eAAe,EAAE;EACjB,cAAc,EAAE;EAChB,cAAc,CAAC,yBAAyB;EACzC;CACF;AASD,MAAa,yBAAyB,CACpC,GAAG,6BACH,GAAG,qBAAqB,mBAAmB,cAC5C;AAOD,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAOD,MAAa,mCAAmC;CAC9C,YAAY;CACZ,MAAM;CACN,UAAU;CACX;AAED,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,qBAAqB;CAChC,KAAK;EACH,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,aAAa;EACX,OAAO;EACP,SAAS;EACV;CACD,qBAAqB;EACnB,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,uBAAuB;EACrB,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,aAAa;EACX,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,eAAe;EACb,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,eAAe;EACb,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,gBAAgB;EACd,OAAO;EACP,SAAS;EACT,MAAM;EACP;CAID,YAAY;EACV,OAAO;EACP,MAAM;EACP;CACD,cAAc;EACZ,OAAO;EACP,MAAM;EACP;CACD,cAAc;CACd,eAAe;CAChB;AAED,MAAa,iBAAiB;CAC5B,cAAc;CACd,MAAM;CACN,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,KAAK;CACL,aAAa;CACb,UAAU;CACV,SAAS;CACT,OAAO;CACP,SAAS;CACT,SAAS;CACT,OAAO;CACP,mBACE;CACF,qBACE;CACH;AAED,MAAa,uBAAuB,EAAE;AAItC,MAAa,kCAAkC;CAC7C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAID,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,0BAA0B;CACrC,wBAAwB;CACxB,8BAA8B;CAC9B,uCAAuC;CACvC,oBAAoB;CACpB,qBAAqB;CACrB,eAAe;CACf,gBAAgB;CAChB,oBAAoB;CACpB,wBAAwB;CACxB,uBAAuB;CACvB,OAAO;CACP,QAAQ;CACR,mBAAmB;CACnB,aAAa;CACb,YAAY;CACZ,MAAM;CACN,uBAAuB;CACvB,QAAQ;CACT;AAED,MAAa,kBAA4B;CACvC,MAAM;CACN,aAAa;CACb,UAAU;CACV,WAAW;EACT,MAAM;EACN,KAAK;EACN;CACD,gBAAgB,EAAE;CAClB,SAAS,EAAE;CACX,MAAM,EAAE;CACR,WAAW,EAAE;CACb,YAAY,EAAE;CACf;AAUD,MAAa,iBAAmC;CAC9C,mBATkC;CAUlC,YAT0B;CAU1B,eAT6B;CAU7B,cAT4B;CAU5B,kBATiC;CAUjC,YAT0B;CAU1B,UATwB;CAUxB,MAAM;EACJ,SAAS;EACT,QAAQ,EAAE;EACX;CACF"}
@@ -37,6 +37,9 @@ declare const buildArgs: {
37
37
  noSharedDeps: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
38
38
  parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean>>;
39
39
  } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
40
+ ignoreTypeErrors: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
41
+ parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean>>;
42
+ } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
40
43
  };
41
44
  declare const packageManagerArgs: {
42
45
  packageManager: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
@@ -1315,7 +1318,7 @@ declare const externalDevDependencies: {
1315
1318
  readonly "@types/react-dom": "^19.2.3";
1316
1319
  readonly "@vitejs/plugin-react": "^6.0.1";
1317
1320
  readonly "@vitest/coverage-v8": "4.1.1";
1318
- readonly oxfmt: "0.55.0";
1321
+ readonly oxfmt: "0.68.0";
1319
1322
  readonly oxlint: "1.70.0";
1320
1323
  readonly "oxlint-tsgolint": "0.23.0";
1321
1324
  readonly tailwindcss: "^4.1.16";
@@ -1429,7 +1432,8 @@ type PHConnectReactorFeatureFlags = {
1429
1432
  authConditions?: boolean;
1430
1433
  };
1431
1434
  type PHConnectReactor = {
1432
- featureFlags?: PHConnectReactorFeatureFlags;
1435
+ featureFlags?: PHConnectReactorFeatureFlags; /** What new documents are created as; `legacy` while peers predate v2-required documents. */
1436
+ createSignaturePolicy?: "legacy" | "v2-required";
1433
1437
  };
1434
1438
  /**
1435
1439
  * A URL-matching pattern for a service-worker runtime-caching rule, in
@@ -2563,6 +2567,12 @@ declare const sourceConfigSchema: {
2563
2567
  };
2564
2568
  };
2565
2569
  };
2570
+ readonly createSignaturePolicy: {
2571
+ readonly type: "string";
2572
+ readonly enum: readonly ["legacy", "v2-required"];
2573
+ readonly description: "What new documents are created as. `v2-required` documents accept only v2 action signatures and take content-addressed ids; set `legacy` while any peer Connect syncs with predates them. Existing documents keep their policy.";
2574
+ readonly default: "v2-required";
2575
+ };
2566
2576
  };
2567
2577
  };
2568
2578
  readonly pwa: {